/* sip&seek: clean tool UI with a warm accent. Light + dark themes. */
/* sip&seek brand: espresso, cream, terracotta and honey. */
:root {
  --bg: #f5ede3;
  --surface: #fffaf4;
  --surface-2: #f9f2e9;
  --ink: #2a1b12;
  --ink-2: #4b392c;
  --muted: #6b5646;
  --line: #eadfd1;
  --line-2: #dccdbb;
  --accent: #b8452a;          /* deep S&S coral: passes AA for text and buttons */
  --accent-deep: #8f3420;
  --accent-ink: #fff6ec;
  --accent-soft: #fbe2d8;
  --honey: #f2b24c;
  --honey-soft: #fbefd9;
  --open: #4d6a28;            /* warm olive for "open" */
  --open-soft: #ebf0dc;
  --warm: #8a5418;
  --warm-soft: #fbefd9;
  --closed: #a8432f;
  --closed-soft: #f6e1da;
  --unknown: #76604f;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(42,27,18,.06), 0 6px 18px rgba(120,70,30,.08);
  --shadow-lg: 0 18px 48px rgba(60,32,14,.22);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .28 0 0 0 0 .15 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --mono: "Inter", system-ui, sans-serif;   /* small labels: Inter with tabular figures */
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Alfa Slab One", Rockwell, Georgia, serif;   /* single weight: never fake-bold it */
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #17100b; --surface: #211710; --surface-2: #2a1e15; --ink: #f6eadc; --ink-2: #dccab6; --muted: #ad957f;
  --line: #36281d; --line-2: #4a3727; --accent: #f08a6a; --accent-deep: #f6a68c; --accent-ink: #1f120a; --accent-soft: #3c2416;
  --honey: #ebb763; --honey-soft: #36281a; --open: #a9c47a; --open-soft: #27301a; --warm: #ebb763; --warm-soft: #36281a;
  --closed: #ee8d78; --closed-soft: #3d201a; --unknown: #9c8875;
  --shadow: 0 1px 2px rgba(0,0,0,.45), 0 6px 18px rgba(0,0,0,.35); --shadow-lg: 0 18px 48px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
body { font: 14px/1.5 var(--sans); font-variant-numeric: tabular-nums; background: var(--grain), var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
.finder { height: 100vh; height: 100dvh; display: flex; flex-direction: column; position: relative; border-top: 1px solid var(--line); }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 3000; background: var(--ink); color: var(--bg); padding: 6px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
kbd { font: 11px var(--mono); padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; color: var(--muted); background: var(--surface-2); }

/* buttons & controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; text-decoration: none; color: var(--ink); }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--line); }
.btn.ghost[aria-pressed="true"] { background: var(--warm-soft); color: var(--warm); }
.btn.icon { width: 40px; padding: 0; font-size: 16px; }
.btn.sm { height: 36px; padding: 0 10px; font-size: 13px; }
select { height: 38px; padding: 0 28px 0 10px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; font-size: 13px; }
.toggle { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); font-size: 13px; white-space: nowrap; }
.toggle[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-deep); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--open); display: inline-block; box-shadow: 0 0 0 3px var(--open-soft); }

/* top bar */
.topbar { display: flex; align-items: center; gap: 16px; height: 58px; padding: 0 18px; background: var(--surface); border-bottom: 1px solid var(--line); flex: none; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo { width: 30px; height: 30px; }
.logo-bg { fill: var(--accent); }
.logo-cup { fill: var(--accent-ink); }
.logo-pin { fill: var(--honey); }
.logo-line { fill: none; stroke: var(--accent-ink); stroke-width: 1.8; stroke-linecap: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark { font: 600 21px var(--display); letter-spacing: -.02em; }
.wordmark em { font-style: italic; font-weight: 500; color: var(--accent); margin: 0 1px; }
.tagline { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 4px; }
.search { flex: 1; max-width: 520px; margin: 0 auto; position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 11px; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search input { width: 100%; height: 36px; padding: 0 40px 0 34px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface-2); }
.search input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.search kbd { position: absolute; right: 10px; }
.top-actions { display: flex; gap: 6px; align-items: center; }

/* toolbar */
.toolbar { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: var(--surface); border-bottom: 1px solid var(--line); flex: none; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; }
.seg button { height: 34px; padding: 0 13px; border: 0; border-radius: 6px; background: none; font-weight: 500; font-size: 13px; color: var(--muted); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dd { position: relative; }
.dd summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); font-size: 13px; cursor: pointer; user-select: none; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); margin-left: 2px; }
.dd[open] summary { border-color: var(--accent); }
.n { font: 600 11px var(--mono); background: var(--accent); color: var(--accent-ink); border-radius: 999px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 5px; }
.menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 1200; min-width: 220px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.menu label { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.menu label:hover { background: var(--surface-2); }
.menu input { accent-color: var(--accent); width: 15px; height: 15px; }
.menu .c { margin-left: auto; font: 11px var(--mono); color: var(--muted); }

/* layout */
.shell { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(360px, 440px) 1fr; }
.results { overflow-y: auto; border-right: 1px solid var(--line); background: var(--bg); padding: 12px 12px 80px; }
.results-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 2px 4px 10px; }
.count { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.active { display: flex; gap: 6px; flex-wrap: wrap; }
.active button { height: 28px; padding: 0 8px; font-size: 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-2); }
.active button:hover { border-color: var(--closed); color: var(--closed); }
.list { list-style: none; padding: 0; display: grid; gap: 8px; }
.empty { text-align: center; padding: 40px 12px; color: var(--muted); display: grid; gap: 12px; justify-items: center; }
.data-note { font-size: 11.5px; color: var(--muted); padding: 16px 6px 0; }

/* result card */
.card { position: relative; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.card:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ico { width: 40px; height: 40px; display: grid; place-items: center; font-size: 20px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); }
.card h2 { font-size: 15px; font-weight: 600; line-height: 1.3; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font: 12px var(--mono); color: var(--muted); margin: 3px 0 5px; }
.st { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.open { color: var(--open); }
.st.closed { color: var(--closed); }
.st.unknown { color: var(--unknown); }
.st.unknown::before { background: none; border: 1.5px dashed currentColor; width: 5px; height: 5px; }
.why { color: var(--ink-2); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.chip { font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.chip.g { background: var(--open-soft); border-color: transparent; color: var(--open); }
.chip.w { background: var(--warm-soft); border-color: transparent; color: var(--warm); }
.chip.q { border-style: dashed; color: var(--muted); background: none; }
.badge { font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 1px 6px; border-radius: 4px; background: var(--warm-soft); color: var(--warm); }
.side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fav, .cmp { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; border: 1px solid transparent; background: none; color: var(--muted); font-size: 14px; }
.fav:hover, .cmp:hover { background: var(--surface-2); border-color: var(--line); }
.fav[aria-pressed="true"] { color: var(--warm); }
.cmp[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); }
.score { font: 500 11px var(--mono); color: var(--muted); }

/* map */
.map-pane { position: relative; min-width: 0; }
#map { position: absolute; inset: 0; background: var(--surface-2); }
.pin { display: grid !important; place-items: center; background: var(--surface); border: 2px solid var(--accent); border-radius: 50%; font-size: 15px; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .15s; }
.pin.closed { filter: grayscale(1); opacity: .65; }
.pin.active { background: var(--accent); border-color: var(--accent-deep); box-shadow: 0 0 0 5px rgba(194,98,45,.25), 0 3px 8px rgba(0,0,0,.3); transform: scale(1.25); z-index: 1000 !important; }
.pin:hover { transform: scale(1.15); }
.me-dot { background: #3b82f6; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 5px rgba(59,130,246,.3); }
.leaflet-popup-content-wrapper { border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.leaflet-popup-tip { background: var(--surface); }
.leaflet-popup-content { font: 13px var(--sans); margin: 10px 12px; }
.leaflet-popup-content b { display: block; font: 400 15px var(--display); }
.leaflet-popup-content button { margin-top: 8px; }
:root[data-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) sepia(.45) brightness(.8) contrast(.9) saturate(.6); }
.leaflet-tile-pane { filter: sepia(.35) saturate(.7) hue-rotate(-8deg) brightness(1.02) contrast(.95); }
.leaflet-control-zoom a { background: var(--surface) !important; color: var(--ink) !important; border-color: var(--line) !important; }

/* detail drawer */
.drawer { position: fixed; top: calc(var(--chrome, 120px) + 12px); right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); z-index: 1100; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow-y: auto; animation: slide .22s ease-out; overscroll-behavior: contain; }
.drawer:focus { outline: none; }
@keyframes slide { from { opacity: 0; transform: translateX(16px); } }
.d-head { position: sticky; top: 0; z-index: 2; display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.d-head .ico { width: 48px; height: 48px; font-size: 24px; flex: none; }
.d-head h2 { font-size: 19px; line-height: 1.25; }
.d-head .meta { margin-bottom: 0; }
.d-close { margin-left: auto; flex: none; }
.d-body { padding: 14px 16px 20px; display: grid; gap: 16px; }
.d-sec h3 { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 7px; }
.lead { font-size: 14px; color: var(--ink-2); }
.known { display: flex; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--ink); font-size: 13px; }
.known b { color: var(--accent-deep); }
.perk { padding: 9px 12px; border-radius: var(--radius-sm); background: var(--warm-soft); font-size: 13px; }
.try { display: flex; flex-wrap: wrap; gap: 6px; }
.try span { font-size: 13px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); }
.tips { padding-left: 18px; display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: var(--surface-2); }
.kv { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 2px 0; }
.kv span:first-child { color: var(--muted); }
.kv .q { color: var(--unknown); font-style: italic; }
.hours { width: 100%; border-collapse: collapse; font: 12.5px var(--mono); }
.hours td { padding: 2px 0; }
.hours td:last-child { text-align: right; }
.hours tr.today { color: var(--accent-deep); font-weight: 600; }
.note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.src-pill { font: 10px var(--mono); padding: 1px 6px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); text-transform: none; letter-spacing: 0; margin-left: 4px; }
.d-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sim { display: grid; gap: 6px; }
.sim button { display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 13px; }
.sim button:hover { border-color: var(--accent); }
.sim small { margin-left: auto; font: 11px var(--mono); color: var(--muted); }
.sources { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; line-height: 1.7; }

/* compare */
.compare-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1500; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; background: var(--ink); color: var(--bg); border-radius: 12px; box-shadow: var(--shadow-lg); animation: up .2s ease-out; }
.compare-bar .btn.ghost { color: var(--bg); }
.compare-bar .btn.ghost:hover { background: rgba(255,255,255,.1); border-color: transparent; }
@keyframes up { from { opacity: 0; transform: translate(-50%, 10px); } }
dialog { border: 1px solid var(--line); border-radius: 14px; padding: 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); width: min(860px, calc(100% - 24px)); max-height: calc(100vh - 40px); margin: auto; overflow: auto; }
dialog::backdrop { background: rgba(10,9,8,.5); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
.dlg-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); z-index: 2; }
.dlg-head h2 { font-size: 17px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp-table th, .cmp-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table th { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); width: 140px; background: var(--surface-2); }
.cmp-table thead td { font: 400 16px var(--display); }
.cmp-table .best { color: var(--open); font-weight: 600; }

/* quiz */
#quiz { width: min(560px, calc(100% - 24px)); }
.q-body { padding: 20px 20px 18px; }
.q-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.q-progress i { display: block; height: 100%; background: var(--accent); transition: width .25s; }
.q-step { font: 500 11px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.q-body h2 { font-size: 22px; margin: 4px 0 14px; }
.q-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.q-opt { display: flex; align-items: center; gap: 10px; padding: 12px; text-align: left; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); font-weight: 500; transition: border-color .12s, background .12s; }
.q-opt span { font-size: 18px; }
.q-opt:hover { border-color: var(--accent); background: var(--accent-soft); }
.q-opt.picked { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.q-foot { display: flex; justify-content: space-between; margin-top: 16px; }
.q-res { display: grid; gap: 8px; }
.q-card { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: var(--surface); }
.q-card:first-child { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.q-card:hover { border-color: var(--accent); }
.q-card h3 { font-size: 15px; }
.q-card p { font-size: 12.5px; color: var(--muted); }
.pct { font: 600 18px var(--mono); color: var(--accent); text-align: right; line-height: 1; }
.pct small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }

.toast { position: fixed; left: 50%; bottom: 78px; transform: translateX(-50%); z-index: 3000; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 13px; box-shadow: var(--shadow-lg); animation: up .2s ease-out; }
.view-toggle { display: none; }

.chip.o { background: #b8452a; border-color: transparent; color: #fff4e6; font-weight: 600; }
.owner-toggle[aria-pressed="true"] { background: #b8452a; border-color: #b8452a; color: #fff4e6; }
.owner-note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff4e6; border: 1.5px dashed #b8452a; font-size: 13.5px; color: var(--ink-2); }
.owner-note svg { width: 38px; height: 38px; flex: none; transform: rotate(-10deg); }
.owner-note b { display: block; color: #b8452a; font: 400 14px var(--display); margin-bottom: 2px; }
:root[data-theme="dark"] .owner-note { background: #2a1e15; }

/* map pins (S&S shape) */
.leaflet-marker-icon.pin { background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; display: block !important; transform-origin: 50% 100%; }
.pin svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 3px rgba(42,27,18,.35)); transition: transform .15s; transform-origin: 50% 100%; }
.pin .mk-body { fill: #b8452a; }
.pin text { font: 400 30px "Alfa Slab One", Georgia, serif; fill: #2a3566; }
.pin:hover svg { transform: scale(1.15); }
.pin.active svg { transform: scale(1.35); }
.pin.active .mk-body { fill: #2a3566; }
.pin.closed svg { filter: grayscale(1) opacity(.6) drop-shadow(0 2px 3px rgba(0,0,0,.25)); }

.chip.v { background: #2a3566; border-color: transparent; color: #fff4e6; font-weight: 600; }
.btn.been { background: #2a3566; border-color: #2a3566; color: #fff4e6; }

/* monogram tiles */
.mono { display: grid; place-items: center; width: 100%; height: 100%; background: var(--tb); color: var(--tf); font: 400 14px/1 var(--display); letter-spacing: .02em; border-radius: inherit; }
.mono.sm { width: 26px; height: 26px; flex: none; border-radius: 7px; font-size: 10px; }
.mono.xl { width: 84px; height: 84px; border-radius: 22px; font-size: 26px; box-shadow: 0 10px 24px rgba(42,27,18,.15); }
.ico { padding: 0; overflow: hidden; }
.pin .mono { border-radius: 50%; font-size: 10.5px; }
.pin { overflow: hidden; }
.cmp-name { display: inline-flex; align-items: center; gap: 8px; }
.sim button .mono { margin-right: 2px; }

/* brand moments */
.results-hero { padding: 6px 4px 12px; }
.results-hero h1, .results-hero h2 { font-size: 28px; line-height: 1.05; font-weight: 400; letter-spacing: .01em; text-transform: uppercase; color: var(--navy, #2a3566); }
.results-hero h1 em { font-style: italic; color: var(--accent); }
.hero-stats { font: 12px var(--mono); color: var(--muted); margin-top: 6px; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.hero-stats b { color: var(--ink); font-weight: 500; }
.card h2 { font-family: var(--display); font-size: 15.5px; font-weight: 400; letter-spacing: .01em; }
.ico { background: linear-gradient(145deg, var(--honey-soft), var(--accent-soft)); border-color: transparent; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 2px rgba(120,60,20,.25); }
.topbar { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); }
.toolbar { background: var(--surface); }
.d-head { background: linear-gradient(180deg, var(--honey-soft), var(--surface)); }
.d-head h2 { font-size: 21px; font-weight: 400; letter-spacing: .01em; }
.known { background: var(--accent-soft); border-left: 3px solid var(--accent); }
.perk { border-left: 3px solid var(--honey); }
.try span { background: var(--honey-soft); border-color: transparent; }
.badge { background: var(--accent); color: var(--accent-ink); }
.dlg-head h2, .q-body h2 { font-family: var(--display); }
.q-opt.picked { background: var(--accent); }
.pct { color: var(--accent); }
.data-note { border-top: 1px dashed var(--line-2); margin-top: 16px; }

/* tablet */
@media (max-width: 1100px) {
  .tagline, .search kbd { display: none; }
}
/* phone */
@media (max-width: 760px) {
  .finder { height: auto; display: block; }
  .topbar { flex-wrap: wrap; height: auto; padding: 10px 14px; gap: 10px; position: sticky; top: 0; z-index: 1300; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .top-actions { margin-left: auto; }
  .toolbar { padding: 8px 14px; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .toolbar .tools { flex-wrap: nowrap; }
  .toolbar > *, .tools > * { flex: none; }
  .menu { position: fixed; left: 14px; right: 14px; top: auto; }
  .shell { display: block; }
  .results { border-right: 0; overflow: visible; padding: 10px 10px 90px; }
  .map-pane { display: none; }
  body.show-map .results { display: none; }
  body.show-map .map-pane { display: block; height: calc(100vh - 160px); }
  .drawer { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 88vh; border-radius: 16px 16px 0 0; animation: sheet .25s ease-out; z-index: 1600; }
  @keyframes sheet { from { transform: translateY(30px); opacity: 0; } }
  .grid2 { grid-template-columns: 1fr; }
  .view-toggle { display: inline-flex; align-items: center; gap: 6px; position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1400; height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; box-shadow: var(--shadow-lg); }
  .compare-bar { bottom: 70px; }
  .cmp-table th { width: 96px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
