/* Website Discovery Questionnaire & Client Portal */
.discovery-page,.client-portal-page,.admin-portal-page{min-height:100vh;background:#090b0f;color:#f8f4ef;font-family:Manrope,system-ui,sans-serif}
.discovery-page h1,.discovery-page h2,.client-portal-page h1,.client-portal-page h2,.admin-portal-page h1,.admin-portal-page h2{font-family:Sora,Manrope,sans-serif;letter-spacing:-.045em;line-height:1.06}
.portal-kicker{display:inline-flex;align-items:center;gap:9px;color:#ff8b4d;font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.portal-kicker:before{content:"";width:28px;height:1px;background:#ff6b21}
.service-request-band{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-top:24px;padding:26px 28px;border:1px solid rgba(255,116,48,.25);border-radius:24px;background:linear-gradient(135deg,rgba(255,92,0,.1),rgba(255,255,255,.025))}
.service-request-band h3{font-family:Sora,Manrope,sans-serif;font-size:clamp(21px,3vw,30px);margin:9px 0 5px}
.service-request-band p{color:#9298a2;font-size:13px}
.service-request-band .btn{flex:none}
.discovery-landing{min-height:calc(100vh - 72px);padding:clamp(86px,12vw,145px) 0 76px;background:radial-gradient(circle at 76% 14%,rgba(255,92,0,.16),transparent 30%),radial-gradient(circle at 8% 92%,rgba(255,181,107,.06),transparent 26%),linear-gradient(180deg,#0b0d12,#07090d)}
.discovery-landing-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(350px,.72fr);gap:clamp(36px,7vw,90px);align-items:center}
.discovery-intro h1,.portal-access-copy h1,.admin-login h1{font-size:clamp(48px,7vw,92px);max-width:850px;margin:20px 0 22px}
.discovery-intro h1{background:linear-gradient(135deg,#fff 35%,#ffad7d 105%);-webkit-background-clip:text;background-clip:text;color:transparent}
.discovery-lead,.portal-access-copy>p,.admin-login>div>p{max-width:720px;color:#b7b9c0;font-size:clamp(17px,2vw,20px);line-height:1.75}
.discovery-actions{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 38px}
.discovery-actions .btn{min-height:49px}
.discovery-assurance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.1);padding-top:26px;max-width:720px}
.discovery-assurance span{display:grid;gap:3px;padding-right:18px}
.discovery-assurance span+span{border-left:1px solid rgba(255,255,255,.1);padding-left:20px}
.discovery-assurance b{font-size:14px;color:#f8f4ef}
.discovery-assurance small{color:#777d88;font-size:11px}
.discovery-welcome-card{position:relative;overflow:hidden;padding:34px;border:1px solid rgba(255,116,48,.24);border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));box-shadow:0 35px 100px rgba(0,0,0,.34)}
.discovery-welcome-card:before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-100px;top:-100px;background:rgba(255,92,0,.13);filter:blur(8px)}
.discovery-welcome-card img{width:60px;margin-bottom:28px;position:relative}
.discovery-welcome-card>span{font-size:11px;color:#ff9b67;text-transform:uppercase;letter-spacing:.14em;font-weight:800}
.discovery-welcome-card h2{font-size:clamp(26px,3vw,38px);margin:12px 0 18px}
.discovery-welcome-card p{color:#aeb2ba;line-height:1.7}
.discovery-welcome-card ul{border-top:1px solid rgba(255,255,255,.08);padding-top:20px;margin:24px 0}
.discovery-welcome-card li{color:#d4d5d8;font-size:13px}
.discovery-welcome-card>a{color:#ff9b67;font-size:13px;font-weight:800}

.discovery-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:42px;padding-top:112px;padding-bottom:80px;align-items:start}
.discovery-progress-card{position:sticky;top:98px;padding:22px;border-radius:24px;background:#12151b;border:1px solid rgba(255,255,255,.09);box-shadow:0 18px 55px rgba(0,0,0,.22)}
.discovery-mini-brand{display:flex;align-items:center;gap:10px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.08)}
.discovery-mini-brand img{width:40px}
.discovery-mini-brand span{display:grid}
.discovery-mini-brand b{font-size:14px}
.discovery-mini-brand small{font-size:10px;color:#7d838d;text-transform:uppercase;letter-spacing:.12em}
.discovery-progress-meta{display:flex;justify-content:space-between;align-items:center;margin:25px 0 10px;font-size:12px;color:#aeb2ba}
.discovery-progress-meta b{color:#ff8c52}
.discovery-progress-track{height:6px;background:rgba(255,255,255,.08);border-radius:99px;overflow:hidden}
.discovery-progress-track span{display:block;height:100%;width:9%;background:linear-gradient(90deg,#ff5c00,#ffa363);border-radius:inherit;transition:width .25s ease}
.discovery-progress-card>p{font-size:11px;color:#757b85;margin:9px 0 24px}
.discovery-stage-list{display:grid;gap:0}
.discovery-stage-list>span{position:relative;display:grid;grid-template-columns:30px 1fr;column-gap:10px;padding-bottom:23px;color:#6f7580;font-size:11px}
.discovery-stage-list>span:before{content:"";position:absolute;left:14px;top:28px;bottom:0;width:1px;background:rgba(255,255,255,.1)}
.discovery-stage-list>span:last-child:before{display:none}
.discovery-stage-list>span{counter-increment:stages}
.discovery-stage-list>span:first-letter{display:grid}
.discovery-stage-list>span b,.discovery-stage-list>span small{grid-column:2}
.discovery-stage-list>span b{color:#b9bdc4;font-size:12px}
.discovery-stage-list>span small{font-size:10px}
.discovery-stage-list>span.active{color:#ff8c52}
.discovery-stage-list>span.active b{color:#fff}
.discovery-security{display:flex;gap:10px;padding:14px;border-radius:16px;background:rgba(45,192,116,.07);border:1px solid rgba(45,192,116,.17)}
.discovery-security>span{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2dc074;color:#07140e;font-weight:900}
.discovery-security p{display:grid}
.discovery-security b{font-size:11px}
.discovery-security small{color:#7b9285;font-size:9px;line-height:1.45}
.discovery-workspace{min-width:0}
.discovery-mobile-progress{display:none}
.discovery-save-row{display:flex;justify-content:flex-end;align-items:center;gap:18px;min-height:36px;margin-bottom:12px}
.discovery-save-row span{font-size:12px;color:#8b919a}
.discovery-save-row span:before{content:"●";color:#ff8b4d;margin-right:7px}
.discovery-save-row span[data-tone="success"]:before{color:#39c984}
.discovery-save-row span[data-tone="warning"]{color:#ffc27e}
.discovery-save-row button,.portal-link-button{appearance:none;border:0;background:none;color:#ff9b67;font:inherit;font-size:12px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.discovery-reference-notice{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:20px;margin:0 0 18px;padding:16px 18px;border:1px solid rgba(255,139,77,.28);border-radius:18px;background:linear-gradient(135deg,rgba(255,116,48,.1),rgba(255,255,255,.025));box-shadow:0 14px 38px rgba(0,0,0,.12)}
.discovery-reference-notice[hidden]{display:none}
.discovery-reference-notice>div{display:grid;gap:4px}
.discovery-reference-notice span{color:#ff9b67;font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.discovery-reference-notice strong{color:#fff;font-family:Sora,sans-serif;font-size:18px;letter-spacing:.04em}
.discovery-reference-notice p{margin:0;color:#aeb2ba;font-size:12px;line-height:1.55}
.discovery-reference-notice button{appearance:none;border:1px solid rgba(255,139,77,.35);border-radius:999px;background:rgba(255,116,48,.1);color:#ffb18b;padding:10px 14px;font:inherit;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer;transition:.2s}
.discovery-reference-notice button:hover,.discovery-reference-notice button:focus-visible{border-color:#ff7430;background:rgba(255,116,48,.18);color:#fff;outline:none}
.discovery-form,.discovery-review{padding:clamp(24px,4vw,48px);border-radius:30px;border:1px solid rgba(255,255,255,.09);background:linear-gradient(145deg,#12151b,#0f1217);box-shadow:0 30px 90px rgba(0,0,0,.22)}
.discovery-step-heading>span{display:block;color:#ff8b4d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.16em}
.discovery-step-heading h2{font-size:clamp(30px,4vw,48px);margin:10px 0 12px}
.discovery-step-heading p{max-width:680px;color:#989da6;font-size:14px;line-height:1.65}
.discovery-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;margin-top:34px}
.discovery-field{min-width:0}
.discovery-field:has(.discovery-options),.discovery-field:has(.content-availability),.discovery-field:has(textarea),.consent-field{grid-column:1/-1}
.discovery-label{display:block;margin-bottom:9px;color:#d7d9de;font-size:13px;font-weight:700}
.discovery-label small{float:right;color:#666c77;font-size:9px;text-transform:uppercase;letter-spacing:.1em}
.discovery-label>span>span{color:#ff8c52}
.discovery-field input,.discovery-field select,.discovery-field textarea,.discovery-files-card input,.discovery-files-card select,.portal-login-card input,.portal-message-form textarea,.admin-search input,.admin-submissions select{width:100%;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:#0a0d11;color:#f6f2ed;padding:13px 14px;font:inherit;font-size:14px;outline:none;transition:.2s}
.discovery-field textarea{resize:vertical;min-height:104px}
.discovery-field input:focus,.discovery-field select:focus,.discovery-field textarea:focus,.portal-login-card input:focus,.portal-message-form textarea:focus,.admin-search input:focus{border-color:#ff7430;box-shadow:0 0 0 3px rgba(255,116,48,.12)}
.discovery-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.discovery-options.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.discovery-choice{position:relative;display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.025);cursor:pointer;transition:.2s}
.discovery-choice:hover{border-color:rgba(255,116,48,.35);background:rgba(255,116,48,.04)}
.discovery-choice:has(input:checked){border-color:#ff7430;background:rgba(255,116,48,.09);box-shadow:inset 0 0 0 1px rgba(255,116,48,.2)}
.discovery-choice input{appearance:none;flex:none;width:18px;height:18px;padding:0;border-radius:5px;margin-top:1px}
.discovery-choice input[type="radio"]{border-radius:50%}
.discovery-choice input:checked{background:#ff7430;border-color:#ff7430;box-shadow:inset 0 0 0 4px #0a0d11}
.discovery-choice span{display:grid;gap:3px}
.discovery-choice b{font-size:12px;color:#e4e5e8}
.discovery-choice small{font-size:10px;color:#777e88;line-height:1.45}
.content-availability{display:grid;gap:9px}
.content-availability label{display:grid;grid-template-columns:minmax(160px,1fr) minmax(190px,.7fr);gap:20px;align-items:center;padding:10px 13px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);font-size:12px}
.content-availability select{padding:9px 10px}
.discovery-consent{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025);border-radius:15px;cursor:pointer}
.discovery-consent input{width:20px;height:20px;flex:none;margin-top:1px}
.discovery-consent span{color:#d4d6da;font-size:13px;line-height:1.5}
.discovery-error{color:#ff9690;font-size:11px;margin-top:7px}
.discovery-navigation{display:flex;justify-content:space-between;gap:12px;margin-top:38px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08)}
.discovery-navigation .btn{min-width:130px}

.discovery-review>div+div{margin-top:24px}
.discovery-review details{padding:0;border-color:rgba(255,255,255,.09);background:rgba(255,255,255,.02);box-shadow:none;overflow:hidden}
.discovery-review summary{padding:16px 18px;font-size:14px}
.discovery-review summary:after{display:none}
.discovery-review summary button{margin-left:auto;border:0;background:none;color:#ff9861;font-weight:800;cursor:pointer}
.discovery-review dl{padding:0 18px 18px;display:grid;gap:10px}
.discovery-review dl>div{display:grid;grid-template-columns:minmax(140px,.45fr) 1fr;gap:18px;padding-top:10px;border-top:1px solid rgba(255,255,255,.07)}
.discovery-review dt{font-size:11px;color:#767c86}
.discovery-review dd{font-size:12px;color:#d7d9dd;white-space:pre-line}
.discovery-review dd.skipped{color:#686e78;font-style:italic}
.discovery-files-card{margin-top:30px;padding:22px;border-radius:22px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025)}
.discovery-files-card h3{font-size:18px}
.discovery-files-card>div>p{font-size:11px;color:#818792;margin-top:4px}
.discovery-files-card form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin:20px 0}
.discovery-files-card label{display:grid;gap:7px;font-size:10px;color:#9298a2;text-transform:uppercase;letter-spacing:.08em}
.discovery-files-card ul,.portal-file-list{display:grid;gap:8px}
.discovery-files-card li,.portal-file-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;border-radius:13px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07)}
.discovery-files-card li:before,.portal-file-list li:before{display:none}
.discovery-files-card li span,.portal-file-list li span{display:grid}
.discovery-files-card li b,.portal-file-list li b{font-size:12px}
.discovery-files-card li small,.portal-file-list li small{color:#777e89;font-size:10px}
.discovery-files-card li button,.portal-file-list li button{border:0;background:none;color:#ff9962;font-weight:800;font-size:11px;cursor:pointer}
.discovery-files-card li.empty{color:#747a84;font-size:12px}
.discovery-review-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:28px}
.discovery-confirmation{text-align:center;max-width:760px;margin:80px auto;padding:50px;border:1px solid rgba(58,205,134,.25);border-radius:32px;background:radial-gradient(circle at top,rgba(58,205,134,.09),transparent 40%),#11151a}
.confirmation-mark{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;margin:0 auto 24px;background:#39c984;color:#06130d;font-size:32px;font-weight:900;box-shadow:0 14px 44px rgba(57,201,132,.22)}
.discovery-confirmation h2{font-size:clamp(30px,4vw,48px);margin:15px auto;max-width:620px}
.discovery-confirmation p{color:#969ca5;margin:12px auto;max-width:580px}
.discovery-confirmation>strong{display:block;margin:22px auto;padding:16px;border-radius:14px;background:#090c10;border:1px dashed rgba(255,116,48,.45);color:#ff9a64;font-size:clamp(19px,3vw,28px);letter-spacing:.08em}
.discovery-confirmation>div{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:28px}

.portal-access{min-height:calc(100vh - 72px);display:grid;grid-template-columns:1fr 420px;gap:70px;align-items:center;padding-top:130px;padding-bottom:70px}
.portal-access{background:radial-gradient(circle at 75% 24%,rgba(255,92,0,.11),transparent 29%)}
.portal-feature-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:34px}
.portal-feature-list span{display:grid;padding:15px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.025)}
.portal-feature-list b{font-size:12px}
.portal-feature-list small{color:#737a84;font-size:10px;margin-top:4px}
.portal-login-card{display:grid;gap:15px;padding:32px;border-radius:28px;background:#12151b;border:1px solid rgba(255,116,48,.23);box-shadow:0 35px 90px rgba(0,0,0,.3)}
.portal-login-card>img{width:55px}
.portal-login-card h2{font-size:26px;margin-top:5px}
.portal-login-card>p{color:#8d939c;font-size:13px;line-height:1.65}
.portal-login-card form{display:grid;gap:13px}
.portal-login-card label,.portal-message-form label,.admin-search{display:grid;gap:7px;color:#afb3ba;font-size:11px;font-weight:700}
.portal-login-card>a{color:#ff9962;font-size:11px;font-weight:800;margin-top:6px}
.portal-login-card [role="status"]{font-size:11px;color:#9197a0;min-height:18px}
.portal-login-card [role="status"][data-tone="warning"]{color:#ffc27e}

.portal-dashboard,.admin-dashboard{padding-top:116px;padding-bottom:80px}
.portal-dashboard-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:34px}
.portal-dashboard-head h1{font-size:clamp(36px,5vw,64px);margin:9px 0}
.portal-dashboard-head p{color:#848a94;font-size:12px}
.portal-summary-grid,.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.portal-summary-grid article,.admin-stats article{min-height:128px;display:flex;flex-direction:column;justify-content:space-between;padding:20px;border:1px solid rgba(255,255,255,.09);border-radius:20px;background:linear-gradient(145deg,#14171d,#101319)}
.portal-summary-grid article>span,.admin-stats article>span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#777e88}
.portal-summary-grid strong,.admin-stats strong{font-size:22px;text-transform:capitalize}
.portal-summary-grid small{color:#858b95;font-size:11px}
.portal-progress-summary>div{height:5px;background:rgba(255,255,255,.08);border-radius:99px}
.portal-progress-summary i{display:block;width:0;height:100%;background:linear-gradient(90deg,#ff5c00,#ffa361);border-radius:inherit}
.portal-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.portal-panel{padding:22px;border:1px solid rgba(255,255,255,.09);border-radius:22px;background:#11141a;min-width:0}
.portal-wide{grid-column:1/-1}
.portal-panel-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px}
.portal-panel-head span{font-size:9px;color:#ff8d55;text-transform:uppercase;letter-spacing:.14em;font-weight:800}
.portal-panel-head h2{font-size:21px;margin-top:5px}
.portal-milestones{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;counter-reset:milestone}
.portal-milestones li{position:relative;display:flex;gap:10px;padding:15px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02);border-radius:15px}
.portal-milestones li:before{display:none}
.portal-milestones li>span{width:11px;height:11px;border-radius:50%;margin-top:4px;background:#3d434d;box-shadow:0 0 0 4px rgba(61,67,77,.15)}
.portal-milestones li[data-status="completed"]>span{background:#3acb86}
.portal-milestones li[data-status="in_progress"]>span,.portal-milestones li[data-status="awaiting_client"]>span{background:#ff7a38}
.portal-milestones b{font-size:12px}
.portal-milestones p{font-size:10px;color:#7f858e;margin-top:3px}
.portal-document{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.025)}
.portal-document+.portal-document{margin-top:8px}
.portal-document span{color:#ff915b;font-size:9px;text-transform:uppercase;letter-spacing:.1em}
.portal-document h3{font-size:15px;margin:4px 0}
.portal-document p{font-size:10px;color:#818791;text-transform:capitalize}
.portal-document button,.portal-actions button{border:0;border-radius:99px;background:#ff7130;color:#170a04;font-size:10px;font-weight:900;padding:9px 12px;cursor:pointer}
.portal-actions{display:flex;align-items:center;gap:10px}
.portal-actions a{color:#ff9b67;font-size:10px;font-weight:800}
.portal-empty{grid-column:1/-1;text-align:center;padding:26px;border:1px dashed rgba(255,255,255,.09);border-radius:16px}
.portal-empty>span{color:#ff8b52;font-size:22px}
.portal-empty h3{font-size:14px;margin:6px 0}
.portal-empty p{color:#747b85;font-size:10px}
.portal-messages{max-height:400px;overflow:auto;display:grid;gap:10px;padding-right:4px}
.portal-messages article{max-width:78%;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07)}
.portal-messages article.client{justify-self:end;background:rgba(255,116,48,.1);border-color:rgba(255,116,48,.22)}
.portal-messages article b{font-size:9px;color:#ff9861}
.portal-messages article p{font-size:12px;margin:4px 0;white-space:pre-wrap}
.portal-messages article time{font-size:8px;color:#6c727c}
.portal-message-form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin-top:18px;padding-top:18px;border-top:1px solid rgba(255,255,255,.08)}
.portal-message-form label{grid-column:1/-1}
.portal-message-form textarea{resize:vertical}
.portal-message-form .btn{height:48px}

.admin-login{min-height:calc(100vh - 72px);display:grid;grid-template-columns:1fr 390px;gap:70px;align-items:center;padding-top:120px;padding-bottom:70px}
.admin-login .portal-login-card{margin:0}
.admin-stats{grid-template-columns:repeat(4,1fr)}
.admin-stats article{min-height:105px}
.admin-stats strong{font-size:28px;color:#ff9861}
.admin-search{display:flex;align-items:center;flex-direction:row}
.admin-search input{width:260px}
.admin-table-wrap{overflow:auto}
.admin-submissions table{width:100%;border-collapse:collapse;min-width:820px}
.admin-submissions th,.admin-submissions td{text-align:left;padding:13px 10px;border-top:1px solid rgba(255,255,255,.07);font-size:11px}
.admin-submissions th{color:#7d838d;text-transform:uppercase;letter-spacing:.08em;font-size:8px}
.admin-submissions td b,.admin-submissions td small{display:block}
.admin-submissions td small{color:#777d87;margin-top:3px}
.admin-submissions select{padding:8px 9px;min-width:170px}
.portal-status{display:inline-block;padding:5px 8px;border-radius:99px;background:rgba(255,116,48,.1);border:1px solid rgba(255,116,48,.2);color:#ff9d6b;text-transform:capitalize}
.admin-row-actions{display:flex;align-items:center;gap:8px}
.admin-row-actions button{border:0;border-radius:99px;background:#ff7130;color:#170a04;padding:8px 10px;font-size:10px;font-weight:900;cursor:pointer}
.admin-detail{margin-top:18px;border:1px solid rgba(255,116,48,.22);border-radius:26px;background:#0f1217;box-shadow:0 35px 100px rgba(0,0,0,.34);overflow:hidden}
.admin-detail>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 26px;border-bottom:1px solid rgba(255,255,255,.08)}
.admin-detail>header h2{font-size:26px;margin:8px 0 4px}
.admin-detail>header p{color:#7e858f;font-size:11px;text-transform:capitalize}
.admin-detail>header>button{border:0;background:none;color:#fff;font-size:30px;cursor:pointer}
.admin-detail-tabs{display:flex;gap:5px;padding:10px 16px;border-bottom:1px solid rgba(255,255,255,.08);overflow:auto}
.admin-detail-tabs button{white-space:nowrap;border:1px solid transparent;border-radius:99px;background:none;color:#858b95;padding:8px 11px;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.admin-detail-tabs button.active{background:rgba(255,116,48,.11);border-color:rgba(255,116,48,.22);color:#ff9b67}
.admin-detail-body{padding:26px}
.admin-detail-body h3{font-family:Sora,Manrope,sans-serif;font-size:15px;margin:22px 0 12px}
.admin-brief-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.admin-brief-list>div{padding:13px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(255,255,255,.02)}
.admin-brief-list dt{color:#777e88;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.admin-brief-list dd{margin-top:5px;color:#d7d9dd;font-size:12px;white-space:pre-wrap}
.admin-operation-form,.admin-assessment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.02);margin-bottom:14px}
.admin-operation-form h3{grid-column:1/-1;margin:0 0 4px}
.admin-operation-form label,.admin-assessment-form label{display:grid;gap:6px;color:#858c96;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.admin-operation-form input,.admin-operation-form select,.admin-operation-form textarea,.admin-assessment-form textarea{width:100%;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#090c10;color:#f7f2ed;padding:11px;font:inherit;font-size:12px;resize:vertical}
.admin-operation-form label:has(textarea),.admin-assessment-form label{grid-column:1/-1}
.admin-operation-form .btn,.admin-assessment-form .btn{justify-self:start}
.admin-operation-form .admin-check{display:flex;align-items:center;flex-direction:row;grid-column:1/-1}
.admin-operation-form .admin-check input{width:18px;height:18px}
.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.admin-form-grid .admin-operation-form{margin:0}
.admin-form-grid .admin-operation-form:last-child{grid-column:1/-1}
.admin-record-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.admin-record-grid section{padding:14px;border-radius:15px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02)}
.admin-record-grid h3{margin:0 0 10px}
.admin-record-grid p{display:grid;gap:2px;font-size:10px;color:#747b85}
.admin-record-grid p+p{margin-top:8px}
.admin-record-grid p b{color:#d8dade}
.admin-note{padding:13px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07)}
.admin-note+.admin-note{margin-top:8px}
.admin-note p{font-size:12px;white-space:pre-wrap}
.admin-note time{font-size:8px;color:#747b85}
.admin-operation-status{position:sticky;bottom:0;padding:12px 26px;background:#15191f;border-top:1px solid rgba(255,255,255,.08);color:#8c939c;font-size:11px}
.admin-operation-status[data-tone="success"]{color:#65dba0}
.admin-operation-status[data-tone="warning"]{color:#ffc27e}

html[data-theme="light"] .discovery-page,html[data-theme="light"] .client-portal-page,html[data-theme="light"] .admin-portal-page{background:#f5f2ec;color:#17191e}
html[data-theme="light"] .service-request-band{background:linear-gradient(135deg,#fff3ea,#fff);border-color:#edb899}
html[data-theme="light"] .service-request-band p{color:#666b73}
html[data-theme="light"] .discovery-landing{background:radial-gradient(circle at 76% 14%,rgba(255,92,0,.12),transparent 30%),linear-gradient(180deg,#faf8f4,#f1ede6)}
html[data-theme="light"] .discovery-intro h1{background:linear-gradient(135deg,#16191e 35%,#a34516 105%);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-theme="light"] .discovery-lead,html[data-theme="light"] .portal-access-copy>p,html[data-theme="light"] .admin-login>div>p{color:#60656d}
html[data-theme="light"] .discovery-assurance{border-color:#d8d3ca}
html[data-theme="light"] .discovery-assurance span+span{border-color:#d8d3ca}
html[data-theme="light"] .discovery-assurance b{color:#24272d}
html[data-theme="light"] .discovery-assurance small{color:#73777e}
html[data-theme="light"] .discovery-welcome-card,html[data-theme="light"] .discovery-form,html[data-theme="light"] .discovery-review,html[data-theme="light"] .portal-login-card,html[data-theme="light"] .portal-panel,html[data-theme="light"] .portal-summary-grid article,html[data-theme="light"] .admin-stats article{background:#fff;border-color:#ddd7ce;box-shadow:0 24px 70px rgba(48,40,31,.08)}
html[data-theme="light"] .discovery-welcome-card p,html[data-theme="light"] .discovery-step-heading p,html[data-theme="light"] .portal-login-card>p{color:#666b73}
html[data-theme="light"] .discovery-welcome-card li{color:#555a62}
html[data-theme="light"] .discovery-progress-card{background:#fff;border-color:#ddd7ce;box-shadow:0 18px 55px rgba(48,40,31,.08)}
html[data-theme="light"] .discovery-mini-brand{border-color:#e3ded6}
html[data-theme="light"] .discovery-stage-list>span:before{background:#ddd8d0}
html[data-theme="light"] .discovery-stage-list>span b{color:#555a61}
html[data-theme="light"] .discovery-stage-list>span.active b{color:#17191e}
html[data-theme="light"] .discovery-reference-notice{background:#fff8f2;border-color:#efc9b4;box-shadow:0 14px 38px rgba(66,43,27,.07)}
html[data-theme="light"] .discovery-reference-notice strong{color:#24272d}
html[data-theme="light"] .discovery-reference-notice p{color:#666b73}
html[data-theme="light"] .discovery-reference-notice button{background:#fff1e8;color:#a94c1f;border-color:#e7b99f}
html[data-theme="light"] .discovery-field input,html[data-theme="light"] .discovery-field select,html[data-theme="light"] .discovery-field textarea,html[data-theme="light"] .discovery-files-card input,html[data-theme="light"] .discovery-files-card select,html[data-theme="light"] .portal-login-card input,html[data-theme="light"] .portal-message-form textarea,html[data-theme="light"] .admin-search input,html[data-theme="light"] .admin-submissions select{background:#fff;color:#202329;border-color:#d8d2ca}
html[data-theme="light"] .discovery-label{color:#3e4249}
html[data-theme="light"] .discovery-choice,html[data-theme="light"] .content-availability label,html[data-theme="light"] .discovery-consent,html[data-theme="light"] .discovery-files-card,html[data-theme="light"] .portal-document,html[data-theme="light"] .portal-milestones li,html[data-theme="light"] .portal-file-list li{background:#faf8f4;border-color:#ddd8cf}
html[data-theme="light"] .discovery-choice:has(input:checked){background:#fff1e8;border-color:#e36b2d}
html[data-theme="light"] .discovery-choice input:checked{box-shadow:inset 0 0 0 4px #fff}
html[data-theme="light"] .discovery-choice b,html[data-theme="light"] .discovery-consent span{color:#373b42}
html[data-theme="light"] .discovery-navigation,html[data-theme="light"] .portal-message-form{border-color:#ddd8cf}
html[data-theme="light"] .discovery-review details{background:#faf8f4;border-color:#ddd8cf}
html[data-theme="light"] .discovery-review dl>div{border-color:#e2ddd5}
html[data-theme="light"] .discovery-review dd{color:#40444b}
html[data-theme="light"] .discovery-confirmation{background:#fff;border-color:#afe0c8}
html[data-theme="light"] .discovery-confirmation>strong{background:#faf7f2;border-color:#df8b60}
html[data-theme="light"] .portal-access{background:radial-gradient(circle at 75% 24%,rgba(255,92,0,.1),transparent 29%)}
html[data-theme="light"] .portal-feature-list span{background:#fff;border-color:#ddd8cf}
html[data-theme="light"] .portal-summary-grid small,html[data-theme="light"] .portal-document p,html[data-theme="light"] .portal-milestones p{color:#6f747c}
html[data-theme="light"] .portal-empty{border-color:#d8d2ca}
html[data-theme="light"] .portal-messages article{background:#f1eee8;border-color:#ddd8cf}
html[data-theme="light"] .portal-messages article.client{background:#fff1e8;border-color:#edb393}
html[data-theme="light"] .admin-submissions th,html[data-theme="light"] .admin-submissions td{border-color:#e1dcd4}
html[data-theme="light"] .admin-detail{background:#fff;border-color:#edb899;box-shadow:0 30px 80px rgba(48,40,31,.12)}
html[data-theme="light"] .admin-detail>header,html[data-theme="light"] .admin-detail-tabs,html[data-theme="light"] .admin-operation-status{border-color:#e1dcd4}
html[data-theme="light"] .admin-detail>header>button{color:#202329}
html[data-theme="light"] .admin-brief-list>div,html[data-theme="light"] .admin-operation-form,html[data-theme="light"] .admin-assessment-form,html[data-theme="light"] .admin-record-grid section,html[data-theme="light"] .admin-note{background:#faf8f4;border-color:#ddd8cf}
html[data-theme="light"] .admin-brief-list dd{color:#3e4249}
html[data-theme="light"] .admin-operation-form input,html[data-theme="light"] .admin-operation-form select,html[data-theme="light"] .admin-operation-form textarea,html[data-theme="light"] .admin-assessment-form textarea{background:#fff;color:#202329;border-color:#d8d2ca}
html[data-theme="light"] .admin-operation-status{background:#f5f1ea}

@media(max-width:1060px){
  .discovery-landing-grid,.portal-access,.admin-login{grid-template-columns:1fr;gap:40px}
  .discovery-welcome-card,.portal-login-card{max-width:680px}
  .discovery-shell{grid-template-columns:230px minmax(0,1fr);gap:22px}
  .portal-milestones{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:800px){
  .discovery-shell{display:block;padding-top:92px}
  .discovery-progress-card{display:none}
  .discovery-mobile-progress{display:block;margin-bottom:14px}
  .discovery-mobile-progress>div:first-child{display:flex;justify-content:space-between;font-size:11px;color:#828893;margin-bottom:8px}
  .discovery-save-row{justify-content:space-between}
  .discovery-reference-notice{grid-template-columns:1fr auto}
  .discovery-reference-notice p{grid-column:1/-1;grid-row:2}
  .portal-dashboard-head{align-items:flex-start;flex-direction:column}
  .portal-summary-grid,.admin-stats{grid-template-columns:repeat(2,1fr)}
  .portal-dashboard-grid{grid-template-columns:1fr}
  .portal-wide{grid-column:1}
  .admin-form-grid,.admin-record-grid{grid-template-columns:1fr}
  .admin-form-grid .admin-operation-form:last-child{grid-column:1}
}
@media(max-width:620px){
  .discovery-reference-notice{grid-template-columns:1fr;gap:12px;padding:15px}
  .discovery-reference-notice p{grid-column:1;grid-row:auto}
  .discovery-reference-notice button{justify-self:start}
  .service-request-band{align-items:flex-start;flex-direction:column;padding:22px}
  .discovery-landing{padding-top:105px}
  .discovery-landing-grid{gap:32px}
  .discovery-intro h1,.portal-access-copy h1,.admin-login h1{font-size:46px}
  .discovery-assurance{grid-template-columns:1fr;gap:14px}
  .discovery-assurance span+span{border-left:0;border-top:1px solid rgba(255,255,255,.1);padding:14px 0 0}
  html[data-theme="light"] .discovery-assurance span+span{border-color:#d8d3ca}
  .discovery-welcome-card,.portal-login-card{padding:24px;border-radius:23px}
  .discovery-shell{width:min(100% - 24px,1140px);padding-bottom:50px}
  .discovery-form,.discovery-review{padding:22px 16px;border-radius:22px}
  .discovery-fields{grid-template-columns:1fr;gap:20px}
  .discovery-field{grid-column:1}
  .discovery-options,.discovery-options.compact{grid-template-columns:1fr}
  .content-availability label{grid-template-columns:1fr;gap:7px}
  .discovery-navigation{position:sticky;bottom:0;margin-inline:-16px;padding:14px 16px;background:#101319;z-index:4}
  html[data-theme="light"] .discovery-navigation{background:#fff}
  .discovery-navigation .btn{min-width:0;flex:1}
  .discovery-review dl>div{grid-template-columns:1fr;gap:4px}
  .discovery-files-card{padding:16px}
  .discovery-files-card form{grid-template-columns:1fr}
  .discovery-review-actions{display:grid;grid-template-columns:1fr}
  .portal-access,.admin-login{width:min(100% - 24px,1140px);padding-top:105px}
  .portal-feature-list{grid-template-columns:1fr}
  .portal-dashboard,.admin-dashboard{width:min(100% - 24px,1140px);padding-top:95px}
  .portal-summary-grid,.admin-stats{grid-template-columns:1fr}
  .portal-summary-grid article{min-height:108px}
  .portal-panel{padding:16px}
  .portal-milestones{grid-template-columns:1fr}
  .portal-document{align-items:flex-start;flex-direction:column}
  .portal-message-form{grid-template-columns:1fr}
  .portal-messages article{max-width:92%}
  .admin-search{align-items:flex-start;flex-direction:column;width:100%}
  .admin-search input{width:100%}
  .admin-detail-body{padding:16px}
  .admin-brief-list,.admin-operation-form,.admin-assessment-form{grid-template-columns:1fr}
  .admin-operation-form h3,.admin-operation-form label:has(textarea),.admin-assessment-form label{grid-column:1}
}
@media print{
  body[data-page="discovery"] .site-header,body[data-page="discovery"] .site-footer,body[data-page="discovery"] .assistant-chip,body[data-page="discovery"] .assistant-panel,body[data-page="discovery"] .whatsapp-float,.discovery-progress-card,.discovery-save-row,.discovery-review-actions,.discovery-files-card form{display:none!important}
  .discovery-page,.discovery-review{background:#fff!important;color:#111!important}
  .discovery-shell{display:block;padding:0;width:100%}
  .discovery-review{display:block!important;border:0;box-shadow:none;padding:0}
  .discovery-review details{display:block!important;break-inside:avoid}
  .discovery-review details>*{display:block!important}
}
