/* ob-plan-goals-list.css (R7-T2): the Plan Goals list, History, Saarthi's ideas, the list states. Tokens only (--ob3-*), no raw
   hex; Paper and Graphite come from the themed roles. Pills are 104 x 44 and section actions 184 x 44 (ob-plan-goals.css); every
   tap target is at least 44 px. Boards: PlanGoalsPhone (+Dark), PlanGoalsPhoneScrolled, PlanGoalsHistoryPhone, the states cells. */

/* ---- view switching (the list, History and Strategic share one host column) */
#obp-goals[data-obpg-view="history"] .obpg-main,
#obp-goals[data-obpg-view="history"] .obpg-ideas,
#obp-goals[data-obpg-view="history"] .obpg-strategic,
#obp-goals[data-obpg-view="strategic"] .obpg-main,
#obp-goals[data-obpg-view="strategic"] .obpg-ideas,
#obp-goals[data-obpg-view="strategic"] .obpg-history,
#obp-goals[data-obpg-view="list"] .obpg-history { display: none; }
#obp-goals .obpg-main,
#obp-goals .obpg-ideas,
#obp-goals .obpg-history,
#obp-goals .obpg-strategic { display: flex; flex-direction: column; gap: var(--ob3-space-3); min-width: 0; }
#obp-goals .obpg-main:empty,
#obp-goals .obpg-ideas:empty,
#obp-goals .obpg-history:empty,
#obp-goals .obpg-strategic:empty { display: none; }
#obp-goals[data-obpg-view="history"] .obpg-main,
#obp-goals[data-obpg-view="strategic"] .obpg-main { display: none; }
#obp-goals .obpg-list { display: flex; flex-direction: column; gap: var(--ob3-space-4); }

/* ---- header */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-headrow { display: flex; align-items: center; justify-content: space-between; gap: var(--ob3-space-2); min-height: 44px; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-headtitle { display: flex; align-items: center; flex-wrap: wrap; gap: var(--ob3-space-2); min-width: 0; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-headtitle2 { display: flex; flex-direction: column; min-width: 0; flex: 1; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-headact { display: flex; align-items: center; gap: var(--ob3-space-1); flex-shrink: 0; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-h { margin: 0; font-size: var(--ob3-text-card-title); line-height: var(--ob3-leading-card-title); font-weight: var(--ob3-weight-bold); color: var(--ob3-ink); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-subhead .obpg-h { font-size: var(--ob3-text-title); line-height: var(--ob3-leading-title); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-sub { color: var(--ob3-muted); font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-link { border: 0; background: transparent; color: var(--ob3-accent-text); font-weight: var(--ob3-weight-semibold); font-size: var(--ob3-text-body-sm); gap: 2px; padding: 0 var(--ob3-space-2); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-icon { border: 0; background: transparent; color: var(--ob3-ink); border-radius: var(--ob3-radius-full); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-icon:hover,
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-link:hover { background: var(--ob3-sunk); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-icon:focus-visible,
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-link:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-overcommit { margin-top: var(--ob3-space-2); color: var(--ob3-attention); font-size: var(--ob3-text-meta); line-height: var(--ob3-leading-meta); }

/* ---- chips */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; min-height: 22px; border-radius: var(--ob3-radius-full); background: var(--ob3-sunk); color: var(--ob3-muted); font-size: var(--ob3-text-meta); font-weight: var(--ob3-weight-semibold); line-height: 1.2; white-space: nowrap; box-sizing: border-box; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip.is-accent { background: var(--ob3-accent-tint); color: var(--ob3-on-accent-tint); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip.is-good { background: var(--ob3-good-tint); color: var(--ob3-good); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip.is-attention { background: var(--ob3-attention-tint); color: var(--ob3-attention); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip.is-alert { background: var(--ob3-alert-tint); color: var(--ob3-alert); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip.is-saarthi { background: var(--ob3-saarthi-tint); color: var(--ob3-saarthi); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip.is-money { background: var(--ob3-money-tint); color: var(--ob3-money); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip.is-sunk { background: var(--ob3-sunk); color: var(--ob3-muted); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip.is-completed { background: var(--ob3-good-tint); color: var(--ob3-good); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip.is-rest { background: var(--ob3-saarthi-tint); color: var(--ob3-saarthi); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chip.is-letgo { background: var(--ob3-sunk); color: var(--ob3-muted); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chips { display: flex; flex-wrap: wrap; gap: var(--ob3-space-2); margin-top: var(--ob3-space-1); }

/* ---- cards and rows */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-card { display: flex; align-items: center; gap: var(--ob3-space-3); text-align: left; width: 100%; }
:is(#obpg-list, #obpg-head, #obpg-banner) button.obpg-card { font: inherit; cursor: pointer; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-rowbtn { min-height: 76px; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-rowbtn:hover,
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-card:has(.obpg-cardmain):hover { border-color: var(--ob3-line-strong); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-rowbtn:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-row[aria-current="true"] { border-color: var(--ob3-accent); box-shadow: 0 0 0 1px var(--ob3-accent); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-titleblock { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-title { color: var(--ob3-ink); font-size: var(--ob3-text-body); line-height: var(--ob3-leading-body); font-weight: var(--ob3-weight-semibold); overflow-wrap: anywhere; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-title.is-done { text-decoration: line-through; color: var(--ob3-muted); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-go { color: var(--ob3-muted); display: inline-flex; flex-shrink: 0; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-cardmain { display: flex; align-items: center; gap: var(--ob3-space-3); flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: var(--ob3-radius-control); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-cardmain:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-saarthi-mark { color: var(--ob3-saarthi); display: inline-flex; vertical-align: middle; }

/* progress ring */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ring { position: relative; width: 56px; height: 56px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ring svg { position: absolute; inset: 0; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ring circle { fill: none; stroke-width: 6; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ring-track { stroke: var(--ob3-sunk-deep); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ring-fill { stroke: var(--ob3-accent); stroke-linecap: round; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ring-good .obpg-ring-fill { stroke: var(--ob3-good-vivid); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ring-alert .obpg-ring-fill { stroke: var(--ob3-alert); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ring.is-empty .obpg-ring-track { stroke: var(--ob3-accent-tint); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ring-label { position: relative; font-size: var(--ob3-text-meta); font-weight: var(--ob3-weight-bold); color: var(--ob3-ink); }

/* emergency card */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-emergency { flex-direction: column; align-items: stretch; gap: var(--ob3-space-3); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-cardhead { display: flex; align-items: center; gap: var(--ob3-space-2); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-steps { display: flex; flex-direction: column; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-step { display: flex; align-items: center; gap: var(--ob3-space-3); min-height: 52px; border-top: 1px solid var(--ob3-line); padding: var(--ob3-space-1) 0; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-step-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-step-title { color: var(--ob3-ink); font-weight: var(--ob3-weight-semibold); font-size: var(--ob3-text-body-sm); overflow-wrap: anywhere; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-step-title.is-done { text-decoration: line-through; color: var(--ob3-muted); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-tick { box-sizing: border-box; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; position: relative; border-radius: var(--ob3-radius-full); display: inline-flex; align-items: center; justify-content: center; color: var(--ob3-on-accent); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-tick::before { content: ""; position: absolute; width: 24px; height: 24px; box-sizing: border-box; border-radius: var(--ob3-radius-full); border: 2px solid var(--ob3-line-strong); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-tick > svg { position: relative; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-tick.is-done::before { background: var(--ob3-good-vivid); border-color: var(--ob3-good-vivid); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-tick:focus-visible { outline: var(--ob3-focus-ring); outline-offset: -4px; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-tick.is-ghost { cursor: default; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-nudge { display: flex; align-items: center; gap: var(--ob3-space-3); padding: var(--ob3-space-3); border-radius: var(--ob3-radius-card); background: var(--ob3-saarthi-tint); color: var(--ob3-ink); font-size: var(--ob3-text-body-sm); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-orb { flex-shrink: 0; width: 24px; height: 24px; border-radius: var(--ob3-radius-full); background: var(--ob3-orb, var(--ob3-saarthi)); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-addstep { min-height: 44px; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-add,
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-addgoal { display: inline-flex; align-items: center; gap: var(--ob3-space-2); border: 0; background: transparent; color: var(--ob3-muted); font: inherit; font-weight: var(--ob3-weight-semibold); font-size: var(--ob3-text-body-sm); cursor: pointer; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-addform { display: flex; flex-wrap: wrap; gap: var(--ob3-space-2); align-items: center; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-addform .obpg-input { flex: 1 1 160px; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-addgoal { width: 100%; justify-content: center; border: 1.5px dashed var(--ob3-line-strong); border-radius: var(--ob3-radius-card); min-height: 48px; color: var(--ob3-muted); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-addgoal:hover,
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-add:hover { color: var(--ob3-ink); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-input { box-sizing: border-box; min-height: 44px; width: 100%; padding: var(--ob3-space-2) var(--ob3-space-3); border: 1px solid var(--ob3-line); border-radius: var(--ob3-radius-control); background: var(--ob3-paper); color: var(--ob3-ink); font: inherit; font-size: var(--ob3-text-body-sm); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-input:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }
:is(#obpg-list, #obpg-head, #obpg-banner) textarea.obpg-input { resize: vertical; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-field { display: flex; flex-direction: column; gap: 4px; color: var(--ob3-muted); font-size: var(--ob3-text-meta); }

/* pill variants (size is fixed by ob-plan-goals.css) */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-pill.is-primary,
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-section-action.is-primary { background: var(--ob3-accent); border-color: var(--ob3-accent); color: var(--ob3-on-accent); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-pill.is-text { border-color: transparent; background: transparent; color: var(--ob3-ink); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-section-action.is-saarthi { background: var(--ob3-saarthi-tint); border-color: transparent; color: var(--ob3-saarthi); gap: var(--ob3-space-1); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-pill,
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-section-action { flex-shrink: 0; }

/* comeback, carried, parked, done */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-comeback { background: var(--ob3-surface); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-comeback-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--ob3-radius-control); background: var(--ob3-good-tint); color: var(--ob3-good); display: inline-flex; align-items: center; justify-content: center; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-carried { background: var(--ob3-attention-tint); border-color: transparent; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-carried-ic { flex-shrink: 0; width: 28px; display: inline-flex; color: var(--ob3-attention); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-parked,
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-donerow { background: var(--ob3-surface); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-fold { display: flex; align-items: center; justify-content: flex-start; width: 100%; border: 0; background: transparent; color: var(--ob3-muted); font: inherit; font-size: var(--ob3-text-body-sm); font-weight: var(--ob3-weight-semibold); cursor: pointer; }

/* rituals chips */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-chiprow { display: flex; flex-wrap: wrap; gap: var(--ob3-space-2); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ritual { border: 0; background: var(--ob3-attention-tint); color: var(--ob3-attention); border-radius: var(--ob3-radius-full); padding: 0 var(--ob3-space-4); font: inherit; font-size: var(--ob3-text-body-sm); cursor: pointer; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ritual b { font-weight: var(--ob3-weight-bold); margin-left: 2px; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ritual:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }

/* shutdown card */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-shutdown { display: flex; align-items: center; gap: var(--ob3-space-3); width: 100%; min-height: 56px; box-sizing: border-box; padding: var(--ob3-space-3) var(--ob3-space-4); border: 0; border-radius: var(--ob3-radius-card); background: var(--ob3-saarthi-tint); color: var(--ob3-ink); font: inherit; font-size: var(--ob3-text-body-sm); font-weight: var(--ob3-weight-semibold); text-align: left; cursor: pointer; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-shutdown svg { color: var(--ob3-saarthi); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-shut-text { flex: 1; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-shutdown.is-done { background: var(--ob3-good-tint); cursor: default; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-shutdown:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }

/* notes, the queued list */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-note { justify-content: space-between; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-note-alert { background: var(--ob3-alert-tint); border-color: transparent; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-calm { background: var(--ob3-sunk); border-color: transparent; justify-content: flex-start; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-queued-list { display: flex; flex-direction: column; border-top: 1px solid var(--ob3-line); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-queuedrow { display: flex; align-items: center; gap: var(--ob3-space-3); min-height: 56px; border-bottom: 1px solid var(--ob3-line); }

/* states: empty, loading, failed */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-empty,
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-failed { flex-direction: column; align-items: center; text-align: center; gap: var(--ob3-space-3); padding-block: var(--ob3-space-5); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-empty-ic { width: 48px; height: 48px; border-radius: var(--ob3-radius-full); background: var(--ob3-sunk); color: var(--ob3-muted); display: inline-flex; align-items: center; justify-content: center; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-skel { display: flex; flex-direction: column; gap: var(--ob3-space-3); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-skel-block { height: 72px; border-radius: var(--ob3-radius-card); background: var(--ob3-sunk); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-skel-block.is-lg { height: 120px; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-skel-block.is-sm { height: 56px; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-skel-note { margin: 0; }
@media (prefers-reduced-motion: no-preference) { :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-skel-block { animation: obpg-pulse 1.4s ease-in-out infinite; } }
@keyframes obpg-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ideas */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-sectionhead { display: flex; align-items: center; gap: var(--ob3-space-3); margin-top: var(--ob3-space-2); color: var(--ob3-muted); 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; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-sectionhead::after { content: ""; flex: 1; height: 1px; background: var(--ob3-line); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-idea { box-sizing: border-box; padding: var(--ob3-space-4); border: 1.5px dashed var(--ob3-saarthi); border-radius: var(--ob3-radius-card); background: var(--ob3-surface); display: flex; flex-direction: column; gap: var(--ob3-space-2); color: var(--ob3-ink); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-idea-eyebrow { display: flex; align-items: center; gap: var(--ob3-space-2); color: var(--ob3-saarthi); font-size: var(--ob3-text-meta); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-idea-steps { margin: 0; padding-left: 20px; color: var(--ob3-muted); font-size: var(--ob3-text-body-sm); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-idea-actions { display: flex; flex-wrap: wrap; gap: var(--ob3-space-2); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-idea-amend { display: flex; flex-direction: column; gap: var(--ob3-space-2); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-idea-amend[hidden],
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-idea-err[hidden] { display: none; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-idea-err { margin: 0; color: var(--ob3-alert); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-linkbtn { display: inline-flex; align-items: center; gap: var(--ob3-space-1); border: 0; background: transparent; color: var(--ob3-saarthi); font: inherit; font-weight: var(--ob3-weight-semibold); font-size: var(--ob3-text-body-sm); cursor: pointer; align-self: flex-start; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-linkbtn:disabled { opacity: 0.55; cursor: not-allowed; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-linkbtn:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }

/* history */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-filters { display: flex; flex-wrap: wrap; gap: var(--ob3-space-2); margin-top: var(--ob3-space-3); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-filter { border: 1px solid var(--ob3-line); background: var(--ob3-surface); color: var(--ob3-ink); border-radius: var(--ob3-radius-full); padding: 0 var(--ob3-space-4); font: inherit; font-size: var(--ob3-text-body-sm); font-weight: var(--ob3-weight-semibold); cursor: pointer; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-filter.is-on { background: var(--ob3-inverse-surface); border-color: var(--ob3-inverse-surface); color: var(--ob3-on-inverse); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-filter:focus-visible { outline: var(--ob3-focus-ring); outline-offset: var(--ob3-focus-offset); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-daylabel { margin: var(--ob3-space-2) 0 0; color: var(--ob3-muted); 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; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-histrow { min-height: 72px; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-center { display: flex; justify-content: center; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-histnote,
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-histempty { text-align: center; margin: var(--ob3-space-2) 0 0; }

@media (max-width: 599px) {
  :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-title { font-size: var(--ob3-text-body-sm); }
}
@media (forced-colors: active) {
  :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ring-fill { stroke: Highlight; }
  :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-tick::before { border-color: CanvasText; }
}

/* theme.css forces `:root[data-theme] button|input|textarea { background, color, border-color !important }`; these rules outrank it
   (higher specificity, also !important) for the Goals list's own controls. Tokens only. */
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) :is(.obpg-link, .obpg-icon, .obpg-cardmain, .obpg-add, .obpg-linkbtn, .obpg-fold, .obpg-tick, .obpg-pill.is-text) { background: transparent !important; border-color: transparent !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) :is(.obpg-link) { color: var(--ob3-accent-text) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) :is(.obpg-icon, .obpg-cardmain, .obpg-pill.is-text) { color: var(--ob3-ink) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) :is(.obpg-add, .obpg-fold) { color: var(--ob3-muted) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-linkbtn { color: var(--ob3-saarthi) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-tick { color: var(--ob3-on-accent) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) button.obpg-card { background: var(--ob3-surface) !important; color: var(--ob3-ink) !important; border-color: var(--ob3-line) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-pill { background: var(--ob3-surface) !important; color: var(--ob3-ink) !important; border-color: var(--ob3-line) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-pill.is-text { background: transparent !important; border-color: transparent !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) :is(.obpg-pill.is-primary, .obpg-section-action.is-primary) { background: var(--ob3-accent) !important; color: var(--ob3-on-accent) !important; border-color: var(--ob3-accent) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-section-action { background: var(--ob3-surface) !important; color: var(--ob3-ink) !important; border-color: var(--ob3-line) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-section-action.is-saarthi { background: var(--ob3-saarthi-tint) !important; color: var(--ob3-saarthi) !important; border-color: transparent !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-addgoal { background: transparent !important; color: var(--ob3-muted) !important; border-color: var(--ob3-line-strong) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-ritual { background: var(--ob3-attention-tint) !important; color: var(--ob3-attention) !important; border-color: transparent !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-shutdown { background: var(--ob3-saarthi-tint) !important; color: var(--ob3-ink) !important; border-color: transparent !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-shutdown.is-done { background: var(--ob3-good-tint) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-filter { background: var(--ob3-surface) !important; color: var(--ob3-ink) !important; border-color: var(--ob3-line) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-filter.is-on { background: var(--ob3-inverse-surface) !important; color: var(--ob3-on-inverse) !important; border-color: var(--ob3-inverse-surface) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) :is(.obpg-input) { background: var(--ob3-paper) !important; color: var(--ob3-ink) !important; border-color: var(--ob3-line) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-carried { background: var(--ob3-attention-tint) !important; }
:root[data-theme] :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-carried .obpg-pill:not(.is-primary) { background: var(--ob3-surface) !important; }

/* layout touches found against the boards */
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-note > svg { flex-shrink: 0; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-note > span:not([aria-hidden]) { flex: 1 1 200px; min-width: 0; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-empty h3, :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-failed h3, :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-idea h3 { margin: 0; }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-empty p, :is(#obpg-list, #obpg-head, #obpg-banner) .obpg-failed p { margin: 0; }

:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-note-saarthi { background: var(--ob3-saarthi-tint); border-color: transparent; color: var(--ob3-ink); }

:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-weekdots { display: flex; align-items: center; gap: var(--ob3-space-2); min-height: 24px; margin-top: var(--ob3-space-2); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-weekdots .obpg-muted { margin-right: var(--ob3-space-1); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-dot { width: 10px; height: 10px; border-radius: var(--ob3-radius-full); background: var(--ob3-sunk-deep); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-dot.is-today { background: var(--ob3-accent); }
:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-dot.has-goal { background: var(--ob3-good-vivid); }

:is(#obpg-list, #obpg-head, #obpg-banner) .obpg-idea-note { margin: 0; }
