/* Mandarin blue and gold, ATR identity, and flight-deck typography. */
@media screen {
 :root {--blue:#064f92;--blue-soft:#edf4fb;--ink:#142d4d}
 .masthead {display:grid;grid-template-columns:minmax(260px,1fr) minmax(330px,480px) auto;gap:32px;align-items:center;padding:25px max(28px,calc((100vw - 1200px)/2));background:#fff;color:#102f53;border-bottom:3px solid #c6a155}
 .brand {display:flex;flex-direction:column;align-items:flex-start;gap:15px}
 .airline-marks {display:flex;align-items:center;gap:15px;max-width:100%}
 .mandarin-mark {width:196px;height:auto;display:block}
 .atr-mark {width:65px;height:auto;display:block}
 .mark-divider {height:29px;width:1px;flex-shrink:0;background:#dce3ec}
 .brand strong {font-size:26px;letter-spacing:.025em;font-weight:650;color:#103760}
 .brand div>span {font-size:14px;color:#6f8096;margin-top:3px;letter-spacing:.035em}
 .aircraft-identity {min-width:0;position:relative;border-radius:8px;overflow:hidden;align-self:center}
 .aircraft-identity img {display:block;width:100%;height:auto;min-height:78px;object-fit:cover}
 .aircraft-identity>span {display:block;text-align:right;padding:9px 2px 0;font-size:12px;letter-spacing:.1em;color:#59718d;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
 .edition {display:flex;flex-direction:column;align-items:flex-end;gap:7px;white-space:nowrap;letter-spacing:0}
 .edition .version-label {padding:0;margin:0;border:0;color:#8190a4;font-size:12px;letter-spacing:.06em}
 .edition strong {font:500 21px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#103760;letter-spacing:-.02em;background:#f0f5fa;border:1px solid #dce5ef;padding:7px 13px;border-radius:7px}
 .edition .schedule-revision {border:0;margin:0;padding:0;font-size:12px;color:#7e8fa5;letter-spacing:.02em}
 body {background:#f1f4f8}
 .notes-disclosure {border-left:3px solid #c4a05b;border-radius:13px}
 .notes-summary h1 {color:#163a61}
 .notes-summary {padding-top:20px;padding-bottom:20px;min-height:76px}
 .note-category {color:#7a663c}
 .note-card .note-deadline {border:1px solid #e8d9b4}
 .date-controls .button {background:#134578;border-color:#134578}
 .date-controls .button:hover {background:#0c355f;border-color:#0c355f}
 .day-card {border-radius:15px}
 .day-head {background:#132f50;color:#fff;border-bottom:2px solid #c6a155;padding-top:25px;padding-bottom:22px}
 .current .day-head {background:#164b7e;color:#fff}
 .day-date strong,.current .day-date strong {color:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:400;letter-spacing:-.055em}
 .day-date .date-month {font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#b3c4d8;font-size:12px;letter-spacing:.04em}
 .day-date .date-weekday {color:#e0e8f1}
 .day-head .room {color:#b2c6df;font-size:14px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.025em}
 .day-label,.current .day-label {color:#e9d39f;background:#ffffff0a;border:1px solid #6a7890;border-radius:4px}
 .current .day-label {color:#fff0bf;border-color:#c6a155}
 .event-time {font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:-.06em;color:#48617f}
 .event-title,.event.record .event-title {color:#153658}
 .badge {background:#edf4fb;color:#285e93}
 .exam-badge {color:#795820;background:#fbf2dc;border-color:#e5d2a4}
 .records-section {border-radius:15px}
 h2 {color:#15395f}
 .eyebrow {font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#8b7750;letter-spacing:.06em}
 .record-form {border-radius:8px}
 .form-row .value {font-variant-numeric:tabular-nums}
 .table-wrap {border-radius:13px}
 th {background:#173654;color:#d7e3f2;border-bottom:2px solid #c6a155}
 tr.highlight {background:#edf4fc}
 .date-link {font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#14395f}
 .date-link .weekday {font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
 .obs-note {border-left:3px solid #c6a155}
 .footer-version {font-size:12px;color:#6f8096}
 .footer-version strong {font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:500;color:#1f476e}
}
@media screen and (max-width:1100px) {
 .masthead {grid-template-columns:minmax(240px,1fr) minmax(250px,380px) auto;gap:22px}
 .mandarin-mark {width:172px}
 .atr-mark {width:55px}
 .airline-marks {gap:12px}
}
@media screen and (max-width:820px) {
 .masthead {grid-template-columns:minmax(0,1fr) auto;padding:21px 20px 17px;gap:18px}
 .brand {gap:12px}
 .brand strong {font-size:22px}
 .brand div>span {font-size:12px}
 .mandarin-mark {width:150px}
 .atr-mark {width:47px}
 .airline-marks {gap:10px}
 .mark-divider {height:22px}
 .aircraft-identity {grid-column:1/-1;grid-row:2;max-width:520px;width:100%;justify-self:center}
 .aircraft-identity img {min-height:0;height:auto}
 .aircraft-identity>span {padding-top:7px;font-size:12px;letter-spacing:.04em}
 .edition {display:flex;font-size:12px;gap:6px}
 .edition strong {font-size:17px;padding:6px 9px}
 .edition .version-label,.edition .schedule-revision {display:block}
 .edition .schedule-revision {max-width:104px;white-space:normal;text-align:right;line-height:1.5}
}
@media screen and (max-width:380px) {
 .masthead {padding-left:16px;padding-right:16px;gap:13px}
 .mandarin-mark {width:132px}
 .atr-mark {width:40px}
 .airline-marks {gap:8px}
 .brand strong {font-size:20px}
}

@media screen {.airline-marks .atr-mark {width:92px;height:auto}.airline-marks {min-height:30px}}
