/* UX: Comandos explicados, sem trocar de página */
.command-footer{display:flex;flex-direction:column;align-items:stretch;gap:11px}
.command-footer .category-tag{display:block;max-width:100%;color:#8eafc4;letter-spacing:.015em;font-size:11px}
.command-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.command-actions button{min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;font-size:12px;line-height:1.2;font-weight:800;padding:8px 9px}
.command-preview-btn{background:#152c3b;color:#dfeffa;border:1px solid #36596e;transition:background .18s,border-color .18s}
.command-preview-btn:hover{background:#203f52;border-color:#65a8cb}
.command-actions .copy-btn{background:#143d59;color:#a8dcff;border:1px solid #33799c}
.command-actions .copy-btn:hover{background:#1d638e;color:#fff}
.command-actions button .ui-icon{height:16px;width:16px}
.prompt-modal-is-open{overflow:hidden}
.prompt-modal{margin:auto;border:1px solid #355a6e;padding:0;border-radius:20px;width:min(720px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(92dvh,940px);overflow:auto;overscroll-behavior:contain;background:#101f2b;color:#f4f8fb;box-shadow:0 38px 105px #000b}
.prompt-modal::backdrop{background:rgba(1,8,13,.84);backdrop-filter:blur(9px)}
.prompt-modal-shell{padding:0}
.prompt-modal-topline{position:sticky;top:0;z-index:3;background:#101f2bf2;backdrop-filter:blur(12px);border-bottom:1px solid #274353;display:flex;align-items:center;justify-content:space-between;padding:17px 27px;color:#efc56e;letter-spacing:.14em;font-size:11px;font-weight:900}
.prompt-modal-close{width:36px;height:36px;border-radius:10px;border:1px solid #365269;background:#172c3c;color:#deebf0;font-size:25px;line-height:1;display:grid;place-items:center}
.prompt-modal-close:hover{background:#254b65}
.prompt-modal-content{padding:29px 30px 10px}
.prompt-modal-category{color:#83cef4;font-size:12px;font-weight:800}
.prompt-modal-title{margin:12px 0 11px;font-size:clamp(25px,3.6vw,37px);line-height:1.13;letter-spacing:-.04em}
.prompt-modal-summary{margin:0 0 27px;color:#a6c0cd;font-size:15px;line-height:1.7}
.prompt-modal-step{display:flex;gap:14px;align-items:flex-start;padding:18px;border:1px solid #345569;background:#162f40;border-radius:12px}
.prompt-modal-step .ui-icon{color:#f5cc78;height:24px;width:24px;margin-top:3px}
.prompt-modal-step strong{display:block;font-size:14px;margin-bottom:3px}
.prompt-modal-step p{margin:0;color:#b2c8d3;font-size:13px;line-height:1.65}
.prompt-modal-code-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0 11px}
.prompt-modal-code-top strong{font-size:14px}
.prompt-modal-code-top span{color:#8ea8b9;font-size:11px}
.prompt-modal-code{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-family:"DM Sans",system-ui,sans-serif;font-size:13px;font-weight:500;color:#dcebf2;background:#071823;padding:20px;max-height:min(32dvh,325px);overflow-y:auto;border:1px solid #315165;border-radius:11px;margin:0}
.prompt-modal-notice{font-size:12px;color:#96b3c1;line-height:1.65;margin:16px 0 0}
.prompt-modal-actions{position:sticky;bottom:0;z-index:3;display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#101f2bf2;backdrop-filter:blur(14px);border-top:1px solid #2b4a5d;padding:18px 30px 23px}
.prompt-modal-actions button,.prompt-modal-actions a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px;border-radius:10px;font-size:13px;font-weight:900;text-decoration:none}
.prompt-dialog-copy{border:0;background:#f2c460;color:#17202a}
.prompt-dialog-copy:hover{background:#ffdb85}
.prompt-dialog-open{background:#1e4b66;color:#fff;border:1px solid #4085ab}
.prompt-dialog-open:hover{background:#276389}
.prompt-modal-actions .ui-icon{width:17px;height:17px}
@media(max-width:700px){.prompt-modal{max-height:92dvh;border-radius:16px}.prompt-modal-topline{padding:14px 18px}.prompt-modal-content{padding:22px 18px 13px}.prompt-modal-code{max-height:35dvh;font-size:12px;padding:14px}.prompt-modal-actions{padding:13px 18px 18px}.prompt-modal-actions button,.prompt-modal-actions a{font-size:12px}.prompt-modal-step{padding:14px}}
@media(max-width:390px){.prompt-modal-actions{grid-template-columns:1fr}.command-actions button{font-size:11px}}
