:root {
    color-scheme: dark;
    --pk-bg: #080c0f;
    --pk-surface: #0d1317;
    --pk-panel: #11191e;
    --pk-panel-2: #151f25;
    --pk-line: #233039;
    --pk-line-soft: #1a252b;
    --pk-text: #ecf4f5;
    --pk-muted: #819198;
    --pk-cyan: #42dce7;
    --pk-cyan-deep: #0e7880;
    --pk-lime: #9be86f;
    --pk-amber: #ffb648;
    --pk-red: #ff6a68;
    --pk-blue: #70a8ff;
    --pk-radius: 12px;
}

* { box-sizing: border-box; }
html { background: var(--pk-bg); }
body { margin: 0; min-width: 320px; background: var(--pk-bg); color: var(--pk-text); font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--pk-cyan); outline-offset: 2px; }
button:disabled { cursor: not-allowed; opacity: .42; }

.ofp-app { min-height: 100vh; background: radial-gradient(circle at 72% -5%, rgba(45, 98, 103, .13), transparent 31%), var(--pk-bg); }
.rail { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 224px; padding: 16px 12px; border-right: 1px solid var(--pk-line); background: rgba(11, 16, 20, .97); display: flex; flex-direction: column; }
.brand { border: 0; background: transparent; display: flex; align-items: center; gap: 10px; padding: 5px 8px 20px; cursor: pointer; text-align: left; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #2d5960; border-radius: 10px; color: var(--pk-cyan); background: linear-gradient(145deg, #13242a, #0b1216); box-shadow: inset 0 0 20px rgba(66, 220, 231, .06); }
.brand-mark svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.brand-copy { display: flex; flex-direction: column; letter-spacing: .18em; }
.brand-copy strong { font-size: 16px; }
.brand-copy small { margin-top: 1px; font-size: 9px; color: var(--pk-muted); }
.rail-nav { display: grid; gap: 4px; margin-top: 22px; }
.rail-item { position: relative; min-height: 46px; border: 1px solid transparent; border-radius: 8px; padding: 0 10px; background: transparent; color: #9aa9ae; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 6px; text-align: left; font-size: 13px; cursor: pointer; transition: .18s ease; }
.rail-item:hover { background: #131c21; color: var(--pk-text); }
.rail-item.active { background: linear-gradient(90deg, rgba(66,220,231,.14), rgba(66,220,231,.03)); border-color: rgba(66,220,231,.22); color: var(--pk-cyan); }
.rail-item.active::before { content: ""; position: absolute; left: -13px; width: 3px; height: 26px; border-radius: 0 2px 2px 0; background: var(--pk-cyan); box-shadow: 0 0 12px var(--pk-cyan); }
.rail-icon { color: inherit; font-size: 20px; text-align: center; }
.rail-count { min-width: 22px; padding: 2px 6px; border-radius: 9px; text-align: center; color: #a8babf; background: #1d292f; font-size: 10px; }
.rail-footer { margin-top: auto; border-top: 1px solid var(--pk-line); padding-top: 12px; }
.sync-line { display: flex; align-items: center; gap: 7px; color: var(--pk-muted); font-size: 10px; padding: 4px 8px 12px; text-transform: uppercase; letter-spacing: .06em; }
.profile-button { width: 100%; min-height: 52px; border: 0; border-radius: 8px; background: transparent; display: flex; align-items: center; gap: 9px; text-align: left; cursor: pointer; }
.profile-button:hover { background: #141d22; }
.profile-button > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.profile-button strong { font-size: 12px; }
.profile-button small { color: var(--pk-muted); font-size: 9px; }
.avatar { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--pk-bg); background: var(--pk-cyan); font-weight: 800; font-size: 11px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pk-muted); box-shadow: 0 0 0 3px rgba(129,145,152,.1); }
.status-dot.good { background: var(--pk-lime); box-shadow: 0 0 0 3px rgba(155,232,111,.1); }
.status-dot.amber { background: var(--pk-amber); box-shadow: 0 0 0 3px rgba(255,182,72,.1); }
.status-dot.danger { background: var(--pk-red); box-shadow: 0 0 0 3px rgba(255,106,104,.1); }
.status-dot.muted { background: #607077; }

.shell { min-height: 100vh; margin-left: 224px; }
.appbar { height: 58px; padding: 0 24px; border-bottom: 1px solid var(--pk-line); background: rgba(8, 12, 15, .88); backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 25; }
.mobile-brand { display: none; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--pk-muted); font-size: 12px; }
.breadcrumb strong { color: #c9d7da; }
.crumb-divider { color: #39494f; }
.appbar-actions { display: flex; align-items: center; gap: 8px; }
.airac-chip, .language-switch { height: 30px; border: 1px solid var(--pk-line); border-radius: 6px; background: #10171b; display: inline-flex; align-items: center; gap: 7px; color: #aab9bd; padding: 0 10px; font-size: 10px; letter-spacing: .05em; }
.language-switch { padding: 2px; gap: 2px; cursor: pointer; }
.language-switch span { min-width: 28px; padding: 5px 6px; border-radius: 4px; text-align: center; color: var(--pk-muted); }
.language-switch span.selected { background: #26343a; color: var(--pk-text); }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--pk-line); border-radius: 7px; background: #10171b; color: var(--pk-muted); display: inline-grid; place-items: center; cursor: pointer; }
.icon-button:hover { color: var(--pk-text); border-color: #3a4c54; }
.icon-button.close { font-size: 24px; }

.trip-shell { min-width: 0; }
.trip-heading { min-height: 88px; padding: 14px 24px; border-bottom: 1px solid var(--pk-line-soft); display: flex; align-items: center; gap: 16px; }
.back-button { flex: 0 0 34px; height: 34px; border: 1px solid var(--pk-line); border-radius: 8px; background: transparent; color: var(--pk-muted); cursor: pointer; }
.back-button:hover { color: var(--pk-text); }
.airport-pair { min-width: 440px; display: grid; grid-template-columns: auto 120px auto; align-items: center; gap: 16px; }
.airport-pair > div:not(.route-arrow) { display: flex; flex-direction: column; }
.airport-pair strong { font-size: 23px; letter-spacing: .08em; }
.airport-pair span { color: var(--pk-muted); font-size: 10px; }
.route-arrow { position: relative; display: grid; place-items: center; height: 36px; }
.route-arrow span { position: absolute; top: 0; font-size: 8px; letter-spacing: .08em; }
.route-arrow i { width: 100%; height: 1px; background: linear-gradient(90deg, #385056, var(--pk-cyan)); }
.route-arrow b { position: absolute; right: -1px; color: var(--pk-cyan); font-size: 18px; }
.trip-meta { margin-left: auto; display: flex; align-items: center; gap: 18px; color: #c0cdd0; }
.trip-meta > span:not(.status-chip) { display: flex; flex-direction: column; gap: 3px; font-size: 11px; }
.trip-meta small { color: var(--pk-muted); font-size: 8px; letter-spacing: .1em; }
.status-chip { display: inline-flex; align-items: center; justify-content: center; width: max-content; min-height: 23px; padding: 4px 8px; border: 1px solid; border-radius: 4px; font-style: normal; font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.status-chip.draft { color: var(--pk-amber); border-color: rgba(255,182,72,.32); background: rgba(255,182,72,.08); }
.status-chip.pass, .status-chip.released { color: var(--pk-lime); border-color: rgba(155,232,111,.3); background: rgba(155,232,111,.07); }
.status-chip.archived { color: #9ca9ad; border-color: #39484e; background: #192227; }
.status-chip.screening { color: var(--pk-amber); border-color: rgba(255,182,72,.32); background: rgba(255,182,72,.08); }
.status-chip.block { color: var(--pk-red); border-color: rgba(255,106,104,.35); background: rgba(255,106,104,.08); }
.status-chip.no-go { color: var(--pk-red); border-color: rgba(255,106,104,.35); background: rgba(255,106,104,.08); }
.status-chip.update { color: var(--pk-blue); border-color: rgba(112,168,255,.35); background: rgba(112,168,255,.08); }
.trip-tabs { min-height: 48px; padding: 0 24px; border-bottom: 1px solid var(--pk-line); background: #0b1013; display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.trip-tabs::-webkit-scrollbar { display: none; }
.trip-tabs button { flex: 0 0 auto; position: relative; min-height: 48px; padding: 0 1px; border: 0; background: transparent; color: var(--pk-muted); font-size: 11px; cursor: pointer; }
.trip-tabs button:hover { color: #d5e2e5; }
.trip-tabs button.active { color: var(--pk-cyan); }
.trip-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pk-cyan); box-shadow: 0 0 8px rgba(66,220,231,.5); }
.attention-dot { position: absolute; top: 12px; right: -7px; width: 4px; height: 4px; border-radius: 50%; background: var(--pk-amber); }
.trip-content { min-width: 0; }
.workspace-view, .page-view { max-width: 1660px; margin: 0 auto; padding: 22px 24px 36px; }
.page-view { padding-top: 34px; }
.workspace-toolbar, .page-heading { min-height: 48px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.workspace-toolbar h1, .page-heading h1 { margin: 4px 0 0; color: var(--pk-text); font-size: 22px; font-weight: 620; letter-spacing: -.02em; }
.page-heading h1 { font-size: 29px; }
.page-heading p { margin: 5px 0 0; color: var(--pk-muted); font-size: 12px; }
.eyebrow, .panel-kicker { display: block; color: var(--pk-cyan); font-size: 8px; font-weight: 750; letter-spacing: .15em; }
.toolbar-actions, .dataset-actions { display: flex; align-items: center; gap: 8px; }
.primary-button, .ghost-button, .subtle-button, .text-button { min-height: 38px; border-radius: 7px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: 11px; font-weight: 650; }
.primary-button { border: 1px solid var(--pk-cyan); background: var(--pk-cyan); color: #061012; box-shadow: 0 6px 22px rgba(66,220,231,.11); }
.primary-button:hover { background: #76e8ef; border-color: #76e8ef; }
.ghost-button { border: 1px solid var(--pk-line); background: #10171b; color: #bdcace; }
.ghost-button:hover { border-color: #3d535b; color: var(--pk-text); }
.subtle-button { min-height: 32px; border: 1px solid #31424a; background: transparent; color: #b6c4c8; }
.text-button { min-height: 30px; border: 0; padding: 0; background: transparent; color: var(--pk-cyan); }
.compact { min-height: 30px; padding: 0 10px; }

.panel { border: 1px solid var(--pk-line); border-radius: var(--pk-radius); background: linear-gradient(145deg, rgba(18,26,31,.98), rgba(13,19,23,.98)); box-shadow: 0 12px 36px rgba(0,0,0,.12); overflow: hidden; }
.panel > header { min-height: 58px; padding: 13px 16px; border-bottom: 1px solid var(--pk-line-soft); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.panel > header h2 { margin: 4px 0 0; font-size: 13px; font-weight: 600; }
.crew-sector-editor { padding: 13px; border: 1px solid var(--pk-line-soft); border-radius: 8px; background: rgba(4,9,12,.28); display: grid; gap: 10px; }
.sector-entry-form { grid-template-columns: .6fr .6fr 1fr 1fr .45fr auto; align-items: end; }
.crew-sector-editor .crew-form-row { padding-top: 10px; border-top: 1px solid var(--pk-line-soft); }
.crew-form select { width: 100%; height: 34px; border: 1px solid var(--pk-line); border-radius: 5px; background: #091014; color: #dce8ea; padding: 0 9px; font: inherit; font-size: 9px; }
.crew-form select:focus { outline: 1px solid var(--pk-cyan); border-color: var(--pk-cyan); }
.crew-timeline-switch { margin-bottom: 12px; min-height: 42px; display: flex; align-items: center; gap: 5px; }.crew-timeline-switch button { min-width: 92px; height: 32px; border: 1px solid var(--pk-line); border-radius: 6px; background: #0d1519; color: var(--pk-muted); cursor: pointer; }.crew-timeline-switch button.active { border-color: var(--pk-cyan); color: var(--pk-cyan); background: rgba(66,220,231,.08); }.crew-timeline-switch > span { margin-left: auto; color: var(--pk-muted); font-size: 8px; letter-spacing: .08em; }.crew-duty-grid { display: grid; grid-template-columns: minmax(620px,1.45fr) minmax(300px,.65fr); gap: 12px; }.crew-input-panel { min-width: 0; }.crew-form { padding: 16px; display: grid; gap: 15px; }.crew-form-row { display: grid; gap: 10px; }.crew-form-row.three { grid-template-columns: repeat(3,minmax(0,1fr)); }.crew-form-row.four { grid-template-columns: repeat(4,minmax(0,1fr)); }.crew-form label, .crew-timeline-card label { min-width: 0; display: grid; gap: 6px; color: var(--pk-muted); font-size: 8px; letter-spacing: .04em; }.crew-form input, .crew-timeline-card input { width: 100%; height: 34px; border: 1px solid var(--pk-line); border-radius: 5px; background: #091014; color: #dce8ea; padding: 0 9px; font: inherit; font-size: 9px; }.crew-form input:focus, .crew-timeline-card input:focus { outline: 1px solid var(--pk-cyan); border-color: var(--pk-cyan); }.crew-timeline-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.crew-timeline-card { padding: 12px; border: 1px solid var(--pk-line); border-radius: 7px; background: rgba(5,11,14,.35); display: grid; grid-template-columns: 1fr 1fr 80px; gap: 10px; }.crew-timeline-card.selected { border-color: rgba(66,220,231,.65); box-shadow: inset 0 0 0 1px rgba(66,220,231,.08); }.crew-timeline-card header { grid-column: 1/-1; display: flex; justify-content: space-between; }.crew-timeline-card header strong { font-size: 10px; }.crew-timeline-card header small { color: var(--pk-cyan); font-size: 7px; letter-spacing: .12em; }.crew-checkbox { align-content: center; grid-template-columns: 18px 1fr !important; }.crew-checkbox input { width: 16px; height: 16px; accent-color: var(--pk-cyan); }.crew-results { display: grid; align-content: start; gap: 12px; }.crew-result-card > header { align-items: flex-start; }.crew-badge { padding: 4px 7px; border: 1px solid; border-radius: 999px; font-size: 7px; letter-spacing: .1em; }.crew-badge.pass { color: var(--pk-lime); border-color: rgba(152,239,105,.5); }.crew-badge.block { color: #ff7474; border-color: rgba(255,116,116,.5); }.crew-badge.explain { color: var(--pk-cyan); border-color: rgba(66,220,231,.5); }.crew-metrics { margin: 0; padding: 8px 15px 14px; }.crew-metrics div { min-height: 32px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid var(--pk-line-soft); }.crew-metrics dt { color: var(--pk-muted); font-size: 8px; }.crew-metrics dd { margin: 0; font-size: 9px; text-align: right; }.weekly-rest-note { margin: 0 14px 14px; padding: 11px; border-left: 2px solid var(--pk-cyan); background: rgba(66,220,231,.05); display: grid; gap: 5px; }.weekly-rest-note strong { font-size: 9px; }.weekly-rest-note span { color: #aab9bc; font-size: 8px; line-height: 1.5; }.weekly-rest-note small { color: var(--pk-cyan); font-size: 7px; }.crew-findings-panel { margin-top: 12px; }.crew-findings { padding: 12px 15px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.crew-finding { min-height: 72px; padding: 10px; border: 1px solid var(--pk-line-soft); border-radius: 6px; display: grid; grid-template-columns: 58px 1fr; gap: 10px; }.crew-finding > span { align-self: start; padding: 4px 5px; border: 1px solid currentColor; border-radius: 999px; font-size: 7px; text-align: center; }.crew-finding.pass { color: var(--pk-lime); }.crew-finding.warn { color: #f4bd5c; }.crew-finding.block { color: #ff7474; }.crew-finding.explain { color: var(--pk-cyan); }.crew-finding div { color: #d5e0e2; }.crew-finding strong { font-size: 8px; }.crew-finding p { margin: 4px 0; color: #aab7ba; font-size: 8px; line-height: 1.4; }.crew-finding small { color: var(--pk-muted); font-size: 7px; }.crew-empty { padding: 16px; display: grid; gap: 5px; color: var(--pk-muted); font-size: 8px; }.crew-empty strong { color: #f4bd5c; font-size: 8px; }
.crew-badge.warn { color: #f4bd5c; border-color: rgba(244,189,92,.55); }.weekly-result-card { grid-column: 1/-1; }.crew-history-panel { margin-top: 12px; }.crew-history-panel > header { align-items: flex-start; }.history-timeline-chip { padding: 5px 8px; border: 1px solid var(--pk-cyan); border-radius: 999px; color: var(--pk-cyan); font-size: 7px; letter-spacing: .12em; }.crew-history-editor { padding: 14px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.history-column { min-width: 0; display: grid; align-content: start; gap: 10px; }.history-column-heading { min-height: 34px; display: grid; gap: 4px; }.history-column-heading strong { font-size: 10px; }.history-column-heading small { color: var(--pk-muted); font-size: 8px; }.history-entry-form { padding: 11px; border: 1px solid var(--pk-line-soft); border-radius: 7px; background: rgba(4,9,12,.38); display: grid; gap: 8px; }.work-entry-form { grid-template-columns: 1fr 1fr .7fr auto; align-items: end; }.rest-entry-form { grid-template-columns: 1fr 1fr .55fr .7fr; align-items: end; }.rest-entry-form > label:nth-child(5) { grid-column: 1/3; }.history-entry-form label { min-width: 0; display: grid; gap: 5px; color: var(--pk-muted); font-size: 8px; }.history-entry-form input, .history-entry-form select { width: 100%; height: 32px; border: 1px solid var(--pk-line); border-radius: 5px; padding: 0 8px; background: #091014; color: #dce8ea; font-size: 8px; }.history-entry-form .subtle-button { min-height: 32px; }.history-checks { display: flex; align-items: center; gap: 10px; }.history-checks label { grid-template-columns: 16px 1fr; align-items: center; }.history-checks input { width: 14px; height: 14px; accent-color: var(--pk-cyan); }.history-list { display: grid; gap: 6px; }.history-empty { min-height: 50px; padding: 15px; border: 1px dashed var(--pk-line); border-radius: 6px; color: var(--pk-muted); font-size: 8px; display: grid; place-items: center; }.history-row { min-height: 48px; padding: 7px 9px; border: 1px solid var(--pk-line-soft); border-radius: 6px; display: grid; grid-template-columns: 44px 1fr 27px; align-items: center; gap: 9px; background: rgba(12,19,23,.6); }.history-kind { padding: 4px; border: 1px solid #45606a; border-radius: 4px; color: #9bb1b6; font-size: 7px; text-align: center; }.history-kind.qualifies { border-color: rgba(152,239,105,.5); color: var(--pk-lime); }.history-row div { min-width: 0; display: grid; gap: 3px; }.history-row strong { overflow: hidden; text-overflow: ellipsis; color: #d5e1e3; font-size: 8px; white-space: nowrap; }.history-row small { color: var(--pk-muted); font-size: 7px; }.history-row > button { width: 25px; height: 25px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--pk-muted); cursor: pointer; }.history-row > button:hover { border-color: rgba(255,116,116,.45); color: #ff7474; }
.crew-timeline-card select { width: 100%; height: 34px; border: 1px solid var(--pk-line); border-radius: 5px; background: #091014; color: #dce8ea; padding: 0 9px; font: inherit; font-size: 9px; }.crew-timeline-card select:focus { outline: 1px solid var(--pk-cyan); border-color: var(--pk-cyan); }
@media (max-width: 1100px) { .crew-duty-grid { grid-template-columns: 1fr; }.crew-results { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) { .crew-history-editor { grid-template-columns: 1fr; }.work-entry-form, .rest-entry-form, .sector-entry-form { grid-template-columns: repeat(2,minmax(0,1fr)); }.rest-entry-form > label:nth-child(5) { grid-column: auto; } }
@media (max-width: 720px) { .crew-timeline-switch > span { display: none; }.crew-form-row.three, .crew-form-row.four, .crew-timeline-cards, .crew-results, .crew-findings { grid-template-columns: 1fr; }.crew-timeline-card { grid-template-columns: 1fr; }.crew-timeline-card header { grid-column: auto; }.crew-findings { padding: 10px; }.crew-finding { grid-template-columns: 52px 1fr; }.crew-duty-view .page-heading .primary-button { width: 100%; }.work-entry-form, .rest-entry-form, .sector-entry-form { grid-template-columns: 1fr; }.history-entry-form .subtle-button { width: 100%; }.history-checks { flex-wrap: wrap; } }
.source-footer { min-height: 35px; padding: 9px 14px; border-top: 1px solid var(--pk-line-soft); color: #6f8087; display: flex; justify-content: space-between; gap: 12px; font-size: 8px; letter-spacing: .03em; }
.alert-banner { min-height: 56px; margin-bottom: 16px; padding: 10px 14px; border: 1px solid; border-radius: 9px; display: flex; align-items: center; gap: 12px; }
.alert-banner.warning { border-color: rgba(255,182,72,.32); background: linear-gradient(90deg, rgba(255,182,72,.1), rgba(255,182,72,.02)); }
.alert-banner.danger { border-color: rgba(255,106,104,.3); background: linear-gradient(90deg, rgba(255,106,104,.11), rgba(255,106,104,.02)); }
.alert-banner.success { border-color: rgba(155,232,111,.25); background: linear-gradient(90deg, rgba(155,232,111,.09), rgba(155,232,111,.02)); }
.alert-banner .alert-icon { flex: 0 0 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #071012; background: var(--pk-amber); font-weight: 900; }
.alert-banner.danger .alert-icon { background: var(--pk-red); }
.alert-banner.success .alert-icon { background: var(--pk-lime); }
.alert-banner > div { flex: 1; }
.alert-banner strong { font-size: 11px; }
.alert-banner p { margin: 3px 0 0; color: #a5b3b7; font-size: 9px; }
.alert-banner > button { border: 0; background: transparent; color: var(--pk-amber); font-size: 10px; cursor: pointer; }
.alert-banner.danger > button { color: var(--pk-red); }

.metric-grid { display: grid; gap: 10px; margin-bottom: 12px; }
.metric-grid.four { grid-template-columns: repeat(4, 1fr); }
.metric-card { position: relative; min-height: 118px; padding: 15px 16px; border: 1px solid var(--pk-line); border-radius: 10px; background: linear-gradient(145deg, #121a1f, #0e1519); display: flex; flex-direction: column; }
.metric-card > span { color: var(--pk-muted); font-size: 8px; font-weight: 650; letter-spacing: .12em; }
.metric-card strong { margin-top: 11px; font-size: 25px; font-weight: 620; letter-spacing: -.03em; }
.metric-card strong em { color: #91a0a5; font-size: 11px; font-style: normal; }
.metric-card small { margin-top: 4px; color: #77888e; font-size: 9px; }
.metric-card .trend { position: absolute; right: 13px; bottom: 12px; padding: 3px 6px; border-radius: 4px; font-size: 8px; font-style: normal; }
.trend.good { color: var(--pk-lime); background: rgba(155,232,111,.07); }
.trend.warning { color: var(--pk-amber); background: rgba(255,182,72,.07); }
.trend.neutral { color: var(--pk-cyan); background: rgba(66,220,231,.07); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .72fr); gap: 12px; }
.dashboard-grid .wide { grid-row: span 2; }
.route-overview { min-height: 450px; }
.route-overview header h2 { max-width: 720px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #aab8bc; font-size: 10px; font-weight: 500; }
.map-stage { position: relative; min-height: 348px; background: radial-gradient(circle at 50% 20%, #122127, #0c1215 70%); overflow: hidden; }
.map-stage svg { width: 100%; height: 310px; }
.map-stage .terrain { fill: #172328; stroke: #28383e; }
.map-grid, .chart-grid { fill: none; stroke: #213038; stroke-width: 1; opacity: .62; }
.route-line { fill: none; stroke: url(#routeFade); stroke-width: 2.2; stroke-dasharray: 7 4; }
.route-nodes circle { fill: #10171b; stroke: var(--pk-cyan); stroke-width: 2; }
.route-nodes circle:last-child { stroke: var(--pk-lime); }
.map-labels { fill: #a9babf; font-size: 10px; font-weight: 700; letter-spacing: .09em; }
.map-stat { position: absolute; bottom: 15px; display: flex; flex-direction: column; gap: 3px; }
.map-stat.start { left: 18px; }.map-stat.end { right: 18px; text-align: right; }
.map-stat small { color: var(--pk-muted); font-size: 7px; letter-spacing: .12em; }.map-stat strong { font-size: 10px; }
.combined-route-profile { min-height: 365px; overflow-x: auto; }
.combined-route-profile svg { min-width: 720px; height: 325px; }
.flight-profile-area { fill: url(#profileFade); stroke: none; }
.flight-profile-line { fill: none; stroke: #86969c; stroke-width: 1.8; opacity: .82; }
.route-nodes .waypoint { fill: #0d1519; stroke: var(--pk-cyan); stroke-width: 1.5; }
.route-nodes .airport { fill: #0d1519; stroke: var(--pk-lime); stroke-width: 2.2; }
.profile-axis { fill: #667980; font-size: 8px; letter-spacing: .08em; }
.north-arrow { fill: none; stroke: #92a5aa; stroke-width: 1.5; }
.north-arrow text { fill: #b8c6c9; stroke: none; font-size: 9px; font-weight: 750; }
.profile-nodes circle { fill: #8b9ca1; opacity: .82; }
.profile-nodes text, .combined-profile-labels { fill: #9caaae; font-size: 8px; font-weight: 650; letter-spacing: .05em; }
.profile-unavailable-message { position: absolute; inset: 95px 14% auto; padding: 12px 14px; border: 1px solid rgba(129,145,151,.16); border-radius: 8px; background: rgba(9,15,18,.86); display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; color: #75878d; font-size: 9px; }
.profile-unavailable-message strong { color: #a0b1b5; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.profile-unavailable-message.profile-only { inset: 218px 8% auto; background: rgba(9,15,18,.72); grid-template-columns: auto minmax(0, 1fr); }
.combined-legend { min-width: 690px; min-height: 40px; padding: 7px 14px; border-top: 1px solid var(--pk-line-soft); display: flex; align-items: center; gap: 18px; color: var(--pk-muted); font-size: 8px; letter-spacing: .05em; }
.combined-legend span:last-child { margin-left: auto; color: #91a2a7; }
.combined-legend i { display: inline-block; width: 23px; margin-right: 6px; vertical-align: middle; }
.map-route-key { border-top: 2px dashed var(--pk-cyan); }
.profile-key { height: 7px; border-top: 2px solid #86969c; background: rgba(129,145,151,.16); }
.decision-card, .weather-card { min-height: 219px; }
.decision-route { margin: 14px 16px 9px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; color: #dce6e8; font-size: 11px; font-weight: 750; }
.decision-route i { height: 1px; background: linear-gradient(90deg, var(--pk-cyan), var(--pk-lime)); }
.check-list { list-style: none; margin: 0; padding: 3px 16px 10px; display: grid; gap: 6px; }
.check-list li { min-height: 22px; display: grid; grid-template-columns: 17px 1fr auto; align-items: center; gap: 5px; color: #a9b7ba; font-size: 9px; }
.check-list li i { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: rgba(155,232,111,.11); color: var(--pk-lime); font-style: normal; font-size: 8px; }
.check-list li strong { color: #d2dcde; font-size: 9px; }
.check-list li.warn i { color: var(--pk-amber); background: rgba(255,182,72,.1); }
.check-list li.block i { color: var(--pk-red); background: rgba(255,106,104,.1); }
.decision-card .subtle-button { margin: 0 16px 12px; }
.weather-airports { padding: 9px 15px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.weather-airports > div { min-width: 0; padding-right: 8px; border-right: 1px solid var(--pk-line-soft); display: flex; flex-direction: column; gap: 3px; }
.weather-airports > div:last-child { border: 0; }.weather-airports strong { font-size: 11px; }.weather-airports span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #adbbbe; font-size: 8px; }.weather-airports small { color: var(--pk-muted); font-size: 8px; }
.weather-briefing-details { padding: 10px 15px; display: grid; gap: 9px; }
.weather-briefing-status { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.weather-briefing-status small, .weather-location header small, .weather-report small, .weather-briefing-provenance { color: var(--pk-muted); font-size: 8px; }
.weather-location { min-width: 0; display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid var(--pk-line-soft); }
.weather-location header, .weather-report-head { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.weather-location header { justify-content: space-between; }
.weather-report { min-width: 0; display: grid; gap: 3px; padding: 7px 8px; border-radius: 5px; background: rgba(255,255,255,.018); }
.weather-report-head b { color: var(--pk-cyan); font-size: 9px; letter-spacing: .08em; }
.weather-report-head span { color: #adbbbe; font-size: 8px; }
.weather-report-head em { color: var(--pk-amber); font-size: 8px; font-style: normal; }
.weather-report code { color: #d7e1e3; font-family: var(--pk-mono); font-size: 9px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.weather-report small, .weather-briefing-provenance span, .weather-failure { overflow-wrap: anywhere; }
.weather-failure { margin: 0; color: var(--pk-red); font-size: 9px; }
.weather-briefing-provenance { display: grid; gap: 3px; padding-top: 7px; border-top: 1px solid var(--pk-line-soft); }
.weather-briefing-details.compact { padding: 8px 0; }
.weather-briefing-details.compact .weather-report { padding: 5px 7px; }
.weather-isa-note { color: var(--pk-muted); font-size: 9px; }
.folder-weather-details { grid-column: 1 / -1; padding: 8px 14px; }
.ofp-paper .weather-briefing-status small,
.ofp-paper .weather-location header small,
.ofp-paper .weather-report small,
.ofp-paper .weather-briefing-provenance,
.ofp-paper .weather-isa-note { color: #4c585d; }
.ofp-paper .weather-location,
.ofp-paper .weather-briefing-provenance { border-color: #c1c7c5; }
.ofp-paper .weather-report { background: #e1e5e2; }
.ofp-paper .weather-report code { color: #172026; }
.ofp-paper .weather-report-head b { color: #11666c; }
.ofp-paper .weather-report-head span { color: #445156; }
.ofp-paper .weather-failure { color: #9f2424; }
.ofp-paper .status-chip.block { color: #8f2020; border-color: #c97878; background: #f9dddd; }
.live-pill { color: var(--pk-lime); font-size: 8px; letter-spacing: .09em; }
.wind-row { margin: 4px 15px 10px; padding: 8px 10px; border-radius: 6px; background: #182227; display: grid; grid-template-columns: auto 20px 1fr auto; align-items: center; gap: 7px; font-size: 9px; }.wind-row i { color: var(--pk-cyan); transform: rotate(var(--angle)); font-style: normal; }.wind-row small { color: var(--pk-muted); }
.warning-text, .amber-text { color: var(--pk-amber) !important; }

/* Trips */
.filterbar { margin: 22px 0 13px; display: flex; align-items: center; gap: 10px; }
.segmented { display: flex; padding: 3px; border: 1px solid var(--pk-line); border-radius: 7px; background: #0d1418; }
.segmented button { min-height: 30px; padding: 0 13px; border: 0; border-radius: 5px; background: transparent; color: var(--pk-muted); font-size: 10px; cursor: pointer; }
.segmented button.active { background: #243238; color: var(--pk-text); }
.segmented span { color: var(--pk-cyan); margin-left: 4px; }
.search-field { flex: 1; max-width: 430px; height: 38px; border: 1px solid var(--pk-line); border-radius: 7px; background: #0e1519; display: flex; align-items: center; gap: 8px; padding: 0 11px; color: var(--pk-muted); }
.search-field input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--pk-text); font-size: 11px; }
.trip-list-card { border: 1px solid var(--pk-line); border-radius: 11px; background: var(--pk-panel); overflow: hidden; }
.trip-list-head, .trip-row { display: grid; grid-template-columns: minmax(210px, 1.35fr) .72fr .72fr .64fr 1fr .85fr 26px; align-items: center; gap: 13px; }
.trip-list-head { min-height: 40px; padding: 0 16px; color: #64767d; background: #0e1519; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.trip-row { width: 100%; min-height: 79px; padding: 10px 16px; border: 0; border-top: 1px solid var(--pk-line-soft); background: transparent; color: #d7e2e4; text-align: left; cursor: pointer; }
.trip-row:hover { background: #151f24; }.trip-row.featured { background: linear-gradient(90deg, rgba(66,220,231,.045), transparent 60%); }
.trip-row > span { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.trip-row strong { font-size: 10px; }.trip-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pk-muted); font-size: 8px; }.trip-row .city-pair { position: relative; padding-left: 17px; }.trip-row .city-pair > i { position: absolute; left: 0; top: 4px; }.trip-row .city-pair strong { font-size: 14px; letter-spacing: .05em; }.city-pair b { color: var(--pk-cyan); font-weight: 400; margin: 0 5px; }.row-chevron { color: var(--pk-cyan); font-size: 23px; }
.page-note { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--pk-line); border-radius: 9px; background: rgba(17,25,30,.72); display: flex; gap: 11px; color: #9eacb0; }.page-note > span { width: 23px; height: 23px; border: 1px solid #31505a; border-radius: 50%; display: grid; place-items: center; color: var(--pk-cyan); font-weight: 700; }.page-note p { margin: 0; font-size: 9px; line-height: 1.55; }.page-note strong { color: #c9d4d7; }

/* Flight planning */
.route-controls { min-height: 76px; margin-bottom: 12px; padding: 10px 14px; display: grid; grid-template-columns: 1.15fr .75fr 1fr 1.7fr; gap: 10px; align-items: center; }
label > span, .route-controls label > span { display: block; margin-bottom: 5px; color: var(--pk-muted); font-size: 8px; font-weight: 650; letter-spacing: .08em; }
input, select { width: 100%; min-height: 36px; border: 1px solid #2b3a41; border-radius: 6px; background: #0d1418; color: #d7e2e4; padding: 0 10px; font-size: 11px; outline: 0; }
input:focus, select:focus { border-color: var(--pk-cyan); box-shadow: 0 0 0 2px rgba(66,220,231,.08); }
.route-summary-inline { min-height: 49px; border-left: 1px solid var(--pk-line); display: grid; grid-template-columns: repeat(3,1fr); align-items: center; }.route-summary-inline span { display: flex; flex-direction: column; gap: 5px; padding-left: 16px; }.route-summary-inline small { color: var(--pk-muted); font-size: 7px; letter-spacing: .08em; }.route-summary-inline strong { font-size: 11px; }
.procedure-controls { margin-bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; }
.procedure-controls > section { min-width: 0; padding: 12px 14px; }
.procedure-controls > section + section { border-left: 1px solid var(--pk-line); }
.procedure-controls header { margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.procedure-controls header span { color: var(--pk-text); font-size: 9px; font-weight: 750; letter-spacing: .08em; }
.procedure-controls header small { color: var(--pk-muted); font-size: 7px; text-align: right; }
.procedure-controls select { width: 100%; min-height: 34px; }
.procedure-transitions { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.procedure-transitions label { min-height: 31px; padding: 5px 8px; border: 1px solid var(--pk-line); border-radius: 5px; display: grid; grid-template-columns: auto auto; column-gap: 6px; align-items: center; cursor: pointer; }
.procedure-transitions label:has(input:checked) { border-color: var(--pk-cyan); background: color-mix(in srgb, var(--pk-cyan) 10%, transparent); }
.procedure-transitions label.blocked { cursor: not-allowed; opacity: .52; }
.procedure-transitions input { margin: 0; accent-color: var(--pk-cyan); }
.procedure-transitions span { font-size: 8px; font-weight: 750; }
.procedure-transitions small { grid-column: 2; color: var(--pk-muted); font-size: 6px; letter-spacing: .06em; }
.procedure-unavailable { margin: 0; padding: 9px 10px; border: 1px solid var(--pk-amber); border-radius: 4px; color: var(--pk-amber); font-size: 8px; }
.procedure-controls > footer { grid-column: 1/-1; padding: 7px 14px; border-top: 1px solid var(--pk-line); color: var(--pk-muted); font-size: 7px; letter-spacing: .04em; }
.planning-grid { display: grid; grid-template-columns: minmax(540px, 1.05fr) minmax(450px, 1fr); gap: 12px; }
.route-editor, .vertical-panel { min-width: 0; min-height: 520px; }
.waypoint-table-wrap { overflow: auto; }
.waypoint-table { width: 100%; border-collapse: collapse; font-size: 9px; }.waypoint-table th { height: 34px; color: #66787e; background: #0e1519; text-align: left; font-size: 7px; letter-spacing: .08em; }.waypoint-table td, .waypoint-table th { padding: 7px 7px; border-bottom: 1px solid var(--pk-line-soft); white-space: nowrap; }.waypoint-table td:first-child, .waypoint-table th:first-child { padding-left: 12px; }.waypoint-table td:nth-child(n+4):not(:last-child) { color: #aab8bc; text-align: right; }.waypoint-table td strong { display: block; font-size: 10px; }.waypoint-table td small { display: block; color: var(--pk-muted); font-size: 7px; margin-top: 2px; }.waypoint-table tr:hover { background: #151f24; }.waypoint-table tr.departure { background: rgba(66,220,231,.035); }.drag-handle { color: #5c7077; margin-right: 5px; }.row-actions { display: flex; gap: 2px; }.row-actions button { width: 23px; height: 23px; border: 0; border-radius: 4px; background: transparent; color: #75878d; cursor: pointer; }.row-actions button:hover:not(:disabled) { background: #26343a; color: var(--pk-cyan); }
.expanded-route-preview { padding: 10px 13px; border-top: 1px solid var(--pk-line-soft); background: rgba(62,222,232,.025); color: var(--pk-muted); font-size: 8px; letter-spacing: .05em; }.expanded-route-preview > span { display: block; margin-bottom: 8px; color: var(--pk-cyan); }.expanded-route-preview ol { display: flex; gap: 5px; margin: 0; padding: 0; list-style: none; overflow-x: auto; }.expanded-route-preview li { flex: 0 0 auto; padding: 4px 7px; border: 1px solid #27383e; border-radius: 10px; color: #aebdc1; }.expanded-route-preview li.airport { border-color: rgba(151,231,105,.5); color: var(--pk-lime); }.expanded-route-preview.failed { background: rgba(255,115,92,.04); }.expanded-route-preview.failed > span { color: var(--pk-red); }.expanded-route-preview.failed p { margin: 0; color: #c69c95; letter-spacing: 0; }
.add-waypoint { padding: 10px 12px; display: grid; grid-template-columns: 19px 1fr 98px auto; align-items: center; gap: 7px; }.add-waypoint > span { color: var(--pk-cyan); }.add-waypoint input, .add-waypoint select { min-height: 32px; }.add-waypoint .via-input { text-transform: uppercase; }.add-waypoint .subtle-button { min-height: 32px; }
.vertical-chart { height: 350px; padding: 25px 18px 0 8px; background: radial-gradient(circle at 52% 25%, rgba(25,48,56,.65), transparent 55%); }.vertical-chart svg { width: 100%; height: 280px; }.axis-labels { fill: #65777e; font-size: 8px; }.profile-area { fill: rgba(66,220,231,.08); }.profile-line { fill: none; stroke: var(--pk-cyan); stroke-width: 2.2; }.profile-waypoints circle { fill: #0d1418; stroke: var(--pk-cyan); stroke-width: 2; }.profile-labels { fill: #9dafb4; font-size: 9px; }.profile-legend { min-height: 49px; padding: 10px 16px; border-top: 1px solid var(--pk-line-soft); display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--pk-muted); font-size: 8px; }.profile-legend span { white-space: nowrap; }.legend-line { display: inline-block; width: 19px; height: 2px; margin-right: 5px; background: var(--pk-cyan); vertical-align: middle; }

/* OFP */
.ofp-layout { display: grid; grid-template-columns: minmax(620px, 1.55fr) minmax(270px, .55fr); gap: 12px; }.ofp-paper { padding: 18px 20px; background: #f0f2ef; color: #172026; border-color: #c1c7c5; }.ofp-paper .status-chip.draft { color: #8b5c12; border-color: #d8a957; background: #fff3d5; }.ofp-titlebar { padding-bottom: 13px; border-bottom: 2px solid #172026; display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 18px; }.document-logo { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .1em; }.document-logo > span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #172026; border-radius: 5px; }.ofp-titlebar > div:nth-child(2) { display: flex; flex-direction: column; text-align: center; font-size: 12px; }.ofp-titlebar small { font-size: 7px; color: #566066; margin-top: 3px; }.ofp-route-head { padding: 17px 4px; border-bottom: 1px solid #909896; display: grid; grid-template-columns: 1fr 35px 1fr .9fr 1fr; align-items: center; gap: 13px; }.ofp-route-head > div { display: flex; flex-direction: column; gap: 2px; }.ofp-route-head small, .ofp-summary-grid small { color: #657074; font-size: 7px; letter-spacing: .08em; }.ofp-route-head strong { font-size: 18px; letter-spacing: .07em; }.ofp-route-head span, .ofp-summary-grid span { color: #4c585d; font-size: 7px; }.ofp-route-head b { color: #188b94; font-size: 22px; }.ofp-summary-grid { padding: 12px 4px; border-bottom: 1px solid #9aa2a0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }.ofp-summary-grid > div { display: flex; flex-direction: column; gap: 3px; }.ofp-summary-grid strong { font-size: 9px; }.ofp-section { margin-top: 14px; }.ofp-section h3 { margin: 0; padding: 6px 8px; background: #26343a; color: white; font-size: 8px; letter-spacing: .1em; }.ofp-section table { width: 100%; border-collapse: collapse; font-size: 8px; }.ofp-section th, .ofp-section td { padding: 5px 8px; border-bottom: 1px solid #cbd0ce; text-align: right; }.ofp-section th:first-child, .ofp-section td:first-child { text-align: left; }.ofp-section th { color: #5b666a; font-size: 7px; }.ofp-section tr.total { font-weight: 800; background: #dde2df; }.mini-navlog { display: flex; align-items: center; justify-content: space-between; padding: 14px 5px; font-size: 8px; }.mini-navlog span { min-width: 38px; font-weight: 800; }.mini-navlog i { flex: 1; position: relative; color: #566166; font-size: 6px; text-align: center; font-style: normal; }.mini-navlog i::after { content: ""; display: block; height: 1px; margin: 3px 5px 0; background: #718084; }.ofp-document-footer { margin-top: 16px; padding-top: 8px; border-top: 1px solid #8f9997; display: flex; justify-content: space-between; color: #5c666a; font-size: 6px; }.ofp-inspector { display: grid; align-content: start; gap: 12px; }.ring-progress { width: 43px; height: 43px; border: 4px solid #284047; border-right-color: var(--pk-cyan); border-top-color: var(--pk-cyan); border-radius: 50%; display: grid; place-items: center; font-size: 8px; }.ofp-inspector .check-list { padding: 12px 16px 16px; }.source-card { padding-bottom: 14px; }.source-card > .panel-kicker { margin: 15px 16px 8px; }.source-card dl, .dataset-card dl { margin: 0; padding: 0 16px 12px; }.source-card dl div, .dataset-card dl div { min-height: 31px; border-bottom: 1px solid var(--pk-line-soft); display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 8px; font-size: 8px; }.source-card dt, .dataset-card dt { color: var(--pk-muted); }.source-card dd, .dataset-card dd { margin: 0; color: #c1cdd0; text-align: right; }.source-card .subtle-button { margin-left: 16px; }

/* Runway */
.runway-grid { display: grid; grid-template-columns: minmax(380px,.82fr) minmax(380px,1fr); gap: 12px; }.runway-grid .full { grid-column: 1 / -1; }.runway-visual { position: relative; margin: 17px 18px; display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 8px; }.runway-visual > span { width: 30px; height: 30px; border: 1px solid #44565d; display: grid; place-items: center; font-weight: 800; font-size: 10px; }.runway-visual > i { height: 36px; padding: 5px; border: 1px solid #394b52; background: repeating-linear-gradient(90deg, #172128 0 22px, #1c292f 22px 44px); }.runway-visual > i b { display: block; height: 100%; border: 1px dashed #8a9a9d; }.runway-visual small { position: absolute; top: 43px; left: 50%; transform: translateX(-50%); color: var(--pk-muted); font-size: 8px; }.input-matrix { padding: 16px 18px 10px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.unit-input, .input-with-code { position: relative; }.unit-input input, .input-with-code input { padding-right: 43px; }.unit-input small, .input-with-code small { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); color: #6d7e84; font-size: 8px; }.toggle-list { padding: 9px 18px 17px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }.toggle-list label { display: flex; align-items: center; gap: 7px; color: #aab8bc; font-size: 9px; }.toggle-list input { width: 15px; min-height: 15px; accent-color: var(--pk-cyan); }.speed-strip { margin: 17px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--pk-line); border-radius: 8px; overflow: hidden; }.speed-strip span { min-height: 70px; border-right: 1px solid var(--pk-line); display: grid; grid-template-columns: 1fr auto; align-content: center; padding: 10px 14px; }.speed-strip span:last-child { border: 0; }.speed-strip small { grid-column: 1/-1; color: var(--pk-cyan); font-size: 8px; }.speed-strip strong { font-size: 25px; }.speed-strip em { align-self: end; color: var(--pk-muted); font-size: 8px; font-style: normal; }.result-list { margin: 0; padding: 0 18px; }.result-list div { min-height: 32px; border-bottom: 1px solid var(--pk-line-soft); display: flex; justify-content: space-between; align-items: center; font-size: 9px; }.result-list dt { color: var(--pk-muted); }.result-list dd { margin: 0; font-weight: 700; }.result-list div.bad dd { color: var(--pk-red); }.runway-bar { padding: 16px 18px 10px; }.runway-bar > div { position: relative; height: 7px; background: #26343a; border-radius: 4px; }.runway-bar span { display: block; height: 100%; background: linear-gradient(90deg,var(--pk-cyan),var(--pk-amber)); border-radius: 4px; }.runway-bar i { position: absolute; top: -4px; width: 2px; height: 15px; background: var(--pk-red); }.runway-bar small { display: flex; justify-content: space-between; margin-top: 7px; color: var(--pk-muted); font-size: 7px; }.bad-text { color: var(--pk-red); }.recommendation { margin: 5px 18px 18px; padding: 10px 12px; border: 1px solid rgba(255,106,104,.25); border-radius: 7px; background: rgba(255,106,104,.06); display: flex; align-items: center; gap: 12px; }.recommendation strong { color: var(--pk-red); font-size: 17px; }.recommendation span { color: #aebcc0; font-size: 8px; }.legend-pills { display: flex; gap: 10px; color: var(--pk-muted); font-size: 7px; }.legend-pills span { display: flex; align-items: center; gap: 4px; }.legend-pills i { width: 13px; height: 2px; }.legend-pills i.cyan { background: var(--pk-cyan); }.legend-pills i.amber { background: var(--pk-amber); }.legend-pills i.red { background: var(--pk-red); }.obstacle-chart { height: 270px; padding: 5px 16px 10px; }.obstacle-chart svg { width: 100%; height: 100%; }.ground { fill: none; stroke: #69787d; stroke-width: 2; }.aeo { fill: none; stroke: var(--pk-cyan); stroke-width: 2; }.oei { fill: none; stroke: var(--pk-amber); stroke-width: 2; stroke-dasharray: 5 3; }.obstacles { stroke: var(--pk-red); fill: var(--pk-red); }.obstacle-chart text { fill: var(--pk-red); font-size: 8px; }

/* W&B */
.wb-layout { display: grid; grid-template-columns: minmax(540px,1.05fr) minmax(440px,1fr); gap: 12px; }.wb-layout .full { grid-column: 1/-1; }.cabin-panel, .cg-panel { min-height: 550px; }.aircraft-cabin { position: relative; margin: 20px auto; width: min(91%, 690px); min-height: 430px; padding: 36px 46px 25px; border: 1px solid #33474f; border-radius: 48% 48% 23% 23% / 13% 13% 7% 7%; background: linear-gradient(90deg,#0d1418,#162228 50%,#0d1418); }.cockpit { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin: 0 10px 40px; }.cabin-aisle { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 90px; }.seat { position: relative; min-height: 54px; border: 1px solid #34484f; border-radius: 9px 9px 15px 15px; background: #121c21; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }.seat.occupied { border-color: rgba(66,220,231,.38); background: linear-gradient(145deg,rgba(66,220,231,.14),rgba(66,220,231,.03)); }.seat.crew { border-color: rgba(112,168,255,.35); }.seat span { font-size: 11px; font-weight: 750; }.seat small { color: var(--pk-muted); font-size: 7px; }.seat i { position: absolute; right: 4px; bottom: 3px; color: #4d626a; font-size: 6px; font-style: normal; }.seat.empty span { color: #60737a; font-size: 17px; }.baggage-bays { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }.baggage-bays button { min-height: 45px; border: 1px dashed #3b4d54; border-radius: 7px; background: #10181c; display: grid; grid-template-columns: 25px 1fr; text-align: left; align-items: center; cursor: pointer; }.baggage-bays button > span { grid-row: 1/3; color: var(--pk-amber); }.baggage-bays strong { font-size: 8px; }.baggage-bays small { color: var(--pk-muted); font-size: 7px; }.cg-chart { height: 405px; padding: 10px; }.cg-chart svg { width: 100%; height: 100%; }.envelope { fill: rgba(66,220,231,.07); stroke: #4a7b80; stroke-width: 1.5; }.cg-trajectory { fill: none; stroke: var(--pk-amber); stroke-width: 2.2; }.cg-points circle { fill: #10171b; stroke: var(--pk-lime); stroke-width: 2.2; }.cg-labels { fill: #b0bfc3; font-size: 8px; }.cg-metrics { min-height: 66px; border-top: 1px solid var(--pk-line-soft); display: grid; grid-template-columns: repeat(3,1fr); }.cg-metrics span { padding: 11px 14px; border-right: 1px solid var(--pk-line-soft); display: flex; flex-direction: column; gap: 4px; }.cg-metrics span:last-child { border: 0; }.cg-metrics small { color: var(--pk-muted); font-size: 7px; }.cg-metrics strong { font-size: 10px; }.cg-metrics em { color: var(--pk-lime); font-size: 8px; font-style: normal; }.fuel-flow { padding: 22px 28px; display: grid; grid-template-columns: 1fr 45px 1fr 45px 1fr 45px 1fr 45px 1fr; align-items: center; }.fuel-flow > div { min-height: 75px; border: 1px solid #304149; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }.fuel-flow > div.reserve { border-color: rgba(155,232,111,.4); background: rgba(155,232,111,.04); }.fuel-flow > i { position: relative; color: var(--pk-muted); text-align: center; font-size: 8px; font-style: normal; }.fuel-flow > i::after { content:""; display:block; height:1px; margin-top:4px; background:#405158; }.fuel-flow small { color: var(--pk-muted); font-size: 7px; }.fuel-flow strong { font-size: 13px; }.fuel-flow span { color: #71848a; font-size: 7px; }

.wb-load-editor { padding: 12px 16px 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.wb-load-editor input { min-height: 32px; }
.seat-slot { min-width: 0; display: grid; gap: 4px; }
.seat-slot .seat { width: 100%; }
.cabin-aisle .seat-slot:last-child { grid-column: 1/-1; justify-self: center; width: calc(50% - 45px); }
.seat-mass { position: relative; display: block; }
.seat-mass input { min-height: 26px; padding: 0 25px 0 7px; text-align: right; font-size: 9px; }
.seat-mass > small { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); color: var(--pk-muted); font-size: 7px; }
.fuel-input-row { padding: 14px 20px 0; border-top: 1px solid var(--pk-line-soft); display: grid; grid-template-columns: minmax(150px,.7fr) minmax(270px,1.4fr) minmax(160px,.8fr); align-items: end; gap: 12px; }
.density-control > span { display: block; margin-bottom: 5px; color: var(--pk-muted); font-size: 8px; font-weight: 650; letter-spacing: .08em; }
.density-buttons { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.passenger-editor { margin: 4px 0 12px; padding: 11px; border: 1px solid var(--pk-line); border-radius: 8px; background: rgba(17,25,30,.55); }
.passenger-editor-head { margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.passenger-editor-head > span { display: flex; flex-direction: column; gap: 3px; }
.passenger-editor-head strong, .passenger-editor-head b { font-size: 9px; }
.passenger-editor-head small { color: var(--pk-muted); font-size: 7px; }
.passenger-editor-head b { color: var(--pk-cyan); white-space: nowrap; }
.passenger-draft-grid { display: grid; grid-template-columns: repeat(9,1fr); gap: 6px; }
.passenger-draft { min-width: 0; border: 1px solid #2e3e45; border-radius: 7px; background: #0e161a; overflow: hidden; }
.passenger-draft.occupied { border-color: rgba(66,220,231,.38); background: rgba(66,220,231,.04); }
.passenger-draft > button { width: 100%; min-height: 47px; padding: 5px 3px; border: 0; background: transparent; color: var(--pk-muted); display: grid; grid-template-columns: 14px 1fr; align-items: center; text-align: left; cursor: pointer; }
.passenger-draft > button span { grid-row: 1/3; color: var(--pk-cyan); text-align: center; }
.passenger-draft > button strong { color: #c5d1d4; font-size: 7px; }
.passenger-draft > button small { color: #60737a; font-size: 6px; }
.passenger-draft > label { margin: 0 4px 5px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.passenger-draft > label input { width: 100%; min-height: 27px; padding-inline: 5px; border-radius: 4px; }
.passenger-draft > label small { padding-left: 3px; color: var(--pk-muted); font-size: 6px; }

/* Folder */
.folder-summary { min-height: 64px; margin-bottom: 14px; padding: 12px 17px; border: 1px solid var(--pk-line); border-radius: 9px; background: #10171b; display: grid; grid-template-columns: auto 240px; gap: 20px; align-items: center; }.folder-summary > span { display: grid; grid-template-columns: 12px 1fr; align-items: center; gap: 5px 10px; }.folder-summary > span i { grid-row: 1/3; }.folder-summary strong { font-size: 11px; }.folder-summary small { color: var(--pk-muted); font-size: 8px; }.folder-progress, .storage-bar { height: 5px; border-radius: 4px; background: #26343a; overflow: hidden; }.folder-progress i, .storage-bar span { display: block; height: 100%; background: linear-gradient(90deg,var(--pk-cyan),var(--pk-lime)); }.document-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }.document-card { min-height: 117px; padding: 14px; border: 1px solid var(--pk-line); border-radius: 9px; background: linear-gradient(145deg,#11191e,#0d1418); display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; }.doc-icon { width: 42px; height: 52px; border: 1px solid; border-radius: 6px; display: grid; place-items: center; font-size: 19px; }.doc-icon.cyan { color: var(--pk-cyan); border-color: rgba(66,220,231,.3); background: rgba(66,220,231,.05); }.doc-icon.lime { color: var(--pk-lime); border-color: rgba(155,232,111,.3); background: rgba(155,232,111,.05); }.doc-icon.amber { color: var(--pk-amber); border-color: rgba(255,182,72,.3); background: rgba(255,182,72,.05); }.doc-icon.blue { color: var(--pk-blue); border-color: rgba(112,168,255,.3); background: rgba(112,168,255,.05); }.doc-icon.red { color: var(--pk-red); border-color: rgba(255,106,104,.3); background: rgba(255,106,104,.05); }.doc-main { min-width: 0; }.doc-main h2 { margin: 5px 0; font-size: 12px; }.doc-main p { margin: 0 0 6px; color: #8b9ba0; font-size: 8px; }.doc-main > small { color: #65767c; font-size: 7px; }.doc-state { display: flex; align-items: flex-start; gap: 5px; }.doc-state .icon-button { width: 27px; height: 27px; border: 0; background: transparent; }.signatures-panel { margin-top: 12px; }.signature-flow { padding: 20px 24px; display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr; align-items: center; }.signature-flow > i { color: #50636a; text-align: center; font-style: normal; }.signature-slot { min-height: 72px; padding: 11px; border: 1px dashed #384b52; border-radius: 8px; display: grid; grid-template-columns: 29px 1fr; align-content: center; gap: 4px 8px; }.signature-slot > span { grid-row: 1/3; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: #26353b; }.signature-slot strong { font-size: 9px; }.signature-slot small { color: var(--pk-muted); font-size: 7px; }.signature-slot.ready { border-style: solid; border-color: rgba(155,232,111,.3); }.signature-slot.ready > span { color: var(--pk-lime); background: rgba(155,232,111,.1); }.signature-slot.current { border-style: solid; border-color: rgba(66,220,231,.35); }.signature-slot.current > span { color: var(--pk-cyan); background: rgba(66,220,231,.1); }.signature-slot.disabled { opacity: .55; }.signature-button { margin: 0 24px 19px; width: calc(100% - 48px); }

/* ICAO FPL manual export */
.fpl-workspace { display: grid; gap: 12px; }
.fpl-hero { border-color: rgba(255,182,72,.28); }
.fpl-warning { margin: 15px 16px 10px; padding: 12px 14px; border: 1px solid rgba(255,182,72,.3); border-radius: 8px; background: rgba(255,182,72,.07); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.fpl-warning strong { color: var(--pk-amber); font-size: 9px; letter-spacing: .08em; }
.fpl-warning span { color: #c0cccf; font-size: 9px; line-height: 1.5; }
.fpl-source-strip { margin: 0; padding: 0 16px 15px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.fpl-source-strip > div { min-width: 0; padding: 9px 10px; border: 1px solid var(--pk-line-soft); border-radius: 6px; background: rgba(4,9,12,.25); display: grid; gap: 4px; }
.fpl-source-strip dt { color: var(--pk-muted); font-size: 7px; letter-spacing: .08em; }
.fpl-source-strip dd { margin: 0; overflow-wrap: anywhere; color: #cdd8da; font-size: 8px; font-family: ui-monospace, "Cascadia Mono", monospace; }
.fpl-editor > .form-grid { padding-inline: 16px; }
.fpl-editor > .form-grid:first-of-type { padding-top: 15px; }
.fpl-route-field { margin: 0 16px 10px; display: block; }
.fpl-route-field textarea { width: 100%; min-height: 70px; resize: vertical; border: 1px solid #2b3a41; border-radius: 6px; background: #0d1418; color: #d7e2e4; padding: 9px 10px; font-size: 11px; line-height: 1.45; outline: 0; }
.fpl-route-field textarea:focus { border-color: var(--pk-cyan); box-shadow: 0 0 0 2px rgba(66,220,231,.08); }
.fpl-output { min-width: 0; }
.fpl-findings { margin: 0; padding: 12px 16px; list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.fpl-findings li { min-width: 0; min-height: 54px; padding: 9px 10px; border: 1px solid var(--pk-line-soft); border-left-width: 3px; border-radius: 6px; display: grid; gap: 5px; }
.fpl-findings li.pass { border-left-color: var(--pk-lime); }.fpl-findings li.explain { border-left-color: var(--pk-cyan); }.fpl-findings li.block { border-left-color: var(--pk-red); }
.fpl-findings strong { overflow-wrap: anywhere; font-size: 8px; }.fpl-findings span { color: #aebbc0; font-size: 8px; line-height: 1.45; }
.fpl-message { margin: 0 16px 14px; padding: 14px; overflow-x: auto; border: 1px solid #385059; border-radius: 7px; background: #080d10; color: #d9f4f5; font: 10px/1.55 ui-monospace, "Cascadia Mono", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.fpl-export-actions { padding: 0 16px 16px; display: grid; grid-template-columns: minmax(190px,1fr) auto auto; align-items: end; gap: 8px; }
.fpl-export-actions label { min-width: 0; }
.danger-button { min-height: 38px; padding: 0 14px; border: 1px solid rgba(255,106,104,.6); border-radius: 7px; background: rgba(255,106,104,.1); color: #ff8c8a; cursor: pointer; font-size: 11px; font-weight: 650; }
.danger-button:hover { background: rgba(255,106,104,.18); }
.fpl-action-error { margin: 0 16px 16px; padding: 9px 11px; border-left: 3px solid var(--pk-red); background: rgba(255,106,104,.07); color: #ffaaa8; font-size: 9px; }
.fpl-response > p { margin: 0; padding: 0 16px 16px; overflow-wrap: anywhere; color: #b9c6c9; font-size: 9px; }
.fpl-response-notice { margin: 0 16px 14px; padding: 12px 14px; border: 1px solid rgba(66,220,231,.28); border-radius: 8px; background: rgba(66,220,231,.055); display: grid; gap: 6px; }
.fpl-response-notice strong { color: var(--pk-cyan); font-size: 9px; letter-spacing: .04em; }
.fpl-response-notice span { color: #bbc9cc; font-size: 9px; line-height: 1.55; }
.fpl-response-editor { padding: 0 16px 14px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; }
.fpl-response-editor label { min-width: 0; display: grid; gap: 6px; }
.fpl-response-editor label > span { color: #899a9f; font-size: 8px; letter-spacing: .05em; }
.fpl-response-editor textarea { width: 100%; min-height: 86px; resize: vertical; padding: 10px 11px; border: 1px solid #34484f; border-radius: 7px; background: #090f12; color: #d9f4f5; font: 10px/1.5 ui-monospace, "Cascadia Mono", monospace; outline: 0; }
.fpl-response-editor textarea:focus { border-color: var(--pk-cyan); box-shadow: 0 0 0 2px rgba(66,220,231,.08); }
.fpl-response-editor small { color: var(--pk-muted); font-size: 7px; }
.fpl-response-findings { padding-top: 0; }
.fpl-expected-response > span { display: block; margin: 0 16px 7px; color: var(--pk-amber); font-size: 8px; letter-spacing: .04em; }
.fpl-ack-scope { margin: 0 16px 14px !important; padding: 10px 12px !important; border-left: 3px solid var(--pk-amber); background: rgba(255,182,72,.07); color: #d8c49f !important; line-height: 1.55; }
.fpl-manual-fallback { margin: 0 16px 16px; border: 1px solid var(--pk-line-soft); border-radius: 7px; background: rgba(4,9,12,.25); }
.fpl-manual-fallback summary { padding: 11px 12px; color: #91a4a9; font-size: 9px; cursor: pointer; }
.fpl-manual-fallback > p { margin: 0; padding: 0 12px 11px; color: var(--pk-muted); font-size: 8px; line-height: 1.5; }
.fpl-manual-fallback .fpl-export-actions { padding: 0 12px 12px; grid-template-columns: auto auto; justify-content: start; }
.fpl-formal-response-state { margin: -6px 16px 16px !important; padding: 9px 11px !important; border-left: 3px solid var(--pk-lime); background: rgba(155,232,111,.06); color: #b9d9a8 !important; }

/* Updates / Preferences */
.update-summary { min-height: 92px; margin: 22px 0 13px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }.update-summary > div { display: flex; align-items: center; gap: 13px; }.update-summary > div > span:last-child { display: flex; flex-direction: column; gap: 4px; }.update-summary strong { font-size: 12px; }.update-summary small { color: var(--pk-muted); font-size: 8px; }.update-shield { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--pk-bg); background: var(--pk-lime); font-size: 20px; }.update-summary dl { margin: 0; display: grid; grid-template-columns: repeat(3,auto); gap: 28px; }.update-summary dl div { display: flex; flex-direction: column; gap: 4px; }.update-summary dt { color: var(--pk-muted); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }.update-summary dd { margin: 0; font-size: 11px; font-weight: 700; }.dataset-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.dataset-card { min-height: 245px; padding-bottom: 13px; }.dataset-card > header { min-height: 52px; border: 0; }.dataset-icon { font-size: 24px; color: var(--pk-cyan); }.dataset-card > h2 { margin: 5px 16px 6px; font-size: 13px; }.dataset-card > p { min-height: 29px; margin: 0 16px 10px; color: var(--pk-muted); font-size: 8px; line-height: 1.55; }.dataset-actions { padding: 0 16px; justify-content: space-between; }.provenance-panel { margin-top: 12px; }.provenance-flow { padding: 21px 22px; display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr; align-items: center; }.provenance-flow > span { display: grid; grid-template-columns: 28px 1fr; gap: 4px 8px; }.provenance-flow i { grid-row: 1/3; width: 28px; height: 28px; border: 1px solid #3b5158; border-radius: 50%; display: grid; place-items: center; color: var(--pk-cyan); font-style: normal; font-size: 9px; }.provenance-flow strong { font-size: 8px; }.provenance-flow small { color: var(--pk-muted); font-size: 7px; }.provenance-flow > b { color: #4b6067; text-align: center; }
.settings-layout { margin-top: 22px; display: grid; grid-template-columns: 190px minmax(0,820px); gap: 18px; }.settings-nav { display: grid; align-content: start; gap: 3px; }.settings-nav button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--pk-muted); text-align: left; font-size: 10px; cursor: pointer; }.settings-nav button.active { color: var(--pk-cyan); background: rgba(66,220,231,.08); }.settings-content { display: grid; gap: 11px; }.settings-card .settings-rows { padding: 3px 16px; }.settings-rows > label { min-height: 61px; border-bottom: 1px solid var(--pk-line-soft); display: grid; grid-template-columns: 1fr 190px; align-items: center; gap: 18px; }.settings-rows > label:last-child { border: 0; }.settings-rows label > span:first-child { margin: 0; display: flex; flex-direction: column; gap: 4px; }.settings-rows strong { color: #d6e0e2; font-size: 9px; }.settings-rows small { color: var(--pk-muted); font-size: 7px; }.toggle { justify-self: end; width: 38px; height: 21px; padding: 2px; border-radius: 12px; background: #2d3b41; }.toggle i { display: block; width: 17px; height: 17px; border-radius: 50%; background: #809095; }.toggle.on { background: var(--pk-cyan-deep); }.toggle.on i { margin-left: 17px; background: #dffbfc; }.device-row { padding: 16px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; }.device-icon { width: 42px; height: 42px; border: 1px solid #39525a; border-radius: 8px; display: grid; place-items: center; color: var(--pk-cyan); }.device-row > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }.device-row strong { font-size: 9px; }.device-row small { color: var(--pk-muted); font-size: 7px; }.settings-card .storage-bar { margin: 0 16px 7px; }.storage-label { display: block; padding: 0 16px 14px; color: var(--pk-muted); text-align: right; font-size: 7px; }

/* New trip modal */
.modal-scrim { position: fixed; inset: 0; z-index: 100; padding: 28px; background: rgba(1,4,6,.76); backdrop-filter: blur(7px); display: grid; place-items: center; overflow: auto; }.modal-panel { width: min(980px, 100%); max-height: calc(100vh - 56px); border: 1px solid #30434a; border-radius: 14px; background: #0d1418; box-shadow: 0 32px 100px rgba(0,0,0,.7); overflow: hidden; display: flex; flex-direction: column; }.modal-header { min-height: 70px; padding: 14px 20px; border-bottom: 1px solid var(--pk-line); display: flex; align-items: center; justify-content: space-between; }.modal-header h2 { margin: 3px 0 0; font-size: 20px; }.modal-body { padding: 0 20px 20px; overflow: auto; }.step-rail { max-width: 470px; margin: 19px auto 7px; display: grid; grid-template-columns: 28px 1fr 28px 1fr 28px; align-items: center; row-gap: 6px; }.step-rail > span { width: 27px; height: 27px; border: 1px solid #3b4d54; border-radius: 50%; display: grid; place-items: center; color: #6c7d83; font-size: 9px; }.step-rail > span.done { border-color: var(--pk-lime); color: var(--pk-bg); background: var(--pk-lime); }.step-rail > span.active { border-color: var(--pk-cyan); color: var(--pk-cyan); background: rgba(66,220,231,.1); }.step-rail > i { height: 1px; background: #33454c; }.step-rail > small { grid-row: 2; color: var(--pk-muted); text-align: center; font-size: 7px; }.step-rail > small:nth-of-type(1) { grid-column: 1; }.step-rail > small:nth-of-type(2) { grid-column: 3; }.step-rail > small:nth-of-type(3) { grid-column: 5; }.form-section { padding: 17px 0; border-bottom: 1px solid var(--pk-line); }.form-section:last-child { border: 0; }.form-section h3 { margin: 0 0 13px; font-size: 11px; }.form-grid { display: grid; gap: 10px; margin-bottom: 10px; }.form-grid.three { grid-template-columns: repeat(3,1fr); }.form-grid.four { grid-template-columns: repeat(4,1fr); }.form-grid.five { grid-template-columns: repeat(5,1fr); }.choice-grid.modes { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 13px; }.choice-card { min-height: 64px; padding: 10px 10px 10px 37px; position: relative; border: 1px solid var(--pk-line); border-radius: 8px; background: #10181c; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; cursor: pointer; }.choice-card:hover { border-color: #3a5159; }.choice-card.selected { border-color: var(--pk-cyan); background: rgba(66,220,231,.06); }.choice-card .radio { position: absolute; left: 12px; top: 16px; width: 14px; height: 14px; border: 1px solid #4f646b; border-radius: 50%; }.choice-card.selected .radio { border: 4px solid var(--pk-cyan); }.choice-card strong { font-size: 9px; }.choice-card small { color: var(--pk-muted); font-size: 7px; }.density-row { min-height: 50px; display: flex; align-items: center; gap: 7px; }.density-row > div:first-child { flex: 1; display: flex; flex-direction: column; gap: 3px; }.density-row > div:first-child > span { color: #bdc9cc; font-size: 9px; }.density-row > div:first-child > small { color: var(--pk-muted); font-size: 7px; }.density-chip { min-width: 44px; min-height: 31px; border: 1px solid #304149; border-radius: 6px; background: #11191e; color: #8d9ca1; font-size: 9px; cursor: pointer; }.density-chip.selected { border-color: var(--pk-cyan); color: var(--pk-cyan); background: rgba(66,220,231,.07); }.density-custom { width: 105px; }.density-custom input { min-height: 31px; }.calculated-strip { min-height: 59px; margin-top: 12px; padding: 10px 13px; border: 1px solid var(--pk-line); border-radius: 7px; background: #11191e; display: flex; align-items: center; gap: 28px; }.calculated-strip > span:not(.warning-text) { display: flex; flex-direction: column; gap: 4px; }.calculated-strip small { color: var(--pk-muted); font-size: 7px; }.calculated-strip strong { font-size: 10px; }.calculated-strip .warning-text { margin-left: auto; font-size: 8px; }.modal-footer { min-height: 67px; padding: 12px 20px; border-top: 1px solid var(--pk-line); background: #0b1114; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }.modal-validation { margin-right: auto; max-width: 390px; color: var(--pk-red); font-size: 8px; line-height: 1.35; }

@media (max-width: 1180px) {
    .rail { width: 76px; padding-inline: 9px; }.shell { margin-left: 76px; }.brand { justify-content: center; padding-inline: 0; }.brand-copy, .rail-item > span:not(.rail-icon), .rail-count, .profile-button > span:last-child, .sync-line > span:last-child { display: none; }.rail-item { grid-template-columns: 1fr; padding: 0; }.rail-item.active::before { left: -10px; }.profile-button { justify-content: center; }.airport-pair { min-width: 390px; }.planning-grid { grid-template-columns: 1fr; }.route-editor, .vertical-panel { min-height: auto; }.vertical-chart { height: 310px; }.ofp-layout { grid-template-columns: 1fr; }.ofp-inspector { grid-template-columns: 1fr 1fr; }.wb-layout { grid-template-columns: 1fr; }.dataset-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
    .rail { position: fixed; inset: auto 0 0; width: auto; height: 64px; padding: 5px 8px max(5px, env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--pk-line); flex-direction: row; }.brand, .rail-footer { display: none; }.rail-nav { width: 100%; margin: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; }.rail-item { min-height: 50px; grid-template-columns: 1fr; place-items: center; gap: 0; font-size: 7px; }.rail-item > span:nth-child(2) { display: block; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.rail-item.active::before { left: 22%; right: 22%; top: -6px; width: auto; height: 2px; }.rail-icon { font-size: 18px; }.shell { margin: 0 0 64px; }.appbar { height: 54px; padding: 0 14px; }.mobile-brand { display: flex; align-items: center; gap: 8px; font-size: 11px; }.mobile-brand .brand-mark.small { width: 26px; height: 26px; border-radius: 6px; }.breadcrumb { display: none; }.airac-chip { display: none; }.trip-heading { padding: 12px 14px; align-items: flex-start; }.airport-pair { min-width: 0; flex: 1; grid-template-columns: auto 65px auto; gap: 8px; }.airport-pair strong { font-size: 18px; }.airport-pair > div:not(.route-arrow) span { display: none; }.trip-meta { display: none; }.trip-tabs { padding: 0 14px; gap: 22px; }.workspace-view, .page-view { padding: 18px 14px 28px; }.page-view { padding-top: 24px; }.workspace-toolbar, .page-heading { align-items: flex-start; }.metric-grid.four { grid-template-columns: repeat(2,1fr); }.dashboard-grid { grid-template-columns: 1fr; }.dashboard-grid .wide { grid-row: auto; }.route-overview { min-height: 410px; }.route-controls { grid-template-columns: repeat(3,1fr); }.route-summary-inline { grid-column: 1/-1; border: 0; border-top: 1px solid var(--pk-line); padding-top: 8px; }.planning-grid { grid-template-columns: minmax(0,1fr); }.runway-grid { grid-template-columns: 1fr; }.runway-grid .full { grid-column: auto; }.document-grid { grid-template-columns: 1fr; }.dataset-grid { grid-template-columns: repeat(2,1fr); }.settings-layout { grid-template-columns: 1fr; }.settings-nav { display: flex; overflow-x: auto; }.settings-nav button { flex: 0 0 auto; padding-inline: 15px; }.trip-list-head { display: none; }.trip-row { grid-template-columns: 1.3fr .8fr .8fr 25px; min-height: 93px; }.trip-row > span:nth-child(4), .trip-row > span:nth-child(5), .trip-row > span:nth-child(6) { display: none; }.update-summary { align-items: flex-start; }.update-summary dl { gap: 12px; }.provenance-flow { grid-template-columns: 1fr 20px 1fr; row-gap: 14px; }.provenance-flow > b:nth-of-type(2) { display: none; }.provenance-flow > span:nth-of-type(4) { grid-column: 3; }.modal-scrim { padding: 0; place-items: stretch; }.modal-panel { width: 100%; max-height: 100vh; border-radius: 0; border: 0; }.form-grid.four, .form-grid.five { grid-template-columns: repeat(2,1fr); }.passenger-draft-grid { grid-template-columns: repeat(5,1fr); }.density-row { flex-wrap: wrap; }.density-row > div:first-child { flex-basis: 100%; }.calculated-strip { flex-wrap: wrap; gap: 13px 24px; }.calculated-strip .warning-text { width: 100%; margin: 0; }.signature-flow { grid-template-columns: 1fr; gap: 8px; }.signature-flow > i { transform: rotate(90deg); }.ofp-titlebar { grid-template-columns: 1fr 1fr; }.ofp-titlebar > div:nth-child(2) { display: none; }.ofp-route-head { grid-template-columns: 1fr 25px 1fr; }.ofp-route-head > div:nth-child(n+4) { display: none; }
}

@media (max-width: 560px) {
    .procedure-controls { grid-template-columns: 1fr; }
    .procedure-controls > section + section { border-left: 0; border-top: 1px solid var(--pk-line); }
    body { font-size: 13px; }.appbar-actions { gap: 5px; }.language-switch { height: 32px; }.trip-heading { min-height: 71px; }.back-button { flex-basis: 31px; height: 31px; }.airport-pair { grid-template-columns: auto 45px auto; }.airport-pair strong { font-size: 16px; }.route-arrow span { display: none; }.trip-tabs { min-height: 45px; gap: 19px; }.trip-tabs button { min-height: 45px; font-size: 10px; }.workspace-toolbar, .page-heading { flex-direction: column; align-items: stretch; }.toolbar-actions { width: 100%; }.toolbar-actions > button { flex: 1; }.page-heading > .primary-button { width: 100%; }.alert-banner { align-items: flex-start; }.alert-banner > button { display: none; }.metric-grid.four { grid-template-columns: 1fr 1fr; }.metric-card { min-height: 102px; padding: 12px; }.metric-card strong { font-size: 20px; }.metric-card .trend { position: static; margin-top: auto; width: max-content; }.dashboard-grid { gap: 10px; }.route-overview { min-height: auto; }.map-stage { min-height: 280px; }.map-stage svg { height: 245px; }.weather-airports { grid-template-columns: 1fr; }.weather-airports > div { padding: 6px 0; border: 0; border-bottom: 1px solid var(--pk-line-soft); }.wind-row { grid-template-columns: auto 20px 1fr; }.wind-row small { display: none; }.source-footer { flex-direction: column; }.filterbar { flex-wrap: wrap; }.segmented { flex: 1; }.search-field { order: 3; flex-basis: 100%; max-width: none; }.trip-row { grid-template-columns: 1fr 25px; padding: 13px; }.trip-row > span:not(.city-pair):not(.row-chevron) { display: none; }.trip-row .city-pair strong { font-size: 13px; }.route-controls { grid-template-columns: 1fr 1fr; }.route-controls label:nth-child(3) { grid-column: 1/-1; }.route-summary-inline { grid-template-columns: repeat(3,1fr); }.route-summary-inline span { padding-left: 8px; }.add-waypoint { grid-template-columns: 18px 1fr auto; }.add-waypoint select { display: none; }.waypoint-table { min-width: 690px; }.profile-legend { overflow-x: auto; justify-content: flex-start; }.ofp-paper { padding: 13px 10px; overflow-x: auto; }.ofp-paper > * { min-width: 520px; }.ofp-inspector { grid-template-columns: 1fr; }.ofp-summary-grid { grid-template-columns: repeat(2,1fr); }.input-matrix { grid-template-columns: repeat(2,1fr); }.toggle-list { grid-template-columns: 1fr; }.speed-strip strong { font-size: 20px; }.runway-bar small { flex-direction: column; gap: 4px; }.legend-pills { display: none; }.aircraft-cabin { min-height: 385px; padding: 30px 24px 20px; }.cockpit { gap: 45px; margin-bottom: 32px; }.cabin-aisle { gap: 10px 45px; }.seat { min-height: 48px; }.baggage-bays { grid-template-columns: 1fr; }.cabin-panel, .cg-panel { min-height: auto; }.cg-chart { height: 340px; }.fuel-flow { padding: 15px; grid-template-columns: repeat(5,1fr); gap: 4px; overflow-x: auto; }.fuel-flow > i { display: none; }.fuel-flow > div { min-width: 89px; }.folder-summary { grid-template-columns: 1fr; gap: 8px; }.document-card { grid-template-columns: 37px 1fr; }.doc-icon { width: 37px; height: 47px; }.doc-state { grid-column: 2; grid-row: 2; }.update-summary { flex-direction: column; gap: 16px; }.dataset-grid { grid-template-columns: 1fr; }.provenance-flow { grid-template-columns: 1fr; }.provenance-flow > b { transform: rotate(90deg); }.provenance-flow > span:nth-of-type(4) { grid-column: auto; }.settings-rows > label { grid-template-columns: 1fr; padding: 11px 0; gap: 9px; }.settings-rows select, .settings-rows .toggle { justify-self: stretch; }.form-grid.three, .form-grid.four, .form-grid.five, .choice-grid.modes { grid-template-columns: 1fr; }.passenger-editor-head { align-items: flex-start; }.passenger-draft-grid { grid-template-columns: repeat(3,1fr); }.modal-header { min-height: 62px; }.modal-body { padding-inline: 14px; }.modal-footer { padding: 10px 14px max(10px,env(safe-area-inset-bottom)); }.modal-footer button { flex: 1; }.density-row { gap: 5px; }.density-chip { flex: 1; min-width: 39px; }.density-custom { flex-basis: 100%; }.calculated-strip > span:not(.warning-text) { flex: 1; }.step-rail { margin-inline: 20px; }
}

@media (max-width: 560px) {
    .add-waypoint { grid-template-columns: 18px minmax(125px,1fr) 82px auto; }
    .add-waypoint .via-input { display: block; }
}

@media (max-width: 860px) {
    .wb-load-editor { grid-template-columns: repeat(2,1fr); }
    .fuel-input-row { grid-template-columns: 1fr; align-items: stretch; }
}

@media (max-width: 560px) {
    .cabin-aisle .seat-slot:last-child { width: calc(50% - 22px); }
    .wb-load-editor { padding-inline: 12px; gap: 6px; }
    .fuel-input-row { padding-inline: 14px; }
    .density-buttons { overflow-x: auto; }
}

@media (max-width: 860px) {
    .fpl-findings { grid-template-columns: 1fr; }
    .fpl-export-actions { grid-template-columns: 1fr auto auto; }
    .fpl-response-editor { grid-template-columns: 1fr; }
    .fpl-response-editor button { justify-self: start; }
}

@media (max-width: 560px) {
    .fpl-warning { grid-template-columns: 1fr; }
    .fpl-source-strip, .fpl-export-actions { grid-template-columns: 1fr; }
    .fpl-export-actions button { width: 100%; }
    .fpl-response-editor button { width: 100%; }
    .fpl-manual-fallback .fpl-export-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
