:root {
  --bg: #f6f4f0;
  --panel: #ffffff;
  --panel-2: #f3f1ec;
  --ink: #1f2328;
  --ink-2: #3a3f45;
  --muted: #6b6f76;
  --line: #e4e0d8;
  --tabs: #ebe7df;
  --media: #ddd8cf;
  --accent: #1d5c63;          /* text, icons, chips */
  --accent-btn: #1d5c63;      /* filled buttons */
  --accent-btn-hover: #164a50;
  --orange: #f07a1a;
  --orange-soft: #fff1e4;
  --orange-ink: #b9550a;
  --good: #2f7d4f;
  --bad: #a23b3b;
  --bad-soft: #fbf1f1;
  --bad-line: #e7c8c8;
  --overlay: rgba(255,255,255,.92);
  --overlay-ink: #1f2328;
  --s-short: #eef4f4; --s-contact: #fff6dc; --s-offer: #e8f0ff; --s-signed: #e3f4e8;
  --toast: #22262b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.05);
  --shadow-hover: 0 2px 4px rgba(0,0,0,.06), 0 10px 26px rgba(0,0,0,.08);
  color-scheme: light;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

/* Dark palette: used when the toggle says Dark, or when it says Auto and the device is in dark mode. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14171a; --panel: #1d2125; --panel-2: #262b30; --ink: #e8e6e3; --ink-2: #c9cdd1; --muted: #8f969d;
    --line: #2f353b; --tabs: #22272c; --media: #2a2f34;
    --accent: #6cc3c9; --accent-btn: #237a82; --accent-btn-hover: #2b8f98;
    --orange: #ff8a2a; --orange-soft: #2d2016; --orange-ink: #ffa45c;
    --good: #3fa56a; --bad: #d46a6a; --bad-soft: #2e1d1d; --bad-line: #5a3030;
    --overlay: rgba(20,23,26,.85); --overlay-ink: #e8e6e3;
    --s-short: #1f3032; --s-contact: #3a3218; --s-offer: #1e2a42; --s-signed: #1d3526;
    --toast: #2f353b;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.25);
    --shadow-hover: 0 2px 4px rgba(0,0,0,.5), 0 10px 26px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14171a; --panel: #1d2125; --panel-2: #262b30; --ink: #e8e6e3; --ink-2: #c9cdd1; --muted: #8f969d;
  --line: #2f353b; --tabs: #22272c; --media: #2a2f34;
  --accent: #6cc3c9; --accent-btn: #237a82; --accent-btn-hover: #2b8f98;
  --orange: #ff8a2a; --orange-soft: #2d2016; --orange-ink: #ffa45c;
  --good: #3fa56a; --bad: #d46a6a; --bad-soft: #2e1d1d; --bad-line: #5a3030;
  --overlay: rgba(20,23,26,.85); --overlay-ink: #e8e6e3;
  --s-short: #1f3032; --s-contact: #3a3218; --s-offer: #1e2a42; --s-signed: #1d3526;
  --toast: #2f353b;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.25);
  --shadow-hover: 0 2px 4px rgba(0,0,0,.5), 0 10px 26px rgba(0,0,0,.4);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; transition: background .2s; padding: 0 clamp(14px, 3vw, 36px) 60px; }
button, select, textarea { font: inherit; color: inherit; }

.top-right { display: flex; align-items: center; gap: 14px; }
.theme { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; height: 34px; padding: 0 12px;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; color: var(--muted); }
.theme:hover { color: var(--ink); }
.theme svg { width: 16px; height: 16px; fill: currentColor; }
img { color-scheme: normal; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 14px; flex-wrap: wrap; }
.brand { display: flex; gap: 12px; align-items: center; }
.logo { width: 38px; height: 38px; fill: var(--accent); }
h1 { font-size: 22px; margin: 0; letter-spacing: -.01em; }
.crit { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.scan { font-size: 13px; color: var(--muted); text-align: right; line-height: 1.5; }
.scan .src { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); display: inline-block; }
.dot.err { background: var(--bad); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--panel); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); border: 1px solid var(--line);
  text-align: left; font: inherit; color: inherit; cursor: pointer; position: relative; transition: transform .12s, box-shadow .12s, border-color .12s; }
.stat:hover { transform: translateY(-1px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.stat:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stat b { display: block; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
.stat span { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stat .go { position: absolute; top: 12px; right: 14px; font-style: normal; color: var(--muted); opacity: 0; transition: opacity .12s, transform .12s; }
.stat:hover .go, .stat.current .go { opacity: 1; }
.stat.current { border: 2px solid var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.stat.current .go { color: var(--accent); }
.stat.new { border: 2px solid var(--orange); background: var(--orange-soft); }
.stat.new.current { box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 30%, transparent); }
.stat.new b { color: var(--orange-ink); }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs { display: flex; gap: 4px; background: var(--tabs); padding: 5px; border-radius: 14px; border: 1px solid var(--line); }
.tab { border: 0; background: transparent; padding: 10px 20px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 15.5px;
  color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: background .15s, color .15s; }
.tab svg { width: 18px; height: 18px; fill: currentColor; }
.tab:hover { color: var(--ink); background: var(--panel); }
.tab.active { background: var(--accent-btn); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.tab .count { font-size: 12.5px; font-weight: 700; min-width: 24px; padding: 2px 7px; border-radius: 999px; text-align: center;
  background: var(--panel); color: var(--ink); border: 1px solid var(--line); }
.tab.active .count { background: rgba(255,255,255,.22); color: #fff; border-color: transparent; }
.controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--panel); padding: 5px 11px; border-radius: 999px; cursor: pointer; font-size: 13px; }
.chip.on { background: var(--accent-btn); color: #fff; border-color: var(--accent-btn); }
.sort { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.sort select { border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; background: var(--panel); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { background: var(--panel); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); cursor: pointer; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, opacity .3s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.card.is-new { border: 3px solid var(--orange); }
.card.gone { opacity: 0; transform: scale(.97); }
.card.inactive .media { filter: grayscale(.85); }

.media { position: relative; aspect-ratio: 3 / 2; background: var(--media); overflow: hidden; }
.track { display: flex; height: 100%; transition: transform .3s ease; }
.track img, .track .noimg { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; }
.noimg { display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: var(--overlay); color: var(--overlay-ink); font-size: 22px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s; display: grid; place-items: center; padding-bottom: 3px; }
.media:hover .nav { opacity: 1; }
.nav.prev { left: 8px; } .nav.next { right: 8px; }
@media (hover: none) { .nav { opacity: .85; } }
.media .count { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 11.5px; font-weight: 700; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; background: var(--overlay); color: var(--overlay-ink); }
.badge.new { background: var(--orange); color: #fff; }
.badge.relist { background: #6b3fa0; color: #fff; }
.badge.reduced { background: var(--good); color: #fff; }
.badge.gone { background: var(--bad); color: #fff; }

.body { padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.row1 { display: flex; justify-content: space-between; align-items: baseline; }
.price { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.beds { font-weight: 600; font-size: 14px; }
.type { font-size: 13px; color: var(--accent); font-weight: 600; }
.addr { margin: 0; font-size: 14px; line-height: 1.35; }
.facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 5px; font-size: 13.5px; }
.facts li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.facts svg { width: 17px; height: 17px; fill: var(--muted); flex: none; }
.facts .muted { color: var(--muted); }
.agent { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.agent a { color: var(--accent); }

.lead-tools { display: grid; gap: 6px; margin-top: 6px; }
.status { border-radius: 8px; border: 1px solid var(--line); background: var(--panel); padding: 7px 9px; font-weight: 600; cursor: pointer; }
.status[data-s="Shortlisted"] { background: var(--s-short); }
.status[data-s="Contacted Estate Agent"] { background: var(--s-contact); }
.status[data-s="Contract offered"] { background: var(--s-offer); }
.status[data-s="Contract Signed"] { background: var(--s-signed); }
.notes { border-radius: 8px; border: 1px solid var(--line); background: var(--panel); padding: 7px 9px; font-size: 13px; resize: vertical; }

.actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.btn { flex: 1; border: 1px solid var(--line); background: var(--panel); border-radius: 9px; padding: 8px 10px; cursor: pointer; font-weight: 600; font-size: 13.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn:hover { background: var(--panel-2); }
.btn.yes { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
.btn.yes:hover { background: var(--accent-btn-hover); border-color: var(--accent-btn-hover); }
.btn.no:hover { color: var(--bad); border-color: var(--bad-line); background: var(--bad-soft); }

.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--toast); color: #fff; padding: 10px 14px 10px 18px;
  border-radius: 10px; display: flex; gap: 14px; align-items: center; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 20; }
.toast button { background: transparent; border: 0; color: #ffb36e; font-weight: 700; cursor: pointer; }

@media (max-width: 640px) { .scan { text-align: left; } .scan .src:first-of-type { margin-left: 0; } }

.add-btn { border: 1px dashed var(--accent); color: var(--accent); background: transparent; border-radius: 9px; padding: 7px 14px;
  font-weight: 600; font-size: 13.5px; cursor: pointer; margin-right: auto; }
.add-btn:hover { background: var(--panel); border-style: solid; }
.badge.manual { background: var(--accent-btn); color: #fff; }
.card.flash { animation: flash 1.6s ease 2; }
@keyframes flash { 50% { box-shadow: 0 0 0 4px var(--accent); } }
.dlg { border: 1px solid var(--line); border-radius: 16px; padding: 22px; width: min(520px, 92vw); background: var(--panel); color: var(--ink);
  box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.dlg::backdrop { background: rgba(0,0,0,.45); }
.dlg h2 { margin: 0 0 6px; font-size: 18px; }
.dlg .hint { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.dlg input { width: 100%; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.dlg input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.dlg-msg { margin: 10px 0 0; font-size: 13.5px; color: var(--bad); }
.dlg-msg.busy { color: var(--muted); }
.dlg-actions { display: flex; gap: 8px; margin-top: 16px; }
.dlg-actions .btn { flex: 0 1 auto; padding: 8px 14px; }
.dlg-actions #addCancel { margin-right: auto; }

/* ---------- signed-in chip */
.who { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.who span { font-weight: 600; color: var(--ink); }
.who button { border: 0; background: none; color: var(--accent); cursor: pointer; font-size: 13px; padding: 4px; }

/* ---------- scouting */
.scout { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 10px; cursor: default; }
.scout-head { display: flex; align-items: center; gap: 8px; }
.scout-head h3 { margin: 0 auto 0 0; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.scout-head .btn { flex: 0 0 auto; padding: 6px 12px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.scout-empty { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.post { margin-top: 10px; }
.post-meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 4px; align-items: center; }
.post-meta b { color: var(--ink); }
.post-del { margin-left: auto; border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; padding: 2px 4px; }
.post-del:hover { color: var(--bad); }
.post-note { margin: 4px 0 0; font-size: 13.5px; line-height: 1.4; white-space: pre-wrap; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 6px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; cursor: zoom-in; background: var(--media); display: block; }

/* ---------- photo sheet */
.previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.previews:empty { display: none; }
.pv { position: relative; aspect-ratio: 1; border-radius: 8px; background: var(--media) center / cover no-repeat; }
.pv.loading { animation: pulse 1s ease-in-out infinite alternate; }
.pv.bad { outline: 2px solid var(--bad); }
@keyframes pulse { to { opacity: .5; } }
.pv-x { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6);
  color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.more-photos { width: 100%; margin-bottom: 10px; border-style: dashed; }
.dlg textarea, #scoutName { width: 100%; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); font: inherit; font-size: 16px; resize: vertical; }
#scoutName { margin-bottom: 8px; }
.progress { height: 6px; border-radius: 3px; background: var(--line); margin-top: 10px; overflow: hidden; }
.progress div { height: 100%; width: 0; background: var(--accent-btn); transition: width .3s; }

/* ---------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.lightbox img { max-width: 100vw; max-height: 100vh; object-fit: contain; touch-action: pinch-zoom; }
.lb-close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding-bottom: 4px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  color: #eee; font-size: 14px; line-height: 1.4; background: linear-gradient(transparent, rgba(0,0,0,.7)); }

/* ---------- login */
.login-page { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: 20px; }
.login-card { width: min(380px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); text-align: center; }
.login-card .logo { width: 48px; height: 48px; }
.login-card h1 { margin: 6px 0 2px; }
.login-card .hint { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.login-card form { display: grid; gap: 12px; text-align: left; }
.login-card label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.login-card input { padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.btn.big { padding: 12px; font-size: 15px; margin-top: 4px; }

/* ---------- phones */
body { padding-left: max(clamp(14px, 3vw, 36px), env(safe-area-inset-left)); padding-right: max(clamp(14px, 3vw, 36px), env(safe-area-inset-right));
  padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
.top { padding-top: max(22px, env(safe-area-inset-top)); }
@media (max-width: 640px) {
  .top-right { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 10px 12px; }
  .stat b { font-size: 22px; }
  .stat span { font-size: 10.5px; }
  .grid { grid-template-columns: 1fr; }
  .btn { min-height: 44px; }
  .scout-head .btn { min-height: 40px; }
  .nav { opacity: .85; }
  .controls { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .chip { white-space: nowrap; }
  .dlg.sheet, #addDlg { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 18px 18px 0 0; border-bottom: 0;
    padding-bottom: calc(22px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; }
  .dlg input { font-size: 16px; }   /* stops iOS zooming into inputs */
  .notes { font-size: 16px; }
  .status { font-size: 16px; }
}
.sheet .dlg-actions #scoutPost { flex: 1; }
@media (max-width: 640px) { #addDlg .dlg-actions { flex-wrap: wrap; } #addDlg .dlg-actions .btn { flex: 1 1 auto; } }

/* ---------- schools */
.facts .school span b { font-weight: 600; }
.facts .school span small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.facts .school { align-items: flex-start; }
.facts .school svg { margin-top: 1px; }
.facts .school.clickable { cursor: pointer; }
.facts .school .more { border: 0; background: none; color: var(--accent); font: inherit; font-size: 12.5px; padding: 0 0 0 6px; cursor: pointer; }
.school-list { margin: 6px 0 2px 18px; padding: 0; font-size: 13px; display: grid; gap: 5px; }
.facts .school-list li { display: list-item; line-height: 1.35; color: inherit; }
.school-list a { color: var(--accent); font-weight: 600; text-decoration: none; }
.school-list span { display: block; color: var(--muted); font-size: 12.5px; }

/* ---------- views */
.chip.new-chip { border-color: var(--orange); color: var(--orange-ink); font-weight: 600; }
.chip.new-chip.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.view-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: -6px 0 16px;
  padding: 12px 16px; border-radius: 12px; background: var(--panel); border: 1px dashed var(--line); font-size: 14px; }
.view-banner .btn { flex: 0 0 auto; }
@media (max-width: 640px) {
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 11px 10px; }
  .add-btn { width: 100%; margin: 0; min-height: 44px; }
  .stat .go { display: none; }
}

/* ---------- scorecards */
.badge.score { background: #f5b301; color: #2b2100; }
.scorecard { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 10px; cursor: default; }
.sc-head { display: flex; align-items: baseline; justify-content: space-between; }
.sc-head h3 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sc-total { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.sc-total small { font-size: 13px; color: var(--muted); font-weight: 500; }
.sc-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 13px; }
.sc-table th { font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: center; padding: 2px 4px 4px; }
.sc-table td { text-align: center; padding: 3px 4px; border-top: 1px solid var(--line); }
.sc-table td.cat { text-align: left; color: var(--ink-2); padding-left: 0; line-height: 1.25; }
.sc-table th.you, .sc-table td.you { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.sc-table td.avg, .sc-table th:last-child { font-weight: 700; color: var(--ink); }
.sc-table tfoot td { font-weight: 700; border-top: 2px solid var(--line); }
.sc-pick { width: 52px; padding: 4px 2px; border-radius: 7px; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  font: inherit; font-weight: 700; text-align: center; text-align-last: center; cursor: pointer; }
.sc-hint { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .sc-pick { font-size: 16px; width: 56px; min-height: 36px; } .sc-table { font-size: 13.5px; } }
