/* FlightTrack. Peritus-inspired dark surfaces and cyan accents. */
:root {
    color-scheme: dark;
    --bg: hsl(220 26% 7%);
    --surface: hsl(220 26% 9%);
    --surface-raised: #151d29;
    --surface-hover: #1b2636;
    --sidebar: #101620;
    --text: #f1f5fa;
    --muted: #a3b0c4;
    --subtle: #8191aa;
    --line: #263247;
    --accent: #00bfff;
    --accent-hover: #44d0ff;
    --accent-wash: rgba(0, 191, 255, .09);
    --success: #67ddb1;
    --warning: #f2c475;
    --danger: #ffaaa8;
    --radius: 12px;
    --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select, input[type="file"] { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #154e69; color: #fff; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: middle; }
.icon-sprite { position: absolute; overflow: hidden; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; padding: 12px 18px; background: var(--accent); color: var(--bg); z-index: 100; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.eyebrow { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 11px; }
.btn { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 11px 17px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 650; line-height: 1.4; white-space: nowrap; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #08131d; box-shadow: 0 3px 16px rgba(0, 191, 255, .09); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 5px 22px rgba(0, 191, 255, .15); }
.btn-secondary { background: var(--surface-raised); border-color: var(--line); color: var(--text); }
.btn-secondary:hover { background: var(--surface-hover); border-color: #3c4e66; }
.btn-block { width: 100%; }
.btn-small { min-height: 40px; padding: 9px 14px; font-size: 12px; }
.btn-large { min-height: 48px; padding: 13px 21px; font-size: 14px; }
.btn[disabled] { opacity: .72; cursor: wait; transform: none; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); transition: .16s ease; }
.icon-button:hover { color: var(--text); border-color: #4b607b; background: var(--surface-raised); }
.text-link { background: transparent; color: var(--accent); padding: 0; font-weight: 600; font-size: inherit; }
.text-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.9px; line-height: 1.12; white-space: nowrap; }
.brand-light { font-weight: 450; color: #b9c6d8; }
.brand-symbol { display: grid; place-items: center; color: var(--accent); width: 34px; height: 34px; border: 1px solid rgba(0, 191, 255, .24); border-radius: 8px; background: var(--accent-wash); }
.brand-symbol .icon { width: 22px; height: 22px; stroke-width: 1.5; }
.brand-caption { display: block; font-size: 7px; font-weight: 600; letter-spacing: .21em; color: var(--subtle); margin-top: 8px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 238px; z-index: 30; display: flex; flex-direction: column; padding: 29px 17px 20px; border-right: 1px solid #202b3d; background: var(--sidebar); }
.sidebar-brand-row { display: flex; align-items: center; justify-content: space-between; padding: 0 9px 28px; }
.nav-label { padding: 0 14px; margin: 16px 0 9px; color: var(--subtle); font-size: 9px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.primary-nav, .secondary-nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 11px; position: relative; min-height: 44px; padding: 10px 13px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 500; transition: .15s ease; }
.nav-item .icon { width: 18px; height: 18px; }
.nav-item:hover { color: var(--text); background: #192230; }
.nav-item.is-active { color: var(--accent); background: rgba(0, 191, 255, .09); border-color: rgba(0, 191, 255, .12); }
.nav-item.is-active::before { content: ""; position: absolute; left: -17px; top: 11px; bottom: 11px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.nav-end-icon { margin-left: auto; width: 13px !important; }
.sidebar-note { margin: auto 11px 25px; padding-top: 36px; color: var(--subtle); font-size: 12px; line-height: 1.6; display: flex; gap: 11px; align-items: center; }
.sidebar-note-icon { color: #3b526c; }
.sidebar-note-icon .icon { width: 32px; height: 32px; stroke-width: 1; }
.sidebar-account { border-top: 1px solid var(--line); padding: 18px 10px 0; }
.account-identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.avatar { flex: 0 0 auto; width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid #32435a; background: #1c2b3d; color: #b9daed; font-size: 12px; border-radius: 50%; font-weight: 600; }
.account-identity > div { min-width: 0; }
.account-identity strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; font-size: 12px; font-weight: 600; }
.account-identity div > span { display: block; color: var(--subtle); font-size: 10px; }
.logout-button { margin-top: 14px; padding: 8px 0; display: flex; gap: 10px; align-items: center; background: transparent; color: var(--muted); font-size: 11px; }
.logout-button:hover { color: var(--text); }
.logout-button .icon { width: 16px; height: 16px; }
.workspace-wrap { margin-left: 238px; min-height: 100vh; display: flex; flex-direction: column; }
.workspace-bar { min-height: 71px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid #1d2736; font-size: 11px; color: #c4cede; }
.workspace-breadcrumb { display: flex; align-items: center; gap: 12px; }
.breadcrumb-label, .breadcrumb-divider { color: var(--subtle); }
.workspace-account { display: flex; align-items: center; gap: 8px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.workspace-account .icon { width: 15px; height: 15px; }
.workspace { width: 100%; max-width: 1500px; margin: 0 auto; padding: 34px 38px 30px; flex: 1; min-width: 0; }
.workspace-footer { display: flex; justify-content: space-between; padding: 12px 38px 20px; color: var(--subtle); font-size: 10px; }
.nav-toggle, .sidebar-close { display: none; }
.sidebar-scrim { position: fixed; inset: 0; background: rgba(2, 6, 12, .7); z-index: 25; width: 100%; height: 100%; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.page-title { font-size: 32px; font-weight: 620; letter-spacing: -1.15px; margin-bottom: 9px; }
.title-dot { color: var(--accent); }
.page-description { color: var(--muted); font-size: 12px; line-height: 1.7; }
.stats-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 17px; margin-bottom: 27px; }
.stat-card { min-width: 0; position: relative; padding: 21px 23px 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stat-card-primary { background: linear-gradient(112deg, #142434, #101a28); border-color: #244357; }
.stat-label { display: flex; align-items: center; justify-content: space-between; color: #afbdd0; font-size: 11px; font-weight: 500; }
.stat-icon { color: #7e94b0; }
.stat-card-primary .stat-icon { color: var(--accent); }
.stat-icon .icon { width: 18px; height: 18px; }
.stat-value { font-size: 34px; font-weight: 600; letter-spacing: -1.5px; line-height: 1.2; margin: 14px 0 11px; font-variant-numeric: tabular-nums; }
.stat-value > span { font-size: 13px; color: var(--muted); margin-left: 6px; font-weight: 400; letter-spacing: 0; }
.stat-note { color: var(--subtle); font-size: 10px; position: relative; z-index: 1; }
.stat-trace { position: absolute; right: 22px; bottom: 24px; display: flex; gap: 4px; height: 38px; align-items: flex-end; opacity: .2; pointer-events: none; }
.stat-trace span { display: block; height: 18px; width: 3px; background: var(--accent); }
.stat-trace span:nth-child(3n) { height: 28px; }
.stat-trace span:nth-child(2n) { height: 13px; }
.stat-trace span:nth-last-child(-n+4) { height: 35px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(270px, 1fr); gap: 23px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; min-width: 0; }
.panel-heading { padding: 22px 23px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-heading h2 { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.panel-heading p { font-size: 10px; margin-top: 7px; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 20px; padding: 0 6px; background: #1f2c3e; border: 1px solid #2b3b51; color: #c4d0e0; border-radius: 5px; font-size: 10px; letter-spacing: 0; font-weight: 500; }
.panel-symbol { color: #66809e; }
.table-tools { display: flex; align-items: center; gap: 10px; padding: 0 23px 17px; }
.search-field { position: relative; flex: 1; min-width: 0; }
.search-field > .icon { width: 15px; height: 15px; position: absolute; left: 11px; top: 12px; color: var(--subtle); }
.search-field input { width: 100%; min-width: 0; height: 39px; padding: 9px 10px 9px 34px; color: var(--text); border: 1px solid var(--line); background: #0e151f; border-radius: 7px; font-size: 11px; }
.search-field input::placeholder { color: #8290a7; }
.select-field { max-width: 165px; }
.select-field select { height: 39px; width: 100%; color: #b9c6d7; padding: 7px 26px 7px 10px; border: 1px solid var(--line); background: #131d2a; border-radius: 7px; font-size: 11px; }
.table-scroll { overflow-x: auto; scrollbar-color: #34465e transparent; }
.flight-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
.flight-table caption { text-align: left; }
.flight-table th { padding: 12px 23px; border-top: 1px solid #202c3d; border-bottom: 1px solid #202c3d; background: rgba(20, 30, 43, .55); color: var(--subtle); font-size: 9px; font-weight: 550; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.flight-table td { padding: 17px 23px; border-bottom: 1px solid #1e2938; }
.flight-table tbody tr:last-child td { border-bottom: 0; }
.flight-table tr[data-flight-row] { transition: background .15s ease; }
.flight-table tr[data-flight-row]:hover { background: #141f2d; }
.flight-table .numeric { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-date { color: #a8b7ca; white-space: nowrap; }
.aircraft-cell { display: flex; gap: 10px; align-items: center; }
.aircraft-cell strong { font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.aircraft-icon { display: grid; place-items: center; border: 1px solid #28394f; background: #182536; border-radius: 6px; width: 29px; height: 29px; flex: 0 0 auto; color: #85b5d6; }
.aircraft-icon .icon { width: 16px; height: 16px; }
.duration-pill { color: #d9e4f2; }
.duration-pill > span { color: var(--subtle); font-size: 10px; }
.panel-footer { padding: 15px 23px; border-top: 1px solid #202c3d; display: flex; justify-content: space-between; gap: 12px; font-size: 9px; color: #a9b8cc; }
.dashboard-rail { min-width: 0; display: grid; gap: 19px; }
.document-list { padding: 0 22px; max-height: 420px; overflow-y: auto; scrollbar-color: #34465e transparent; }
.document-item { display: flex; gap: 12px; padding: 17px 0; border-top: 1px solid #243042; }
.document-icon { flex: 0 0 auto; width: 34px; height: 39px; display: grid; place-items: center; border: 1px solid #314158; border-radius: 7px; background: #1a2635; color: #89a8cc; }
.document-icon .icon { width: 18px; height: 18px; }
.document-content { min-width: 0; }
.document-content h3 { font-size: 11px; font-weight: 550; overflow-wrap: anywhere; margin-bottom: 6px; }
.document-content p { font-size: 9px; color: var(--subtle); }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; margin-top: 9px; border: 1px solid transparent; border-radius: 5px; font-size: 8px; line-height: 1.4; white-space: nowrap; }
.status-dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.status-approved { background: rgba(38, 166, 120, .09); border-color: rgba(72, 191, 145, .17); color: var(--success); }
.status-pending { background: rgba(218, 163, 57, .07); border-color: rgba(218, 163, 57, .16); color: var(--warning); }
.panel-action { padding: 14px 22px 21px; }
.panel-action .btn { font-size: 11px; min-height: 40px; }
.quick-note { border: 1px solid #223446; background: #101c29; border-radius: 10px; padding: 19px; display: flex; gap: 10px; }
.quick-note-icon { color: #5eaed0; }
.quick-note-icon .icon { width: 16px; height: 16px; }
.quick-note h2 { font-size: 11px; font-weight: 550; margin: 1px 0 7px; }
.quick-note p { font-size: 10px; color: #9baec4; line-height: 1.8; }
.empty-state { text-align: center; padding: 48px 20px 51px; }
.empty-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: #182636; border: 1px solid #2b3e55; color: #6fb8df; margin-bottom: 17px; }
.empty-icon .icon { width: 25px; height: 25px; }
.empty-state h3 { font-size: 15px; font-weight: 550; margin-bottom: 9px; }
.empty-state p { max-width: 270px; margin: 0 auto 20px; font-size: 11px; color: var(--muted); }
.empty-state.compact { padding: 27px 12px; }
.empty-state.compact h3 { font-size: 12px; }
.empty-state.compact p { font-size: 10px; margin-bottom: 10px; }
.empty-state.compact > .icon { color: var(--subtle); margin-bottom: 12px; }
.page-heading { margin-bottom: 28px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; margin-bottom: 24px; }
.back-link .icon { width: 15px; height: 15px; }
.back-link:hover { color: var(--accent); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 25px; max-width: 1040px; align-items: start; }
.form-card { padding: 29px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.section-heading { font-size: 16px; font-weight: 600; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-stack { display: grid; gap: 22px; margin-top: 25px; }
.form-field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.field-label { font-size: 12px; font-weight: 550; color: #d7e1ef; }
.form-field input:not([type="checkbox"]):not([type="file"]), .form-field select, .form-field textarea { width: 100%; min-width: 0; border: 1px solid #354158; border-radius: 7px; background: #0e151f; color: var(--text); padding: 11px 12px; min-height: 45px; line-height: 1.5; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 191, 255, .07); }
.form-field input::placeholder { color: var(--subtle); }
.form-field input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 1000px #162234 inset; caret-color: var(--text); }
.field-help { color: var(--muted); font-size: 10px; line-height: 1.65; }
.field-help ul { margin: 1px 0 0; padding-left: 16px; }
.field-help li { padding: 2px 0; }
.field-errors { color: var(--danger); font-size: 11px; margin: 0; padding: 0; list-style: none; }
.has-error input:not([type="checkbox"]), .has-error select { border-color: #a0555a !important; }
.error-summary { border: 1px solid #79494e; border-radius: 8px; padding: 13px 15px; background: #2a1b24; color: #ffc2c2; font-size: 12px; }
.error-summary p + p { margin-top: 7px; }
.form-actions { display: flex; gap: 10px; padding-top: 5px; }
.form-aside { min-width: 0; }
.aside-card { padding: 26px; background: #111b28; border: 1px solid #26364c; border-radius: var(--radius); }
.aside-icon { display: inline-grid; place-items: center; width: 39px; height: 39px; color: var(--accent); background: rgba(0, 191, 255, .08); border: 1px solid #24495b; border-radius: 9px; margin-bottom: 17px; }
.aside-title { font-size: 15px; font-weight: 550; margin-bottom: 9px; }
.aside-copy { color: var(--muted); font-size: 11px; line-height: 1.8; }
.detail-list { display: grid; gap: 17px; margin: 24px 0 0; }
.detail-item dt { font-size: 11px; color: #c4d4e7; font-weight: 600; margin-bottom: 4px; }
.detail-item dd { font-size: 11px; color: var(--muted); line-height: 1.75; margin: 0; }
.upload-zone { border: 1px dashed #3b5572; border-radius: 9px; background: #111d2b; padding: 24px 20px 18px; text-align: center; }
.upload-zone > .icon { color: var(--accent); width: 27px; height: 27px; margin-bottom: 13px; }
.upload-title { font-size: 12px; font-weight: 550; margin-bottom: 5px; }
.upload-hint { font-size: 10px; color: var(--muted); }
.file-input { margin-top: 18px; min-width: 0; }
.file-input input[type="file"] { width: 100%; max-width: 100%; color: var(--muted); font-size: 11px; border-radius: 5px; }
.file-input input[type="file"]::file-selector-button { border: 1px solid #3a536d; border-radius: 5px; color: #d5e9f8; background: #1b3043; padding: 8px 11px; margin-right: 10px; cursor: pointer; font: inherit; }
.file-feedback { margin-top: 10px; font-size: 10px; color: var(--accent); overflow-wrap: anywhere; }
.file-feedback:empty { display: none; }
.password-wrap { position: relative; }
.form-field .password-wrap input { padding-right: 68px !important; }
.password-toggle { position: absolute; right: 4px; top: 4px; bottom: 4px; min-width: 54px; border-radius: 5px; background: transparent; color: #a5bdd2; font-size: 10px; }
.password-toggle:hover { background: #203147; color: var(--text); }
.public-shell { min-height: 100vh; display: flex; flex-direction: column; }
.public-header { width: min(1200px, 100%); margin: 0 auto; min-height: 95px; padding: 21px 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.public-nav { display: flex; align-items: center; gap: 26px; font-size: 12px; }
.public-login { color: var(--muted); }
.public-login:hover { color: var(--accent); }
.public-main { width: min(1200px, 100%); margin: 0 auto; padding: 10px 38px 40px; flex: 1; }
.public-footer { width: min(1200px, 100%); margin: 0 auto; padding: 23px 38px; display: flex; justify-content: space-between; color: var(--subtle); font-size: 10px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 60px; padding: 57px 0 65px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 550; letter-spacing: .07em; color: #a1d7ed; padding: 7px 10px; border: 1px solid #274053; border-radius: 6px; background: #111e2a; margin-bottom: 25px; }
.hero-kicker > span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px #009bcc80; }
.hero h1 { font-size: clamp(37px, 4.4vw, 57px); font-weight: 600; letter-spacing: -2.4px; line-height: 1.12; margin-bottom: 23px; }
.hero h1 > span { color: #8aadc9; }
.hero-copy > p { max-width: 410px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.hero-actions { display: flex; gap: 11px; margin-top: 29px; flex-wrap: wrap; }
.hero-footnote { display: flex; gap: 7px; align-items: center; margin-top: 24px; font-size: 10px; color: var(--subtle); }
.hero-footnote .icon { width: 13px; height: 13px; color: #71bba9; }
.hero-art { border: 1px solid #2a3d53; border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse at 50% 50%, #142c3e 0, #111c2a 50%, #101825 80%); box-shadow: 0 25px 75px rgba(0,0,0,.18); }
.art-topline { padding: 20px; display: flex; justify-content: space-between; align-items: center; color: #7894b0; font-size: 6px; font-weight: 500; letter-spacing: .13em; }
.art-topline > span:first-child { display: flex; align-items: center; gap: 6px; color: #bad4e8; }
.art-topline i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.flight-orbit { position: relative; aspect-ratio: 440 / 310; overflow: hidden; }
.orbital-grid { width: 100%; height: 100%; stroke: #335c7a; stroke-width: .7; opacity: .7; }
.orbital-grid .orbit-route { stroke: #00bfff; stroke-width: 1.7; stroke-dasharray: 4 4; opacity: .8; }
.orbital-grid .orbit-point { fill: #00bfff; stroke: #79ddff; stroke-width: 2; }
.hero-drone { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg); display: grid; place-items: center; width: 101px; height: 101px; background: #101e2d; border: 1px solid #315574; box-shadow: 0 0 0 13px #0f233680, 0 8px 40px #0009; border-radius: 22px; }
.hero-drone .icon { width: 64px; height: 64px; color: #75d2f3; stroke-width: .85; }
.orbit-label { position: absolute; font-size: 6px; letter-spacing: .12em; color: #86aac5; }
.label-a { left: 17px; bottom: 28px; }
.label-b { right: 20px; top: 34px; }
.art-logbook { margin: 0 16px 16px; padding: 16px; display: flex; align-items: center; gap: 12px; background: #101b29; border: 1px solid #29435a; border-radius: 9px; }
.art-logbook-icon { color: var(--accent); }
.art-logbook strong { display: block; font-size: 11px; font-weight: 550; }
.art-logbook div > span { display: block; font-size: 8px; color: var(--muted); margin-top: 4px; }
.art-arrow { margin-left: auto; color: #718da7; width: 15px; height: 15px; }
.home-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 33px; border-top: 1px solid var(--line); padding: 37px 0 24px; }
.home-features article { position: relative; padding-right: 25px; }
.home-features article > .icon { color: var(--accent); width: 23px; height: 23px; margin-bottom: 17px; }
.feature-number { position: absolute; right: 15px; top: 0; font-size: 10px; color: #627b98; }
.home-features h2 { font-size: 14px; font-weight: 550; margin-bottom: 10px; }
.home-features p { font-size: 11px; color: var(--muted); line-height: 1.85; max-width: 280px; }
.auth-layout { width: min(1020px, 100%); margin: 42px auto 35px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--surface); }
.auth-story { position: relative; padding: 51px 43px; background: linear-gradient(135deg, #132535, #111b29 70%); border-right: 1px solid var(--line); overflow: hidden; }
.auth-story::after { content: ""; position: absolute; width: 320px; height: 320px; right: -155px; bottom: -110px; border: 1px solid #31516b; border-radius: 50%; box-shadow: 0 0 0 36px #18364e22, 0 0 0 72px #18364e22, 0 0 0 108px #18364e15; pointer-events: none; }
.auth-story-title { position: relative; z-index: 1; font-size: 33px; letter-spacing: -.9px; font-weight: 550; margin: 23px 0 18px; max-width: 310px; }
.auth-story-copy { color: var(--muted); font-size: 12px; line-height: 1.85; max-width: 290px; position: relative; z-index: 1; }
.auth-story-list { display: grid; gap: 19px; margin-top: 36px; position: relative; z-index: 1; }
.auth-story-item { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #c3d1e2; }
.auth-story-mark { width: 31px; height: 31px; display: inline-grid; place-items: center; border: 1px solid #314c64; background: #17314855; border-radius: 7px; color: #64c7ec; flex: 0 0 auto; }
.auth-story-mark .icon { width: 16px; height: 16px; }
.auth-panel { padding: 44px 42px; min-width: 0; }
.auth-heading { font-size: 25px; letter-spacing: -.7px; font-weight: 600; margin-bottom: 11px; }
.auth-panel > .muted { font-size: 11px; }
.auth-panel .form-stack { margin-top: 28px; gap: 19px; }
.auth-footer { font-size: 11px; color: var(--muted); text-align: center; margin-top: 26px; }
.message-list { display: grid; gap: 10px; margin-bottom: 22px; }
.message { padding: 13px 17px; border: 1px solid #31556d; background: #132736; border-radius: 8px; font-size: 12px; }
.message.error { border-color: #79494e; background: #2a1b24; color: #ffc2c2; }
.spinner { width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Portal pages share the same controls, spacing, and readable type scale. */
.nav-item { font-size: 13px; }
.nav-label { font-size: 10px; }
.nav-count { display: inline-grid; place-items: center; margin-left: auto; min-width: 19px; height: 19px; border-radius: 5px; background: #004e6b; color: #a5e7ff; font-size: 10px; font-weight: 650; padding: 0 4px; }
.page-description { font-size: 13px; }
.stat-label { font-size: 12px; }
.stat-label > .icon { color: #7498b8; width: 19px; height: 19px; }
.stat-card-primary .stat-label > .icon { color: var(--accent); }
.stat-note { font-size: 11px; }
.panel-heading h2 { font-size: 16px; }
.panel-heading p { font-size: 11px; }
.flight-table, .aircraft-cell strong { font-size: 12px; }
.flight-table th { font-size: 10px; }
.panel-footer { font-size: 10px; }
.document-content h3 { font-size: 13px; }
.document-content p { font-size: 11px; }
.status-badge { font-size: 10px; }
.field-label { font-size: 13px; }
.field-help, .aside-copy, .detail-item dt, .detail-item dd { font-size: 12px; }
.auth-panel > .muted, .auth-story-item, .auth-story-copy, .auth-footer { font-size: 12px; }
.section-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 30px 0 17px; }
.section-intro h2 { font-size: 16px; font-weight: 600; }
.section-intro p { color: var(--subtle); font-size: 12px; }
.launch-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.launch-card { grid-column: span 2; display: flex; flex-direction: column; position: relative; gap: 20px; min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: background .18s, border-color .18s, transform .18s; }
.launch-card:hover { background: #132232; border-color: #2e6b88; transform: translateY(-2px); }
.launch-card-main { grid-column: span 3; display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 17px; row-gap: 23px; background: #121e2c; }
.launch-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--accent); background: #102e40; border: 1px solid #24506a; border-radius: 10px; }
.launch-icon .icon { width: 21px; height: 21px; }
.launch-content { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.launch-content > strong { font-size: 17px; font-weight: 550; letter-spacing: -.35px; line-height: 1.45; }
.launch-content > span { color: var(--muted); font-size: 12px; line-height: 1.8; }
.launch-action { margin-top: auto; color: #86cfe9; font-size: 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 19px; border-top: 1px solid #243549; }
.launch-action .icon { width: 16px; height: 16px; }
.launch-card-main .launch-action { grid-column: 2; margin-top: 0; padding-top: 13px; }
.tile-count { display: inline-block; margin-left: 8px; font-size: 9px; padding: 3px 6px; background: #133f53; border: 1px solid #24596d; color: #8be0ff; border-radius: 5px; letter-spacing: 0; vertical-align: middle; }
.home-bottom-note { display: flex; align-items: flex-start; gap: 10px; color: var(--subtle); padding: 26px 3px 10px; font-size: 11px; }
.home-bottom-note .icon { width: 16px; height: 16px; margin-top: 2px; color: #6792b2; }
.page-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-actions form, .record-actions form { margin: 0; }
.stats-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.planning-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr); align-items: start; gap: 24px; }
.planning-layout .form-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.planning-layout .form-stack > * { grid-column: 1 / -1; }
.planning-layout .form-stack > [data-field-name="date"], .planning-layout .form-stack > [data-field-name="time"] { grid-column: auto; }
.planning-layout .form-stack > [data-field-name="latitude"], .planning-layout .form-stack > [data-field-name="longitude"] { grid-column: auto; }
.planning-layout textarea { min-height: 100px; resize: vertical; }
.record-list { display: grid; gap: 16px; }
.panel > .record-list { padding: 0 20px 20px; }
.record-card, .credential-card, .notification-card { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.record-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.record-title { font-size: 15px; line-height: 1.5; font-weight: 550; overflow-wrap: anywhere; }
.record-heading .icon { color: #6ab7dd; }
.record-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 16px; margin-top: 17px; border-top: 1px solid var(--line); }
.record-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 17px; color: var(--muted); font-size: 12px; }
.record-meta .icon { width: 14px; height: 14px; }
.record-notes { color: #aebcd0; font-size: 12px; line-height: 1.8; margin-top: 15px; overflow-wrap: anywhere; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 18px 0 0; }
.detail-grid dt { color: var(--subtle); font-size: 10px; margin-bottom: 4px; }
.detail-grid dd { color: #d3dfed; font-size: 12px; margin: 0; overflow-wrap: anywhere; }
.notification-list { display: grid; gap: 15px; max-width: 1000px; }
.panel > .notification-list { padding: 0 23px 23px; }
.notification-card { padding: 24px; }
.notification-card.is-unread { border-left: 3px solid var(--accent); background: #111e2c; padding-left: 22px; }
.notification-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; color: var(--subtle); font-size: 11px; }
.notification-body { color: #bfccdd; line-height: 1.9; font-size: 13px; margin: 15px 0; overflow-wrap: anywhere; }
.credentials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.credential-card .document-icon { width: 39px; height: 44px; }
.credentials-grid .credential-card { padding: 0; }
.credential-card .record-card { padding: 0 23px 23px; background: transparent; border: 0; border-radius: 0; }
.confirm-card { max-width: 650px; margin: 12px auto 0; padding: 32px; background: var(--surface); border: 1px solid #50333e; border-radius: 13px; }
.confirm-card .page-title { font-size: 27px; }
.danger-callout { background: #281b25; color: #f1b6bb; border: 1px solid #61404b; border-radius: 8px; padding: 14px 16px; font-size: 12px; line-height: 1.8; margin: 22px 0; }
.btn-danger { background: #c34652; border-color: #d45761; color: white; }
.btn-danger:hover { background: #d95260; border-color: #e16f7a; }
.btn-quiet-danger { background: transparent; color: #ef9da5; border-color: #68434f; min-height: 34px; padding: 6px 10px; font-size: 11px; }
.btn-quiet-danger:hover { background: #321e2a; border-color: #9c5969; }
.btn-quiet-danger .icon { width: 14px; height: 14px; }
.readonly-value { padding: 11px 13px; background: #141e2c; border: 1px solid #2b394d; border-radius: 7px; color: #aebed2; overflow-wrap: anywhere; }
@media (min-width: 1550px) { .workspace { padding-top: 43px; } .dashboard-grid { grid-template-columns: minmax(0, 1.9fr) minmax(310px, 1fr); } }
@media (max-width: 1180px) { .workspace, .workspace-bar { padding-left: 26px; padding-right: 26px; } .workspace-footer { padding-left: 26px; padding-right: 26px; } .dashboard-grid { grid-template-columns: minmax(0, 1fr); } .dashboard-rail { grid-template-columns: 1.5fr 1fr; align-items: start; } .stat-trace { display: none; } .form-layout { grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); gap: 19px; } .form-card, .aside-card { padding: 23px; } .hero { gap: 35px; } }
@media (max-width: 900px) { .sidebar { transform: translateX(-100%); transition: transform .2s ease; width: 254px; } .nav-open .sidebar { transform: translateX(0); } .nav-open { overflow: hidden; } .workspace-wrap { margin-left: 0; } .nav-toggle, .sidebar-close { display: inline-flex; } .sidebar-close { width: 29px; height: 29px; border: 0; } .sidebar-brand-row { padding-right: 0; } .workspace-bar { min-height: 65px; } .hero { padding-top: 34px; gap: 25px; } .hero h1 { font-size: 42px; } .auth-panel { padding: 35px 29px; } .auth-story { padding: 40px 29px; } .auth-story-title { font-size: 29px; } }
@media (max-width: 650px) { .workspace { padding: 25px 17px; } .workspace-bar { padding: 0 17px; } .workspace-account { max-width: 110px; font-size: 10px; } .workspace-breadcrumb { gap: 9px; font-size: 10px; } .breadcrumb-label, .breadcrumb-divider { display: none; } .workspace-footer { padding: 15px 17px 22px; font-size: 9px; } .dashboard-heading { align-items: flex-start; margin-bottom: 24px; flex-direction: column; gap: 16px; } .dashboard-heading > .btn { width: 100%; } .page-title { font-size: 29px; } .page-description { font-size: 11px; } .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 21px; } .stat-card-primary { grid-column: 1 / -1; } .stat-card { padding: 17px 18px; } .stat-card-primary .stat-value { margin-top: 10px; margin-bottom: 8px; } .stat-trace { display: flex; height: 50px; bottom: 25px; right: 25px; } .stat-value { font-size: 30px; } .stat-label { font-size: 10px; } .stat-note { font-size: 9px; } .dashboard-rail { grid-template-columns: 1fr; } .panel-heading { padding: 20px 18px 17px; } .panel-heading h2 { font-size: 14px; } .table-tools { padding: 0 18px 17px; gap: 8px; flex-wrap: wrap; } .search-field { min-width: 150px; } .select-field { max-width: 140px; } .flight-table th, .flight-table td { padding-left: 14px; padding-right: 14px; } .flight-table th { font-size: 8px; } .flight-table td { font-size: 10px; } .aircraft-cell { gap: 7px; } .aircraft-cell strong { font-size: 10px; } .aircraft-icon { display: none; } .table-date { white-space: normal; } .panel-footer { padding: 14px; font-size: 9px; flex-wrap: wrap; gap: 6px; } .document-list { padding: 0 18px; } .document-content h3 { font-size: 12px; } .document-content p { font-size: 10px; } .status-badge { font-size: 9px; } .form-layout { grid-template-columns: 1fr; } .form-card, .aside-card { padding: 23px 20px; } .page-heading { margin-bottom: 23px; } .form-actions .btn { flex: 1; } .public-header { min-height: 79px; padding: 19px 20px; } .brand { font-size: 19px; gap: 8px; } .brand-symbol { width: 31px; height: 31px; } .public-nav { gap: 15px; } .public-login { font-size: 11px; } .public-nav .btn-small { font-size: 10px; min-height: 36px; padding: 8px 10px; } .public-nav .btn .icon { display: none; } .public-main { padding: 5px 20px 24px; } .public-footer { padding: 20px; font-size: 9px; gap: 12px; } .hero { grid-template-columns: 1fr; gap: 35px; padding: 34px 0 39px; } .hero h1 { font-size: 45px; letter-spacing: -1.8px; } .hero-copy > p { font-size: 12px; } .hero-art { max-width: 460px; width: 100%; margin: 0 auto; } .hero-actions .btn { font-size: 12px; padding: 12px 16px; } .home-features { grid-template-columns: 1fr; gap: 26px; padding-top: 28px; } .home-features article { padding-bottom: 24px; border-bottom: 1px solid #202c3d; } .home-features article:last-child { padding-bottom: 0; border: 0; } .home-features p { max-width: 340px; } .auth-layout { grid-template-columns: 1fr; margin: 20px 0; } .auth-story { padding: 27px 25px; border: 0; border-bottom: 1px solid var(--line); } .auth-story-title { font-size: 26px; max-width: none; margin: 12px 0; } .auth-story-copy { max-width: none; font-size: 11px; } .auth-story-list { display: none; } .auth-panel { padding: 28px 25px; } .auth-heading { font-size: 23px; } }
@media (max-width: 1180px) { .launch-grid { gap: 14px; } .launch-card { padding: 21px; } .launch-content > strong { font-size: 16px; } .planning-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 650px) { .section-intro { display: block; margin-top: 24px; } .section-intro p { margin-top: 6px; font-size: 11px; } .launch-grid { grid-template-columns: 1fr; gap: 13px; } .launch-card, .launch-card-main { grid-column: auto; display: grid; grid-template-columns: 37px minmax(0, 1fr); gap: 13px; padding: 21px; } .launch-icon { width: 37px; height: 37px; } .launch-content { gap: 7px; } .launch-content > strong { font-size: 16px; } .launch-content > span { font-size: 12px; } .launch-action, .launch-card-main .launch-action { grid-column: 2; padding-top: 12px; margin-top: 1px; } .tile-count { font-size: 9px; } .home-bottom-note { font-size: 11px; } .credentials-grid { grid-template-columns: 1fr; gap: 15px; } .record-card, .credential-card, .notification-card { padding: 20px; } .notification-card.is-unread { padding-left: 18px; } .planning-layout { gap: 20px; } .confirm-card { padding: 25px 21px; } .page-actions { width: 100%; } .page-actions .btn { flex: 1; } .stats-grid-two .stat-card-primary { grid-column: auto; } .flight-table .btn-quiet-danger { font-size: 9px; padding: 6px; } .flight-table .btn-quiet-danger .icon { display: none; } .flight-table th, .flight-table td { padding-left: 10px; padding-right: 10px; } .detail-grid { gap: 15px 12px; } }
@media (max-width: 650px) {
    .page-description { font-size: 13px; }
    .stat-label { font-size: 11px; }
    .stat-note, .panel-footer, .status-badge { font-size: 11px; }
    .launch-content > span { font-size: 13px; }
    .form-field input:not([type="checkbox"]):not([type="file"]), .form-field select, .form-field textarea { font-size: 16px; }
    .flight-table, .flight-table tbody { display: block; width: 100%; }
    .flight-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .flight-table tr[data-flight-row] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 15px; align-items: center; padding: 17px 18px; border-top: 1px solid var(--line); }
    .flight-table tr[data-flight-row] td { display: block; padding: 0; border: 0; font-size: 12px; }
    .flight-table tr[data-flight-row] td:nth-child(1) { grid-column: 1; grid-row: 2; color: var(--muted); }
    .flight-table tr[data-flight-row] td:nth-child(2) { grid-column: 1; grid-row: 1; }
    .flight-table tr[data-flight-row] td:nth-child(3) { grid-column: 2; grid-row: 2; }
    .flight-table tr[data-flight-row] td:nth-child(4) { grid-column: 2; grid-row: 1; }
    .flight-table .aircraft-cell strong { font-size: 13px; overflow-wrap: anywhere; }
    .flight-table .btn-quiet-danger { font-size: 11px; min-height: 40px; padding: 9px 12px; }
    .flight-table tbody > tr:not([data-flight-row]), .flight-table tbody > tr:not([data-flight-row]) > td { display: block; width: 100%; }
}
@media (max-width: 370px) { .public-header { padding: 17px 14px; } .public-nav { gap: 10px; } .public-nav .public-login { display: none; } .stat-card { padding: 15px 13px; } .hero h1 { font-size: 39px; letter-spacing: -1px; } .workspace-account { max-width: 88px; } }
/* Shared pilot and administration pages. */
.sidebar { max-height: 100dvh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2d3b50 var(--sidebar); }
.sidebar > * { flex-shrink: 0; }
.sidebar-note { padding-top: 27px; margin-top: auto; margin-bottom: 21px; }
.sidebar-brand-row { padding-bottom: 17px; }
.workspace-switch { margin-top: 18px; padding-top: 11px; border-top: 1px solid var(--line); }
.workspace-switch .nav-item { font-size: 11px; }
.status-negative { color: #ffb6bb; background: #2c1d28; border-color: #683b4a; }
.status-neutral { color: #becbda; background: #202a37; border-color: #3a485a; }
.status-info { color: #8ee4ff; background: #103246; border-color: #245775; }
.filter-form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 15px; padding: 21px 23px; border-bottom: 1px solid var(--line); }
.filter-form .form-field { flex: 1 1 160px; min-width: 140px; }
.filter-form .form-field input, .filter-form .form-field select { min-height: 43px; }
.filter-actions { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.portal-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.report-currency-table { min-width: 1250px; }
.portal-table th { white-space: nowrap; }
.portal-table td { vertical-align: top; font-size: 12px; }
.portal-table td .muted, .portal-table td small { display: block; margin-top: 5px; font-size: 11px; }
.portal-table td .btn { white-space: nowrap; }
.portal-table .row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.portal-table .status-badge { white-space: nowrap; }
.flight-row-actions { display: inline-flex; align-items: center; gap: 8px; }
.flight-row-actions .btn { min-height: 34px; padding: 7px 10px; font-size: 11px; }
.form-field input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); vertical-align: middle; margin-right: 8px; }
.form-field select[multiple], .form-field > div[id$="recipients"], .form-field > div[id$="target_pilots"] { min-height: 140px; max-height: 250px; overflow: auto; padding: 13px; border: 1px solid #354158; border-radius: 7px; background: #0e151f; }
.form-field > div[id$="recipients"] label, .form-field > div[id$="target_pilots"] label { display: flex; align-items: center; min-height: 42px; color: #c2d0e1; }
.assignment-fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.assignment-fieldset legend { margin-bottom: 11px; }
.assignment-fieldset [data-assignment-list] { display: grid; gap: 8px; max-height: 430px; overflow-y: auto; padding: 3px; }
.assignment-choice { display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; background: #111b28; color: #cad8e8; font-size: 13px; cursor: pointer; }
.assignment-choice:has(input:checked) { border-color: #237399; background: #102b3d; }
.assignment-choice input { flex: 0 0 auto; }
.assignment-choice span { overflow-wrap: anywhere; }
.assignment-choice[hidden] { display: none; }
.company-caption { color: #94a9be; font-size: 11px; line-height: 1.6; margin: 0 0 14px; overflow-wrap: anywhere; }
.join-key-panel { background: #102b3b; border: 1px solid #287493; border-radius: 10px; padding: 20px; margin: 20px 0; }
.join-key-panel code, .company-code { display: inline-block; font: 13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace; color: #c8f1ff; overflow-wrap: anywhere; }
.planning-checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-bottom: 26px; }
.check-link { display: flex; align-items: center; gap: 17px; padding: 21px; background: #111e2c; border: 1px solid var(--line); border-radius: var(--radius); }
.check-link > span:nth-child(2) { flex: 1; min-width: 0; }
.check-link strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 4px; }
.check-link span span { font-size: 12px; color: var(--muted); }
.check-link > .icon { color: #6cb8dc; width: 17px; }
.check-link:hover { border-color: #2d738d; background: #142739; }
.stats-grid-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.stats-grid-six { grid-template-columns: repeat(3,minmax(0,1fr)); }
.stat-value-text { font-size: 22px; line-height: 1.35; letter-spacing: -.45px; overflow-wrap: anywhere; }
.admin-launch-grid .launch-card { min-height: 205px; grid-column: span 3; display: grid; grid-template-columns: 42px minmax(0,1fr); column-gap: 17px; row-gap: 23px; }
.admin-launch-grid .launch-action { grid-column: 2; margin-top: 0; padding-top: 13px; }
.panel-body { padding: 0 23px 23px; }
.section-stack { display: grid; gap: 23px; }
.stack-gap { margin-top: 24px; }
.split-panels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px; margin-top: 25px; }
.data-note { padding: 15px 18px; font-size: 12px; line-height: 1.8; color: var(--muted); background: #101e2b; border: 1px solid #294359; border-radius: 9px; margin: 18px 0; }
.source-line { color: var(--subtle); font-size: 11px; margin-top: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.source-line a { color: #85d5f5; text-decoration: underline; text-underline-offset: 3px; }
.location-search-tools { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 7px; }
.location-search-tools button { flex-shrink: 0; }
.location-search-tools input { flex: 1; min-width: 130px; }
.location-search-tools select { flex-basis: 100%; min-width: 0; }
.location-feedback { flex-basis: 100%; font-size: 12px; color: var(--muted); line-height: 1.7; }
.airspace-map { min-height: 430px; width: 100%; background: #142232; border: 1px solid var(--line); border-radius: 10px; z-index: 0; }
.airspace-map .leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,.95); color: #263448; }
.airspace-map .leaflet-control-attribution a { color: #175882; }
.airspace-map .leaflet-popup-content { color: #21354b; font: 12px/1.6 var(--font); }
.airspace-map .leaflet-control-layers { color: #23334a; }
.map-fallback { padding: 25px; color: var(--muted); }
.map-legend { display: flex; gap: 12px 20px; flex-wrap: wrap; margin-top: 13px; color: var(--muted); font-size: 11px; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.weather-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.weather-metric { padding: 18px; background: #121e2b; border: 1px solid var(--line); border-radius: 9px; }
.weather-metric dt { color: var(--muted); font-size: 12px; }
.weather-metric dd { margin: 8px 0 0; font-size: 23px; color: var(--text); font-variant-numeric: tabular-nums; }
.review-timeline { display: grid; gap: 17px; padding: 0; list-style: none; }
.review-timeline li { padding: 0 0 17px 18px; border-left: 2px solid #2f4e68; border-bottom: 1px solid var(--line); }
.review-timeline p { color: var(--muted); font-size: 12px; margin-top: 8px; overflow-wrap: anywhere; }
.print-only { display: none; }
@media (max-width: 1000px) { .stats-grid-four { grid-template-columns: repeat(2,minmax(0,1fr)); } .split-panels { grid-template-columns: 1fr; } }
@media (max-width: 650px) {
    .sidebar-note { display: none; }
    .sidebar-account { margin-top: 25px; }
    .sidebar { padding-top: 24px; }
    .stats-grid-four .stat-card-primary, .stats-grid-six .stat-card-primary { grid-column: auto; }
    .stats-grid-six { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-launch-grid .launch-card { grid-column: auto; grid-template-columns: 37px minmax(0,1fr); min-height: 0; }
    .planning-checks { grid-template-columns: 1fr; gap: 12px; }
    .check-link { padding: 17px; }
    .filter-form { padding: 18px; gap: 12px; }
    .filter-actions { width: 100%; }
    .filter-actions .btn { flex: 1; }
    .portal-table { display: table; min-width: 650px; }
    .portal-table.report-currency-table { min-width: 1250px; }
    .portal-table thead { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; display: table-header-group; }
    .portal-table tbody { display: table-row-group; }
    .portal-table tbody > tr:not([data-flight-row]) { display: table-row; }
    .portal-table tbody > tr:not([data-flight-row]) > td { display: table-cell; width: auto; }
    .portal-table th { font-size: 10px; padding: 13px 16px; }
    .portal-table td { font-size: 12px; padding: 15px 16px; }
    .flight-row-actions .btn { min-height: 40px; padding: 9px 10px; }
    .weather-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .airspace-map { min-height: 350px; }
}
@media print {
    :root { color-scheme: light; }
    body { color: #182638; background: white; }
    .sidebar,.sidebar-scrim,.workspace-bar,.workspace-footer,.page-actions,.filter-form,.btn,.print-hide { display: none !important; }
    .workspace-wrap { margin: 0; display: block; }
    .workspace { padding: 0; max-width: none; }
    .page-title,.panel-heading h2,.stat-value { color: #182638; }
    .page-description,.stat-note,.stat-label,.muted { color: #445365; }
    .panel,.stat-card { background: white; border: 1px solid #b7c2cf; box-shadow: none; }
    .table-scroll { overflow: visible; }
    .portal-table, .portal-table.report-currency-table { min-width: 0; font-size: 10px; }
    .portal-table th,.portal-table td { color: #182638; background: white; border-bottom: 1px solid #b7c2cf; padding: 8px; }
    .print-only { display: block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
