/* SoloLogix: the mockups' design ("middle" density), as classes. Colours and sizes are the
   mockups' own; see mockups/*.dc.html. WCAG 2.2 AA: 4.5:1 text, 44px targets on touch. */
:root {
  --ink: #14171F; --ink-2: #2B313C; --muted: #566070; --line: #E3E6EB; --line-2: #EEF0F3; --field: #CDD2DA;
  --bg: #F7F8FA; --card: #FFFFFF; --soft: #EEF0F4;
  --blue: #2456E6; --blue-ink: #1B3FB0; --blue-dark: #122C80; --blue-soft: #E9EFFD; --blue-tint: #F3F6FD;
  --green: #2F9E6A; --green-ink: #17603A; --green-soft: #E6F4EA;
  --orange-ink: #8A3A0B; --orange-soft: #FDEFE3; --warn-bg: #FFF7ED; --warn-line: #F3D9B8; --warn-ink: #5C3A0E;
  --red: #B42318; --red-soft: #FDECEA; --navy: #0F1A3A; --navy-ink: #A9B8E8;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; color: var(--ink); background: var(--bg); line-height: 1.4; }
a { color: var(--blue-ink); } a:hover { color: var(--blue-dark); }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- marks ---------- */
.mark { width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mark.lg { width: 28px; height: 28px; border-radius: 8px; font-size: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 650; }
.avatar { width: 28px; height: 28px; border-radius: 14px; background: var(--line); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pmark { width: 26px; height: 26px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pmark.lg { width: 36px; height: 36px; border-radius: 9px; font-size: 13px; }

/* ---------- buttons ---------- */
.btn { min-height: 36px; padding: 0 12px; border-radius: 7px; border: 1px solid var(--field); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.btn:hover { color: var(--ink); background: #FAFBFC; }
.btn-primary { border-color: var(--blue); background: var(--blue); color: #fff; padding: 0 14px; }
.btn-primary:hover { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; }
.btn-link { border-color: transparent; background: transparent; color: var(--blue-ink); }
.btn-link:hover { background: var(--blue-tint); color: var(--blue-dark); }
.btn-danger { border-color: #E8B4AE; color: var(--red); }
.btn-lg { min-height: 46px; font-size: 15px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-google { min-height: 46px; border-radius: 8px; font-size: 15px; width: 100%; gap: 10px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
.field .hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { min-height: 46px; padding: 0 14px; border: 1px solid var(--field); border-radius: 8px; font-size: 15px; font-weight: 400; width: 100%; background: #fff; }
.field textarea { padding: 10px 14px; min-height: 84px; line-height: 1.5; }
.input-sm { min-height: 36px; border: 1px solid var(--field); border-radius: 7px; padding: 0 10px; font-size: 13.5px; background: #fff; }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 400; min-height: 36px; }
.check input { width: 18px; height: 18px; }
.validation-message, .text-danger { color: var(--red); font-size: 13px; font-weight: 500; }
.validation-errors { margin: 0; padding: 10px 14px 10px 30px; border-radius: 8px; background: var(--red-soft); color: var(--red); font-size: 13.5px; }
.validation-errors:empty { display: none; }
.or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- notices and pills ---------- */
.notice { padding: 10px 14px; border-radius: 8px; font-size: 13.5px; line-height: 1.5; background: var(--blue-tint); color: var(--ink-2); }
.notice.ok { background: var(--green-soft); color: var(--green-ink); }
.notice.warn { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); }
.notice.bad { background: var(--red-soft); color: var(--red); }
.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 28px; background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); font-size: 13.5px; color: var(--warn-ink); }
.banner .btn { margin-left: auto; min-height: 30px; }
.pill { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--soft); font-size: 12px; color: #3A4150; white-space: nowrap; }
.pill.blue { background: var(--blue-soft); color: var(--blue-ink); }
.pill.green { background: var(--green-soft); color: var(--green-ink); }
.pill.orange { background: var(--orange-soft); color: var(--orange-ink); }
.muted { color: var(--muted); } .small { font-size: 13px; } .xs { font-size: 12.5px; }
.bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar > span { display: block; height: 8px; border-radius: 4px; background: var(--blue); }
.bar.full > span { background: #C2410C; }

/* ---------- segmented control ---------- */
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--soft); flex-wrap: wrap; }
.seg.round { border-radius: 999px; }
.seg > a, .seg > button { min-height: 32px; padding: 0 14px; border-radius: 7px; border: 0; background: transparent; font-size: 13.5px; font-weight: 500; color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.seg.round > a, .seg.round > button { border-radius: 999px; }
.seg > [aria-pressed="true"], .seg > [aria-current="page"] { background: #fff; box-shadow: 0 1px 2px rgba(20,23,31,.15); font-weight: 600; }

/* ---------- app shell ---------- */
.shell { display: flex; min-height: 100vh; align-items: flex-start; }
/* The menu stays put while the page scrolls; it scrolls on its own only if it is taller than the window. */
.nav { flex: 0 0 230px; position: sticky; top: 0; height: 100vh; overflow-y: auto; box-sizing: border-box; background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.nav-brand { display: flex; align-items: center; gap: 8px; padding: 0 8px 12px; font-size: 14px; font-weight: 650; }
.nav-product { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.nav-product .name { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.nav-product .name b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-product .name span { font-size: 12px; color: var(--muted); }
.nav-product svg { margin-left: auto; color: var(--muted); flex: none; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: 14px; text-decoration: none; }
.nav-link:hover { background: #F4F5F8; color: var(--ink); }
.nav-link.active { background: var(--blue-soft); color: var(--blue-ink); font-weight: 600; }
.nav-link .count { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.trial-card { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 10px; background: var(--blue-tint); text-decoration: none; color: var(--ink); }
.trial-card b { font-size: 13px; font-weight: 600; }
.trial-card .bar { height: 6px; background: #DCE4F8; } .trial-card .bar > span { height: 6px; }
.trial-card em { font-style: normal; font-size: 12.5px; color: var(--blue-ink); font-weight: 600; }
.nav-help { display: flex; align-items: center; min-height: 36px; padding: 0 12px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-me { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 8px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nav-me .who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.nav-me .who b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-me .who span { font-size: 12px; color: var(--muted); }
.nav-signout { border: 0; background: transparent; color: var(--muted); font-size: 12.5px; cursor: pointer; padding: 6px 8px; text-align: left; }
.nav-signout:hover { color: var(--ink); text-decoration: underline; }
.main { flex: 1 1 auto; min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px 28px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.page-head .titles { display: flex; flex-direction: column; gap: 2px; flex: 1 1 360px; min-width: 0; }
.page-head .eyebrow { font-size: 13px; color: var(--muted); }
.page-head h1 { font-size: 22px; font-weight: 650; }
.page-head .lede { font-size: 13.5px; color: var(--ink-2); }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 28px; background: #fff; border-bottom: 1px solid var(--line); }
.page-body { padding: 18px 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 14px; align-items: start; max-width: 1180px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- cards and rows (Setup, Account) ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card-pad { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.card-head { padding: 16px 18px 10px; }
.card-head h2, .card-pad h2 { font-size: 15.5px; font-weight: 650; }
.card-head .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.srow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 56px; padding: 8px 18px; border-top: 1px solid var(--line-2); }
.srow .what { flex: 1 1 220px; min-width: 0; }
.srow .what b { display: block; font-size: 14.5px; font-weight: 600; }
.srow .what span { display: block; font-size: 13px; color: var(--muted); }
.srow .how { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.srow .how .input-sm { min-width: 220px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--field); border-radius: 7px; overflow: hidden; }
.stepper button { min-height: 36px; min-width: 36px; border: 0; background: #fff; font-size: 16px; cursor: pointer; }
.stepper span { min-width: 64px; text-align: center; font-size: 14px; font-weight: 600; }
.never { margin: 0; padding: 4px 18px 16px 38px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.card-foot { padding: 12px 18px; border-top: 1px solid var(--line-2); }

/* ---------- public pages ---------- */
.public { min-height: 100vh; display: flex; flex-direction: column; }
.site-head { display: flex; align-items: center; gap: 24px; padding: 16px 40px; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.site-head nav { display: flex; gap: 20px; }
.site-head nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; min-height: 36px; display: inline-flex; align-items: center; }
.site-head nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-head .right { margin-left: auto; display: flex; gap: 8px; }
.site-main { padding: 56px 40px 72px; display: flex; flex-direction: column; align-items: center; gap: 36px; flex: 1; }
.hero { text-align: center; max-width: 720px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.hero h1 { font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.hero p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.hero p.small { font-size: 14px; color: var(--muted); }
.plans { width: 100%; max-width: 1080px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.plan.popular { border-color: var(--blue); }
.plan.current { border-color: var(--green); }
.plan .badge { position: absolute; top: -12px; left: 22px; }
.plan .pname { font-size: 17px; font-weight: 650; }
.plan .pwho { font-size: 13.5px; color: var(--muted); }
.plan .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price b { font-size: 36px; font-weight: 700; letter-spacing: -.02em; }
.plan .price span { font-size: 13px; color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.plan li { display: flex; gap: 8px; } .plan li::before { content: "✓"; color: var(--green); font-weight: 700; }
.compare { width: 100%; max-width: 1080px; }
.compare h2 { font-size: 18px; font-weight: 650; padding: 18px 20px 6px; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
table.data thead th { font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
table.data tbody th { font-weight: 500; }
table.data .hl { background: #F7F9FF; }
table.data thead .hl { color: var(--blue-ink); }
.faq { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 8px; }
.faq h2 { font-size: 22px; font-weight: 650; margin-bottom: 6px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.faq summary { min-height: 52px; display: flex; align-items: center; font-weight: 600; font-size: 15px; cursor: pointer; }
.faq details p { padding: 0 0 16px; color: var(--ink-2); line-height: 1.6; }
.cta-band { width: 100%; max-width: 1080px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 28px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 20px; font-weight: 650; }
.site-foot { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; padding: 20px 40px; border-top: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--muted); }
.site-foot a { color: var(--muted); }
.legal { width: 100%; max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px 36px; line-height: 1.65; }
.legal h1 { font-size: 28px; margin-bottom: 6px; } .legal h2 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; } .legal p + p { margin-top: 10px; }

/* ---------- sign up / sign in ---------- */
.split { min-height: 100vh; display: flex; flex-wrap: wrap; background: var(--bg); }
.split > section { flex: 1 1 520px; display: flex; flex-direction: column; padding: 32px 48px; background: #fff; }
.split .center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.form-col { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 18px; }
.form-col h1 { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.form-col > p { font-size: 15px; color: var(--ink-2); }
.form-col .fine { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.split > aside { flex: 1 1 440px; background: var(--navy); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.split > aside .eyebrow { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-ink); }
.split > aside .big { font-size: 26px; font-weight: 650; line-height: 1.3; max-width: 440px; }
.split > aside ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; max-width: 440px; }
.split > aside .foot { font-size: 13.5px; color: var(--navy-ink); }
.auth { min-height: 100vh; display: flex; flex-direction: column; }
.auth > header { padding: 20px 28px; }
.auth > main { flex: 1; padding: 40px 24px 64px; display: flex; flex-direction: column; gap: 26px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; width: 100%; max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.auth-card.wide { max-width: 640px; }
.auth-card h1 { font-size: 24px; font-weight: 650; }
.auth-card > p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.auth-card .code input { font-size: 22px; letter-spacing: .3em; text-align: center; }

/* ---------- onboarding ---------- */
.ob-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; background: #fff; border-bottom: 1px solid var(--line); }
.ob-main { padding: 36px 24px 64px; display: flex; justify-content: center; }
.ob-col { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 22px; }
.ob-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.ob-steps li { flex: 1 1 100px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.ob-steps li::before { content: ""; height: 4px; border-radius: 2px; background: #DDE1E8; }
.ob-steps li.done::before, .ob-steps li.now::before { background: var(--blue); }
.ob-steps li.now { color: var(--ink); font-weight: 600; }
.ob-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.ob-card h2 { font-size: 22px; font-weight: 650; }
.ob-card > p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.ob-foot { display: flex; align-items: center; gap: 12px; }
.ob-foot .step { margin-left: auto; font-size: 13px; color: var(--muted); }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.choice label { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--field); border-radius: 10px; cursor: pointer; font-weight: 600; }
.choice label span { font-weight: 400; font-size: 13px; color: var(--muted); }
.choice label:has(input:checked) { border: 2px solid var(--blue); padding: 13px; background: var(--blue-tint); }
.chan { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.chan .srow:first-child { border-top: 0; }

/* ---------- states (SPEC §5 States) ---------- */
.state { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; max-width: 620px; margin: 24px auto; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.state .icon { width: 44px; height: 44px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue-ink); font-size: 20px; }
.state h2 { font-size: 22px; font-weight: 650; }
.state p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.checklist { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.checklist div { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.checklist .tick { width: 20px; height: 20px; border-radius: 10px; border: 2px solid var(--field); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.checklist .tick.on { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- product cards ---------- */
.pcard { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.pcard.current { border-color: var(--blue); }
.pcard .top { display: flex; align-items: center; gap: 12px; }
.pcard .top .names { flex: 1; min-width: 0; }
.pcard .top b { display: block; font-size: 16px; font-weight: 650; }
.pcard .top span.site { display: block; font-size: 13px; color: var(--muted); }
.stats { display: flex; gap: 22px; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; } .stats .k { font-size: 12.5px; color: var(--muted); } .stats .v { font-size: 15px; font-weight: 600; }

/* ---------- Blazor ---------- */
#blazor-error-ui { color-scheme: light only; background: lightyellow; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,.2); box-sizing: border-box; display: none; left: 0; padding: .6rem 1.25rem .7rem 1.25rem; position: fixed; width: 100%; z-index: 1000; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }
.blazor-error-boundary { background: var(--red-soft); padding: 1rem; color: var(--red); border-radius: 8px; }
.blazor-error-boundary::after { content: "Something went wrong on this part of the page. Reload to try again."; }

/* ---------- identity manage pages (template markup) ---------- */
.manage .form-floating { display: flex; flex-direction: column-reverse; gap: 6px; margin-bottom: 14px; }
.manage .form-floating label, .manage .form-label { font-size: 13.5px; font-weight: 600; }
.manage .form-control { min-height: 46px; padding: 0 14px; border: 1px solid var(--field); border-radius: 8px; font-size: 15px; width: 100%; }
.manage .mb-3 { margin-bottom: 14px; } .manage .w-100 { width: 100%; }
.manage .btn-lg { min-height: 46px; }
.manage .alert { padding: 10px 14px; border-radius: 8px; background: var(--blue-tint); margin-bottom: 14px; }
.manage .alert-danger { background: var(--red-soft); color: var(--red); }
.manage .alert-success { background: var(--green-soft); color: var(--green-ink); }
.manage .alert-warning { background: var(--warn-bg); color: var(--warn-ink); }
.manage h3, .manage h4 { font-size: 16px; margin: 18px 0 8px; }
.manage p { margin: 0 0 10px; line-height: 1.55; }
.manage kbd { background: var(--soft); padding: 2px 6px; border-radius: 4px; font-size: 14px; letter-spacing: .05em; }
.manage .row { display: flex; flex-wrap: wrap; gap: 14px; }
.manage .col-md-6, .manage .col-lg-6, .manage .col-xl-6 { flex: 1 1 340px; }
.manage .input-group { display: flex; gap: 8px; align-items: center; }
.manage .btn-secondary { border-color: var(--field); }
.manage .btn-danger { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- phone: list first, bottom tab bar (SPEC §5.1) ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  .nav { display: none; }
  .page-head, .toolbar, .page-body, .banner { padding-left: 16px; padding-right: 16px; }
  .grid-2, .grid-cards { grid-template-columns: 1fr; }
  .split > section { padding: 24px 20px; }
  .split > aside { padding: 36px 24px; }
  .site-head, .site-main, .site-foot { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 30px; }
  .main { padding-bottom: 72px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); z-index: 50; }
  .tabbar a { flex: 1; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; color: var(--muted); text-decoration: none; }
  .tabbar a.active { color: var(--blue-ink); font-weight: 600; }
  .srow .how .input-sm { min-width: 0; width: 100%; }
  .stepper button { min-height: 44px; min-width: 44px; }
  .btn { min-height: 44px; }
}

h1:focus:not(:focus-visible), h1[tabindex="-1"]:focus { outline: none; }

/* Knowledge (mockups/Knowledge.dc.html) */
.kn { flex: 1; display: flex; flex-wrap: wrap; min-height: 0; }
.kn > .facts { flex: 3 1 560px; min-width: 0; padding: 18px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.kn > aside { flex: 2 1 380px; min-width: 0; background: #fff; border-left: 1px solid var(--line); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.kn aside h2 { margin: 0; font-size: 15.5px; font-weight: 650; }
.fgroup > summary { list-style: none; display: inline-flex; align-items: baseline; gap: 8px; min-height: 32px; cursor: pointer; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary::before { content: "▸"; font-size: 12px; color: var(--muted); width: 10px; }
.fgroup[open] > summary::before { content: "▾"; }
.fgroup > summary b { font-size: 15.5px; font-weight: 650; }
.fgroup > summary span { font-size: 13px; color: var(--muted); }
.flist { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 8px; }
.frow { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 14px; border-top: 1px solid #EEF0F3; color: var(--ink); text-decoration: none; }
.frow:first-child { border-top-color: transparent; }
.frow:hover, .frow[aria-current="true"] { background: #F1F5FE; }
.frow .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.frow .t b { font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.frow .t span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow .go { flex: none; font-size: 13.5px; color: var(--muted); }
.flist .more { display: flex; align-items: center; justify-content: center; min-height: 44px; border-top: 1px solid #EEF0F3; background: #FAFBFC; font-size: 13.5px; font-weight: 600; color: var(--blue-ink, #1B3FB0); text-decoration: none; }
.srcs > div { display: flex; align-items: center; gap: 10px; min-height: 52px; border-bottom: 1px solid #EEF0F3; }
.srcs .n { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.srcs .n b { font-size: 14px; font-weight: 600; }
.srcs .n span { font-size: 12.5px; color: var(--muted); }
.info { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #F3F6FD; font-size: 13.5px; line-height: 1.5; color: var(--ink-2, #2B313C); }
.quote { border-left: 3px solid var(--line); padding: 4px 0 4px 12px; color: var(--ink-2, #2B313C); font-size: 13.5px; line-height: 1.5; margin: 0; }
.edit-card { border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.edit-card form { display: flex; flex-direction: column; gap: 12px; }
.pill.amber { background: #FDEFE3; color: #8A3A0B; }
@media (max-width: 720px) { .kn > .facts { padding: 14px 16px; } .kn > aside { border-left: 0; border-top: 1px solid var(--line); padding: 18px 16px; } }

/* Today (mockups/Main.dc.html) */
.mrow .t { color: var(--ink); text-decoration: none; }
.tickbtn { flex: none; width: 26px; height: 26px; min-width: 26px; border-radius: 13px; border: 2px solid #B9C0CB; background: #fff; color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; position: relative; }
.tickbtn::after { content: ""; position: absolute; inset: -9px; } /* 44 px target */
.tickbtn[aria-pressed="true"] { border-color: var(--green); background: var(--green); }
.mrow.is-done .t b { text-decoration: line-through; }
.mrow.is-done { opacity: .6; }
.bulkbar { position: sticky; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: 0 6px 20px rgba(20,23,31,.25); }
.bulkbar span { flex: 1 1 auto; font-size: 13.5px; }
@media (max-width: 760px) { .bulkbar { bottom: 68px; } }

/* Account menu in the left menu: opens upward over the name. */
.me-menu { position: relative; }
.me-menu > summary { list-style: none; cursor: pointer; border-radius: 8px; }
.me-menu > summary::-webkit-details-marker { display: none; }
.me-menu > summary:hover { background: var(--bg); }
.me-menu .caret { margin-left: auto; font-size: 11px; color: var(--muted); transition: transform .15s; }
.me-menu:not([open]) .caret { transform: rotate(180deg); }
.me-pop { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(20,23,31,.14); padding: 6px; display: flex; flex-direction: column; z-index: 20; }
.me-pop a, .me-pop button { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; width: 100%; }
.me-pop a:hover, .me-pop button:hover, .me-pop a:focus-visible, .me-pop button:focus-visible { background: var(--blue-soft); color: var(--blue-ink); }
.me-pop form { margin: 0; border-top: 1px solid var(--line-2); padding-top: 4px; margin-top: 4px; }

/* Results (mockups/Results.dc.html) */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.kpi { display: flex; flex-direction: column; gap: 6px; }
.kpi .kv { display: flex; align-items: baseline; gap: 8px; }
.kpi .kv b { font-size: 26px; font-weight: 650; }
.funnel { display: flex; flex-direction: column; padding: 4px 18px 14px; }
.frow2 { display: grid; grid-template-columns: minmax(120px, 180px) 70px 1fr minmax(160px, 260px); align-items: center; gap: 12px; min-height: 48px; border-top: 1px solid var(--line-2); }
.frow2:first-child { border-top: 0; }
.frow2 .lbl { font-weight: 600; }
.frow2 .fbar { height: 10px; border-radius: 5px; background: var(--soft); overflow: hidden; }
.frow2 .fbar span { display: block; height: 10px; border-radius: 5px; background: var(--blue); }
.frow2.worst { background: #FFF8F3; }
.frow2.worst .fbar span { background: #C2410C; }
.frow2.worst .small { color: #9A2A1A; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th, table.data td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line-2); vertical-align: top; }
table.data thead th { font-size: 12.5px; color: var(--muted); font-weight: 600; border-top: 0; white-space: nowrap; }
table.data tbody th { font-weight: 600; }
.code-box { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; overflow-x: auto; font-size: 13px; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 760px) { .frow2 { grid-template-columns: 1fr 60px; } .frow2 .fbar, .frow2 .small { grid-column: 1 / -1; } }

/* Content (mockups/Content.dc.html) */
.thumb { flex: none; width: 40px; height: 64px; border-radius: 6px; object-fit: cover; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.player { width: 100%; max-width: 320px; aspect-ratio: 9 / 16; border-radius: 12px; background: #000; align-self: center; }
.slides { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.slides img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }

/* Ask (mockups/Ask.dc.html): the page, and the panel on every screen */
.ask-msgs { display: flex; flex-direction: column; gap: 14px; }
.ask-user { align-self: flex-end; max-width: 85%; background: var(--blue-soft); color: var(--ink); padding: 10px 14px; border-radius: 12px 12px 2px 12px; display: flex; flex-direction: column; gap: 4px; }
.ask-bot { max-width: 92%; background: #fff; border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px 12px 12px 2px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }
.ask-bot ul { margin: 0; padding-left: 18px; }
.ask-change { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ask-change .row { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 4px 12px; padding: 10px 12px; border-top: 1px solid var(--line-2); }
.ask-change .row:first-child { border-top: 0; }
.ask-change .row .muted { grid-column: 2; }
.ask-change s { color: var(--muted); }
.ask-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg); border-top: 1px solid var(--line-2); }
.ask-compose { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: 12px 0 4px; background: inherit; }
.ask-compose textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--field); border-radius: 10px; padding: 10px 12px; font: inherit; resize: vertical; }
.ask-fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; box-shadow: 0 6px 20px rgba(20,23,31,.25); }
.ask-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 60; background: var(--bg); border-left: 1px solid var(--line); box-shadow: -8px 0 30px rgba(20,23,31,.18); padding: 16px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.ask-head { display: flex; align-items: center; gap: 10px; }
.ask-head h2 { margin: 0; font-size: 17px; }
.ask-head .btn { margin-left: auto; }
@media (max-width: 760px) { .ask-fab { display: none; } }

/* Back office (mockups/Admin.dc.html) */
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.data td.warn { color: var(--warn-ink); font-weight: 600; }
table.data { background: #fff; }

/* Milestone 10: long links (with tracking tags) wrap instead of widening the page on a phone. */
.edit-card, .kn aside, .ask-panel, .ask-bot, pre { overflow-wrap: anywhere; }
pre { white-space: pre-wrap; }

/* SPEC §14: 44 px touch targets on phones and touch screens (desktop keeps the 36 px of the mockups,
   above WCAG 2.2's 24 px minimum). */
@media (pointer: coarse), (max-width: 760px) {
  .btn, button, select, .input, input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .seg > a, summary, [role=menuitem], .ask-fab { min-height: 44px; }
  .tickbtn { min-width: 44px; min-height: 44px; border-radius: 50%; }
  .fgroup > summary, details > summary, select.input-sm, .input-sm, .input.input-sm { min-height: 44px; height: auto; }
  .btn-link, a.small { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Working states: a button that sent its form, and the setup screen while it reads the site. */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; }
.btn.is-busy { position: relative; color: transparent !important; }
.btn.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.btn:not(.btn-primary).is-busy::after { border-color: var(--ink); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner, .btn.is-busy::after { animation-duration: 2.4s; } }
.ob-progress { display: flex; flex-direction: column; gap: 10px; }
.ob-progress ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.ob-progress li.done { color: var(--muted); }
.ob-progress li.now { font-weight: 600; }

/* Setup, redesigned (mockup: SoloLogix onboarding redesign): the form on the left, a live
   preview of the first morning on the right. On a phone the preview drops below the form. */
.ob2 { min-height: 100vh; display: flex; flex-wrap: wrap; background: var(--bg); }
.ob2-form { flex: 1 1 560px; min-width: 0; background: #fff; display: flex; flex-direction: column; gap: 24px; padding: 28px 56px 40px; box-sizing: border-box; }
.ob2-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ob2-progress { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.ob2-progress .bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ob2-progress .bars span { height: 5px; border-radius: 3px; background: var(--line); }
.ob2-progress .bars span.on { background: var(--blue); }
.ob2-progress .bars span.half { background: linear-gradient(90deg, var(--blue) 45%, var(--line) 45%); }
.ob2-title { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.ob2-title h1 { margin: 0; font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.ob2-title p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.ob2-fields { display: flex; flex-direction: column; gap: 20px; max-width: 560px; flex: 1; }
.ob2-fields .field input, .ob2-fields .field textarea, .ob2-fields .field select { min-height: 48px; border-radius: 12px; font-size: 15px; }
.ob2-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ob2-url { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--field); border-radius: 12px; padding: 0 14px; color: var(--muted); }
.ob2-url:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.ob2-url input { border: 0 !important; outline: 0; box-shadow: none !important; flex: 1; min-width: 0; padding: 0 !important; font-weight: 500; font-size: 16px !important; color: var(--ink); }
.ob2-choices { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.ob2-choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ob2-choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ob2-choices legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 10px; }
.ob2-choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.ob2-choice:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.ob2-choice:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--blue-soft); }
.ob2-choice input { margin: 3px 0 0; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.ob2-choice > span { display: flex; flex-direction: column; gap: 2px; }
.ob2-choice b { font-size: 15px; } .ob2-choice b.big { font-size: 24px; }
.ob2-choice > span > span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.ob2-choice.tall { flex-direction: column; gap: 6px; }
.ob2-choice .tag { position: absolute; top: -10px; right: 12px; font-style: normal; font-size: 11px; font-weight: 700; background: var(--blue); color: #fff; padding: 3px 8px; border-radius: 999px; }
.ob2-more summary { cursor: pointer; color: var(--blue-ink); font-weight: 500; font-size: 14px; min-height: 32px; display: flex; align-items: center; }
.ob2-more[open] summary { margin-bottom: 10px; }
.ob2-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.ob2-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-width: 560px; }
.ob2-stages li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; color: var(--muted); }
.ob2-stages li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.ob2-stages li b { font-size: 15px; color: inherit; } .ob2-stages li span span { font-size: 13px; }
.ob2-stages .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--field); box-sizing: border-box; flex: none; }
.ob2-stages li.now { background: var(--blue-tint); border: 1px solid var(--blue-soft); color: var(--ink); }
.ob2-stages li.now .dot { border: 3px solid var(--blue); border-right-color: transparent; animation: spin .8s linear infinite; }
.ob2-stages li.done { color: var(--ink); }
.ob2-stages li.done .dot, .fr-steps li.done .dot, .fr-tasks li.done .dot { border: 0; background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); background-position: center; background-size: 55%; background-repeat: no-repeat; }
.ob2-side { flex: 1 1 440px; min-width: 0; background: var(--navy); color: #fff; padding: 56px 48px; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.ob2-side .kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-ink); }
.ob2-side .note { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--navy-ink); }
.ob2-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.ob2-card .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ob2-card .row.line { padding: 8px 2px; border-bottom: 1px solid var(--line-2); }
.ob2-card .row.line > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.ob2-card .row.total { border-top: 2px solid var(--ink); padding-top: 10px; }
.ob2-card .reply { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line-2); padding-top: 12px; font-size: 14px; line-height: 1.5; }
.ob2-card .skel { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line-2); border-radius: 10px; }
.ob2-card .skel .ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--field); box-sizing: border-box; flex: none; }
.ob2-card .skel .lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ob2-card .skel .lines span { height: 9px; border-radius: 4px; background: var(--soft); width: 70%; }
.ob2-card .skel .lines span + span { width: 45%; height: 8px; background: #F3F4F6; }
.ob2-benefits { margin: 6px 0 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; color: #DDE3F5; }
.ob2-fact { background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.ob2-fact > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.ob2-fact b { font-size: 15px; font-weight: 500; line-height: 1.4; }
.ob2-fact > span:last-child > span { font-size: 12px; color: var(--muted); }
.ob2-fact.empty { background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.3); color: var(--navy-ink); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .ob2-form { padding: 20px 20px 28px; }
  .ob2-side { padding: 28px 20px; }
  .ob2-choices.two, .ob2-choices.three { grid-template-columns: minmax(0, 1fr); }
  .ob2-title h1 { font-size: 26px; }
}

/* The first list being made: the page right after setup. */
.fr { display: flex; flex-direction: column; gap: 24px; max-width: 1060px; }
.fr-hero { background: var(--navy); color: #fff; border-radius: 20px; padding: 32px 36px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.fr-hero .copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 12px; }
.fr-hero .kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-ink); }
.fr-hero h1 { margin: 0; font-size: 34px; line-height: 1.12; letter-spacing: -0.02em; }
.fr-hero p { margin: 0; font-size: 16px; line-height: 1.55; color: #D5DCF2; }
.fr-hero .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.fr-hero .btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.fr-hero .btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.fr-steps { flex: 1 1 300px; margin: 0; padding: 20px; list-style: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; display: flex; flex-direction: column; gap: 14px; }
.fr-steps li { display: flex; gap: 12px; align-items: center; color: var(--navy-ink); }
.fr-steps li.done, .fr-steps li.now { color: #fff; }
.fr-steps li.now { font-weight: 600; }
.fr-steps .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); box-sizing: border-box; flex: none; }
.fr-steps li.now .dot { border: 3px solid #7FA0FF; border-right-color: transparent; animation: spin .8s linear infinite; }
.fr-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fr-how > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.fr-how .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.fr-how p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.fr-tasks { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.fr-tasks .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.fr-tasks .meter { width: 120px; height: 6px; background: var(--line-2); border-radius: 3px; display: inline-block; vertical-align: middle; }
.fr-tasks .meter span { display: block; height: 6px; background: var(--green); border-radius: 3px; }
.fr-tasks ul { margin: 0; padding: 0; list-style: none; }
.fr-tasks li { display: flex; gap: 14px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--line-2); }
.fr-tasks li > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.fr-tasks li > span:nth-child(2) span { font-size: 13px; color: var(--muted); }
.fr-tasks .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--field); box-sizing: border-box; flex: none; }
.fr-tasks li.done { color: var(--muted); }
.fr-tasks li.done b { text-decoration: line-through; font-weight: 500; }
@media (max-width: 760px) { .fr-how { grid-template-columns: minmax(0, 1fr); } .fr-hero { padding: 24px 20px; } .fr-hero h1 { font-size: 26px; } }
