/* Spending as a sentence (SQ-003, js/spend-sentence.js): the page sentence bar (css/sentence-bar.css), Start from, the
   answer with its notes, and three cards with their own "by" and "as" words. Money · Ledger tokens from pocket.css; the
   focus view (⤢) is pocket.css's .fx-focused over .fx-focus-backdrop. Design: docs/design/sentence-app/proto.html (.board, .lens). */

.ss-page { display: grid; gap: 14px; max-width: 1240px; margin: 0 auto; }
.ss-page[hidden], .ss-page.hidden { display: none; }

.ss-from { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ss-lbl { flex: none; font: 500 12.5px var(--font-sans); color: var(--text-dim); white-space: nowrap; }
.ss-chips { display: flex; gap: 8px; flex-wrap: wrap; }
/* SQ-015: the member's own starters sit on a line of their own under the three Start froms (a laptop); on a phone they
   follow them in the one swipe row, the next chip peeking at the edge */
@media (min-width: 769px) {
  .ss-from { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .ss-starters { grid-column: 2; }
}
.ss-starters:empty { display: none; }
.ss-chip {
  all: unset; box-sizing: border-box; height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center;
  font: 600 13px var(--font-sans); color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; white-space: nowrap;
}
.ss-chip[aria-pressed="true"] { background: var(--accent-dim); color: var(--accent-hi); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent); }
[data-theme="light"] .ss-chip[aria-pressed="true"] { color: var(--accent); }
.ss-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .ss-chip:hover { background: var(--surface-2); } }

.ss-head { display: grid; gap: 8px; }
.ss-total { margin: 0; font: 500 16px/1.5 var(--font-sans); color: var(--text-mid); }
.ss-total .sp-ans { font-size: 32px; letter-spacing: -.03em; color: var(--text); margin-right: 2px; vertical-align: -2px; }
.ss-sofar { font-weight: 600; color: var(--text); }
.ss-cmp { font-weight: 600; color: var(--text); white-space: nowrap; }
.ss-cmp.is-up { color: var(--red-ink, var(--red)); }
.ss-cmp.is-down { color: var(--green-ink, var(--green)); }
.ss-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgb(from var(--text) r g b / .05); font: 500 13px/1.5 var(--font-sans); color: var(--text-mid); }
.ss-note b { color: var(--text); }
/* SQ-017 "Didn't catch: …": the note's calm tone (no error colour), the words quoted, the closest sentences as chips */
.ss-missed { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: rgb(from var(--text) r g b / .05); }
.ss-missed-t { margin: 0; font: 500 13px/1.5 var(--font-sans); color: var(--text-mid); }
.ss-missed-t q { quotes: "“" "”"; font-style: italic; color: var(--text); }
@media (max-width: 768px) { .ss-missed .ss-chips { margin-right: -12px; padding-right: 12px; } }   /* the swipe row ends at the box's edge */
/* SQ-018 "Then": the follow-ups after every answer, the app's chips; a phone swipes them, the next one peeking */
.ss-next { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ss-next .ss-chips { min-width: 0; }
/* SQ-028: in the query card the follow-ups are "Try": dashed chips with a +, the label like the card's own */
.sb-try .ss-lbl { font: 600 11px var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.sb-try .ss-chip { gap: 6px; background: transparent; box-shadow: none; border: 1.5px dashed color-mix(in srgb, var(--text) 24%, transparent); }
.sb-try .ss-chip::before { content: "+" / ""; font-size: 16px; font-weight: 500; color: var(--accent); }
@media (hover: hover) { .sb-try .ss-chip:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); } }
/* new offers come in once on a spring (a redraw of the same answer doesn't replay it); reduced motion: no movement */
.ss-next.is-new .ss-chip, .ss-missed.is-new { animation: ss-offer-in 520ms linear(0, 0.071, 0.226, 0.407, 0.577, 0.72, 0.831, 0.911, 0.964, 0.997, 1.014, 1.021, 1.023, 1.02, 1.014, 1.009, 1.004, 1.002, 1) both; }
.ss-next.is-new .ss-chip:nth-child(2) { animation-delay: 40ms; }
.ss-next.is-new .ss-chip:nth-child(3) { animation-delay: 80ms; }
@keyframes ss-offer-in { from { opacity: 0; translate: 0 6px; } }
@media (prefers-reduced-motion: reduce) { .ss-next.is-new .ss-chip, .ss-missed.is-new { animation: ss-offer-fade 160ms ease both; } }
@keyframes ss-offer-fade { from { opacity: 0; } }

/* three cards: a wide one and its neighbour, then one across (a phone: one column) */
.ss-board { display: grid; gap: 14px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.ss-board > .ss-card:nth-child(3) { grid-column: 1 / -1; }
.ss-card { min-width: 0; display: grid; gap: 12px; padding: 16px 18px 18px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.ss-card.is-outlined { box-shadow: var(--shadow-sm), 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent); }
.ss-card[hidden] { display: none; }
.ss-card-h { display: flex; align-items: flex-start; gap: 8px; }
.ss-cs { margin: 0; flex: 1; min-width: 0; font: 600 17px/1.55 var(--font-sans); letter-spacing: -.015em; color: var(--text); }
.ss-cs .sp-word { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ss-big { all: unset; flex: none; box-sizing: border-box; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--text-mid); background: var(--surface-2); cursor: pointer; }
.ss-big svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ss-big:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ss-body { min-width: 0; }
.ss-none, .ss-more { margin: 0; font: 500 12.5px var(--font-sans); color: var(--text-dim); }
.ss-more { margin-top: 8px; }
.ss-inside { margin: -4px 0 8px; font: 500 12.5px var(--font-sans); color: var(--text-dim); }

/* bars: name, bar (with the usual as a tick), amount, change */
.ss-bars { display: grid; gap: 2px; }
.ss-bar-r { display: grid; grid-template-columns: minmax(84px, 150px) minmax(0, 1fr) 76px; gap: 10px; align-items: center; min-height: 28px; font: 500 13.5px var(--font-sans); }
.has-usual .ss-bar-r { grid-template-columns: minmax(84px, 150px) minmax(0, 1fr) 76px 60px; }
.ss-bar-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.ss-bar-n small { color: var(--text-dim); font-size: 11.5px; }
.ss-bar-t { position: relative; height: 14px; border-radius: 4px; background: rgb(from var(--text) r g b / .05); }
.ss-bar-t i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--accent-fill); }
.is-sofar .ss-bar-t i { background: repeating-linear-gradient(-45deg, var(--accent-fill) 0 6px, color-mix(in srgb, var(--accent-fill) 55%, transparent) 6px 10px); }
.ss-bar-t u { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--text); opacity: .7; }
.ss-bar-v, .ss-bar-d { font: 600 13px var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ss-bar-d { font-weight: 500; font-size: 12px; color: var(--text-dim); }
.ss-bar-d.is-up { color: var(--red-ink, var(--red)); }
.ss-legend { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; margin: 8px 0 0; font: 500 12px var(--font-sans); color: var(--text-dim); }
.ss-legend u { display: inline-block; width: 2px; height: 12px; background: var(--text); opacity: .7; }
.ss-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; background: var(--accent); }
.ss-legend i.is-u { background: none; border-top: 2px dashed var(--text-dim); height: 0; }
.ss-legend-v { margin-left: auto; font: 600 13px var(--font-mono); color: var(--text); }

/* a calendar */
.ss-cals { display: grid; gap: 12px; }
.ss-cal-t { margin: 0 0 6px; font: 600 12.5px var(--font-sans); color: var(--text-mid); }
.ss-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ss-wd { font: 600 10px var(--font-mono); color: var(--text-dim); text-align: center; }
.ss-d { position: relative; min-height: 50px; padding: 5px 6px; box-sizing: border-box; border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between;
  background: color-mix(in srgb, var(--accent-fill) var(--p, 0%), var(--surface-2)); font: 500 10.5px var(--font-mono); color: var(--text-dim); min-width: 0; overflow: hidden; }
.ss-d b { font: 600 12px var(--font-mono); color: var(--text); }
.ss-d span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-d.is-hot, .ss-d.is-hot b { color: #fff; }
.ss-d.is-today { box-shadow: inset 0 0 0 2px var(--text); }
.ss-d.is-future, .ss-d.is-out { opacity: .45; }
.ss-d.is-blank { background: none; }

/* a line */
.ss-line { position: relative; display: block; width: 100%; height: 180px; }
.ss-line-g { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* the names and dots over the stretched drawing, at their own size */
.ss-l-t { position: absolute; bottom: 4px; font: 500 10.5px/1.2 var(--font-mono); color: var(--text-dim); white-space: nowrap; }
.ss-l-t.is-middle { transform: translateX(-50%); }
.ss-l-t.is-end { transform: translateX(-100%); }
.ss-l-c { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ss-l-a { fill: color-mix(in srgb, var(--accent) 16%, transparent); }
.ss-l-u { fill: none; stroke: var(--text-dim); stroke-width: 1.6; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.ss-l-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); }
.ss-l-open { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 2 4; opacity: .7; vector-effect: non-scaling-stroke; }
.ss-l-hollow { position: absolute; width: 10px; height: 10px; box-sizing: border-box; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); transform: translate(-50%, -50%); }
.ss-legend i.is-open { background: none; border-top: 2px dotted var(--accent); height: 0; }
.ss-tbl tr.is-rest th { font-weight: 500; color: var(--text-mid); }

/* a table */
.ss-tbl-w { overflow-x: auto; }
.ss-tbl { width: 100%; border-collapse: collapse; font: 500 13px var(--font-sans); }
.ss-tbl th, .ss-tbl td { padding: 6px 8px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--border); }
.ss-tbl thead th { font: 600 10.5px var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); }
.ss-tbl tbody th, .ss-tbl tfoot th { text-align: left; font-weight: 600; color: var(--text); }
.ss-tbl td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ss-tbl td.is-up { color: var(--red-ink, var(--red)); }
.ss-tbl tfoot td, .ss-tbl tfoot th { font-weight: 600; border-bottom: 0; }

/* a donut */
.ss-donut { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; }
.ss-donut svg { width: 150px; height: 150px; }
.ss-donut text { font: 600 13px var(--font-mono); fill: var(--text); }
.ss-donut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ss-donut li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; font: 500 13px var(--font-sans); }
.ss-donut li i { width: 10px; height: 10px; border-radius: 3px; }
.ss-donut li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-donut li b { font: 600 12.5px var(--font-mono); }

/* a list of charges */
.ss-list { list-style: none; margin: 0; padding: 0; }
.ss-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ss-list li:last-child { border-bottom: 0; }
.ss-li-m { min-width: 0; font: 600 14px var(--font-sans); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-li-m small { display: block; font: 500 12px var(--font-sans); color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; }
.ss-li-a { font: 600 14px var(--font-mono); font-variant-numeric: tabular-nums; }
.ss-li-a.is-in { color: var(--green-ink, var(--green)); }

/* ⤢ large: the focus view on a laptop (.fx-focused); on a phone the card fills the screen */
#page-app .ss-card.fx-focused { padding: 20px 22px 24px; overflow: auto; }
.ss-card.fx-focused .ss-cs { font-size: 21px; }
.ss-card.fx-focused .ss-line { height: 300px; }
.ss-card.is-full { position: fixed; inset: 0; z-index: 601; border-radius: 0; overflow: auto; padding: 18px 16px calc(28px + env(safe-area-inset-bottom, 0px)); align-content: start; }
html.ss-full-on { overflow: hidden; }

@media (max-width: 768px) {
  .ss-board { grid-template-columns: minmax(0, 1fr); }
  .ss-card { padding: 14px 15px 16px; }
  /* two swipe rows: the Start froms beside their label, the starters across the whole width under them (SQ-015) */
  .ss-from { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 8px; }
  .ss-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -14px; padding: 2px 14px 4px 0; scrollbar-width: none; scroll-padding-inline: 14px; }
  .ss-chips::-webkit-scrollbar { display: none; }
  .ss-starters { grid-column: 1 / -1; margin: 0 -14px; padding: 2px 14px 4px; }
  .ss-total .sp-ans { font-size: 23px; }
  .ss-bar-r, .has-usual .ss-bar-r { grid-template-columns: minmax(70px, 100px) minmax(0, 1fr) 64px; gap: 8px; font-size: 12.5px; }
  .has-usual .ss-bar-r { grid-template-columns: minmax(70px, 96px) minmax(0, 1fr) 62px 52px; }
  .ss-d { min-height: 40px; padding: 4px; }
  .ss-d span { display: none; }
  .ss-donut { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
  .ss-donut svg { width: 120px; height: 120px; }
}
/* touch: every small control takes a 48 px finger (the hit area grows, the look doesn't) */
.ss-chip, .ss-big { position: relative; }
.ss-chip::after, .ss-big::after { content: ""; position: absolute; left: 50%; top: 50%; min-width: 48px; min-height: 48px; width: 100%; height: 100%; transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: reduce) { .ss-card { transition: none; } }
/* SQ-010: a calendar of places, what is still due, and the flow (where it went) */
.ss-d .ss-pl { font: 600 10px var(--font-sans); color: var(--text-mid); }
.ss-d.is-hot .ss-pl { color: #fff; }
.ss-d.has-due { opacity: 1; box-shadow: inset 0 0 0 1.5px var(--accent); }
.ss-due { display: block; font: 600 9.5px var(--font-sans); font-style: normal; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-legend i.is-due { width: 10px; height: 10px; border-radius: 3px; background: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.ss-flow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(40px, .8fr) minmax(0, 1fr); }
.ss-fc { position: relative; }
.ss-fb { width: 100%; height: 100%; display: block; }
.ss-fb path { opacity: .32; }
.ss-fn { all: unset; box-sizing: border-box; position: absolute; left: 0; right: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 0; padding: 0 8px;
  border-radius: 6px; background: color-mix(in srgb, var(--c, var(--text-dim)) 22%, var(--surface-2)); box-shadow: inset 3px 0 0 var(--c, var(--text-dim)); cursor: pointer; overflow: hidden; }
.ss-fc.is-r .ss-fn { box-shadow: inset -3px 0 0 var(--text-dim); text-align: right; }
.ss-fn.is-rest { cursor: default; background: var(--surface-2); box-shadow: none; }
.ss-fn-l { font: 600 12px var(--font-sans); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-fn-v { font: 600 11px var(--font-mono); color: var(--text-mid); white-space: nowrap; }
.ss-fn.is-rest .ss-fn-l { font-weight: 500; color: var(--text-mid); }
.ss-fn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (hover: hover) { button.ss-fn:hover { background: color-mix(in srgb, var(--c, var(--accent)) 34%, var(--surface-2)); } }
@media (max-width: 768px) {
  .ss-d .ss-pl { display: block; font-size: 8.5px; }
  .ss-due { font-size: 0; height: 4px; width: 4px; border-radius: 2px; background: var(--accent); }
  .ss-flow { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); }
  .ss-fn { padding: 0 6px; }
  .ss-fn-l { font-size: 11px; }
}

/* SQ-022: the calendar never grows with the period. 2 to 13 months: a year strip, a square a day, weeks as columns
   (Monday on top), the months named over the week they start in. Longer: a square a month, a row a year. */
.ss-strip { display: grid; gap: 4px; }
.ss-strip-m, .ss-strip-g { display: grid; grid-template-columns: repeat(var(--w), minmax(0, 18px)); gap: 2px; }   /* a square never tops 18px: 2 months stay short (SQ-022 review) */
.ss-strip-m span { font: 600 10.5px/1.2 var(--font-sans); color: var(--text-mid); white-space: nowrap; overflow: visible; }
.ss-strip-g { grid-auto-flow: column; grid-template-rows: repeat(7, auto); }
.ss-sq { display: block; aspect-ratio: 1; min-width: 0; border-radius: 2px; background: color-mix(in srgb, var(--accent-fill) var(--p, 0%), var(--surface-2)); }
.ss-sq.is-out { background: none; }
.ss-sq.is-zero { background: none; box-shadow: inset 0 0 0 1px var(--border); }   /* nothing spent: an outline, not a fill (the review's 1.08:1) */
.ss-strip:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.ss-sq.is-sel { box-shadow: 0 0 0 2px var(--text); }
.ss-strip-r { margin: 6px 0 0; font: 600 12.5px var(--font-sans); color: var(--text-mid); min-height: 1.4em; }
.ss-sq.is-future { opacity: .45; }
.ss-sq.is-today { box-shadow: 0 0 0 1.5px var(--text); }
.ss-sq.has-due { box-shadow: inset 0 0 0 1.5px var(--accent); }
.ss-sq.is-today.has-due { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 1.5px var(--text); }
.ss-strip-k > span:first-child { font: 600 13px var(--font-mono); color: var(--text); }
.ss-heat { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; }
.ss-legend .ss-heat i { width: 9px; height: 9px; border-radius: 2px; background: color-mix(in srgb, var(--accent-fill) var(--p), var(--surface-2)); }
.ss-mrow { display: grid; gap: 4px; }
.ss-mrow-h, .ss-mrow-y { display: grid; grid-template-columns: 38px repeat(12, minmax(0, 1fr)); gap: 3px; align-items: center; }
.ss-mrow-h span, .ss-mrow-y > span { font: 600 10.5px var(--font-sans); color: var(--text-mid); text-align: center; }
.ss-mrow-y > span { text-align: left; font-family: var(--font-mono); }
.ss-mrow .ss-sq { aspect-ratio: auto; height: 24px; border-radius: 5px; }
@media (max-width: 768px) {
  .ss-strip-m, .ss-strip-g { gap: 1px; }
  .ss-sq { border-radius: 1px; }
  .ss-mrow .ss-sq { height: 20px; border-radius: 4px; }
}

/* SQ-023: "Show all" on a list card, "Show 25 more" in the large card */
.ss-more-b { all: unset; box-sizing: border-box; margin-top: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center;
  font: 600 13px var(--font-sans); color: var(--accent-hi, var(--accent)); background: rgb(from var(--accent) r g b / .12); cursor: pointer; }
.ss-more-b:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 768px) { .ss-more-b { min-height: 48px; } }

/* SQ-023 review: bars over time keep the card's height and scroll inside (the latest in view); "Everything else" is quieter */
.ss-bars.is-time { max-height: 272px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ss-bar-r.is-rest .ss-bar-n { color: var(--text-mid); font-weight: 500; }
.ss-bar-r.is-rest .ss-bar-t i { opacity: .55; }
.ss-k-kbd { display: none; }
@media (hover: hover) and (pointer: fine) { .ss-k-kbd { display: inline; } .ss-k-touch { display: none; } }
.ss-bars.is-time:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

/* A tap on a piece of a chart opens the drawer with its charges (2026-11-14): a pointer, a quiet hover, a ring on focus */
.ss-drill, .ss-strip .ss-sq[data-drill], .ss-donut circle[data-slice] { cursor: pointer; }
.ss-drill:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 6px; }
.ss-bar-r.ss-drill, .ss-donut li.ss-drill { border-radius: 6px; margin-inline: -4px; padding-inline: 4px; }
.ss-list li.ss-drill { margin-inline: -6px; padding-inline: 6px; border-radius: 6px; }
@media (hover: hover) {
  .ss-bar-r.ss-drill:hover, .ss-donut li.ss-drill:hover, .ss-list li.ss-drill:hover, .ss-tbl .ss-drill:hover { background: var(--surface-2); }
  .ss-d.ss-drill:hover, .ss-sq.ss-drill:hover, .ss-strip .ss-sq[data-drill]:hover { box-shadow: 0 0 0 2px var(--accent); }
  .ss-donut circle[data-slice]:hover { opacity: .8; }
  .ss-l-hit:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
}
.ss-l-say { position: absolute; inset: 0; pointer-events: none; }
.ss-l-hits { position: absolute; inset: 0 0 22px; overflow: hidden; }
.ss-l-hit { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.ss-l-hit.ss-drill:focus-visible { outline-offset: -2px; }
.ss-tbl .ss-drill { all: unset; box-sizing: border-box; display: block; width: calc(100% + 16px); margin: -6px -8px; padding: 6px 8px; text-align: inherit; font: inherit; color: inherit; cursor: pointer; border-radius: 6px; }
.ss-tbl .ss-drill:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
