/* Zdevco PaxFlow. Colors are tokens; dark mode restates them. */
:root {
  color-scheme: light;
  --page: #f3f5f8; --surface: #ffffff; --surface-2: #f6f8fb; --text: #15202d; --text-2: #5b6978; --text-3: #8592a0;
  --border: rgba(13, 27, 42, .11); --grid: #e6e9ee; --axis: #c2c8d0;
  --navy: #0d1b2a; --navy-2: #14273b; --nav-text: #b9c7d6; --accent: #2196f3; --accent-ink: #0b6fc4; --accent-soft: rgba(33, 150, 243, .12);
  --good: #0aac23; --warning: #fbb315; --serious: #f18a59; --critical: #dc3c3d;
  --good-ink: #006c10; --warning-ink: #7a5200; --serious-ink: #9a4313; --critical-ink: #b3201f;
  --good-bg: #e4f5e7; --warning-bg: #fff3d1; --serious-bg: #fde6da; --critical-bg: #fbdfdf; --neutral-bg: #edf0f4;
  --s1: #257de0; --s2: #f47230; --s3: #00b894; --s4: #f2a600; --s5: #ee7fac; --s6: #008a17; --s7: #6a4ce2;
  --heat-lo: #dcebfd; --heat-hi: #0e3d7e; --muted-line: #9aa5b1;
  --shadow: 0 1px 2px rgba(13, 27, 42, .05), 0 1px 8px rgba(13, 27, 42, .04);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark;
  --page: #09111b; --surface: #101b29; --surface-2: #162434; --text: #e8eef5; --text-2: #9eacbb; --text-3: #6f7e8e;
  --border: rgba(255, 255, 255, .10); --grid: #223143; --axis: #3a4a5d;
  --navy: #0a1622; --navy-2: #122235; --accent: #42a5f5; --accent-ink: #6ab8f7; --accent-soft: rgba(66, 165, 245, .16);
  --good-ink: #53c556; --warning-ink: #f6c453; --serious-ink: #f5a47e; --critical-ink: #f08a8a;
  --good-bg: rgba(10, 172, 35, .16); --warning-bg: rgba(251, 179, 21, .15); --serious-bg: rgba(241, 138, 89, .16); --critical-bg: rgba(220, 60, 61, .2); --neutral-bg: rgba(255, 255, 255, .07);
  --s1: #338ced; --s2: #e76624; --s3: #00a888; --s4: #d28e05; --s5: #e24d8b; --s6: #0aac23; --s7: #9887ef;
  --heat-lo: #14283f; --heat-hi: #6aabf1; --muted-line: #66758a; --shadow: none;
} }
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #09111b; --surface: #101b29; --surface-2: #162434; --text: #e8eef5; --text-2: #9eacbb; --text-3: #6f7e8e;
  --border: rgba(255, 255, 255, .10); --grid: #223143; --axis: #3a4a5d;
  --navy: #0a1622; --navy-2: #122235; --accent: #42a5f5; --accent-ink: #6ab8f7; --accent-soft: rgba(66, 165, 245, .16);
  --good-ink: #53c556; --warning-ink: #f6c453; --serious-ink: #f5a47e; --critical-ink: #f08a8a;
  --good-bg: rgba(10, 172, 35, .16); --warning-bg: rgba(251, 179, 21, .15); --serious-bg: rgba(241, 138, 89, .16); --critical-bg: rgba(220, 60, 61, .2); --neutral-bg: rgba(255, 255, 255, .07);
  --s1: #338ced; --s2: #e76624; --s3: #00a888; --s4: #d28e05; --s5: #e24d8b; --s6: #0aac23; --s7: #9887ef;
  --heat-lo: #14283f; --heat-hi: #6aabf1; --muted-line: #66758a; --shadow: none;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html, body { margin: 0; height: 100% }
body { background: var(--page); color: var(--text); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased }
a { color: var(--accent-ink); text-decoration: none } a:hover { text-decoration: underline }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.01em }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none }

/* ---- shell ---- */
.shell { display: grid; grid-template-columns: 228px 1fr; min-height: 100%; background: linear-gradient(to right, var(--navy) 228px, transparent 228px) }
.side { background: var(--navy); color: var(--nav-text); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto }
.brand { padding: 18px 18px 14px; display: flex; align-items: center; gap: 10px }
.brand .mark { background: #1a3a5c; color: #fff; font-weight: 800; letter-spacing: .06em; font-size: 13px; padding: 5px 8px; border-radius: 6px }
.brand .prod { color: #fff; font-weight: 650; font-size: 16px; letter-spacing: -.01em }
.brand .dev { font-size: 10px; background: var(--warning); color: #201500; padding: 1px 5px; border-radius: 4px; font-weight: 700 }
.apsel { margin: 0 12px 10px; background: var(--navy-2); border-radius: 8px; padding: 9px 11px; position: relative }
.apsel small { display: block; font-size: 11px; color: #8497ab } .apsel b { color: #fff; font-size: 13.5px; display: block }
.apsel select { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100% }
.navg { padding: 8px 10px 2px } .navg h4 { margin: 8px 8px 4px; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: #6f8296; font-weight: 600 }
.navg a { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 7px; color: var(--nav-text); font-size: 13.5px }
.navg a:hover { background: rgba(255, 255, 255, .06); text-decoration: none; color: #fff }
.navg a.on { background: var(--accent); color: #fff; font-weight: 600 }
.navg a .n { margin-left: auto; background: var(--critical); color: #fff; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 9px }
.side .foot { margin-top: auto; padding: 12px 18px 16px; font-size: 11px; color: #6f8296 }
.main { min-width: 0; display: flex; flex-direction: column }
.top { background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 22px; display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 20; flex-wrap: wrap }
.top .where { font-size: 13px; color: var(--text-2) } .top .where b { color: var(--text) }
.top .sp { flex: 1 }
.livechip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--good-ink); background: var(--good-bg); padding: 3px 9px; border-radius: 20px; font-weight: 600 }
.livechip i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: pulse 2s infinite }
@keyframes pulse { 50% { opacity: .35 } }
.samplechip { font-size: 12px; color: var(--warning-ink); background: var(--warning-bg); padding: 3px 9px; border-radius: 20px; font-weight: 600 }
body:not([data-sample="1"]) .samplechip, body:not([data-sample="1"]) .src-sample { display: none }
.iconbtn { background: none; border: 1px solid var(--border); color: var(--text-2); width: 32px; height: 32px; border-radius: 8px; display: inline-grid; place-items: center; cursor: pointer }
.iconbtn:hover { background: var(--surface-2); color: var(--text) }
.menu { position: relative } .menu .pop { display: none; position: absolute; right: 0; top: 38px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 28px rgba(0, 0, 0, .16); min-width: 210px; padding: 6px; z-index: 50 }
.menu.open .pop { display: block } .menu .pop a, .menu .pop div.h { display: block; padding: 7px 10px; border-radius: 6px; color: var(--text); font-size: 13.5px }
.menu .pop a:hover { background: var(--surface-2); text-decoration: none } .menu .pop div.h { color: var(--text-2); font-size: 12px; border-bottom: 1px solid var(--border); margin-bottom: 4px; border-radius: 0 }
.userbtn { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--text); cursor: pointer; font: inherit; padding: 2px 4px }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 12px }
.content { padding: 20px 22px 40px; flex: 1 }
.phead { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 14px; flex-wrap: wrap }
.phead h1 { font-size: 22px } .phead p { margin: 3px 0 0; color: var(--text-2); font-size: 13.5px }
.phead .meta { margin-left: auto; text-align: right; font-size: 12.5px; color: var(--text-2) } .phead .meta b { color: var(--text); font-weight: 600 }
.filters { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 2px }
.seg button { border: 0; background: none; color: var(--text-2); font: inherit; font-size: 13px; padding: 5px 11px; border-radius: 7px; cursor: pointer }
.seg button.on { background: var(--accent); color: #fff; font-weight: 600 } .seg button:hover:not(.on) { color: var(--text) }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 9px }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px }
.btn { display: inline-flex; align-items: center; gap: 7px; background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 7px 13px; font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer }
.btn:hover { filter: brightness(1.07); text-decoration: none } .btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border) }
.btn.small { padding: 4px 9px; font-size: 12.5px } .btn.danger { background: var(--surface); color: var(--critical-ink); border: 1px solid var(--border) }
.flash { background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 9px; padding: 9px 13px; margin-bottom: 14px }
.err { background: var(--critical-bg); color: var(--critical-ink); border-radius: 8px; padding: 8px 12px; margin-bottom: 12px }

/* ---- KPI tiles ---- */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; margin-bottom: 14px }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px 11px; box-shadow: var(--shadow); position: relative; min-height: 104px; display: flex; flex-direction: column }
.kpi .l { font-size: 12.5px; color: var(--text-2); display: flex; align-items: center; gap: 6px }
.kpi .v { font-size: 27px; font-weight: 680; letter-spacing: -.02em; line-height: 1.15; margin-top: 3px } .kpi .v small { font-size: 13px; font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-left: 3px }
.kpi .s { font-size: 12px; color: var(--text-3); margin-top: auto; padding-top: 3px }
.kpi .d { font-size: 12px; font-weight: 600; margin-top: 1px } .kpi .d span { font-weight: 400; color: var(--text-3) }
.kpi .d.up-bad, .kpi .d.down-bad { color: var(--critical-ink) } .kpi .d.up-good, .kpi .d.down-good { color: var(--good-ink) } .kpi .d.flat { color: var(--text-2) }
.kpi svg.spark { position: absolute; right: 12px; top: 34px; width: 68px; height: 26px }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--text-3) }
.dot.good { background: var(--good) } .dot.warning { background: var(--warning) } .dot.serious { background: var(--serious) } .dot.critical { background: var(--critical) }

/* ---- cards ---- */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px 14px; min-width: 0; grid-column: span 12 }
.card > header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px } .card h3 { font-size: 14.5px }
.card .hint { font-size: 12px; color: var(--text-3); margin: 0 0 8px }
.src { margin-left: auto; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 10px; white-space: nowrap }
.src-sample { color: var(--warning-ink); background: var(--warning-bg) } .src-live { color: var(--good-ink); background: var(--good-bg) }
.card header a.more { font-size: 12.5px; margin-left: auto } .card header .src + a.more { margin-left: 8px }
.chart { height: 270px; width: 100% } .chart.tall { height: 310px } .chart.short { height: 230px }
@media (min-width: 1000px) { .w4 { grid-column: span 4 } .w5 { grid-column: span 5 } .w6 { grid-column: span 6 } .w7 { grid-column: span 7 } .w8 { grid-column: span 8 } }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 20px; background: var(--neutral-bg); color: var(--text-2); white-space: nowrap }
.pill.good { background: var(--good-bg); color: var(--good-ink) } .pill.warning { background: var(--warning-bg); color: var(--warning-ink) }
.pill.serious { background: var(--serious-bg); color: var(--serious-ink) } .pill.critical { background: var(--critical-bg); color: var(--critical-ink) }
.pill .dot { width: 6px; height: 6px }
table.t { width: 100%; border-collapse: collapse; font-size: 13px } table.t th { text-align: left; color: var(--text-2); font-weight: 600; font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--axis); white-space: nowrap }
table.t td { padding: 7px 8px; border-bottom: 1px solid var(--grid); vertical-align: middle } table.t tr:last-child td { border-bottom: 0 }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums }
.tw { overflow-x: auto } .empty { color: var(--text-3); padding: 18px 0; text-align: center; font-size: 13px }

.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px }
.panel { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; background: var(--surface-2) }
.panel .ph { display: flex; align-items: center; gap: 8px; margin-bottom: 8px } .panel .ph b { font-size: 14.5px } .panel .ph small { display: block; color: var(--text-2); font-size: 12px; font-weight: 400 }
.panel .ph .pill { margin-left: auto }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 4px 0 8px } .stats div { font-size: 12px; color: var(--text-2) } .stats div b { display: block; color: var(--text); font-size: 14px; font-weight: 600 }
.meter { margin-top: 6px } .meter .ml { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); margin-bottom: 3px } .meter .ml b { color: var(--text); font-weight: 600 }
.track { height: 8px; background: var(--neutral-bg); border-radius: 5px; overflow: hidden } .track i { display: block; height: 100%; border-radius: 5px; background: var(--s1) }
.track i.good { background: var(--good) } .track i.warning { background: var(--warning) } .track i.serious { background: var(--serious) } .track i.critical { background: var(--critical) }
.flag { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--critical-ink); background: var(--critical-bg); border-radius: 6px; padding: 3px 8px; display: inline-block }
.mrow { display: grid; grid-template-columns: minmax(120px, 1.1fr) 2fr auto; gap: 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--grid); font-size: 13px } .mrow:last-child { border: 0 }
.mrow .mv { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); white-space: nowrap } .mrow .mv b { color: var(--text) }

.waits { display: flex; gap: 18px; margin: 2px 0 10px } .waits div { font-size: 12px; color: var(--text-2) } .waits div b { display: block; font-size: 30px; line-height: 1.1; color: var(--text); font-weight: 680; letter-spacing: -.02em } .waits div b small { font-size: 13px; font-weight: 500; color: var(--text-2) }
.fc { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px } .fc span { font-size: 11.5px; color: var(--text-2); border: 1px solid var(--border); border-radius: 8px; padding: 3px 8px; background: var(--surface); display: inline-flex; gap: 6px; align-items: center } .fc span b { color: var(--text) }
.lanes { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px } .lane { width: 44px; border-radius: 7px; padding: 4px 0 3px; text-align: center; font-size: 10px; border: 1px solid var(--border); color: var(--text-3); background: var(--surface) }
.lane b { display: block; font-size: 13px } .lane.open { background: var(--good-bg); border-color: transparent; color: var(--good-ink) } .lane.pre.open { background: var(--accent-soft); color: var(--accent-ink) }
.lanekey { font-size: 11.5px; color: var(--text-3); margin: -4px 0 8px }

.journey { display: flex; gap: 3px; align-items: stretch; margin: 6px 0 4px } .jstep { min-width: 86px; flex: 1 }
.jstep .bar { height: 10px; border-radius: 3px; background: var(--s1); margin-bottom: 7px } .jstep:nth-child(2) .bar { background: var(--s2) } .jstep:nth-child(3) .bar { background: var(--s3) } .jstep:nth-child(4) .bar { background: var(--s4) } .jstep:nth-child(5) .bar { background: var(--s5) } .jstep:nth-child(6) .bar { background: var(--s6) }
.jstep b { font-size: 18px; font-weight: 660 } .jstep b small { font-size: 12px; color: var(--text-2); font-weight: 500 } .jstep span { display: block; font-size: 12.5px; font-weight: 600 } .jstep em { display: block; font-style: normal; font-size: 11.5px; color: var(--text-3) }
.jtotal { border-left: 1px solid var(--border); padding-left: 18px; margin-left: 12px; min-width: 150px } .jtotal b { font-size: 30px; font-weight: 680; letter-spacing: -.02em } .jtotal b small { font-size: 13px; color: var(--text-2); font-weight: 500 } .jtotal span { display: block; font-size: 12px; color: var(--text-2) }
.splitbar { display: flex; height: 22px; border-radius: 6px; overflow: hidden; gap: 2px; margin: 8px 0 10px } .splitbar i { display: block; min-width: 3px }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 7px }
.feed .fi { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--grid); align-items: start } .feed .fi:last-child { border: 0 }
.feed .fi .dot { margin-top: 6px } .feed .fi b { font-size: 13px; display: block } .feed .fi span { font-size: 12px; color: var(--text-2) } .feed .fi time { font-size: 12px; color: var(--text-3); text-align: right; white-space: nowrap } .feed .fi time em { display: block; font-style: normal; font-weight: 600 }

.floor { display: grid; grid-template-columns: 1.25fr .5fr 1fr; grid-template-rows: 54px 118px 86px; gap: 8px; margin-top: 4px }
.zone { border-radius: 9px; padding: 8px 11px; border: 1px solid var(--border); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: var(--surface-2) }
.zone::before { content: ""; position: absolute; inset: 0; opacity: .22; background: var(--zc, transparent) } .zone > * { position: relative }
.zone.good { --zc: var(--good) } .zone.warning { --zc: var(--warning) } .zone.serious { --zc: var(--serious) } .zone.critical { --zc: var(--critical) }
.zone b { font-size: 13px } .zone span { font-size: 12px; color: var(--text-2) } .zone strong { font-size: 19px; font-weight: 680 } .zone strong small { font-size: 12px; font-weight: 500; color: var(--text-2) }
.zone.z-curb { grid-column: 1 / 4; flex-direction: row; align-items: center; justify-content: space-between } .zone.z-checkin { grid-column: 1 } .zone.z-checkpoint { grid-column: 2 } .zone.z-bagclaim { grid-column: 3 } .zone.z-gates { grid-column: 1 / 4; flex-direction: row; align-items: center; justify-content: space-between }
.zone .future { font-size: 10.5px; color: var(--text-3); border: 1px dashed var(--axis); border-radius: 8px; padding: 0 6px; margin-left: 6px }
.legendrow { display: flex; gap: 14px; font-size: 12px; color: var(--text-2); margin-top: 10px; flex-wrap: wrap } .legendrow span { display: inline-flex; align-items: center; gap: 6px }

.camgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px }
.cam { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow) }
.cam .view { aspect-ratio: 16 / 9; background: #0b121b; position: relative; display: grid; place-items: center; color: #8ea0b3; font-size: 13px; text-align: center }
.cam .view img { width: 100%; height: 100%; object-fit: contain; display: block } .cam .view .tag { position: absolute; left: 10px; top: 10px }
.cam .view .ts { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: #dfe7ef; background: rgba(0, 0, 0, .5); padding: 1px 6px; border-radius: 5px }
.cam .info { padding: 10px 14px 12px } .cam .info b { font-size: 14px } .cam .info p { margin: 2px 0 0; font-size: 12.5px; color: var(--text-2) }
.cam.sm .view { aspect-ratio: 16 / 9 } .camstrip { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px }
#map { height: calc(100vh - 210px); min-height: 440px; border-radius: 12px; border: 1px solid var(--border) }
.mk { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); background: #607487 }
.mk.good { background: var(--good) } .mk.warning { background: var(--warning) } .mk.serious { background: var(--serious) } .mk.critical { background: var(--critical) }

/* ---- forms and admin ---- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px } .tabs a { padding: 8px 13px; color: var(--text-2); border-bottom: 2px solid transparent; font-weight: 500 } .tabs a.on { color: var(--text); border-color: var(--accent); font-weight: 650 } .tabs a:hover { text-decoration: none; color: var(--text) }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 14px } .form label { font-size: 12.5px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px } .form .full { grid-column: 1 / -1 }
.checks { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px } .checks label { flex-direction: row; align-items: center; gap: 6px; color: var(--text) }
details.box { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); margin-bottom: 10px } details.box > summary { padding: 10px 14px; cursor: pointer; display: flex; gap: 12px; align-items: center; list-style: none } details.box > summary::-webkit-details-marker { display: none }
details.box > summary b { font-size: 14px } details.box > summary small { color: var(--text-2) } details.box > summary .r { margin-left: auto; display: flex; gap: 8px; align-items: center } details.box > .in { padding: 4px 14px 14px; border-top: 1px solid var(--border) } details.box[open] > summary { background: var(--surface-2); border-radius: 10px 10px 0 0 }
.once { background: var(--good-bg); border: 1px solid var(--good); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px } .once code { font-size: 15px; font-weight: 700; background: var(--surface); padding: 2px 8px; border-radius: 6px }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px } @media (max-width: 999px) { .cols2 { grid-template-columns: 1fr } }
.muted { color: var(--text-2) } .right { margin-left: auto } .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap } .mt { margin-top: 14px } .mb { margin-bottom: 14px }
iframe.rep { width: 100%; height: 78vh; border: 1px solid var(--border); border-radius: 12px; background: #fff }

/* ---- sign-in ---- */
.auth { min-height: 100%; display: grid; grid-template-columns: 1.1fr 1fr } .auth .hero { background: linear-gradient(155deg, #0d1b2a 0%, #14324f 70%, #1a4a78 100%); color: #fff; padding: 56px 60px; display: flex; flex-direction: column; justify-content: center }
.auth .hero img { height: 44px; align-self: flex-start; margin-bottom: 34px; border-radius: 6px } .auth .hero h1 { font-size: 38px; line-height: 1.12; letter-spacing: -.02em; max-width: 520px } .auth .hero p { color: #c3d3e3; font-size: 16px; max-width: 500px; margin-top: 16px }
.auth .hero ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; max-width: 520px } .auth .hero li b { display: block; font-size: 22px } .auth .hero li span { color: #a9bdd1; font-size: 13px }
.auth .box { display: grid; place-items: center; padding: 30px; background: var(--surface) } .auth form { width: 100%; max-width: 340px } .auth form h2 { font-size: 22px; margin-bottom: 4px } .auth form p { color: var(--text-2); margin: 0 0 18px }
.auth form label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 12px } .auth form input { display: block; width: 100%; margin-top: 4px; padding: 9px 11px } .auth form .btn { width: 100%; justify-content: center; padding: 10px; margin-top: 4px }
.auth .fine { font-size: 12px; color: var(--text-3); margin-top: 18px }
@media (max-width: 899px) { .auth { grid-template-columns: 1fr } .auth .hero { display: none }
  .shell { grid-template-columns: 1fr; background: none } .side { position: static; height: auto } .side .navg { display: none } .side.open .navg { display: block } .content { padding: 14px } .top { padding: 8px 14px }
  .journey { flex-wrap: wrap } .jtotal { border: 0; padding: 0; margin: 8px 0 0 } .floor { grid-template-rows: auto } }
@media print { .side, .top, .filters { display: none } .shell { display: block } .card { break-inside: avoid } }
