/* SHOT widget library styles. One class family per widget, prefix w-. Tokens only, no
   gradients (the loading skeleton's shimmer is two near-identical dark greys, per
   SHOTclubhouse/DESIGN.md §7.9, not a colour gradient). 44px minimum on every tappable
   element. See docs/WIDGETS.md for the catalogue this file backs. */

/* ---------- Section ---------- */
.w-sec { margin-top: var(--s6); }
.w-sec:first-child { margin-top: 0; }
.w-sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s2); }
.w-sec-label {
  font-family: var(--font-heading); font-size: var(--fs-small); font-weight: 600; letter-spacing: .02em;
  padding-left: 10px; border-left: 3px solid var(--accent, var(--shot-teal));
  margin: 0; line-height: 1.3;
}
.w-sec-link { font-size: 12px; font-weight: 600; color: var(--status-upcoming-text); min-height: 44px; display: inline-flex; align-items: center; gap: 2px; padding: 0 4px; text-decoration: none; }
.w-sec-caption { font-size: 12px; color: var(--shot-text-muted); margin: 0 0 var(--s2); }

/* ---------- Card ---------- */
/* color, not just background (docs/WIDGETS.md "Contrast rule"): a surface widget owns its own
   text colour rather than leaving it to whatever the page happens to inherit. Concretely, this is
   what stopped every card on the widget gallery reading white text on a white card under Mixed
   mode (tools/contrast.mjs): the card's own background correctly picked up the re-scoped light
   token, but with no color of its own it kept inheriting the dark page's white. */
.w-card { display: block; background: var(--surface-card-bg); color: var(--shot-text); border-radius: var(--r-lg); padding: var(--s4); box-shadow: var(--e-default); }
.w-card + .w-card { margin-top: var(--s2); }
/* No color here: it used to say `color: inherit` purely to override the browser's default <a>/
   <button> colour, which the explicit .w-card color above already does, more robustly (a
   resolved value, not a dependency on whatever the parent happens to be). Keeping both would have
   fought the same specificity (0,1,0) as .w-card, source order deciding a winner, so this is one
   declaration site, not two disagreeing ones. */
.w-card--tap {
  width: 100%; text-align: left; cursor: pointer; text-decoration: none;
  transition: transform var(--t-fast) var(--ease-standard), background var(--t-fast), box-shadow var(--t-fast) var(--ease-standard);
}
.w-card--tap:focus-visible { border-radius: var(--r-lg); }
/* Hover escalates shadow, not just background+lift (docs/REAL-APP-SURFACES.md: GenericScoreCard.tsx
   hover:shadow-xl hover:shadow-black/30, exactly --e-default -> --e-elevated already defines). */
.w-card--tap:hover { background: var(--shot-surface-hover); box-shadow: var(--e-elevated); }
@media (prefers-reduced-motion: no-preference) {
  .w-card--tap:hover { transform: translateY(-2px); }
  /* Press feedback (docs/REAL-APP-SURFACES.md: GenericScoreCard.tsx active:scale-[0.99],
     AnnouncementFeedCard.tsx active:scale-[0.98]); after :hover in source order so a mouse press
     (which matches both) settles on the press state, not the lift. */
  .w-card--tap:active { transform: scale(.98); }
}
@media (prefers-reduced-motion: reduce) {
  .w-card--tap:active { background: var(--shot-surface-hover); }
}
/* status.tone === 'live' (eventCard/scoreCard, widgets.js): the one real card-surface gradient
   this pass replicates (docs/REAL-APP-SURFACES.md). Layered under the existing left edge accent,
   not replacing it. Restated at :hover too (a live eventCard can be tappable): .w-card--tap:hover
   is two selectors (0,2,0) to this rule's one (0,1,0), so without this it would win on hover and
   flatten the gradient back to the plain hover grey. */
.w-ecard--live, .w-score-card--live { background: var(--surface-live-bg); }
.w-ecard--live.w-card--tap:hover, .w-score-card--live.w-card--tap:hover { background: var(--surface-live-bg); }
.w-ecard--recent, .w-score-card--recent { background: var(--surface-recent-bg); }
.w-ecard--recent.w-card--tap:hover, .w-score-card--recent.w-card--tap:hover { background: var(--surface-recent-bg); }

/* ---------- Band (SHOT.w.band, a Mixed-mode dark hero band, docs/WIDGETS.md "Mixed mode") ----------
   .w-band and its four .w-band--<as> modifiers are a no-op in Dark and Light: each variant renders
   exactly like the section()/card()/plain wrapper it is built on. The token re-scope
   ([data-theme="mixed"] .w-band) lives in tokens.css, next to :root's own dark values; the visible
   dark-panel treatment and the badge alpha it needs are grouped with the rest of the Mixed-mode
   overrides at the bottom of this file -- everything the band actually looks like lives here, in
   one place, rather than spread across base.css and widgets.css. */

/* ---------- List row ---------- */
/* color: var(--shot-text), not `inherit` (docs/WIDGETS.md "Contrast rule", same reasoning as
   .w-card above): a listRow/athleteRow/toggle/checkbox row is a surface in its own right and
   should not depend on whatever colour its ancestor happens to have already resolved. */
.w-row {
  display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 56px;
  padding: var(--s2) 0; border-bottom: 1px solid var(--hairline);
  text-align: left; color: var(--shot-text); text-decoration: none; background: none;
}
.w-row:last-child { border-bottom: 0; }
button.w-row, a.w-row { cursor: pointer; border-radius: var(--r-sm); transition: background var(--t-fast); }
button.w-row:not(:disabled):hover, a.w-row:not([aria-disabled="true"]):hover { background: var(--shot-surface-hover); }
button.w-row:not(:disabled):active, a.w-row:not([aria-disabled="true"]):active { background: var(--shot-surface-hover); }
button.w-row[disabled], a.w-row[aria-disabled="true"] { cursor: not-allowed; }
.w-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.w-row-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-row-sub, .w-row-sub-line { font-size: 12px; color: var(--shot-text-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.w-row-end { flex: none; color: var(--shot-text-muted); display: flex; align-items: center; gap: 6px; font-size: 12px; min-height: 44px; }
.w-row-end svg, .w-row-end i { width: 16px; height: 16px; }

/* ---------- Content card (kicker/title/body/meta) ---------- */
.w-ccard-kicker { font-size: var(--fs-caption); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--shot-text-muted); margin-bottom: 6px; }
.w-ccard-title { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--shot-text); }
.w-ccard-body { font-size: 12px; color: var(--shot-text-muted); margin-top: 2px; max-width: min(65ch, 720px); }
.w-ccard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s2); font-size: 12px; color: var(--shot-text-muted); }
.w-ccard-meta span { display: inline-flex; align-items: center; gap: 4px; }
.w-ccard-meta svg, .w-ccard-meta i { width: 14px; height: 14px; }

/* ---------- Stat cards ---------- */
.w-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: var(--s2); }
.w-stat { background: var(--shot-surface); color: var(--shot-text); border-radius: var(--r-lg); padding: var(--s3); box-shadow: var(--e-default); text-align: center; }
.w-stat-v { font-family: var(--font-heading); font-size: var(--fs-2xl); font-weight: 700; }
.w-stat-v small { font-size: var(--fs-caption); color: var(--shot-text-muted); font-weight: 600; }
.w-stat-l { font-size: var(--fs-caption); color: var(--shot-text-muted); margin-top: 2px; }

/* ---------- Segmented tabs / pills ---------- */
.w-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.w-tabs::-webkit-scrollbar { display: none; }
.w-tab {
  flex: none; min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-small);
  color: var(--shot-text-secondary); background: rgba(255,255,255,.05); text-decoration: none;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
/* Inactive: a translucent wash, not a solid surface fill (docs/REAL-APP-SURFACES.md,
   LiveSportTabs.tsx: bg-white/5 hover:bg-white/10, also DESIGN.md §7.4's own filter-pill spec).
   Active: the existing teal fill plus the glow DESIGN.md §7.4/LiveSportTabs.tsx both show
   (shadow-lg shadow-teal-500/30) and this file previously lacked. */
.w-tab:hover { background: rgba(255,255,255,.1); color: var(--shot-text); }
.w-tab[aria-selected="true"] { background: var(--shot-teal); color: #000; box-shadow: 0 8px 20px -6px rgba(26,188,156,.4); }
.w-tab[aria-selected="true"]:hover { background: var(--shot-teal); }

.w-pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.w-pills::-webkit-scrollbar { display: none; }
.w-pill {
  /* height (not min-height) pins the box to an exact 44px regardless of the row's own
     align-items: stretch default; min-height alone left this a fraction under 44px on some
     rows once the container's auto cross-size picked up sub-pixel rounding (DESIGN.md tap
     target floor, see docs/UX-REVIEW.md item 17). */
  flex: none; height: 44px; min-width: 44px; padding: 0 14px; border-radius: var(--r-full);
  background: rgba(255,255,255,.05); color: var(--shot-text-secondary); font-size: var(--fs-small); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.w-pill:hover { background: rgba(255,255,255,.1); color: var(--shot-text); }
.w-pill:active { background: var(--shot-surface-hover); }
.w-pill:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.w-pill[disabled], .w-pill[aria-disabled="true"] { cursor: not-allowed; }
/* --status-upcoming-text (tokens.css): raw teal on dark, the established text-safe teal tint on
   light/Mixed's content area -- raw teal measures only 1.91:1 against a light card, short of the
   3:1 AA floor for a UI component boundary (tools/contrast.mjs). */
.w-pill[aria-pressed="true"] { background: var(--shot-surface-light); color: var(--shot-text); box-shadow: inset 0 0 0 1.5px var(--status-upcoming-text); }
.w-pill svg, .w-pill i { width: 14px; height: 14px; }

/* ---------- Horizontal scroller ---------- */
.w-hscroll {
  display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--s3) * -1); padding: 4px var(--s3) 10px; scrollbar-width: none;
}
.w-hscroll::-webkit-scrollbar { display: none; }
.w-hscroll > * { flex: none; width: 78%; scroll-snap-align: start; }
.w-hscroll--narrow > * { width: 46%; }
/* The row itself is a keyboard stop (tabindex, see widgets.js hscroll()); an inset ring keeps the
   focus indicator visible on a row that bleeds to the screen edge, where the shared :focus-visible
   rule's positive outline-offset would otherwise be clipped. */
.w-hscroll:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; border-radius: var(--r-md); }

/* ---------- Responsive grid (docs/WIDGETS.md "Responsive layout") ---------- */
/* One column below 768px, same as a plain stacked card list; auto-fit columns from 768px up, so a
   card list built with grid() uses the extra width on tablet/web without a section edit. */
.w-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
@media (min-width: 768px) {
  .w-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
/* Grid gap already spaces the cards; cancel the stacked-card top margin so rows don't grow uneven. */
.w-grid > .w-card { margin-top: 0; }

/* A horizontal carousel reflows into the same wrapped grid once there is web-width room for it
   (docs/WIDGETS.md "Responsive layout": "an hscroll that becomes a wrapped grid on web"); tablet
   (768-1023px) keeps the scrolling carousel, since a 720px column is still narrow enough that a
   horizontal scroller reads better there than a cramped 2-up wrap. */
@media (min-width: 1024px) {
  .w-hscroll {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    overflow-x: visible; scroll-snap-type: none; margin: 0; padding: 4px 0 var(--s2);
  }
  .w-hscroll--narrow { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .w-hscroll > * { width: auto; scroll-snap-align: none; }
  .w-hscroll:focus-visible { outline-offset: 2px; }
}

/* ---------- Pillar chip ---------- */
.w-pchip {
  background: var(--shot-surface); color: var(--shot-text); border-radius: var(--r-lg); padding: var(--s3);
  box-shadow: var(--e-default); text-align: center; min-width: 84px;
}
.w-pchip-ic { display: block; color: var(--accent, var(--shot-teal)); margin-bottom: 4px; }
.w-pchip-ic svg, .w-pchip-ic i { width: 18px; height: 18px; }
.w-pchip-label { display: block; font-size: var(--fs-caption); color: var(--shot-text-secondary); font-weight: 600; margin-bottom: 2px; }
.w-pchip-score { font-family: var(--font-heading); font-size: 18px; font-weight: 700; }
.w-pchip-score small { font-size: var(--fs-caption); color: var(--shot-text-muted); font-weight: 600; }

/* ---------- Pillar bars ---------- */
.w-pbar-row + .w-pbar-row { margin-top: var(--s3); }
.w-pbar-top { display: flex; justify-content: space-between; font-size: var(--fs-small); font-weight: 600; margin-bottom: 6px; }
.w-pbar-track { position: relative; height: 6px; background: var(--shot-surface-light); border-radius: 3px; }
.w-pbar-fill { display: block; height: 100%; border-radius: 3px; }
.w-pbar-marker { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--shot-gold); transform: translateX(-1px); }
.w-pbar-note { font-size: 12px; color: var(--shot-text-secondary); margin: 6px 0 0; line-height: 1.5; }

/* ---------- Avatar ---------- */
.w-avatar {
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
}
.w-avatar img { width: 100%; height: 100%; object-fit: cover; }
.w-avatar--sm { width: 28px; height: 28px; font-size: 11px; }
.w-avatar--lg { width: 56px; height: 56px; font-size: 18px; }
/* Six deterministic tones, each pre-checked for 4.5:1 contrast (WCAG AA, normal text). */
.w-avatar--t1 { background: var(--shot-teal); color: #000; }
.w-avatar--t2 { background: var(--shot-purple); color: #fff; }
.w-avatar--t3 { background: var(--shot-gold); color: #000; }
.w-avatar--t4 { background: var(--shot-surface-light); color: var(--status-upcoming-text); }
.w-avatar--t5 { background: var(--shot-surface-light); color: var(--status-past-text); }
.w-avatar--t6 { background: var(--shot-surface-light); color: var(--shot-text); }

/* ---------- Row icon: a 36px circle for a listRow leading slot ---------- */
.w-row-ic {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--shot-surface-light);
  color: var(--status-upcoming-text); display: inline-flex; align-items: center; justify-content: center;
}
.w-row-ic svg, .w-row-ic i { width: 16px; height: 16px; }
.w-row-ic--muted { color: var(--shot-text-muted); }

/* ---------- Event card ---------- */
.w-ecard { position: relative; }
.w-ecard-tag { position: absolute; top: var(--s3); right: var(--s3); }
.w-ecard-kind { font-size: var(--fs-caption); font-weight: 700; color: var(--shot-text-muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.w-ecard-title { font-family: var(--font-heading); font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--shot-text); }
.w-ecard-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: var(--s2); }
.w-ecard-meta div { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--shot-text-secondary); }
.w-ecard-meta svg, .w-ecard-meta i { width: 13px; height: 13px; flex: none; color: var(--shot-text-muted); }

/* ---------- Trend / concern ---------- */
.w-trend-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.w-trend-dot--up { background: var(--shot-success); }
.w-trend-dot--down { background: var(--shot-error); }
.w-trend-dot--flat { background: var(--shot-warning); }
/* --shot-warning-text (tokens.css): the raw hue measured 2.15:1 as text on a light card, short of
   4.5:1 (tools/contrast.mjs); the icon inside inherits this too (currentColor), clearing the
   lenient 3:1 non-text floor as a side effect. */
.w-concern { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-caption); color: var(--shot-warning-text); font-weight: 600; }
.w-concern svg, .w-concern i { width: 12px; height: 12px; }

/* ---------- Badge / status ---------- */
/* upcoming/live/past/overdue (+ the due alias) are Liam's app-wide status colours, docs/WIDGETS.md
   "Status colours"; each pairs a tinted background with its tokens.css `-text` tint, already
   measured >=4.5:1 on every dark surface. `live` is a match in play: the red #FF3B3B pulsing dot with the label in normal text
   (SHOTclubhouse DESIGN.md 7.10, Q6 option A of 10 Oct 2026). A live session is the teal `session`
   tone ("On now"). Neither is purple: purple stays the general brand/role accent (.w-badge--purple). */
.w-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--r-full);
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: .03em; vertical-align: middle; line-height: 1.4;
}
.w-badge svg, .w-badge i { width: 11px; height: 11px; }
.w-badge--upcoming, .w-badge--due { background: rgba(26,188,156,.15); color: var(--status-upcoming-text); }
.w-badge--live { background: rgba(255,59,59,.16); color: var(--status-live-text); }
.w-badge--live .w-badge-dot { background: var(--shot-live); }
.w-badge--session { background: rgba(26,188,156,.15); color: var(--status-upcoming-text); }
.w-badge--session .w-badge-dot { background: var(--shot-teal); }
.w-badge--past { background: rgba(247,182,19,.16); color: var(--status-past-text); }
.w-badge--overdue { background: rgba(239,68,68,.16); color: var(--status-overdue-text); }
/* done: kept deliberately separate from the four status colours above -- most existing `done`
   badges mean "completed/confirmed" (an RSVP, an acknowledgement, a linked account), not "this is
   a past event"; see widgets.js's STATUS_ACCENT comment and docs/WIDGETS.md. */
.w-badge--done { background: rgba(16,185,129,.16); color: var(--shot-success-text); }
.w-badge--draft { background: var(--shot-surface-light); color: var(--shot-text-secondary); }
.w-badge--info { background: rgba(26,188,156,.15); color: var(--status-upcoming-text); }
.w-badge--purple { background: rgba(107,0,219,.3); color: var(--accent-purple-text); }
.w-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .w-badge--live .w-badge-dot, .w-badge--session .w-badge-dot { animation: w-pulse 1.4s ease-in-out infinite; } }
@keyframes w-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* A small calendar-agenda-style dot: the non-text half of eventCard/scoreCard's `status` option
   (see widgets.js). Non-text, so the raw accent colour is fine at the 3:1 UI-component floor. */
.w-status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: middle; flex: none; }
.w-score-status { margin-bottom: 6px; }

/* ---------- Empty state ---------- */
.w-empty { text-align: center; padding: var(--s6) var(--s4); color: var(--shot-text-muted); font-size: var(--fs-small); }
.w-empty svg, .w-empty i { width: 32px; height: 32px; color: var(--status-upcoming-text); margin: 0 auto 8px; display: block; }
.w-empty-text { margin: 0; color: var(--shot-text-secondary); font-weight: 600; }
.w-empty-sub { margin: 4px 0 0; }
.w-empty-action { margin: var(--s3) auto 0; }

/* ---------- Back link ---------- */
.w-backlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--shot-text-muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.w-backlink svg, .w-backlink i { width: 16px; height: 16px; }

/* ---------- Quick actions: a 4-across icon-circle + label grid ---------- */
.w-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin-top: var(--s3); }
.w-quick--edit { grid-template-columns: repeat(5, 1fr); }
.w-quick-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 72px; font-size: var(--fs-caption); font-weight: 600; color: var(--shot-text-secondary); text-align: center; text-decoration: none; }
.w-quick-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--shot-surface); box-shadow: var(--e-default); display: flex; align-items: center; justify-content: center; color: var(--status-upcoming-text); }
.w-quick-ic svg, .w-quick-ic i { width: 22px; height: 22px; }
.w-quick-btn--edit .w-quick-ic--edit { background: transparent; border: 1px dashed var(--shot-text-muted); color: var(--shot-text-muted); box-shadow: none; }

/* ---------- Prompt chip: a tap-to-send suggestion ---------- */
.w-chip {
  min-height: 44px; padding: 0 16px; border-radius: var(--r-full);
  background: var(--shot-surface-light); color: var(--shot-text-secondary);
  font-size: 12px; font-weight: 600; display: inline-flex; align-items: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.w-chip:hover { background: var(--shot-surface-hover); color: var(--shot-text); }

/* ---------- Button ---------- */
.w-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r-md); border: 0;
  font-family: var(--font-heading); font-weight: 600; font-size: 14px; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: box-shadow var(--t-fast);
}
.w-btn svg, .w-btn i { width: 18px; height: 18px; }
.w-btn--sm { min-height: 44px; padding: 0 14px; font-size: 12px; }
.w-btn--block { width: 100%; }
.w-btn[disabled] { opacity: .5; cursor: not-allowed; }
/* Press feedback (docs/REAL-APP-SURFACES.md: the app-wide active:scale-* convention -- no single
   literal button value to copy, so one representative value used consistently). */
@media (prefers-reduced-motion: no-preference) { .w-btn:active { transform: scale(.97); } }
/* Teal and gold require black text: white on either fails WCAG AA. See DESIGN.md §7.3. */
.w-btn--primary-teal { background: var(--shot-teal); color: #000; box-shadow: 0 8px 20px -6px rgba(26,188,156,.45); }
/* Gold had no coloured CTA shadow at all; DESIGN.md §7.3 shows one for every CTA colour
   (shadow-lg shadow-amber-500/30), brand-tuned here like teal/purple already are. */
.w-btn--gold { background: var(--shot-gold); color: #000; box-shadow: 0 8px 20px -6px rgba(247,182,19,.4); }
.w-btn--purple { background: var(--shot-purple); color: #fff; box-shadow: 0 8px 20px -6px rgba(107,0,219,.45); }
.w-btn--secondary { background: var(--shot-surface-light); color: var(--shot-text); }
.w-btn--ghost { background: none; color: var(--shot-text-secondary); box-shadow: inset 0 0 0 1px var(--shot-border); }
/* --shot-error-fill-text: same fix and reasoning as .count-badge in base.css. */
.w-btn--danger { background: var(--shot-error); color: var(--shot-error-fill-text); }
.w-btn[aria-pressed="true"].w-btn--ghost, .w-btn[aria-pressed="true"].w-btn--secondary { background: var(--shot-teal); color: #000; box-shadow: none; }
.w-btn-row { display: flex; gap: var(--s2); margin-top: var(--s3); }
.w-btn-row > .w-btn { flex: 1; }

/* ---------- Theme switch (SHOT.w.themeSwitch, the "Viewing as" sheet's Appearance row,
   docs/WIDGETS.md "Mixed mode") ---------- */
.w-theme-switch { display: flex; gap: var(--s2); }
.w-theme-switch-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r-md);
  font-family: var(--font-heading); font-weight: 600; font-size: 14px; letter-spacing: .02em;
  background: var(--shot-surface-light); color: var(--shot-text);
}
.w-theme-switch-btn svg, .w-theme-switch-btn i { width: 18px; height: 18px; }
.w-theme-switch-btn[aria-pressed="true"] { background: var(--shot-teal); color: #000; }

/* ---------- Forms ---------- */
.w-field-group { margin-bottom: var(--s3); }
.w-field-label { display: block; font-size: 12px; font-weight: 600; color: var(--shot-text-secondary); margin-bottom: 6px; }
.w-field {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-md); border: 0;
  background: var(--shot-input); color: var(--shot-text); font: inherit;
}
/* --shot-text-muted was calibrated against --shot-surface-light (docs/WIDGETS.md "Light mode"),
   not --shot-input, which is a touch paler in dark (#2A2A2A vs #242424) -- 4.27:1 there, just
   short of the 4.5:1 AA floor (tools/contrast.mjs). --shot-text-secondary clears it (6.85:1)
   while staying visibly less prominent than typed --shot-text value colour. */
.w-field::placeholder { color: var(--shot-placeholder); }
.w-field--area { min-height: 88px; resize: vertical; line-height: 1.5; }
.w-field-hint { font-size: var(--fs-caption); color: var(--shot-text-muted); margin: 6px 0 0; line-height: 1.4; }
.w-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--shot-text-muted) 50%), linear-gradient(135deg, var(--shot-text-muted) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.w-toggle-row { cursor: pointer; }
/* --shot-control-off (tokens.css): --shot-surface-light only measured 1.19-1.26:1 against a
   card/row background, short of the 3:1 AA floor for a UI component boundary (an unchecked
   toggle track, tools/contrast.mjs) in every theme. */
.w-switch { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--shot-control-off); flex: none; transition: background var(--t-fast); }
/* Thumb shadow (docs/REAL-APP-SURFACES.md: ui/switch.tsx's SwitchPrimitives.Thumb carries
   shadow-lg) -- was flat. */
.w-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform var(--t-fast) var(--ease-standard); }
/* --status-upcoming-text: raw teal only measures 2.41:1 against a white/light row, short of the
   3:1 AA floor for a UI component boundary (tools/contrast.mjs); dark is unaffected (6.44:1+
   against every dark row), same reasoning as the pressed pill border above. */
.w-toggle-row[aria-checked="true"] .w-switch { background: var(--status-upcoming-text); }
.w-toggle-row[aria-checked="true"] .w-switch::after { transform: translateX(18px); }

.w-qty { display: flex; align-items: center; gap: 14px; }
.w-qty-btn { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--shot-surface); color: var(--shot-text); display: inline-flex; align-items: center; justify-content: center; }
.w-qty-btn svg, .w-qty-btn i { width: 16px; height: 16px; }
.w-qty-val { min-width: 24px; text-align: center; font-weight: 700; font-size: var(--fs-body); color: var(--shot-text); }

.w-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; display: block; }
.w-slider::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--shot-surface-light); }
.w-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent, var(--shot-teal)); margin-top: -9px; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.w-slider::-moz-range-track { height: 6px; border-radius: 3px; background: var(--shot-surface-light); }
.w-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--accent, var(--shot-teal)); border: 0; cursor: pointer; }

.w-check-row { cursor: pointer; }
/* --shot-control-off (tokens.css): the unchecked border reused --shot-border, which only measures
   ~1.08:1 against this box's own --shot-surface-light fill, short of the 3:1 AA floor for a UI
   component boundary (tools/contrast.mjs) in every theme; --shot-control-off already clears 3:1
   against the same fill, so it covers this box's edge as well as the toggle track's fill. */
.w-check-box {
  width: 22px; height: 22px; border-radius: var(--r-sm); flex: none;
  background: var(--shot-surface-light); box-shadow: inset 0 0 0 1.5px var(--shot-control-off);
  display: inline-flex; align-items: center; justify-content: center; color: var(--shot-teal);
}
.w-check-box svg, .w-check-box i { width: 14px; height: 14px; }
.w-check-row[aria-checked="true"] .w-check-box { background: var(--shot-teal); box-shadow: none; color: #000; }

/* ---------- Product card ---------- */
.w-pcard {
  background: var(--surface-card-bg); border-radius: var(--r-lg); box-shadow: var(--e-default); padding: 0; overflow: hidden;
  border: 1px solid transparent; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
/* docs/REAL-APP-SURFACES.md: ProductCard.tsx hover:shadow-lg hover:border-primary/50 -- the demo
   card had no hover state at all. Teal-tinted border on hover, shadow escalates like every other
   card family. */
.w-pcard:hover { border-color: rgba(26,188,156,.5); box-shadow: var(--e-elevated); }
.w-pcard-media {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 5; background: var(--shot-surface-light); color: var(--shot-text-muted); text-decoration: none;
}
.w-pcard-media svg, .w-pcard-media i { width: 34px; height: 34px; }
.w-pcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-pcard-img.is-broken { display: none; }
.w-pcard-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.w-pcard-img.is-broken ~ .w-pcard-fallback { display: flex; }
.w-pcard-body { padding: var(--s3); }
.w-pcard-name { display: flex; align-items: center; min-height: 44px; margin-bottom: 4px; font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-small); line-height: 1.3; color: var(--shot-text); text-decoration: none; }
.w-pcard-price { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-small); margin-bottom: 6px; color: var(--shot-text); }
.w-pcard-note { display: flex; align-items: center; gap: 4px; font-size: var(--fs-caption); color: var(--status-past-text); margin-bottom: 6px; }
.w-pcard-note svg, .w-pcard-note i { width: 12px; height: 12px; flex: none; }

/* ---------- Score card ---------- */
.w-score-card { text-align: center; }
.w-score-v { font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: var(--shot-text); }
.w-score-v small { font-size: var(--fs-caption); color: var(--shot-text-muted); font-weight: 700; }
.w-score-l { font-size: var(--fs-caption); color: var(--shot-text-muted); margin-top: 2px; }

/* ---------- Skeleton ---------- */
.w-skel {
  display: block; border-radius: var(--r-md); background-color: var(--shot-surface);
  background-image: linear-gradient(90deg, var(--shot-surface) 25%, var(--shot-surface-light) 50%, var(--shot-surface) 75%);
  background-size: 200% 100%;
}
@media (prefers-reduced-motion: no-preference) { .w-skel { animation: w-shimmer 1.6s ease-in-out infinite; } }
@keyframes w-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.w-skel-card { width: 100%; height: 140px; border-radius: var(--r-lg); }
.w-skel-row { display: flex; align-items: center; gap: var(--s3); }
.w-skel-avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.w-skel-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.w-skel-line { height: 12px; width: 100%; border-radius: 6px; }
.w-skel-line--sm { width: 55%; }
.w-skel-text { height: 12px; width: 100%; border-radius: 6px; }

/* ---------- Progress ---------- */
.w-progress-wrap { width: 100%; }
.w-progress-label { font-size: 12px; color: var(--shot-text-secondary); margin-bottom: 6px; }
.w-progress { height: 6px; background: var(--shot-surface-light); border-radius: 3px; overflow: hidden; }
.w-progress > span { display: block; height: 100%; background: var(--shot-teal); border-radius: 3px; }

/* ---------- Poll ---------- */
/* color on the root, not just the question: .w-poll-opt has its own background
   (--shot-surface-light) but neither it nor .w-poll-q/.w-poll-top/.w-poll-label set their own
   colour, so this one declaration is what stops the question and option labels reading the wrong
   theme's text colour if a poll ever renders outside a .w-card (docs/WIDGETS.md "Contrast rule"). */
.w-poll { color: var(--shot-text); }
.w-poll-q { font-family: var(--font-heading); font-weight: 600; font-size: 14px; margin-bottom: var(--s2); }
.w-poll-opts { display: flex; flex-direction: column; gap: var(--s2); }
.w-poll-opt { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-md); background: var(--shot-surface-light); text-align: left; }
.w-poll-opt--locked { cursor: default; }
.w-poll-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); font-size: var(--fs-small); font-weight: 600; margin-bottom: 6px; }
.w-poll-label { display: inline-flex; align-items: center; gap: 6px; }
.w-poll-label svg, .w-poll-label i { width: 14px; height: 14px; color: var(--status-upcoming-text); }
.w-poll-pct { color: var(--shot-text-muted); font-weight: 700; }
.w-poll-opt[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--shot-teal); }
.w-poll-total { font-size: 12px; color: var(--shot-text-muted); margin-top: 8px; }

/* ---------- Confirm ---------- */
.w-confirm-head { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s3); }
.w-confirm-head svg, .w-confirm-head i { width: 22px; height: 22px; color: var(--shot-error-text); flex: none; }
.w-confirm-head h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin: 0; }
.w-confirm-notice { display: flex; gap: 10px; align-items: flex-start; padding: var(--s3); border-radius: var(--r-md); font-size: 12px; margin-bottom: var(--s3); line-height: 1.5; }
.w-confirm-notice svg, .w-confirm-notice i { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.w-confirm-notice--warn { background: rgba(239,68,68,.1); color: var(--status-overdue-text); }
.w-confirm-notice--warn svg, .w-confirm-notice--warn i { color: var(--shot-error-text); }
.w-confirm-notice--ok { background: rgba(16,185,129,.1); color: #6EE7B7; }
.w-confirm-notice--ok svg, .w-confirm-notice--ok i { color: var(--shot-success-text); }

/* ---------- Steps ---------- */
.w-steps { display: flex; align-items: flex-start; list-style: none; margin: 0 0 var(--s4); padding: 0; }
.w-step { flex: 1; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.w-step::before {
  content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px;
  background: var(--shot-surface-light); z-index: 0;
}
.w-step:first-child::before { display: none; }
.w-step--done::before { background: var(--shot-teal); }
.w-step-dot {
  position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%;
  background: var(--shot-surface-light); color: var(--shot-text-secondary);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.w-step-dot svg, .w-step-dot i { width: 14px; height: 14px; }
.w-step--done .w-step-dot { background: var(--shot-teal); color: #000; }
.w-step--current .w-step-dot { background: var(--shot-purple); color: #fff; box-shadow: 0 0 0 4px rgba(107,0,219,.25); }
.w-step-label { font-size: var(--fs-caption); color: var(--shot-text-muted); font-weight: 600; max-width: 84px; }
.w-step--current .w-step-label { color: var(--shot-text); }

/* ---------- Light mode overrides (docs/WIDGETS.md "Light mode") ----------
   Same 30%-alpha-on-near-black-card problem as base.css's .badge-purple: the wash reads as a
   solid pale lilac on a white/off-white card, too close to --accent-purple-text's own hue to hold
   4.5:1. Only the alpha needs to drop; the text colour already repoints above. */
[data-theme="light"] .w-badge--purple { background: rgba(107,0,219,.12); }
/* Live: no wash on a light card, so the #FF3B3B dot keeps 3:1 against the card (a pink wash took it to 2.74:1). */
[data-theme="light"] .w-badge--live { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,59,59,.55); }
/* #6EE7B7 is a mint tuned for the dark canon surfaces; it does not clear 4.5:1 on a light card
   and has no existing token twin, so this stays a scoped override rather than a substitution. */
[data-theme="light"] .w-confirm-notice--ok { color: var(--shot-success-text); }
[data-theme="light"] .w-pill { background: var(--shot-surface-light); color: var(--shot-text-secondary); }
[data-theme="light"] .w-pill:hover { background: var(--shot-surface-hover); color: var(--shot-text); }
[data-theme="light"] .w-pill[aria-pressed="true"] { background: var(--shot-surface); color: var(--shot-text); box-shadow: inset 0 0 0 1.5px var(--status-upcoming-text); }

/* ---------- Mixed mode overrides (docs/WIDGETS.md "Mixed mode") ----------
   .w-confirm-notice--ok never renders inside a dark band (it's confirm-sheet body content, always
   light under Mixed), so it takes the same fix as full Light. .w-badge--live/.w-badge--purple are
   different: a `tone: 'live'` badge appears BOTH on the light content area (Community's live match
   feed, Pulse's in-progress status badge outside the score strip) AND inside Clubhouse's Live now
   band, so this needs the per-region split the JS-side helpers above use -- light by default, then
   a band-scoped rule with the darker source-order wash restored for anything inside .w-band. */
[data-theme="mixed"] .w-badge--purple { background: rgba(107,0,219,.12); }
[data-theme="mixed"] .w-band .w-badge--purple { background: rgba(107,0,219,.3); }
[data-theme="mixed"] .w-badge--live { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,59,59,.55); }
[data-theme="mixed"] .w-band .w-badge--live { background: rgba(255,59,59,.16); box-shadow: none; }
[data-theme="mixed"] .w-confirm-notice--ok { color: var(--shot-success-text); }
[data-theme="mixed"] #main .w-pill { background: var(--shot-surface-light); color: var(--shot-text-secondary); }
[data-theme="mixed"] #main .w-pill:hover { background: var(--shot-surface-hover); color: var(--shot-text); }
[data-theme="mixed"] #main .w-pill[aria-pressed="true"] { background: var(--shot-surface); color: var(--shot-text); box-shadow: inset 0 0 0 1.5px var(--status-upcoming-text); }

/* .w-band's own visual treatment (SHOT.w.band): a dark panel with rounded corners, consistent
   across every band (Live now, the Locker header, the Pulse live score strip, the Perform team
   header card). Elements that are already a `.w-card` (the team header, a Pulse score card) get
   this for free from their own `background: var(--shot-surface)` once tokens.css re-scopes the
   token dark -- this rule exists for the bands that are not cards (Live now's `section()`, the
   Locker heading, the Pulse strip), so they read as a filled band instead of dark text floating on
   the light page. */
[data-theme="mixed"] .w-band { background: var(--shot-background); color: var(--shot-text); border-radius: var(--r-lg); padding: var(--s4); }
/* .w-card's own background (--shot-surface) still wins by source order for a band that IS a card
   (th-card, a Pulse score card) -- same visual family, one shade lighter than the plain band fill
   above, exactly how a card sits on the page in full Dark mode. The `color` declaration above is
   not optional the way that background one is: `color` is an inherited property, so without
   .w-band re-declaring it, text inside the band would keep inheriting #main's light-scoped
   near-black rather than re-resolving var(--shot-text) against the band's own dark-scoped value
   (tokens.css) -- the same reason #main/.sheet-body declare their own `color`. */

/* ---------- The shared event card, SHOT.w.evCard (24 Nov 2026, production's EventCard.tsx) ----------
   Flat surface, soft drop shadow, no border. The type colour (--evc) tints the 44px date pill at 12% and
   is the 3px bar of the compact variant; the matching "-text" token colours the pill's weekday and the
   type chip, because raw teal, gold and purple fail 4.5:1 as text on the light themes. */
.w-evc { position: relative; --evc: var(--shot-text-muted); --evc-text: var(--shot-text-secondary); }
.w-evc + .w-evc { margin-top: var(--s2); }
.w-evc--training { --evc: var(--shot-teal); --evc-text: var(--status-upcoming-text); }
.w-evc--match { --evc: var(--shot-gold); --evc-text: var(--status-past-text); }
.w-evc--recovery { --evc: #0E9F87; --evc-text: var(--status-upcoming-text); }
.w-evc--assessment { --evc: var(--shot-purple); --evc-text: var(--accent-purple-text); }
.w-evc-main {
  display: flex; align-items: stretch; gap: var(--s3); width: 100%; min-height: 64px; padding: 14px; text-align: left;
  background: var(--surface-card-bg); color: var(--shot-text); border-radius: var(--r-md); box-shadow: var(--e-default);
  text-decoration: none; cursor: pointer; font: inherit;
  transition: background var(--t-fast), box-shadow var(--t-fast) var(--ease-standard);
}
.w-evc-main:hover { background: var(--shot-surface-hover); }
.w-evc-main:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.w-evc--live .w-evc-main { box-shadow: var(--e-default), inset 3px 0 0 var(--shot-live); }
.w-evc--has-eval .w-evc-main { padding-right: 104px; }
.w-evc-date {
  flex: none; width: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: flex-start;
  padding: 6px 0; border-radius: 10px; background: color-mix(in srgb, var(--evc) 12%, transparent); line-height: 1.1;
}
.w-evc-wd { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--evc-text); }
.w-evc-day { font-family: var(--font-heading); font-size: 17px; font-weight: 800; color: var(--shot-text); }
.w-evc-mon { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--shot-text-secondary); }
.w-evc-bar { flex: none; width: 3px; align-self: stretch; border-radius: 2px; background: var(--evc); }
.w-evc--compact .w-evc-main { min-height: 52px; padding: 10px 12px; }
.w-evc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.w-evc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.w-evc-type {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--evc-text);
}
.w-evc-type svg { width: 11px; height: 11px; }
.w-evc-live, .w-evc-draft, .w-evc-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: var(--r-full); font-size: 11px; font-weight: 600;
  background: var(--shot-surface-light); color: var(--shot-text-secondary); line-height: 1.4;
}
.w-evc-chip i, .w-evc-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--shot-text-muted); flex: none; }
.w-evc-chip--green i { background: var(--shot-success); }
.w-evc-chip--amber i { background: var(--shot-warning); }
.w-evc-chip--red i { background: var(--shot-error); }
.w-evc-live--match i { background: var(--shot-live); }
.w-evc-live--session i { background: var(--shot-teal); }
.w-evc-live { color: var(--shot-text); }
.w-evc-draft { color: var(--status-past-text); }
.w-evc-title { font-size: 13px; font-weight: 700; color: var(--shot-text); overflow-wrap: anywhere; }
.w-evc-score { color: var(--status-past-text); font-weight: 800; }
.w-evc-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12px; color: var(--shot-text-secondary); }
.w-evc-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.w-evc-meta svg { width: 12px; height: 12px; flex: none; }
.w-evc-eval {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); min-height: 44px; min-width: 44px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  color: var(--status-upcoming-text); background: transparent; box-shadow: inset 0 0 0 1.5px var(--status-upcoming-text); text-decoration: none; cursor: pointer;
}
.w-evc-eval:hover { background: color-mix(in srgb, var(--shot-teal) 14%, transparent); }
.w-evc-eval:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
/* A heading over a run of cards ("Today", "Next up"): label 13px bold, count 11px uppercase. */
.w-dayh { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); padding: 12px 2px 6px; }
.w-dayh-label { font-size: 13px; font-weight: 700; color: var(--shot-text); }
.w-dayh--accent .w-dayh-label { color: var(--status-upcoming-text); }
.w-dayh-count { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--shot-text-secondary); }

/* ---------- Gold in Light (full Light only; Dark and Mixed untouched) ----------
   Gold carries as a fill with dark ink, never as text. The tokens --status-past-text and
   --shot-warning-text are already near-black in Light (tokens.css), so every gold text call site
   reads as dark ink; these rules put the gold fill next to it. */
:root[data-theme="light"] .w-badge--past,
:root[data-theme="light"] .ev-badge-pill--match { background: var(--gold-fill); color: var(--gold-ink); }
:root[data-theme="light"] .w-evc--match .w-evc-date { background: var(--gold-tint); }
:root[data-theme="light"] .w-evc--match .w-evc-wd { color: var(--gold-ink); }
:root[data-theme="light"] .w-evc--match .w-evc-type {
  padding: 2px 8px; border-radius: var(--r-full); background: var(--gold-fill); color: var(--gold-ink);
}
:root[data-theme="light"] .w-evc-chip--amber i { background: var(--gold-fill); box-shadow: 0 0 0 1px var(--gold-ink); }
:root[data-theme="light"] .pp-chip--gold,
:root[data-theme="light"] .att-rsvp--none,
:root[data-theme="light"] .evv-childchip,
:root[data-theme="light"] .pp-ins-k--focus { background: var(--gold-tint); color: var(--gold-ink); }
:root[data-theme="light"] .an2-concern,
:root[data-theme="light"] .an2-cell--amber,
:root[data-theme="light"] .sq-chip--warn,
:root[data-theme="light"] .cs-ann-flag--ack { background: var(--gold-tint); color: var(--gold-ink); }
:root[data-theme="light"] .more-tone--gold .more-tile-ic { background: var(--gold-fill); color: var(--gold-ink); }
:root[data-theme="light"] .more-tone--gold .more-cat-bar { background: var(--gold-fill); }
/* Light: the raw teal dot is 2.1:1 on the pale session badge; the text-safe teal clears 3:1. */
:root[data-theme="light"] .w-badge--session .w-badge-dot { background: var(--status-upcoming-text); }

/* ===== crest (SHOT.w.crest) ===== */
.w-crest { flex: none; display: inline-block; vertical-align: middle; }
/* ===== end crest ===== */
