/* All selectors are scoped: baseline app has no pilot DOM */
.pilot-dialog { width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; box-sizing: border-box; padding: 24px; border: 1px solid var(--accent-line, #497f85); border-radius: 14px; background: var(--surface, #111417); color: var(--ink, #eef3f4); }
.pilot-dialog::backdrop { background: rgb(0 0 0 / .72); }
.pilot-header, .pilot-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pilot-header { justify-content: space-between; }
.pilot-dialog h2, .pilot-dialog h3 { margin: 0 0 12px; }
.pilot-dialog p { margin: 10px 0 16px; line-height: 1.5; }
.pilot-note { color: var(--muted, #9ba7ac); font-size: .9rem; }
.pilot-notice { min-height: 1.5em; color: var(--accent, #7fe3ec); position: sticky; top: -24px; background: var(--surface, #111417); padding: 8px 0; z-index: 1; }
.pilot-error { color: var(--danger, #ff9486); }
.pilot-form { display: grid; gap: 12px; margin: 16px 0; }
.pilot-field { display: grid; gap: 6px; margin: 12px 0; min-width: 0; }
.pilot-field input, .pilot-field select, .pilot-field textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line-strong, #3a454b); border-radius: 6px; color: inherit; background: var(--sunken, #07090a); padding: 10px; font: inherit; }
.pilot-field textarea { min-height: 72px; resize: vertical; }
.pilot-field [aria-invalid="true"] { border-color: var(--danger, #ff9486); }
.pilot-dialog :focus-visible { outline: 2px solid var(--accent, #7fe3ec); outline-offset: 3px; }
.pilot-section { border-top: 1px solid var(--line, #242b30); padding-top: 20px; margin-top: 24px; }
.pilot-items { padding-left: 28px; }
.pilot-item { border: 1px solid var(--line, #242b30); border-radius: 8px; margin: 12px 0; padding: 14px; overflow-wrap: anywhere; }
.pilot-item > strong, .pilot-item > span { display: block; margin-bottom: 8px; }
.pilot-dialog button { min-height: 40px; }
.pilot-dialog button:disabled { opacity: .5; }
@media (max-width: 600px) { .pilot-dialog { padding: 16px; } .pilot-actions > button { flex: 1 1 150px; } }
