.uiIcon{width:20px;height:20px;object-fit:contain;flex:none;vertical-align:middle}.workspaceSide{width:200px;padding:24px 16px;background:#f4f7fa;border-right:1px solid var(--line)}.workspaceSide button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:none;border-radius:7px;padding:12px;margin:3px 0;line-height:1.35;font-size:14px}.workspaceSide button.active{background:var(--navy);color:white}.workspaceSide button.active .uiIcon{filter:invert(1)}.workspaceSide small{display:block;margin:20px 10px 8px;color:var(--muted);line-height:1.5}.workspaceSide hr{border:0;border-top:1px solid var(--line);margin:24px 8px}.versionLabel{font-size:11px;color:var(--muted);white-space:nowrap}body:has(#dashboard:not([hidden])) main{max-width:1400px;padding:0 28px 40px}#staffLayout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px}#staffLayout .pageheading{margin-top:28px}#staffLayout .pageheading h1{font-size:32px}#staffLayout .pageheading p{margin-bottom:0}#staffLayout .pageheading>div:last-child{display:flex;gap:10px;flex-wrap:wrap}#staffLayout .overview{display:none}#staffLayout #newCase{background:white;color:var(--navy);border:1px solid #9ba9b8}#portalInbox{border:0;padding:0;background:none}.dashMetrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:8px;background:white;padding:18px 0;margin-bottom:18px}.dashMetrics>div{padding:0 20px;border-right:1px solid var(--line)}.dashMetrics>div:last-child{border:0}.dashMetrics strong{font-size:28px;display:block;margin-top:8px}.dashMetrics small{font-size:12px}.dashSplit{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-bottom:18px}.dashCard{background:white;border:1px solid var(--line);border-radius:8px;padding:18px;margin-bottom:18px;min-width:0}.dashSplit .dashCard{margin-bottom:0}.dashCard h2{font-size:19px;margin:0 0 14px}.dashCard p{line-height:1.6}.dashCard>small{display:block;color:var(--muted)}.dashTask{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:0;border-top:1px solid var(--line);background:white;padding:16px 0;min-width:0}.dashTask .taskIcon{padding:12px;background:#fff8df;border-radius:50%}.dashTask>span:nth-child(2){flex:1;min-width:0}.dashTask small{display:block;margin-top:5px}.dashTask>b{font-size:23px;color:#a77b00}.dashInvitation{display:flex;width:100%;text-align:left;gap:12px;border:0;border-top:1px solid var(--line);background:white;padding:13px 0;align-items:center}.dashInvitation .avatar{background:#e8eefc;color:var(--navy);border-radius:50%;padding:12px;font-size:13px}.dashInvitation strong,.dashInvitation small{display:block;font-size:13px}.dashInvitation small{margin-top:5px}.dashTable{width:100%;border-collapse:collapse;font-size:13px}.dashTable th{text-align:left;font-weight:500;color:var(--muted);background:#f7f9fc}.dashTable th,.dashTable td{padding:12px 8px;border-bottom:1px solid var(--line);vertical-align:middle}.dashTable button{border:0;background:none;text-align:left;font-weight:600;padding:0;color:var(--navy)}.statusPill{display:inline-flex;align-items:center;gap:7px;border-radius:20px;background:#eaf4ef;color:#205e4b;padding:7px 11px;font-size:12px;line-height:1.35}.statusPill.waiting{background:#fff7dc;color:#705a0b}.statusPill.neutral{background:#eef2f8;color:var(--navy)}.dashActivity{display:flex;gap:18px;align-items:center;border-top:1px solid var(--line);padding:13px 0;font-size:13px}.dashActivity small{white-space:nowrap}.dashActivity button{border:0;background:none;text-align:left;color:var(--navy)}.dashboardTools{margin:24px 0}.dashboardTools>summary{cursor:pointer;font-weight:600;color:var(--muted)}.workflowGrid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.workflowGrid .customerPanel{border-radius:8px;padding:20px}.workflowGrid h3{margin-top:0}.workflowGrid label{display:block;margin:14px 0}.workflowGrid input,.workflowGrid textarea,.workflowGrid select{width:100%}.workflowGrid .checkline input{width:auto}.questionCard{border:1px solid var(--line);border-radius:8px;padding:16px;margin:14px 0}.questionCard p,.questionReply p{white-space:pre-wrap;overflow-wrap:anywhere}.questionCard small{color:var(--muted)}.questionReply{border-left:3px solid #cad6e5;padding-left:14px;margin:16px 0}.caseHistory{border-left:1px solid #cbd5e3;margin:12px 0 16px 10px;padding-left:22px}.historyItem{padding:8px 0 18px;position:relative}.historyItem>.uiIcon{position:absolute;left:-33px;background:white}.historyItem strong,.historyItem small{display:block;line-height:1.55}.historyItem small{color:var(--muted);font-size:12px}.customer main{max-width:1340px}.customerWorkspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px}.customerWorkspace .workspaceSide{box-sizing:border-box;width:220px}.customer #customerProgress{display:block;margin:0;border-radius:8px 0 0 8px}.customer #customerProgress button{border-radius:7px;font-size:14px;padding:13px 12px}.customer #customerProgress .stepNumber{border:1px solid #c6d0dd;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;flex:none}.customer #customerProgress button.active .stepNumber{border-color:white}.customerStepLayout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:20px;align-items:start}.customer #customerHelp{background:white;border:1px solid var(--line);border-radius:8px;padding:18px;position:sticky;top:24px;font-size:13px;line-height:1.65}.customer #customerHelp h2{font-size:17px;margin-top:0}.customer #customerHelp details{border-top:1px solid var(--line);padding:12px 0 0;margin-top:12px}.customer #customerHelp summary{cursor:pointer;font-weight:600}.customer #customerHelp p{margin-bottom:0}.customer .customerPanel{border-color:var(--line);border-radius:8px;padding:24px}.customer .customerPanel h2{font-size:22px}.customer .customerPanel>p{line-height:1.65;color:var(--muted)}.customer .pageheading h1{font-size:32px}.customer .pageheading p{max-width:800px;line-height:1.55}.customer .customerFooter{border-top:1px solid var(--line);background:var(--bg);font-size:13px}.customer .customerFooter>div{flex-wrap:wrap}.customer .lawyerTiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.customer .lawyerTile{padding:18px;border:1px solid #ccd5df;border-radius:8px;background:white;text-align:left;display:flex;gap:12px;align-items:center;min-height:82px}.customer .lawyerTile.selected{border:2px solid var(--gold);background:#fffaf0;padding:17px}.customer .lawyerTile strong,.customer .lawyerTile small{display:block}.customer .lawyerTile small{font-size:12px;margin-top:4px;color:var(--muted)}.customer .lawyerTile .uiIcon{width:26px;height:26px}.customer .ticketQuestion{background:#fffae9;border:1px solid #f3e7c1;border-radius:8px;padding:20px;margin-bottom:22px}.customer .ticketQuestion h2{font-size:19px;margin-top:0}.customer .ticketQuestion p{line-height:1.65}.customer .customerActions{gap:10px}.customer .lockedForm{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;font-size:13px}.customer .lockedForm>span:nth-child(2){flex:1}.customer .lockedForm a{display:flex;gap:6px;align-items:center}.customer .reviewBadge{color:var(--green);font-size:12px}.customer #customerAgain{margin-top:18px}.customer .customerWhatsApp{background:var(--green);border-color:var(--green)}.customer .customerNewSide{display:block;margin-top:22px}.customer .customerNewSide button{font-size:13px}.customer [data-page-target]{white-space:normal}.customer .contractHint{font-size:13px;color:var(--muted);line-height:1.6}.customer .customerPanel details>summary{cursor:pointer;font-weight:600}.customer .customerVideoActions p{margin-bottom:8px}.customer [data-customer-step-key].done .stepNumber{border:0}.customer .customerOverviewTitle{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}
#portalQuickOpen,.customer #customerNext,.customer .ticketQuestion .primary,.customer [data-customer-files],.customer #customerAuthSubmit{background:var(--gold);border-color:var(--gold);color:var(--navy)}#portalQuickOpen:hover,.customer #customerNext:hover{background:#d5a300}.staffActions button{font-size:13px}#staffLayout .pageheading{margin-bottom:22px}#staffLayout .pageheading h1{font-size:30px}.dashTask{padding:13px 0}.dashCard h2{font-weight:600}.dashInvitation .avatar:empty{display:none}.customer [data-answer-box]{margin-top:16px}.customer .customerPanel h2,.customer .ticketQuestion h2{font-weight:600}.customer #customerOrder .pageheading{margin:22px 0}.customer #customerOrder .pageheading p{font-size:14px}.customer #customerOrder .pageheading h1{margin-bottom:10px}
@media(max-width:1100px){.customerStepLayout{grid-template-columns:minmax(0,1fr) 210px}.workflowGrid{grid-template-columns:1fr}}
@media(max-width:1000px){.customerStepLayout{grid-template-columns:minmax(0,1fr)}.customer #customerHelp{position:static}}
@media(max-width:820px){body:has(#dashboard:not([hidden])) main{padding:0 16px 30px}#staffLayout{grid-template-columns:1fr;gap:8px}#staffLayout>.workspaceSide{width:auto;display:flex;gap:4px;overflow-x:auto;padding:12px 0;background:none;border:0}#staffLayout>.workspaceSide button{width:auto;white-space:nowrap;padding:10px;font-size:12px}#staffLayout>.workspaceSide small{display:none}#staffLayout .pageheading{margin-top:10px;align-items:flex-start;gap:14px;flex-direction:column}.dashMetrics{grid-template-columns:repeat(2,1fr);gap:20px}.dashMetrics>div:nth-child(2){border:0}.dashSplit{grid-template-columns:1fr}.dashTable thead{display:none}.dashTable tr{display:block;border-bottom:1px solid var(--line);padding:12px 0}.dashTable td{display:block;border:0;padding:5px 0}.dashActivity{align-items:flex-start;gap:10px;flex-wrap:wrap}.customerWorkspace{grid-template-columns:1fr;gap:12px}.customer #customerProgress{width:100%;padding:12px;display:flex;flex-wrap:wrap;border:1px solid var(--line);gap:4px}.customer #customerProgress button{width:auto;font-size:12px;padding:8px}.customer #customerProgress small,.customer #customerProgress hr,.customer #customerProgress .customerNewSide{display:none}.customer #customerProgress .stepNumber{width:21px;height:21px}.customer #customerHelp{font-size:13px}.customer .pageheading h1{font-size:27px}.customer .lockedForm{flex-wrap:wrap}.customer .lockedForm>span:nth-child(2){min-width:60%}.customer .customerSummary{grid-template-columns:1fr}.customer .customerSummary dd{margin-bottom:12px}.versionLabel{display:none}}
@media(max-width:500px){.customer .lawyerTiles{grid-template-columns:1fr}.customer .customerPanel{padding:18px}.dashCard{padding:15px}.dashMetrics>div{padding:0 14px}.customer .customerActions{flex-direction:column}.customer .customerActions button{width:100%}#staffLayout>.workspaceSide .uiIcon{display:none}.customer .customerFooter>div{display:grid;grid-template-columns:1fr 2fr}.customer .customerOverviewTitle{gap:8px}.customer .ticketQuestion{padding:16px}.customer .customerWorkspace .workspaceSide button .uiIcon{width:17px;height:17px}}

.customer main{padding-top:20px}.customer #customerIntake{min-width:0}.customer #customerOrder .pageheading{margin:0 0 18px;align-items:flex-start}.customer #customerOrder .pageheading h1{font-size:28px}.customer #customerOrder .pageheading>div:last-child{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.customer .ticketWorkspace .customerFooter{position:static}.customer .ticketWorkspace .customerPanel{padding:18px}.customer .ticketWorkspace .customerPanel h2{font-size:19px}.customer .ticketWorkspace .historyItem{padding-bottom:12px}.customer .ticketWorkspace .lockedForm{padding:8px 0}.customer #customerProgress.workspaceSide{width:200px}.customerWorkspace{grid-template-columns:200px minmax(0,1fr);gap:24px}.customer #customerProgress .done{font-size:13px;padding:10px 8px}.customer .customerOverviewTitle{margin-bottom:14px}.customer .ticketQuestion{margin-bottom:18px}.customer .ticketQuestion p{font-size:14px}.customer .ticketQuestion small{font-size:12px}.customer .ticketWorkspace .contractHint{margin:12px 0 0}.customer .ticketWorkspace .customerFooter{padding:8px 0}#staffLayout .pageheading .eyebrow{display:none}#staffLayout .pageheading h1{margin-top:0}#staffLayout .pageheading p{font-size:13px}.dashTable td:last-child{white-space:nowrap}.customer .ticketWorkspace .workspaceSide{padding-top:16px}
@media(max-width:820px){.customerWorkspace{grid-template-columns:1fr}.customer #customerProgress.workspaceSide{width:100%}.customer #customerOrder .pageheading{flex-direction:column;gap:12px}.customer #customerOrder .pageheading h1{font-size:25px}}

#staffLayout{grid-template-columns:200px minmax(0,1fr);gap:24px}#staffLayout[data-view=overview] .pageheading p{display:none}.dashTable{font-size:12px}.dashTable td:first-child{width:29%}.dashTable td:nth-child(2){width:28%}.dashTable td:nth-child(3){width:35%}.dashTable td:last-child{width:8%}.dashTable td:nth-child(3){max-width:240px}.dashTable td small{font-size:11px}.customer .ticketWorkspace .customerPanel:has(.caseHistory),.customer .ticketWorkspace .customerPanel:has(.lockedForm){border:0;background:transparent;padding:0 4px}.customer .ticketWorkspace .historyItem{display:grid;grid-template-columns:132px minmax(0,1fr);gap:0 12px;padding:7px 0 14px;font-size:13px}.customer .ticketWorkspace .historyItem>small:first-of-type{grid-column:1;grid-row:1}.customer .ticketWorkspace .historyItem>strong{grid-column:2;grid-row:1;font-weight:600}.customer .ticketWorkspace .historyItem>small:not(:first-of-type){grid-column:2}.customer .ticketWorkspace .lockedForm{font-size:12px;padding:8px 0}.customer .ticketWorkspace .ticketQuestion{padding:16px}.customer .ticketWorkspace .customerActions button{min-height:40px;padding:10px 16px;font-size:13px}.customer .ticketWorkspace .customerPanel h2{margin-bottom:14px}
@media(max-width:820px){#staffLayout{grid-template-columns:1fr;gap:8px}.dashTable td:first-child,.dashTable td:nth-child(2),.dashTable td:nth-child(3),.dashTable td:last-child{width:auto;max-width:none}.customer .ticketWorkspace .historyItem{grid-template-columns:1fr;font-size:14px}.customer .ticketWorkspace .historyItem>small:first-of-type,.customer .ticketWorkspace .historyItem>strong,.customer .ticketWorkspace .historyItem>small:not(:first-of-type){grid-column:1;grid-row:auto}.customer .ticketWorkspace .customerActions button{min-height:46px;font-size:14px}}

.workspaceSide{padding:18px 12px}.workspaceSide button{font-size:13px;padding:9px;line-height:1.35}.workspaceSide hr{margin:16px 8px}.customer #customerProgress button{font-size:13px;padding:9px}.customer #customerProgress .done{padding:8px 9px;font-size:12px}.customer #customerProgress small{margin-top:14px}.dashTask strong{font-size:14px}.dashTask small{font-size:12px;line-height:1.45}.dashTask .taskIcon{padding:10px}.dashCard{padding:16px}.dashCard .sectionhead{margin-bottom:14px}.dashCard h2{font-size:18px}.dashTask{padding:11px 0}.dashMetricHelp{font-size:11px;color:var(--muted);margin-top:8px}.dashMetricHelp summary{cursor:pointer}.dashMetricHelp p{margin:8px 0 0}.dashNext{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.dashTable th,.dashTable td{padding:10px 8px}.dashActivity{padding:10px 0}.customer .ticketWorkspace .customerContact{padding-top:12px}
@media(max-width:820px){.dashNext{display:block;overflow:visible}.customer #customerProgress button{font-size:12px;padding:8px}}

/* Demo 2: invitation paths, preparation and the early, existing fee promise. */
#portalQuickInvite{width:min(700px,calc(100vw - 32px));max-width:700px;box-sizing:border-box}.invitationPaths{display:grid;grid-template-columns:1fr 1fr;gap:12px}.invitationPaths label{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:8px;padding:16px;margin:0;cursor:pointer}.invitationPaths label:has(input:checked){border-color:#be9100;background:#fff9e6}.invitationPaths input{width:auto;margin:5px 0}.invitationPaths strong,.invitationPaths small{display:block;margin-top:8px;line-height:1.5}.invitationPaths strong{font-size:15px}.portalInviteForm>label>small{display:block;margin-top:8px;line-height:1.5;color:var(--muted)}.preparationNotice{background:#fff9e6;border:1px solid #ead494;border-radius:8px;padding:20px;margin:20px 0}.preparationNotice h2{margin:0;font-size:21px}.preparationNotice p{line-height:1.6;max-width:800px}.preparedSummary{border-left:3px solid var(--gold);padding:8px 16px;margin:20px 0}.preparedSummary p{line-height:1.6}.preparedDataNote,.preparedFiles{background:#f1f6fb;border:1px solid var(--line);padding:18px;border-radius:8px;margin-bottom:20px;font-size:14px;line-height:1.6}.preparedDataNote p{margin:8px 0 0}.preparedFiles summary{cursor:pointer;font-weight:600}.preparedFiles a{display:block;padding:10px 0}.customer .feePromise{background:#fff9e8;border-color:#ebd596;padding:22px}.promiseHeading{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}.customer .promiseHeading h2{font-size:20px;line-height:1.35;margin-bottom:14px}.languageSwitch{display:flex;gap:4px;flex:none}.languageSwitch button{padding:7px 10px;border:1px solid #bdc6d0;border-radius:6px;background:white;font-size:12px}.languageSwitch .selected{background:var(--navy);border-color:var(--navy);color:white}.feePromise p{font-size:14px;line-height:1.65;margin:10px 0}.feePromise small{display:block;font-size:12px;line-height:1.55}.feePromise .promiseException{font-weight:600}.feePromise details{margin-top:16px;border-top:1px solid #e7d8b2;padding-top:12px;font-size:13px}.feePromise details summary{cursor:pointer;font-weight:600}.feePromise h3{font-size:14px;margin:18px 0 5px}.feePromise .promiseLanguageHint{color:var(--muted);margin-top:12px}.feePromise canvas{display:block;max-width:100%;width:220px;height:50px;margin-top:10px}.customer .preparedDataNote+ .customerPanel{margin-top:0}
@media(max-width:760px){.invitationPaths{grid-template-columns:1fr}.preparationNotice{padding:16px}.preparationNotice .customerActions button{width:100%}.promiseHeading{gap:10px}.customer .feePromise{padding:18px}.customer .promiseHeading h2{font-size:18px}.languageSwitch button{padding:7px 8px}.formFooter>div{flex-wrap:wrap}}

.preparingCustomer label:has(input:is([name=privacy],[name=withdrawal],[name=earlystart],[name=earlystartloss],[name=earlystartvalue],[name=orderconfirmed],[name=withdrawalreceived],[name=startconfirmed])),.preparingCustomer .asideNote{display:none}

.preparedVehicle>strong,.preparedVehicle>small{display:block;overflow-wrap:anywhere}.preparedVehicle .customerActions{margin-top:16px;gap:10px}.preparedVehicle .customerActions button{font-size:13px;padding:11px 14px}.customer .preparedVehicle>p{font-size:14px}.customer .preparedVehicle h2{font-size:20px}

.feedbackCount{margin-left:auto;font-size:.8rem}
.notice.dashWarning{background:#fdecea;border:2px solid #b42318;color:#7a1610;font-size:14px;margin:8px 0 12px}
/* Demo.17 F5/F16: password field directly at the buttons that still need it. */
.portalControls .portalConfirmField{flex:1 1 100%;margin:0 0 4px}.portalConfirm{margin:10px 0}
