:root{--background:#f6f7f5;--foreground:#17201b;--muted:#68716b;--line:#dfe5df;--panel:#fff;--primary:#0d5f4a;--primary-strong:#083d31;--accent:#c83f2d;--accent-soft:#f7ddd8;--gold:#b78a29;--gold-soft:#f3ead3}*{box-sizing:border-box}html{background:var(--background);min-height:100%}body{min-height:100%;color:var(--foreground);background:var(--background);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.app-shell{grid-template-rows:auto 1fr auto;min-height:100vh;display:grid}.topbar{z-index:10;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f6f7f5f0;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;min-width:0;display:flex}.brand-mark{color:#fff;background:var(--primary);border-radius:8px;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.brand-text{min-width:0}.brand-title{margin:0;font-size:.98rem;font-weight:800;line-height:1.1}.brand-subtitle{color:var(--muted);margin:2px 0 0;font-size:.76rem}.user-pill{border:1px solid var(--line);width:36px;height:36px;color:var(--primary-strong);background:#fff;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.main{width:min(100%,980px);margin:0 auto;padding:22px 16px 96px}.hero{gap:16px;padding:22px 0 8px;display:grid}.hero.compact h1{font-size:clamp(2rem,6vw,3.35rem)}.eyebrow{color:var(--accent);text-transform:uppercase;margin:0;font-size:.78rem;font-weight:800}h1{letter-spacing:0;max-width:720px;margin:0;font-size:clamp(2rem,7vw,4.25rem);line-height:.96}.hero-copy{max-width:620px;color:var(--muted);margin:0;font-size:1rem;line-height:1.55}.actions{flex-wrap:wrap;gap:10px;display:flex}.button{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 15px;font-weight:800;display:inline-flex}.button.primary{color:#fff;background:var(--primary)}.button.secondary{color:var(--primary-strong);border-color:var(--line);background:#fff}.button.disabled,.button[aria-disabled=true]{cursor:not-allowed;opacity:.48}.section-title{margin:30px 0 12px;font-size:1rem}.module-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.module-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;min-height:132px;padding:16px}.module-card svg{color:var(--primary)}.module-card h2{margin:14px 0 6px;font-size:1rem}.module-card p{color:var(--muted);margin:0;font-size:.88rem;line-height:1.42}.status-row{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:24px;display:grid}.status-tile{border-left:4px solid var(--primary);background:#fff;padding:14px}.status-tile.warning{border-left-color:var(--gold);background:var(--gold-soft)}.status-tile.attention{border-left-color:var(--accent);background:var(--accent-soft)}.status-label{color:var(--muted);text-transform:uppercase;margin:0;font-size:.78rem;font-weight:800}.status-value{margin:5px 0 0;font-size:1.2rem;font-weight:850}.status-note{color:var(--muted);overflow-wrap:anywhere;margin:4px 0 0;font-size:.82rem;font-weight:700}.bottom-nav{z-index:20;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff7;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.nav-item{min-height:66px;color:var(--muted);place-items:center;padding:8px 3px 6px;font-size:.68rem;font-weight:750;display:grid}.nav-item.active{color:var(--primary)}.page-panel{border:1px solid var(--line);background:#fff;border-radius:8px;padding:18px}.form-grid{gap:14px;display:grid}.field{gap:7px;display:grid}.field label{color:var(--primary-strong);font-size:.86rem;font-weight:800}.field input,.field textarea,.field select{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;width:100%;min-height:44px;padding:10px 12px}.field textarea{resize:vertical;min-height:110px}.workflow-strip{grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0 18px;display:grid}.workflow-step{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:9px;min-height:54px;padding:10px;display:flex}.workflow-step span{color:#fff;background:var(--primary);border-radius:999px;flex:0 0 28px;place-items:center;width:28px;height:28px;font-size:.78rem;font-weight:850;display:grid}.workflow-step p{color:var(--primary-strong);margin:0;font-size:.82rem;font-weight:800;line-height:1.2}.workflow-step.active{background:#edf6f2;border-color:#0d5f4a7a}.workflow-step:disabled{cursor:default;opacity:.58}.buyer-layout{align-items:start;gap:14px;display:grid}.form-section{border-bottom:1px solid var(--line);gap:14px;padding-bottom:18px;display:grid}.form-section.last{border-bottom:0;padding-bottom:0}.section-heading{align-items:center;gap:8px;display:flex}.section-heading.spread{justify-content:space-between}.section-heading svg{color:var(--primary)}.section-heading h2{margin:0;font-size:1rem}.split-fields{gap:14px;display:grid}.agreement-actions{gap:10px;display:grid}.wizard-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.icon-button{border:1px solid var(--line);width:36px;height:36px;color:var(--primary-strong);cursor:pointer;background:#fff;border-radius:8px;place-items:center;display:inline-grid}.choice-grid{gap:10px;display:grid}.choice-card{border:1px solid var(--line);min-height:82px;color:var(--primary-strong);background:#fbfcfb;border-radius:8px;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:13px;display:grid}.choice-card:has(input:checked){background:#edf6f2;border-color:#0d5f4a7a}.choice-card input{width:18px;height:18px;accent-color:var(--primary);margin-top:2px}.choice-card span{gap:5px;display:grid}.choice-card strong{font-size:.96rem}.choice-card small{color:var(--muted);font-size:.84rem;font-weight:650;line-height:1.4}.link-preview{color:var(--muted);background:#fbfcfb;border:1px dashed #0d5f4a61;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;padding:12px;font-size:.78rem;font-weight:700;line-height:1.35;display:grid}.link-preview svg{color:var(--primary)}.link-preview span{overflow-wrap:anywhere}.service-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.check-tile{border:1px solid var(--line);min-height:48px;color:var(--primary-strong);background:#fbfcfb;border-radius:8px;grid-template-columns:auto auto 1fr;align-items:center;gap:9px;padding:10px;font-size:.88rem;font-weight:800;display:grid}.check-tile input{width:17px;height:17px;accent-color:var(--primary)}.check-tile svg{color:var(--primary)}.check-tile.explain{grid-template-columns:auto 1fr;align-items:start}.check-tile.explain span{gap:4px;display:grid}.check-tile.explain strong{color:var(--primary-strong)}.check-tile.explain small{color:var(--muted);font-size:.8rem;font-weight:650;line-height:1.35}.sticky-actions{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;grid-template-columns:1fr;gap:10px;margin:4px -8px -8px;padding:10px 8px 8px;display:grid;position:sticky;bottom:74px}.buyer-sidebar{gap:12px;display:grid}.insight-panel{border:1px solid var(--line);background:#fff;border-radius:8px;padding:15px}.insight-panel p{color:var(--muted);margin:10px 0 0;font-size:.9rem;line-height:1.45}.wizard-top{align-items:center;gap:12px;display:grid}.progress-shell{background:var(--line);border-radius:999px;width:100%;height:9px;overflow:hidden}.progress-shell span{border-radius:inherit;background:var(--primary);height:100%;display:block}.wizard-layout{align-items:start;gap:14px;display:grid}.step-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.step-button{border:1px solid var(--line);min-height:44px;color:var(--muted);cursor:pointer;text-align:left;background:#fff;border-radius:8px;align-items:center;gap:8px;padding:9px;font-size:.78rem;font-weight:800;display:flex}.step-button.active{color:#fff;border-color:var(--primary);background:var(--primary)}.notice-panel{border-left:4px solid var(--gold);background:var(--gold-soft);color:var(--primary-strong);padding:13px;font-size:.9rem;font-weight:750;line-height:1.42}.helper-card{border:1px solid var(--line);background:#fbfcfb;border-radius:8px}.helper-card summary{min-height:44px;color:var(--primary-strong);cursor:pointer;align-items:center;gap:8px;padding:10px 12px;font-weight:850;display:flex}.helper-card summary::marker{color:var(--primary)}.helper-card p{color:var(--muted);margin:0;padding:0 12px 12px;font-size:.9rem;line-height:1.45}.conversation-card{background:#edf6f2;border:1px solid #0d5f4a2e;border-radius:8px;padding:14px}.conversation-card p{color:var(--primary-strong);margin:0;line-height:1.45}.conversation-card .conversation-label{color:var(--accent);text-transform:uppercase;margin-bottom:6px;font-size:.76rem;font-weight:850}.legal-context-card{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;padding:14px}.legal-context-card p{color:var(--foreground);margin:0;font-size:.9rem;line-height:1.55}.agency-definitions{gap:10px;display:grid}.agency-definitions h3{color:var(--primary-strong);margin:0;font-size:.98rem}.agency-definitions p+h3{margin-top:4px}.affiliate-overview{gap:12px;display:grid}.affiliate-logo-grid{gap:10px;display:grid}.affiliate-logo-card{border:1px solid var(--line);background:#fff;border-radius:8px;place-items:center;min-height:96px;padding:14px;display:grid}.affiliate-logo-card.dark{background:#000}.affiliate-logo-card img{object-fit:contain;width:min(100%,280px);max-height:76px;display:block}.concierge-panel{background:#edf6f2;border:1px solid #0d5f4a2e;border-radius:8px;gap:12px;padding:14px;display:grid}.concierge-panel h3{color:var(--primary-strong);margin:0;font-size:1.25rem;line-height:1.15}.concierge-panel p{color:var(--foreground);margin:0;line-height:1.5}.concierge-service-grid{gap:8px;display:grid}.concierge-service-grid div{border:1px solid var(--line);background:#fff;border-radius:8px;gap:4px;padding:12px;display:grid}.concierge-service-grid strong{color:var(--primary-strong);font-size:.9rem}.concierge-service-grid span{color:var(--muted);font-size:.84rem;font-weight:650;line-height:1.4}.subsection-card{border:1px solid var(--line);background:#fff;border-radius:8px;gap:12px;padding:14px;display:grid}.subsection-card h3{color:var(--primary-strong);margin:0;font-size:.98rem}.client-intro{gap:16px;display:grid}.client-intro.section-video{padding-bottom:4px}.intro-media{color:#fff;text-align:center;background:linear-gradient(#083d312e,#083d31c2),radial-gradient(circle at 25% 20%,#f7ddd8bf,#0000 32%),linear-gradient(135deg,#0d5f4a,#1d7762 48%,#c83f2d);border-radius:8px;place-items:center;min-height:210px;display:grid;overflow:hidden}.intro-media p{margin:0;font-size:1.08rem;font-weight:850}.intro-media.video-frame{aspect-ratio:9/16;background:#083d31;justify-self:center;width:min(100%,360px);min-height:0;display:block}.intro-media video{object-fit:contain;background:#083d31;width:100%;height:100%;display:block}.intro-play{background:#ffffff26;border:2px solid #ffffffd1;border-radius:999px;place-items:center;width:86px;height:86px;margin-bottom:12px;display:grid}.intro-copy{gap:12px;display:grid}.intro-copy h3{max-width:680px;color:var(--primary-strong);margin:0;font-size:clamp(1.45rem,4vw,2.35rem);line-height:1.06}.intro-copy p{max-width:720px;color:var(--foreground);margin:0;font-size:1rem;line-height:1.55}.reassurance-grid{gap:10px;display:grid}.reassurance-grid div{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;padding:14px}.reassurance-grid svg{color:var(--primary)}.reassurance-grid h4{color:var(--primary-strong);margin:8px 0 4px;font-size:.98rem}.reassurance-grid p{color:var(--muted);margin:0;font-size:.88rem;line-height:1.4}.check-tile.full{grid-template-columns:auto 1fr}.document-summary{gap:8px;display:grid}.document-summary p{border:1px solid var(--line);color:var(--primary-strong);background:#fbfcfb;border-radius:8px;margin:0;padding:12px;font-weight:800}.empty-state{justify-items:start;gap:12px;display:grid}.empty-state h2,.empty-state p{margin:0}.empty-state p{color:var(--muted);line-height:1.45}.registered-list{gap:12px;display:grid}.detail-grid{gap:14px;display:grid}.registered-card{border:1px solid var(--line);background:#fff;border-radius:8px;gap:14px;padding:16px;display:grid}.registered-card h2{color:var(--primary-strong);margin:5px 0 8px;font-size:1.15rem}.registered-card h2 a{text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:1px}.registered-card p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.9rem;line-height:1.4}.record-meta{flex-wrap:wrap;gap:8px;display:flex}.record-meta span{border:1px solid var(--line);color:var(--primary-strong);background:#fbfcfb;border-radius:999px;padding:6px 9px;font-size:.78rem;font-weight:800}.record-meta .status-badge{text-transform:capitalize}.record-meta .status-badge.success{color:#0f5132;background:#dff3e6;border-color:#9fd5b3}.record-meta .status-badge.warning{color:#6d4b00;background:#fff1bd;border-color:#e2c46b}.signature-box{border:1px solid var(--line);background:linear-gradient(#0000 78%,#0d5f4a2e 79%,#0000 80%),#fff;border-radius:8px;overflow:hidden}.signature-box canvas{touch-action:none;width:100%;height:180px;display:block}.signature-box.initials-box{max-width:360px}.signature-box.initials-box canvas{height:120px}.button:disabled{cursor:not-allowed;opacity:.48}@media (min-width:760px){.main{padding:34px 24px 96px}.workflow-strip{grid-template-columns:repeat(4,1fr)}.buyer-layout{grid-template-columns:minmax(0,1fr) 300px}.split-fields,.agreement-actions{grid-template-columns:repeat(2,1fr)}.sticky-actions{grid-template-columns:1fr 1fr;bottom:20px}.wizard-top{grid-template-columns:auto 1fr}.wizard-layout{grid-template-columns:230px minmax(0,1fr)}.client-intro{grid-template-columns:minmax(280px,.78fr) minmax(0,1fr)}.reassurance-grid{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.affiliate-logo-grid{grid-template-columns:repeat(3,1fr)}.detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.affiliate-logo-card img{max-height:62px}.concierge-service-grid{grid-template-columns:repeat(2,1fr)}.step-list{grid-template-columns:1fr;position:sticky;top:104px}.bottom-nav{border:1px solid var(--line);border-radius:8px;grid-template-columns:1fr;width:90px;inset:88px auto auto calc(50% - 580px)}}
