/* PDF WellDone: shared interface tokens and a document-led home page. */
:root{--ink:#192139;--muted:#657087;--purple:#514ce6;--line:#e7eaf2;--paper:#f7f8fc;--mint:#c9efdd;--radius:14px;font-family:"Segoe UI",system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--paper)}
body{font-size:14px;background:var(--paper)}
.icon-library{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.icon{width:20px;height:20px;display:inline-block;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
button,input,textarea,select{font-family:inherit}
button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:600;line-height:1.25;min-height:40px;padding:11px 16px;border-radius:10px;background:#fff;color:#333e56;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
.button:not(:disabled):hover{background:#f0f1f9}.button:active:not(:disabled){transform:translateY(1px)}
.primary{background:var(--purple);color:#fff;box-shadow:0 4px 10px #514ce61c;border:1px solid var(--purple)}
.primary:not(:disabled):hover{background:#423bc9;border-color:#423bc9;box-shadow:0 6px 18px #514ce630}
.button:disabled{opacity:.46;box-shadow:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #9697f0;outline-offset:3px}
.topbar{height:76px;padding:0 25px;gap:14px;border-bottom:1px solid var(--line);background:#ffffffed}
.brand{gap:10px;font-family:inherit;font-weight:750;font-size:23px;letter-spacing:-1px;color:var(--ink)}
.brand-mark{width:37px;height:37px;border-radius:12px;background:var(--purple);box-shadow:none}
.brand-mark .icon{width:23px;height:23px;stroke-width:1.5}.brand-dot{color:#6a64e8}
.top-menu-trigger,.home-button{height:37px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-color:#e5e8f0;border-radius:10px;color:#657087;font:600 12px inherit}
.top-menu-trigger span{margin-left:0}.home-button{width:37px}.topbar .create-button{font-size:12px;background:transparent;border:0;color:#68738b;margin-left:10px}
.topbar .privacy{margin-left:auto;margin-right:12px;font-size:11px;color:#4b7164;gap:7px;white-space:nowrap}.privacy-dot{width:6px;height:6px;background:#38a47a;margin-right:0;box-shadow:0 0 0 4px #40a97d0c}
.topbar .primary{font-size:12px;padding:11px 16px}.export-trigger{border:1px solid #e1e4ed;font-size:12px}
body[data-has-document="false"] .topbar #download,body[data-has-document="false"] .topbar #export-open{display:none}
.shell{height:calc(100vh - 76px);grid-template-columns:174px minmax(0,1fr) 310px}
body:not(.document-open) .shell{grid-template-columns:218px minmax(0,1fr)}
.rail{padding:24px 15px 18px;border-color:var(--line);background:#fff}
body:not(.document-open) .rail{padding-top:27px}.open-button{border:1px solid #dedcfb;background:#f2f1ff;color:#5047c4;height:44px;border-radius:11px;font-size:13px;justify-content:flex-start}
.open-button .icon{width:18px;height:18px}.open-button:not(:disabled):hover{background:#e9e7ff}
.home-nav{gap:7px!important;margin:24px 0 28px!important}.home-nav-item{font-size:13px;font-weight:500;color:#738097;padding:12px 13px;gap:12px;border-radius:10px}
.home-nav-item .icon{width:18px;height:18px;stroke-width:1.6}.home-nav-item.active{color:#4c46ce;background:#efeeff;font-weight:650}.home-nav-item:hover{color:#4c46ce;background:#f5f4ff}
.rail-bottom{display:flex;gap:10px;align-items:flex-start;padding:17px 3px 0;border-color:#e9edf3;font-size:10px;color:#7e8ba0;line-height:1.6}.rail-bottom .icon{color:#6f9a88;width:18px;height:18px}.rail-bottom b{display:block;font-size:10px;color:#5d6b80;font-weight:650}.rail-bottom span{display:block}
.combine-button{font-size:11px;border:1px solid #e7e9f2;justify-content:flex-start;padding:9px 10px;margin:4px 0;min-height:36px;border-radius:9px}
body:not(.document-open) .rail .combine-button{margin-top:4px}
.rail-label{font:650 10px inherit;letter-spacing:1.3px;color:#8c97ab}.rail-tool{font-size:12px;color:#68758c}.rail-tool.selected{background:#eeedff;color:#5146d1}
.mini-button,.icon-button{border:1px solid #e3e7ef;border-radius:8px;color:#63718b;background:#fff;cursor:pointer;display:inline-grid;place-items:center;min-width:30px;min-height:30px}
.mini-button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#efedff;color:#4c45cd;border-color:#d7d1f8}
.mini-button:disabled,.icon-button:disabled{opacity:.35}
.thumb{border-radius:8px;border-color:#e4e8f0}.thumb.active{border-color:#6e63e8;box-shadow:0 0 0 3px #edebff}.thumb-num{font-size:10px}
.toolbar{height:58px;border-color:var(--line);padding:0 20px;gap:15px}.document-name{font-size:12px;color:#657087}.toolbar-actions{font-size:11px;gap:7px}.toolbar-actions .icon-button{height:29px;width:29px}.toolbar-actions .fit-button{font-size:11px;min-height:29px;border-radius:8px;padding:5px 9px}
.stage{background:#edf0f6}.statusbar{font-size:11px;color:#69778e;border-color:var(--line);min-height:37px}.paper{box-shadow:0 7px 36px #1c2b4514}.paper-wrap{padding:32px}
.inspector{padding:22px 16px 28px;border-color:var(--line);gap:14px;background:#fff}
.inspector-heading{font:650 10px inherit;letter-spacing:1.4px;color:#8893a7}.spark{color:#7561dd}
.find-card,.selection-card,.ocr-card,.action-card{border:1px solid #e7eaf2;border-radius:12px;box-shadow:none}.find-card{background:#fafbfe;padding:13px}.find-row input{font-size:12px;border-color:#e1e5ef;padding:9px}.find-card p{font-size:10px;color:#8190a5}
.selection-card{padding:16px}.selection-title{font:650 10px inherit;letter-spacing:1px;color:#68758e}.selection-card>p{font-size:12px;color:#738197;line-height:1.6}.edit-label,.format-row label{font-size:11px;color:#718097;font-weight:600}.selection-card textarea{font-size:13px;line-height:1.6;border-color:#e0e5ef;background:#fafbfe;padding:10px;border-radius:9px}.format-row select,.format-row input[type=number]{font-size:11px;padding:8px;border-color:#e1e5ef}.format-toggles span{font-size:9px;color:#8792a5}.format-toggles button{border-radius:7px;border-color:#e1e5ef}.format-toggles button[aria-pressed=true]{background:#efedff;color:#5546cc;border-color:#d5cef5}
.selection-hint{background:#f6f5fc;color:#837692;font-size:10px;line-height:1.6;padding:10px;border-radius:8px}.edit-buttons{margin-top:12px}.edit-buttons .button{min-height:36px;font-size:12px}.edit-buttons #cancel-edit{font-size:11px;padding:8px 12px}.ocr-card{padding:15px;background:#f7f8fc}.ocr-card>p{font-size:11px;color:#79869a;line-height:1.6}.ocr-language{font-size:12px;border-color:#e0e5ef;padding:10px;border-radius:9px;color:#42516b}.ocr-button{font-size:12px;border-color:#dedbf6;min-height:38px;color:#5b4bb4}.extra-languages{font-size:11px;color:#7e728d}.ocr-card .model-info{font-size:10px;color:#8390a4}.inspector-note{color:#718796;background:#f1f8f4;padding:12px;font-size:10px;line-height:1.6;align-items:start}.inspector-note .icon{color:#5e9b7f;width:18px;height:18px}.version{color:#9ca5b6;font:600 9px inherit;letter-spacing:1px}
.action-card b{font-size:11px}.action-card p{font-size:10px;line-height:1.5;color:#8b96a9}.action-icon.violet{background:#f0edff;color:#7f6ac8}
.tool-banner{background:#f4f2fc;border-color:#e7e2f5;font-size:12px}.tool-banner b{color:#5d4bc0}.tool-banner span{color:#80758f}
.tool-prompt{border:1px solid #dcd5f7;border-radius:15px;background:#fff;box-shadow:0 7px 24px #2f215808}.tool-prompt h2{color:var(--ink);font-size:22px}.home-feedback{font-size:12px;background:#f0ecfb;color:#6b5a86;border-radius:10px}
body:not(.document-open) .stage{background:var(--paper)}
body:not(.document-open) .welcome{width:min(1320px,100%);padding:32px 40px 28px;margin:0 auto;text-align:left;max-width:none}
.dashboard-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.85fr);gap:35px;align-items:center;padding:22px 0 48px;min-height:505px;background:none;border:0;border-radius:0;overflow:visible}
.dashboard-copy{max-width:570px;z-index:auto}.hero-badge{display:inline-flex;align-items:center;gap:9px;border:1px solid #e5e7f1;background:#fff;padding:8px 12px;border-radius:30px;font-size:10px;font-weight:600;color:#6c788c}
.dashboard-copy h1{font-family:inherit;font-size:clamp(40px,4.15vw,66px);line-height:1.05;font-weight:740;letter-spacing:-3.1px;color:var(--ink);margin:23px 0 20px}.dashboard-copy h1 em{color:#5850da;font-style:normal}.dashboard-copy p{font-size:14px;line-height:1.85;color:#748199;max-width:465px;margin:0 0 24px}
.hero-actions{display:flex;gap:11px;align-items:center;flex-wrap:wrap}.hero-actions .large{font-size:13px;padding:14px 19px;min-height:48px;border-radius:11px}.hero-actions .primary{box-shadow:0 5px 15px #514ce623}.sample-button{background:#fff;border:1px solid #dfe3ee;color:#596782}
.hero-reassurance{display:flex;gap:15px;margin:16px 0 14px;color:#8b96a8;font-size:10px}.hero-reassurance span:before{content:'✓';color:#68a38b;margin-right:5px}.text-button{display:inline-flex;align-items:center;gap:10px;border:0;background:none;font:600 11px inherit;color:#78859c;padding:5px 0;cursor:pointer}.text-button:hover{color:#5147ca}
.product-preview{background:linear-gradient(145deg,#ebeaff,#e7edf9);border:1px solid #e4e5f4;border-radius:24px;padding:18px 24px 20px;position:relative;justify-self:end;width:min(100%,380px);transform:rotate(1.5deg)}
.preview-caption{display:flex;align-items:center;gap:7px;justify-content:center;color:#777f9b;font-size:9px;font-weight:600;margin:0 0 15px;transform:rotate(-1.5deg)}.preview-dot{height:5px;width:5px;display:inline-block;border-radius:50%;background:#938bdd}
.sample-preview-button{border:1px solid #e2e4ee;border-radius:12px;overflow:hidden;background:#fff;display:block;width:100%;padding:0;box-shadow:0 16px 40px #4b518b19;text-align:left;cursor:pointer;transform:rotate(-1.5deg);color:#6f7890}
.sample-preview-button:hover{box-shadow:0 18px 45px #4b518b2c}.preview-toolbar{display:flex;align-items:center;gap:7px;height:39px;background:#fafbff;border-bottom:1px solid #e9ecf5;padding:0 12px;font-size:9px;white-space:nowrap}.preview-toolbar .icon{width:14px;height:14px;color:#8b83d6}.preview-format{margin-left:auto;font-weight:700;color:#939bb0;font-size:8px}
.preview-canvas-wrap{position:relative;background:#fff;padding:0;line-height:0}.preview-canvas-wrap canvas{display:block;width:100%;height:auto}.preview-annotation{position:absolute;bottom:25%;left:-1px;right:-1px;display:flex;align-items:center;justify-content:center;gap:7px;min-height:35px;background:#eeecffef;color:#6853bd;border:1px solid #d4c8f4;font-size:10px;line-height:1.3;font-weight:650;box-shadow:0 4px 12px #5f4b8920}.preview-annotation .icon{width:15px;height:15px}.preview-annotation>span{margin-left:5px}
.preview-local{display:flex;justify-content:center;gap:8px;align-items:center;margin-top:17px;font-size:9px;color:#8493a2;transform:rotate(-1.5deg)}.preview-local .icon{width:17px;height:17px;color:#63a17f}.preview-local b{display:block;color:#627b70;font-size:10px;margin-bottom:2px;font-weight:650}
.dashboard-tools{margin-top:12px}.dashboard-section-heading{margin:0 0 22px;align-items:end;gap:18px}.eyebrow,.dashboard-section-heading .eyebrow{font:650 9px inherit;letter-spacing:1.3px;color:#909bb0}.dashboard-section-heading h2{font-family:inherit;font-size:27px;font-weight:700;letter-spacing:-.8px;margin:9px 0 0;color:var(--ink)}.dashboard-section-heading>span{font-size:11px;color:#9aa4b5}
.dashboard-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-card{min-height:164px;border:1px solid #e5e8f0;border-radius:14px;padding:20px;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto 1fr;gap:0 13px;background:#fff;box-shadow:0 3px 8px #26315202;transition:border-color .18s,box-shadow .18s,transform .18s}
.dashboard-card:hover{border-color:#c6bff1;box-shadow:0 8px 25px #46438c0b;transform:translateY(-3px)}.dashboard-icon{width:36px;height:36px;border-radius:10px;grid-row:1/3}.dashboard-icon .icon{width:19px;height:19px}.dashboard-icon.purple{color:#7360ca;background:#f0edff}.dashboard-icon.blue{color:#529680;background:#edf7f1}.dashboard-icon.amber{color:#bd8d5b;background:#fcf3e9}
.dashboard-card b{font-size:13px;font-weight:650;line-height:1.4;color:#344057;margin:1px 0 6px}.dashboard-card>span:nth-of-type(2){font-size:11px;line-height:1.65;color:#8792a6}.dashboard-card small{grid-column:1/-1;font-size:10px;font-weight:600;letter-spacing:0;color:#9182ad;display:flex;align-items:center;justify-content:space-between;align-self:end;margin-top:17px}.dashboard-card small>span{font-size:16px;line-height:1;color:#9b8caf}
.home-language{margin:16px 1px 0;padding:14px 16px;background:#f0f2f8;border:1px solid #e9ecf3;border-radius:10px;gap:20px;font-size:11px;color:#8c97a9;line-height:1.6}.home-language label b{color:#6d798f;font-weight:600;margin-right:5px}.home-language .ocr-language{font-size:11px;padding:9px 11px;border-color:#e0e5ee;max-width:245px;flex:none}
.workflow{margin:30px 0 0;padding:25px 3px 30px;border-top:1px solid #e4e8f0;gap:25px}.workflow>div{padding-left:37px}.workflow span{font-size:11px;color:#acb3c4;top:3px;font-weight:600}.workflow b{font-size:14px;color:#59657c;font-weight:650}.workflow p{font-size:11px;line-height:1.65;margin-top:7px;color:#95a0b1;max-width:230px}
.dashboard-lower{display:grid;grid-template-columns:1fr;gap:20px;margin-top:10px}.dashboard-panel{border-radius:16px;border:1px solid #e4e8ef;padding:22px 24px}.privacy-panel{background:#202940;border-color:#202940;color:#fff;padding:35px 38px}
.privacy-story{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.privacy-story .eyebrow{color:#8b96b2;font-size:8px}.privacy-story h2{font-size:37px;line-height:1.12;letter-spacing:-1.4px;font-weight:650;color:#fff;margin:14px 0 15px}.privacy-story>div>p{font-size:12px;color:#a1adc2;line-height:1.8;max-width:355px;margin:0 0 20px}.privacy-tags{gap:7px;flex-wrap:wrap}.privacy-tags span{background:#303a51;color:#b5c5c6;border:1px solid #3c465b;border-radius:6px;font-size:8px;padding:6px 9px;letter-spacing:.2px;font-weight:500}
.privacy-facts{display:grid;gap:23px}.privacy-facts>div{display:flex;gap:13px;align-items:flex-start}.privacy-facts .icon{width:20px;height:20px;color:#a1d2b9;margin-top:1px}.privacy-facts b{font-size:12px;color:#dce3f0;font-weight:600}.privacy-facts p{font-size:11px;color:#93a1bb;line-height:1.7;margin:6px 0 0;max-width:300px}.privacy-footnote{border-top:1px solid #394256;margin-top:26px;padding-top:17px;color:#7d8ba6;font-size:9px;line-height:1.7}
.recent-panel{background:#fff;min-height:0;padding:18px 22px}.panel-heading{font-size:11px;justify-content:space-between;color:#77849a}.local-pill{font-size:8px;color:#8ba994;background:#f1f7f3;font-weight:600}.recent-empty{margin-top:13px;padding-top:14px;gap:13px;border-color:#eef0f5}.recent-file-icon{background:#f5f3ff;border-color:#e6e0f5;color:#9b85c3;width:33px;height:40px}.recent-empty b{font-size:11px;color:#6e7a91}.recent-empty p{font-size:10px;color:#9aa6b7;line-height:1.5}.recent-empty .button{min-height:34px;font-size:11px;border-color:#e6e9f1;background:#fafbfe}
.product-faq{display:grid;grid-template-columns:.8fr 1.3fr;gap:40px;margin:45px 0 40px;padding:0 4px}.product-faq h2{font-size:27px;font-weight:650;letter-spacing:-.8px;line-height:1.25;color:#4e5a73;margin:11px 0}.faq-items details{border-bottom:1px solid #e3e7f0;padding:0 0 15px;margin-bottom:15px}.faq-items summary{font-size:12px;font-weight:600;color:#6c7891;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:15px;line-height:1.5}.faq-items summary:after{content:'+';font-size:18px;color:#b1b8c8;line-height:1}.faq-items details[open] summary:after{content:'−'}.faq-items p{font-size:11px;color:#8e9ab0;line-height:1.8;margin:12px 0 0}
.workspace-footer{display:flex;align-items:center;gap:20px;border-top:1px solid #e3e7f0;padding:24px 0 4px}.workspace-footer>span{font-size:17px;font-weight:750;letter-spacing:-.7px;color:#69768c}.workspace-footer p{font-size:10px;color:#a2abba;line-height:1.6;margin:0}.workspace-footer p span{display:block;font-size:9px;color:#b0b8c6}.workspace-footer .text-button{margin-left:auto;font-size:9px;color:#98a3b5;white-space:nowrap}
.export-dialog{width:min(470px,calc(100vw - 30px));border:1px solid #e2e6f0;box-shadow:0 25px 100px #17224435;border-radius:18px;padding:28px}.export-dialog::backdrop{background:#19213966}.dialog-heading h2{font-size:25px;letter-spacing:-.8px;color:var(--ink);font-weight:650}.export-explanation{font-size:12px;color:#8090a4;line-height:1.8}.export-footnote{color:#a0abba;font-size:10px;line-height:1.7}#export-progress{color:#7869b2;font-size:12px}
.welcome[data-home-view="tools"] .product-faq{display:none}.welcome[data-home-view="tools"] .workspace-footer{margin-top:35px}.welcome[data-home-view="tools"] .dashboard-section-heading h2{font-size:34px}.welcome[data-home-view="privacy"] .privacy-panel{padding:38px}.welcome[data-home-view="privacy"] .product-faq{margin-top:35px}
@media(min-width:1650px){.dashboard-hero{gap:70px;padding:34px 0 56px;min-height:565px}.product-preview{width:400px;padding:22px 30px}.dashboard-copy h1{font-size:72px}.dashboard-copy p{font-size:15px}.dashboard-card{min-height:175px;padding:22px}.dashboard-card b{font-size:14px}.dashboard-card>span:nth-of-type(2){font-size:12px}}
@media(max-width:1200px){body:not(.document-open) .shell{grid-template-columns:184px minmax(0,1fr)}body:not(.document-open) .welcome{padding:26px 28px}.dashboard-hero{grid-template-columns:minmax(0,1.1fr) minmax(240px,.85fr);gap:20px;min-height:470px}.dashboard-copy h1{font-size:50px;letter-spacing:-2.5px}.dashboard-copy p{font-size:13px}.hero-actions{gap:8px}.hero-actions .large{padding:13px 14px;font-size:12px}.product-preview{padding:16px 18px}.preview-caption{font-size:8px}.dashboard-card{padding:17px;grid-template-columns:31px 1fr;column-gap:10px;min-height:174px}.dashboard-icon{width:31px;height:31px}.dashboard-card b{font-size:12px}.dashboard-card>span:nth-of-type(2){font-size:10px}.shell{grid-template-columns:136px minmax(0,1fr) 280px}.topbar .privacy{display:none}.topbar #export-open{margin-left:auto}.topbar .create-button{margin-left:auto}body[data-has-document="true"] .topbar .create-button{margin-left:0}.privacy-panel{padding:28px}.privacy-story{gap:25px}.privacy-story h2{font-size:32px}.workspace-footer .text-button{white-space:normal;max-width:150px}}
@media(max-width:960px){body:not(.document-open) .shell{grid-template-columns:160px minmax(0,1fr)}.rail{padding:20px 11px}.home-nav-item{font-size:12px;padding:11px 9px;gap:9px}.rail-bottom{gap:6px}.rail-bottom span{font-size:9px}.shell{grid-template-columns:112px minmax(0,1fr) 254px}.dashboard-hero{grid-template-columns:1fr .75fr;gap:18px;min-height:430px;padding-bottom:30px}.dashboard-copy h1{font-size:43px;letter-spacing:-2px}.dashboard-copy p{font-size:12px;line-height:1.8}.hero-actions{align-items:stretch;flex-direction:column;max-width:220px}.hero-actions .large{font-size:12px;min-height:41px;padding:11px 12px}.hero-reassurance{font-size:9px;flex-direction:column;gap:5px;margin:12px 0}.hero-badge{font-size:8px;padding:7px 9px}.product-preview{padding:13px 12px;border-radius:18px;transform:none}.sample-preview-button,.preview-caption,.preview-local{transform:none}.preview-caption{font-size:8px;line-height:1.5;max-width:150px;margin:0 auto 10px}.preview-toolbar{font-size:7px;padding:0 7px;gap:4px}.preview-toolbar .icon{width:11px}.preview-format{font-size:6px}.preview-annotation{font-size:8px;min-height:31px;gap:4px}.preview-annotation .icon{width:12px}.preview-local{font-size:8px;margin-top:12px;gap:5px}.preview-local b{font-size:9px}.dashboard-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-card{min-height:150px}.dashboard-section-heading h2{font-size:24px}.home-language{padding:12px;gap:10px}.home-language label{font-size:10px}.home-language .ocr-language{max-width:180px;font-size:10px}.privacy-story{grid-template-columns:1fr;gap:25px}.privacy-story>div>p{max-width:none}.privacy-story h2 br{display:none}.privacy-facts{grid-template-columns:1fr;gap:20px}.privacy-facts p{max-width:none}.workflow{gap:15px}.workflow>div{padding-left:28px}.workflow p{font-size:10px}.product-faq{grid-template-columns:1fr;gap:20px}.product-faq h2 br{display:none}.workspace-footer{flex-wrap:wrap;gap:10px}.workspace-footer .text-button{margin-left:0;max-width:none}.inspector{padding:18px 12px}}
@media(max-width:760px){.topbar{height:66px;padding:0 14px;gap:10px}.brand{font-size:21px;gap:8px}.brand-mark{display:grid;width:33px;height:33px;border-radius:10px}.brand-mark .icon{width:21px;height:21px}.top-menu-trigger{width:34px;height:34px;padding:0;border:0;order:5;margin-left:auto}.top-menu-trigger span{display:none}.home-button{display:none}.topbar .create-button{display:none}.topbar .privacy{display:none}.topbar .primary{font-size:10px;padding:9px 11px;min-height:35px;border-radius:9px}.topbar .primary .icon{width:15px;height:15px}.export-trigger{font-size:10px;min-height:35px;padding:8px 10px}.topbar #export-open{margin-left:auto}.topbar .brand{order:0}.topbar .export-trigger{order:2}.topbar #download{order:3}body[data-has-document="true"] .top-menu-trigger{margin-left:0}.shell,body:not(.document-open) .shell{height:auto;grid-template-columns:1fr;min-height:calc(100vh - 66px)}.rail{display:none}.main-area{min-height:calc(100vh - 66px)}body:not(.document-open) .welcome{padding:24px 22px 25px}.dashboard-hero{grid-template-columns:minmax(0,1.05fr) minmax(210px,.8fr);gap:22px;min-height:0;padding:15px 0 35px}.dashboard-copy h1{font-size:47px;letter-spacing:-2.2px;margin:20px 0 16px}.dashboard-copy p{font-size:13px;line-height:1.85}.hero-actions{flex-direction:row;max-width:none}.hero-actions .large{padding:12px 15px;min-height:44px}.hero-reassurance{flex-direction:column;font-size:9px;gap:6px}.hero-badge{font-size:9px}.product-preview{padding:14px}.preview-caption{font-size:8px}.preview-toolbar{font-size:8px}.preview-annotation{font-size:9px}.preview-local b{font-size:9px}.dashboard-tools{margin-top:15px}.dashboard-section-heading{margin-bottom:18px}.dashboard-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-card{min-height:157px;padding:17px}.dashboard-card b{font-size:12px}.dashboard-card>span:nth-of-type(2){font-size:11px}.dashboard-card small{font-size:10px}.home-language{align-items:stretch;flex-direction:column;padding:14px;gap:10px}.home-language label{font-size:11px}.home-language .ocr-language{max-width:none;font-size:12px}.workflow{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:25px;padding:25px 0}.workflow b{font-size:12px}.workflow p{font-size:10px}.privacy-panel,.welcome[data-home-view="privacy"] .privacy-panel{padding:27px}.privacy-story h2{font-size:33px}.privacy-story>div>p{font-size:12px}.privacy-footnote{font-size:9px}.product-faq{margin:35px 0 25px}.workspace-footer p{font-size:10px}.workspace-footer .text-button{font-size:10px}.document-open .main-area{height:72vh;min-height:420px}.document-open .inspector{display:grid;grid-template-columns:1fr 1fr;max-height:none;padding:20px;gap:15px;border-top:1px solid #e2e6f0}.toolbar{height:auto;min-height:76px;flex-wrap:wrap;padding:8px 12px;gap:5px}.document-name{width:100%;max-width:100%;font-size:11px}.toolbar-actions{width:100%;justify-content:flex-end;gap:4px}.toolbar-actions .icon-button{height:27px;width:27px;min-width:27px;min-height:27px}.toolbar-actions .fit-button{min-height:27px;font-size:10px}.tool-banner{padding:9px 12px;font-size:10px}.statusbar{min-height:35px;font-size:10px}.paper-wrap{padding:20px}.workspace-footer>span{font-size:19px}.welcome[data-home-view="tools"] .dashboard-section-heading h2{font-size:30px}.find-card{grid-column:1/-1}}
@media(max-width:580px){.dashboard-hero{grid-template-columns:1fr;padding-top:3px;gap:28px}.dashboard-copy{max-width:none}.dashboard-copy h1{font-size:52px;line-height:1.03;letter-spacing:-2.6px}.dashboard-copy p{font-size:14px;max-width:440px}.hero-badge{font-size:9px}.hero-actions{gap:8px}.hero-actions .large{font-size:12px;padding:13px 16px;min-height:46px}.hero-reassurance{flex-direction:row;gap:14px;font-size:9px;margin-top:16px}.text-button{font-size:11px}.product-preview{display:block;justify-self:center;width:min(100%,320px);padding:14px 22px 16px;border-radius:20px}.preview-caption{max-width:none;font-size:9px}.preview-toolbar{font-size:8px}.preview-canvas-wrap canvas{max-height:360px;object-fit:contain}.preview-annotation{bottom:24%;font-size:9px}.preview-local{font-size:8px}.preview-local b{font-size:9px}.dashboard-tools{margin-top:10px}.dashboard-section-heading h2{font-size:26px}.eyebrow,.dashboard-section-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.dashboard-card-grid{grid-template-columns:1fr;gap:11px}.dashboard-card{min-height:139px;grid-template-columns:38px 1fr;padding:19px}.dashboard-icon{width:38px;height:38px;border-radius:11px}.dashboard-card b{font-size:14px;margin-top:1px}.dashboard-card>span:nth-of-type(2){font-size:12px;line-height:1.7}.dashboard-card small{font-size:11px;margin-top:14px;grid-column:2}.workflow{grid-template-columns:1fr;gap:20px;padding:25px 0 20px}.workflow>div{padding-left:37px}.workflow b{font-size:14px}.workflow p{font-size:11px;max-width:none;margin:5px 0 0}.workflow span{font-size:11px}.privacy-panel,.welcome[data-home-view="privacy"] .privacy-panel{padding:27px 23px}.privacy-story h2{font-size:33px;letter-spacing:-1.1px}.privacy-story h2 br{display:block}.privacy-facts{gap:22px}.privacy-facts b{font-size:12px}.privacy-facts p{font-size:11px}.privacy-tags span{font-size:8px}.privacy-footnote{font-size:9px}.recent-panel{padding:18px}.recent-empty{gap:9px;flex-wrap:wrap}.recent-empty>div{min-width:140px}.recent-empty .button{margin-left:auto}.recent-empty b{font-size:11px}.local-pill{font-size:7px}.product-faq{gap:17px;margin:35px 0}.product-faq h2{font-size:26px}.faq-items summary{font-size:12px}.faq-items p{font-size:11px}.workspace-footer{gap:13px;align-items:start}.workspace-footer p{flex-basis:100%}.workspace-footer .text-button{font-size:10px}.document-open .inspector{grid-template-columns:1fr;padding:17px}.selection-card,.ocr-card,.find-card{grid-column:1}.topbar .brand{font-size:19px}.topbar .brand-mark{width:30px;height:30px}.topbar .brand-mark .icon{width:19px;height:19px}.topbar .primary .icon{display:none}.topbar #download{font-size:10px;padding:9px}.topbar{gap:7px;padding:0 12px}.topbar .export-trigger{padding:8px;min-width:0}.document-open .brand-mark{display:none}.topbar .brand-dot{display:inline}.export-dialog{padding:24px}.dialog-heading h2{font-size:23px}.tool-prompt{padding:18px}.tool-prompt h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.button,.dashboard-card,.sample-preview-button{transition:none!important;transform:none!important}}
/* Keep the desktop workspace scrollable and secondary copy readable. */
.main-area{min-height:0}.stage{min-height:0}
.dashboard-copy p{color:#64728a}.hero-badge{color:#616e84}.hero-reassurance,.text-button{color:#67758d}
.home-nav-item{color:#66748a}.dashboard-card>span:nth-of-type(2){color:#6b7890}.dashboard-card small{color:#78648f}
.dashboard-section-heading>span,.eyebrow,.dashboard-section-heading .eyebrow{color:#6e7b92}.home-language,.home-language label{color:#65738b}.home-language label b{color:#526079}
.workflow b{color:#53617a}.workflow p{color:#6b7890}.preview-caption{color:#636c86}.preview-local{color:#647485}.preview-local b{color:#4c6f5d}
.privacy-story>div>p{color:#b4bed0}.privacy-facts p{color:#adbad0}.privacy-story .eyebrow{color:#a8b4c9}.privacy-footnote{color:#9baac2}
.recent-empty p{color:#6b7890}.panel-heading,.recent-empty b{color:#5e6c83}.faq-items summary{color:#5e6c85}.faq-items p{color:#68768e}.product-faq .eyebrow{color:#6e7b92}
.workspace-footer p,.workspace-footer p span,.workspace-footer .text-button{color:#6c7890}.workspace-footer>span{color:#53617a}
.inspector-heading,.version{color:#6a7890}.selection-card>p,.edit-label,.format-row label,.find-card p,.ocr-card>p,.ocr-card .model-info{color:#68778e}.selection-hint{color:#70617f}.format-toggles span{color:#727f94}

/* PDF WellDone wordmark and launch messages. */
.brand{flex-shrink:0;white-space:nowrap}
.brand-wordmark{display:inline-flex;align-items:baseline;white-space:nowrap;font-weight:500;letter-spacing:-.8px}
.brand-wordmark strong{font-weight:850;color:var(--purple)}
.brand-wordmark>span{font-weight:550}
.brand-mark{flex-shrink:0}
.dashboard-copy p.hero-message{font-size:clamp(17px,1.6vw,21px);font-weight:600;line-height:1.5;color:var(--ink);margin-bottom:12px;max-width:420px}
.hero-privacy{display:flex;align-items:center;gap:8px;margin-top:18px;color:#3b6e57;font-size:12px;font-weight:600;line-height:1.5}
.hero-privacy .icon{width:18px;height:18px;flex-shrink:0}
@media(max-width:580px){.topbar .brand{font-size:19px;gap:7px}.topbar .brand-wordmark{letter-spacing:-.6px}.hero-privacy{font-size:11px}.dashboard-copy p.hero-message{font-size:19px}}
@media(max-width:400px){body[data-has-document="true"] .topbar .brand{font-size:16px;letter-spacing:-.6px}body[data-has-document="true"] .topbar .brand-wordmark{letter-spacing:-.6px}}