:root {
  --ink:#171717; --muted:#686868; --line:#dedbd7; --soft:#f5f3f0; --paper:#fff;
  --orange:#ff6a00; --orange-dark:#d95700; --orange-soft:#fff1e8;
  --green:#157347; --green-soft:#e8f5ee; --amber:#a65d00; --amber-soft:#fff4df;
  --red:#b42318; --red-soft:#feebe9; --shadow:0 16px 50px rgba(22,18,14,.08);
  --radius:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--soft);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.topbar{height:72px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}
.brand{display:flex;align-items:center;color:#fff;text-decoration:none}.brand-logo{display:block;width:158px;height:40px;object-fit:contain}
.top-actions{display:flex;align-items:center;gap:10px}.save-state{color:#cfcfcf;font-size:12px;margin-right:6px;display:flex;align-items:center;gap:7px}.save-state i{width:7px;height:7px;border-radius:50%;background:#63c790}.save-state.saving i{background:#ffad66}
.button{border:0;border-radius:8px;padding:11px 16px;font-weight:700;transition:.18s ease;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button:hover{transform:translateY(-1px)}.button:focus-visible,.step-button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.choice:focus-within{outline:3px solid rgba(255,106,0,.28);outline-offset:2px}.button.primary{background:var(--orange);color:#fff}.button.primary:hover{background:var(--orange-dark)}.button.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.button.ghost{background:transparent;border:1px solid #4a4a4a;color:#fff}.button.compact{padding:8px 11px;font-size:12px}.button.danger{color:var(--red);border-color:#efc4c0}.button[disabled]{opacity:.4;cursor:not-allowed;transform:none}
.workspace{display:grid;grid-template-columns:260px minmax(560px,790px) 280px;min-height:calc(100vh - 72px);max-width:1440px;margin:0 auto;background:var(--paper);box-shadow:var(--shadow)}
.sidebar{background:#f4f1ed;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column}.side-heading{padding:0 8px 24px;border-bottom:1px solid var(--line);margin-bottom:14px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:10px;font-weight:800;color:var(--orange)}.side-heading h1{font-size:23px;line-height:1.15;margin:7px 0}.side-heading p{color:var(--muted);font-size:12px;margin:0}
#stepNav{display:flex;flex-direction:column;gap:3px}.step-button{display:grid;grid-template-columns:26px 1fr 18px;align-items:center;gap:8px;width:100%;border:0;background:transparent;text-align:left;border-radius:8px;padding:9px 8px;color:#5f5b57}.step-button:hover{background:#ebe7e2}.step-button.active{background:#fff;color:var(--ink);box-shadow:0 2px 10px rgba(0,0,0,.04)}.step-button .num{width:23px;height:23px;border:1px solid #cbc7c2;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:700}.step-button.active .num{background:var(--orange);border-color:var(--orange);color:#fff}.step-button.complete .num{background:var(--ink);border-color:var(--ink);color:#fff}.step-button .label{font-size:12px;font-weight:650}.step-button .tick{font-size:12px;color:var(--green)}
.privacy-note{margin-top:auto;border-top:1px solid var(--line);padding:20px 8px 0;display:flex;gap:10px;color:var(--muted);font-size:10px}.privacy-note svg{width:17px;fill:none;stroke:var(--muted);stroke-width:1.7;flex:none}.privacy-note strong{display:block;color:var(--ink);font-size:11px}
.assessment-shell{padding:34px 42px 48px;min-width:0}.progress-track{height:4px;background:#e9e5e1;border-radius:9px;margin-bottom:34px;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--orange);width:0;transition:width .3s ease}.mobile-progress{display:none}.section-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.section-intro h2{font-family:Georgia,serif;font-size:34px;line-height:1.15;margin:6px 0 7px}.section-intro p{color:var(--muted);margin:0;max-width:560px}.time-pill{white-space:nowrap;background:var(--soft);border:1px solid var(--line);font-size:11px;color:var(--muted);border-radius:999px;padding:7px 10px;margin-top:2px}
.question-card{border-top:1px solid var(--line);padding:23px 0}.question-card:first-child{border-top:0}.question-label{display:block;font-weight:750;margin-bottom:5px}.question-help{color:var(--muted);font-size:12px;margin:0 0 13px}.required{color:var(--orange);margin-left:3px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field-row.three{grid-template-columns:repeat(3,1fr)}
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],select,textarea{width:100%;border:1px solid #cfcac4;border-radius:8px;background:#fff;color:var(--ink);padding:11px 12px;min-height:44px}textarea{min-height:105px;resize:vertical}input::placeholder,textarea::placeholder{color:#aaa39c}.suffix-field{position:relative}.suffix-field input{padding-right:48px}.suffix-field span{position:absolute;right:13px;top:12px;color:var(--muted);font-size:12px}
.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.choices.three{grid-template-columns:repeat(3,minmax(0,1fr))}.choice{position:relative}.choice input{position:absolute;opacity:0;pointer-events:none}.choice label{display:flex;align-items:center;gap:9px;border:1px solid #d5d0cb;border-radius:8px;padding:10px 12px;min-height:44px;font-size:13px;cursor:pointer;background:#fff}.choice label:before{content:"";width:15px;height:15px;border:1.5px solid #aaa49e;border-radius:50%;flex:none}.choice input[type=checkbox]+label:before{border-radius:4px}.choice input:checked+label{border-color:var(--orange);background:var(--orange-soft);box-shadow:inset 0 0 0 1px var(--orange)}.choice input:checked+label:before{border-color:var(--orange);background:var(--orange);box-shadow:inset 0 0 0 3px var(--orange-soft)}
.rating{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;max-width:450px}.rating .choice label{justify-content:center;padding:9px 4px}.rating .choice label:before{display:none}.rating-ends{display:flex;justify-content:space-between;max-width:450px;color:var(--muted);font-size:10px;margin-top:5px}
.weight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.weight-card{border:1px solid var(--line);border-radius:10px;padding:15px;background:#fff}.weight-card h4{margin:0 0 2px;font-size:13px}.weight-card p{font-size:10px;color:var(--muted);margin:0 0 13px;min-height:30px}.range-head{display:flex;align-items:center;justify-content:space-between;font-weight:800}.range-head output{font-size:20px;color:var(--orange)}input[type=range]{width:100%;accent-color:var(--orange)}.weight-total{margin-top:11px;border-radius:8px;padding:9px 12px;background:var(--green-soft);color:var(--green);font-size:12px;font-weight:700;text-align:center}.weight-total.invalid{background:var(--red-soft);color:var(--red)}
.divider-title{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--muted);font-weight:800;margin:8px 0 0}.info-callout{background:#f8f6f3;border-left:3px solid var(--orange);padding:12px 14px;border-radius:0 8px 8px 0;font-size:12px;color:#514d49;margin:6px 0 10px}.form-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-top:1px solid var(--line);padding-top:22px;margin-top:14px}.form-footer .primary{justify-self:end}.form-footer span#questionCount{font-size:11px;color:var(--muted)}
.insight-panel{border-left:1px solid var(--line);padding:34px 24px;background:#fbfaf8}.insight-panel h2{font-family:Georgia,serif;font-size:23px;margin:6px 0 20px}.insight-empty{color:var(--muted);font-size:12px;border:1px dashed #cec8c1;border-radius:9px;padding:16px}.signal{border-bottom:1px solid var(--line);padding:0 0 13px;margin-bottom:13px}.signal:last-child{border-bottom:0}.signal small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}.signal strong{display:block;font-size:13px}.signal .mini-bars{display:flex;height:7px;border-radius:8px;overflow:hidden;margin-top:8px;background:#eee}.mini-bars span:nth-child(1){background:#202020}.mini-bars span:nth-child(2){background:#8d8d8d}.mini-bars span:nth-child(3){background:var(--orange)}.consultant-cue{margin-top:24px;background:var(--ink);color:#fff;border-radius:10px;padding:15px}.consultant-cue span{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:#ffad73;font-weight:800}.consultant-cue p{font-family:Georgia,serif;font-size:14px;line-height:1.45;margin:7px 0 0;color:#e7e7e7}
.report-header{border-bottom:3px solid var(--orange);padding-bottom:21px;margin-bottom:26px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.report-title small{display:block;color:var(--orange);font-weight:800;letter-spacing:.12em;font-size:10px;text-transform:uppercase}.report-title h1{font-family:Georgia,serif;font-size:34px;line-height:1.15;margin:5px 0}.report-title p{color:var(--muted);margin:0}.report-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.report-actions .button{font-size:12px;padding:9px 12px}.report-actions .secondary{white-space:nowrap}
.draft-banner{background:var(--amber-soft);color:#6e450d;border:1px solid #ead2a8;padding:12px 14px;border-radius:8px;font-size:12px;margin-bottom:22px}.report-section{margin:27px 0}.report-section h2{font-size:13px;text-transform:uppercase;letter-spacing:.1em;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:14px}.executive-quote{font-family:Georgia,serif;font-size:24px;line-height:1.4;border-left:4px solid var(--orange);padding-left:18px;margin:15px 0;color:#2d2a28}.three-p{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.p-card{background:var(--soft);padding:14px;border-radius:9px}.p-card span{display:block;font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.p-card strong{font-family:Georgia,serif;font-size:28px}.p-card:nth-child(3){background:var(--orange-soft)}
.diagnostic-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.diagnostic{border:1px solid var(--line);border-radius:9px;padding:12px;display:grid;grid-template-columns:9px 1fr auto;gap:10px;align-items:center}.diagnostic i{width:9px;height:9px;border-radius:50%}.diagnostic.red i{background:var(--red)}.diagnostic.amber i{background:#e59a27}.diagnostic.green i{background:var(--green)}.diagnostic small{display:block;color:var(--muted);font-size:10px}.diagnostic strong{font-size:13px}.diagnostic b{font-size:13px}
.priority-list{display:flex;flex-direction:column;gap:12px}.priority-card{border:1px solid var(--line);border-radius:10px;overflow:hidden}.priority-head{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;padding:14px}.priority-rank{width:35px;height:35px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-size:17px}.priority-head h3{margin:0;font-size:15px}.priority-head p{margin:2px 0 0;color:var(--muted);font-size:11px}.priority-level{font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;border-radius:999px;padding:5px 8px;background:var(--orange-soft);color:var(--orange-dark)}.priority-body{background:#faf9f7;border-top:1px solid var(--line);display:grid;grid-template-columns:1.2fr 1fr;gap:18px;padding:14px}.priority-body h4{font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 6px}.priority-body ul{padding-left:17px;margin:0;color:#4f4b47;font-size:11px}.priority-body li+li{margin-top:4px}
.plan-table{width:100%;border-collapse:collapse;font-size:11px}.plan-table th{text-align:left;background:var(--ink);color:#fff;padding:9px}.plan-table td{border:1px solid var(--line);padding:10px;vertical-align:top}.plan-table td:first-child{font-weight:800;color:var(--orange-dark);white-space:nowrap}.guardrails{display:flex;flex-wrap:wrap;gap:7px}.guardrail{background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:7px 10px;font-size:11px}.report-footer{border-top:1px solid var(--line);padding-top:15px;color:var(--muted);font-size:9px;margin-top:30px}
.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:10px 15px;border-radius:8px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:50}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1120px){.workspace{grid-template-columns:230px minmax(520px,1fr)}.insight-panel{display:none}}
@media(max-width:780px){.topbar{height:64px;padding:0 16px}.top-actions .save-state,.top-actions #resetButton{display:none}.brand-logo{width:138px;height:35px}.workspace{display:block;min-height:calc(100vh - 64px)}.sidebar{display:none}.assessment-shell{padding:22px 18px 36px}.mobile-progress{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:7px}.progress-track{margin-bottom:25px}.section-intro h2{font-size:29px}.time-pill{display:none}.field-row,.field-row.three,.weight-grid{grid-template-columns:1fr}.choices.three{grid-template-columns:1fr 1fr}.form-footer{grid-template-columns:1fr 1fr}.form-footer span#questionCount{display:none}.diagnostic-grid,.priority-body{grid-template-columns:1fr}.report-header{display:block}.report-actions{justify-content:flex-start;margin-top:14px}.three-p{grid-template-columns:repeat(3,1fr)}.report-title h1{font-size:29px}}
@media(max-width:480px){.top-actions #demoButton{font-size:11px;padding:7px 9px}.choices,.choices.three{grid-template-columns:1fr}.rating{grid-template-columns:repeat(5,1fr)}.three-p{grid-template-columns:1fr}.diagnostic-grid{grid-template-columns:1fr}.executive-quote{font-size:20px}.report-actions{display:grid;grid-template-columns:1fr 1fr}.report-actions .button:first-child{grid-column:1/-1}}
@media print{body{background:#fff}.topbar,.sidebar,.insight-panel,.progress-track,.mobile-progress,#formView,.toast{display:none!important}.workspace{display:block;box-shadow:none;max-width:none}.assessment-shell{padding:0}.report-actions,.draft-banner .screen-only{display:none!important}#reportView{display:block!important}.report-header{margin-top:0}.priority-card,.report-section{break-inside:avoid}.report-footer{font-size:8px}@page{size:A4;margin:14mm}}

/* Secure portal */
[hidden]{display:none!important}.wide{width:100%}.text-button{border:0;background:transparent;color:var(--orange-dark);font-weight:750;padding:5px;cursor:pointer}.light{color:#ffb27d}
.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(360px,.9fr) minmax(520px,1.1fr);background:#fff}.auth-brand{background:linear-gradient(145deg,#121212 0%,#24201d 68%,#3b2518 100%);color:#fff;padding:54px clamp(34px,7vw,100px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;width:430px;height:430px;border:1px solid rgba(255,106,0,.25);border-radius:50%;right:-220px;bottom:-120px;box-shadow:0 0 0 80px rgba(255,106,0,.05),0 0 0 160px rgba(255,106,0,.025)}.auth-brand img{width:210px;height:55px;object-fit:contain;object-position:left center;position:relative;z-index:1}.auth-brand h1{font-family:Georgia,serif;font-size:clamp(45px,5.2vw,76px);line-height:1.02;margin:13px 0 22px;letter-spacing:-.035em;position:relative;z-index:1}.auth-brand p{font-size:17px;line-height:1.65;color:#d1cbc7;max-width:520px;position:relative;z-index:1}.auth-brand blockquote{margin:0;border-left:3px solid var(--orange);padding:9px 0 9px 18px;font-family:Georgia,serif;font-size:19px;color:#f6e9df;position:relative;z-index:1}.auth-panel{display:grid;place-items:center;padding:40px;background:#f7f5f2}.auth-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:38px}.auth-card h2{font-family:Georgia,serif;font-size:36px;margin:7px 0 6px}.auth-card>p{color:var(--muted);margin:0 0 24px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:var(--soft);padding:4px;border-radius:10px;margin-bottom:22px}.auth-tabs button{border:0;background:transparent;padding:9px;border-radius:7px;font-weight:750;color:var(--muted)}.auth-tabs button.active{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.08)}.auth-card form{display:grid;gap:15px}.auth-card label,.portal-dialog label{display:grid;gap:6px;font-size:13px;font-weight:750}.auth-card input,.portal-dialog input{width:100%;border:1px solid #cbc6c0;border-radius:8px;padding:12px;min-height:46px;background:#fff}.auth-card .text-button{display:block;margin:13px auto 0}.auth-note{font-size:12px;text-align:center;margin-top:17px!important}.notice{margin-top:16px;border-radius:8px;padding:11px 12px;background:var(--soft);font-size:12px}.notice.error{background:var(--red-soft);color:var(--red)}.notice.success{background:var(--green-soft);color:var(--green)}
.portal-topbar{justify-content:flex-start;gap:22px}.mobile-menu{display:none;border:0;background:transparent;color:#fff;font-size:22px}.top-context{border-left:1px solid #404040;padding-left:20px;display:flex;flex-direction:column}.top-context span{color:#999;font-size:9px;text-transform:uppercase;letter-spacing:.11em}.top-context strong{font-size:13px}.portal-topbar .top-actions{margin-left:auto}.account-chip{display:flex;align-items:center;gap:9px;margin:0 5px}.account-chip>span{width:32px;height:32px;border-radius:50%;background:var(--orange);color:#fff;display:grid;place-items:center;font-weight:850}.account-chip div{display:flex;flex-direction:column}.account-chip strong{font-size:11px}.account-chip small{font-size:9px;color:#aaa}.portal-frame{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 72px)}.portal-sidebar{background:#22201e;color:#fff;padding:26px 15px;display:flex;flex-direction:column;position:sticky;top:72px;height:calc(100vh - 72px);z-index:12}.portal-sidebar nav{display:grid;gap:5px}.portal-nav{border:0;background:transparent;color:#bbb5b0;padding:11px 12px;border-radius:8px;text-align:left;font-weight:700;display:flex;gap:10px;align-items:center}.portal-nav span{color:#807b76;width:17px;text-align:center}.portal-nav:hover,.portal-nav.active{background:#35312e;color:#fff}.portal-nav.active span{color:var(--orange)}.sidebar-action{margin-top:22px}.secure-note{margin-top:auto;border-top:1px solid #3a3734;padding:18px 8px 0;display:flex;gap:9px}.secure-note>span{color:#66c08a;font-size:11px}.secure-note div{display:flex;flex-direction:column}.secure-note strong{font-size:10px}.secure-note small{font-size:9px;color:#918b86;line-height:1.4}.producer-mode .consultant-only{display:none!important}.portal-main{padding:38px clamp(22px,4vw,58px) 60px;min-width:0}.portal-view{max-width:1240px;margin:0 auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:28px}.page-head h1{font-family:Georgia,serif;font-size:38px;line-height:1.1;margin:5px 0 6px}.page-head p{margin:0;color:var(--muted);font-size:15px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:22px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;box-shadow:0 5px 16px rgba(30,25,20,.035)}.metric-card.feature{background:var(--ink);color:#fff;border-color:var(--ink)}.metric-card span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:800}.metric-card.feature span{color:#d4c8c0}.metric-card strong{display:block;font-family:Georgia,serif;font-size:36px;line-height:1;margin:12px 0 8px}.metric-card small{color:#8c8782;font-size:10px}.metric-card.feature small{color:#a9a29d}.panel-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,.8fr);gap:16px}.data-panel,.focus-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}.panel-title{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px}.panel-title h2,.focus-panel h2{font-size:18px;margin:4px 0}.data-list{display:grid}.data-row{display:grid;grid-template-columns:40px minmax(180px,1fr) auto 90px 40px 15px;align-items:center;gap:11px;border:0;border-top:1px solid var(--line);background:transparent;padding:13px 3px;text-align:left}.data-row:first-child{border-top:0}.data-row:hover{background:#fbfaf8}.row-mark,.client-card-head>span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--orange-soft);color:var(--orange-dark);font-weight:850}.data-row strong{display:block;font-size:13px}.data-row small{display:block;color:var(--muted);font-size:10px}.data-row em{font-style:normal;color:#999}.row-progress{height:5px;background:#eeeae6;border-radius:5px;overflow:hidden}.row-progress i{display:block;height:100%;background:var(--orange)}.data-row b{font-size:11px}.status-pill{border-radius:999px;padding:4px 8px;font-size:9px;text-transform:uppercase;letter-spacing:.06em;font-weight:850;background:var(--soft);color:#777}.status-pill.submitted{background:var(--amber-soft);color:var(--amber)}.status-pill.complete,.status-pill.active{background:var(--green-soft);color:var(--green)}.status-pill.reviewed{background:var(--orange-soft);color:var(--orange-dark)}.focus-panel{background:#24211f;color:#fff;padding:24px}.focus-panel h2{font-family:Georgia,serif;font-size:25px}.focus-panel p{color:#c8c1bc;font-size:12px}.three-bars{display:grid;gap:10px;margin-top:22px}.three-bars i{font-style:normal;font-size:10px;color:#ddd;display:grid;grid-template-columns:100px 1fr;gap:8px;align-items:center}.three-bars i:after{content:"";height:7px;border-radius:7px;background:linear-gradient(90deg,var(--orange) var(--v),#49433f var(--v))}.empty-state{text-align:center;padding:46px 20px;color:var(--muted)}.empty-state strong{display:block;color:var(--ink);font-family:Georgia,serif;font-size:20px}.empty-state p{margin:6px 0}.client-grid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:14px}.client-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px}.client-card-head{display:flex;align-items:center;justify-content:space-between}.client-card h2{font-family:Georgia,serif;font-size:23px;margin:13px 0 2px}.client-card>p{color:var(--muted);margin:0 0 17px;font-size:12px}.client-card dl{border-top:1px solid var(--line);padding-top:12px;margin:0 0 16px}.client-card dl div{display:flex;justify-content:space-between;gap:10px;padding:4px 0}.client-card dt{font-size:10px;color:var(--muted)}.client-card dd{font-size:10px;margin:0;text-align:right;font-weight:700}.assessment-portal{max-width:none}.assessment-toolbar{display:flex;justify-content:space-between;align-items:center;max-width:1440px;margin:0 auto 14px}.assessment-tools{display:flex;gap:7px}.assessment-portal .workspace{min-height:auto;border:1px solid var(--line);border-radius:13px;overflow:hidden}.portal-dialog{border:0;border-radius:15px;padding:0;width:min(520px,calc(100vw - 30px));box-shadow:0 25px 90px rgba(0,0,0,.25)}.portal-dialog::backdrop{background:rgba(10,8,6,.58)}.portal-dialog form{padding:25px;display:grid;gap:14px}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start}.dialog-head h2{font-family:Georgia,serif;margin:4px 0;font-size:28px}.dialog-close{border:0;background:var(--soft);border-radius:50%;width:32px;height:32px;font-size:21px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.form-hint{font-size:11px;color:var(--muted);margin:-5px 0 0}
@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.panel-grid{grid-template-columns:1fr}.client-grid{grid-template-columns:repeat(2,1fr)}.assessment-portal .workspace{grid-template-columns:220px minmax(520px,1fr)}.assessment-portal .insight-panel{display:none}}
@media(max-width:760px){.auth-page{grid-template-columns:1fr}.auth-brand{min-height:250px;padding:28px 25px}.auth-brand img{width:170px}.auth-brand h1{font-size:39px;margin:35px 0 10px}.auth-brand p{font-size:14px}.auth-brand blockquote{display:none}.auth-panel{padding:20px}.auth-card{padding:25px}.portal-topbar{height:64px;padding:0 14px;gap:10px}.mobile-menu{display:block}.top-context,.account-chip div,.portal-topbar .save-state{display:none}.portal-topbar .brand-logo{width:125px}.portal-frame{display:block}.portal-sidebar{position:fixed;left:0;top:64px;width:230px;height:calc(100vh - 64px);transform:translateX(-105%);transition:.2s;box-shadow:15px 0 40px rgba(0,0,0,.2)}.portal-sidebar.open{transform:translateX(0)}.portal-main{padding:25px 16px 45px}.page-head{display:block}.page-head .button{margin-top:15px}.page-head h1{font-size:31px}.metric-grid{grid-template-columns:1fr 1fr}.client-grid{grid-template-columns:1fr}.data-row{grid-template-columns:36px 1fr auto 15px}.data-row .row-progress,.data-row>b{display:none}.status-pill{grid-column:3}.assessment-toolbar{margin-bottom:10px}.assessment-portal .workspace{display:block;border-radius:9px}.assessment-portal .sidebar{display:none}.assessment-portal .assessment-shell{padding:22px 17px}.assessment-tools #demoButton{display:none}}
@media(max-width:470px){.metric-grid{grid-template-columns:1fr}.auth-card h2{font-size:31px}.portal-topbar .button{padding:7px 8px}.data-row{grid-template-columns:34px 1fr 14px}.data-row .status-pill{display:none}}
