/* Measurements use a 1,400 CSS-pixel desktop artboard. Content can grow for translation and zoom. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/assets/plus-jakarta-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --purple:#231342;
  --ink:#241442;
  --violet:#4f25a0;
  --orange:#ff7c33;
  --soft:#eae6f4;
}
body, button, input, select, textarea { font-family:"Plus Jakarta Sans","Segoe UI",sans-serif; }
h1,h2,h3,.btn,.tab { letter-spacing:-.035em; }
.wordmark {display:block;height:auto;aspect-ratio:214 / 51;}
.header .brand img,.startup-brand img {width:214px;max-width:100%;height:auto;aspect-ratio:214 / 51;}
.footer .wordmark,.workspace-footer .wordmark {width:88px;}
.header .nav-right>.btn {background:var(--orange);color:var(--ink);min-width:130px;font-weight:650;}
.header:has(.chat-panel) {position:relative;z-index:20;}
@media(max-width:700px){.header .nav-right:has(.chat-panel){transform:none;}}
.date-citations {display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;}
.optional-documents h2,.optional-documents h3 {margin:0 0 .5rem;}
.optional-group {padding-block:12px;}
.optional-document {display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:6px 0;}
.optional-document label {display:flex;align-items:baseline;gap:8px;flex:1 1 14rem;}
.optional-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.optional-document input {accent-color:var(--violet);}
.development-notice {margin:6px 16px;padding:10px 12px;border-radius:10px;background:var(--purple);color:white;}
.progress li {padding:0;}
.progress li button {display:flex;align-items:center;gap:.3em;min-height:34px;padding:5px 20px;line-height:1.25;font-size:16px;}
.progress li button:disabled {opacity:1;}
.progress {gap:16px;margin:0 0 24px;}
.workspace .step-navigation {margin:0;}
@media(min-width:901px){.step-navigation .progress li,.step-navigation .progress li button {min-height:34px;height:34px;padding-block:0;}}
.checklist-left {min-width:0;}
.checklist-left .checklist-bottom {width:100%;margin:14px 0 0;flex-wrap:wrap;}
.compact-checklist .checklist-bottom {justify-content:flex-start;}
.detailed-checklist .checklist-left .summary-toolbar {width:100%;}
.proof-option {padding:5px 0;font-size:15px;}
.proof-option>label {display:flex;align-items:baseline;gap:9px;cursor:pointer;}
.proof-option>label input {width:16px;height:16px;margin:0;accent-color:#288958;}
.proof-option>p {margin:2px 0 2px 25px;font-size:14px;}
.proof-tools {margin-left:25px;font-size:12px;}
.proof-tools summary,.share-preview summary {color:var(--violet);cursor:pointer;}
.proof-tools>div {display:flex;align-items:center;gap:8px;}
.upload-recovery-actions {display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap;}
.upload-recovery-actions:empty {display:none;}
.workflow-popover .export-options>button::after,.chat-panel .suggestions button::after {
  content:"";width:8px;height:8px;flex:none;margin-left:auto;border:solid currentColor;
  border-width:2px 2px 0 0;transform:rotate(45deg);
}
.workflow-popover .switch-reminder {margin-top:12px;display:flex;align-items:center;gap:8px;color:var(--violet);}
.workflow-popover .switch-reminder .icon {width:18px;height:18px;}
.workflow-popover .calendar-app {display:grid;gap:5px;margin:12px 0;padding:0;border:0;}
.calendar-app>legend {font-size:12px;margin-bottom:4px;}
.calendar-app>label {display:flex;align-items:center;gap:10px;padding:8px 12px;background:#f3eff8;border-radius:8px;font-weight:650;cursor:pointer;}
.calendar-app .icon {width:19px;height:19px;}
.calendar-app input {margin-left:auto;accent-color:var(--violet);}
.workflow-popover .share-options {grid-template-columns:repeat(3,minmax(0,1fr));}
.workflow-popover .share-options>.btn {display:flex;flex-direction:column;align-items:center;gap:5px;padding:4px;background:white;color:var(--ink);font-size:12px;}
.workflow-popover .share-options .icon {box-sizing:border-box;width:52px;height:52px;padding:13px;border-radius:50%;background:#f3f0fa;}
.workflow-popover .share-options [data-channel=whatsapp] .icon {background:#e1f4e7;color:#24894e;}
.workflow-popover .share-note {font-size:12px;}
.identity-excerpt {font-size:13px;color:var(--violet);}
.identity-excerpt>summary {cursor:pointer;}
.identity-excerpt>blockquote {margin:7px 0;padding-left:12px;border-left:2px solid var(--orange);}
.check-deadline {display:inline-flex;align-items:center;gap:6px;border-radius:18px;padding:6px 12px;background:#ffd019;color:var(--ink);}
.check-deadline .icon {width:16px;}
.compact-checklist .checklist-bottom>span {display:none;}
.speech-controls.finished {color:white;}
.summary-panel:has(.speech-controls)>[data-action=read-aloud],.summary-toolbar:has(.speech-controls)>[data-action=read-aloud]{display:none;}
.summary-panel:has(.speech-controls) .speech-controls {width:100%;}
.workflow-popover .share-preview {padding:12px;border-radius:9px;background:#f3eff7;}
.workflow-popover .share-preview>p {margin:5px 0;}
.speech-controls.finished>span {white-space:nowrap;font-size:12px;}
.workspace .page-heading {margin:0;}
.page-heading h1 {font-size:clamp(34px,3.45vw,49px);line-height:1.08;margin:0;letter-spacing:-.043em;}
.page-heading p {margin:5px 0 0;font-size:19px;line-height:1.35;}
.nav-right .chat-widget {width:144px;margin:0;}
.nav-right .chat-badge {min-height:36px;font-size:15px;padding:3px 10px;border-radius:19px;}
.nav-right .ask-symbol {width:24px;height:24px;}
.nav-right .chat-panel {text-align:left;}
.assistant-heading {margin-bottom:20px;align-items:end;}
.assistant-heading .chat-widget {margin-bottom:0;}
.chat-badge {background:white;color:var(--ink);min-height:56px;border-radius:18px;}
.chat-badge .ask-symbol {color:white;background:#ff7c33;}
.capture-view .assistant-heading {display:block;}
.capture-tips {margin:16px 0 40px;gap:40px;}
.capture-tips>span {padding:10px 20px;min-height:69px;border-radius:8px;}
.capture-tips b {font-size:23px;letter-spacing:-.035em;}
.capture-tips small {font-size:16px;line-height:1.25;}
.capture-layout {grid-template-columns:minmax(0,2.23fr) minmax(280px,1fr);gap:48px;align-items:center;}
.capture-panel {padding:28px 32px 32px;}
 .capture-panel .tabs {display:flex;justify-content:center;gap:12px;margin:0 auto 29px;max-width:590px;}
.capture-panel .tab {min-height:50px;font-size:14px;flex:0 1 270px;color:#130f19;background:white;border:1px solid #211c22;}
.capture-panel .tab:first-child {flex-basis:304px;}
.capture-panel .tab.active {background:var(--violet);border-color:var(--violet);color:white;}
.capture-panel .tab:disabled {opacity:.85;}
.upload-zone,.camera-box {background:var(--soft);border:1.5px dashed #6b6573;border-radius:10px;min-height:238px;padding:22px;justify-content:center;align-content:center;}
.upload-zone h3,.camera-box h3 {font-size:24px;color:#100e13;line-height:1.15;margin:8px 0;}
.upload-zone p,.camera-box p {font-size:17px;line-height:1.35;margin:3px 0 12px;}
.upload-zone .small-note {font-size:11px;margin:6px 0 0;}
.upload-zone .upload-icon,.camera-box #camera-live>.icon {color:#121016;background:transparent;width:30px;height:30px;padding:0;margin:auto;}
.upload-zone .btn,.camera-box .btn {min-height:45px;margin:4px;font-size:15px;padding:10px 22px;}
.upload-zone.has-error {background:#fff3e2;border:2px dashed #bb6c1f;}
.upload-zone.received {background:#e8ffe8;border:2px dashed #56af65;}
.upload-state-icon,.recovery-icon {display:inline-grid;place-items:center;background:#ffb500;color:var(--ink);border-radius:50%;width:50px;height:50px;}
.received .upload-state-icon,.received-label {background:#47c76a;}
.received-label {border-radius:20px;padding:4px 14px;font-size:13px;font-weight:700;}
.pages-panel {padding:24px 30px;align-self:center;}
.pages-panel .panel-top h3 {font-size:16px;}
.pages-panel .page-count {background:none;color:var(--ink);font-size:12px;}
.pages-panel .empty-pages {min-height:140px;border-radius:9px;background:var(--soft);}
.pages-panel .page-list {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 8px;}
.page-item {position:relative;}
.page-item .page-thumb {height:148px;}
.page-item .page-info small,.page-controls {opacity:0;}
.page-item:hover .page-info small,.page-item:focus-within .page-info small,.page-item:hover .page-controls,.page-item:focus-within .page-controls {opacity:1;}
.page-controls {position:absolute;bottom:0;right:0;}
.pages-panel .btn {min-height:42px;font-size:14px;}
.page-picker {display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:8px;margin:14px 0;}
.camera-box:has(.camera-viewport),.camera-box:has(.camera-error) {padding:0;border:0;background:transparent;position:relative;}
.camera-viewport,.camera-viewport video,.camera-viewport>img {width:100%;height:auto;aspect-ratio:2.68;object-fit:cover;display:block;}
.camera-viewport {border-radius:9px;}
.camera-viewport .camera-frame {inset:4% 29%;border-radius:16px;}
.camera-viewport[data-quality=failed] {--guide-color:#fc4c57;}
.camera-viewport[data-quality=added] {--guide-color:#52ce78;}
.camera-hint {display:flex;align-items:center;gap:6px;left:14px;top:13px;font-weight:600;line-height:1.2;}
.camera-hint .icon {width:18px;height:18px;}
.camera-viewport:is([data-quality=hold],[data-quality=align]) .camera-hint {background:#302a24df;color:white;}
.camera-viewport+button {position:absolute;right:10px;bottom:8px;background:#231342d9;color:white;}
.camera-error {padding:0;}
.recovery-grid {display:grid;grid-template-columns:1fr 1.04fr;align-items:center;text-align:left;gap:18px;padding:20px;background:var(--soft);border-radius:10px;}
.recovery-icon {width:72px;height:72px;}
.recovery-icon .icon {width:40px;height:40px;}
.recovery-grid .btn {margin-left:0;}
.phone-scan-card {display:flex;align-items:center;gap:12px;border:0;padding:14px;background:white;color:var(--ink);border-radius:20px;text-align:left;}
.phone-scan-card>.icon,.phone-scan-card img {width:58px;height:58px;flex:none;}
.phone-scan-card small {display:block;margin-top:5px;}
.camera-box:has(.recovery-grid) {display:block;padding:0;border:0;background:transparent;}
.recovery-grid {grid-template-columns:minmax(0,.9fr) minmax(0,1fr);min-height:280px;padding:19px 18px 19px 30px;gap:14px;background:#eae6f4;color:#090909;}
.recovery-grid .recovery-icon {width:89px;height:89px;background:#ffcc00;color:#090909;}
.recovery-grid .recovery-icon .icon {width:47px;height:47px;}
.recovery-grid h3 {margin:10px 0 6px;font-size:24px;line-height:1.15;}
.recovery-grid p,.recovery-grid .phone-scan-card small {font-size:17px;font-weight:600;line-height:1.2;margin:0;}
.recovery-grid .btn {min-height:60px;margin:9px 0 0 -10px;padding:0 40px;color:#090909;background:#ff7c33;font-size:18px;}
.recovery-grid .phone-scan-card {width:100%;min-height:134px;padding:16px 19px;gap:16px;border-radius:28px;color:#090909;overflow:hidden;}
.recovery-grid .phone-scan-card>img,.recovery-grid .phone-scan-card>.icon {width:min(8vw,100px);height:auto;aspect-ratio:1;flex:none;}
.recovery-grid .phone-scan-card b {display:block;font-size:24px;line-height:1.13;margin-bottom:4px;}
.recovery-grid h3,.recovery-grid .phone-scan-card b {letter-spacing:-.015em;font-weight:700;}
.recovery-grid [role=alert] p {max-width:310px;}
@media(min-width:901px){
  .capture-view:has(.recovery-grid) .page-heading {padding-top:6px;}
  .capture-view:has(.recovery-grid) .page-heading h1 {font-size:36px;}
  .capture-view:has(.recovery-grid) .page-heading p {font-weight:650;margin-top:2px;}
  .capture-view:has(.recovery-grid) .capture-tips {grid-template-columns:.95fr 1fr;margin-bottom:72px;}
  .capture-view:has(.recovery-grid) .capture-layout {margin-inline:-15px;grid-template-columns:minmax(0,2.3fr) minmax(280px,1fr);gap:47px;}
  .capture-view:has(.recovery-grid) .capture-panel {padding:24px 30px 20px;}
  .capture-view:has(.recovery-grid) .capture-panel .tabs {margin-bottom:30px;}
  .capture-view:has(.recovery-grid) .capture-panel .tab {min-height:50px;}
  .capture-view:has(.recovery-grid) .pages-panel {padding-inline:42px;}
  .capture-view:has(.recovery-grid) .pages-panel .small-note {text-align:center;}
  .recovery-grid .phone-scan-card>img {width:min(10vw,130px);margin:-14px -13px -14px -14px;max-width:none;}
}
@media(max-width:700px){
  .recovery-grid {grid-template-columns:1fr;padding:20px;}
  .recovery-grid .btn {margin-left:0;}
  .recovery-grid .phone-scan-card {min-height:88px;}
  .quality-recovery .phone-scan-card>img,.quality-recovery .phone-scan-card>.icon {width:60px;}
}
.reading {margin-top:44px;gap:56px;align-items:center;}
.reading-copy h1 {line-height:.98;}
.scanning-paper {position:relative;}
.reading-sheet-art {position:relative;width:fit-content;max-width:100%;margin-inline:auto;}
.reading-sheet-art>img {display:block;width:auto;max-width:100%;height:auto;max-height:480px;border-radius:20px;}
.reading-highlight {position:absolute;pointer-events:none;border:2px solid #7161b2;border-radius:4px;background:#6756a81a;}
.reading-highlight.deadline {border-color:var(--orange);background:#ff7c3329;}
.reading-count {position:absolute;bottom:-8px;right:-10px;transform:rotate(3deg);border-radius:50%;min-width:42px;height:42px;display:grid;place-items:center;background:var(--violet);color:white;font-weight:750;}
.reading-findings {list-style:none;display:flex;gap:9px;flex-wrap:wrap;margin:12px 0;padding:0;}
.findings-label,.proof-heading {display:block;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;}
.source-deadline {position:absolute;z-index:2;top:8px;right:8px;padding:5px 10px;border-radius:8px;background:var(--orange);color:var(--ink);font-weight:700;}
.reading-finding {display:inline-flex;align-items:center;gap:8px;background:#ffffff1c;border:1px solid #ffffff3d;border-radius:24px;padding:7px 13px 7px 10px;font-size:15px;font-weight:650;line-height:24px;color:#fff;}
.reading-finding>.icon {width:24px;height:24px;flex:none;color:var(--orange);}
.reading-finding[data-status=found]>.icon {border-radius:50%;padding:4px;background:var(--orange);color:var(--purple);}
.reading .timeline .dot {display:grid;place-items:center;}
.reading .timeline li:not(.complete) .dot {border:0;background:none;}
.reading .timeline li:not(.complete) .dot .icon {width:100%;height:100%;}
.reading .timeline .waiting b {font-weight:500;}
.reading .timeline small {font-size:16px;font-weight:700;}
.reading .findings-label {display:block;font-size:14px;font-weight:750;letter-spacing:.055em;color:#cbbfdd;}
.reading .reading-copy>p:not(.micro) {font-size:20px;font-weight:700;line-height:1.4;}
.reading .reading-copy>.micro {display:flex;align-items:center;gap:9px;flex-wrap:wrap;}
.reading .reading-copy>.micro .icon {width:24px;height:24px;}
.reading .reading-copy>.micro .text-btn {padding:0;min-height:0;text-decoration:underline;font-weight:700;}
@media(max-width:760px) {
  .reading {grid-template-columns:minmax(0,1fr);gap:26px;}
  .reading .reading-preview {display:block;order:2;margin-top:8px;}
  .reading .scanning-paper {max-width:168px;min-height:0;}
  .reading-sheet-art>img {max-height:230px;}
  .reading .scan-badge {width:36px;height:36px;top:-13px;right:-10px;}
  .reading .scan-badge .icon {width:19px;height:19px;}
  .reading .reading-count {min-width:28px;height:28px;right:-8px;}
  .reading-preview>p {margin-top:17px;font-size:14px;}
  .reading .reading-copy>p:not(.micro) {font-size:16px;}
  .reading .timeline small {font-size:13px;}
}
.fact-card {padding:20px 17px 14px;margin-bottom:10px;border-radius:26px;}
.fact-card header {min-height:36px;gap:12px;}
.fact-card .fact-number {width:39px;height:39px;}
.fact-card h2 {font-size:19px;font-weight:800;letter-spacing:-.035em;}
.fact-card>p {margin:12px 0 6px;font-size:21px;line-height:1.23;letter-spacing:-.025em;}
.fact-card .cite,.compact-checklist .group-source .cite {background:var(--soft);color:var(--ink);border-radius:24px;font-size:16px;font-weight:700;padding:8px 18px;min-height:46px;}
.fact-card .cite[aria-pressed=true],.request-group .cite[aria-pressed=true] {background:var(--orange);color:var(--ink);}
.action-summary {min-height:145px;}
.fact-card.deadline-card {border:10px solid var(--orange);padding:14px 17px;}
.deadline-card:has(.verified-deadline),.deadline-card:has(>.date-value) {display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;}
.deadline-card:has(.verified-deadline)>header,.deadline-card:has(>.date-value)>header {flex:none;}
.verified-deadline {display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;flex-wrap:wrap;}
.verified-deadline strong,.deadline-card>.date-value {font-size:clamp(23px,2.8vw,40px);line-height:1.13;letter-spacing:-.045em;}
.verified-deadline>span {display:inline-flex;align-items:center;gap:6px;background:var(--orange);color:#211121;border-radius:9px;padding:8px 12px;font-size:16px;font-weight:750;}
.verified-deadline>.icon {width:20px;height:20px;}
.deadline-card:has(.verified-deadline)>.cite,.deadline-card:has(>.date-value)>.micro,.deadline-card:has(.verified-deadline)>details {margin-right:auto;flex-basis:auto;}
.verified-deadline::after {content:none;}
.deadline-card:has(.verified-deadline)>.cite {order:2;}
.deadline-card:has(.verified-deadline)::after {content:"";flex-basis:100%;height:0;order:1;}
.deadline-card>details {width:100%;order:3;}
.summary-panel {padding:22px 20px 15px;}
.summary-panel h2 {font-size:21px;margin-bottom:9px;}
.summary-panel .btn {min-height:47px;}
.summary-sidebar .original-letter {padding:14px 12px;}
.summary-panel .summary-file {min-height:120px;}
.inline-source-image {position:relative;}
.inline-source-image .highlight-box {border:3px solid #ff7c33;border-radius:8px;background:#ff94342a;}
.check-title {display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.check-title .page-heading {margin-right:auto;}
.check-due {display:grid;text-align:left;}
.check-due small,.group-status {font-weight:750;letter-spacing:.1em;text-transform:uppercase;font-size:11px;}
.check-due>span {color:#ffad72;font-size:.76rem;}
.check-title .btn {min-height:44px;border-radius:9px;}
.checklist-view .checklist-layout {align-items:start;}
.detailed-checklist .checklist-main:has(.request-group) {background:white;border-radius:20px;overflow:hidden;}
.check-progress {padding:18px 24px;color:var(--ink);display:flex;align-items:center;gap:18px;min-height:54px;border-bottom:1px solid #e9e1f1;font-size:14px;}
.check-progress progress {flex:1;min-width:30px;height:7px;accent-color:#32ab67;}
.checklist-main .request-group {position:relative;display:flex;gap:16px;align-items:flex-start;color:var(--ink);border:0;border-bottom:1px solid #eee6f5;margin:0;border-radius:0;padding:20px 26px;min-height:126px;}
.group-marker {display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:#ffefe2;color:#ba4b0b;}
.group-marker .icon {width:18px;height:18px;}
.request-group.ready .group-marker {background:#dcf8e8;color:#258e52;}
.group-main {flex:1;min-width:0;}
.group-main>h2 {margin:3px 0 4px;font-size:22px;}
.group-main>p {font-size:15px;margin:0 0 7px;}
.group-status {color:#a63b00;}
.ready .group-status {color:#187a47;}
.group-source {float:right;}
.group-source .cite {min-height:32px;background:transparent;color:var(--violet);padding:6px;font-size:13px;}
.group-expansion>summary {list-style:none;cursor:pointer;font-size:13px;font-weight:700;color:var(--violet);padding:8px 0;}
.group-expansion>summary span:nth-child(2),.group-expansion[open]>summary span:first-child {display:none;}
.group-expansion[open]>summary span:nth-child(2) {display:inline;}
.group-expansion summary .icon {width:12px;height:12px;vertical-align:middle;}
.group-expansion[open]>summary .icon {transform:rotate(180deg);}
.group-proofs {clear:both;border-left:2px solid #f0eaf6;padding-left:16px;}
.group-proofs .check-item {background:transparent;border:none;border-radius:0;padding:8px 0;margin:0;}
.group-proofs .check-head {gap:8px;}
.group-proofs .note-check {width:18px;height:18px;background:transparent;color:#46935c;}
.group-proofs .check-head h3 {font-size:16px;margin:0;}
.group-proofs .check-head p {font-size:13px;margin:3px 0;}
.group-proofs .check-actions {padding:4px 0;gap:12px;justify-content:flex-start;}
.group-proofs .check-actions .btn,.group-proofs .cite {font-size:12px;min-height:32px;padding:4px 12px;}
.compact-checklist .request-group {border-radius:21px;margin:0 0 10px;min-height:116px;padding:17px 20px;}
.compact-checklist .group-status {float:right;line-height:1.4;border-radius:14px;padding:3px 12px;background:#ffcb02;color:#402a08;letter-spacing:0;text-transform:none;}
.compact-checklist .ready .group-status {background:#e2f4ea;color:#217c4b;}
.compact-checklist .group-source .cite {background:var(--soft);color:var(--ink);}
.compact-checklist .group-main>h2 {font-size:25px;}
.compact-checklist .group-marker {margin-top:15px;background:#ffd129;}
.compact-checklist .ready .group-marker {background:#3bc56a;color:white;}
.detailed-checklist .summary-toolbar {width:calc((100% - 24px) * .703);margin:16px 0 0;padding:12px 16px;gap:10px;}
.summary-toolbar .mini-document {width:40px;min-width:40px;height:51px;}
.summary-toolbar>div {flex:1;}
.summary-toolbar .btn {font-size:13px;min-height:40px;padding:7px 14px;}
.compact-checklist .summary-toolbar {display:none;}
.sending-progress {display:none;}
.sending-card {padding:22px 20px;}
.sending-card>h2 {font-size:22px;}
.delivery-method {display:flex;align-items:flex-start;gap:12px;margin:10px 0;color:var(--ink);}
.delivery-method:first-of-type {background:#fff2e7;padding:12px;border-radius:12px;}
.delivery-method>.icon {width:34px;height:34px;padding:8px;flex:none;border-radius:8px;background:#f0eafa;}
.delivery-method b {font-size:15px;}
.delivery-method p {margin:2px 0;font-size:13px;line-height:1.35;}
.delivery-method .cite {font-size:11px;padding:1px 6px;min-height:23px;}
.workflow-popover .reminder-tabs>button,.workflow-popover .export-options>button {background:#f3f0fa;color:var(--ink);border-radius:14px;min-height:60px;padding:8px 14px;gap:12px;font-size:15px;justify-content:flex-start;text-align:left;}
.workflow-popover .reminder-tabs>button>.icon,.workflow-popover .export-options>button>.icon {width:40px;height:40px;flex:none;border-radius:11px;background:white;color:var(--ink);padding:9px;}
.workflow-popover small {display:block;font-size:12px;font-weight:500;}
.workflow-popover::backdrop {background:transparent;}
.workflow-popover .share-preview {max-height:112px;overflow:auto;}
.workflow-popover .consent {font-size:13px;margin:9px 0;}
.workflow-popover .dialog-body p {font-size:14px;}
dialog.workflow-popover {width:min(350px,calc(100vw - 24px));border:0;border-radius:20px;color:var(--ink);background:white;overflow:auto;max-height:calc(100dvh - 24px);}
.workflow-popover .dialog-header {padding:15px 14px 8px;gap:8px;align-items:center;}
.workflow-popover .dialog-header h2 {font-size:16px;line-height:1.25;margin:0;}
.workflow-popover .dialog-body {padding:0 14px 14px;}
.workflow-popover .dialog-header .icon-btn,.chat-panel>header .icon-btn {
  display:grid;place-items:center;min-width:28px;min-height:28px;width:28px;height:28px;
  padding:6px;flex:none;background:var(--purple);color:white;border:0;border-radius:50%;
}
.workflow-popover .dialog-header .icon-btn .icon,.chat-panel>header .icon-btn .icon {width:14px;height:14px;}
.workflow-popover .export-options,.workflow-popover .reminder-tabs {gap:8px;}
.workflow-popover .export-options small,.workflow-popover .reminder-tabs small {line-height:1.35;color:#594977;}
.workflow-popover .dialog-body>p:last-child {margin:9px 0 0;line-height:1.45;}
.workflow-popover .share-options {gap:12px 4px;margin-block:18px 14px;}
.workflow-popover .share-options>.btn {gap:6px;min-height:70px;}
.workflow-popover .share-preview {background:#f3f0fa;border-left:5px solid var(--orange);border-radius:14px;}
.workflow-popover .calendar-app>label,.workflow-popover .switch-reminder {min-height:46px;border-radius:12px;}
.workflow-popover .calendar-app>label:has(:checked) {box-shadow:inset 0 0 0 1px var(--violet);}
.workflow-popover .reminder-tabs>button:last-child {background:white;}
.workflow-popover .reminder-tabs>button:last-child .icon {background:var(--soft);}
.workflow-popover:has(.reminder-tabs) .dialog-header h2 {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;}
.workflow-popover:has(.reminder-tabs) .dialog-header {position:absolute;top:9px;right:9px;padding:0;}
.workflow-popover:has(.reminder-tabs) .dialog-body {padding:9px 44px 9px 9px;}
.workflow-popover .export-options button:hover,.workflow-popover .reminder-tabs button:hover,
.workflow-popover .calendar-app>label:hover,.chat-panel .suggestions button:hover {background:#eae6f4;}
.workflow-popover::backdrop {backdrop-filter:none;}
.chat-panel>header {padding:20px 24px 10px;}
.chat-panel>header>span {grid-template-columns:34px 1fr;font-size:20px;line-height:1.2;}
.chat-panel>header>span>.icon {width:34px;height:34px;}
.chat-panel>header small {font-size:14px;}
.chat-scroll {padding:6px 24px 12px;}
.stage-pill {font-size:13px;font-weight:700;}
.chat-scroll h3 {max-width:245px;margin:15px 0 12px;font-size:23px;line-height:1.15;}
.chat-panel .suggestions {gap:12px;}
.chat-panel .suggestions button {
  gap:12px;padding:12px 18px;min-height:64px;border:2px solid #d9cef1;border-radius:18px;
  font-size:16px;font-weight:700;line-height:1.25;
}
.chat-panel .suggestions button::before {flex-basis:30px;height:30px;}
.chat-panel .suggestions button::after {width:6px;height:6px;border-width:1.5px 1.5px 0 0;}
.chat-panel .chat-form {border-radius:20px;border-color:var(--ink);margin-inline:24px;}
.chat-panel .chat-form input {border:0;border-radius:12px;background:white;}
.chat-form .voice-tools>.icon-btn {width:40px;height:40px;}
.chat-panel .chat-disclaimer {font-size:11px;}
.pages-panel [data-action=analyze]:disabled {opacity:1;color:var(--ink);background:#ffe5d6;}
.capture-panel .upload-zone:not(.has-error,.received),.capture-panel .camera-box:has(#camera-live):not(:has(.camera-viewport,.recovery-grid)) {
  background-color:var(--soft);border:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' rx='10' fill='none' stroke='%23231342' stroke-width='2' stroke-dasharray='12 11'/%3E%3C/svg%3E");
}
.chat-panel:has(.voice-status) .chat-scroll {display:none;}
.voice-status {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:226px;text-align:center;font-weight:700;color:var(--ink);}
.voice-orb {width:72px;height:72px;border-radius:50%;display:grid;place-items:center;}
.speaking .voice-orb {background:radial-gradient(circle at 35% 25%,#ffab64,#ff7c33);box-shadow:0 0 0 9px #ffe7d4;}
.listening .voice-orb {background:white;box-shadow:0 2px 6px #23134235;}
.voice-status .text-btn {border:1px solid var(--ink);border-radius:20px;padding:5px 22px;}
@media(min-width:901px) {
  .header .brand {position:relative;left:1px;top:8.5px;}
  body[data-view=home] .header .brand {top:-.5px;}
  .header .nav {padding-inline:4.642857%;}
  .header .nav-right {gap:56px;padding-right:5px;transform:translateY(8px);}
  body[data-view=home] .header .nav-right {transform:none;}
  .header .language button {width:40px;height:22px;}
  .hero-language {max-width:416px;margin-bottom:24px;}
  .hero-language button {min-height:60px;}
  .hero-copy {align-self:center;transform:translateY(8px);}
  .hero-slide .example-date {bottom:12px;left:0;}
  .hero-slide .hero-testimonial {bottom:10px;right:18px;}
  .hero-visual {margin-right:0;}
  .hero h1 {font-weight:700;}
  .answer-actions [data-action=checklist] {min-width:252px;}
  .answer-actions [data-action=reminder] {min-width:198px;}
  .step-navigation li:nth-child(1) button {min-width:139px;}
  .step-navigation li:nth-child(2) button {min-width:124px;}
  .step-navigation li:nth-child(3) button {min-width:155px;}
  .step-navigation li:nth-child(4) button {min-width:163px;}
  .step-navigation li button {justify-content:center;}
  .pages-panel .empty-pages {margin-inline:10px;border-color:#50465f;}
  .pages-panel .empty-pages .icon {width:20px;height:20px;color:var(--ink);}
  .detailed-checklist .group-source {float:left;margin-right:12px;}
  .detailed-checklist .group-expansion summary {width:max-content;max-width:100%;display:flex;align-items:center;gap:6px;}
  .detailed-checklist .checklist-left .summary-toolbar {width:100%;}
  .hero-copy>p.micro {max-width:380px;color:white;font-weight:600;}
  .hero-copy .micro .icon {width:28px;height:28px;}
  .hero-copy>p:not(.micro) {max-width:580px;}
  .capture-view .page-heading h1 {font-size:44px;}
  .capture-view:has(#camera-live) .page-heading h1 {font-size:36px;}
  .capture-view .capture-tips {grid-template-columns:.95fr 1fr;margin-bottom:42px;}
  .capture-view:has(#dropzone) .assistant-heading {padding-top:15px;}
  .capture-panel {padding:28px 30px 32px;}
  .camera-box:has(#camera-live):not(:has(.camera-viewport,.recovery-grid)) {min-height:282px;}
  .capture-view .pages-panel {padding:24px 30px 16px;}
  .capture-panel #camera-live>h3,.capture-panel .upload-zone h3 {font-weight:750;}
  .capture-panel #camera-live>p,.capture-panel .upload-zone:not(.has-error)>p {font-weight:650;}
  .capture-panel #camera-live>[data-action=camera-start],.upload-zone:not(.has-error) [data-action=choose-file] {min-height:60px;min-width:200px;font-size:18px;}
  .capture-panel #camera-live>[data-action=camera-start] {color:var(--ink);}
  .capture-layout .pages-panel:has(.empty-pages) .small-note {text-align:center;}
  .ask-trutext:not(.nav-right *) .ask-symbol {width:34px;height:34px;}
  .checklist-view .check-progress {min-height:54px;}
  .detailed-checklist .checklist-main .request-group {min-height:138px;}
  .compact-checklist .group-main>h2 {font-size:28px;}
  .compact-checklist .group-status {min-width:100px;text-align:center;}
  .answer-layout,.assistant-heading,.checklist-layout {grid-template-columns:minmax(0,2.43fr) minmax(275px,1fr);gap:28px;}
  body:is([data-view=answer],[data-view=checklist]) .workspace>.shell {padding-inline:5%;}
  body[data-view=answer] .assistant-heading {min-height:104px;}
  .checklist-view .assistant-heading {margin-bottom:42px;}
  .capture-tips {margin-bottom:22px;}
  .fact-card.action-summary {padding-block:14px 10px;}
  .fact-card.deadline-card {padding-block:8px;}
  .answer-actions {margin-top:14px;}
  body[data-view=answer] .assistant-heading .chat-widget {margin-bottom:4px;}
  .assistant-heading .chat-widget:has(.chat-panel) {align-self:start;}
  .assistant-heading .chat-widget:has(.chat-panel) .chat-badge {visibility:hidden;}
  .assistant-heading .chat-widget .chat-panel {top:0;width:100%;}
  .chat-widget .chat-panel {top:calc(100% + 6px);}
  .nav-right .chat-widget .chat-panel {top:calc(100% + 8px);}
  .reading {margin-top:48px;}
  .hero {padding-top:0;min-height:calc(100vw * .498);align-items:center;}
  .hero-visual {min-height:680px;}
}
@media(max-width:900px){
  .assistant-heading,.answer-layout,.checklist-layout,.capture-layout {grid-template-columns:1fr;gap:14px;}
  .nav-right .chat-widget {width:auto;}
  .nav-right .chat-badge {font-size:12px;}
  .detailed-checklist .summary-toolbar {width:100%;}
  .hero-visual {min-height:390px;}
}
@media(max-width:650px){
  .header .brand img {width:min(32vw,164px);}
  .header .nav-right {gap:6px;flex-wrap:wrap;justify-content:flex-end;}
  .header .nav-right>.btn {min-width:0;padding:6px 10px;min-height:32px;font-size:12px;}
  .capture-tips {grid-template-columns:1fr;gap:7px;margin-bottom:14px;}
  .capture-panel,.pages-panel {padding:16px;}
  .recovery-grid {grid-template-columns:1fr;}
  .capture-panel .tab {font-size:12px;}
  .detailed-checklist .summary-toolbar {width:100%;}
  .checklist-main .request-group {padding:16px;gap:10px;}
  .compact-checklist .group-main>h2 {font-size:19px;}
  .check-title {gap:10px;}
  p.tag {max-width:100%;white-space:normal;overflow-wrap:anywhere;}
  .hero-copy>p {font-size:19px;}
}


/* The desktop results have independent columns. Expanding a guide or a proof
   must not reserve empty height above the neighboring column. */
.results-layout .assistant-heading {display:block;margin:0;}
.results-layout .answer-layout {display:block;min-width:0;}
.results-rail {min-width:0;}
.results-rail .summary-sidebar {position:static;min-width:0;}
.group-marker>.icon:nth-child(2) {display:none;}
.source-sheet,.evidence-paper {position:relative;}
.source-sheet>img {width:100%;height:auto;display:block;}
.source-sheet>pre {margin:0;padding:16px;white-space:pre-wrap;}
.evidence-paper {width:95%;margin:0 auto;}
.evidence-paper .source-deadline {top:14%;right:-4%;max-width:55%;font-size:14px;padding:9px 12px;}
.evidence-paper .source-player,.evidence-paper .inline-source-tools {position:absolute;bottom:10px;z-index:2;}
.evidence-paper .source-player {left:8px;max-width:calc(100% - 115px);}
.source-player .btn {min-height:38px;font-size:14px;padding:7px 14px;}
.source-player:has(.speech-controls) {position:static;max-width:none;margin-top:6px;}
.evidence-paper:has(.speech-controls) .inline-source-tools {bottom:58px;}
.evidence-paper .inline-source-tools {right:-3%;gap:0;padding:2px 4px;color:white;background:var(--violet);border-radius:24px;font-size:13px;font-weight:700;}
.evidence-paper .inline-source-tools .icon-btn {width:26px;min-width:26px;height:30px;min-height:30px;}
.inline-source-tools .icon {width:13px;height:13px;}
.source-caption {display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:7px 2.5% 3px;font-size:13px;}
.source-caption>details,.source-caption>.text-btn {min-width:0;color:white;}
.source-caption summary {cursor:pointer;}
.source-caption>.text-btn {margin-left:auto;text-decoration:underline;}
.results-rail .chat-badge {font-size:21px;letter-spacing:-.025em;}
.results-layout .page-heading h1 {letter-spacing:0;line-height:1.08;font-weight:750;}
.results-layout .fact-card header>.cite {font-size:18px;min-height:46px;padding:7px 19px;}
.results-layout .fact-card .cite {font-size:18px;letter-spacing:-.02em;line-height:1.15;}
.results-layout .fact-card>p {margin:10px 0 6px;letter-spacing:-.012em;line-height:1.23;}
.results-layout .identity-excerpt>summary {display:inline-flex;gap:4px;align-items:center;font-weight:650;cursor:pointer;}
.identity-excerpt>summary:after {content:"";width:5px;height:5px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);}
.identity-excerpt[open]>summary:after {transform:rotate(225deg);}
.results-layout .deadline-card .verified-deadline>span {min-height:44px;font-size:17px;gap:8px;}
.deadline-sources {order:2;display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;}
.printed-sources {font-size:13px;}
.printed-sources>summary {color:var(--violet);cursor:pointer;}
.results-layout .summary-panel>p {font-size:14px;line-height:1.4;margin-bottom:12px;}
.results-layout .summary-panel h2 {font-size:21px;letter-spacing:-.017em;}
.results-layout .summary-file {padding:12px 14px;}
.results-layout .original-letter {text-align:left;}
.results-layout .original-letter>.icon:first-child {width:40px;height:56px;background:#fffdf5;border-radius:3px;color:#d8d2df;padding:10px;box-shadow:0 2px 5px #0003;}
.results-layout .summary-toolbar .btn.secondary {background:white;color:var(--ink);border:1px solid var(--ink);}
.check-segments {display:flex;gap:5px;flex:1;min-width:36px;}
.check-segments>i {flex:1;min-width:0;height:6px;border-radius:5px;background:var(--soft);}
.check-segments>i.done {background:#37a46a;}
.detailed-checklist .check-progress {justify-content:space-between;padding:14px 26px;gap:18px;}
.detailed-checklist .group-status {display:block;line-height:1.2;font-size:10px;letter-spacing:.075em;}
.detailed-checklist .group-main>h2 {font-size:24px;margin:5px 0;letter-spacing:-.015em;}
.detailed-checklist .group-main>p {margin:0 0 4px;color:#584f65;line-height:1.38;}
.detailed-checklist .group-expansion {display:contents;}
.detailed-checklist .group-expansion::details-content {grid-column:1 / -1;grid-row:5;min-width:0;}
.detailed-checklist .group-main {display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:0 16px;}
.detailed-checklist .group-main>:is(h2,small,p),.detailed-checklist .group-proofs {grid-column:1 / -1;}
.detailed-checklist .group-expansion>summary {grid-column:1;grid-row:4;min-height:28px;display:flex;align-items:center;gap:5px;padding:3px 0;}
.detailed-checklist .group-source {grid-column:2;grid-row:4;float:none;margin:0;justify-self:start;}
.detailed-checklist .group-main .group-source .cite {min-height:28px;padding:3px 0;flex-direction:row-reverse;font-size:13px;color:var(--violet);background:transparent;}
.detailed-checklist .group-main .group-source .cite .icon {width:13px;height:13px;}
.detailed-checklist .group-proofs {grid-row:5;margin:6px 0 0 -19px;padding:2px 0 2px 18px;}
.group-instructions {display:grid;gap:6px;margin-top:8px;}
.instruction-note {display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #f3d6b6;border-radius:9px;background:#fff7ee;font-size:13px;line-height:1.35;}
.instruction-note>.icon {width:16px;height:16px;flex:none;color:#a94d11;}
.instruction-note>.cite {margin-left:auto;background:transparent;color:var(--violet);font-size:12px;min-height:28px;white-space:nowrap;}
.results-layout .delivery-method {width:100%;margin:0;padding:10px 0;align-items:start;text-align:left;border:0;background:transparent;border-radius:8px;}
.delivery-method small {display:block;font-size:13px;color:#50475e;line-height:1.4;}
.results-layout .delivery-link {cursor:pointer;}
.results-layout .delivery-link:hover {background:var(--soft);}
.results-layout .delivery-link:first-of-type {background:#fff2e6;padding:12px;}
.results-layout .delivery-link:first-of-type>.icon {background:white;color:#ad490c;}
.results-layout .sending-card>h2 {margin:0 0 3px;letter-spacing:-.015em;}
.results-layout .sending-card>p {margin:0 0 14px;font-size:15px;line-height:1.35;}
.results-layout .sending-card .delivery-method:has(>.icon + div) {border-top:1px solid var(--line);margin-top:6px;}
.compact-checklist .check-deadline {min-height:44px;padding:8px 18px;font-size:16px;}
.compact-checklist .checklist-bottom [data-action=sending] {order:3;background:transparent;color:white;text-decoration:underline;text-underline-offset:3px;min-height:36px;padding:3px 6px;font-size:13px;}
.results-layout .fact-card header>.cite[aria-pressed=true] {background:var(--orange);}
.results-layout .summary-file strong {font-weight:650;}
@media(min-width:901px){
  .results-layout {display:grid;grid-template-columns:minmax(0,2.43fr) minmax(290px,1fr);grid-template-rows:min-content 1fr;column-gap:28px;row-gap:20px;margin-top:24px;align-items:start;}
  .results-layout>.assistant-heading {grid-area:1/1;}
  .results-layout>.results-rail {grid-area:1/2/span 2;display:grid;align-content:start;gap:22px;}
  .results-layout>:is(.answer-layout,.checklist-left) {grid-area:2/1;}
  .answer-results .assistant-heading {min-height:104px;}
  .results-layout .page-heading h1 {font-size:clamp(40px,3.57vw,50px);}
  .answer-results>.results-rail {padding-top:48px;}
  .answer-results>.guide-open {padding-top:8px;gap:12px;}
  .guide-open .chat-badge {display:none;}
  .guide-open .chat-widget .chat-panel {position:relative;inset:auto;width:100%;max-height:min(620px,77dvh);}
  .guide-open .summary-panel {display:grid;gap:9px;padding:0;background:transparent;}
  .guide-open .summary-panel :is(h2,p,.summary-file) {display:none;}
  .guide-open .summary-panel .btn {width:100%;margin:0;}
  .guide-open .summary-panel :is([data-action=read-aloud],.speech-controls) {order:1;}
  .results-layout .fact-card {margin-bottom:10px;padding:18px 17px 5px;}
  .results-layout .action-summary {padding:12px 17px 9px;}
  .results-layout .action-summary>p {margin:10px 0 6px;}
  .results-layout .deadline-card {padding:8px 17px 8px;gap:2px 12px;}
  .answer-results {row-gap:17px;}
  .results-layout .fact-card>h2,.results-layout .fact-card header h2 {letter-spacing:-.015em;}
  .results-layout .verified-deadline strong {font-size:40px;letter-spacing:-.03em;}
  .results-layout .answer-actions {margin-top:18px;}
  .results-layout .answer-actions>.btn {font-size:18px;}
  .compact-checklist .results-layout {margin-top:60px;row-gap:27px;}
  .compact-checklist .results-layout>.results-rail {padding-top:84px;}
  .compact-checklist .page-heading p {margin-top:12px;line-height:1.4;}
  .compact-checklist .checklist-main .request-group {align-items:center;min-height:118px;padding:12px 17px;margin-bottom:12px;}
  .compact-checklist .checklist-left {margin-right:8px;}
  .compact-checklist .ready .group-status::before {content:"✓ "; }
  .compact-checklist .group-main>h2 {font-size:clamp(22px,2.12vw,30px);line-height:1.12;letter-spacing:-.018em;}
  .compact-checklist .group-marker {margin:0;}
  .compact-checklist .group-source .cite {min-height:42px;padding:7px 14px;}
  .compact-checklist .group-status {min-width:120px;text-align:center;}
  .detailed-checklist .results-layout {grid-template-columns:minmax(0,2.46fr) minmax(300px,1fr);gap:20px 14px;margin-top:42px;}
  .detailed-checklist .results-rail {gap:20px;}
  .detailed-checklist .results-layout .check-title {min-height:56px;align-items:center;gap:16px;}
  .detailed-checklist .check-title .btn {min-width:clamp(132px,14.5vw,205px);min-height:50px;font-size:17px;}
  .detailed-checklist .check-title .page-heading h1 {font-size:clamp(38px,3.56vw,50px);}
  .detailed-checklist .check-due b {font-size:clamp(17px,1.68vw,24px);line-height:1.1;}
  .detailed-checklist .checklist-main .request-group {min-height:115px;padding:14px 26px;gap:16px;}
  .detailed-checklist .checklist-main .request-group:has(.group-main>p) {min-height:138px;}
  .detailed-checklist .summary-toolbar {flex-wrap:wrap;}
  .detailed-checklist .summary-toolbar>div {min-width:140px;}
}
@media(min-width:901px) and (max-width:1300px){
  body:has(.detailed-checklist) {--purple:#1a0c2e;}
  body:has(.detailed-checklist) .header .nav {padding-inline:24px;height:92px;}
  body:has(.detailed-checklist) .header .brand {left:0;top:0;}
  body:has(.detailed-checklist) .header .nav-right {transform:none;}
  body[data-view=checklist]:has(.detailed-checklist) .workspace>.shell {padding-inline:24px;}
  .detailed-checklist .step-navigation {padding-left:clamp(0px,5.5vw,70px);}
  .detailed-checklist .results-layout {margin-top:clamp(32px,4.15vw,53px);column-gap:clamp(18px,2.5vw,32px);grid-template-columns:minmax(0,2.08fr) minmax(270px,1fr);}
  .detailed-checklist .results-rail>.chat-widget {justify-self:end;width:min(100%,358px);}
  .detailed-checklist .group-marker:has(>.icon:nth-child(2))>.icon:first-child {display:none;}
  .detailed-checklist .group-marker>.icon:nth-child(2) {display:block;}
  .detailed-checklist .group-main {grid-template-columns:minmax(0,1fr) 32px;}
  .detailed-checklist .group-main>:is(h2,small) {grid-column:1;}
  .detailed-checklist .group-expansion>summary {grid-column:2;grid-row:1 / span 2;justify-self:end;justify-content:center;width:32px;min-height:32px;}
  .detailed-checklist .group-expansion>summary span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
  .detailed-checklist .group-source {grid-column:1 / -1;grid-row:4;justify-self:end;}
  .detailed-checklist .group-main>h2 {font-size:21px;}
  .detailed-checklist .group-source .cite {text-decoration:underline;text-underline-offset:2px;}
  .detailed-checklist .checklist-main .request-group {padding:19px 20px;}
  .detailed-checklist .summary-toolbar {margin-top:30px;}
}
@media(max-width:900px){
  .results-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:16px;}
  .results-layout>.results-rail {display:contents;}
  .results-layout>.assistant-heading {order:0;}
  .results-rail>.chat-widget {order:1;}
  .results-layout>:is(.answer-layout,.checklist-left) {order:2;}
  .results-rail>.summary-sidebar {order:3;}
  .results-layout .check-title {flex-wrap:wrap;}
  .results-layout .fact-card header>.cite {font-size:15px;}
  .instruction-note {flex-wrap:wrap;}
}
/* The five supplied checklist states share an accordion. The artboards change
   the page insets, title position and source alignment with the open section. */
body:has(.checklist-view) {
  --purple:#1a0c2e;--check-inset:24px;--nav-inset:24px;--logo-top:24px;--steps-top:117px;
  --steps-offset:70px;--title-gap:55px;--panel-gap:25px;--rail-offset:0px;--count-height:52px;
  --row-pad:24px;--row-min:137px;--gift-height:145px;--form-height:166px;
  --expanded-height:0px;--toolbar-gap:35px;--delivery-height:542px;--heading-extra:42px;--method-pad:10px;
}
body:has(.group-expansion[open]) {--row-min:172px;--gift-height:var(--row-min);--form-height:var(--row-min);}
body:has([data-kind=gift] .group-expansion[open]) {
  --purple:#190a30;--check-inset:80px;--nav-inset:80px;--logo-top:32px;--steps-top:133px;
  --title-gap:59px;--panel-gap:33px;--count-height:68px;--expanded-height:484px;
  --row-pad:32px;--row-top:37px;--request-font:24px;--row-min:180px;--bank-height:172px;--form-height:180px;--toolbar-gap:62px;--delivery-height:535px;--heading-extra:3px;--method-pad:7px;--column-ratio:2.09fr;
}
body:has([data-kind=bank] .group-expansion[open]) {
  --purple:#1a0d2e;--check-inset:38px;--nav-inset:38px;--logo-top:32px;--steps-top:133px;
  --title-gap:67px;--panel-gap:25px;--count-height:60px;--rail-offset:-13px;
  --row-pad:32px;--request-font:23px;--gift-height:142px;--gift-bottom:7px;--expanded-height:496px;--toolbar-gap:26px;--heading-extra:26px;--right-inset:32px;--column-gap:32px;--title-offset:12px;--delivery-height:541px;
}
body:has([data-kind=residence] .group-expansion[open]) {
  --purple:#1a0c2c;--check-inset:48px;--nav-inset:48px;--logo-top:32px;--steps-top:133px;
  --title-gap:51px;--panel-gap:25px;--count-height:60px;--rail-offset:3px;--row-pad:32px;
  --row-min:175px;--request-font:23px;--expanded-height:519px;--toolbar-gap:27px;--delivery-height:551px;--heading-extra:30px;--method-pad:8px;--title-offset:-4px;
}
body:has([data-kind=sign-form] .group-expansion[open]) {
  --purple:#1b0f33;--check-inset:40px;--nav-inset:16px;--logo-top:27px;--steps-top:122px;
  --steps-offset:30px;--title-gap:27px;--panel-gap:17px;--count-height:70px;--rail-offset:32px;
  --row-pad:32px;--row-min:152px;--count-height:72px;--expanded-height:722px;--toolbar-gap:57px;--delivery-height:532px;--heading-extra:63px;--right-inset:50px;--method-pad:8px;--title-offset:-24px;
}
.checklist-view .checklist-main .request-group {border-radius:0;display:flex;align-items:flex-start;}
.checklist-view .checklist-main .group-marker {width:36px;height:36px;}
.checklist-view .group-main {position:relative;display:block;min-width:0;}
.checklist-view .group-main>.group-status {letter-spacing:.04em;font-size:11px;}
.checklist-view .group-main>h2 {font-size:var(--request-font,21px);font-weight:700;line-height:1.25;margin:7px 30px 4px 0;}
.checklist-view .group-main>p {font-size:14px;line-height:1.5;color:#57606c;margin:0;}
.checklist-view .group-expansion {display:block;}
.checklist-view .group-main>.group-expansion>summary {position:absolute;right:0;top:4px;width:38px;height:38px;min-height:38px;display:grid;place-items:center;cursor:pointer;}
.checklist-view .group-expansion>summary span {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;}
.checklist-view .group-expansion summary .icon {width:15px;height:15px;}
.checklist-view .group-main .group-source {float:none;display:flex;width:100%;justify-self:stretch;justify-content:flex-end;margin:4px 0 0;text-align:right;}
.checklist-view:has(.group-expansion[open]) .group-main .group-source {text-align:left;justify-content:flex-start;}
.checklist-view .group-main .group-source .cite {min-height:24px;margin:0;display:inline-flex;align-items:center;gap:4px;padding:2px 0;font-size:14px;font-weight:650;text-decoration:none;}
.checklist-view .group-main .group-source .cite[aria-pressed=true] {padding-inline:8px;}
.checklist-view .group-proofs {margin:18px 0 0;padding:0 0 0 18px;border-left:1px solid #d9dce0;}
.checklist-view .group-instructions {margin:10px 0 0;}
.checklist-view .proof-heading {font-size:12px;letter-spacing:.055em;font-weight:650;margin-bottom:8px;}
.checklist-view .proof-option {font-size:15px;padding:7px 0;color:#172031;}
.checklist-view .proof-option label {position:relative;align-items:center;gap:12px;}
.checklist-view .proof-option input {position:absolute;opacity:0;}
.checklist-view .option-mark {display:grid;place-items:center;flex:0 0 18px;height:18px;color:#24855f;border-radius:4px;}
.checklist-view .option-mark .icon {width:15px;height:15px;}
.checklist-view .proof-option input:checked+.option-mark {color:white;background:#24855f;}
.checklist-view .proof-option input:focus-visible+.option-mark {outline:2px solid var(--violet);outline-offset:2px;}
.checklist-view .instruction-note {background:#fff7ed;line-height:1.55;border-color:#f3dcc1;overflow-wrap:anywhere;}
.checklist-view .source-instruction {width:100%;text-align:left;justify-content:flex-start;cursor:pointer;color:var(--ink);font-weight:500;}
.checklist-view .source-instruction:hover {border-color:#edb777;}
.checklist-view .instruction-detail,.checklist-view .form-instructions .source-instruction {border:0;padding:2px 0;background:transparent;font-size:13px;line-height:1.45;}
.checklist-view .instruction-detail:hover,.checklist-view .form-instructions .source-instruction:hover {text-decoration:underline;}
.checklist-view .form-instructions {background:#fff7ed;border:1px solid #f3dcc1;border-radius:10px;padding:15px;}
.checklist-view .form-note-heading {display:flex;align-items:center;gap:9px;}
.checklist-view .form-note-heading span {font-weight:700;}
.checklist-view .form-note-heading .icon {width:18px;color:#c16113;}
.checklist-view .form-instructions ol {padding:0;margin:9px 0 0;list-style:none;}
.checklist-view .form-instructions li {display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;align-items:baseline;margin:6px 0;}
.checklist-view .form-instructions li::before {content:attr(value);text-align:center;border-radius:50%;background:#f2f0ed;font-size:12px;font-weight:700;line-height:18px;}
.checklist-view .form-instructions li .source-instruction {font-size:14px;line-height:1.5;}
.checklist-view [data-kind=sign-form] .group-instructions {gap:14px;}
.checklist-view [data-kind=sign-form] .instruction-note {min-height:58px;}
.checklist-view [data-kind=sign-form] .instruction-detail {color:#65717a;font-size:12px;}
.checklist-view [data-kind=gift] .group-proofs {border:0;padding:0;}
.checklist-view [data-kind=gift] .proof-option {font-weight:600;}
.checklist-view [data-kind=gift] .instruction-note {min-height:78px;font-size:15px;font-weight:600;padding:15px 18px;}
.checklist-view [data-kind=sign-form] .group-proofs {border-left:0;border-top:1px solid #eee;padding:16px 0 0;counter-reset:form-step;}
.checklist-view [data-kind=sign-form] .proof-option {counter-increment:form-step;}
.checklist-view [data-kind=sign-form] .option-mark {border-radius:50%;background:#f1f3f5;color:var(--ink);font-size:12px;font-weight:700;}
.checklist-view [data-kind=sign-form] .option-mark::after {content:counter(form-step);}
.checklist-view [data-kind=sign-form] .option-mark .icon {display:none;}
.checklist-view [data-kind=sign-form] input:checked+.option-mark::after {content:"✓";}
.checklist-view .sending-card .delivery-method:has(>.icon + div) {border:0;margin:0;}
.checklist-view .sending-card .delivery-link:has(use[href$="#checklist-phone"]) {border-top:1px solid #d2cbd8;border-radius:0;padding-top:12px;}
.checklist-view .sending-heading {margin:0;padding:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;}
.checklist-view .sending-card .delivery-method {align-items:flex-start;gap:14px;}
.checklist-view .sending-card .delivery-link:not(:first-of-type),.checklist-view .sending-card .delivery-method:has(>div) {padding-block:var(--method-pad);}
.checklist-view .delivery-link em {display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#a34d14;font-style:normal;font-weight:750;}
.checklist-view .delivery-link small,.checklist-view .delivery-method p {font-size:14px;line-height:1.45;}
.checklist-view .delivery-method b {font-size:16px;}
.checklist-view .check-title .check-due>span .icon {width:12px;height:12px;}
.checklist-view .check-title .check-due small {font-size:11px;}
.checklist-view .summary-toolbar {width:min(886px,100%);margin:var(--toolbar-gap) auto 0;padding:9px 17px;gap:14px;border-radius:19px;min-height:83px;}
.checklist-view .summary-toolbar p {display:flex;align-items:center;gap:5px;font-size:14px;line-height:1.3;margin:3px 0 0;}
.checklist-view .summary-toolbar p .icon {flex:none;width:13px;height:13px;}
.checklist-view .summary-thumbnail {width:52px;height:66px;object-fit:contain;margin-block:-2px;}
.checklist-view .summary-toolbar .btn {min-height:42px;padding:9px 17px;border-radius:10px;font-size:14px;gap:7px;}
.checklist-view .summary-toolbar .btn .icon {width:17px;height:17px;}
.checklist-view .summary-toolbar .btn.secondary {background:white;color:var(--ink);border:1px solid var(--ink);}
.checklist-view .summary-toolbar [data-action=print-summary] {box-shadow:0 5px 10px #c1744140;}
@media(min-width:901px) {
  body:has(.checklist-view) .header .nav {height:var(--steps-top);max-width:1400px;padding:0 var(--nav-inset);position:relative;}
  body:has(.checklist-view) .header .brand {position:absolute;left:var(--nav-inset);top:var(--logo-top);}
  body:has(.checklist-view) .header .nav-right {position:absolute;right:var(--nav-inset);top:calc(var(--logo-top) + 5px);transform:none;padding:0;}
  .workspace.checklist-view {padding-top:0;}
  body[data-view=checklist]:has(.detailed-checklist) .workspace>.shell {max-width:1400px;padding-inline:var(--check-inset) var(--right-inset,var(--check-inset));}
  .checklist-view .step-navigation {padding-left:var(--steps-offset);}
  .checklist-view .results-layout {grid-template-columns:minmax(0,var(--column-ratio,2.08fr)) minmax(245px,1fr);gap:var(--panel-gap) var(--column-gap,33px);margin-top:var(--title-gap);}
  .checklist-view .results-rail {gap:var(--panel-gap);}
  .checklist-view .results-rail>.chat-widget {width:min(100%,358px);justify-self:end;position:relative;left:var(--rail-offset);}
  .checklist-view .check-title {min-height:56px;flex-wrap:wrap;align-content:center;width:calc(100% + var(--heading-extra));}
  .checklist-view .check-title .page-heading h1 {font-size:clamp(34px,3.9vw,50px);letter-spacing:-.015em;line-height:1.04;transform:translate(var(--title-offset,0px),-4px);}
  .checklist-view .check-title .btn {border-color:white;color:white;background:transparent;min-width:clamp(126px,16vw,205px);min-height:48px;border-radius:9px;font-size:17px;}
  .checklist-view .check-title .check-due b {font-size:clamp(17px,1.82vw,24px);}
  .checklist-view .check-progress {min-height:var(--count-height);padding:12px var(--row-pad);border-color:#efedf0;}
  .checklist-view .checklist-main .request-group,
  .checklist-view .checklist-main .request-group:has(.group-main>p) {min-height:var(--item-height,var(--row-min));padding:var(--row-top,var(--row-pad)) 16px var(--row-bottom,12px) var(--row-pad);gap:16px;}
  .checklist-view .request-group[data-kind=gift] {--item-height:var(--gift-height);--row-bottom:var(--gift-bottom,12px);}
  .checklist-view .request-group[data-kind=bank] {--item-height:var(--bank-height,var(--row-min));}
  .checklist-view .request-group[data-kind=sign-form] {--item-height:var(--form-height);}
  .checklist-view .request-group:has(.group-expansion[open]) {--item-height:max(var(--row-min),var(--expanded-height));}
  .checklist-view:has(.group-expansion[open]) .group-proofs {max-width:calc(100% - 24px);}
  .checklist-view .sending-card:has(.delivery-link:nth-of-type(5)) {min-height:var(--delivery-height);}
  .checklist-view .sending-card {border-radius:25px;padding:23px;}
  .checklist-view .summary-toolbar [data-action=share-summary] {min-width:104px;}
  .checklist-view .summary-toolbar [data-action=read-aloud] {min-width:140px;}
  .checklist-view .summary-toolbar [data-action=print-summary] {min-width:239px;}
}
@media(max-width:900px) {
  .checklist-view .summary-toolbar {margin-top:22px;gap:10px;}
  .checklist-view .check-title .page-heading {flex-basis:100%;}
  .checklist-view .group-main>h2 {font-size:19px;}
  .checklist-view .request-group {padding:16px;gap:10px;}
}

.capture-panel #camera-live>[data-action=camera-start] {color:white;}
.question-nav {background:none;border:0;color:white;padding:5px 0;font:inherit;font-weight:650;cursor:pointer;}
.question-nav[aria-current] {border-bottom:2px solid var(--orange);}
.questions-page {background:#f7f4fb;color:#290646;min-height:calc(100dvh - 128px);padding:34px 24px 58px;}
.questions-heading {text-align:center;margin:0 auto 32px;}
.questions-heading>span {font-size:12px;letter-spacing:.12em;font-weight:800;color:#53208c;}
.questions-heading h1 {margin:4px 0 8px;font-size:50px;line-height:1.14;font-weight:800;}
.questions-heading p {font-size:16px;margin:0;font-weight:550;}
.questions-layout {width:min(100%,1000px);margin:auto;display:grid;grid-template-columns:minmax(0,650px) minmax(0,320px);gap:30px;align-items:start;}
.question-thread {height:540px;display:flex;flex-direction:column;background:white;border:1px solid #e0d8e5;border-radius:34px;padding:25px;min-width:0;}
.question-thread .chat-scroll {overflow:auto;min-height:0;flex:1;padding:0;}
.question-welcome {margin:0;color:#290646;background:#ece6f5;padding:15px 20px;border-radius:22px;font-size:15px;font-weight:550;}
.question-prompts {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 14px;}
.question-prompts>button {background:white;border:1px solid #bcb0c9;border-radius:24px;color:#441374;font-size:13px;font-weight:750;padding:10px 17px;min-height:40px;cursor:pointer;text-align:left;}
.question-prompts>button:last-child {flex-basis:100%;}
.question-compose {display:flex;gap:10px;align-items:center;}
.question-compose input {flex:1;width:1px;min-width:0;height:57px;padding:0 21px;border:1px solid #9c8aa8;border-radius:40px;font-size:16px;color:var(--ink);}
.question-compose button {flex:none;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;border:1px solid #9c8aa8;color:#290646;background:#fbf9fd;cursor:pointer;}
.question-compose [type=submit] {background:var(--orange);border-color:var(--orange);}
.question-contact {border-radius:30px;padding:28px 30px;background:#290646;color:white;min-height:214px;}
.question-contact>.icon {width:24px;height:24px;}
.question-contact h2 {font-size:26px;margin:10px 0;line-height:1.2;}
.question-contact p {font-size:16px;margin:3px 0;line-height:1.35;}
.question-contact a {color:white;text-decoration:none;}
.question-contact a:hover,.question-contact a:focus-visible {text-decoration:underline;}
.question-contact small {display:block;margin-top:13px;font-size:12px;}
.workspace-footer .chat-widget {position:relative;width:auto;}
.workspace-footer .chat-panel {position:absolute;top:auto;bottom:calc(100% + 12px);right:0;width:min(360px,90vw);z-index:12;}
.workspace-footer .chat-widget button {text-align:initial;}
.workspace-footer .chat-widget>.chat-badge {padding:6px 14px;color:var(--ink);}
.panel-contact {margin:0 24px 5px;}
.panel-contact button {font-size:12px;text-decoration:underline;padding:3px 0;color:#40226a;}
.chat-panel .chat-form {position:relative;display:flex;flex-wrap:wrap;padding:6px;gap:2px;align-items:center;}
.chat-panel .chat-form>input {flex:1;min-width:0;height:33px;}
.chat-panel .chat-form>button[type=submit] {width:32px;height:32px;}
.chat-panel .chat-form:has(input:placeholder-shown)>[type=submit] {display:none;}
.chat-panel .voice-tools {display:flex;justify-content:flex-end;flex-basis:100%;gap:6px;}
.chat-panel .voice-tools>[data-view=questions] {margin-right:auto;background:#eceaee;}
.chat-panel .voice-tools>[data-action=voice-output] {background:var(--purple);color:white;}
.chat-panel .voice-tools .icon-btn {width:34px;height:34px;min-width:34px;min-height:34px;border-radius:50%;}
.chat-panel:has(.voice-status) .panel-contact,.chat-panel:has(.voice-status) .chat-disclaimer,.chat-panel:has(.speaking) .chat-form,
.chat-panel:has(.listening) .chat-form>input,.chat-panel:has(.listening) .chat-form>[type=submit] {display:none;}
.chat-panel:has(.listening) {background:linear-gradient(to bottom,white 64%,#e9e8e8 78%,#8f8993 100%);}
.chat-panel .listening {min-height:300px;padding:0 20px;gap:48px;}
.chat-panel:has(.listening) .chat-form {background:transparent;border:0;margin:0 16px 14px;}
.voice-status .voice-orb {border:0;cursor:pointer;}
.chat-panel .speaking {min-height:286px;gap:12px;padding:4px 18px 12px;margin:0;}
.chat-panel .speaking>span:not(.voice-orb) {padding:8px 10px;max-height:4.3em;overflow:auto;text-align:left;background:#fff2e3;border-left:3px solid var(--orange);border-radius:8px;}
.chat-panel .speaking button:first-of-type {min-width:100%;}
.chat-panel .speaking button:last-of-type {align-self:start;padding:0;border:0;font-size:13px;color:var(--violet);}
.chat-panel .suggestions button {min-height:70px;}
.reminder-phone {display:grid;gap:6px;margin:8px 0 0 28px;}
.reminder-phone input {padding:10px 12px;background:white;border:1px solid #84748d;border-radius:10px;color:var(--ink);min-width:0;}
.reminder-phone .btn {min-height:36px;font-size:13px;background:var(--orange);color:#28133c;opacity:1;}
.reminder-phone small {font-size:11px;color:#594977;}
.workflow-popover .dialog-header .icon-btn:focus:not(:focus-visible) {outline:none;}
.calendar-confirm {margin-top:8px;}
.calendar-confirm[hidden] {display:none;}
.workflow-popover .calendar-app legend {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;}
.workflow-popover .calendar-app>label {position:relative;min-height:56px;background:#f3f0f8;}
.workflow-popover .calendar-app input {position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;z-index:1;cursor:pointer;}
.workflow-popover .calendar-app>label:focus-within {outline:2px solid var(--violet);}
.workflow-popover .calendar-app>label::after {content:"";width:7px;height:7px;border:solid var(--ink);border-width:2px 2px 0 0;transform:rotate(45deg);margin-left:auto;}
.workflow-popover .calendar-app>label:has(:checked) {box-shadow:none;}
.workflow-popover .switch-reminder {display:flex;width:100%;padding:9px 13px;background:#f3f0f8;border-radius:12px;color:var(--ink);font-weight:700;}
.workflow-popover .switch-reminder small {display:block;text-align:left;color:#645a71;font-weight:500;}
.calendar-switch {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid #dcd5e6;border-radius:8px;font-size:13px;font-weight:700;}
.calendar-switch input {appearance:none;margin:0;width:35px;height:20px;background:#716a78;border-radius:20px;cursor:pointer;}
.calendar-switch input:checked {background:#fa853e;}
.calendar-switch input::after {content:"";display:block;background:white;width:16px;height:16px;border-radius:50%;margin:2px;}
.calendar-switch input:checked::after {transform:translateX(15px);}
.summary-file>.summary-file-art {width:28%;max-width:86px;flex:none;align-self:center;height:auto;}
.speech-controls .audio-wave {width:min(80px,28%);flex:0 1 80px;height:24px;}
.speech-controls.finished .audio-wave {color:var(--orange);}
.capture-panel #camera-live>[data-action=camera-capture] {background:var(--purple);color:white;}
.recovery-grid:not(.quality-recovery) [data-action=camera-upload] {color:white;background:var(--purple);}
.capture-view .pages-panel [data-action=add-page] {border:1px solid #716a79;background:white;}
.capture-view .pages-panel .page-thumb {width:100%;aspect-ratio:128/143;height:auto;}
.capture-view .pages-panel .page-list {grid-template-columns:repeat(2,minmax(0,128px));justify-content:space-around;align-items:start;}
@media(min-width:901px){
 .hero {grid-template-columns:minmax(0,45%) minmax(0,55%);gap:0;}
 .hero .hero-visual {width:100%;min-height:0;aspect-ratio:706/691;overflow:visible;}
 .hero .hero-reference {position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:fill;mask-image:none;clip-path:none;transform:none;border-radius:0;}
 .hero .hero-photo-shade {display:none;}
 .hero-slide .example-date {left:10%;bottom:3%;width:28%;}
 .hero-slide .hero-testimonial {right:2.6%;bottom:1.9%;width:29%;}
 .hero-testimonial p {text-wrap:initial;font-size:24px;line-height:1.04;}
 .hero h1 {letter-spacing:-.018em;}
 .capture-view:has(.camera-viewport) .capture-layout {margin-inline:-15px;grid-template-columns:minmax(0,2.3fr) minmax(280px,1fr);gap:47px;}
 .capture-view:has(.camera-viewport) .capture-tips {margin-bottom:63px;}
 .capture-view:has(.camera-viewport) .capture-panel {padding:24px 34px 20px;}
 .capture-view:has(.camera-viewport) .pages-panel,.capture-view:has(.recovery-grid) .pages-panel {padding-inline:42px;}
 .capture-view .pages-panel .empty-pages {margin-inline:0;}
 .capture-view .pages-panel:has(.empty-pages) {padding-block:22px 12px;}
 .capture-view:has(#dropzone) .capture-tips {margin-bottom:36px;}
 .capture-view:has(#dropzone) .pages-panel {padding-block:22px 12px;}
 .capture-view:has(.quality-recovery) .capture-tips {margin-bottom:70px;}
}
@media(max-width:900px){
 .hero .hero-reference {inset:0;width:100%;height:100%;object-fit:contain;object-position:center;max-width:none;mask-image:none;}
 .hero .hero-photo-shade {display:none;}
 .questions-layout {grid-template-columns:minmax(0,1fr) minmax(190px,30%);gap:16px;}
 .questions-page {padding:24px 16px;}
 .questions-heading h1 {font-size:clamp(32px,6vw,48px);}
 .question-contact {padding:22px;}
}
@media(max-width:700px){
 .questions-layout {grid-template-columns:1fr;}
 .question-thread {height:clamp(360px,62dvh,540px);padding:16px;border-radius:22px;}
 .question-heading p {font-size:15px;}
 .question-contact {min-height:0;}
 .question-compose button {width:43px;height:43px;}
 .question-compose input {height:44px;font-size:16px;padding-inline:12px;}
 .question-nav {font-size:12px;}
 .header .nav:has(.question-nav) {flex-wrap:wrap;gap:8px;}
 .header .nav:has(.question-nav) .nav-right {flex-wrap:wrap;gap:10px;}
 .workspace-footer .chat-panel {position:fixed;inset:auto 0 0;width:100%;max-width:100%;}
}

.questions-page {padding-top:20px;}
.question-thread {height:538px;}
.reading progress {appearance:none;height:10px;background:#eae6f4;color:var(--orange);}
.reading progress::-webkit-progress-bar {background:#eae6f4;}
.reading progress::-webkit-progress-value {background:var(--orange);}
.reading progress::-moz-progress-bar {background:var(--orange);}
.workflow-popover .calendar-event {padding:12px 14px;background:#f3eff9;border-radius:12px;border-left:4px solid var(--orange);margin-bottom:10px;}
.calendar-event .reminder-options,.calendar-event .reminder-option {margin:0;padding:0;border:0;background:transparent;}
.calendar-event .reminder-option input {position:absolute;clip-path:inset(50%);width:1px;height:1px;}
.calendar-event .reminder-option span {display:block;}
.calendar-event .reminder-option b {font-size:14px;font-weight:550;}
.workflow-popover .reminder-tabs .btn {min-height:53px;padding-block:7px;}
.workflow-popover:has(.reminder-tabs) {width:min(358px,calc(100vw - 24px));}
.workflow-popover:has(.reminder-phone) {width:min(362px,calc(100vw - 24px));}
.workflow-popover .reminder-phone {gap:3px;}
.workflow-popover .share-preview p {font-size:13px;line-height:1.28;margin:0;}
.workflow-popover .share-options {margin-block:12px;}
.results-layout .summary-file-art {width:28%;max-width:86px;max-height:102px;object-fit:contain;}
.capture-view .pages-panel .empty-pages {border:1.5px dashed #655773;}
@media(min-width:901px){
 .capture-view:has(#dropzone) .capture-tips {margin-bottom:41px;}
 .capture-view:has(.quality-recovery) .capture-tips {margin-bottom:70px;}
 .capture-view .capture-layout {grid-template-columns:minmax(0,2.22fr) minmax(280px,1fr);gap:46px;}
 .capture-view:has(.camera-viewport,.recovery-grid) .capture-layout {grid-template-columns:minmax(0,2.3fr) minmax(280px,1fr);gap:47px;}
 .capture-view .pages-panel:has(.empty-pages) {padding-block:20px 12px;}
 .capture-view:has(.camera-viewport) .pages-panel {transform:translateY(2px);}
 .capture-view:has(.recovery-grid) .pages-panel {transform:translateY(-1px);}
 .guide-open .chat-panel .chat-scroll {flex:0 1 auto;min-height:0;}
 .guide-open .chat-panel .suggestions {margin-bottom:0;}
 .guide-open .chat-panel .panel-contact {margin-bottom:2px;}
 .guide-open .chat-panel .chat-disclaimer {margin-block:3px;}
}
.scan-corners {position:absolute;inset:6% 29%;width:42%;height:88%;pointer-events:none;color:var(--guide-color,#ff8139);}
.scan-corners path {fill:none;stroke:currentColor;stroke-width:4px;stroke-linecap:round;vector-effect:non-scaling-stroke;}
.camera-viewport:has(.scan-corners)[data-quality=hold] .scan-beam {position:absolute;top:48%;left:29.2%;width:41.6%;height:13%;border-top:2px solid var(--orange);background:linear-gradient(#ff843b88,transparent);pointer-events:none;}

@media(min-width:901px){
 .checklist-view .sending-card {padding:23px 22px;}
 .checklist-view .sending-card>h2 {font-size:20px;line-height:25px;margin:0 0 2px;}
 .checklist-view .sending-card>p {font-size:15px;line-height:20px;margin:0 0 12px;}
 .checklist-view .sending-card .delivery-method {width:min(100%,316px);gap:14px;align-items:center;border-radius:0;}
 .checklist-view .sending-card .delivery-method>.icon {width:40px;height:40px;padding:12px;border-radius:12px;background:#efebf7;}
 .checklist-view .sending-card .delivery-link:first-of-type {min-height:119px;padding:12px 9px;align-items:flex-start;gap:18px;border-radius:16px;background:#fff5e9;}
 .checklist-view .sending-card .delivery-link:first-of-type>.icon {background:white;padding:10px;}
 .checklist-view .sending-card .delivery-link:not(:first-of-type) {min-height:64px;padding:3px 0;}
 .checklist-view .sending-card .delivery-link:has(use[href$="#checklist-phone"]) {min-height:58px;align-items:flex-start;padding-top:12px;}
 .checklist-view .sending-card .delivery-method:has(>div) {min-height:54px;padding:5px 0;align-items:center;}
 .checklist-view [data-kind=gift] .group-expansion[open] .group-proofs {margin-top:24px;max-width:calc(100% - 8px);}
 .checklist-view [data-kind=gift] .proof-option {padding-block:8px;}
 .checklist-view [data-kind=gift] .group-instructions {margin-top:14px;}
 .checklist-view [data-kind=gift] .instruction-note {border-radius:13px;gap:12px;}
 .checklist-view [data-kind=gift] .instruction-note>.icon {width:21px;height:21px;padding:3px;border-radius:50%;background:#fff0db;color:#bb650d;}
}
/* Geometry shared by native-size desktop exports; smaller screens keep the flowing layout. */
.original-letter>.original-paper {display:block;flex:0 0 44px;width:44px;height:58px;border-radius:3px;background:#fffdf2;box-shadow:0 2px 5px #0003;}
.chat-panel:has(.speaking) .chat-scroll {display:block;flex:none;padding-bottom:5px;}
.chat-panel:has(.speaking) .chat-scroll>:not(.stage-pill) {display:none;}
.chat-panel .speaking-label {display:inline-flex;align-items:center;gap:8px;color:var(--violet);}
.chat-panel .speaking-label:before {content:"";width:9px;height:9px;border-radius:50%;background:var(--orange);}
.chat-panel .speaking .voice-orb {width:88px;height:88px;}
.chat-panel .speaking>span:not(.voice-orb) {width:100%;text-align:center;border:0;background:#fce4c8;border-radius:4px;}
.chat-panel .speaking .text-btn {text-decoration:none;font-weight:700;}
.chat-panel:has(.listening) .voice-tools>[data-action=voice-output] {background:#e8e7e7;color:var(--ink);}
.chat-panel:has(.listening) .voice-tools>[data-action=voice-stop] {background:var(--ink);color:white;}
.chat-panel .message.question {background:var(--violet);width:fit-content;margin-left:auto;}
.chat-panel .message.answer .cite {background:white;border:1px solid #d6cde7;}
.workflow-popover :is(.calendar-app>label,.switch-reminder)>.icon {width:38px;height:38px;flex:none;border-radius:10px;background:white;color:var(--ink);padding:9px;}
.workflow-popover .switch-reminder {text-decoration:none;text-align:left;}
.workflow-popover .switch-reminder::after {content:"";width:7px;height:7px;border:solid var(--ink);border-width:2px 2px 0 0;transform:rotate(45deg);margin-left:auto;}
.capture-view .pages-panel .empty-pages {color:var(--ink);border:0;background-color:var(--soft);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect x='1' y='1' width='99%25' height='98%25' rx='9' fill='none' stroke='%2355456b' stroke-width='1.5' stroke-dasharray='11 9'/%3E%3C/svg%3E");}
.pages-panel .empty-pages>p {color:var(--ink);font-weight:700;margin:7px 0 4px;}
.pages-panel .empty-pages>small {color:var(--ink);}
.evidence-paper .source-deadline {display:flex;align-items:center;gap:8px;border-radius:10px;}
.evidence-paper .source-deadline strong {display:block;font-size:1.2em;}
.evidence-paper .source-deadline .icon {width:32px;height:32px;}
.inline-source-image .highlight-box {border-width:clamp(3px,.45vw,7px);}
@media (min-width:901px) {
 .answer-results .page-heading h1 {font-size:clamp(37px,3.43vw,48px);line-height:1.125;}
 .answer-results .results-rail:not(.guide-open) .summary-panel h2 {font-size:19px;}
 .answer-results:has(.verified-deadline[data-overdue])>.results-rail:not(.guide-open) {padding-top:35px;}
 .answer-results:has(.verified-deadline[data-overdue]) .action-summary {padding-bottom:8px;}
 .answer-results:has(.verified-deadline[data-overdue]) .action-summary>p {margin:4px 0 0;}
 .answer-results:has(.verified-deadline[data-overdue]) .action-summary header {margin-bottom:4px;}
 .answer-results .fact-card header>.cite,.answer-results .fact-card>.cite {letter-spacing:0;font-weight:700;}
 .answer-results .results-rail:not(.guide-open) .summary-file-art {width:28%;max-width:86px;max-height:102px;transform:scale(1.09);}
 .answer-results .results-rail:not(.guide-open) .summary-panel {padding-bottom:13px;}
 .answer-results .summary-file {gap:10px;}
 .answer-results>.guide-open .chat-panel:not(:has(.voice-status)):has(.messages:empty) :is(.panel-contact,.chat-disclaimer) {display:none;}
 .answer-results>.guide-open .chat-panel:not(:has(.voice-status)):has(.messages:empty) .suggestions {gap:16px;}
 .answer-results>.guide-open .chat-panel:not(:has(.voice-status)):has(.messages:empty) .suggestions button {min-height:73px;}
 .answer-results>.guide-open .chat-panel:not(:has(.voice-status)):has(.messages:empty) .chat-form {margin-bottom:12px;}
 .capture-view:has(#dropzone) .page-heading {padding-left:10px;transform:translateY(5px);}
 .capture-view:has(#dropzone) .page-heading h1 {font-size:46px;letter-spacing:-.01em;}
 .capture-view:has(#dropzone) .capture-tips>span {padding-left:29px;}
 .capture-view:has(#dropzone) .capture-tips b {letter-spacing:-.014em;}
 .capture-view:has(#dropzone) .pages-panel {padding-inline:30px;}
 .capture-view:has(#dropzone) .pages-panel .panel-top {margin-inline:12px;}
 body[data-view=capture] .workspace {min-height:calc(100dvh - 142px);}
 .capture-view:has(#dropzone) .pages-panel .page-list {justify-content:space-between;margin:8px 12px;}
 .capture-view:has(#dropzone) .page-thumb {aspect-ratio:128/146;}
 .capture-view:has(#dropzone) .remove-page {width:20px;height:20px;top:-5px;}
 .capture-view:has(#dropzone) .remove-page .icon {width:13px;height:13px;}
 .capture-view:has(#dropzone) .capture-tips {margin-bottom:39px;}
 .capture-panel .upload-zone:not(.has-error,.received)>:is(.upload-icon,h3,p,.upload-recovery-actions) {position:relative;top:-7px;}
 .capture-panel .upload-zone:not(.has-error,.received)>h3 {margin:3px 0 0;}
 .capture-panel .upload-zone:not(.has-error,.received)>p {margin:0 0 11px;}
 .capture-view:has(.camera-viewport,.recovery-grid) .pages-panel .empty-pages {margin-block:12px 6px;}
 .capture-view:has(.camera-viewport,.recovery-grid) .pages-panel .small-note {color:var(--ink);font-weight:650;}
 .capture-view:has(#dropzone) .page-thumb .paper-lines {padding:12px 15px;}
 .page-thumb .paper-lines i:nth-child(2n) {width:89%;}
 .page-thumb .paper-lines i:nth-child(4) {width:66%;}
 .page-thumb .paper-lines i:last-child {width:72%;}
 .checklist-view:has([data-kind=bank] .group-expansion[open]) .request-group[data-kind=bank] {--row-top:64px;}
 .checklist-view [data-kind=bank]:has(.group-expansion[open]) .instruction-note {min-height:58px;border-radius:12px;}
 .checklist-view:has(.group-expansion[open]) .group-main>.group-expansion>summary {right:14px;}
 .checklist-view [data-kind=residence] .group-expansion[open] .group-proofs {margin-top:34px;}
 .checklist-view:has([data-kind=sign-form] .group-expansion[open]) .request-group {--row-top:22px;}
 .checklist-view [data-kind=sign-form]:has(.group-expansion[open]) {--row-top:28px;}
 .checklist-view [data-kind=sign-form] .group-expansion[open] .group-proofs {margin-top:30px;}
 .checklist-view [data-kind=sign-form] .form-instructions,.checklist-view [data-kind=sign-form] .instruction-note {max-width:610px;}
 .checklist-view [data-kind=sign-form] .form-instructions li {padding-block:3px;}
 .checklist-view :is([data-kind=bank],[data-kind=residence],[data-kind=sign-form]):has(.group-expansion[open]) .group-main .group-source {margin-top:10px;}
 .checklist-view [data-kind=bank] .group-proofs,.checklist-view [data-kind=residence] .group-proofs {padding-right:16px;}
 .hero-copy {padding-left:4px;}
 .hero-slide .hero-testimonial {width:clamp(210px,17.5vw,245px);}
 .hero-slide .hero-testimonial p {font-size:23px;line-height:1.06;letter-spacing:-.035em;}
 .questions-heading h1 {font-size:52px;letter-spacing:-.012em;}
 body[data-view=questions] .header .nav {min-height:128px;height:128px;}
 body[data-view=questions] .questions-page {padding-top:30px;}
 .reading {grid-template-columns:minmax(0,435fr) minmax(0,715fr);gap:clamp(36px,4vw,56px);max-width:1206px;margin:60px auto 0;align-items:start;}
 .reading-copy h1 {font-size:clamp(48px,4.65vw,65px);line-height:.83;margin-bottom:20px;}
 .reading .timeline li {padding-block:15px;}
 .reading .timeline {margin-block:20px 16px;}
 .reading-preview {padding-top:10px;}
 .reading-copy>:is(.reading-findings,progress,.micro,small) {width:calc(100% - 54px);margin-left:27px;}
 .reading-copy .reading-findings {margin-block:18px;}
 .answer-results .deadline-card:has(>.date-value)>.date-value {flex:1;}
 .answer-results .deadline-card:has(>.date-value)::before {content:"";order:1;flex-basis:100%;height:0;}
 .answer-results .deadline-card:has(>.date-value)>.cite {order:2;}
 .answer-results .deadline-card:has(>.date-value)>.micro {order:3;max-width:65%;margin:0;font-size:13px;}
}

/* Shared Answer card artwork and controls */
.answer-results .summary-file {background:#f6f3fc;}
.answer-results .results-rail:not(.guide-open) .summary-file-art {width:103px;max-width:36%;max-height:none;transform:none;}
.answer-results .summary-panel [data-action=print-summary],.evidence-sidebar [data-action=print-summary] {background:#f08543;}
.answer-results .summary-panel>.btn .icon {width:16px;height:16px;}
.original-letter {background:#30214d;}
.capture-view .remove-page {padding:0;place-items:center;}
.capture-view .page-thumb:has(.paper-lines) {display:flex;align-items:flex-start;background:linear-gradient(161deg,#fdfdfe,#d9d3ea);box-shadow:0 4px 4px #0004;border-radius:22px;}
.capture-view .page-thumb>.paper-lines {width:100%;min-height:0;gap:9.5px;padding:16px;align-items:flex-start;}
.capture-view .page-thumb .paper-lines i {height:6.25px;background:#bdb5d4;}
.capture-view .paper-lines i:nth-child(1) {width:100%;}
.capture-view .paper-lines i:nth-child(2) {width:88%;}
.capture-view .paper-lines i:nth-child(3) {width:96%;}
.capture-view .paper-lines i:nth-child(4) {width:64%;}
.capture-view .paper-lines i:nth-child(5) {width:92%;}
.capture-view .paper-lines i:nth-child(6) {width:70%;}
/* Status colors apply to the framing guide and badge, leaving the captured pixels intact. */
.camera-viewport:is([data-quality=dark],[data-quality=blur],[data-quality=align],[data-quality=close]) {--guide-color:#ffeb33;}
.camera-viewport[data-quality=failed] {--guide-color:#ff383c;}
.camera-viewport[data-quality=added] {--guide-color:#34c759;}
.camera-viewport[data-quality=failed] .camera-hint {color:white;}
.camera-viewport .camera-hint {top:16px;left:16px;min-height:32px;line-height:1.2;gap:6px;}
.camera-viewport .scan-corners {top:4%;height:92%;}
.workflow-popover .calendar-app>label {min-height:61px;}
@media(min-width:901px) {
  .header .nav-right>.btn {min-width:130px; height:41px; min-height:40px; font-weight:700;}
  .answer-results .page-heading h1 {position:relative; top:-3px; margin-left:1px; letter-spacing:0; font-weight:800;}
  .answer-results .answer-layout {margin-inline:1px;}
  .answer-results .fact-card {border-radius:32px; padding-inline:17px;}
  .answer-results .answer-layout>.fact-card:first-of-type {min-height:165px; padding-top:23px;}
  .answer-results .answer-layout>.fact-card:first-of-type header {align-items:start; margin-bottom:10px;}
  .answer-results .answer-layout>.fact-card:first-of-type header h2 {align-self:start; margin-top:9px;}
  .answer-results .fact-card header>.cite {margin-block:0;}
  .answer-results .fact-card header h2 {font-size:20px; letter-spacing:0;}
  .answer-results .fact-number {width:40px; height:40px;}
  .answer-results .fact-card .cite {gap:12px; min-width:174px; font-size:19px; font-weight:700; letter-spacing:-.015em; padding-inline:18px 12px; border-radius:20px;}
  .answer-results .action-summary header {margin-bottom:2px;}
  .answer-results .fact-card .cite .icon {width:19px; height:17px;}
  .answer-results .fact-card>p:not(.date-value,.micro,.tag) {font-size:20px; line-height:25px; font-weight:700; letter-spacing:0;}
  .answer-results .action-summary {padding-top:13px; min-height:159px;}
  .answer-results .action-summary>p {margin-bottom:7px;}
  .answer-results:has(.verified-deadline[data-overdue]) .action-summary>p {margin-bottom:0; margin:2px 0 2px;}
  .answer-results .deadline-card {border-width:11px; border-radius:29px; column-gap:12px; padding:14px 17px 7px; padding-top:13px;}
  .answer-results .deadline-card header {gap:12px; margin-bottom:0;}
  .answer-results .deadline-card .verified-deadline strong {font-weight:800; letter-spacing:0; position:relative; inset:2px auto auto 1px;}
  .answer-results .deadline-card .verified-deadline>span {min-height:46px; font-size:18px; padding:7px 18px; font-weight:800; letter-spacing:0; padding-inline:18px; border-radius:13px;}
  .answer-results .answer-actions {gap:21px; margin-top:20px;}
  .answer-results .answer-actions .btn {min-height:46px; padding-block:9px; letter-spacing:0; font-weight:800; gap:10px; border-radius:20px;}
  .answer-results .answer-actions .icon {width:24px; height:24px;}
  .answer-results .results-rail:not(.guide-open) .summary-panel {padding:26px 20px 13px 21px;}
  .answer-results .results-rail:not(.guide-open) .summary-panel>h2 {font-size:18px; letter-spacing:0; font-weight:700; margin-bottom:14px;}
  .answer-results .results-rail:not(.guide-open) .summary-panel>p {font-size:12px; line-height:19px; margin-bottom:11px;}
  .answer-results .results-rail:not(.guide-open) .summary-file {min-height:134px; margin-bottom:0; padding:6px; gap:2px; border-radius:16px;}
  .answer-results .summary-file strong {font-weight:600;}
  .answer-results .summary-file small {margin-top:2px;}
  .answer-results .results-rail:not(.guide-open) .summary-panel>.btn {min-height:46px; margin-top:12px; font-size:14px; letter-spacing:0; font-weight:700; gap:5px;}
  .answer-results .results-rail:not(.guide-open) .summary-file+.btn {margin-top:8px;}
  .answer-results .original-letter {gap:13px; border-radius:13px;}
  .answer-results .original-letter b {font-size:13px;}
  .answer-results .original-letter small {margin-top:1px;}
  .capture-view:has(#dropzone) .page-heading h1 {font-size:45px; letter-spacing:0; font-weight:700; position:relative; top:-1px;}
  .capture-view:has(#dropzone) .page-heading p {font-weight:650; position:relative; top:-5px;}
  .capture-view:has(#dropzone) .capture-tips {margin-top:14px; margin-bottom:41px; gap:40px; grid-template-columns:.954fr 1fr;}
  .capture-view:has(#dropzone) .capture-tips>span {min-height:70px; padding-block:8px; border-left-width:5px; padding-left:20px; gap:18px; padding-top:10px;}
  .capture-view:has(#dropzone) .capture-tips b {font-size:24px; line-height:24px; letter-spacing:0;}
  .capture-view:has(#dropzone) .capture-tips small {font-weight:700;}
  .capture-view:has(#dropzone) .capture-tips .icon {width:25px; height:25px;}
  .capture-view:has(#dropzone) .tabs {margin-bottom:29px;}
  .capture-view:has(#dropzone) .capture-panel {padding-top:30px; padding-bottom:31px;}
  .capture-view:has(#dropzone) .tab {min-height:49px; height:49px; font-size:12px; font-weight:800; border-radius:28px; gap:5px; letter-spacing:0;}
  .capture-panel .upload-zone:not(.has-error,.received) {justify-content:center; min-height:237px; padding-top:20px;}
  .capture-panel .upload-zone:not(.has-error,.received)>:is(.upload-icon,h3,p,.upload-recovery-actions) {position:static;}
  .capture-panel .upload-zone:not(.has-error,.received)>.upload-icon {margin:0 auto; margin-bottom:6px;}
  .capture-panel .upload-zone:not(.has-error,.received)>h3 {font-size:24px; font-weight:700; letter-spacing:0; margin:0 0 4px; margin-bottom:5px;}
  .capture-panel .upload-zone:not(.has-error,.received)>p {font-size:16px; font-weight:700; line-height:22px; margin:0 0 17px;}
  .capture-view:has(#dropzone) .pages-panel {padding-block:22px 20px; padding-bottom:22px;}
  .capture-view:has(#dropzone) .capture-layout {align-items:start; gap:47px;}
  .capture-view:has(#dropzone) .pages-panel .small-note:empty {display:none;}
  .capture-view:has(#dropzone) .panel-top {margin-bottom:14px;}
  .capture-view:has(#dropzone) .panel-top h3 {font-size:13px; line-height:18px; font-weight:750;}
  .capture-view:has(#dropzone) .page-count {font-size:10px; line-height:14px; font-weight:700;}
  .capture-view:has(#dropzone) .pages-panel .page-list {margin-top:0; margin-bottom:5px; gap:12px;}
  .capture-view:has(#dropzone) .page-item {gap:17px;}
  .capture-view:has(#dropzone) .page-thumb {aspect-ratio:128 / 149;}
  .capture-view:has(#dropzone) .remove-page {top:-3px; right:-1px; width:21px; height:21px;}
  .capture-view:has(#dropzone) .page-thumb .paper-lines {padding:17px 16px; gap:9.25px;}
  .capture-view:has(#dropzone) .page-info b {font-size:11px; font-weight:750;}
  .capture-view:has(#dropzone) .pages-panel .btn {min-height:44px; font-size:11px; gap:8px;}
  .capture-view:has(#dropzone) .pages-panel .btn .icon {width:15px; height:15px;}
  .capture-panel .upload-zone:not(.has-error,.received) [data-action=choose-file] {font-weight:800; letter-spacing:0;}
  .capture-view:has(#dropzone) .pages-panel [data-action=add-page] {border:1px dashed var(--ink); color:#101010; border-color:#211c25; font-size:11px; letter-spacing:0; min-height:45px;}
  .capture-view:has(#dropzone) .pages-panel [data-action=analyze] {margin-top:14px; font-size:11px; letter-spacing:0;}
  .capture-view:has(#dropzone) .pages-panel [data-action=analyze]:enabled {box-shadow:0 4px 5px #0004;}
  .answer-results:has(.verified-deadline[data-overdue]) .action-summary header {margin-bottom:2px;}
  .answer-results .chat-badge {font-weight:800; letter-spacing:-.02em; gap:8px; border-radius:20px;}
  .answer-results .identity-excerpt>summary {line-height:18px;}
  .step-navigation .progress li button {padding-top:1px;}
  .answer-results .answer-actions [data-action=reminder] {min-width:200px;}
  .answer-results .verified-deadline>span .icon {width:24px; height:24px;}
  .capture-view .step-navigation li:nth-child(2) button {min-width:128px;}
  .capture-view:has(#dropzone) .pages-panel .panel-top h3 {font-weight:700;}
  .capture-view:has(#dropzone) .tab .icon {width:14px;}
  body[data-view=questions] .header .nav-right>.btn {height:42px; min-height:42px; font-weight:650;}
  .answer-results .results-rail:not(.guide-open) .summary-sidebar {gap:22px;}
  .answer-results .original-paper {background:#f3f1ec;}
  .capture-panel .upload-zone:not(.has-error,.received)>:is(h3,p) {position:relative; top:-2px;}
  .reading .timeline {gap:20px; margin-top:24px;}
  .answer-results:has(.verified-deadline[data-overdue]) .action-summary {min-height:146px;}
  .capture-view:has(.camera-viewport,.recovery-grid,#camera-live) .pages-panel:has(.empty-pages) {min-height:378px; padding:20px 42px 12px;}
  .capture-view:has(.camera-viewport,.recovery-grid,#camera-live) .pages-panel .panel-top {margin-bottom:12px;}
  .capture-view:has(.camera-viewport,.recovery-grid,#camera-live) .pages-panel .panel-top h3 {font-size:13px; font-weight:700;}
  .capture-view:has(.camera-viewport,.recovery-grid,#camera-live) .pages-panel .page-count {font-size:10px; font-weight:700;}
  .capture-view:has(.camera-viewport,.recovery-grid,#camera-live) .pages-panel>.btn {font-size:12px; min-height:44px; gap:8px;}
  .capture-view:has(.camera-viewport,.recovery-grid,#camera-live) .pages-panel>.btn .icon {width:15px; height:15px;}
  .capture-view:has(.camera-viewport,.recovery-grid,#camera-live) .pages-panel [data-action=add-page] {border:1px dashed var(--ink);}
  .capture-view:has(.camera-viewport,.recovery-grid,#camera-live) .pages-panel [data-action=analyze] {box-shadow:0 3px 4px #0003;}
  .workflow-popover:has(.reminder-phone) .reminder-phone {margin-left:36px;}
}

.capture-navigation {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  column-gap:12px;
}
.capture-navigation .progress {flex-wrap:wrap;}
.capture-navigation .chat-widget {z-index:10;justify-self:end;}
.capture-navigation .chat-badge {
  min-height:0;
  height:40px;
  width:auto;
  padding:4px;
  margin-top:-3px;
  gap:0;
  border-radius:999px;
  white-space:nowrap;
}
.capture-navigation .chat-badge .ask-symbol {width:32px;height:32px;flex:none;}
.capture-navigation .ask-label {
  display:grid;
  grid-template-columns:0fr;
  opacity:0;
  transition:grid-template-columns .2s ease,opacity .16s ease,padding .2s ease;
}
.capture-navigation .ask-label>span {overflow:hidden;min-width:0;}
.capture-navigation .chat-badge:is(:focus-visible,[aria-expanded=true]) .ask-label {
  grid-template-columns:1fr;opacity:1;padding:0 8px 0 12px;
}
@media(hover:hover){
  .capture-navigation .chat-badge:hover .ask-label {grid-template-columns:1fr;opacity:1;padding:0 8px 0 12px;}
}
@media(max-width:700px){
  .capture-navigation {column-gap:8px;}
  .capture-navigation .chat-badge {height:44px;padding:6px;margin-top:0;}
  .capture-navigation .chat-widget .chat-panel {position:fixed;inset:auto 0 0;width:100%;max-width:100%;}
}
@media(prefers-reduced-motion:reduce){
  .capture-navigation .ask-label {transition:none;}
}
.camera-viewport:is([data-quality=failed],[data-quality=align]) {--guide-color:#ff383c;}
.camera-viewport:is([data-quality=failed],[data-quality=align]) .camera-hint {background:var(--guide-color);color:white;}
@media(max-width:900px){
  .capture-layout {grid-template-columns:minmax(0,1fr);}
  .capture-panel .tab {min-width:0;white-space:normal;}
}
@media(max-width:650px){
  .capture-panel .tab {flex:1 1 0;padding-inline:10px;}
  .capture-panel .tab:first-child {flex-basis:0;}
  .camera-box:has(.camera-viewport) {min-height:0;}
  .camera-viewport .camera-hint {top:8px;left:8px;max-width:calc(100% - 16px);font-size:11px;min-height:26px;}
  .camera-viewport .camera-hint .icon {flex:none;width:16px;height:16px;}
}
