/* ZEUS Afgangstavle — uden eksterne CSS/JS-afhængigheder */
:root {
  color-scheme: dark;
  --dark-0: #07101e;
  --dark-1: #0b1524;
  --dark-2: #101e30;
  --dark-3: #15263a;
  --dark-border: #26364a;
  --light-text: #f4f7fb;
  --muted-text: #94a2b5;
  --amber: #f2b448;
  --amber-2: #ffd080;
  --green: #67d7ac;
  --red: #fa8287;
  --blue: #80bcff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #e9b04b; outline-offset: 3px; }

/* PUBLIC BOARD */
.board-body {
  min-height: 100vh;
  background: var(--dark-0);
  color: var(--light-text);
  background-image: radial-gradient(circle at 92% -8%, rgba(58, 94, 138, .2), transparent 33%), linear-gradient(180deg, #101c2d 0%, #0a1423 46%, #07101e 100%);
}
.board-shell { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.board-topbar {
  min-height: 105px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid #2a394a;
}
.board-brand { display: flex; align-items: center; gap: 15px; min-width: 0; }
.brand-mark {
  width: 49px; height: 49px; flex-shrink: 0; border: 1.5px solid rgba(255, 207, 126, .62);
  border-radius: 13px; display: grid; place-items: center; color: var(--amber-2); background: #152335;
  box-shadow: inset 0 0 16px rgba(242, 180, 72, .045);
}
.brand-mark span { font-size: 26px; font-weight: 900; letter-spacing: -.09em; padding-right: 3px; transform: skew(-7deg); }
.brand-name { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.brand-name strong { font-size: 17px; letter-spacing: .01em; font-weight: 820; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-name span { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: #a6b5c7; text-transform: uppercase; }
.clock-panel { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.clock-date { text-transform: capitalize; color: #a7b4c6; letter-spacing: .04em; font-size: 12px; font-weight: 600; }
.clock-time { font-size: clamp(23px, 3vw, 31px); font-weight: 760; letter-spacing: .015em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.clock-time span { color: var(--amber); font-size: .64em; font-weight: 600; }
.board-heading { padding: 55px 0 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.eyebrow { margin: 0 0 13px; color: #af8540; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.board-eyebrow { display: flex; align-items: center; gap: 11px; color: #b9c2d0; }
.live-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(242, 180, 72, .1); }
.board-heading h1 { margin: 0; font-size: clamp(43px, 6.1vw, 75px); letter-spacing: -.067em; line-height: 1; font-weight: 850; }
.heading-period { color: var(--amber); }
.board-heading p { color: #9babbf; font-size: 14px; line-height: 1.6; margin: 16px 0 0; }
.live-status {
  display: flex; align-items: center; gap: 10px; background: #142636; color: #91e0bb;
  border: 1px solid #27463d; border-radius: 999px; padding: 11px 16px;
  font-size: 12px; font-weight: 720; white-space: nowrap; margin-bottom: 2px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #73e0a9; box-shadow: 0 0 0 4px rgba(103, 215, 172, .09); }
.live-status.is-offline { background: #37232b; border-color: #603541; color: #ffb2b5; }
.live-status.is-offline .status-dot { background: #ff8a8e; }
.board-controls { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; flex-wrap: wrap; }
.date-segments { padding: 5px; display: flex; border-radius: 11px; background: #172638; border: 1px solid #304157; gap: 5px; }
.date-segment { background: transparent; border: 0; color: #a9b5c4; border-radius: 8px; padding: 10px 21px; min-height: 39px; font-weight: 710; font-size: 13px; transition: .15s; }
.date-segment:hover { color: white; }
.date-segment.is-active { background: var(--amber); color: #1c1a16; box-shadow: 0 2px 12px rgba(242, 180, 72, .12); }
.date-picker-wrap { display: flex; align-items: center; min-height: 49px; gap: 10px; border: 1px solid #304157; border-radius: 11px; background: #142234; padding: 0 14px; color: #b0bbca; }
.date-picker-wrap svg { width: 18px; height: 18px; flex: none; color: var(--amber); }
.date-picker-label { font-size: 12px; font-weight: 650; }
.date-picker-wrap input { border: none; background: none; color: #edf2f8; font-size: 13px; font-weight: 700; color-scheme: dark; padding: 12px 0; min-width: 127px; }
.date-picker-wrap input:focus { outline: none; }
.departures-panel { border: 1px solid #2d3b4c; border-radius: 15px; background: #101d2d; overflow: hidden; box-shadow: 0 22px 70px rgba(0, 0, 0, .17); }
.board-grid { display: grid; grid-template-columns: 1.03fr 2.4fr 1.05fr .65fr 1.48fr; column-gap: 20px; align-items: center; }
.table-head { min-height: 55px; background: #17273a; color: #889bb0; padding: 0 27px; font-size: 10px; font-weight: 810; letter-spacing: .11em; border-bottom: 1px solid #2a3a50; }
.departure-row { padding: 25px 27px; min-height: 112px; border-bottom: 1px solid #28384a; transition: background .15s; }
.departure-row:hover { background: #17273a; }
.departure-row:last-child { border-bottom: none; }
.mobile-label { display: none; }
.time-stack, .destination-stack, .line-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.departure-time { font-size: clamp(26px, 2.65vw, 35px); line-height: 1.15; color: var(--amber-2); font-weight: 820; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.new-time { font-size: 11px; color: #f0b968; font-weight: 790; }
.destination-title { font-size: clamp(18px, 1.8vw, 24px); font-weight: 780; letter-spacing: -.035em; line-height: 1.25; overflow-wrap: anywhere; }
.route-via { font-size: 12px; color: #a2b1c3; font-weight: 550; }
.route-note { font-size: 11px; line-height: 1.5; color: #e3b86f; overflow-wrap: anywhere; }
.line-pill { display: inline-block; font-size: 12px; font-weight: 820; letter-spacing: .015em; color: #e4eaf2; background: #24344a; border: 1px solid #38485d; padding: 8px 11px; border-radius: 7px; max-width: 100%; overflow-wrap: anywhere; }
.operator-label { font-size: 11px; color: #8d9eb1; }
.platform-number { font-size: 20px; font-weight: 820; color: #f4f6fb; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.status-wrap { display: flex; align-items: center; }
.status-pill { display: inline-flex; justify-content: center; align-items: center; gap: 7px; border-radius: 7px; font-size: 11px; font-weight: 790; letter-spacing: .005em; padding: 10px 11px; line-height: 1.25; white-space: nowrap; }
.pill-symbol { font-size: 14px; line-height: 0; }
.status-on-time { color: #85e1b8; background: #15392f; border: 1px solid #255747; }
.status-boarding { color: #a9d1ff; background: #1b354f; border: 1px solid #30557a; }
.status-delayed { color: #f7c779; background: #403421; border: 1px solid #6b5030; }
.status-cancelled { color: #ff9da3; background: #452731; border: 1px solid #6d3d49; }
.status-departed { color: #a1aebf; background: #293545; border: 1px solid #3d4a5b; }
.row-cancelled .departure-time, .row-cancelled .destination-title { text-decoration: line-through; text-decoration-color: rgba(255, 160, 160, .75); text-decoration-thickness: 1px; opacity: .73; }
.row-departed .departure-time, .row-departed .destination-title { opacity: .6; }
.board-panel-footer { min-height: 50px; background: #132135; border-top: 1px solid #2a384c; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 27px; font-size: 11px; color: #91a1b7; font-weight: 600; }
.footer-indicator { display: flex; align-items: center; gap: 9px; }
.tiny-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.empty-state { padding: 68px 24px 76px; text-align: center; color: #a2b0c3; }
.empty-symbol { width: 65px; height: 65px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 19px; font-size: 35px; font-weight: 500; color: #d5a657; background: #283346; border: 1px solid #35465c; }
.empty-state h2 { font-size: 20px; letter-spacing: -.02em; font-weight: 750; margin: 0 0 8px; color: #e9eef5; }
.empty-state p { font-size: 13px; line-height: 1.6; margin: 0 auto; max-width: 420px; }
.loading-area { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 200px; color: #acb8c8; font-size: 13px; }
.loading-spinner { width: 21px; height: 21px; border: 3px solid #344459; border-top-color: var(--amber); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.board-notice { display: flex; gap: 13px; align-items: flex-start; margin: 19px 0 65px; color: #8d9eb2; font-size: 12px; line-height: 1.6; }
.board-notice svg { width: 17px; height: 17px; flex-shrink: 0; color: #b6a07c; margin-top: 2px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; border-top: 1px solid #27364b; color: #7e8fa3; min-height: 71px; padding: 18px 0; font-size: 11px; font-weight: 650; }
.site-footer a { text-decoration: none; color: #9baabe; }
.site-footer a:hover { color: var(--amber); }
.footer-divider { color: #52637a; padding: 0 8px; }

/* ADMINISTRATION */
.admin-body { color-scheme: light; background: #f3f6fa; min-height: 100vh; color: #1a2a3e; }
.admin-body input, .admin-body textarea, .admin-body select { color-scheme: light; }
.auth-layout { min-height: 100vh; padding: 28px 16px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% -10%, #d8e4f5, transparent 57%), #edf2f9; }
.auth-card { width: min(100%, 465px); background: #fff; border: 1px solid #e2e8f0; padding: clamp(28px, 5vw, 43px); border-radius: 18px; box-shadow: 0 23px 75px rgba(34, 55, 77, .09); }
.auth-mark { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 880; letter-spacing: -.02em; margin-bottom: 49px; }
.auth-mark strong { color: #75859a; font-weight: 700; }
.logo-symbol { display: inline-grid; place-items: center; width: 35px; height: 35px; background: #14253a; color: #efb34a; border-radius: 9px; font-size: 22px; font-weight: 900; letter-spacing: -.13em; padding-right: 3px; transform: none; }
.auth-card .eyebrow { color: #c58c31; margin-bottom: 9px; }
.auth-card h1 { font-size: 28px; letter-spacing: -.05em; margin: 0 0 10px; font-weight: 830; }
.auth-card p:not(.eyebrow):not(.auth-footer):not(.form-error) { color: #6d7e90; line-height: 1.65; font-size: 13px; margin: 0 0 28px; }
.auth-card code { color: #405c80; font-weight: 700; }
.form-stack { display: grid; gap: 19px; }
.form-stack label, .editor-form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 730; color: #3c4c60; }
.admin-body input:not([type="hidden"]), .admin-body select, .admin-body textarea { display: block; width: 100%; min-width: 0; border: 1px solid #d4ddea; background: #fff; border-radius: 9px; padding: 12px 13px; min-height: 43px; outline: none; font-size: 13px; font-weight: 520; transition: border-color .17s, box-shadow .17s; }
.admin-body input:focus, .admin-body select:focus, .admin-body textarea:focus { border-color: #7e9fc9; box-shadow: 0 0 0 3px rgba(72, 126, 190, .10); }
.admin-body textarea { resize: vertical; }
.admin-body input::placeholder, .admin-body textarea::placeholder { color: #9aa7b7; }
.btn { display: inline-flex; gap: 9px; justify-content: center; align-items: center; min-height: 45px; border: 1px solid transparent; border-radius: 9px; padding: 11px 18px; text-decoration: none; font-size: 13px; font-weight: 780; transition: background .16s, transform .16s, box-shadow .16s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: #18324f; color: #fff; box-shadow: 0 4px 12px rgba(24, 50, 79, .11); }
.btn-primary:hover:not(:disabled) { background: #274a70; }
.btn-secondary { background: #fff; border-color: #d5dfeb; color: #30465e; }
.btn-secondary:hover { background: #f3f7fb; }
.btn-small { padding: 9px 13px; min-height: 42px; }
.btn-wide { width: 100%; margin-top: 6px; }
.auth-footer { text-align: center; margin: 30px 0 0; font-size: 11px; font-weight: 610; color: #8897a7; }
.auth-footer a { color: #6c8199; text-decoration: none; }
.auth-footer a:hover { color: #18324f; text-decoration: underline; }
.form-error { border: 1px solid #efbdc0; background: #fff2f3; color: #a62532; padding: 13px 14px; border-radius: 8px; font-size: 12px; line-height: 1.5; margin: 18px 0 0; }
.success-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #dcf7e6; color: #258b53; font-size: 28px; margin-bottom: 24px; }
.admin-header { height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e3eaf2; padding: 0 33px; background: #fff; }
.admin-brand { display: flex; gap: 11px; align-items: center; text-decoration: none; font-size: 15px; font-weight: 880; }
.admin-brand strong { color: #8492a1; font-weight: 700; }
.admin-header-right { display: flex; align-items: center; gap: 25px; }
.header-link { background: transparent; border: none; font-size: 12px; font-weight: 730; color: #526a83; text-decoration: none; padding: 10px 0; }
.header-link:hover { color: #1f4167; }
.admin-main { max-width: 1320px; margin: 0 auto; padding: 47px 33px 80px; }
.admin-title-area { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 31px; }
.admin-title-area .eyebrow { margin-bottom: 9px; }
.admin-title-area h1 { margin: 0; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.1; font-weight: 820; letter-spacing: -.05em; }
.admin-title-area p:not(.eyebrow) { font-size: 13px; color: #7a8999; margin: 11px 0 0; line-height: 1.5; }
.button-plus { font-size: 21px; line-height: .7; font-weight: 400; }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 25px; }
.stat-card { padding: 24px 25px; border: 1px solid #e1e8f1; border-radius: 13px; background: #fff; box-shadow: 0 4px 16px rgba(23, 51, 79, .025); }
.stat-card span { display: block; font-size: 12px; color: #78899b; font-weight: 600; margin-bottom: 14px; }
.stat-card strong { font-size: 34px; letter-spacing: -.05em; font-weight: 810; color: #1a314a; line-height: 1; }
.admin-panel { background: #fff; border: 1px solid #e1e8f1; border-radius: 13px; box-shadow: 0 4px 16px rgba(23, 51, 79, .02); overflow: hidden; }
.admin-panel-head { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 25px 25px 22px; }
.admin-panel-head h2 { margin: 0 0 7px; font-size: 18px; letter-spacing: -.025em; }
.admin-panel-head p { margin: 0; color: #8291a1; font-size: 12px; line-height: 1.5; }
.admin-date-tools { display: flex; gap: 9px; align-items: center; }
.admin-date-tools input { max-width: 165px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; table-layout: auto; font-size: 12px; }
.admin-table thead { background: #f7f9fc; }
.admin-table th { text-align: left; font-size: 10px; letter-spacing: .07em; color: #8695a5; font-weight: 810; padding: 17px 20px; border-top: 1px solid #eef1f5; border-bottom: 1px solid #edf1f5; white-space: nowrap; }
.admin-table td { padding: 20px; border-bottom: 1px solid #edf1f6; color: #46596e; vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-time, .admin-destination { font-size: 13px; font-weight: 780; color: #26394e; }
.admin-subline { display: block; font-size: 11px; color: #94a1af; margin-top: 7px; line-height: 1.4; max-width: 260px; }
.admin-status { display: inline-block; padding: 8px 11px; border-radius: 7px; font-weight: 760; font-size: 11px; white-space: nowrap; }
.admin-status.on-time { color: #238657; background: #e5f7eb; }
.admin-status.boarding { color: #336da7; background: #e6f2ff; }
.admin-status.delayed { color: #946016; background: #fff0d3; }
.admin-status.cancelled { color: #ae3942; background: #ffeaeb; }
.admin-status.departed { color: #687687; background: #eaf0f6; }
.action-head { text-align: right !important; }
.action-cell { text-align: right; white-space: nowrap; }
.table-action { background: none; border: 0; color: #2e5d91; font-size: 12px; font-weight: 750; padding: 8px 5px; }
.table-action:hover { text-decoration: underline; }
.danger-action { color: #c64d57; margin-left: 8px; }
.center-cell { text-align: center; color: #8592a3 !important; padding: 55px 16px !important; line-height: 1.65; }
.admin-tools { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; margin-top: 21px; }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 21px; border: 1px solid #e0e8f0; border-radius: 12px; background: #fff; padding: 24px; }
.tool-card h3 { margin: 0 0 9px; font-size: 14px; font-weight: 790; letter-spacing: -.018em; }
.tool-card p { margin: 0; font-size: 12px; color: #8090a1; line-height: 1.55; }
.tool-actions { display: flex; width: 100%; gap: 9px; }
.tool-actions input { max-width: 170px; }
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; padding: 25px 15px; background: rgba(12, 26, 42, .67); display: grid; place-items: center; overflow-y: auto; }
.modal { background: white; border-radius: 15px; width: min(100%, 620px); max-height: calc(100vh - 50px); overflow-y: auto; box-shadow: 0 32px 90px rgba(4, 15, 30, .25); }
.modal-small { width: min(100%, 460px); padding-bottom: 26px; }
.modal-header { padding: 28px 31px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid #edf1f5; }
.modal-header .eyebrow { margin-bottom: 7px; }
.modal-header h2 { margin: 0; font-size: 22px; font-weight: 830; letter-spacing: -.03em; }
.modal-close { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: #f2f5f9; border-radius: 8px; font-size: 27px; font-weight: 350; color: #61758c; line-height: 1; padding: 0; }
.modal-close:hover { background: #e4edf7; }
.editor-form, .modal-small .form-stack { padding: 25px 31px 30px; display: grid; gap: 17px; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.required { color: #ce7b42; }
.editor-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 9px; }
.toast { position: fixed; z-index: 40; right: 24px; bottom: 23px; max-width: min(440px, calc(100% - 40px)); padding: 15px 20px; border-radius: 10px; background: #1f4e3b; border: 1px solid #287955; color: #e9fff3; font-weight: 720; font-size: 13px; box-shadow: 0 15px 45px rgba(0,0,0,.18); line-height: 1.4; }
.toast.is-error { background: #712f3b; border-color: #a34c58; color: #fff; }

@media (max-width: 950px) {
  .board-shell { padding: 0 22px; }
  .board-grid { grid-template-columns: .92fr 2.2fr 1fr .55fr 1.55fr; column-gap: 12px; }
  .table-head { padding: 0 18px; }
  .departure-row { padding: 22px 18px; }
  .destination-title { font-size: 20px; }
  .status-pill { white-space: normal; }
  .admin-tools { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 690px) {
  .board-shell { padding: 0 15px; }
  .board-topbar { min-height: 83px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 11px; }
  .brand-mark span { font-size: 24px; }
  .board-brand { gap: 10px; }
  .brand-name strong { font-size: 14px; }
  .brand-name span { font-size: 9px; letter-spacing: .11em; }
  .clock-panel { gap: 3px; }
  .clock-date { font-size: 10px; }
  .clock-time { font-size: 22px; }
  .board-heading { padding: 38px 0 25px; display: block; }
  .board-heading h1 { font-size: clamp(42px, 11vw, 58px); }
  .board-heading p { margin-top: 12px; font-size: 13px; }
  .board-eyebrow { font-size: 9px; letter-spacing: .12em; margin-bottom: 12px; }
  .live-status { display: inline-flex; font-size: 11px; padding: 8px 13px; margin-top: 20px; }
  .board-controls { margin-bottom: 14px; gap: 9px; }
  .date-segments { flex: 1 1 100%; }
  .date-segment { flex: 1; }
  .date-picker-wrap { width: 100%; justify-content: flex-start; }
  .date-picker-wrap input { flex: 1; }
  .table-head.board-grid { display: none; }
  .departures-panel { border-radius: 12px; }
  .board-grid { display: grid; grid-template-columns: minmax(0, 1fr) 1fr; gap: 0 14px; }
  .departure-row { padding: 18px 19px 19px; min-height: unset; }
  .departure-row > * { min-width: 0; }
  .mobile-label { display: block; color: #778a9e; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; font-size: 9px; margin-bottom: 8px; }
  .time-cell { grid-column: 1; grid-row: 1; margin-bottom: 18px; }
  .departure-time { font-size: 32px; }
  .destination-cell { grid-column: 2; grid-row: 1; margin-bottom: 18px; }
  .destination-title { font-size: 19px; }
  .route-via { font-size: 11px; }
  .route-note { font-size: 10px; }
  .line-cell { grid-column: 1; grid-row: 2; border-top: 1px solid #25374a; padding-top: 15px; margin-right: 0; }
  .platform-cell { grid-column: 2; grid-row: 2; border-top: 1px solid #25374a; padding-top: 15px; }
  .line-pill { padding: 7px 9px; font-size: 11px; }
  .platform-number { font-size: 18px; }
  .status-cell { grid-column: 1 / -1; grid-row: 3; margin-top: 16px; display: flex; flex-direction: column; align-items: flex-start; }
  .status-wrap { width: 100%; }
  .status-pill { justify-content: center; padding: 10px 13px; width: 100%; font-size: 11px; }
  .board-panel-footer { padding: 14px 18px; font-size: 10px; }
  .board-notice { margin: 18px 0 38px; font-size: 11px; }
  .site-footer { font-size: 10px; }
  .admin-header { padding: 0 16px; height: 70px; }
  .admin-header-right { gap: 12px; }
  .header-link { font-size: 11px; }
  .admin-main { padding: 32px 15px 70px; }
  .admin-title-area { align-items: flex-start; }
  .admin-title-area h1 { font-size: 31px; }
  .admin-title-area p:not(.eyebrow) { max-width: 280px; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .stat-card { padding: 19px; }
  .stat-card span { font-size: 11px; }
  .stat-card strong { font-size: 29px; }
  .admin-panel-head { padding: 21px 16px 18px; align-items: flex-start; flex-direction: column; }
  .admin-date-tools { width: 100%; }
  .admin-date-tools input { flex: 1; max-width: none; }
  .admin-table { min-width: 775px; }
  .admin-tools { grid-template-columns: 1fr; gap: 11px; }
  .tool-card { padding: 20px; }
  .tool-actions input { max-width: unset; flex: 1; }
}
@media (max-width: 450px) {
  .board-shell { padding: 0 12px; }
  .board-topbar { gap: 9px; }
  .brand-name strong { max-width: 170px; }
  .clock-date { max-width: 130px; text-align: right; font-size: 9px; }
  .clock-time { font-size: 20px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark span { font-size: 21px; }
  .departure-row { padding: 17px 15px 19px; }
  .destination-title { font-size: 18px; }
  .departure-time { font-size: 28px; }
  .date-segment { padding: 9px 14px; }
  .admin-header-right .header-link:first-child { display: none; }
  .admin-title-area { display: block; }
  .admin-title-area > .btn { margin-top: 19px; width: 100%; }
  .form-grid.two { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 9px; }
  .modal { max-height: calc(100vh - 18px); }
  .modal-header { padding: 20px 20px 17px; }
  .editor-form, .modal-small .form-stack { padding: 20px; }
  .editor-actions .btn { flex: 1; padding: 10px; }
}
