:root {
  --ink: #10262E; --ink-2: #1B3640; --ink-3: #2A4A55;
  --paper: #F6F3EC; --card: #FFFFFF; --line: #E6E0D4; --line-2: #EFEBE3;
  --muted: #66737A; --text: #1A2A30;
  --gold: #C9892B; --gold-2: #E0A84A; --teal: #1E7A74;
  --good: #1F8A5B; --warn: #C98A12; --bad: #C2413A;
  --accent: #C9892B;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --r: 14px; --shadow: 0 1px 2px rgba(16,38,46,.06), 0 10px 30px -10px rgba(16,38,46,.22);
}
[lang="ar"] { --sans: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif; --serif: "IBM Plex Sans Arabic", sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a { color: inherit; }

.shell { display: grid; grid-template-columns: 248px 1fr; height: 100vh; }

/* ------------------------------------------------------------ navigator */
.rail { background: var(--ink); color: #E8E3D8; display: flex; flex-direction: column; padding: 16px 12px; overflow-y: auto; }
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; color: #fff; padding: 2px 6px 18px; }
.brand-mark { width: 36px; height: 36px; color: #1E3B46; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-txt b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.brand-txt small { display: block; font-size: 11.5px; color: #9FB0B5; margin-top: 1px; }
.nav-group { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7F9399; padding: 14px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: #D8D3C8; font-size: 14px; margin: 1px 0; position: relative; transition: background .15s, color .15s; }
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.on { background: rgba(255,255,255,.1); color: #fff; }
.nav a.on::before { content: ""; position: absolute; inset-inline-start: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c, var(--gold-2)); }
.nav .ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--c, #E8E3D8); flex: none; }
.nav a.on .ico { background: var(--c, var(--gold)); color: #fff; }
.nav .ico svg { width: 17px; height: 17px; }
.nav .lbl { line-height: 1.2; }
.nav .lbl small { display: block; font-size: 11px; color: #8FA1A6; }
.rail-foot { margin-top: auto; padding: 14px 6px 2px; display: grid; gap: 6px; border-top: 1px solid rgba(255,255,255,.08); }
.lang-btn { background: rgba(255,255,255,.08); border: 0; color: #fff; border-radius: 9px; padding: 8px; font-size: 13px; }
.lang-btn:hover { background: rgba(255,255,255,.14); }
.foot-link { font-size: 12.5px; color: #9FB0B5; text-decoration: none; padding: 3px 4px; }
.foot-link:hover { color: #fff; }

.main { position: relative; overflow: hidden; }

/* ------------------------------------------------------------ pages */
.page { height: 100%; overflow-y: auto; padding: 34px 40px 60px; }
.page-inner { max-width: 1240px; margin: 0 auto; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.page h1 { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.08; letter-spacing: -.015em; margin: 8px 0 10px; color: var(--ink); }
.page .lede { font-size: 16px; line-height: 1.6; color: #3E4F55; max-width: 760px; margin: 0 0 26px; }
.page h2 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 36px 0 14px; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.stat .v { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.stat .k { font-size: 13px; color: var(--muted); margin-top: 2px; }

.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.mod { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 1fr 150px; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; position: relative; }
.mod:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #D9D1C2; }
.mod::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.mod-body { padding: 20px 18px 18px 20px; display: flex; flex-direction: column; }
.mod-min { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--c); letter-spacing: .02em; }
.mod-min .chip { background: color-mix(in srgb, var(--c) 12%, white); padding: 2px 8px; border-radius: 999px; }
.mod h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 10px 0 4px; color: var(--ink); }
.mod .ar { font-size: 13px; color: var(--muted); }
.mod .hl { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.mod .hl b { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.mod .hl span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.mod .go { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--c); }
.mod-map { background: color-mix(in srgb, var(--c) 6%, #FBFAF7); display: grid; place-items: center; padding: 12px 8px; border-inline-start: 1px solid var(--line-2); }
.mod-map svg { width: 100%; height: auto; max-height: 190px; }

.plat { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pcard { background: var(--ink); color: #E8E3D8; border-radius: 16px; padding: 20px; text-decoration: none; display: block; transition: transform .18s; }
.pcard:hover { transform: translateY(-2px); }
.pcard b { display: block; font-family: var(--serif); font-size: 19px; color: #fff; margin-bottom: 6px; }
.pcard p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #B9C4C7; }
.pcard .n { font-family: var(--serif); font-size: 32px; color: var(--gold-2); margin-top: 12px; display: block; }

/* integrations */
.ints { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.int { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.int-top { display: flex; align-items: center; gap: 12px; }
.int-logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; flex: none; }
.int h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.int .sub { font-size: 12.5px; color: var(--muted); }
.int p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #3E4F55; }
.int ul { margin: 0; padding-inline-start: 18px; font-size: 13px; color: #3E4F55; line-height: 1.6; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.live { color: #17734B; background: #E4F3EA; }
.pill.partial { color: #8A5D06; background: #FBF0D6; }
.pill.partner { color: #1D5FA8; background: #E5EEFA; }
.pill.road { color: #5B6870; background: #ECEEEF; }
.pill.off { color: #A3392F; background: #FBE9E6; }
.int .spacer { flex: 1; }
.int .links { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; }
.btn:hover { border-color: #CFC6B5; background: #FCFBF8; }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.primary:hover { background: var(--ink-3); }
code.url { display: block; font-size: 11.5px; background: var(--paper); border-radius: 7px; padding: 6px 8px; word-break: break-all; color: #33464C; }

/* RFP table */
.rfp-sum { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.rfp-sum .pill { font-size: 13px; padding: 6px 12px; }
.rfp { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 16px; }
.rfp h3 { margin: 0; padding: 14px 18px; font-size: 14.5px; font-weight: 600; background: #FBFAF6; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--ink); }
.rfp h3 span { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.rfp-row { display: grid; grid-template-columns: 1fr 120px 1.1fr; gap: 16px; padding: 11px 18px; border-top: 1px solid var(--line-2); align-items: center; font-size: 13.5px; }
.rfp-row:first-of-type { border-top: 0; }
.rfp-row .req small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.rfp-row .where { color: #3E4F55; font-size: 13px; }
.rfp-row .where a { color: var(--teal); font-weight: 600; text-decoration: none; }
.rfp-row .where a:hover { text-decoration: underline; }

/* ------------------------------------------------------------ map view */
.mapview { position: absolute; inset: 0; }
.map { position: absolute; inset: 0; }
.map2 { z-index: 1; }
.swipe { position: absolute; top: 0; bottom: 0; z-index: 2; width: 0; inset-inline-start: 50%; }
.swipe::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.35); }
.swipe-handle { position: absolute; top: 50%; left: -22px; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: ew-resize; box-shadow: 0 4px 14px rgba(0,0,0,.3); color: var(--ink); touch-action: none; }
.swipe-handle svg { width: 22px; height: 22px; }
.swipe-lbl { position: absolute; bottom: 26px; background: rgba(16,38,46,.85); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.swipe-lbl.l { right: 14px; } .swipe-lbl.r { left: 14px; }

.view-head { position: absolute; z-index: 3; top: 16px; inset-inline-start: 16px; inset-inline-end: 436px; display: flex; align-items: center; gap: 12px; pointer-events: none; }
.vh-card { pointer-events: auto; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 12px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.vh-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.vh-ico svg { width: 21px; height: 21px; }
.vh-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.vh-min { font-size: 12px; color: var(--muted); }
.vh-ctl { pointer-events: auto; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow); font-size: 13px; }
.vh-ctl select { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: #fff; font-size: 13px; max-width: 220px; }
.vh-ctl label { color: var(--muted); font-size: 12px; padding-inline-start: 4px; }

.legend { position: absolute; z-index: 3; bottom: 26px; inset-inline-start: 16px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); font-size: 12px; min-width: 190px; }
.legend b { display: block; font-size: 12px; margin-bottom: 6px; color: var(--ink); }
.legend .row { display: flex; align-items: center; gap: 8px; margin: 3px 0; color: #3E4F55; font-variant-numeric: tabular-nums; }
.legend i { width: 18px; height: 11px; border-radius: 3px; display: inline-block; }
.map-note { position: absolute; z-index: 3; top: 82px; inset-inline-start: 16px; background: var(--ink); color: #fff; font-size: 13px; padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow); }

.panel { position: absolute; z-index: 3; top: 16px; bottom: 16px; inset-inline-end: 16px; width: 404px; background: var(--paper); border: 1px solid rgba(255,255,255,.7); border-radius: 18px; box-shadow: 0 20px 50px -18px rgba(16,38,46,.4); display: flex; flex-direction: column; overflow: hidden; }
.ptabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px; background: #fff; border-bottom: 1px solid var(--line); }
.ptabs button { border: 0; background: none; padding: 9px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ptabs button.on { background: var(--paper); color: var(--ink); }
.ptabs .spark { color: var(--accent); }
.pbody { flex: 1; overflow-y: auto; padding: 14px 14px 20px; scrollbar-width: thin; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; }
.kpi .v { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .k { font-size: 12px; color: var(--muted); margin-top: 3px; }
.insight { background: var(--ink); color: #E8E3D8; border-radius: 14px; padding: 14px 15px; font-size: 14px; line-height: 1.55; margin-bottom: 12px; position: relative; }
.insight .tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 5px; }
.insight b { color: #fff; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; margin-bottom: 12px; }
.card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; gap: 8px; }
.card-t { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-h select { border: 1px solid var(--line); border-radius: 7px; padding: 4px 6px; font-size: 12px; background: #fff; max-width: 190px; }
.bars .b { display: grid; grid-template-columns: 112px 1fr 64px; gap: 8px; align-items: center; font-size: 12.5px; padding: 4px 0; cursor: pointer; border-radius: 6px; }
.bars .b:hover { background: var(--paper); }
.bars .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bars .tr { height: 8px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.bars .tr i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.bars .vl { text-align: end; font-variant-numeric: tabular-nums; color: #3E4F55; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-t { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 500; color: #3E4F55; }
.chip-t i { width: 9px; height: 9px; border-radius: 50%; }
.chip-t[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg { display: inline-flex; background: var(--paper); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 5px 10px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.row2 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; font-size: 12.5px; color: var(--muted); }
.row2 select { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: #fff; font-size: 13px; }
.run { width: 100%; border: 0; border-radius: 10px; padding: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.run:disabled { opacity: .6; cursor: progress; }
.run.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.result { margin-top: 12px; display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; }
.ring { width: 92px; height: 92px; }
.ring text { font-family: var(--serif); font-weight: 600; }
.result .lines { font-size: 13px; line-height: 1.55; color: #3E4F55; }
.result .lines b { color: var(--ink); }
.method { font-size: 11.5px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.method.warn { color: #8A5D06; }
.gaps { margin-top: 10px; }
.gap { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.gap:hover { background: var(--paper); }
.gap b { font-variant-numeric: tabular-nums; color: var(--bad); }
.spots { display: grid; gap: 6px; }
.spot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px; background: #fff; text-align: start; width: 100%; }
.spot:hover { border-color: var(--accent); }
.spot small { display: block; color: var(--muted); font-size: 11.5px; }
.off-note { font-size: 13px; color: #3E4F55; line-height: 1.55; background: #FBF4E4; border: 1px solid #F0E1BC; border-radius: 10px; padding: 10px 12px; }
.src { font-size: 11.5px; color: var(--muted); line-height: 1.5; padding: 2px 4px; }
.traffic-key { display: flex; gap: 10px; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.traffic-key i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; vertical-align: middle; margin-inline-end: 4px; }

/* chat */
.chatwrap { display: flex; flex-direction: column; padding: 0; }
.chat { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-intro p { font-size: 14px; color: #3E4F55; line-height: 1.5; margin: 2px 2px 12px; }
.prompts { display: grid; gap: 7px; }
.prompts button { text-align: start; border: 1px solid var(--line); background: #fff; border-radius: 11px; padding: 10px 12px; font-size: 13.5px; line-height: 1.35; }
.prompts button:hover { border-color: var(--accent); }
.msg { font-size: 14px; line-height: 1.55; max-width: 94%; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; padding: 9px 13px; border-radius: 14px 14px 4px 14px; white-space: pre-wrap; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); padding: 11px 13px; border-radius: 14px 14px 14px 4px; }
[dir="rtl"] .msg.user { align-self: flex-start; border-radius: 14px 14px 14px 4px; }
[dir="rtl"] .msg.bot { align-self: flex-end; border-radius: 14px 14px 4px 14px; }
.msg.bot p { margin: 0 0 8px; } .msg.bot p:last-child { margin: 0; }
.msg.bot ul, .msg.bot ol { margin: 4px 0 8px; padding-inline-start: 20px; }
.msg.bot .md-h { font-weight: 600; margin: 8px 0 4px; }
.md-table { overflow-x: auto; margin: 6px 0; } .md-table table { border-collapse: collapse; font-size: 12.5px; }
.md-table th, .md-table td { border-bottom: 1px solid var(--line); padding: 4px 8px; text-align: start; }
.steps { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 7px; }
.step { font-size: 11.5px; background: var(--paper); border-radius: 999px; padding: 3px 9px; color: #3E4F55; display: inline-flex; gap: 5px; align-items: center; }
.step.run::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); border-right-color: transparent; animation: spin .8s linear infinite; }
.step.ok::before { content: "✓"; color: var(--good); font-weight: 700; }
.step.err::before { content: "!"; color: var(--bad); font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
.typing { color: var(--muted); font-size: 13px; }
.err { color: var(--bad); }
.composer { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.composer textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 11px; padding: 9px 11px; font-size: 14px; background: var(--paper); }
.composer textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.composer button { width: 42px; border: 0; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.composer button:disabled { opacity: .5; }
.composer svg { width: 19px; height: 19px; }

/* popups */
.maplibregl-popup-content { border-radius: 12px; padding: 12px 14px; font-family: var(--sans); box-shadow: var(--shadow); min-width: 210px; }
.pp-t { font-weight: 600; font-size: 14px; color: var(--ink); }
.pp-s { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.pp-g { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 12.5px; }
.pp-g span:nth-child(even) { text-align: end; font-variant-numeric: tabular-nums; font-weight: 600; }
.pp-ask { margin-top: 8px; border: 0; background: none; color: var(--teal); font-weight: 600; font-size: 12.5px; padding: 0; }
.maplibregl-ctrl-bottom-right { bottom: 6px; right: 430px; }
[dir="rtl"] .maplibregl-ctrl-bottom-right { right: 6px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .rail { flex-direction: row; align-items: center; padding: 8px; overflow-x: auto; gap: 6px; }
  .brand { padding: 0 6px; } .brand-txt small, .nav-group, .nav .lbl small, .rail-foot .foot-link { display: none; }
  .nav { display: flex; gap: 2px; } .nav a { white-space: nowrap; padding: 6px 8px; }
  .nav a.on::before { display: none; }
  .rail-foot { margin: 0; border: 0; padding: 0; }
  .panel { top: auto; left: 8px; right: 8px; width: auto; height: 46%; bottom: 8px; }
  .view-head { inset-inline-end: 16px; flex-wrap: wrap; }
  .legend { display: none; }
  .page { padding: 22px 16px 40px; } .page h1 { font-size: 30px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .mods { grid-template-columns: 1fr; }
  .rfp-row { grid-template-columns: 1fr; gap: 4px; }
  .maplibregl-ctrl-bottom-right { right: 6px; bottom: 48%; }
}
