/* R7.7 W4: the weekly review (Sunday Sankalpa). Tokens only (design-system.css --ob3-*); no hex. Paper and Graphite come from the themed roles.
   Boards: WeeklyReviewPhone, WeeklyReviewQuestionPhone, WeeklyReviewCommitPhone, WeeklyReviewCommittedPhone (476 x 752), WeeklyReviewDesktop (1440 x 900).
   Every tap is at least 44 px; a row pill is 104 x 44; a section action is 184 x 44; a pill never grows (copy shortens, the box does not).
   Amber for a calm note, never red. Phone is one column with a pinned Next / Back; 1000 px and up is two (goal blocks left, the question and Commit right). */

/* While the review is open every other child of the canvas steps aside (CSS, so a late re-show cannot show through). */
body[data-obgr-open] .obds-canvas-body > *:not(#r77-slot-review) { display: none !important; }
body[data-obgr-open] .obds-page-title { display: none; }
#r77-slot-review[hidden] { display: none; }
@media (max-width: 599px) { body[data-obgr-open] .obds-topbar { display: none; } }
/* The boards draw the review full screen: the phone dock steps aside while it is open (Back and the close button leave it). */
@media (max-width: 899.98px) { html[data-ob-shell="v3"] body[data-obgr-open] .obds-sidebar { display: none !important; } body[data-obgr-open] .obgr-foot { bottom: 0; } }
body[data-obgr-open] .obds-canvas { overflow-x: clip; }
@media (max-width: 999px) { body[data-obgr-open] .obds-canvas-body { padding: 0; } }

#r77-slot-review { --obgr-gutter: 14px; --obgr-muted: color-mix(in srgb, var(--ob3-muted) 80%, var(--ob3-ink)); color: var(--ob3-ink); font-family: var(--ob3-font-sans); min-width: 0; }
.obgr { min-width: 0; display: flex; flex-direction: column; min-height: calc(100dvh - var(--ob-shell-dock-h, 0px)); max-width: 640px; margin-inline: auto; }
.obgr *, .obgr *::before, .obgr *::after { box-sizing: border-box; }
.obgr :where(p, h1, h2, ul) { margin: 0 !important; padding: 0 !important; }
.obgr :where(ul) { list-style: none; }
.obgr :where(button, input) { font-family: inherit; color: inherit; }
.obgr button:focus-visible, .obgr input:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }

/* ---- header bar ---- */
.obgr-bar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: var(--ob3-space-1); min-height: 56px; padding: 0 var(--ob3-space-1); background: var(--ob3-paper); }
.obgr-icon { width: 44px; min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: var(--ob3-radius-full); cursor: pointer; flex: none; }
.obgr-icon:hover { background: var(--ob3-sunk); }
.obgr-icon:disabled { opacity: 0.5; cursor: default; }
.obgr-bartxt { flex: 1 1 auto; min-width: 0; }
.obgr-bartitle { font-size: 20px; line-height: 24px; font-weight: var(--ob3-weight-bold); letter-spacing: var(--ob3-tracking-title); }
.obgr-bartitle:focus { outline: none; }
.obgr-barsub { font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); color: var(--obgr-muted); }

/* ---- page: the body and the pinned footer (phone) ---- */
.obgr-page { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.obgr-body { display: flex; flex-direction: column; gap: var(--ob3-space-3); padding: var(--ob3-space-1) var(--obgr-gutter) var(--ob3-space-4); min-width: 0; }
.obgr-foot { position: sticky; bottom: var(--ob-shell-dock-h, 0px); z-index: 3; display: flex; gap: var(--ob3-space-2); margin-top: auto; padding: var(--ob3-space-3) var(--obgr-gutter); background: var(--ob3-paper); border-top: 1px solid var(--ob3-line); }
.obgr-btn { flex: 1 1 0; min-width: 0; height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 var(--ob3-space-3); border-radius: var(--ob3-radius-full); border: 1px solid var(--ob3-line-strong); background: var(--ob3-surface); color: var(--ob3-ink); font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-bold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.obgr-btn.is-primary { flex-grow: 1.15; background: var(--ob3-accent); border-color: var(--ob3-accent); color: var(--ob3-on-accent); }
.obgr-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---- notes, hints ---- */
.obgr-note { padding: var(--ob3-space-3) var(--ob3-space-4); border-radius: var(--ob3-radius-control); font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); }
.obgr-note.is-amber { background: var(--ob3-attention-tint); color: var(--ob3-attention); }
.obgr-note.is-muted { background: var(--ob3-sunk); color: var(--obgr-muted); }
.obgr-note.is-saarthi { background: var(--ob3-saarthi-tint); color: var(--ob3-saarthi); }
.obgr-hint { font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); color: var(--obgr-muted); overflow-wrap: anywhere; }
.obgr-muted { font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); color: var(--obgr-muted); }
.obgr-err { padding: var(--ob3-space-2) var(--ob3-space-3); border-radius: var(--ob3-radius-control); background: var(--ob3-attention-tint); color: var(--ob3-attention); font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); overflow-wrap: anywhere; }
.obgr-fine { font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); color: var(--obgr-muted); }
.obgr-fail { display: flex; flex-direction: column; align-items: flex-start; gap: var(--ob3-space-3); padding: var(--ob3-space-3) var(--obgr-gutter); }
.obgr-fail .obgr-note { align-self: stretch; }

/* ---- the Undo toast (WeeklyReviewCommittedPhone): two lines, the label right, 44 px ---- */
.obgr-toast { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9999; box-sizing: border-box; display: flex; align-items: center; gap: var(--ob3-space-3); max-width: 560px; margin: 0 auto; padding: var(--ob3-space-2) var(--ob3-space-2) var(--ob3-space-2) var(--ob3-space-4); min-height: 56px; border-radius: var(--ob3-radius-card); background: var(--ob3-inverse-surface); color: var(--ob3-on-inverse); box-shadow: 0 18px 44px -14px var(--ob3-shadow); }
.obgr-toast-i { flex: none; display: inline-flex; }
.obgr-toast-b { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.obgr-toast-t { font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); font-weight: var(--ob3-weight-bold); }
.obgr-toast-s { font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); overflow-wrap: anywhere; }
.obgr-toast button.obgr-toast-undo { flex: none; min-width: 56px; min-height: 44px; padding: 0 var(--ob3-space-3); border: 0 !important; border-radius: var(--ob3-radius-full); background: transparent !important; color: var(--ob3-on-inverse) !important; font: inherit; font-weight: var(--ob3-weight-bold); cursor: pointer; text-align: right; box-shadow: none; }
.obgr-toast-undo:focus-visible { outline: 2px solid var(--ob3-on-inverse); outline-offset: 2px; }
@media (min-width: 900px) { .obgr-toast { bottom: 24px; } }

/* ---- the last week line (mint) ---- */
.obgr-mint { display: flex; align-items: center; gap: var(--ob3-space-2); padding: var(--ob3-space-3) var(--ob3-space-3) !important; border-radius: var(--ob3-radius-control); background: var(--ob3-good-tint); color: var(--ob3-good); font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); }
.obgr-mint svg { flex: none; }

/* ---- a goal block ---- */
.obgr-goal { display: flex; flex-direction: column; gap: var(--ob3-space-2); padding: var(--ob3-space-4) var(--ob3-space-3); border: 1px solid var(--ob3-line); border-radius: var(--ob3-radius-sheet); background: var(--ob3-surface); min-width: 0; }
.obgr-goal-t { font-size: 17px; line-height: 22px; font-weight: var(--ob3-weight-bold); overflow-wrap: anywhere; }
.obgr-goal-s { font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); color: var(--obgr-muted); margin-top: -4px; }
.obgr-rows { display: flex; flex-direction: column; gap: var(--ob3-space-2); }
.obgr-row { width: 100%; min-height: 48px; display: flex; align-items: center; gap: var(--ob3-space-3); padding: 0 var(--ob3-space-3) 0 var(--ob3-space-2); text-align: left; border: 1px solid var(--ob3-line); border-radius: var(--ob3-radius-control); background: var(--ob3-surface); cursor: pointer; }
.obgr-row.is-on { background: var(--ob3-accent-tint); border-color: var(--ob3-accent); }
.obgr-box { width: 24px; height: 24px; flex: none; border: 2px solid var(--ob3-line-strong); border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; margin-left: 2px; color: var(--ob3-on-accent); }
.obgr-row.is-on .obgr-box { background: var(--ob3-accent); border-color: var(--ob3-accent); }
.obgr-row-t { flex: 1 1 auto; min-width: 0; padding: var(--ob3-space-2) 0; font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-semibold); overflow-wrap: anywhere; }
.obgr-row-m { flex: none; font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); color: var(--obgr-muted); }

/* ---- Saarthi suggests (violet, dashed: the language of R7.6) ---- */
.obgr-sug-h { margin-top: var(--ob3-space-1); font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); font-weight: var(--ob3-weight-bold); color: var(--ob3-saarthi); }
.obgr-sug { display: flex; align-items: center; gap: var(--ob3-space-2); min-height: 60px; padding: var(--ob3-space-1) var(--ob3-space-1) var(--ob3-space-1) var(--ob3-space-3); border: 1.5px dashed var(--ob3-saarthi); border-radius: var(--ob3-radius-card); background: var(--ob3-saarthi-tint); min-width: 0; }
.obgr-sug.is-on { border-style: solid; }
.obgr-sug-i { flex: none; color: var(--ob3-saarthi); display: inline-flex; }
.obgr-sug-t { flex: 1 1 auto; min-width: 0; font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-semibold); overflow-wrap: anywhere; }
.obgr-pill { flex: none; width: 104px; min-width: 104px; max-width: 104px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 var(--ob3-space-2); border-radius: var(--ob3-radius-full); border: 1px solid var(--ob3-line-strong); background: var(--ob3-surface); color: var(--ob3-ink); font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-bold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.obgr-pill.is-on { background: var(--ob3-accent); border-color: var(--ob3-accent); color: var(--ob3-on-accent); }
.obgr-pill:disabled { opacity: 0.55; cursor: default; }
.obgr-sect { width: 184px; min-width: 184px; max-width: 184px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 var(--ob3-space-2); border-radius: var(--ob3-radius-full); border: 1px solid var(--ob3-line-strong); background: var(--ob3-surface); color: var(--ob3-ink); font-size: var(--ob3-text-body); font-weight: var(--ob3-weight-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.obgr-sect:disabled { opacity: 0.55; cursor: default; }

/* ---- the if-then ---- */
.obgr-ifwrap { display: flex; flex-direction: column; gap: var(--ob3-space-1); }
.obgr-if { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; gap: var(--ob3-space-2); padding: 0 var(--ob3-space-2); border: 0; background: transparent; color: var(--ob3-accent-text); font-size: var(--ob3-text-body); font-weight: var(--ob3-weight-semibold); cursor: pointer; }
.obgr-if-box { display: flex; flex-direction: column; gap: var(--ob3-space-2); padding: var(--ob3-space-3); border-radius: var(--ob3-radius-control); background: var(--ob3-sunk); }
.obgr-if-l { font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); font-weight: var(--ob3-weight-bold); color: var(--obgr-muted); }
.obgr-if-n { font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); font-weight: var(--ob3-weight-semibold); overflow-wrap: anywhere; }
.obgr-if-r { display: flex; align-items: center; gap: var(--ob3-space-2); }
.obgr-in { flex: 1 1 auto; min-width: 0; width: 100%; min-height: 44px; padding: var(--ob3-space-2) var(--ob3-space-3); border: 1px solid var(--ob3-line-strong); border-radius: var(--ob3-radius-control); background: var(--ob3-surface); color: var(--ob3-ink); font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); }

/* ---- the folded goals ---- */
.obgr-fold { display: flex; flex-direction: column; border: 1px solid var(--ob3-line); border-radius: var(--ob3-radius-card); background: var(--ob3-surface); }
.obgr-fold-b { width: 100%; min-height: 60px; display: flex; align-items: center; gap: var(--ob3-space-3); padding: var(--ob3-space-2) var(--ob3-space-3); text-align: left; border: 0; background: transparent; cursor: pointer; border-radius: var(--ob3-radius-card); }
.obgr-fold-i { flex: none; width: 36px; height: 36px; border-radius: var(--ob3-radius-control); background: var(--ob3-sunk); display: inline-flex; align-items: center; justify-content: center; }
.obgr-fold-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.obgr-fold-h { font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-bold); }
.obgr-fold-s { font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); color: var(--obgr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obgr-fold-c { flex: none; color: var(--obgr-muted); display: inline-flex; }
.obgr-fold-b[aria-expanded="true"] .obgr-fold-c { transform: rotate(180deg); }
.obgr-fold-l { display: flex; flex-direction: column; padding: 0 var(--ob3-space-3) var(--ob3-space-2); }
.obgr-fold-r { display: flex; flex-direction: column; min-height: 44px; justify-content: center; border-top: 1px solid var(--ob3-line); padding: var(--ob3-space-1) 0; }
.obgr-fold-rt { font-size: var(--ob3-text-body-sm); font-weight: var(--ob3-weight-semibold); }
.obgr-fold-rs { font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); color: var(--obgr-muted); }

/* ---- the question ---- */
.obgr-q { display: flex; flex-direction: column; gap: var(--ob3-space-3); margin-top: var(--ob3-space-1); }
.obgr-q-rule { display: flex; align-items: center; gap: var(--ob3-space-3); }
.obgr-q-rule::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--ob3-line); }
.obgr-q-rt { font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); font-weight: var(--ob3-weight-bold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--obgr-muted); }
.obgr-q-card { display: flex; flex-direction: column; gap: var(--ob3-space-3); padding: var(--ob3-space-4); border-radius: var(--ob3-radius-sheet); background: var(--ob3-saarthi-tint); min-width: 0; }
.obgr-q-k { display: flex; align-items: center; gap: var(--ob3-space-2); font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); font-weight: var(--ob3-weight-semibold); color: var(--ob3-saarthi); }
.obgr-orb { width: 28px; height: 28px; border-radius: var(--ob3-radius-full); background: var(--ob3-orb); flex: none; }
.obgr-q-h { font-family: var(--ob3-font-serif); font-size: var(--ob3-text-saarthi); line-height: var(--ob3-leading-saarthi); color: var(--ob3-ink); overflow-wrap: anywhere; }
.obgr-q-f { font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); color: var(--obgr-muted); margin-top: -6px; }
.obgr-opt { width: 100%; min-height: 56px; display: flex; align-items: center; gap: var(--ob3-space-3); padding: var(--ob3-space-2) var(--ob3-space-3); text-align: left; border: 1px solid var(--ob3-line); border-radius: var(--ob3-radius-card); background: var(--ob3-surface); cursor: pointer; }
.obgr-opt:disabled { opacity: 0.6; cursor: default; }
.obgr-opt-t { flex: 1 1 auto; min-width: 0; font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-semibold); overflow-wrap: anywhere; }
.obgr-opt-c { flex: none; color: var(--obgr-muted); display: inline-flex; }
.obgr-more { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; gap: var(--ob3-space-1); padding: 0 var(--ob3-space-2); border: 0; background: transparent; color: var(--ob3-accent-text); font-size: var(--ob3-text-body); font-weight: var(--ob3-weight-semibold); cursor: pointer; }
.obgr-q-a { display: flex; flex-wrap: wrap; gap: var(--ob3-space-2); }
.obgr-chip { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 var(--ob3-space-3); border-radius: var(--ob3-radius-full); border: 1px solid var(--ob3-line-strong); background: var(--ob3-surface); color: var(--ob3-ink); font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-semibold); cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obgr-chip:disabled { opacity: 0.55; cursor: default; }
.obgr-q-done { padding: var(--ob3-space-3); border-radius: var(--ob3-radius-control); background: var(--ob3-surface); font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); color: var(--ob3-ink); }

/* ---- links ---- */
.obgr-links { display: flex; flex-direction: column; gap: var(--ob3-space-2); }
.obgr-links-h { font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-bold); }
.obgr-link { display: flex; flex-direction: column; gap: var(--ob3-space-2); padding: var(--ob3-space-3); border: 1px solid var(--ob3-line); border-radius: var(--ob3-radius-card); background: var(--ob3-surface); }
.obgr-link-t { font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-semibold); overflow-wrap: anywhere; }
.obgr-link-c { display: flex; flex-wrap: wrap; gap: var(--ob3-space-2); }
.obgr-link-d { font-size: var(--ob3-text-body-sm); color: var(--ob3-good); }

/* ---- the summary ---- */
.obgr-s3 { display: flex; flex-direction: column; gap: var(--ob3-space-3); }
.obgr-sum { display: flex; flex-direction: column; gap: var(--ob3-space-3); }
.obgr-card { display: flex; align-items: center; gap: var(--ob3-space-3); padding: var(--ob3-space-3); border: 1px solid var(--ob3-line); border-radius: var(--ob3-radius-sheet); background: var(--ob3-surface); min-width: 0; }
.obgr-tile { flex: none; width: 40px; height: 40px; border-radius: var(--ob3-radius-control); display: inline-flex; align-items: center; justify-content: center; background: var(--ob3-sunk); color: var(--ob3-ink); }
.obgr-tile.is-accent { background: var(--ob3-accent-tint); color: var(--ob3-accent-text); }
.obgr-tile.is-amber { background: var(--ob3-attention-tint); color: var(--ob3-attention); }
.obgr-tile.is-violet { background: var(--ob3-saarthi-tint); color: var(--ob3-saarthi); }
.obgr-card-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.obgr-card-h { font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-bold); overflow-wrap: anywhere; }
.obgr-card-s { font-size: var(--ob3-text-body-sm); line-height: var(--ob3-leading-body-sm); color: var(--obgr-muted); overflow-wrap: anywhere; }
.obgr-land { display: flex; flex-direction: column; }
.obgr-land-l { display: flex; flex-direction: column; }
.obgr-land-r { display: flex; align-items: center; gap: var(--ob3-space-3); min-height: 44px; border-top: 1px solid var(--ob3-line); padding: var(--ob3-space-1) 0; }
.obgr-land-d { flex: none; width: 56px; display: flex; flex-direction: column; font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); color: var(--obgr-muted); }
.obgr-land-d b { color: var(--ob3-ink); font-weight: var(--ob3-weight-semibold); }
.obgr-land-t { flex: 1 1 auto; min-width: 0; font-size: var(--ob3-text-body-sm); overflow-wrap: anywhere; }
.obgr-land-m { flex: none; font-size: var(--ob3-text-meta); color: var(--obgr-muted); }

/* ---- done ---- */
.obgr-done { display: flex; flex-direction: column; align-items: center; gap: var(--ob3-space-3); padding: var(--ob3-space-5) var(--obgr-gutter) calc(var(--ob3-space-7) * 3); text-align: center; }
.obgr-done > .obgr-sum, .obgr-done > .obgr-hint { width: 100%; text-align: left; }
.obgr-done-i { width: 64px; height: 64px; border-radius: var(--ob3-radius-sheet); background: var(--ob3-good-tint); color: var(--ob3-good); display: inline-flex; align-items: center; justify-content: center; }
.obgr-done-i.is-muted { background: var(--ob3-sunk); color: var(--obgr-muted); }
.obgr-done-t { font-family: var(--ob3-font-serif); font-size: var(--ob3-text-title); line-height: var(--ob3-leading-title); font-weight: var(--ob3-weight-bold); }
.obgr-done-s { max-width: 360px; font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); color: var(--obgr-muted); }
.obgr-done-a { display: flex; gap: var(--ob3-space-2); justify-content: center; width: 100%; }
.obgr-done-a .obgr-btn { flex: 0 1 200px; }

/* ---- loading ---- */
.obgr-skel { display: flex; flex-direction: column; gap: var(--ob3-space-3); padding: var(--ob3-space-4) var(--obgr-gutter); }
.obgr-sk { display: block; border-radius: var(--ob3-radius-control); background: var(--ob3-sunk); animation: obgr-pulse 1.4s ease-in-out infinite; }
.obgr-sk-line { height: 44px; } .obgr-sk-card { height: 140px; border-radius: var(--ob3-radius-sheet); }
@keyframes obgr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .obgr-sk { animation: none; } }

/* ---- desktop and tablet: two columns, the right pane is a rounded card ---- */
@media (min-width: 1000px) {
  .obgr { max-width: none; min-height: 0; }
  .obgr-bar { padding: 0; }
  .obgr-backi { display: none; }
  .obgr-bar > .obgr-icon:last-child { margin-left: auto; }
  .obgr-bartxt { padding: var(--ob3-space-4) 0 var(--ob3-space-1); }
  .obgr-bartitle { font-size: var(--ob3-text-title); line-height: var(--ob3-leading-title); }
  .obgr-cols { display: flex; flex-direction: row; align-items: flex-start; gap: var(--ob3-space-5); padding-bottom: var(--ob3-space-5); }
  .obgr-main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--ob3-space-3); }
  .obgr-aside { flex: 0 0 clamp(360px, 33vw, 480px); position: sticky; top: var(--ob3-space-4); min-height: calc(100dvh - 140px); display: flex; flex-direction: column; gap: var(--ob3-space-3); padding: var(--ob3-space-4); border: 1px solid var(--ob3-line); border-radius: var(--ob3-radius-dock); background: var(--ob3-surface); }
  .obgr-aside-h { font-size: var(--ob3-text-card-title); line-height: var(--ob3-leading-card-title); font-weight: var(--ob3-weight-bold); }
  .obgr-aside .obgr-foot { position: static; margin-top: auto; padding: var(--ob3-space-3) 0 0; border-top: 0; background: transparent; }
  .obgr-aside .obgr-btn { flex: 0 0 auto; height: 44px; padding: 0 var(--ob3-space-5); }
  .obgr-aside .obgr-q-card { padding: var(--ob3-space-3); }
  .obgr-fail { padding-left: 0; padding-right: 0; }
  .obgr-skel { padding-left: 0; padding-right: 0; }
  .obgr-done { padding-top: var(--ob3-space-6); }
  .obgr-done .obgr-sum, .obgr-done .obgr-hint { max-width: 560px; }
}

/* theme.css forces `:root[data-theme] button|input { background, color, border-color !important }` on every control; these rules outrank it
   (an id in the chain, also !important) for this screen's own controls. Tokens only. */
:root[data-theme] #r77-slot-review .obgr-icon { background: transparent !important; color: var(--ob3-ink) !important; border-color: transparent !important; }
:root[data-theme] #r77-slot-review .obgr-if,
:root[data-theme] #r77-slot-review .obgr-more { background: transparent !important; color: var(--ob3-accent-text) !important; border-color: transparent !important; }
:root[data-theme] #r77-slot-review .obgr-fold-b { background: transparent !important; color: var(--ob3-ink) !important; border-color: transparent !important; }
:root[data-theme] #r77-slot-review .obgr-row { background: var(--ob3-surface) !important; color: var(--ob3-ink) !important; border-color: var(--ob3-line) !important; }
:root[data-theme] #r77-slot-review .obgr-row.is-on { background: var(--ob3-accent-tint) !important; border-color: var(--ob3-accent) !important; }
:root[data-theme] #r77-slot-review .obgr-opt { background: var(--ob3-surface) !important; color: var(--ob3-ink) !important; border-color: var(--ob3-line) !important; }
:root[data-theme] #r77-slot-review .obgr-pill,
:root[data-theme] #r77-slot-review .obgr-sect,
:root[data-theme] #r77-slot-review .obgr-chip,
:root[data-theme] #r77-slot-review .obgr-btn { background: var(--ob3-surface) !important; color: var(--ob3-ink) !important; border-color: var(--ob3-line-strong) !important; }
:root[data-theme] #r77-slot-review .obgr-pill.is-on,
:root[data-theme] #r77-slot-review .obgr-btn.is-primary { background: var(--ob3-accent) !important; color: var(--ob3-on-accent) !important; border-color: var(--ob3-accent) !important; }
:root[data-theme] #r77-slot-review .obgr-in { background: var(--ob3-surface) !important; color: var(--ob3-ink) !important; border-color: var(--ob3-line-strong) !important; }

/* the shell gives bare headings a margin and padding of their own; this screen sets its own spacing */
.obgr h1.obgr-bartitle, .obgr h2.obgr-goal-t, .obgr h2.obgr-links-h, .obgr h2.obgr-aside-h, .obgr h2.obgr-done-t { margin: 0 !important; padding: 0 !important; }
