/* AGRAAJA · Places of Interest — green and gold on silver. No black anywhere. Desktop and mobile layouts. */
:root {
  --green: #0B3D2E; --green-2: #137353; --green-3: #1E8A63; --green-tint: #E3EFE9; --green-soft: #F1F7F4;
  --gold: #C9A84C; --gold-2: #E2B93F; --gold-deep: #8E6B1F; --gold-line: rgba(201, 168, 76, .55); --gold-pale: #F4EAD0;
  --silver: #EEF1F2; --silver-2: #E2E7E9; --surface: #FFFFFF; --surface-2: #F6F8F8; --hair: #D9E0DE;
  --ink: #123527; --ink-2: #3D5A4E; --ink-3: #62786F; --danger: #A0522D; --danger-tint: #F6E7DF; --sea: rgba(58, 143, 183, .17); --land: #E8EDEB;
  --display: "Cormorant Garamond", Georgia, serif; --body: Jost, "Segoe UI", Roboto, Arial, sans-serif; --brand: Cinzel, "Cormorant Garamond", serif; --mono: "JetBrains Mono", Consolas, monospace;
  --r: 14px; --shadow: 0 10px 30px rgba(11, 61, 46, .10); --shadow-lg: 0 24px 60px rgba(11, 61, 46, .18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green: #062419; --green-2: #3FAE83; --green-3: #5CC096; --green-tint: #173327; --green-soft: #10261D;
    --gold: #D9B867; --gold-deep: #E2C47C; --gold-line: rgba(217, 184, 103, .45); --gold-pale: #2B2614;
    --silver: #0B1A14; --silver-2: #10231B; --surface: #10221B; --surface-2: #142A21; --hair: #22392F;
    --ink: #E6EEEA; --ink-2: #BDCAC4; --ink-3: #93A49D; --danger: #E39B7A; --danger-tint: #3A2219; --sea: rgba(58, 143, 183, .2); --land: #13271F;
    --shadow: 0 10px 30px rgba(0, 20, 12, .45); color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--body); color: var(--ink); background: var(--silver); }
a { color: var(--green-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); color: var(--green); margin: 0; line-height: 1.15; font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) h1, :root:not([data-theme="light"]) h2, :root:not([data-theme="light"]) h3 { color: var(--green-3); } }
img { max-width: 100%; }
code { font: 500 12px var(--mono); color: var(--green-2); background: var(--green-tint); border-radius: 5px; padding: 1px 5px; word-break: break-word; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.22em; }

/* ---------- shared controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: 600 14px var(--body); background: var(--green-2); color: #fff; border: 1px solid var(--green-2); border-radius: 10px; padding: 9px 15px; cursor: pointer; text-decoration: none; white-space: nowrap; line-height: 1.2; }
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: var(--surface); color: var(--green-2); border-color: var(--hair); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #1F3B2F; }
.btn.danger { background: var(--surface); color: var(--danger); border-color: var(--danger); }
.btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }
.linkbtn { background: none; border: 0; padding: 0; font: 600 13px var(--body); color: var(--green-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn.danger { color: var(--danger); }
.field { display: grid; gap: 5px; min-width: 0; }
.field > span, .label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); }
.field input, .field select, .field textarea, .input { font: 14.5px var(--body); color: var(--ink); background: var(--surface-2); border: 1px solid var(--hair); border-radius: 9px; padding: 9px 11px; width: 100%; min-width: 0; }
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field .err, .errtxt { color: var(--danger); font-size: 12.5px; font-weight: 500; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--green-2); }
.hint { font-size: 12.5px; color: var(--ink-3); margin: 4px 0 0; }
.muted { color: var(--ink-3); }
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 2px 9px; border: 1px solid var(--hair); background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill.ok { border-color: var(--green-2); color: var(--green-2); background: var(--green-soft); }
.pill.gold { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-pale); }
.pill.warn { border-color: var(--danger); color: var(--danger); background: var(--danger-tint); }
.pill.dim { color: var(--ink-3); }
.pill.solid { background: var(--green); color: #E8CF8C; border-color: var(--green); }
.open { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.open::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.open.yes { color: var(--green-2); } .open.no { color: var(--danger); }
.glyph { display: inline-grid; place-items: center; border-radius: 12px; color: #fff; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.glyph .icon { width: 52%; height: 52%; }
.card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r); padding: 18px 20px; min-width: 0; }
.card > h2 { font-size: 24px; margin-bottom: 4px; }
.card > h3 { font-size: 20px; margin-bottom: 6px; }
.card + .card { margin-top: 16px; }
.section-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.section-h h2 { font-size: 26px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.flash { border-radius: 12px; padding: 11px 15px; margin: 0 0 16px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.flash.ok { background: var(--green-tint); color: var(--green-2); border: 1px solid rgba(19, 115, 83, .3); }
.flash.error { background: var(--danger-tint); color: var(--danger); border: 1px solid var(--danger); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--hair); border-radius: var(--r); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-align: left; color: var(--ink-3); font-weight: 600; padding: 11px 12px; border-bottom: 1px solid var(--gold-line); background: var(--surface-2); white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid var(--hair); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--green-soft); }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.place { display: flex; gap: 11px; align-items: center; min-width: 0; }
.place b { display: block; color: var(--green); font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .place b { color: var(--green-3); } }
.place small { display: block; color: var(--ink-3); font-size: 12.5px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 500 13px var(--body); border: 1px solid var(--hair); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 6px 13px; cursor: pointer; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.chip.on { background: var(--green-2); color: #fff; border-color: var(--green-2); }
.toggle { position: relative; display: inline-block; width: 40px; height: 23px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle i { position: absolute; inset: 0; border-radius: 999px; background: var(--silver-2); border: 1px solid var(--hair); cursor: pointer; transition: background .15s; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--ink-3); transition: transform .15s; }
.toggle input:checked + i { background: var(--green-2); border-color: var(--green-2); }
.toggle input:checked + i::after { background: #fff; transform: translateX(17px); }
.toggle input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--hair); border-top: 3px solid var(--gold); border-radius: 12px; padding: 13px 15px; display: grid; gap: 1px; }
a.kpi { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-top-color .15s ease; cursor: pointer; }
a.kpi:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(11,61,46,.12); border-top-color: var(--green); }
a.kpi:hover b { color: var(--gold); }
a.kpi:hover small { color: var(--green-2); }
.kpi span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.kpi b { font: 600 32px var(--display); color: var(--green); line-height: 1.1; }
.kpi small { color: var(--ink-3); font-size: 12.5px; }
.pager { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.pager a, .pager span { padding: 6px 11px; border-radius: 8px; border: 1px solid var(--hair); background: var(--surface); text-decoration: none; font-size: 13.5px; color: var(--ink-2); }
.pager .on { background: var(--green); color: #E8CF8C; border-color: var(--green); }
.pre { background: var(--green); color: #DDEBE4; border: 1px solid var(--gold); border-radius: 12px; padding: 12px 14px; font: 12px/1.55 var(--mono); overflow: auto; max-height: 420px; white-space: pre; margin: 0; }
details.more > summary { cursor: pointer; font-weight: 600; color: var(--green-2); }
.empty { text-align: center; color: var(--ink-3); padding: 28px 16px; }
.warn-text { color: var(--danger); font-size: 12.5px; font-weight: 600; }

/* ---------- schematic map ---------- */
.map { border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; background: var(--land); position: relative; }
.map svg { display: block; width: 100%; height: auto; touch-action: manipulation; }
.map .land { fill: var(--land); }
.map .sea { fill: var(--sea); stroke: rgba(58, 143, 183, .45); stroke-width: 1.2; }
.map .creek { fill: none; stroke: rgba(58, 143, 183, .45); stroke-width: 5; stroke-linecap: round; }
.map .grid { stroke: var(--hair); stroke-width: .6; stroke-dasharray: 2 4; }
.map .ring { fill: rgba(201, 168, 76, .06); stroke: var(--gold); stroke-width: 1; stroke-dasharray: 4 4; }
.map .ring-t { font: 600 10px var(--body); fill: var(--gold-deep); }
.map .route { fill: none; stroke: var(--green-2); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 7 5; }
.map .mk circle { stroke: #fff; stroke-width: 2; }
.map .mk.on circle { stroke: var(--gold); stroke-width: 3.2; }
.map .mk.dim { opacity: .35; }
.map .mk text { font: 700 10px var(--body); fill: #fff; text-anchor: middle; pointer-events: none; }
.map a.mk:hover circle { stroke: var(--gold); }
.map .prop rect { fill: var(--gold); stroke: var(--green); stroke-width: 2.5; }
.map .lbl rect { fill: var(--green); stroke: var(--gold); stroke-width: 1; }
.map .lbl text { font: 600 12px var(--body); fill: #fff; text-anchor: middle; }
.map .cap { font: 500 9.5px var(--body); fill: var(--ink-3); text-anchor: end; }
.map .sea-t { font: italic 600 15px var(--display); fill: rgba(58, 143, 183, .8); letter-spacing: .08em; }
.map.pick svg { cursor: crosshair; }

/* ================= CONSOLE · DESKTOP ================= */
.console { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--green); color: #fff; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; border-right: 1px solid var(--gold); overflow-y: auto; }
.side .brand { display: flex; gap: 11px; align-items: center; padding: 18px 18px 14px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--gold); }
.brand .word { font: 600 21px var(--brand); letter-spacing: .14em; color: #E8CF8C; line-height: 1; }
.brand .tag { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 4px; }
.side nav { display: grid; gap: 2px; padding: 8px 10px; }
.side nav .grp { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(232, 207, 140, .75); padding: 14px 10px 6px; }
.side nav a { display: flex; gap: 11px; align-items: center; color: rgba(255, 255, 255, .86); text-decoration: none; padding: 9px 11px; border-radius: 10px; font-weight: 500; font-size: 14.5px; }
.side nav a:hover { background: rgba(255, 255, 255, .08); }
.side nav a.on { background: rgba(232, 207, 140, .16); color: #E8CF8C; box-shadow: inset 3px 0 0 var(--gold); }
.side .foot { margin-top: auto; padding: 14px 16px 18px; border-top: 1px solid rgba(232, 207, 140, .25); display: grid; gap: 10px; }
.side .foot form select { width: 100%; font: 13.5px var(--body); color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(232, 207, 140, .45); border-radius: 9px; padding: 8px 9px; }
.side .foot form select option { color: var(--ink); background: var(--surface); }
.side .foot .label { color: #E8CF8C; }
.side .foot small { color: rgba(255, 255, 255, .65); font-size: 12px; }
.side .foot a { color: #E8CF8C; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 14px; padding: 18px 30px 16px; background: var(--surface); border-bottom: 1px solid var(--hair); position: sticky; top: 0; z-index: 5; }
.topbar h1 { font-size: 30px; }
.topbar .crumbs { font-size: 12.5px; color: var(--ink-3); }
.topbar .crumbs a { color: var(--ink-3); }
.content { padding: 24px 30px 40px; max-width: 1440px; width: 100%; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 18px; align-items: start; }
.sticky { position: sticky; top: 92px; }
.filters { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-bottom: 14px; }
.filters .field { min-width: 150px; }
.filters .grow { flex: 1 1 220px; }
.filters .check { padding-bottom: 9px; }
.sitefoot { margin-top: auto; padding: 16px 30px; color: var(--ink-3); font-size: 12.5px; border-top: 1px solid var(--hair); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.layout-switch { display: inline-flex; border: 1px solid var(--hair); border-radius: 9px; overflow: hidden; }
.layout-switch a { padding: 5px 10px; font-size: 12.5px; text-decoration: none; color: var(--ink-2); background: var(--surface); }
.layout-switch a.on { background: var(--green); color: #E8CF8C; }

/* forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.tag-pick { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-pick label { position: relative; }
.tag-pick input { position: absolute; opacity: 0; }
.tag-pick span { display: inline-block; font: 500 13px var(--body); border: 1px solid var(--hair); background: var(--surface-2); color: var(--ink-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.tag-pick input:checked + span { background: var(--green-tint); border-color: var(--green-2); color: var(--green-2); }
.tag-pick input:focus-visible + span { outline: 2px solid var(--gold); }
.hours { display: grid; gap: 7px; }
.hours label { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; }
.hours b { font-size: 13px; color: var(--green-2); }
.hours input { font: 14px var(--mono); }
.formbar { display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; padding-top: 6px; }

/* curation */
.cur-table select, .cur-table input[type=number], .cur-table input[type=text] { font: 13.5px var(--body); color: var(--ink); background: var(--surface-2); border: 1px solid var(--hair); border-radius: 7px; padding: 5px 7px; }
.cur-table input[type=number] { width: 72px; }
.cur-table .note { width: 100%; min-width: 180px; border: 0; border-bottom: 1px dashed var(--hair); border-radius: 0; background: none; padding: 3px 0; font-size: 12.5px; color: var(--ink-2); }
.cur-table tr.suspended td { opacity: .6; }
.cand { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.cand:last-child { border-bottom: 0; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline .stop { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--hair); border-radius: 12px; padding: 10px 13px; }
.timeline .stop .seq { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green-2); color: #fff; font: 700 13px var(--body); flex: none; }
.timeline .stop.origin .seq { background: var(--gold); color: var(--green); border-radius: 8px; transform: rotate(45deg); width: 22px; height: 22px; margin: 0 4px; }
.timeline .stop.origin .seq span { transform: rotate(-45deg); }
.timeline .stop.visited .seq { background: var(--green); }
.timeline .stop.skipped { opacity: .6; } .timeline .stop.skipped .seq { background: var(--ink-3); }
.timeline .stop.arrived { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-pale); }
.timeline .stop .body { flex: 1; min-width: 0; display: grid; }
.timeline .stop .body b { color: var(--green); }
.timeline .stop .body small { color: var(--ink-3); font-size: 12.5px; }
.timeline .leg { margin-left: 15px; padding: 6px 0 6px 18px; border-left: 2px dashed var(--gold-line); font-size: 12.5px; color: var(--ink-3); }
.totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 12px 0 16px; }
.totals div { background: var(--surface); border: 1px solid var(--hair); border-radius: 11px; padding: 9px 12px; display: grid; }
.totals span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.totals b { font: 600 22px var(--display); color: var(--green); }
.erd { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r); padding: 12px; overflow-x: auto; }
.erd img { min-width: 760px; display: block; margin: 0 auto; }
.ref-table td:first-child { white-space: nowrap; }

/* ================= CONSOLE · MOBILE ================= */
.m-console { min-height: 100vh; padding-bottom: 78px; }
.m-top { position: sticky; top: 0; z-index: 10; background: var(--green); color: #fff; padding: 10px 16px 12px; border-bottom: 2px solid var(--gold); }
.m-top .bar { display: flex; align-items: center; gap: 10px; }
.m-top .brand img { width: 34px; height: 34px; border-radius: 8px; }
.m-top .brand .word { font-size: 16px; }
.m-top h1 { color: #fff; font-size: 25px; margin-top: 8px; }
.m-top form select { font: 13px var(--body); color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(232, 207, 140, .5); border-radius: 999px; padding: 5px 10px; max-width: 58vw; }
.m-top form select option { color: var(--ink); background: var(--surface); }
.m-content { padding: 14px 16px 24px; }
.m-tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--hair); padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(11, 61, 46, .08); }
.m-tabs a { display: grid; justify-items: center; gap: 2px; font: 600 11px var(--body); color: var(--ink-3); text-decoration: none; padding: 4px 0; }
.m-tabs a .icon { width: 22px; height: 22px; }
.m-tabs a.on { color: var(--green-2); } .m-tabs a.on .icon { color: var(--gold-deep); }
.m-list { display: grid; gap: 9px; }
.m-item { display: flex; gap: 11px; align-items: center; background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; padding: 11px 12px; text-decoration: none; color: inherit; }
.m-item .place { flex: 1; }
.m-console .split, .m-console .grid2, .m-console .grid3 { grid-template-columns: minmax(0, 1fr); }
.m-console .form-grid { grid-template-columns: minmax(0, 1fr); }
.m-console .sticky { position: static; }
.m-console .filters .field { min-width: 0; flex: 1 1 45%; }
.m-console .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-console .kpi b { font-size: 27px; }
.m-console .card { padding: 15px 15px; }
.m-console .formbar { position: sticky; bottom: 70px; background: var(--silver); padding: 10px 0; }
.m-cur { display: grid; gap: 10px; }
.m-cur .card { padding: 13px; }
.m-cur .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }

/* ================= GUEST APP ================= */
.g-body { background: var(--silver); }
.g-desk-head { background: var(--green); color: #fff; border-bottom: 2px solid var(--gold); }
.g-desk-head .in { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; gap: 18px; align-items: center; }
.g-desk-head nav { display: flex; gap: 4px; margin-left: 18px; }
.g-desk-head nav a { color: rgba(255, 255, 255, .85); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.g-desk-head nav a.on { background: rgba(232, 207, 140, .18); color: #E8CF8C; }
.g-desk-head nav a em { font-style: normal; background: var(--gold); color: var(--green); border-radius: 999px; font-size: 11px; font-weight: 700; padding: 0 7px; }
.g-desk-head .prop { margin-left: auto; text-align: right; }
.g-desk-head .prop b { display: block; font: 600 18px var(--display); color: #E8CF8C; }
.g-desk-head .prop small { color: rgba(255, 255, 255, .7); }
.g-wrap { max-width: 1240px; margin: 0 auto; padding: 22px 24px 40px; }
.g-hero { background: var(--green); color: #fff; border-radius: 20px; padding: 22px 24px; border: 1px solid var(--gold); background-image: radial-gradient(rgba(201, 168, 76, .35) 1px, transparent 1.3px); background-size: 12px 12px; }
.g-hero .eyebrow { color: #E8CF8C; }
.g-hero h2 { color: #fff; font-size: 32px; margin: 4px 0 14px; }
.g-search { display: flex; gap: 8px; }
.g-search input { flex: 1; min-width: 0; border: 1px solid var(--gold); background: #fff; color: #123527; border-radius: 12px; padding: 11px 13px; font: 15px var(--body); }
.g-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; scrollbar-width: none; }
.g-chips::-webkit-scrollbar { display: none; }
.g-h { font: 600 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin: 20px 0 10px; }
.g-car { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 260px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.g-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--hair); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; display: grid; }
.g-card .img { height: 124px; position: relative; display: grid; place-items: center; color: #fff; }
.g-card .img .icon { width: 46px; height: 46px; opacity: .95; }
.g-card .img small { position: absolute; left: 11px; top: 10px; font: 600 10px var(--body); letter-spacing: .1em; text-transform: uppercase; color: #F3E3B5; }
.g-card .img em { position: absolute; right: 10px; bottom: 10px; font: 600 12px var(--body); font-style: normal; background: rgba(11, 61, 46, .78); border: 1px solid rgba(232, 207, 140, .7); border-radius: 999px; padding: 2px 9px; }
.g-card .txt { padding: 11px 13px 13px; display: grid; gap: 3px; }
.g-card .txt b { color: var(--green); font-size: 16px; }
.g-rows { display: grid; gap: 9px; }
.g-row { display: flex; gap: 10px; align-items: center; }
.g-row > a { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--hair); border-radius: 15px; padding: 10px 12px; text-decoration: none; color: inherit; }
.g-row .place { flex: 1; }
.g-add { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--green-2); background: var(--surface); color: var(--green-2); cursor: pointer; display: grid; place-items: center; flex: none; padding: 0; }
.g-add.on { background: var(--green-2); color: #fff; }
.g-add .icon { width: 20px; height: 20px; }
.g-cols { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: start; }
.g-cols .aside { position: sticky; top: 16px; display: grid; gap: 14px; }
.g-place-hero { color: #fff; border-radius: 20px; padding: 20px 22px; min-height: 190px; display: grid; align-content: space-between; gap: 18px; border: 1px solid var(--gold); }
.g-place-hero h2 { color: #fff; font-size: 34px; }
.g-place-hero .eyebrow { color: #F3E3B5; }
.g-place-hero .back { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .4); color: #fff; display: grid; place-items: center; text-decoration: none; }
.g-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.g-modes div { background: var(--surface); border: 1px solid var(--hair); border-radius: 13px; padding: 10px; text-align: center; display: grid; gap: 1px; }
.g-modes div span { font-size: 12px; color: var(--ink-3); display: inline-flex; gap: 5px; align-items: center; justify-content: center; }
.g-modes div b { color: var(--green); font-size: 16px; }
.g-hours { display: grid; gap: 2px; }
.g-hours div { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.g-hours .today { background: var(--green-tint); color: var(--green-2); font-weight: 600; }
.g-tip { background: var(--gold-pale); border-left: 3px solid var(--gold); border-radius: 10px; padding: 10px 13px; }
.g-tip b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.g-facts { display: flex; flex-wrap: wrap; gap: 7px; }
.g-facts span { font-size: 12.5px; border: 1px solid var(--gold-line); color: var(--gold-deep); border-radius: 999px; padding: 3px 10px; display: inline-flex; gap: 5px; align-items: center; }
.g-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--surface-2); border: 1px solid var(--hair); border-radius: 12px; padding: 4px; }
.g-seg label { position: relative; }
.g-seg input { position: absolute; opacity: 0; }
.g-seg span { display: flex; flex-direction: column; align-items: center; gap: 2px; font: 600 12.5px var(--body); color: var(--ink-2); border-radius: 9px; padding: 8px 2px; cursor: pointer; text-align: center; }
.g-seg input:checked + span { background: var(--green); color: #E8CF8C; }
.g-seg input:focus-visible + span { outline: 2px solid var(--gold); }
.g-tot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.g-tot div { background: var(--green); border-radius: 13px; padding: 10px; text-align: center; display: grid; border: 1px solid rgba(232, 207, 140, .35); }
.g-tot b { color: #E8CF8C; font: 600 22px var(--display); }
.g-tot span { color: rgba(255, 255, 255, .75); font-size: 11.5px; }
.g-plan .stop { gap: 10px; }
.g-plan .stop .tools { display: flex; gap: 4px; align-items: center; }
.g-plan .stop .tools button, .g-plan .stop .tools select { border: 1px solid var(--hair); background: var(--surface-2); color: var(--green-2); border-radius: 8px; height: 30px; min-width: 30px; cursor: pointer; font: 13px var(--body); padding: 0 6px; }
.g-plan .stop .tools button:disabled { opacity: .3; cursor: default; }
.g-now { background: var(--green); color: #fff; border-radius: 18px; padding: 16px; border: 1px solid var(--gold); display: grid; gap: 12px; }
.g-now .eyebrow { color: #E8CF8C; }
.g-now b.title { font: 600 26px var(--display); color: #fff; }
.g-now .btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(232, 207, 140, .6); }
.g-progress { height: 9px; background: var(--surface-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--hair); }
.g-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-2), var(--gold)); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.consent input { margin-top: 3px; accent-color: var(--gold); width: 17px; height: 17px; }
.g-foot { text-align: center; color: var(--ink-3); font-size: 12.5px; padding: 20px 16px 30px; display: grid; gap: 8px; justify-items: center; }

/* Guest · mobile app shell */
.g-mobile { min-height: 100vh; padding-bottom: 84px; }
.g-m-top { background: var(--green); color: #fff; padding: 12px 16px 16px; border-bottom: 2px solid var(--gold); background-image: radial-gradient(rgba(201, 168, 76, .3) 1px, transparent 1.3px); background-size: 12px 12px; }
.g-m-top .bar { display: flex; align-items: center; gap: 10px; }
.g-m-top .bar img { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--gold); }
.g-m-top .bar b { font: 600 17px var(--display); color: #E8CF8C; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-m-top .eyebrow { color: #E8CF8C; margin-top: 12px; }
.g-m-top h2 { color: #fff; font-size: 28px; margin: 2px 0 12px; }
.g-m-top.slim h2 { display: none; }
.g-m-body { padding: 12px 16px 20px; }
.g-mobile .g-cols { grid-template-columns: minmax(0, 1fr); }
.g-mobile .g-cols .aside { position: static; }
.g-mobile .g-hero { display: none; }
.g-mobile .g-car { grid-auto-columns: 74%; }
.g-mobile .g-place-hero { border-radius: 0 0 22px 22px; margin: -12px -16px 0; border-width: 0 0 1px; }
.g-mobile .g-place-hero h2 { font-size: 30px; }
.g-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--hair); padding: 7px 4px calc(9px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(11, 61, 46, .08); }
.g-tabs a { display: grid; justify-items: center; gap: 2px; font: 600 11.5px var(--body); color: var(--ink-3); text-decoration: none; position: relative; }
.g-tabs a .icon { width: 23px; height: 23px; }
.g-tabs a.on { color: var(--green-2); } .g-tabs a.on .icon { color: var(--gold-deep); }
.g-tabs em { position: absolute; top: -3px; left: calc(50% + 6px); font-style: normal; background: var(--gold); color: var(--green); border-radius: 999px; font: 700 10px var(--body); padding: 1px 6px; }

/* ---------- responsive safety: a narrow desktop window still works ---------- */
@media (max-width: 1100px) {
  .console { grid-template-columns: 218px minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .g-cols { grid-template-columns: minmax(0, 1fr); }
  .g-cols .aside { position: static; }
}
@media (max-width: 820px) {
  .console { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; }
  .side nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .side nav .grp { display: none; }
  .topbar, .content, .sitefoot { padding-left: 16px; padding-right: 16px; }
  .grid2, .grid3, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .g-desk-head .in { flex-wrap: wrap; padding: 12px 16px; }
  .g-desk-head nav { margin-left: 0; overflow-x: auto; }
  .g-wrap { padding: 16px; }
}
@media (min-width: 900px) {
  .m-content, .g-m-body { max-width: 760px; margin: 0 auto; }
}
[hidden]{display:none !important}
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.g-cols > *, .stack > *, .split > *, .grid2 > * { min-width: 0; }
.field input[type=date], .field input[type=time] { min-width: 0; max-width: 100%; }
.timeline > * { min-width: 0; }
.g-mobile .g-plan .stop { flex-wrap: wrap; }
.g-mobile .g-plan .stop .body { flex-basis: calc(100% - 50px); }
.g-mobile .g-plan .stop .tools { width: 100%; justify-content: flex-end; padding-left: 42px; }
.kpis { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }
.form-grid { align-items: start; }
.m-top .brand .word { display: none; }
.m-top .bar form { min-width: 0; flex: 1; display: flex; justify-content: flex-end; }
.m-top form select { max-width: 100%; }
