:root,
html[data-theme="light"] { --ink:#172227; --muted:#657176; --paper:#f5f4ef; --card:#fff; --accent:#e76643; --line:#dce0dc; --dark:#173c3e; --brand-hover:#235457; --field:#fff; --field-border:#b8c1bd; --focus:#f6cfc3; --subtle:#f3f5f2; --subtle-hover:#e7ebe7; --notice:#fff4df; --notice-text:#695127; --guidance:#e8f1ed; --guidance-line:#c9d9d2; --warning:#8b4b12; --error:#a53222; --danger:#a53222; --danger-hover:#7e2418; --summary-text:#dce9e4; --summary-strong:#fff; --backdrop:#10252588; --shadow:#18262866; }
html[data-theme="dark"] { --ink:#edf3f0; --muted:#aab7b3; --paper:#101617; --card:#182123; --accent:#ff8b69; --line:#344244; --dark:#24575a; --brand-hover:#306d70; --field:#11191a; --field-border:#52615f; --focus:#7e4537; --subtle:#222d2e; --subtle-hover:#2b3839; --notice:#3a3020; --notice-text:#f1d49b; --guidance:#1c302d; --guidance-line:#36514c; --warning:#f3b56f; --error:#ff9a82; --danger:#b94b3c; --danger-hover:#d35b4b; --summary-text:#dce9e4; --summary-strong:#fff; --backdrop:#050909bb; --shadow:#0009; }
@media (prefers-color-scheme:dark) { html[data-theme="system"] { --ink:#edf3f0; --muted:#aab7b3; --paper:#101617; --card:#182123; --accent:#ff8b69; --line:#344244; --dark:#24575a; --brand-hover:#306d70; --field:#11191a; --field-border:#52615f; --focus:#7e4537; --subtle:#222d2e; --subtle-hover:#2b3839; --notice:#3a3020; --notice-text:#f1d49b; --guidance:#1c302d; --guidance-line:#36514c; --warning:#f3b56f; --error:#ff9a82; --danger:#b94b3c; --danger-hover:#d35b4b; --summary-text:#dce9e4; --summary-strong:#fff; --backdrop:#050909bb; --shadow:#0009; } }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.environment-banner { background:var(--notice); border-bottom:2px solid var(--warning); color:var(--notice-text); font-size:.78rem; font-weight:850; letter-spacing:.08em; padding:9px 16px; text-align:center; }
button,input,textarea,select { font:inherit; }
[hidden] { display:none !important; }
.site-header, main { width:min(1050px, calc(100% - 32px)); margin:auto; }
.site-header { display:flex; justify-content:space-between; gap:24px; align-items:center; padding:56px 0 36px; }
h1,h2,h3,p { margin:0; } h1 { font-size:clamp(2.4rem,6vw,4.8rem); letter-spacing:-.07em; line-height:.95; } h2 { font-size:1.35rem; letter-spacing:-.03em; }
.eyebrow { color:var(--accent); font-size:.72rem; font-weight:800; letter-spacing:.14em; margin-bottom:10px; } .intro { color:var(--muted); margin-top:14px; }
.button { border:0; border-radius:8px; cursor:pointer; font-weight:750; padding:11px 16px; } .primary { color:#fff; background:var(--dark); } .primary:hover { background:var(--brand-hover); } .secondary { color:var(--ink); background:transparent; border:1px solid var(--field-border); } .secondary:hover { background:var(--subtle-hover); } .danger { background:var(--danger); color:#fff; } .danger:hover { background:var(--danger-hover); }
.button:disabled { cursor:wait; opacity:.65; }
.account-actions { align-items:center; display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; } .account-actions span { display:block; max-width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.auth-view { padding:10px 0 70px; } .auth-card { background:var(--card); border:1px solid var(--line); border-radius:14px; margin:auto; max-width:470px; padding:30px; } .auth-card h2 { font-size:1.8rem; } .auth-intro { color:var(--muted); line-height:1.5; margin:9px 0 22px; } .auth-card form { display:grid; gap:15px; } .auth-card form .button { margin-top:4px; } .auth-links { display:flex; justify-content:space-between; gap:12px; margin-top:14px; } .input-hint { color:var(--muted); font-size:.78rem; font-weight:500; line-height:1.4; } .status-message { color:var(--muted); font-size:.88rem; line-height:1.45; min-height:1.3em; margin-top:14px; } .status-message.error { color:var(--error); } .pilot-note { background:var(--notice); border-radius:7px; color:var(--notice-text); font-size:.78rem; line-height:1.45; margin-top:18px; padding:10px; } .legal-link { font-size:.82rem; margin-top:12px; text-align:center; }
.summary { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; } .summary article { background:var(--dark); border-radius:12px; color:var(--summary-text); padding:22px; } .summary strong { display:block; color:var(--summary-strong); font-size:clamp(1.45rem,3vw,2.1rem); letter-spacing:-.06em; margin-top:8px; } .summary span { font-size:.82rem; }
.ato-guidance { align-items:center; background:var(--guidance); border:1px solid var(--guidance-line); border-radius:10px; display:flex; gap:18px; justify-content:space-between; margin-top:14px; padding:13px 16px; } .ato-guidance strong,.ato-guidance span { display:block; } .ato-guidance span,.ato-guidance p { color:var(--muted); font-size:.78rem; line-height:1.45; } .ato-guidance a { color:var(--ink); font-weight:700; } .ato-guidance p { color:var(--warning); font-weight:700; max-width:320px; text-align:right; }
.report-controls { background:var(--card); border:1px solid var(--line); border-radius:12px; margin:38px 0 24px; padding:18px; } .filter-grid { align-items:end; display:grid; gap:12px; grid-template-columns:2fr 1fr 1fr 1.5fr; } .filter-message { color:var(--error); font-size:.8rem; min-height:1.2em; margin-top:9px; } .report-actions { align-items:center; display:flex; gap:10px; justify-content:flex-end; margin-top:10px; } input,textarea,select { width:100%; border:1px solid var(--field-border); border-radius:7px; background:var(--field); padding:10px 11px; color:var(--ink); } input:focus,textarea:focus,select:focus { outline:3px solid var(--focus); border-color:var(--accent); }
.section-heading { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:14px; } #trip-label { color:var(--muted); font-size:.85rem; }
.trip-list { display:grid; gap:11px; padding-bottom:40px; } .trip { align-items:center; background:var(--card); border:1px solid var(--line); border-radius:11px; display:grid; grid-template-columns:120px 1fr auto; gap:20px; padding:18px; } .trip-date { color:var(--muted); font-size:.9rem; font-weight:700; } .route { font-weight:760; } .route span { color:var(--muted); display:block; font-size:.88rem; font-weight:500; margin-top:4px; } .trip-details { color:var(--muted); font-size:.85rem; margin-top:8px; } .trip-actions { display:flex; gap:8px; align-items:center; } .text-button { color:var(--ink); background:none; border:0; cursor:pointer; font-weight:750; padding:5px; text-decoration:none; } .text-button:hover { color:var(--accent); }
.policy-header { align-items:flex-end; } .policy-header h1 { font-size:clamp(2.5rem,6vw,4.5rem); } .policy-page { background:var(--card); border:1px solid var(--line); border-radius:14px; margin-bottom:36px; max-width:820px; padding:clamp(24px,5vw,56px); } .policy-lead { color:var(--ink); font-size:1.16rem; font-weight:650; line-height:1.6; } .policy-page section { border-top:1px solid var(--line); margin-top:30px; padding-top:27px; } .policy-page h2 { margin-bottom:12px; } .policy-page p,.policy-page li { color:var(--muted); line-height:1.7; } .policy-page p + p { margin-top:12px; } .policy-page ul { margin:12px 0; padding-left:22px; } .policy-page a { color:var(--ink); font-weight:700; } .policy-footer { color:var(--muted); font-size:.8rem; margin:auto; max-width:820px; padding:0 16px 36px; }
.empty-state { border:2px dashed var(--field-border); border-radius:12px; padding:54px 24px; text-align:center; } .empty-state p { color:var(--muted); margin:9px 0 20px; }
dialog { background:var(--card); border:0; border-radius:14px; box-shadow:0 25px 70px var(--shadow); color:var(--ink); max-width:650px; padding:0; width:calc(100% - 32px); } dialog::backdrop { background:var(--backdrop); } dialog form { padding:28px; } .dialog-heading { display:flex; justify-content:space-between; align-items:start; margin-bottom:22px; } .dialog-copy { color:var(--muted); line-height:1.55; margin:0 0 14px; } .icon-button { background:none; border:0; color:var(--muted); cursor:pointer; font-size:2rem; line-height:1; } .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; } label { display:grid; gap:7px; font-size:.85rem; font-weight:700; } .full-width { grid-column:1 / -1; } .checkbox { display:flex; align-items:center; gap:8px; } .checkbox input { flex:0 0 auto; width:auto; } .checkbox span,.route-tip { color:var(--muted); font-weight:500; } .consent-field { align-items:flex-start; line-height:1.45; } .consent-field a { color:var(--ink); } .route-tip { font-size:.82rem; margin:12px 0; } .dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; } .distance-input { display:flex; gap:8px; } .distance-input .button { white-space:nowrap; padding:8px 11px; } .stops-heading { align-items:center; display:flex; font-size:.85rem; font-weight:700; justify-content:space-between; } .stops-list { display:grid; gap:8px; margin-top:8px; } .stop-row { align-items:center; display:flex; gap:8px; } .stop-row input { flex:1; } .stop-row .text-button { color:var(--muted); } .account-details { background:var(--subtle); border-radius:9px; display:grid; gap:12px; margin:0 0 22px; padding:16px; } .account-details div { display:grid; gap:3px; } .account-details dt { color:var(--muted); font-size:.75rem; font-weight:700; text-transform:uppercase; } .account-details dd { margin:0; overflow-wrap:anywhere; } .account-section { border-top:1px solid var(--line); padding:20px 0 4px; } .account-section p { color:var(--muted); line-height:1.5; margin:8px 0 14px; } .appearance-section label { max-width:240px; } .setting-message { font-size:.78rem; min-height:1.2em; } .setting-message.error { color:var(--error); } .saved-location-form,.logbook-form { display:grid; gap:10px; grid-template-columns:1fr 2fr auto; align-items:end; } .logbook-form { grid-template-columns:repeat(3,1fr); } .logbook-form .button { min-height:42px; } .saved-location-list { display:grid; gap:8px; margin-top:14px; } .saved-location { align-items:center; background:var(--subtle); border-radius:8px; display:flex; gap:12px; justify-content:space-between; padding:10px 12px; } .saved-location div { min-width:0; } .saved-location strong,.saved-location span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .saved-location span { color:var(--muted); font-size:.78rem; margin-top:3px; } .ato-disclaimer { background:var(--notice); color:var(--notice-text) !important; border-radius:7px; font-size:.75rem; padding:10px; } .danger-section { margin-top:15px; } .danger-section label { margin-bottom:12px; } .site-footer { border-top:1px solid var(--line); color:var(--muted); display:flex; font-size:.8rem; justify-content:space-between; margin-top:30px; padding:20px 0 34px; } .site-footer a { color:var(--ink); } .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
@media (max-width:840px) { .summary { grid-template-columns:repeat(2,1fr); } .filter-grid { grid-template-columns:1fr 1fr; } .saved-location-form,.logbook-form { grid-template-columns:1fr; } }
@media (max-width:640px) { .site-header { align-items:start; flex-direction:column; padding-top:34px; } .account-actions { justify-content:flex-start; width:100%; } .summary { grid-template-columns:1fr; } .ato-guidance { align-items:flex-start; flex-direction:column; } .ato-guidance p { text-align:left; } .trip { grid-template-columns:1fr; gap:9px; } .trip-actions { flex-wrap:wrap; margin-top:3px; } .form-grid,.filter-grid { grid-template-columns:1fr; } .report-actions { align-items:stretch; flex-direction:column; } .report-actions .button { width:100%; } .auth-card { padding:24px 20px; } .auth-links { align-items:flex-start; flex-direction:column; } .site-footer { align-items:flex-start; flex-direction:column; gap:8px; } }
