/* Smart Cycle redesign: medical disclaimer, first-time setup, sign-in tabs and the Today setup checklist. */

/* ================= Medical disclaimer ================= */
.disc { border: 0; padding: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--bg, #f6f7fb); color: var(--text); overflow-y: auto; }
.disc::backdrop { background: var(--bg, #f6f7fb); }
.disc[open] { animation: disc-in .35s var(--ease-out, ease) both; }
@keyframes disc-in { from { opacity: 0; } to { opacity: 1; } }
.disc-in { max-width: 660px; margin: 0 auto; padding: clamp(24px, 6vh, 56px) 20px 56px; }
.disc-logo { height: 48px; width: auto; margin-bottom: 28px; }
.disc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-ink); background: var(--warn-soft); border: 1px solid color-mix(in oklab, var(--amber, #d97706) 30%, transparent); }
.disc-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.disc h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); letter-spacing: -0.03em; margin: 14px 0 8px; outline: none; }
.disc-sub { color: var(--text-muted); font-size: 1rem; line-height: 1.55; margin: 0 0 26px; }
.disc-sec { font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 14px; }
.disc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.disc-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.disc-list b { display: block; font-size: .9375rem; margin-bottom: 3px; }
.disc-list p { margin: 0; color: var(--text-muted); font-size: .875rem; line-height: 1.6; }
.disc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.disc-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.disc-ic.warn { background: var(--bad-soft); color: var(--coral-deep); }
.disc-ic.amber { background: var(--warn-soft); color: var(--amber-ink); }
.disc-ic.info { background: var(--cobalt-soft); color: var(--cobalt-deep); }
.disc-agree, .disc-review { margin-top: 30px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 6px oklch(0.2 0.05 266 / .06); }
.disc-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; font-size: .9rem; line-height: 1.55; }
.disc-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cobalt); cursor: pointer; }
.disc-go { width: 100%; margin-top: 16px; min-height: 50px; font-size: 1rem; }
.disc-go:disabled { background: var(--surface-2); border-color: var(--line); color: var(--text-muted); cursor: not-allowed; }
.disc-foot { margin: 12px 0 0; text-align: center; font-size: .75rem; color: var(--text-muted); }
.disc-alt { text-align: center; margin-top: 6px; }
.disc-alt:empty { display: none; }
.disc-review { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.disc-review p { margin: 0; font-weight: 700; }

/* ================= Sign-in / create-account tabs ================= */
.si-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.si-tabs button { min-height: 38px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: .875rem; font-weight: 700; color: var(--text-muted); cursor: pointer; }
.si-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px oklch(0.2 0.05 266 / .14); }
.si-tabs button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.si-disc { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--ok-soft); font-size: .8125rem; font-weight: 600; color: var(--text); }
.si-disc svg { width: 16px; height: 16px; flex: none; color: var(--ok); }
.si-disc .linkish { padding: 0; min-height: 0; margin-left: auto; }
.si-disc[hidden] { display: none; }

/* ================= Setup flow ================= */
html.ob-open { overflow: hidden; }
.ob { border: 0; padding: 0; background: transparent; width: min(1040px, calc(100vw - 32px)); max-width: none; height: min(780px, calc(100dvh - 32px)); max-height: none; overflow: hidden; border-radius: var(--r-xl, 24px); box-shadow: 0 40px 100px -30px oklch(0.2 0.1 266 / .6); }
.ob::backdrop { background: oklch(0.18 0.05 266 / .6); backdrop-filter: blur(3px); }
.ob[open] { animation: ob-in .45s var(--ease-expo, cubic-bezier(.16, 1, .3, 1)) both; }
@keyframes ob-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.ob-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); height: 100%; background: var(--surface); }
.ob-side { background: var(--ink); color: #fff; padding: 28px 24px; display: flex; flex-direction: column; gap: 28px; }
.ob-logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .95; align-self: flex-start; }
.ob-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ob-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: .9375rem; color: oklch(1 0 0 / .55); }
.ob-steps li i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .8125rem; border: 1.5px solid oklch(1 0 0 / .25); flex: none; }
.ob-steps li i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ob-steps li.cur { color: #fff; background: oklch(1 0 0 / .08); }
.ob-steps li.cur i { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.ob-steps li.done { color: oklch(1 0 0 / .85); }
.ob-steps li.done i { background: oklch(1 0 0 / .14); border-color: transparent; color: var(--lime); }
.ob-tip { margin-top: auto; padding: 16px; border-radius: 16px; background: oklch(1 0 0 / .07); font-size: .8125rem; line-height: 1.55; color: oklch(1 0 0 / .75); }
.ob-tip b { color: #fff; display: block; margin-bottom: 2px; }
.ob-main { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; scroll-padding-top: 84px; scroll-padding-bottom: 110px; }
.ob-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 16px 24px; background: color-mix(in oklab, var(--surface) 92%, transparent); backdrop-filter: blur(6px); }
.ob-count { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.ob-prog { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.ob-prog i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--cobalt), var(--glp, var(--cobalt))); transition: width .5s var(--ease-expo, ease); }
.ob-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; cursor: pointer; color: var(--text); flex: none; }
.ob-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ob-x:hover { background: var(--line); }
.ob-x:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
#obForm { display: flex; flex-direction: column; flex: 1; padding: 4px clamp(20px, 4vw, 44px) 0; }
.ob-body { flex: 1; animation: ob-step .35s var(--ease-out, ease) both; }
@keyframes ob-step { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.ob-body h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); letter-spacing: -0.03em; line-height: 1.15; margin: 8px 0 8px; outline: none; }
.ob-lead, .ob-hero p { color: var(--text-muted); margin: 0 0 22px; font-size: .9375rem; line-height: 1.55; max-width: 60ch; }
.ob-hero { display: flex; gap: 18px; align-items: center; margin-bottom: 6px; }
.ob-av { width: 84px; height: 84px; border-radius: 26px; background: var(--cobalt-soft); flex: none; box-shadow: 0 8px 20px -10px oklch(0.3 0.15 266 / .5); }
.ob-f { display: grid; gap: 8px; margin: 0 0 18px; min-width: 0; border: 0; padding: 0; align-content: start; }
.ob-f > label, .ob-f > legend, .ob-f > .lab { font-weight: 700; font-size: .875rem; padding: 0; margin-bottom: 0; }
.ob-f > legend { margin-bottom: 8px; }
.ob-f .req { font-size: .6875rem; font-weight: 800; color: var(--coral-deep); text-transform: uppercase; letter-spacing: .05em; margin-left: 4px; }
.ob-hint { margin: 0; font-size: .8125rem; color: var(--text-muted); }
.ob-hint.ok-t { color: var(--ok); font-weight: 700; } .ob-hint.err-t { color: var(--coral-deep); font-weight: 700; }
.ob-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ob-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.ob-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ob-inline .input.num { max-width: 140px; }
.ob-u { position: relative; }
.ob-u .input { padding-right: 40px; }
.ob-u span { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-weight: 700; font-size: .8125rem; color: var(--text-muted); pointer-events: none; }
.ob-plan { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ob-plan li { display: flex; gap: 10px; padding: 14px; border-radius: 16px; background: var(--surface-2); }
.ob-plan i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-style: normal; font-weight: 800; font-size: .75rem; flex: none; }
.ob-plan b { display: block; font-size: .875rem; }
.ob-plan span { font-size: .75rem; color: var(--text-muted); line-height: 1.4; }
.ob-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.ob-seg label { position: relative; }
.ob-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ob-seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 700; font-size: .875rem; background: var(--surface); transition: background-color .15s, border-color .15s, color .15s; }
.ob-seg label:hover span { border-color: var(--cobalt); }
.ob-seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.ob-seg input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.ob-days { display: flex; flex-wrap: wrap; gap: 6px; }
.ob-days label { position: relative; }
.ob-days input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ob-days span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line-strong); font-weight: 800; font-size: .8125rem; background: var(--surface); transition: background-color .15s, border-color .15s, color .15s; }
.ob-days input:checked + span { background: var(--c, var(--cobalt)); border-color: var(--c, var(--cobalt)); color: #fff; }
.ob-days input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.ob-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.ob-type { position: relative; display: grid; gap: 3px; text-align: left; padding: 16px 16px 16px 52px; min-height: 84px; border-radius: 18px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; color: var(--text); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.ob-type i { position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line-strong); display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.ob-type i svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.ob-type b { font-size: .9375rem; }
.ob-type span { font-size: .8125rem; color: var(--text-muted); }
.ob-type:hover { border-color: var(--c); }
.ob-type[aria-checked="true"] { border-color: var(--c); background: color-mix(in oklab, var(--c) 8%, var(--surface)); box-shadow: inset 0 0 0 1px var(--c); }
.ob-type[aria-checked="true"] i { background: var(--c); border-color: var(--c); }
.ob-type:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.ob-panel { margin: 0 0 14px; padding: 18px 18px 4px; border: 0; border-radius: 18px; background: color-mix(in oklab, var(--c) 6%, var(--surface)); animation: ob-step .3s var(--ease-out, ease) both; }
.ob-panel legend { float: left; width: 100%; font-weight: 800; font-size: .9375rem; margin-bottom: 12px; }
.ob-panel legend + * { clear: both; }
.ob-chosen { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ob-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 700; font-size: .8125rem; }
.ob-tag small { opacity: .75; font-weight: 700; }
.ob-tag button { width: 24px; height: 24px; border-radius: 50%; border: 0; background: oklch(1 0 0 / .22); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.ob-tag button:focus-visible { outline: 2px solid #fff; }
.ob-search { margin-bottom: 10px; }
.ob-cat { display: grid; gap: 10px; max-height: 190px; overflow-y: auto; padding: 2px 2px 8px; margin-bottom: 12px; }
.ob-catg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ob-catg > span { width: 100%; font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; font-weight: 700; font-size: .875rem; color: var(--text); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.ob-chip.sm { min-height: 32px; padding: 0 12px; font-size: .8125rem; }
.ob-chip.add { border-style: dashed; }
.ob-chip:hover { border-color: var(--cobalt); }
.ob-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ob-chip:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.ob-note { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-size: .875rem; }
.ob-trt + .ob-trt { margin-top: 6px; padding-top: 14px; border-top: 1px dashed color-mix(in oklab, var(--c) 40%, var(--line)); }
.ob-trt-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: .875rem; }
.ob-trt-h .linkish { padding: 0; min-height: 0; color: var(--coral-deep); }
.ob-panel > .ob-chip.add { margin-top: 4px; }
.ob-goalsum { margin: -4px 0 20px; padding: 16px; border-radius: 16px; background: var(--surface-2); font-size: .875rem; }
.ob-gs-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ob-gs-top b { font-size: 1.125rem; letter-spacing: -0.01em; }
.ob-gs-top span { color: var(--text-muted); font-weight: 600; }
.ob-gs-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 10px 0 8px; }
.ob-gs-bar i { display: block; height: 100%; min-width: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--lime-deep, var(--ok)), var(--ok)); transition: width .4s; }
.ob-gs-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--text-muted); }
.ob-goalsum .ob-hint { margin-top: 8px; }
.ob-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; }
.ob-check + .ob-check { margin-top: 8px; }
.ob-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cobalt); }
.ob-check b { display: block; font-size: .875rem; }
.ob-check small { font-size: .8125rem; color: var(--text-muted); }
.ob-err { min-height: 1.4em; margin: 0; font-weight: 700; font-size: .875rem; color: var(--coral-deep); }
.ob-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 14px 0 20px; margin-top: 8px; background: linear-gradient(to top, var(--surface) 75%, transparent); }
.ob-sp { flex: 1; }
.ob-foot .btn-primary { min-width: 150px; min-height: 48px; }
.ob-skip { font-weight: 700; color: var(--text-muted); text-decoration: none; padding: 0 8px; }
.ob-skip:hover { color: var(--text); text-decoration: underline; }
.ob-foot [hidden] { display: none; }

/* done step */
.ob-done { text-align: left; }
.ob-burst { width: 72px; height: 72px; margin: 12px 0 4px; }
.ob-burst svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ob-burst circle { stroke: var(--ok); stroke-width: 3; fill: var(--ok-soft); stroke-dasharray: 151; stroke-dashoffset: 151; animation: ob-draw .6s .1s var(--ease-out, ease) forwards; }
.ob-burst path { stroke: var(--ok); stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ob-draw .4s .55s var(--ease-out, ease) forwards; }
@keyframes ob-draw { to { stroke-dashoffset: 0; } }
.ob-sum { display: grid; gap: 0; margin: 0 0 22px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ob-sum > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 16px; align-items: center; }
.ob-sum > div + div { border-top: 1px solid var(--line); }
.ob-sum dt { font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.ob-sum dd { margin: 0; font-size: .9375rem; }
.ob-pill { display: inline-flex; margin: 2px 4px 2px 0; padding: 3px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; background: color-mix(in oklab, var(--c) 14%, var(--surface)); color: color-mix(in oklab, var(--c) 80%, black); }
.ob-h3 { font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 10px; }
.ob-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ob-nc { position: relative; display: grid; gap: 4px; text-align: left; padding: 16px 16px 40px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; color: var(--text); cursor: pointer; transition: border-color .15s, transform .15s; }
.ob-nc b { font-size: .9375rem; }
.ob-nc span { font-size: .8125rem; color: var(--text-muted); line-height: 1.45; }
.ob-nc i { position: absolute; left: 16px; bottom: 12px; font-style: normal; font-weight: 800; color: var(--cobalt); }
.ob-nc:hover { border-color: var(--cobalt); transform: translateY(-2px); }
.ob-nc:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }

@media (max-width: 860px) {
  .ob { width: 100vw; height: 100dvh; border-radius: 0; }
  .ob-shell { grid-template-columns: minmax(0, 1fr); }
  .ob-side { display: none; }
  .ob-plan, .ob-next { grid-template-columns: minmax(0, 1fr); }
  .ob-nc { padding-bottom: 16px; padding-right: 40px; }
  .ob-nc i { left: auto; right: 16px; top: 50%; bottom: auto; translate: 0 -50%; }
}
@media (max-width: 560px) {
  .ob-row, .ob-row3, .ob-types { grid-template-columns: minmax(0, 1fr); }
  .ob-hero { flex-direction: column; align-items: flex-start; }
  .ob-av { width: 64px; height: 64px; border-radius: 20px; }
  .ob-top { padding: 12px 16px; }
  .ob-sum > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ob-foot .btn-primary { min-width: 0; flex: 1; }
  .ob-days span { width: 40px; height: 42px; }
}

/* ================= Today: setup checklist ================= */
.setup-card { padding: 20px; background: radial-gradient(120% 120% at 0% 0%, color-mix(in oklab, var(--lime) 18%, transparent), transparent 55%), var(--surface); }
.setup-card[hidden] { display: none; }
.sc-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-bottom: 14px; }
.sc-head h2 { font-size: 1.125rem; letter-spacing: -0.01em; margin: 0; }
.sc-head p { margin: 2px 0 0; font-size: .875rem; }
.sc-ring { width: 48px; height: 48px; }
.sc-ring circle { fill: none; stroke-width: 5; }
.sc-ring .bg { stroke: var(--line); }
.sc-ring .fg { stroke: var(--ok); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .6s; }
.sc-ring text { font: 800 12px/1 var(--font); text-anchor: middle; fill: var(--ink); }
.sc-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--text-muted); display: grid; place-items: center; cursor: pointer; align-self: start; }
.sc-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sc-x:hover { background: var(--surface-2); color: var(--text); }
.sc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.sc-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 10px; align-items: start; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.sc-list li > i { grid-row: 1 / span 2; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; }
.sc-list li > i svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sc-list li.ok > i { background: var(--ok); border-color: var(--ok); }
.sc-list li b { display: block; font-size: .875rem; }
.sc-list li span { font-size: .75rem; color: var(--text-muted); }
.sc-list li.ok b { color: var(--text-muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.sc-list li .btn, .sc-list li .sc-done { grid-column: 2; justify-self: start; margin-top: 4px; }
.sc-done { font-size: .75rem; font-weight: 800; color: var(--ok) !important; }

/* Terms and Privacy dialog (content styles live in legal.css) */
.legal .legal-main { padding: 0; max-width: none; }
.legal .disc-review { margin-top: 30px; }

/* Profile row */
.prof-meta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; }
.prof-meta-row .linkish { padding: 0; min-height: 0; }

@media (prefers-reduced-motion: reduce) {
  .ob[open], .ob-body, .ob-panel, .disc[open] { animation: none; }
  .ob-burst circle, .ob-burst path { animation: none; stroke-dashoffset: 0; }
}
