
/* ============================================================
   KarlCal — Web Dashboard (first pass)
   Parity with iOS dashboard, laid out for desktop.

   DATA WIRING (see normalizeData() at the bottom):
   - Auth + name:   GET /api/check-subscription.php  (logged_in, user_name)
   - Dashboard:     GET /api/dashboard.php           (shape normalized; demo
                    fallback shows a "Preview data" chip until wired)
   ============================================================ */
:root{
  --bg:#F7F3EA; --card:#FFFFFF; --ink:#1E1F1D; --muted:#6E6F6B;
  --sage:#2E6B4F; --sage-d:#1F4E3A; --sage-soft:#EDF5F0; --navy:#1F3A5F;
  --line:rgba(30,31,29,.08);
  --ring-move:#FF375F; --ring-ex:#5AC466; --ring-stand:#4C9BE8;
  --r:18px; --shadow:0 10px 30px -18px rgba(30,31,29,.25);
  --sans:'DM Sans',system-ui,sans-serif; --serif:'DM Serif Display',serif;
}
*{box-sizing:border-box;margin:0;padding:0}
body{background:var(--bg);font-family:var(--sans);color:var(--ink);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid var(--sage);outline-offset:2px;border-radius:6px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.dash-wrap{max-width:1180px;margin:0 auto;padding:28px 24px 64px}

/* Greeting */
.greet-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:6px 0 20px}
.greet h1{font-family:var(--serif);font-weight:400;font-size:clamp(28px,3.4vw,40px);letter-spacing:-.01em}
.greet .date{font-size:15px;color:var(--muted);font-weight:600;margin-top:4px}
.preview-chip{display:none;align-items:center;gap:6px;background:transparent;color:var(--muted);font-size:11px;font-weight:700;padding:4px 10px;border:1px solid var(--line);border-radius:20px;white-space:nowrap;opacity:.75}
.preview-chip.on{display:inline-flex}

/* Card base */
.card{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);border:1px solid var(--line);padding:20px}
.card-label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.card-label svg{width:14px;height:14px;color:var(--muted)}
.card-more{margin-left:auto;color:var(--sage);font-size:12.5px;font-weight:700;letter-spacing:0;text-transform:none}
.card-more:hover{text-decoration:underline}

/* Grid */
.dash-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}
.brief{grid-column:1/-1}
.upnext{grid-column:span 7}
.right-stack{grid-column:span 5;display:flex;flex-direction:column;gap:18px}
.card.dinner{flex:1;display:flex;flex-direction:column}
.card.dinner .dinner-row{flex:1;align-items:center}
.weight{grid-column:span 4}
.activity{grid-column:span 4}
.quick{grid-column:span 4}

/* Today's Brief */
.brief{position:relative;overflow:hidden;background:var(--sage-d);color:#fff;border:none;padding:22px 24px}
.brief .card-label{color:rgba(255,255,255,.75)}
.brief .card-label svg{color:#F1C40F}
.brief p{font-size:18px;font-weight:600;line-height:1.5;max-width:60ch}
.brief .mark{position:absolute;right:-60px;top:-70px;width:260px;height:260px;opacity:.06;pointer-events:none}

/* Up Next */
.ev{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid var(--line)}
.ev:last-of-type{border-bottom:none}
.ev .bar{width:4px;align-self:stretch;min-height:38px;border-radius:4px;background:var(--sage)}
.ev .body{min-width:0}
.ev .title{font-size:15.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev .meta{font-size:13px;color:var(--muted);font-weight:600;margin-top:2px}
.ev .meta .who{font-weight:700}
.ev .pill{margin-left:auto;flex:none;font-size:11px;font-weight:800;color:#fff;background:var(--sage);padding:5px 12px;border-radius:20px}
/* Future days are outlined rather than filled, so "Today" still stands out
   at a glance. Matches the pill styling on the iOS dashboard. */
.ev .pill.future{background:transparent;color:var(--sage);border:1.5px solid rgba(46,90,68,.55);padding:3.5px 10.5px}
.ev-empty{padding:26px 4px;color:var(--muted);font-size:14.5px}
.more-link{display:inline-block;margin-top:10px;color:var(--sage);font-weight:700;font-size:14px}
.more-link:hover{text-decoration:underline}

/* Dinner */
.dinner-row{display:flex;align-items:center;gap:16px}
.dinner-img{width:96px;height:96px;border-radius:14px;object-fit:cover;flex:none;background:var(--sage-soft)}
.dinner-name{font-size:19px;font-weight:800;line-height:1.25}
.dinner-sub{margin-top:6px;font-size:13.5px;font-weight:700;color:var(--sage)}
.dinner-sub:hover{text-decoration:underline}

/* Weather */
.wx-now{display:flex;align-items:center;gap:14px}
.wx-temp{font-family:var(--serif);font-size:44px;line-height:1}
.wx-cond{font-size:14px;color:var(--muted);font-weight:600}
.wx-line{margin-top:10px;font-size:13.5px;font-weight:700;color:var(--sage-d)}
.wx-strip{display:flex;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.wx-slot{flex:1;text-align:center;background:var(--sage-soft);border-radius:12px;padding:10px 4px}
.wx-slot .t{font-size:11px;font-weight:800;color:var(--muted)}
.wx-slot .d{font-size:15px;font-weight:800;margin-top:6px}

/* Weight */
.wt-top{display:flex;align-items:baseline;gap:8px}
.wt-num{font-family:var(--serif);font-size:38px;line-height:1}
.wt-unit{font-size:13px;font-weight:700;color:var(--muted)}
.wt-delta{margin-left:auto;font-size:13px;font-weight:800;padding:5px 10px;border-radius:20px;background:var(--sage-soft);color:var(--sage-d)}
.wt-spark{width:100%;height:84px;margin-top:12px;display:block}
.wt-dates{display:flex;justify-content:space-between;font-size:10.5px;font-weight:700;color:var(--muted);margin-top:6px}

/* Activity rings */
.act-row{display:flex;align-items:center;gap:18px}
.rings{width:118px;height:118px;flex:none}
.act-legend{display:grid;gap:9px}
.lg{display:flex;align-items:center;gap:8px}
.lg .dot{width:9px;height:9px;border-radius:50%;flex:none}
.lg .v{font-size:14.5px;font-weight:800;line-height:1.05}
.lg .u{font-size:10.5px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}

.act-empty{padding:14px 2px;font-size:14px;color:var(--muted);line-height:1.55}
.act-empty a{color:var(--sage);font-weight:700}
.act-empty a:hover{text-decoration:underline}

/* Activity for free members: calories is Pro, so the rings sit faded behind
   a soft lock instead of an empty "No activity" line. Tapping opens /pro/. */
.rings-wrap{position:relative;flex:none;line-height:0}
.rings.locked{opacity:.35;filter:blur(.6px)}
.rings-lock{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.rings-lock span{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.88);box-shadow:0 2px 8px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center}
.rings-lock svg{width:19px;height:19px}
.act-pro{display:grid;gap:5px;justify-items:start}
.act-pro .pill{font-size:10px;font-weight:800;color:#fff;background:var(--sage);border-radius:10px;padding:2px 8px;letter-spacing:.04em}
.act-pro .t{font-size:15px;font-weight:700;line-height:1.2;color:var(--ink)}
.act-pro .go{font-size:13px;font-weight:700;color:var(--sage)}
/* App card is half width, so stack the rings over the text */
body.nr-app .activity.is-locked .act-row{flex-direction:column;align-items:center;gap:8px;margin-top:0}
body.nr-app .activity.is-locked .rings{width:72px;height:72px}
body.nr-app .rings-lock span{width:30px;height:30px}
body.nr-app .rings-lock svg{width:15px;height:15px}
body.nr-app .act-pro{justify-items:center;text-align:center;gap:2px}
body.nr-app .act-pro .pill{display:none}
body.nr-app .act-pro .t{font-size:13px;color:#1A293C}
body.nr-app .act-pro .t br{display:none}
body.nr-app .act-pro .go{font-size:12px;white-space:nowrap}

/* Quick access */
.qa-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
    /* Quick Access tiles that lead to Pro tools say so. Meals and Prep
       pointed at the Weekly and Daily planners with nothing to indicate
       they were paid — a free user tapped through and hit a paywall
       with no warning. */
    .qa{position:relative;}
    .qa .qa-pro{
      position:absolute;top:6px;right:7px;
      font-size:8.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
      color:#5A4A16;background:#F5D97A;
      padding:2px 5px;border-radius:4px;line-height:1.2;
    }
    body.is-pro-member .qa .qa-pro{display:none;}
.qa{display:flex;align-items:center;gap:12px;background:var(--sage-soft);border-radius:12px;padding:15px 16px;font-size:15.5px;font-weight:700;transition:background .15s}
.qa:hover{background:#e2eee7}
/* Cards that navigate. The whole card is the target — previously only the
   small text links were clickable, so tapping a card did nothing. */
.card.is-link{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}
@media(hover:hover) and (pointer:fine){
  .card.is-link:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(31,60,44,.13)}
}
.card.is-link:active{transform:translateY(0)}
.card.is-link:focus-visible{outline:3px solid var(--sage);outline-offset:3px}
.qa svg{width:24px;height:24px;color:var(--sage-d);flex:none}

/* Responsive */
@media(max-width:1040px){
  .upnext{grid-column:1/-1}
  .right-stack{grid-column:1/-1;flex-direction:row}
  .right-stack .card{flex:1}
  .weight,.activity,.quick{grid-column:span 4}
}
@media(max-width:760px){
  .dash-wrap{padding:20px 16px 48px}
  .right-stack{flex-direction:column}
  .weight,.activity,.quick{grid-column:1/-1}
  .dash-grid{gap:14px}
}

/* ============================================================
   In-app look (Android app adds body.nr-app). Mirrors the native
   iPhone Dashboard (DashboardView.swift): compact white cards,
   colored owner dots, side-by-side Weight + Activity, icon strip.
   Desktop and mobile browsers are unaffected.
   ============================================================ */
.wx-ico,.wx-slot .i{display:none}
.wx-note{margin-top:12px}
.wx-note .h{font-size:13.5px;font-weight:700;color:var(--sage-d)}
.wx-note .h.rain{color:#4C9BE8}
.wx-note .b{font-size:13px;color:var(--muted);margin-top:3px;line-height:1.45}
body.nr-app.nr-home{background:linear-gradient(180deg,#E9F0F8 0%,#F0EEEE 50%,#F3EEF2 100%) fixed!important}
body.nr-app .dash-wrap{padding:6px 16px 32px}
body.nr-app .greet-row{margin:8px 0 13px}
body.nr-app .greet h1{font-family:var(--sans);font-weight:700;font-size:28px;color:#1A293C!important;letter-spacing:-.01em}
body.nr-app .greet .date{font-size:14px;font-weight:500;color:#6B6D68;margin-top:2px}
body.nr-app .dash-grid{gap:13px}
body.nr-app .card{border:none;border-radius:22px;padding:14px;box-shadow:0 4px 10px rgba(0,0,0,.06)}
body.nr-app .card-label{font-size:11px;font-weight:700;letter-spacing:.05em;color:#9E9E99;margin-bottom:11px}
body.nr-app .card-label svg{width:13px;height:13px;color:#9E9E99}
body.nr-app .card-more{font-size:0}
body.nr-app .card-more::after{content:"\203A";font-size:20px;line-height:11px;font-weight:700;color:var(--sage)}
/* Brief */
body.nr-app .brief{background:linear-gradient(135deg,#2E6B4F,#1F4F3B);padding:16px;box-shadow:0 6px 12px rgba(46,107,79,.35)}
body.nr-app .brief .card-label{margin-bottom:6px;color:rgba(255,255,255,.82)}
body.nr-app .brief p{font-size:16px;line-height:1.35}
body.nr-app .brief .mark{display:none}
/* Up Next */
body.nr-app .ev{gap:10px;padding:6px 0;border-bottom:none}
body.nr-app .ev .bar{width:11px;height:11px;min-height:0;align-self:center;border-radius:50%;flex:none}
body.nr-app .ev .title{font-size:14.5px;font-weight:600;color:#1A293C}
body.nr-app .ev .meta{font-size:12px;margin-top:1px;color:#6B6D68}
body.nr-app .ev .meta .who{font-weight:600}
body.nr-app .ev .pill{font-size:11px;font-weight:600;padding:4px 9px}
body.nr-app .ev .pill.future{color:#6B6D68;padding:2.5px 7.5px}
body.nr-app .more-link{font-size:12.5px;margin-top:6px}
/* Tonight's dinner: photo left, eyebrow + name beside it */
body.nr-app .right-stack{gap:13px}
body.nr-app .card.dinner{display:grid;grid-template-columns:60px minmax(0,1fr) 14px;grid-template-rows:auto auto;column-gap:13px;align-items:center;align-content:center}
body.nr-app .card.dinner .dinner-row{display:contents}
body.nr-app .card.dinner .card-label{grid-column:2;grid-row:1;margin:0;align-self:end;font-size:10px;color:#D9683E}
body.nr-app .card.dinner .card-label svg{display:none}
body.nr-app .card.dinner .dinner-row>div{grid-column:2;grid-row:2;align-self:start;min-width:0}
body.nr-app .card.dinner::after{content:"\203A";grid-column:3;grid-row:1/3;font-size:24px;font-weight:700;color:#9E9E99}
body.nr-app .dinner-img{grid-column:1;grid-row:1/3;width:60px;height:60px;border-radius:15px;box-shadow:0 3px 6px rgba(0,0,0,.08)}
body.nr-app .dinner-name{font-size:16px;font-weight:700;color:#1A293C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.nr-app .dinner-sub{display:inline-block;margin-top:2px;font-size:12.5px}
/* Weather: icon + temp on the left, divider, 4 time slots on the right */
body.nr-app .card[aria-label="Weather"]>.card-label{display:none}
body.nr-app .card[aria-label="Weather"]{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:center}
body.nr-app .wx-now{grid-column:1;grid-row:1;display:grid;grid-template-columns:auto auto;column-gap:10px;align-items:center;padding-right:14px;border-right:1px solid rgba(0,0,0,.08)}
body.nr-app .wx-ico{display:block;grid-row:1/3;font-size:30px;line-height:1}
body.nr-app .wx-temp{font-family:var(--sans);font-size:28px;font-weight:600;color:#1A293C}
body.nr-app .wx-cond{font-size:11.5px;color:#6B6D68}
body.nr-app .wx-now .wx-line{display:none}
body.nr-app .wx-strip{grid-column:2;grid-row:1;margin:0;padding:0;border:none;gap:0}
body.nr-app .wx-slot{background:none;padding:0;border-radius:0}
body.nr-app .wx-slot .t{font-size:9.5px;font-weight:600;color:#6B6D68;white-space:nowrap}
body.nr-app .wx-slot .i{display:block;font-size:15px;line-height:20px;margin-top:3px}
body.nr-app .wx-slot .d{font-size:12px;font-weight:700;margin-top:3px;color:#1A293C}
body.nr-app .wx-note{grid-column:1/-1;margin-top:10px}
body.nr-app .wx-note .h{font-size:13px;font-weight:700;color:var(--sage)}
body.nr-app .wx-note .h.rain{color:#4C9BE8}
body.nr-app .wx-note .b{font-size:11.5px;color:#6B6D68;margin-top:3px;line-height:1.35}
/* Weight + Activity side by side */
body.nr-app .weight,body.nr-app .activity{grid-column:span 6;min-height:168px}
body.nr-app .dash-grid.solo .weight,body.nr-app .dash-grid.solo .activity{grid-column:1/-1}
/* Nov 14 2026 (john): the card stays in the apps on empty days too, with Log calories */
body.nr-app .wt-top{gap:5px}
body.nr-app .wt-num{font-family:var(--sans);font-size:22px;font-weight:700;color:#1A293C}
body.nr-app .wt-unit{font-size:12px;font-weight:600}
body.nr-app .wt-delta{font-size:12px;font-weight:700;padding:3px 8px}
body.nr-app .wt-delta.up{background:rgba(192,57,43,.12);color:#C0392B}
body.nr-app .wt-delta.down{background:rgba(31,138,76,.12);color:#1F8A4C}
body.nr-app .wt-spark{height:72px;margin-top:8px}
body.nr-app .act-row{gap:12px;margin-top:4px}
body.nr-app .rings{width:82px;height:82px}
body.nr-app .act-legend{gap:6px}
body.nr-app .lg{gap:6px;align-items:flex-start}
body.nr-app .lg .dot{width:7px;height:7px;margin-top:5px}
body.nr-app .lg>span:last-child{display:flex;flex-direction:column}
body.nr-app .lg .v{font-size:14px;font-weight:700;color:#1A293C}
body.nr-app .lg .u{font-size:10px;font-weight:600;color:#9E9E99;text-transform:none;letter-spacing:0;white-space:nowrap}
/* Quick Access: a strip of icon squares, no card */
body.nr-app .quick{grid-column:1/-1;background:none;box-shadow:none;padding:4px 0 0}
body.nr-app .quick .card-label{margin:0 0 10px 4px}
body.nr-app .quick .card-label svg{display:none}
body.nr-app .qa-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
body.nr-app .qa{flex-direction:column;gap:6px;background:none;padding:0;font-size:10.5px;font-weight:600;color:#6B6D68}
body.nr-app .qa svg{width:46px;height:46px;padding:12px;background:#fff;border-radius:14px;box-shadow:0 3px 5px rgba(0,0,0,.06)}
body.nr-app .qa:nth-child(1) svg{color:#0A84FF}
body.nr-app .qa:nth-child(2) svg{color:#34C759}
body.nr-app .qa:nth-child(3) svg{color:#FF9500}
body.nr-app .qa:nth-child(4) svg{color:#AF52DE}
body.nr-app .qa:nth-child(5) svg{color:#FF2D55}
body.nr-app .qa:nth-child(6) svg{color:#2E6B4F}
body.nr-app .qa .qa-pro{top:-4px;right:2px}

/* ============================================================
   Get started (new accounts). Shown until every step is done or
   the user hides it. Steps backed by real data (family invited,
   an event, weather town) check themselves off; the rest check
   off when tapped.
   ============================================================ */
.gs{grid-column:1/-1}
.gs-head{display:flex;align-items:center;gap:10px}
.gs-title{font-size:17px;font-weight:800}
.gs-count{margin-left:auto;font-size:12.5px;font-weight:700;color:var(--muted)}
.gs-hide{background:none;border:0;font:inherit;font-size:12.5px;font-weight:700;color:var(--muted);cursor:pointer;padding:2px 0 2px 8px}
.gs-bar{height:6px;background:var(--sage-soft);border-radius:3px;margin:10px 0 6px;overflow:hidden}
.gs-bar i{display:block;height:100%;background:var(--sage);border-radius:3px;transition:width .3s}
.gs-item{display:flex;align-items:center;gap:11px;padding:9px 0;font-size:15px;font-weight:600;color:var(--ink);width:100%;background:none;border:0;font-family:inherit;text-align:left;cursor:pointer}
.gs-item+.gs-item,.gs-inv+.gs-item{border-top:1px solid var(--line)}
.gs-ck{width:22px;height:22px;border-radius:50%;border:2px solid #C9D6CE;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:800}
.gs-item .go{margin-left:auto;color:var(--sage);font-weight:800}
.gs-item.done{color:var(--muted);text-decoration:line-through;cursor:default}
.gs-item.done .gs-ck{background:var(--sage);border-color:var(--sage)}
.gs-item.done .go{display:none}
.gs-inv{display:grid;gap:8px;padding:4px 0 12px 33px}
.gs-inv input{font:inherit;font-size:15px;padding:11px 12px;border:1.5px solid rgba(30,31,29,.15);border-radius:10px;background:#fff;width:100%}
.gs-inv input:focus{outline:none;border-color:var(--sage)}
.gs-inv button{font:inherit;font-size:15px;font-weight:700;color:#fff;background:var(--sage);border:0;border-radius:10px;padding:11px;cursor:pointer}
.gs-inv button:disabled{opacity:.6}
.gs-inv .msg{font-size:13px;font-weight:600;color:var(--sage)}
.gs-inv .msg.err{color:#C0392B}
.gs-inv .note{font-size:12.5px;color:var(--muted)}
.gs[hidden],.trial[hidden],.wt-empty[hidden]{display:none!important}
/* Pro trial nudge (free accounts) */
.trial{grid-column:1/-1;display:flex;align-items:center;gap:12px;background:#FFF8E7!important}
.trial .star{font-size:22px;flex:none}
.trial b{font-size:15px;display:block}
.trial span.s{font-size:13px;color:var(--muted)}
.trial .go{margin-left:auto;color:var(--sage);font-weight:800;font-size:22px}
/* Close button on the Pro card (Nov 10 2026): hides it for 14 days */
.trial .tx{flex:none;width:44px;height:44px;border:none;border-radius:22px;background:rgba(0,0,0,.07);color:#5C5137;font-size:18px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
/* Family Inbox card: big while the calendar is fairly empty, slim once it isn't */
.inboxc{grid-column:1/-1;display:flex;align-items:center;gap:14px;background:#16365C!important;color:#fff;border:none!important}
.inboxc[hidden]{display:none!important}
.inboxc img{width:56px;height:56px;border-radius:50%;background:#fff;object-fit:cover;flex:none}
.inboxc b{font-size:17px;display:block;line-height:1.25}
.inboxc span.s{font-size:14px;opacity:.85;display:block;margin-top:2px}
.inboxc .snap{margin-left:auto;flex:none;background:#fff;color:#16365C;font-weight:800;font-size:15px;border-radius:12px;padding:10px 14px;white-space:nowrap}
.inboxc.slim{padding:10px 16px}
.inboxc.slim img{width:34px;height:34px}
.inboxc.slim b{font-size:15px}
.inboxc.slim span.s{display:none}
.inboxc.slim .snap{padding:7px 11px;font-size:14px}
/* Weather with no town set: one clear prompt instead of "—° Unavailable" */
.card.wx-empty .wx-now,.card.wx-empty .wx-strip{display:none}
.card.wx-empty .wx-note{margin-top:0}
body.nr-app .card.wx-empty{display:block}
body.nr-app .card.wx-empty .wx-note .h{font-size:14.5px}
/* Weight with no weigh-ins yet: say what the card is for */
.wt-empty{display:flex;flex-direction:column;gap:4px;padding:2px 0}
.wt-empty b{font-size:15px;color:var(--ink)}
.wt-empty a{font-size:13.5px;font-weight:700;color:var(--sage)}
.card.weight.is-empty .wt-top,.card.weight.is-empty .wt-spark,.card.weight.is-empty .wt-dates{display:none}
body.nr-app .card.weight.is-empty{min-height:0}
/* ═══ FIRST DAYS (Nov 8 2026): calmer Dashboard for the first 3 days after setup ═══ */
.gs.gs-compact .gs-head,.gs.gs-compact .gs-bar{display:none}
.gs.gs-compact #gsList{display:none}
.gs.gs-compact.open .gs-head,.gs.gs-compact.open .gs-bar,.gs.gs-compact.open #gsList{display:flex}
.gs.gs-compact.open .gs-bar{display:block}.gs.gs-compact.open #gsList{display:block}
.gs-next{display:flex;align-items:center;gap:12px}
.gs.open .gs-next{display:none}
.gs-ring{flex:none;width:44px;height:44px;border-radius:50%;border:0;padding:0;cursor:pointer;background:conic-gradient(var(--sage) 0 var(--p,0%),#E3ECE6 var(--p,0%) 100%);display:flex;align-items:center;justify-content:center}
.gs-ring i{width:34px;height:34px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:800;color:var(--sage)}
.gs-nt{flex:1;min-width:0}
.gs-nt b{display:block;font-size:15.5px;font-weight:800;color:var(--ink)}
.gs-nt span{display:block;font-size:13px;color:var(--muted);font-weight:600;margin-top:1px}
.gs-nt .gs-later{background:none;border:0;padding:4px 0 0;font:inherit;font-size:13px;font-weight:700;color:var(--muted);text-decoration:underline;cursor:pointer}
.gs-do{flex:none;background:var(--sage);color:#fff;border:0;border-radius:22px;padding:10px 14px;font:inherit;font-size:14.5px;font-weight:800;cursor:pointer;min-height:44px}
.gs-x{flex:none;align-self:flex-start;background:none;border:0;font-size:20px;line-height:1;color:var(--muted);cursor:pointer;padding:2px 0 8px 6px;min-width:32px;min-height:32px}
.gs-compact .gs-inv{padding-left:0}
.ev.ex{opacity:.62}
.ev.ex .tag{margin-left:auto;flex:none;font-size:10.5px;font-weight:800;letter-spacing:.06em;color:#8A6200;background:#FFF3D6;border-radius:6px;padding:3px 7px}
.ev-addfirst{display:block;margin-top:10px;text-align:center;background:var(--sage-soft);color:#1B4D36;border-radius:14px;padding:12px;font-weight:800;font-size:15px;text-decoration:none}
.kcw-gro .gchips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}
.kcw-gro .gchip{border:1.5px dashed #B9CFC0;background:#fff;border-radius:18px;padding:8px 13px;font:inherit;font-size:14.5px;font-weight:700;color:#1B4D36;cursor:pointer;min-height:40px}
.kcw-gro .ghint{font-size:13px;color:var(--muted);margin:2px 0 6px}
.wx-note .kc-wxs{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#EEF5F0;border:1.5px dashed #A9C3B4;border-radius:14px;padding:10px 12px}
.wx-note .kc-wxs b{font-size:14.5px;font-weight:800;color:#1B4D36}
.wx-note .kc-wxs span{font-size:14px;font-weight:800;color:#fff;background:#2E6B4F;border-radius:12px;padding:8px 12px}
:root[data-theme="dark"] .wx-note .kc-wxs{background:#1B241F;border-color:#5B6C62}
:root[data-theme="dark"] .wx-note .kc-wxs b{color:#97C6B2}
.wx-guess{margin-top:2px}
.wx-guess .gq{font-size:15.5px;font-weight:800;color:var(--ink)}
.wx-guess .gs2{font-size:13px;color:var(--muted);font-weight:600;margin-top:2px}
.wx-guess .yn{display:flex;gap:8px;margin-top:10px}
.wx-guess .yn button{flex:1;border-radius:14px;padding:11px 8px;font:inherit;font-size:14.5px;font-weight:800;cursor:pointer;min-height:44px}
.wx-guess .y{background:var(--sage);color:#fff;border:0}
.wx-guess .n{background:#fff;color:#1B4D36;border:1.5px solid #CFE0D4}
.card.wx-guessing .wx-now,.card.wx-guessing .wx-strip,.card.wx-guessing .wx-note{display:none}
