:root{--graphite:#2e383d;--graphite-deep:#1f292e;--teal:#4fa198;--teal-dark:#357b74;--teal-soft:#e8f4f2;--paper:#fff;--mist:#f3f6f5;--ink-muted:#657177;--border:#dbe4e2;--shadow:0 22px 60px #2235391f;--success:#237451;--success-soft:#e7f5ed;--warning:#8a5a08;--warning-soft:#fff5d8;--danger:#a33a3a;--danger-soft:#fff0ef}*{box-sizing:border-box}html{background:var(--mist);min-width:320px}body{min-height:100vh;color:var(--graphite);background:radial-gradient(circle at 100% 0%, #4fa19833, transparent 34rem), linear-gradient(145deg, #f8faf9 0%, var(--mist) 100%);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.public-lead-shell{min-height:100vh;padding:1rem}.public-lead-card,.public-unavailable,.public-success{border:1px solid var(--border);width:min(100%,52rem);box-shadow:var(--shadow);background:#fffffff5;border-radius:1.5rem;margin:0 auto 2rem;padding:clamp(1.25rem,5vw,3rem)}.public-lead-intro h1,.public-unavailable h1,.public-success h1{max-width:15ch;font-size:clamp(2rem,7vw,3.25rem)}.public-lead-intro>p:last-child,.public-unavailable>p:last-child,.public-success>p:last-child{color:var(--ink-muted);line-height:1.6}.lead-form{margin-top:2rem}.lead-progress{grid-template-columns:1fr auto;gap:.25rem 1rem;display:grid}.lead-progress p{color:var(--ink-muted);margin:0;font-size:.85rem}.lead-progress strong{grid-area:1/2/span 2;align-self:center}.lead-progress progress{width:100%;height:.45rem;accent-color:var(--teal-dark)}.form-error-summary{min-height:1.4rem;color:var(--danger);margin:1rem 0 0;font-weight:700}.lead-form>fieldset{border:0;margin:0;padding:0}.lead-form>fieldset>legend{color:var(--graphite-deep);margin-bottom:1.25rem;font-size:1.5rem;font-weight:800}.lead-grid{gap:1rem;display:grid}.lead-form label{color:var(--graphite-deep);gap:.45rem;font-size:.9rem;font-weight:700;display:grid}.lead-form label small{color:var(--ink-muted);font-weight:500}.lead-form input:not([type=checkbox]):not([type=radio]),.lead-form select{width:100%;min-height:3rem;color:var(--graphite-deep);background:var(--paper);border:1px solid #b9c8c5;border-radius:.75rem;padding:.7rem .8rem}.lead-form input:disabled{color:var(--ink-muted);background:var(--mist)}.lead-form [aria-invalid=true]{border-color:var(--danger)!important;background:var(--danger-soft)!important}.field-error{color:var(--danger);font-size:.82rem;font-weight:700}.unknown-field{gap:.6rem;display:grid}.lead-form .check-label,.choice-group label{grid-template-columns:none;align-items:flex-start;gap:.65rem;font-weight:600;line-height:1.45;display:flex}.check-label input,.choice-group input{width:1.2rem;height:1.2rem;accent-color:var(--teal-dark);flex:none;margin-top:.1rem}.choice-group{border:1px solid var(--border);border-radius:1rem;gap:.8rem;margin:0 0 1.5rem;padding:1rem;display:grid}.choice-group legend{padding:0 .35rem;font-weight:800}.lead-review{border:1px solid var(--border);border-radius:1rem;gap:0;margin:0 0 1.5rem;display:grid;overflow:hidden}.lead-review div{border-bottom:1px solid var(--border);grid-template-columns:minmax(7rem,.4fr) 1fr;gap:1rem;padding:.85rem 1rem;display:grid}.lead-review div:last-child{border-bottom:0}.lead-review dt{color:var(--ink-muted);font-size:.85rem;font-weight:700}.lead-review dd{overflow-wrap:anywhere;margin:0}.privacy-notice{background:var(--teal-soft);border-radius:1rem;margin:1.25rem 0;padding:1rem}.privacy-notice h2{margin:0;font-size:1rem}.privacy-notice p{white-space:pre-line;color:#526065;margin:.6rem 0 0;font-size:.88rem;line-height:1.55}.lead-actions{justify-content:flex-end;gap:.75rem;margin-top:1.5rem;display:flex}.public-success>span{color:#fff;background:var(--success);border-radius:50%;place-items:center;width:3rem;height:3rem;margin-bottom:1.5rem;font-size:1.5rem;font-weight:900;display:grid}@media (min-width:42rem){.public-lead-shell{padding:2rem}.lead-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unknown-field{align-content:start}}a,button,input,select,textarea{font:inherit}:focus-visible{outline:3px solid var(--graphite-deep);outline-offset:3px;box-shadow:0 0 0 6px var(--paper)}.portal-shell{flex-direction:column;min-height:100vh;padding:1rem;display:flex}.brand-header{width:min(100%,68rem);margin:0 auto;padding:.5rem 0 1.5rem}.brand-lockup{align-items:center;gap:.75rem;display:inline-flex}.brand-mark{width:2.75rem;height:2.75rem;color:var(--paper);background:var(--teal);border-radius:.85rem;flex:none;place-items:center;display:grid;box-shadow:0 8px 18px #4fa1983d}.brand-mark svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:3.2px;width:2rem;height:2rem}.brand-name{flex-direction:column;line-height:1;display:flex}.brand-name strong{color:var(--graphite);letter-spacing:.08em;font-size:1.05rem}.brand-name span{color:var(--teal-dark);letter-spacing:.24em;margin-top:.35rem;font-size:.62rem;font-weight:700}.welcome-card{width:min(100%,46rem);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border:1px solid #dbe4e2e6;border-radius:1.5rem;margin:auto;padding:clamp(1.5rem,6vw,3.75rem)}.eyebrow{color:var(--teal-dark);letter-spacing:.18em;text-transform:uppercase;margin:0 0 .75rem;font-size:.75rem;font-weight:800}h1,h2,p{text-wrap:pretty}h1{max-width:13ch;color:var(--graphite-deep);letter-spacing:-.045em;margin:0;font-size:clamp(2rem,9vw,3.75rem);line-height:1.03}.welcome-copy{max-width:38rem;color:var(--ink-muted);margin:1.25rem 0 0;font-size:clamp(1rem,3vw,1.125rem);line-height:1.65}.access-notice{background:var(--teal-soft);border:1px solid #4fa19840;border-radius:1rem;align-items:flex-start;gap:.9rem;margin-top:1.75rem;padding:1rem;display:flex}.notice-icon{width:2.25rem;height:2.25rem;color:var(--paper);background:var(--teal-dark);border-radius:50%;flex:none;place-items:center;display:grid}.notice-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:1.2rem;height:1.2rem}.access-notice h2{color:var(--graphite-deep);margin:0;font-size:1rem}.access-notice p{color:#526065;margin:.35rem 0 0;font-size:.9rem;line-height:1.55}.trust-list{color:#526065;gap:.65rem;margin:1.5rem 0 0;padding:0;font-size:.85rem;font-weight:650;list-style:none;display:grid}.trust-list li{align-items:center;gap:.55rem;display:flex}.trust-list li:before{background:var(--teal);content:"";border-radius:50%;width:.5rem;height:.5rem}.portal-footer{width:min(100%,68rem);color:var(--ink-muted);text-align:center;margin:0 auto;padding:1.75rem 0 .5rem;font-size:.75rem;line-height:1.5}.portal-footer p{margin:0}.portal-footer p:first-child{color:var(--graphite);font-weight:750}.login-card{width:min(100%,34rem)}.login-form{gap:.65rem;margin-top:1.75rem;display:grid}.login-form label{color:var(--graphite-deep);margin-top:.35rem;font-size:.875rem;font-weight:750}.login-form input{border:1px solid var(--border);width:100%;min-height:3rem;color:var(--graphite-deep);background:var(--paper);border-radius:.75rem;padding:.75rem .9rem;transition:border-color .14s}.login-form input:focus{border-color:var(--teal-dark)}.login-form button{min-height:3rem;color:var(--paper);background:var(--teal-dark);cursor:pointer;border:0;border-radius:.75rem;margin-top:.75rem;font-weight:800;transition:background-color .14s,transform .1s}.login-form button:hover{background:var(--graphite-deep)}.login-form button:active{transform:scale(.985)}.access-note{color:var(--ink-muted);margin:1rem 0 0;font-size:.8rem;line-height:1.5}.login-error{color:#762f2f;background:var(--danger-soft);border:1px solid #e0aaa6;border-radius:.8rem;margin:1.25rem 0 0;padding:.85rem 1rem;font-size:.875rem;font-weight:700;line-height:1.5}@media (min-width:40rem){.portal-shell{padding:2rem}.brand-header{padding-bottom:2rem}.trust-list{grid-template-columns:repeat(3,1fr)}.portal-footer{text-align:left;justify-content:space-between;display:flex}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}.login-form button:active,.admin-topbar nav a:active,.admin-topbar nav button:active,.ui-button:active,.ui-link-button:active{transform:none!important}}.admin-shell{width:min(100%,86rem);min-height:100vh;margin:0 auto;padding:0 1rem}.admin-topbar{border-bottom:1px solid #2e383d1a;justify-content:space-between;align-items:center;gap:1rem;min-height:5.5rem;display:flex}.admin-topbar>a{color:inherit;text-decoration:none}.admin-topbar .brand-header{width:auto;margin:0;padding:0}.admin-topbar nav{flex-wrap:wrap;justify-content:flex-end;gap:.6rem 1rem;display:flex}.admin-topbar nav form{margin:0}.admin-topbar nav a,.admin-topbar nav button{color:var(--graphite-deep);text-underline-offset:.25rem;cursor:pointer;background:0 0;border:0;border-radius:.65rem;padding:.55rem .7rem;font-size:.82rem;font-weight:800;text-decoration:none;transition:background-color .14s,color .14s,transform .1s}.admin-topbar nav a:hover,.admin-topbar nav button:hover{background:#4fa1981a}.admin-topbar nav a:active,.admin-topbar nav button:active{transform:scale(.97)}.admin-topbar nav a[aria-current=page]{color:var(--paper);background:var(--teal-dark)}.admin-main{min-height:calc(100vh - 11rem);padding:clamp(2rem,5vw,4rem) 0}.admin-login{margin-top:clamp(1rem,8vw,6rem)}.admin-stack{gap:1.5rem;display:grid}.admin-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1.25rem;display:flex}.admin-heading h1{max-width:none;font-size:clamp(2rem,6vw,3.35rem)}.admin-heading p:not(.eyebrow){max-width:52rem;color:var(--ink-muted);margin:.8rem 0 0;line-height:1.55}.admin-panel{border:1px solid var(--border);background:#fffffff7;border-radius:1.2rem;min-width:0;padding:clamp(1.15rem,4vw,2rem);box-shadow:0 14px 38px #22353912}.admin-panel h2{color:var(--graphite-deep);margin:0;font-size:clamp(1.25rem,3vw,1.75rem)}.admin-summary{grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.8rem;display:grid}.admin-summary article{border:1px solid var(--border);background:var(--paper);border-radius:1rem;align-content:space-between;gap:.4rem;min-height:8.5rem;padding:1rem;display:grid}.admin-summary article>strong{color:var(--graphite-deep);font-size:2rem;line-height:1}.admin-summary article>span:last-child{color:var(--ink-muted);font-size:.78rem;font-weight:750}.admin-summary__late{background:var(--warning-soft)!important;border-color:#e6ca91!important}.admin-form,.admin-filters{gap:1rem;margin-top:1.4rem;display:grid}.admin-form__grid{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1rem;display:grid}.admin-form label,.admin-filters label,.admin-action-box label,.one-time-link label{color:var(--graphite-deep);gap:.4rem;font-size:.8rem;font-weight:800;display:grid}.admin-form input,.admin-form textarea,.admin-form select,.admin-filters input,.admin-filters select,.admin-action-box input,.one-time-link input{border:1px solid var(--border);width:100%;min-height:2.8rem;color:var(--graphite-deep);background:var(--paper);border-radius:.7rem;padding:.65rem .75rem}.admin-form textarea{resize:vertical;min-height:7rem}.admin-form label small{color:var(--ink-muted);font-weight:500;line-height:1.4}.admin-form__wide{grid-column:1/-1}.admin-form>.ui-button{justify-self:start}.admin-feedback{color:var(--teal-dark);margin:0;font-size:.85rem;font-weight:750}.admin-filters{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));align-items:end}.admin-table-wrap{margin-top:1.4rem;overflow-x:auto}.admin-list-count{color:var(--ink-muted);margin:1.2rem 0 0;font-size:.8rem;font-weight:750}.admin-table{border-collapse:collapse;width:100%;min-width:44rem;font-size:.82rem}.admin-table th,.admin-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;padding:.85rem .7rem}.admin-table thead th{color:var(--ink-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.68rem}.admin-table tbody th{color:var(--graphite-deep)}.admin-table tbody th small{color:var(--ink-muted);margin-top:.2rem;font-weight:500;display:block}.admin-table a,.token-list button{color:var(--teal-dark);text-underline-offset:.2rem;font-weight:800}.state-active,.state-suspended{color:var(--success);background:var(--success-soft);border-radius:999px;padding:.35rem .55rem;font-size:.72rem;font-weight:850;display:inline-flex}.state-suspended{color:var(--danger);background:var(--danger-soft)}.admin-action-box{flex-wrap:wrap;align-items:end;gap:.75rem;display:flex}.admin-action-box p{width:100%;color:var(--danger);margin:0;font-size:.8rem}.one-time-link{background:var(--teal-soft);border:1px solid #4fa19859;border-radius:.9rem;grid-template-columns:1fr auto;align-items:end;gap:.75rem;margin-top:1rem;padding:1rem;display:grid}.token-list{gap:0;margin:1rem 0 0;padding:0;list-style:none;display:grid}.token-list li{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:.75rem;padding:1rem 0;display:flex}.token-list li>div{gap:.25rem;display:grid}.token-list li span{color:var(--ink-muted);font-size:.75rem}.token-list li>div:last-child{grid-auto-flow:column;align-items:center;gap:1rem;display:flex}.text-action{cursor:pointer;background:0 0;border:0;padding:0}.danger-text{color:var(--danger)!important}@media (max-width:44rem){.admin-topbar{flex-direction:column;align-items:flex-start;padding:1rem 0}.admin-topbar nav{overscroll-behavior-x:contain;flex-wrap:nowrap;justify-content:flex-start;width:100%;margin:-.25rem;padding:.25rem;overflow-x:auto}.admin-topbar nav a,.admin-topbar nav button{white-space:nowrap}.one-time-link{grid-template-columns:1fr}}.review-overview,.review-document-groups,.review-actions,.review-reason-field,.review-previous-list{gap:1rem;display:grid}.review-subheading{border-top:1px solid var(--border);margin-top:1.75rem;padding-top:1.5rem}.review-subheading h3,.review-document-groups h4{color:var(--graphite-deep);margin:0}.review-subheading h3{font-size:1.05rem}.review-document-groups h4{margin-bottom:.65rem;font-size:.9rem}.review-data-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.75rem;margin:0;display:grid}.review-data-grid>div{border:1px solid var(--border);background:var(--mist);border-radius:.8rem;min-width:0;padding:.9rem}.review-data-grid dt{color:var(--ink-muted);letter-spacing:.05em;text-transform:uppercase;font-size:.7rem;font-weight:800}.review-data-grid dd{overflow-wrap:anywhere;color:var(--graphite-deep);margin:.3rem 0 0;font-weight:750}.review-document-list,.review-correction-list,.review-note-list,.submission-timeline{gap:.7rem;margin:0;padding:0;list-style:none;display:grid}.review-document-list li,.review-correction-list li,.review-note-list li{border:1px solid var(--border);background:var(--paper);border-radius:.8rem;min-width:0;padding:.9rem}.review-document-list li{justify-content:space-between;align-items:center;gap:1rem;display:flex}.review-document-list li>div,.review-correction-list li,.review-note-list li{gap:.3rem;display:grid}.review-document-list strong,.review-correction-list p,.review-note-list p{overflow-wrap:anywhere}.review-document-list small,.review-correction-list small,.review-note-list small,.submission-timeline small{color:var(--ink-muted);font-size:.75rem;line-height:1.45}.review-correction-list p,.review-note-list p{margin:0;line-height:1.55}.review-actions{max-width:44rem;margin-top:1rem}.review-actions>.ui-button,.review-reason-field+.ui-button{justify-self:start}.review-reason-field{max-width:44rem}.review-reason-field label{color:var(--graphite-deep);font-size:.8rem;font-weight:800}.review-reason-field textarea{border:1px solid var(--border);width:100%;min-height:7rem;color:var(--graphite-deep);background:var(--paper);font:inherit;resize:vertical;border-radius:.7rem;padding:.75rem;line-height:1.5}.review-reason-field textarea:focus-visible{outline-offset:2px;border-color:var(--teal-dark);outline:3px solid #2f696438}.review-reason-field small{color:var(--ink-muted);justify-self:end;font-size:.72rem}.review-previous-list details{border:1px solid var(--border);border-radius:.85rem;padding:1rem}.review-previous-list summary{color:var(--graphite-deep);cursor:pointer;font-weight:850}.review-previous-list details[open] summary{margin-bottom:1rem}.review-page-status{color:var(--ink-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-top:.9rem;font-size:.76rem;font-weight:750;display:flex}.review-page-status a{color:var(--teal-dark);text-underline-offset:.2rem;font-weight:850}.submission-timeline li{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.8rem;display:grid}.submission-timeline li>span{border:2px solid var(--teal-dark);background:var(--paper);border-radius:50%;width:.7rem;height:.7rem;margin-top:.25rem}.submission-timeline li>div{border-bottom:1px solid var(--border);gap:.2rem;padding-bottom:1rem;display:grid}@media (max-width:30rem){.review-document-list li{flex-direction:column;align-items:stretch}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;color:var(--paper);background:var(--graphite-deep);border-radius:.65rem;padding:.75rem 1rem;font-weight:800;position:fixed;top:.75rem;left:.75rem;transform:translateY(-180%)}.skip-link:focus{transform:translateY(0)}.client-portal-shell{width:min(100%,76rem);min-height:100vh;margin:0 auto;padding:0 1rem}.portal-topbar{border-bottom:1px solid #2e383d1a;justify-content:space-between;align-items:center;gap:1rem;min-height:5.5rem;display:flex}.portal-topbar>a{color:inherit;text-decoration:none}.portal-topbar .brand-header{width:auto;margin:0;padding:0}.portal-topbar nav{align-items:center;gap:1rem;display:flex}.portal-topbar nav a,.back-link,.text-action{color:var(--teal-dark);text-underline-offset:.2em;font-size:.875rem;font-weight:800}.client-portal-main{padding:clamp(2rem,6vw,4.5rem) 0}.client-portal-footer{border-top:1px solid var(--border);color:var(--ink-muted);flex-wrap:wrap;justify-content:space-between;gap:.5rem 2rem;padding:1.5rem 0 2rem;font-size:.75rem;display:flex}.client-portal-footer p{margin:0}.dashboard-stack{gap:2rem;display:grid}.dashboard-intro{gap:.85rem;display:grid}.dashboard-intro h1,.form-card h1{max-width:none;font-size:clamp(2rem,6vw,3.25rem);line-height:1.05}.dashboard-intro>p:not(.eyebrow){max-width:46rem;color:var(--ink-muted);margin:0;font-size:1rem;line-height:1.65}.company-summary{flex-wrap:wrap;gap:.75rem 2rem;margin:.5rem 0 0;display:flex}.company-summary div{gap:.2rem;display:grid}.company-summary dt,.review-list dt,.history-cards dt{color:var(--ink-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;font-weight:800}.company-summary dd,.review-list dd,.history-cards dd{color:var(--graphite-deep);margin:0;font-weight:750}.competence-hero,.history-section,.form-card{background:#fffffff5;border:1px solid #dbe4e2eb;border-radius:1.25rem;box-shadow:0 14px 38px #22353914}.competence-hero{background:linear-gradient(125deg, #e8f4f2eb, #fffffff5 64%), var(--paper);gap:1.5rem;padding:clamp(1.25rem,5vw,2.25rem);display:grid;overflow:hidden}.competence-hero h2,.history-section h2,.form-section h2,.document-uploader h2{color:var(--graphite-deep);letter-spacing:-.025em;margin:0;font-size:clamp(1.3rem,4vw,1.85rem)}.competence-hero__main>p:last-child{max-width:42rem;color:var(--ink-muted);margin:1rem 0 0;line-height:1.55}.competence-meta{color:#526065;flex-wrap:wrap;align-items:center;gap:.65rem 1rem;margin-top:1rem;font-size:.875rem;font-weight:700;display:flex}.competence-hero__action{flex-direction:column;align-items:flex-start;gap:.65rem;display:flex}.competence-hero__action small{color:var(--ink-muted);line-height:1.45}.ui-button,.ui-link-button{text-align:center;cursor:pointer;border:1px solid #0000;border-radius:.75rem;justify-content:center;align-items:center;min-height:2.85rem;padding:.7rem 1rem;font-size:.875rem;font-weight:850;line-height:1.2;text-decoration:none;transition:background-color .14s,border-color .14s,transform .1s;display:inline-flex}.ui-button:active:not(:disabled),.ui-link-button:active:not(:disabled){transform:scale(.98)}.ui-button--primary,.ui-link-button{color:var(--paper);background:var(--teal-dark)}.ui-button--primary:hover,.ui-link-button:hover{background:var(--graphite-deep)}.ui-button--secondary{border-color:var(--border);color:var(--graphite-deep);background:var(--paper)}.ui-button--secondary:hover{border-color:var(--teal-dark);background:var(--teal-soft)}.ui-button--danger{color:var(--paper);background:var(--danger)}.ui-button:disabled,.ui-link-button:disabled{opacity:.56;cursor:not-allowed}.submission-action{gap:.45rem;display:grid}.submission-action__error{max-width:19rem;color:var(--danger);gap:.2rem;font-size:.75rem;line-height:1.4;display:grid}.submission-action__error a{color:inherit;font-weight:800}.status-badge{width:fit-content;color:var(--graphite-deep);white-space:nowrap;background:#edf1f0;border-radius:999px;align-items:center;gap:.45rem;padding:.38rem .62rem;font-size:.72rem;font-weight:850;display:inline-flex}.status-badge__dot{background:currentColor;border-radius:50%;width:.5rem;height:.5rem}.status-badge--draft,.status-badge--under_review{color:#2f6964;background:var(--teal-soft)}.status-badge--needs_correction{color:var(--warning);background:var(--warning-soft)}.status-badge--completed{color:var(--success);background:var(--success-soft)}.risk-level{border:1px solid;border-radius:999px;width:fit-content;padding:.38rem .62rem;font-weight:800;display:inline-flex}.risk-level--green{color:#14532d;background:#dcfce7}.risk-level--yellow{color:#713f12;background:#fef3c7}.risk-level--red{color:#7f1d1d;background:#fee2e2}.risk-level--unavailable{color:#334155;background:#f1f5f9}.history-section{padding:clamp(1.25rem,5vw,2rem)}.section-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.section-heading .eyebrow{margin-bottom:.4rem}.history-counter,.document-count{color:var(--graphite-deep);background:var(--mist);border-radius:999px;flex:none;padding:.45rem .7rem;font-size:.75rem;font-weight:800}.history-table-wrap{margin-top:1.5rem;display:none;overflow-x:auto}.history-table{border-collapse:collapse;width:100%;font-size:.85rem}.history-table th,.history-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;padding:.9rem .75rem}.history-table thead th{color:var(--ink-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.7rem}.history-table tbody th{color:var(--graphite-deep)}.history-table tbody tr:last-child th,.history-table tbody tr:last-child td{border-bottom:0}.history-table .ui-link-button{white-space:nowrap;min-height:2.35rem;padding:.5rem .7rem}.history-locked{color:var(--ink-muted);font-size:.78rem}.history-cards{gap:.8rem;margin:1.5rem 0 0;padding:0;list-style:none;display:grid}.history-cards>li{border:1px solid var(--border);background:var(--paper);border-radius:.9rem;gap:1rem;min-width:0;padding:1rem;display:grid}.history-card__top{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.history-cards dl{gap:.65rem;margin:0;display:grid}.history-cards dl div{gap:.2rem;display:grid}.empty-state{color:var(--graphite-deep);background:var(--teal-soft);text-align:center;border:1px dashed #b7c8c5;border-radius:1rem;padding:clamp(1.5rem,6vw,3rem)}.empty-state p{color:var(--ink-muted);margin:.5rem 0 0;line-height:1.5}.empty-state--compact{margin-top:1.25rem;padding:1.5rem}.submission-page,.submission-form-shell{gap:1.25rem;display:grid}.back-link{width:fit-content}.form-stepper{border:1px solid var(--border);background:#ffffffe6;border-radius:.9rem;padding:.9rem 1rem}.form-stepper__mobile{color:var(--graphite-deep);margin:0;font-size:.875rem;font-weight:800}.form-stepper ol{margin:0;padding:0;list-style:none;display:none}.form-stepper__progress{background:var(--border);border-radius:999px;height:.35rem;margin-top:.75rem;overflow:hidden}.form-stepper__progress:before{width:var(--step-progress);border-radius:inherit;background:var(--teal-dark);content:"";height:100%;transition:width .16s;display:block}.form-card{min-width:0;padding:clamp(1.1rem,5vw,2.25rem)}.form-card>.section-heading{border-bottom:1px solid var(--border);padding-bottom:1.25rem}.form-section,.document-uploader{padding-top:1.5rem}.section-copy{max-width:48rem;color:var(--ink-muted);margin:.55rem 0 1.25rem;line-height:1.6}.form-grid,.upload-controls{gap:1rem;display:grid}.form-grid+.form-grid{border-top:1px solid var(--border);margin-top:1.25rem;padding-top:1.25rem}.field-group{align-content:start;gap:.42rem;min-width:0;display:grid}.field-group label,.field-group legend{color:var(--graphite-deep);font-size:.82rem;font-weight:800}.field-group input,.field-group select,.field-group textarea{width:100%;min-width:0;min-height:2.95rem;color:var(--graphite-deep);background:var(--paper);border:1px solid #bdcbc8;border-radius:.7rem;padding:.72rem .82rem;font-size:1rem}.field-group textarea{resize:vertical;min-height:7rem;line-height:1.5}.field-group input[readonly]{color:#526065;background:var(--mist);cursor:default;border-color:#0000}.field-group input[aria-invalid=true],.field-group select[aria-invalid=true],.field-group textarea[aria-invalid=true]{border-color:var(--danger);background:var(--danger-soft)}.field-error{color:var(--danger);font-size:.78rem;font-weight:700;line-height:1.4}.field-help{color:var(--ink-muted);margin:.65rem 0 0;font-size:.78rem;line-height:1.5}.choice-group{border:0;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0}.choice-group legend{grid-column:1/-1;margin-bottom:.1rem}.choice-group label{border:1px solid var(--border);background:var(--paper);border-radius:.7rem;align-items:center;gap:.55rem;min-height:2.95rem;padding:.6rem .75rem;display:flex}.choice-group input,.truthfulness-check input{width:1.15rem;height:1.15rem;accent-color:var(--teal-dark)}.inline-warning,.inline-notice,.inline-error,.error-summary,.conflict-banner{border-radius:.8rem;margin:1rem 0 0;padding:.9rem 1rem;font-size:.85rem;line-height:1.5}.inline-warning{color:#61420a;background:var(--warning-soft);border:1px solid #e5c574}.inline-notice{color:var(--graphite-deep);background:var(--teal-soft);border:1px solid #afd0cb}.inline-error,.error-summary{color:#762f2f;background:var(--danger-soft);border:1px solid #e0aaa6}.inline-error p,.error-summary p,.conflict-banner p{margin:.25rem 0 0}.conflict-banner{color:var(--graphite-deep);background:var(--warning-soft);border:1px solid #e5c574;gap:1rem;margin:0;display:grid}.conflict-actions{flex-wrap:wrap;gap:.65rem;display:flex}.document-uploader .section-heading{align-items:center}.upload-controls{margin-top:1.25rem}.document-list{gap:.65rem;margin:1.25rem 0 0;padding:0;list-style:none;display:grid}.document-list li{border:1px solid var(--border);border-radius:.8rem;gap:.7rem;min-width:0;padding:.85rem;display:grid}.document-list__details{gap:.25rem;min-width:0;display:grid}.document-list__details strong{overflow-wrap:anywhere}.document-list__details span{color:var(--ink-muted);font-size:.75rem}.file-status{width:fit-content;font-size:.78rem;font-weight:850}.file-status--verified{color:var(--success)}.file-status--initiated,.file-status--stored{color:var(--teal-dark)}.file-status--rejected,.file-status--pending_delete{color:var(--danger)}.lead-form,.lead-form fieldset,.lead-grid,.lead-grid>*,.unknown-field,.lead-review,.lead-review div{min-width:0}.lead-form input:not([type=checkbox]):not([type=radio]),.lead-form select,.lead-form textarea,.lead-form button{min-height:44px}.lead-form input,.lead-form select,.lead-form textarea{font-size:1rem}.lead-form textarea{width:100%;min-width:0;min-height:7rem;color:var(--graphite-deep);background:var(--paper);resize:vertical;border:1px solid #b9c8c5;border-radius:.75rem;padding:.7rem .8rem;line-height:1.5}.lead-form .choice-group{border:1px solid var(--border);border-radius:1rem;grid-template-columns:minmax(0,1fr);gap:.65rem;margin:1rem 0 1.5rem;padding:1rem;display:grid}.lead-form .choice-group legend{grid-column:1/-1;padding:0 .35rem;font-weight:800}.lead-form .choice-group label,.lead-form .check-label{align-items:center;min-height:44px;padding:.6rem .7rem}.lead-form .lead-textarea{margin-top:1rem}.lead-form .commitment-check{border:1px solid var(--border);background:var(--paper);border-radius:.75rem;margin-top:1rem}.lead-form .choice-group>.field-error{grid-column:1/-1}@media (max-width:30rem){.public-lead-shell{padding:.75rem}.public-lead-card{border-radius:1rem;padding:1rem}.lead-progress{grid-template-columns:minmax(0,1fr)}.lead-progress strong{grid-area:auto}.lead-review div{grid-template-columns:minmax(0,1fr);gap:.25rem}.lead-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lead-actions>:only-child{grid-column:1/-1}}@media (min-width:42rem){.lead-form .choice-group{grid-template-columns:repeat(2,minmax(0,1fr))}}.review-list{gap:.75rem;margin:1.25rem 0;display:grid}.review-list>div{border-bottom:1px solid var(--border);gap:.25rem;padding:.75rem 0;display:grid}.truthfulness-check{color:var(--graphite-deep);align-items:flex-start;gap:.7rem;margin-top:1.25rem;font-size:.9rem;font-weight:750;line-height:1.5;display:flex}.truthfulness-check input{flex:none;margin-top:.15rem}.form-actions{border-top:1px solid var(--border);gap:1rem;margin-top:1.75rem;padding-top:1.25rem;display:grid}.save-cluster,.step-actions{flex-direction:column;gap:.65rem;display:flex}.save-state{color:var(--ink-muted);font-size:.78rem;line-height:1.4}.save-state--success{color:var(--success);font-weight:800}.save-state--error{color:var(--danger);font-weight:800}.receipt-card{border:1px solid var(--border);background:var(--paper);max-width:58rem;box-shadow:var(--shadow-soft);border-radius:1rem;margin:0 auto;padding:clamp(1.15rem,3vw,2rem)}.receipt-success-mark{color:#fff;background:var(--success);border-radius:999px;place-items:center;width:3rem;height:3rem;margin-bottom:1rem;font-size:1.5rem;font-weight:900;display:grid}.receipt-heading{align-items:flex-start}.receipt-details{border-top:1px solid var(--border);gap:0;margin:1.5rem 0 0;display:grid}.receipt-details>div{border-bottom:1px solid var(--border);gap:.3rem;min-width:0;padding:.9rem 0;display:grid}.receipt-details dt{color:var(--ink-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.76rem;font-weight:800}.receipt-details dd{overflow-wrap:anywhere;min-width:0;color:var(--graphite-deep);margin:0;font-weight:700}.receipt-details small{color:var(--ink-muted);margin-top:.2rem;font-size:.74rem;font-weight:600;display:block}.receipt-documents,.receipt-whatsapp{border-top:1px solid var(--border);margin-top:1.75rem;padding-top:1.5rem}.receipt-document-count{color:var(--ink-muted);font-size:.8rem;font-weight:800}.receipt-document-list{gap:.65rem;margin:1rem 0 0;padding:0;list-style:none;display:grid}.receipt-document-list li{border:1px solid var(--border);background:var(--mist);border-radius:.8rem;gap:.25rem;min-width:0;padding:.85rem;display:grid}.receipt-document-list strong{overflow-wrap:anywhere}.receipt-document-list span,.receipt-whatsapp>p{color:var(--ink-muted);font-size:.8rem;line-height:1.5}.receipt-whatsapp .ui-button{width:100%;margin-top:.65rem}.receipt-actions{margin-top:1.5rem;display:flex}@media (min-width:44rem){.receipt-details{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.5rem}.receipt-details__wide{grid-column:1/-1}.receipt-whatsapp .ui-button{width:auto}.client-portal-shell{padding:0 2rem}.competence-hero{grid-template-columns:minmax(0,1fr) auto;align-items:center}.history-table-wrap{display:block}.history-cards,.form-stepper__mobile{display:none}.form-stepper ol{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.form-stepper li{color:var(--ink-muted);align-items:center;gap:.55rem;font-size:.78rem;font-weight:750;display:flex}.form-stepper li>span:first-child{border:1px solid var(--border);background:var(--mist);border-radius:50%;flex:none;place-items:center;width:1.85rem;height:1.85rem;display:grid}.form-stepper li.is-active{color:var(--graphite-deep)}.form-stepper li.is-active>span:first-child{border-color:var(--teal-dark);color:var(--paper);background:var(--teal-dark)}.form-grid,.upload-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.field-group--wide{grid-column:1/-1}.document-list li{grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center}.form-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center}.save-cluster{flex-direction:row;align-items:center}.step-actions{flex-direction:row}}@media (max-width:30rem){.portal-topbar{flex-direction:column;justify-content:center;align-items:flex-start;padding:1rem 0}.portal-topbar nav{justify-content:space-between;width:100%}.section-heading{flex-direction:column}.ui-button,.ui-link-button{width:100%}.history-card__top{flex-direction:column;align-items:flex-start}.conflict-actions{flex-direction:column}}
