/* The Toby Center – platform demo (Concept 2). Light theme only. */
:root {
  color-scheme: light only;
  --sky: #69a3e1; --sky-strong: #2f6db3; --sky-tint: #eef5fc; --sky-line: #d6e6f7;
  --navy: #14385e; --navy-2: #0e2b49;
  --amber: #e8a33d; --amber-tint: #fff6e6;
  --ink: #1f2328; --text: #343434; --muted: #5b6b80;
  --line: #e4e9ef; --paper: #f7f9fc; --bg: #fff;
  --green: #2e8a5e; --green-tint: #e9f6ef; --red: #b4432f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,56,94,.06), 0 6px 20px rgba(20,56,94,.06);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-strong); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; }
.tiny .ic { width: 15px; height: 15px; margin-top: 2px; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.warn-text { color: #a5600d; } .ok-text { color: var(--green); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-primary:disabled { opacity: .7; cursor: progress; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--sky); color: var(--navy); }
.btn-lg { min-height: 52px; padding: 0 22px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--sky-strong); font-weight: 600; font-size: 14px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 20px; line-height: 1; }
.icon-btn:hover { color: var(--navy); border-color: var(--sky); }
.muted-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; justify-self: center; }

.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--paper); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.pill.ok { background: var(--green-tint); color: var(--green); border-color: #cbe8d8; }
.pill.warn { background: var(--amber-tint); color: #93560a; border-color: #f4dfb8; }

.avatar { display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; letter-spacing: .04em; }
.avatar.sm { width: 36px; height: 36px; font-size: 13px; }

/* ---------- Public site ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; gap: 4px; }
.nav-link { padding: 10px 12px; border-radius: 8px; color: #050505; font-weight: 500; font-size: 15px; text-decoration: none; }
.nav-link:hover { background: var(--sky-tint); color: var(--navy); }
.header-cta { display: flex; gap: 10px; }

.hero2 { padding: 64px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--sky-tint) 100%); }
.hero2-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--sky-strong); font-weight: 600; font-size: 14px; }
.hero2 h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
.lede { margin: 18px 0 0; font-size: 18px; color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.paths { display: grid; gap: 12px; }
.path { display: flex; align-items: center; gap: 16px; padding: 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.path:hover { border-color: var(--sky); transform: translateY(-1px); }
.path > span:nth-child(2) { display: grid; flex: 1; }
.path small { color: var(--muted); font-size: 14px; }
.path-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--amber-tint); color: #a46410; }
.path-ic .ic { width: 22px; height: 22px; }
.chev { color: var(--muted); }

.band { padding: 72px 0; }
.section-head { margin-bottom: 28px; }
.section-head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 36px; color: var(--ink); }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 17px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.svc-card:hover { border-color: var(--sky); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card h3 { margin: 0; font-size: 19px; color: var(--ink); }
.svc-card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.svc-price { font-size: 14px; color: var(--muted); }
.svc-price strong { color: var(--navy); font-size: 18px; }
.svc-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-weight: 600; font-size: 14px; color: var(--sky-strong); }
.svc-go .ic { width: 16px; height: 16px; }

.how { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--line); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.how-steps li { position: relative; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.how-steps strong { display: block; color: var(--ink); margin-top: 10px; }
.how-steps p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.how-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); font-weight: 600; }

.site-footer { background: var(--sky); color: #fff; padding: 56px 0 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer-logo { height: 52px; width: auto; background: #fff; padding: 8px 14px; border-radius: 12px; }
.tax { margin: 0; font-size: 14px; font-style: italic; max-width: 70ch; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 32px 0; }
.footer-cols h4 { margin: 0 0 12px; font-size: 18px; font-weight: 500; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.3); font-size: 13px; }
.footer-bottom p { margin: 0; }
.concept-mark { opacity: .85; }

/* ---------- Login ---------- */
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-side { display: flex; flex-direction: column; justify-content: space-between; padding: 40px 56px; background: linear-gradient(160deg, var(--sky-tint), #fff 70%); border-right: 1px solid var(--line); }
.login-side h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.15; color: var(--ink); margin: 0 0 10px; max-width: 14ch; }
.login-side p { color: var(--muted); font-size: 17px; margin: 0; max-width: 40ch; }
.login-side .small { font-size: 13px; }
.login-main { display: grid; place-items: center; padding: 40px 24px; }
.login-card { width: min(420px, 100%); display: grid; gap: 16px; }
.login-card h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--ink); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.seg a { text-align: center; padding: 9px; border-radius: 9px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; }
.seg a.on { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--sky-tint); border: 1px solid var(--sky-line); color: var(--navy); font-size: 14px; margin: 0; }
.notice .ic { margin-top: 2px; }
.notice.warn { background: var(--amber-tint); border-color: #f4dfb8; color: #6b4206; margin-bottom: 18px; }

/* ---------- Fields ---------- */
.field { display: grid; gap: 6px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 6px; }
fieldset.field legend { margin-bottom: 8px; }
.field input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-tint); }
.field input[type=range] { width: 100%; accent-color: var(--navy); }
.grid-f { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-f.three { grid-template-columns: repeat(3, 1fr); }
.span-2 { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #cfd8e3; background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .12s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 14px; font-size: 15px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.radio-list { display: grid; gap: 6px; }
.radio { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14.5px; transition: border-color .12s, background .12s; }
.radio input { accent-color: var(--navy); width: 18px; height: 18px; flex: none; }
.radio span { flex: 1; }
.radio em { font-style: normal; font-weight: 600; color: var(--navy); }
.radio:has(input:checked) { border-color: var(--sky); background: var(--sky-tint); }
.drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 26px; border: 2px dashed #c9d6e5; border-radius: var(--radius); background: var(--paper); text-align: center; cursor: pointer; margin-bottom: 10px; }
.drop:hover { border-color: var(--sky); }
.drop .ic { width: 26px; height: 26px; color: var(--sky-strong); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.compact { padding: 16px; }
.file-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.file-list .pill { margin-left: auto; }

/* ---------- App shell ---------- */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.app-top { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.app-top-inner { display: flex; align-items: center; gap: 20px; height: 68px; padding: 0 24px; }
.app-top .brand img { height: 38px; }
.portal-switch { display: flex; margin: 0 auto; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.portal-switch a { padding: 8px 16px; border-radius: 9px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.portal-switch a.on { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.who { display: flex; align-items: center; gap: 10px; }
.who-text { display: grid; line-height: 1.25; }
.who-text strong { font-size: 14px; color: var(--ink); }
.who-text small { font-size: 12.5px; color: var(--muted); }
.app-body { flex: 1; display: grid; grid-template-columns: 240px 1fr; }
.side { position: sticky; top: 68px; align-self: start; height: calc(100vh - 68px); display: flex; flex-direction: column; gap: 4px; padding: 20px 14px; background: #fff; border-right: 1px solid var(--line); }
.side a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.side a:hover { background: var(--paper); color: var(--navy); }
.side a.on { background: var(--sky-tint); color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--sky); }
.side-foot { margin-top: auto; padding: 12px; border-top: 1px solid var(--line); }
.demo-note { display: flex; gap: 8px; margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.demo-note .ic { width: 16px; height: 16px; margin-top: 2px; }
.main { padding: 32px clamp(20px, 3vw, 40px) 56px; max-width: 1200px; width: 100%; margin-inline: auto; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.page-head h1 { margin: 2px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; color: var(--ink); }
.kicker { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sky-strong); }
.sub { margin: 8px 0 0; color: var(--muted); max-width: 64ch; }
.crumb { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 14px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.crumb:hover { color: var(--navy); }
.crumb .ic { width: 16px; height: 16px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(20,56,94,.04); margin-bottom: 18px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.h-sm { margin: 0 0 10px; font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.h-xs { margin: 18px 0 6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-2 > .card { margin-bottom: 18px; }

.next-card { background: linear-gradient(135deg, var(--navy), #1d4f80); color: #fff; border: 0; }
.next-card .kicker { color: #a9cdf2; }
.next-card h2 { margin: 6px 0 6px; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
.next-card .muted { color: #d2e3f5; margin: 0 0 18px; }
.next-card .btn-primary { background: var(--amber); color: #2a1a03; }
.next-card .btn-primary:hover { background: #dd9426; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; }
.facts.four { grid-template-columns: repeat(4, 1fr); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.facts small { font-weight: 400; color: var(--muted); }

.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.track li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; color: var(--muted); }
.track li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; background: var(--line); }
.track li:first-child::before { display: none; }
.track li.done::before, .track li.now::before { background: var(--green); }
.track .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-weight: 600; font-size: 13px; color: var(--muted); }
.track .dot .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.track li.done { color: var(--ink); }
.track li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.track li.now { color: var(--navy); font-weight: 600; }
.track li.now .dot { border-color: var(--navy); color: var(--navy); box-shadow: 0 0 0 4px var(--sky-tint); }

.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.feed li:first-child { border-top: 0; }
.feed .ic { color: var(--sky-strong); }
.feed span { flex: 1; }
.feed time { font-size: 13px; color: var(--muted); }
.contact-mini { display: flex; gap: 16px; align-items: flex-start; }
.contact-mini p { margin: 2px 0; }
.contact-line { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.contact-line .ic { color: var(--muted); width: 16px; height: 16px; }

/* service detail */
.svc-grid.in-app { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.flow { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: f; }
.flow li { counter-increment: f; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--muted); }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); font-size: 12px; font-weight: 700; }
.flow li.done { color: var(--green); border-color: #cbe8d8; }
.flow li.done::before { content: "✓"; background: var(--green); color: #fff; }
.svc-layout { display: grid; grid-template-columns: 1fr 380px; gap: 18px; align-items: start; }
.prose p { margin: 0 0 12px; }
.callout { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--amber-tint); color: #6b4206; font-size: 14.5px; }
.callout .ic { margin-top: 3px; }
.fee-table { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fee-table summary { padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--sky-strong); background: var(--paper); }
.fee-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.fee-table td, .fee-table th { padding: 10px 16px; border-top: 1px solid var(--line); text-align: left; }
.fee-table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.fee-table td:last-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.fee-card { position: sticky; top: 88px; }
.fee-card.sticky { position: sticky; }
.fee-result { display: grid; gap: 12px; padding: 16px; margin: 6px 0 4px; background: var(--sky-tint); border-radius: 12px; }
.fee-result > div { display: grid; }
.fee-result strong { font-size: 20px; color: var(--navy); }
.fee-result .big { font-family: var(--serif); font-size: 36px; line-height: 1.1; }
.fee-result .muted { font-size: 13px; }
.stack { display: grid; gap: 10px; margin-top: 14px; }

/* forms list */
.form-list { display: grid; gap: 12px; }
.form-row { display: flex; align-items: center; gap: 16px; margin: 0; color: var(--text); text-decoration: none; transition: border-color .15s; }
a.form-row:hover { border-color: var(--sky); }
.form-row.disabled { opacity: .7; }
.row-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sky-tint); color: var(--sky-strong); flex: none; }
.row-body { display: grid; flex: 1; gap: 2px; }
.row-body strong { color: var(--ink); }
.row-body .muted { font-size: 14px; }

/* wizard */
.wizard { padding: 0; overflow: hidden; }
.wiz-steps { list-style: none; margin: 0; padding: 16px 22px; display: flex; gap: 8px; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--paper); }
.wiz-steps li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.wiz-steps li + li::before { content: ""; width: 18px; height: 1px; background: #c9d4e0; margin-right: 4px; }
.wiz-steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #c9d4e0; font-weight: 700; font-size: 12px; background: #fff; }
.wiz-steps .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.wiz-steps em { font-style: normal; }
.wiz-steps li.done span { background: var(--green); border-color: var(--green); color: #fff; }
.wiz-steps li.now { color: var(--navy); font-weight: 600; }
.wiz-steps li.now span { border-color: var(--navy); background: var(--navy); color: #fff; }
.wiz-body { padding: 26px 26px 22px; max-width: 760px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.kids { display: grid; gap: 8px; margin-bottom: 12px; }
.kid { display: grid; grid-template-columns: 1fr 110px 40px; gap: 12px; align-items: end; }
.kid .field { margin: 0; }
.kid .icon-btn { margin-bottom: 3px; }
.review { margin: 0 0 12px; display: grid; }
.review > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.review dt { color: var(--muted); font-size: 14px; }
.review dd { margin: 0; color: var(--ink); }

.success { text-align: center; padding: 44px 24px; }
.success h1 { margin: 12px 0 6px; font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--ink); }
.success p { max-width: 56ch; margin: 0 auto; }
.success-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint); color: var(--green); }
.success-ic .ic { width: 30px; height: 30px; stroke-width: 2.4; }
.row-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.row-actions.end { justify-content: flex-end; align-items: center; }

/* income */
.money-rows { display: grid; gap: 8px; margin-bottom: 16px; }
.money-row { display: grid; grid-template-columns: 1fr 180px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.money-in { display: flex; align-items: center; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff; padding-left: 12px; }
.money-in:focus-within { border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-tint); }
.money-in em { font-style: normal; color: var(--muted); }
.money-in input { width: 100%; border: 0; outline: 0; min-height: 44px; padding: 0 12px 0 6px; text-align: right; font-variant-numeric: tabular-nums; background: transparent; }
.sig-input { font-family: var(--serif); font-size: 20px !important; }

/* pay */
.pay-opts { display: grid; gap: 10px; }
.pay-opt { position: relative; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt > span { display: grid; grid-template-columns: 24px 1fr; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; transition: all .12s; }
.pay-opt .ic { grid-row: span 2; width: 22px; height: 22px; color: var(--sky-strong); margin-top: 2px; }
.pay-opt strong { color: var(--ink); }
.pay-opt small { color: var(--muted); }
.pay-opt input:checked + span { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); background: var(--sky-tint); }
.pay-opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
#card-fields { margin-top: 18px; }
.sum-lines { list-style: none; margin: 0 0 6px; padding: 0; }
.sum-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-lines li span { display: grid; }
.sum-lines small { color: var(--muted); font-size: 13px; }
.sum-lines .total { border-bottom: 0; font-size: 18px; }
.sum-lines .total strong { font-family: var(--serif); font-size: 26px; color: var(--navy); }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); }
.table tfoot td { font-weight: 700; color: var(--ink); border-bottom: 0; }
.table .r { text-align: right; }

/* staff */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { display: grid; gap: 4px; }
.stat strong { font-family: var(--serif); font-size: 34px; line-height: 1.1; color: var(--ink); font-weight: 600; }
.visits { list-style: none; margin: 0; padding: 0; }
.visit { display: grid; grid-template-columns: 70px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.visit:first-child { border-top: 0; }
.v-time { display: grid; line-height: 1.3; }
.v-time strong { font-size: 17px; color: var(--navy); }
.v-body { display: grid; gap: 2px; }
.v-body strong { color: var(--ink); }
.v-place { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.v-place .ic { width: 15px; height: 15px; }
.newcase { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--amber-tint); border-radius: 12px; }
.newcase > div { display: grid; flex: 1; }
.newcase .muted { font-size: 14px; }
.prefill { background: var(--sky-tint); border-color: var(--sky-line); }
.fr { max-width: 860px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid #cfd8e3; border-radius: 12px; overflow: hidden; }
.scale label { position: relative; }
.scale input { position: absolute; opacity: 0; }
.scale span { display: grid; place-items: center; min-height: 46px; font-size: 14px; font-weight: 500; cursor: pointer; border-left: 1px solid #cfd8e3; text-align: center; padding: 0 6px; }
.scale label:first-child span { border-left: 0; }
.scale input:checked + span { background: var(--navy); color: #fff; }
.scale input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: -3px; }
.tip { display: flex; gap: 8px; margin: -6px 0 12px; font-size: 13.5px; color: var(--muted); }
.tip .ic { width: 16px; height: 16px; margin-top: 2px; }
.hours-out { display: flex; align-items: center; min-height: 46px; font-family: var(--serif); font-size: 26px; color: var(--navy); }
.sig-wrap { position: relative; border: 1px dashed #b8c6d6; border-radius: 12px; background: var(--paper); }
.sig-wrap canvas { display: block; width: 100%; height: 150px; touch-action: none; cursor: crosshair; }
.sig-wrap .link-btn { position: absolute; top: 6px; right: 12px; }
.sticky-bar { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; margin: 0 -4px; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 -6px 20px rgba(20,56,94,.06); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist .dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; }
.checklist .ic { width: 14px; height: 14px; stroke-width: 2.6; }

/* modal + toast */
.modal-wrap { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(20,35,52,.45); animation: fade .15s ease; }
.modal { position: relative; width: min(480px, 100%); background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.modal h2 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ink); }
.modal-x { position: absolute; top: 14px; right: 14px; }
.share-preview { display: grid; gap: 2px; padding: 14px; margin: 14px 0; border-radius: 12px; background: var(--sky-tint); }
.share-preview strong { color: var(--navy); }
.share-preview span { font-size: 14px; color: var(--muted); }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translateX(-50%); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .svc-layout { grid-template-columns: 1fr; }
  .fee-card { position: static; }
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .who-text { display: none; }
}
@media (max-width: 900px) {
  .site-nav, .hide-sm { display: none; }
  .hero2-inner { grid-template-columns: 1fr; gap: 32px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-side { display: none; }
  .app-body { grid-template-columns: 1fr; }
  .side { position: sticky; top: 68px; z-index: 20; height: auto; flex-direction: row; overflow-x: auto; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side a { flex: none; padding: 9px 12px; font-size: 14px; }
  .side a.on { box-shadow: inset 0 -2px 0 var(--sky); }
  .side-foot { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 0; }
  .track { grid-template-columns: 1fr; gap: 0; }
  .track li { grid-template-columns: 32px 1fr; justify-items: start; align-items: center; text-align: left; gap: 12px; padding: 6px 0; }
  .track li::before { left: 15px; right: auto; top: -10px; width: 2px; height: 20px; }
  .facts.four { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 68px; }
  .brand img { height: 36px; }
  .header-cta .btn { padding: 0 14px; }
  .app-top-inner { padding: 0 14px; gap: 10px; height: 62px; }
  .app-top .brand img { height: 30px; }
  .portal-switch a { padding: 7px 10px; font-size: 13px; }
  .who .avatar { display: none; }
  .side { top: 62px; }
  .main { padding: 22px 16px 48px; }
  .svc-grid, .how-steps { grid-template-columns: 1fr; }
  .grid-f, .grid-f.three { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat { padding: 14px; }
  .stat strong { font-size: 26px; }
  .stat .muted { font-size: 12.5px; }
  .visit { grid-template-columns: 56px 1fr; }
  .v-act { grid-column: 1 / -1; }
  .money-row { grid-template-columns: 1fr 130px; }
  .review > div { grid-template-columns: 1fr; gap: 2px; }
  .wiz-body { padding: 20px 18px; }
  .wiz-nav .muted { display: none; }
  .scale span { font-size: 12.5px; }
  .sticky-bar .muted { display: none; }
  .sticky-bar .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .page-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
