/* Today: the three-column page (web v3.4, release R3, V2-T6a).
   Layout skeleton + the shared parts of every card on the page. Tokens --ob3-*
   only (colours live in design-system.css; none here). Each slot's own restyle
   goes in its own sheet, loaded after this one: ob-today-day.css (T6b),
   ob-today-saarthi.css (T7), ob-today-done.css (T8).

   Breakpoints follow the shell, not the old page: 3 columns from 1280, 2 from 900
   to 1279, 1 below 900 (the day dial first, receipts below the fold). Class names
   that the extracted scripts write into (.ob-today-card, .ob-feed-*, .ob-read-*, .ob-digest-*,
   .ob-ingest-*, .ob-int-*, .ob-clamp,
   .v2t-day-*, .v2t-reading-*) keep their names; only their values are tokenised.
   The Today CSS rules the legacy tests pin (.v2t-reading-mark / .v2t-reading-text)
   are kept verbatim until T7 replaces the brief. */

/* ── The page measure ────────────────────────────────────────────────────────
   ONE content measure, shared by the masthead and the grid so their edges agree
   at every width, and CENTRED so a wide screen reads as deliberate. */
:root { --ob-today-measure: 1600px; }

.ob-today [hidden] { display: none !important; }

.ob-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ob-today > .ob-masthead,
.ob-today > .ob-today-grid,
.ob-today > .ob-signed-out,
.ob-today > .ob-statusbar {
  max-width: var(--ob-today-measure); margin-left: auto; margin-right: auto;
}

/* Keyboard focus: the one token, on everything Today draws. */
.ob-today a:focus-visible,
.ob-today button:focus-visible,
.ob-today summary:focus-visible,
.ob-today [tabindex]:focus-visible {
  outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset);
}

/* Anchors and chip buttons: defeat the legacy theme.css globals
   (`:root[data-theme="light"] a { color: blue !important }`, the button reset). */
body.obds-app .ob-today a.ob-link { color: var(--ob3-accent-text) !important; }
body.obds-app .ob-today .ob-chip,
body.obds-app .ob-today a.ob-chip {
  color: var(--ob3-ink) !important;
  background: var(--ob3-surface) !important;
  border: 1px solid var(--ob3-line) !important;
}
body.obds-app .ob-today .ob-chip:hover,
body.obds-app .ob-today .ob-chip.is-open { border-color: var(--ob3-accent) !important; }
body.obds-app .ob-today a.ob-chip.is-focus {
  color: var(--ob3-on-accent-tint) !important;
  background: var(--ob3-accent-tint) !important;
  border-color: transparent !important;
}
body.obds-app .ob-today .ob-queue-head a { color: var(--ob3-muted) !important; }
body.obds-app .ob-today .ob-queue-head a:hover { color: var(--ob3-accent-text) !important; }

/* ── Masthead ────────────────────────────────────────────────────────────── */
.ob-masthead { display: flex; flex-direction: column; gap: var(--ob3-space-2); margin-bottom: var(--ob3-space-5); }
.ob-masthead-date {
  margin: 0; font-size: var(--ob3-text-label); line-height: var(--ob3-leading-label);
  font-weight: var(--ob3-weight-semibold); letter-spacing: var(--ob3-tracking-label);
  text-transform: uppercase; color: var(--ob3-muted);
}
.ob-masthead-greeting {
  margin: 0; font-size: var(--ob3-text-title); line-height: var(--ob3-leading-title);
  font-weight: var(--ob3-weight-semibold); letter-spacing: var(--ob3-tracking-title); color: var(--ob3-ink);
}
/* Heights are reserved (chips arrive with /today/summary) so nothing below shifts. */
.ob-masthead-chips { display: flex; flex-wrap: wrap; gap: var(--ob3-space-2); min-height: 36px; align-content: flex-start; }
/* t6549: the PC-away line, the same quiet line as .obn-low (meta size, muted). No board exists for this one line. */
.ob-pc-away { margin: 0; font-size: var(--ob3-text-meta); color: var(--ob3-muted); }
.ob-pc-away[hidden] { display: none; }
.ob-masthead-date { min-height: var(--ob3-leading-label); }
.ob-masthead-greeting { min-height: var(--ob3-leading-title); }
.ob-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; box-sizing: border-box;
  min-height: 36px; padding: 6px 14px; border-radius: var(--ob3-radius-full);
  font: inherit; font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm);
  font-weight: var(--ob3-weight-medium); text-decoration: none; text-align: left; cursor: pointer;
}
.ob-chip > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── The grid: ONE layout model (owner board 31 Oct 2026, Main / Inner draft; dashboard.html "THE COLUMNS") ──────────
   Columns A (#ob-col-saarthi: masthead from 932 px, rhythm + tiles, Your day, Needs you), B (#ob-col-day: Today's plan) and C
   (#ob-col-done: Done for you, Later). Cover (under 932 px): one column, DOM order. Inner (932 px and up): A on the left, B over C on the
   right; from 1280 px the right (plan) column is wider. An empty column (the plan switched off) takes no room. Every section inside a
   column is separated by the same stack gap. */
.ob-today { --ob-today-gutter: var(--ob3-space-6); --ob-today-stack: var(--ob3-space-4); }
.ob-today-grid { display: grid; gap: var(--ob-today-stack) var(--ob-today-gutter); grid-template-columns: minmax(0, 1fr); align-items: start; }
.ob-col { display: flex; flex-direction: column; gap: var(--ob-today-stack); min-width: 0; container: obcol / inline-size; }
.ob-col-day:not(:has(> #r77-slot-plan:not([hidden]))) { display: none; }
@media (max-width: 931.98px) { .ob-today { --ob-today-stack: var(--ob3-space-3); } .ob-masthead { margin-bottom: var(--ob3-space-3); } }

@media (min-width: 932px) {
  .ob-today-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a b" "a c"; grid-template-rows: auto 1fr; }
  .ob-today-grid:has(#r77-slot-plan[hidden]) { grid-template-areas: "a c"; grid-template-rows: auto; }
  .ob-col-saarthi { grid-area: a; }
  .ob-col-day { grid-area: b; }
  .ob-col-done { grid-area: c; }
  /* The masthead leads column A here (ob-today-core.js). t6115: the floating Ask bar is gone, so the right column starts at the top. */
  .ob-col-saarthi > .ob-masthead { margin: 0; }
}
@media (min-width: 1280px) {
  .ob-today-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}
/* ── The row anatomy: every list on Today is the SAME inset grouped list (T-TODAY-HIG, made one rule by T-VISUAL-TODAY) ──
   A group is one rounded surface (radius 20), rows separated by a hairline. Every row: 12 px inset left and right, a 32 px leading slot
   (icon tile, tick circle, severity), 12 px gap, so the text starts 56 px in; the trailing control's right edge sits 12 px in. A row is
   at least 56 px. Section labels sit on the group's left edge. Hit areas are 44 px even where the drawn control is smaller.
   Weights: three only (700 aliased to 600, 500 to 400 inside Today). */
.ob-today {
  --ob3-today-group-radius: var(--ob3-radius-card);
  --ob3-today-inset: var(--ob3-space-4);
  --ob3-today-hairline: var(--ob3-line);
  --ob-row-min: 56px;
  --ob-row-pad: 12px;
  --ob-row-lead: 32px;
  --ob-row-gap: 12px;
  --ob-row-text-x: calc(var(--ob-row-pad) + var(--ob-row-lead) + var(--ob-row-gap));
  --ob3-weight-bold: var(--ob3-weight-semibold);
  --ob3-weight-medium: var(--ob3-weight-regular);
}

/* The Next step repeats the Your day card's "Next:" line, so it is drawn only while the day is not built. */
.ob-col-saarthi:has(> #obd-today:not([hidden])) > #ob-next-step { display: none; }

@media (min-width: 900px) {
  .ob-masthead-greeting { font-size: 28px; line-height: 34px; min-height: 34px; }
}

/* ── Shared card surface ─────────────────────────────────────────────────── */
.ob-surface {
  box-sizing: border-box; border-radius: var(--ob3-radius-card); padding: var(--ob3-space-4);
  background: var(--ob3-surface); border: 1px solid var(--ob3-line); color: var(--ob3-ink);
}
.ob-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--ob3-space-3); }
.ob-card-title {
  margin: 0; font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body);
  font-weight: var(--ob3-weight-semibold); color: var(--ob3-ink);
}
.ob-link { font-size: var(--ob3-text-meta); font-weight: var(--ob3-weight-semibold); text-decoration: none; white-space: nowrap; }
.ob-muted { margin: 0; font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); color: var(--ob3-muted); }
.ob-eyebrow {
  margin: 0 0 var(--ob3-space-2); font-size: var(--ob3-text-label); line-height: var(--ob3-leading-label);
  font-weight: var(--ob3-weight-semibold); letter-spacing: var(--ob3-tracking-label);
  text-transform: uppercase; color: var(--ob3-muted);
}
.ob-row-summary {
  cursor: pointer; list-style: none; font-size: var(--ob3-text-body-sm); font-weight: var(--ob3-weight-semibold);
  color: var(--ob3-ink); display: flex; align-items: center; min-height: 28px;
}
.ob-row-summary::-webkit-details-marker { display: none; }

/* The small caps rail label, with a rule that runs to the column's edge. */
.ob-rail-label {
  display: flex; align-items: center; gap: var(--ob3-space-3); min-height: 24px; margin: 0 0 var(--ob3-space-2);
  font-size: var(--ob3-text-label); line-height: var(--ob3-leading-label); font-weight: var(--ob3-weight-semibold);
  letter-spacing: var(--ob3-tracking-label); text-transform: uppercase; color: var(--ob3-muted);
}
.ob-rail-label::after { content: ""; flex: 1; height: 1px; background: var(--ob3-line); order: 1; }
.ob-rail-label .ob-count { order: 2; }
.ob-count {
  font-size: var(--ob3-text-meta); font-weight: var(--ob3-weight-semibold); letter-spacing: 0; text-transform: none;
  padding: 2px 10px; border-radius: var(--ob3-radius-full);
  background: var(--ob3-accent-tint); color: var(--ob3-on-accent-tint);
}

.ob-signed-out { margin-bottom: var(--ob3-space-4); }
.ob-signed-out p { margin-top: var(--ob3-space-2); }

/* ── Column 1: Your day (legacy rows until T6b's dial) ───────────────────── */
.ob-day-rows { display: flex; flex-direction: column; gap: 7px; margin-top: 11px; }
.ob-day-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
#ob-day-weather-panel { margin-top: var(--ob3-space-2); }
.v2t-day-row {
  display: flex; align-items: center; gap: 10px; border-radius: var(--ob3-radius-control); padding: 9px 11px;
  background: var(--ob3-sunk); border-left: 3px solid var(--v2t-acc, var(--ob3-accent));
}
.v2t-day-time {
  font-family: var(--ob3-font-mono); font-size: 11.5px; font-weight: var(--ob3-weight-semibold);
  color: var(--ob3-ink); flex: 0 0 42px;
}
.v2t-day-title {
  font-size: 12.5px; font-weight: var(--ob3-weight-semibold); color: var(--ob3-ink);
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* accent variants for day rows and decision cards (names the scripts write) */
.is-acc-primary  { --v2t-acc: var(--ob3-accent); }
.is-acc-teal     { --v2t-acc: var(--ob3-good-vivid); }
.is-acc-violet   { --v2t-acc: var(--ob3-saarthi-fill); }
.is-acc-marigold { --v2t-acc: var(--ob3-attention-vivid); }
.is-acc-pink     { --v2t-acc: var(--ob3-capture-vivid); }
.is-acc-bear     { --v2t-acc: var(--ob3-alert-vivid); }
.is-acc-mint     { --v2t-acc: var(--ob3-good-vivid); }

/* The vital tiles (T6b): stacked beside the rhythm card (ob-today-day.css, owner board 31 Oct 2026). An empty container takes no space. */
.ob-tiles { display: flex; flex-direction: column; gap: var(--ob3-space-3); }
.ob-tiles:empty { display: none; }

/* ── Column 2: Saarthi's line ────────────────────────────────────────────── */
.ob-saarthi {
  box-sizing: border-box; border-radius: var(--ob3-radius-card); padding: var(--ob3-space-4);
  background: var(--ob3-saarthi-tint); color: var(--ob3-ink);
}
.ob-saarthi-head { display: flex; align-items: center; gap: var(--ob3-space-2); margin-bottom: var(--ob3-space-2); }
.ob-orb { width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto; background: var(--ob3-orb); }
.ob-saarthi-eyebrow {
  font-size: var(--ob3-text-meta); font-weight: var(--ob3-weight-semibold); color: var(--ob3-saarthi);
}
/* The brief (painted into #ob-today-brief by paintTodayBrief) is Saarthi's serif
   line, clamped to a glance with a More toggle. */
.ob-saarthi #ob-today-brief .ob-clamp {
  font-family: var(--ob3-font-serif); font-size: var(--ob3-text-saarthi-lg); line-height: var(--ob3-leading-saarthi-lg);
  font-weight: var(--ob3-weight-semibold); letter-spacing: var(--ob3-tracking-title);
  color: var(--ob3-ink); margin: 0;
}
.ob-saarthi #ob-today-brief .obds-caption,
.ob-saarthi #ob-today-brief details summary { color: var(--ob3-muted); }
.ob-saarthi #ob-today-brief .obs-skeleton { animation: none; }
/* The daily reading's line under the brief (horoscope sprint §7.7): a divider, the
   violet sun and one line of up to three. */
.ob-saarthi #ob-today-brief .v2t-reading-line {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--ob3-line); text-decoration: none;
}
.v2t-reading-mark {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: hsl(var(--v2-violetbg)); color: hsl(var(--v2-violet));
}
.v2t-reading-text {
  font-size: 13px; line-height: 1.4; flex: 1; min-width: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
body.obds-app .ob-saarthi a.v2t-reading-line { color: var(--ob3-ink) !important; }
body.obds-app .ob-saarthi a.v2t-reading-line:hover .v2t-reading-text { text-decoration: underline; }
.ob-more-btn {
  background: none; border: 0; padding: 2px 0 0; cursor: pointer;
  color: var(--ob3-accent-text); font: inherit; font-size: 12px; font-weight: var(--ob3-weight-semibold);
}
/* Synthesis-as-prompt: clamp long prose to a glance + a "More" toggle. */
.ob-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ob-clamp.is-open { -webkit-line-clamp: unset; }

/* (Next step is T7's: ob-today-saarthi.css.) */

/* ── Column 2: Decisions (the For-you queue stays here until V3, decision U4) ─ */
.ob-queue-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 0 4px; margin-bottom: 12px;
}
.ob-queue-head > span { font-size: var(--ob3-text-body-sm); font-weight: var(--ob3-weight-bold); color: var(--ob3-ink); }
.ob-queue-head a { font-size: 11.5px; cursor: pointer; text-decoration: none; }
#ob-cards { display: flex; flex-direction: column; gap: 10px; }

/* ── Column 3: Done for you, Later ───────────────────────────────────────── */
#ob-later-body { display: flex; flex-direction: column; gap: var(--ob3-space-3); }
.ob-cost-top { display: flex; align-items: center; justify-content: space-between; gap: var(--ob3-space-3); }
.ob-cost-main { display: inline-flex; align-items: center; gap: 8px; }
.ob-cost-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ob3-faint); display: inline-block; flex: 0 0 auto; }
.ob-cost-bar-wrap { height: 6px; border-radius: 6px; background: var(--ob3-sunk); overflow: hidden; margin-top: 10px; }
.ob-cost-bar { height: 100%; border-radius: 6px; background: var(--ob3-accent); transition: width 0.3s ease; }
.ob-cost-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
#ob-cost-secondary { margin-top: 8px; }
#ob-weekly-letter { margin-top: var(--ob3-space-3); white-space: pre-wrap; line-height: 1.5; font-size: var(--ob3-text-body); }

/* ── Status bar: drawn only when degraded or offline ─────────────────────── */
.ob-statusbar {
  margin: var(--ob3-space-6) auto 0; padding: 12px 20px; box-sizing: border-box;
  background: var(--ob3-sunk); border-radius: var(--ob3-radius-full);
  color: var(--ob3-muted); font-size: var(--ob3-text-meta);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}

/* ── Panel host: empty and inert until a panel opens (T9) ────────────────── */
.ob-panel-host:empty { display: none; }

/* Tactile press, reduced-motion safe. */
@media (prefers-reduced-motion: no-preference) {
  .ob-chip:active { transform: scale(0.97); }
}

/* Under 900 px every control Today draws is a 44 px target. */
@media (max-width: 899.98px) {
  .ob-today .ob-chip, .ob-today .ob-link, .ob-today .ob-row-summary,
  .ob-today .ob-queue-head a, .ob-today .ob-more-btn { min-height: 44px; }
  .ob-today .ob-link, .ob-today .ob-queue-head a { display: inline-flex; align-items: center; }
  .ob-masthead-chips { min-height: 44px; }
}

/* ── The "For you" card queue (today_cards) ──────────────────────────────────
   One vertical queue: card ground + border, a 3px kind-accent LEFT border,
   coloured kind tag, CTA verb + Dismiss pills, feedback right-aligned. Class
   NAMES unchanged (the script renders .meta/.title/.body/.actions/.tally/
   .ob-card-why into them). */
.ob-today-card {
  border-radius: var(--ob3-radius-card) !important; padding: 15px 16px;
  background: var(--ob3-surface); border: 1px solid var(--ob3-line);
  border-left: 3px solid var(--v2t-acc, var(--ob3-accent));
  box-shadow: none;
}
.ob-today-card .meta {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  font-size: 10.5px; font-weight: var(--ob3-weight-bold); text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--ob3-muted); margin-bottom: 6px;
}
.ob-today-card .meta .source { color: var(--ob3-muted); }
.ob-today-card .meta .shown {
  color: var(--ob3-muted); background: var(--ob3-sunk);
  padding: 2px 8px; border-radius: var(--ob3-radius-full); font-weight: var(--ob3-weight-semibold);
}
.ob-today-card .title { font-weight: var(--ob3-weight-semibold); font-size: var(--ob3-text-card-title); margin-bottom: 4px; color: var(--ob3-ink); }
.ob-today-card .body { font-size: var(--ob3-text-body-sm); line-height: 1.55; white-space: pre-wrap; color: var(--ob3-muted); }
/* Evidence tiles under a decision card's title (metadata.evidence, lib/card-evidence.js). */
.ob-today-card .ob-evidence { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; }
.ob-today-card .ob-ev-chip {
  display: inline-flex; align-items: center; gap: 6px; border-radius: var(--ob3-radius-full);
  padding: 3px 10px 3px 7px; font-size: var(--ob3-text-meta); line-height: 1.3;
  background: hsl(var(--v2-violetbg)); color: hsl(var(--v2-violet));
}
/* (v2 channel tokens kept: unit tests pin these three rules; T7 retokenises.) */
.ob-today-card .ob-ev-chip.tone-good { background: hsl(var(--v2-mintbg)); color: hsl(var(--v2-bull)); }
.ob-today-card .ob-ev-chip.tone-attention { background: hsl(var(--v2-marigoldbg)); color: hsl(var(--v2-marigold)); }
.ob-today-card .ob-ev-chip .ev-icon { display: inline-flex; font-size: 12px; line-height: 1; }
.ob-today-card .ob-ev-chip .ev-icon svg { width: 14px; height: 14px; display: block; }
.ob-today-card .ob-ev-chip .ev-value { font-weight: var(--ob3-weight-bold); }
.ob-today-card .ob-ev-chip .ev-label { color: var(--ob3-muted); }
.ob-today-card .actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 11px; }
.ob-today-card .actions .tally { margin-left: auto; color: var(--ob3-muted); font-size: var(--ob3-text-meta); }
/* Dismiss-with-why: a compact optional reason input, rendered ONLY on convertible cards. */
.ob-today-card .actions .ob-card-why {
  flex: 1 1 140px; min-width: 0; max-width: 230px;
  background: var(--ob3-sunk); border: 1px solid var(--ob3-line);
  border-radius: var(--ob3-radius-full); color: var(--ob3-ink);
  font-family: inherit; font-size: var(--ob3-text-meta); line-height: 1.4; padding: 5px 10px;
}
.ob-today-card .actions .ob-card-why:focus { outline: var(--ob3-focus-ring); outline-offset: 0; }
.ob-today-card .actions .ob-card-why::placeholder { color: var(--ob3-faint); }

/* ── Feed triage (Aug 2026) ─────────────────────────────────────────────────
   Measured live: 101 active cards, a 15,096px page, of which 62 were RECEIPTS and
   28 were the SAME decision repeated. The rule, owned by server/lib/today-feed.js
   so web and Android cannot drift: a receipt gets a COUNT, a decision gets a
   CARD, and one decision three times over becomes one card with a batch action. */

/* The stacked-paper edges behind a group card. Pure decoration (aria-hidden), BEHIND via z-index. */
.ob-feed-stack { position: relative; }
.ob-feed-stack .ob-feed-leaf {
  position: absolute; left: 11px; right: 11px; bottom: -5px; height: 14px;
  border-radius: 0 0 16px 16px; background: var(--ob3-surface);
  border: 1px solid var(--ob3-line); border-top: 0; z-index: 0;
}
.ob-feed-stack .ob-feed-leaf.is-near { left: 5px; right: 5px; bottom: -2px; }
.ob-feed-stack > .ob-today-card { position: relative; z-index: 1; }

.ob-feed-count {
  flex: 0 0 auto; font-size: var(--ob3-text-meta); font-weight: var(--ob3-weight-bold); padding: 3px 10px;
  border-radius: var(--ob3-radius-full); background: var(--ob3-accent-tint); color: var(--ob3-on-accent-tint);
}
.ob-feed-prev {
  display: flex; align-items: center; gap: 10px; padding: 8px 11px;
  border-radius: 10px; background: var(--ob3-sunk); font-size: 12.5px; color: var(--ob3-ink);
}
.ob-feed-prev .when {
  margin-left: auto; color: var(--ob3-muted); font-size: 11.5px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
/* The expanded members reuse .ob-today-card wholesale, so per-item Accept / Not now /
   feedback keep working with no second implementation. */
.ob-feed-members { display: flex; flex-direction: column; gap: 8px; margin-top: 11px; }
.ob-feed-toggle { flex: 0 0 auto; }

/* (The receipts strip is T8's: ob-today-done.css.) */
/* "To read" shelf (direction B, Aug 2026). Document-shaped cards leave the decision
   queue entirely. Tiles rather than rows because these are browsed, not cleared. */
.ob-read-shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 11px; }
.ob-read-tile {
  border-radius: var(--ob3-radius-control); border: 1px solid var(--ob3-line);
  background: var(--ob3-surface); padding: 13px 14px;
  display: flex; flex-direction: column; gap: 6px; min-height: 118px;
}
.ob-read-tile.is-digest {
  border-color: var(--ob3-saarthi); background: var(--ob3-saarthi-tint);
}
.ob-read-eyebrow {
  font-size: 10px; font-weight: var(--ob3-weight-bold); text-transform: uppercase; letter-spacing: .08em;
  color: var(--ob3-muted);
}
.ob-read-tile.is-digest .ob-read-eyebrow { color: var(--ob3-saarthi); }
.ob-read-title { font-size: var(--ob3-text-body-sm); font-weight: var(--ob3-weight-semibold); line-height: 1.3; color: var(--ob3-ink); }
.ob-read-body {
  font-size: 12px; line-height: 1.5; color: var(--ob3-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ob-read-tile .actions { margin-top: auto; }

.ob-feed-rail {
  font-size: 11px; font-weight: var(--ob3-weight-bold); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ob3-muted); display: flex; align-items: center; gap: 10px;
}
.ob-feed-rail::after { content: ""; flex: 1; height: 1px; background: var(--ob3-line); }
/* The weekly Intelligence Digest renders as a hero, not a row: the violet "Mind"
   treatment, its observations tracing into mind.html#claim=. */
.ob-digest-hero {
  border: 1px solid var(--ob3-saarthi);
  border-left: 3px solid var(--ob3-saarthi);
  background: var(--ob3-saarthi-tint);
}
.ob-digest-hero .ob-digest-eyebrow {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: var(--ob3-weight-bold); letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ob3-saarthi); margin-bottom: 8px;
}
.ob-digest-hero .ob-digest-obs {
  font-size: var(--ob3-text-body-sm); line-height: 1.55; color: var(--ob3-ink);
  font-family: var(--ob3-font-serif); font-style: italic;
  padding: 8px 0 8px 12px; border-left: 3px solid var(--ob3-saarthi); margin: 8px 0;
}
.ob-digest-hero .ob-digest-trace {
  font-size: 12px; font-family: var(--ob3-font-sans); font-style: normal;
  color: var(--ob3-saarthi); text-decoration: none; margin-left: 8px;
}
/* Universal-ingestion routed card: a friendly routed-summary row + a subtle info
   row carrying the routing decision reason. */
.ob-today-card .ob-ingest-summary {
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
  font-size: var(--ob3-text-body-sm); line-height: 1.5; color: var(--ob3-ink); margin: 4px 0 8px;
}
.ob-today-card .ob-ingest-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: var(--ob3-weight-semibold); letter-spacing: 0.3px;
  background: var(--ob3-sunk); color: var(--ob3-muted);
  padding: 2px 9px; border-radius: var(--ob3-radius-full);
}
.ob-today-card .ob-ingest-chip.is-auto { color: var(--ob3-accent-text); }
.ob-today-card .ob-ingest-reason {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 12px; line-height: 1.45; color: var(--ob3-muted); margin-top: 6px;
}
.ob-today-card .ob-ingest-note-link { font-size: 12px; font-weight: var(--ob3-weight-semibold); color: var(--ob3-accent-text); text-decoration: none; }
.ob-today-card .ob-ingest-note-link:hover { text-decoration: underline; }
/* Inline note under a proposal card after Accept: the 503 "Connect Google" hint
   (kept, card NOT removed) or an error. */
.ob-today-card .ob-accept-hint {
  margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--ob3-muted);
  background: var(--ob3-sunk); border: 1px solid var(--ob3-line);
  border-radius: var(--ob3-radius-xs); padding: 7px 10px;
}
.ob-today-card .ob-accept-hint.is-error { color: var(--ob3-alert); border-color: var(--ob3-alert); }
.ob-today-card .ob-accept-hint a { color: var(--ob3-accent-text); font-weight: var(--ob3-weight-semibold); text-decoration: none; }
.ob-today-card .ob-accept-hint a:hover { text-decoration: underline; }

/* ── Editable "Your interests" (GET/PATCH/DELETE /interests) ─────────────── */
#ob-interests-list { display: flex; flex-direction: column; gap: 2px; }
.ob-int-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-top: 1px solid var(--ob3-line);
}
.ob-int-row:first-child { border-top: 0; }
.ob-int-main { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.ob-int-topic { font-size: var(--ob3-text-body-sm); font-weight: var(--ob3-weight-semibold); color: var(--ob3-ink); }
.ob-int-count { font-size: 11px; color: var(--ob3-faint); }
.ob-int-controls { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.ob-int-slider { width: 84px; accent-color: var(--ob3-accent); cursor: pointer; }
.ob-int-slider:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }
.ob-int-val { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--ob3-muted); min-width: 30px; text-align: right; }
.ob-int-del {
  background: none; border: 0; color: var(--ob3-faint); cursor: pointer;
  font-size: 14px; line-height: 1; padding: 2px 5px; border-radius: var(--ob3-radius-xs);
}
.ob-int-del:hover { color: var(--ob3-alert); }
.ob-int-del:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }
/* Top-8 cap + "Show all N" / "Show fewer" expander. */
.ob-int-showall {
  margin-top: 6px; align-self: flex-start; background: none; border: 0;
  cursor: pointer; color: var(--ob3-accent-text); font-size: 12px; font-weight: var(--ob3-weight-semibold);
  padding: 6px 0; text-align: left;
}
.ob-int-showall:hover { text-decoration: underline; }
.ob-int-showall:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }
