:root{--background:#f5f7fa;--surface:#fff;--surface-soft:#edf1f6;--text:#213043;--muted:#526173;--border:#d5dde7;--accent:#b94229;--accent-hover:#98321e;--accent-text:#fff;--active-bg:#fff0e9;--green-bg:#edf5ef;--green-text:#3d6650;--warning-bg:#fff2e7;--warning-text:#85532d;--error-bg:#fff0ed;--error-text:#963b28}
:root[data-theme=dark]{--background:#0e1622;--surface:#172231;--surface-soft:#202e40;--text:#edf3fb;--muted:#b4c2d3;--border:#3c4c61;--accent:#f18a6e;--accent-hover:#ffac94;--accent-text:#152030;--active-bg:#442c29;--green-bg:#192f2a;--green-text:#b3d6bf;--warning-bg:#382c20;--warning-text:#f0c491;--error-bg:#3c2628;--error-text:#ffc0b0}
body{background:var(--background);color:var(--text)}
.header{height:88px;padding:0 5.5%;gap:24px;background:var(--surface);border-color:var(--border)}
.header nav{display:flex;gap:27px;color:var(--muted);align-items:center;font-size:13px;white-space:nowrap}
.header nav a:hover,footer a:hover{color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.header-signin{background:var(--accent);color:var(--accent-text);border:1px solid var(--accent);border-radius:8px;padding:12px 16px;font-size:12px;font-weight:650;min-height:42px;white-space:nowrap}
.header-signin:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.theme-toggle{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:23px;line-height:1}
.theme-toggle:hover{background:var(--surface-soft)}
.primary{background:var(--accent);color:var(--accent-text);font-weight:650}.primary:hover{background:var(--accent-hover)}
.eyebrow,.hero-content>p,.hero-proof,.no-signup,.tool-card p,.how-section p,.steps p,.workspace-heading p,.workspace-badge,.back-link,.tool-guide p,.option-help,.tool-note,.process-area p,.dropzone p,.file-row small,.editor-hint,.file-size-note,.scan-note,.pricing-heading p,.pricing-card>p,.pricing-card li,.pricing-notes p,.account-stats span,.account-library p,.login-note,.legal p,dialog p,.text-button,.delete-files,footer>p,footer>div,.search input::placeholder,.plan-price>span{color:var(--muted)}
.tool-card h3,.tool-guide h2,.tool-guide h3,.workspace-heading h1,.pricing-heading h1,.pricing-card h2,.plan-price,.account-stats strong,.account-library h2,.legal h1,.legal h2,dialog h2{color:var(--text)}
.tools-section,footer,.tool-card,.dropzone,.options-panel,.file-row,.tool-guide,.editor-toolbar,.page-tile,.edit-list div,.pricing-card,.pricing-notes,.account-stats article,.account-library,dialog{background:var(--surface);border-color:var(--border)}
.tool-card:hover{border-color:var(--accent)}
.search,.tool-note,.file-row button,.editor-toolbar button,.page-tile button,.workflow-step{background:var(--surface-soft);border-color:var(--border);color:var(--muted)}
.search input{color:var(--text)}.search kbd{border-color:var(--border);color:var(--muted)}
input:not([type=file]),select,textarea{background:var(--surface);color:var(--text);border-color:var(--border)}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
.search input{background:transparent;border:0}
.filters button{color:var(--muted);font-size:12px}.filters button.active{background:var(--active-bg);color:var(--accent);border-color:var(--border)}
.filters button span{background:var(--surface);color:var(--text)}
.popular,.batch-tag{background:var(--surface-soft);color:var(--muted)}
.tool-arrow,.panel-heading span+span,.file-row button,.page-tile span,.page-tile button,.editor-toolbar button,#page-label,.edit-list div,#form-values label,#tool-options label{color:var(--muted)}
.tool-card p{font-size:12px;line-height:1.7}.tool-card h3{font-size:14px}.tool-card{min-height:183px}
.hero-content>p{font-size:15px}.hero-proof,.no-signup{font-size:12px}.hero-proof i{background:var(--border)}
.how-section p,.steps p{font-size:12px}.steps h3{font-size:13px}.steps article>span{background:var(--active-bg);color:var(--accent)}
.privacy-strip{background:var(--green-bg);border-color:var(--border)}.privacy-strip h3{color:var(--text)}.privacy-strip p,.privacy-strip a,.privacy-icon,.small-check{color:var(--green-text)}.privacy-strip p{font-size:12px}.privacy-strip a{font-size:11px}
.panel-heading,.process-area{border-color:var(--border)}
.editor-toolbar button.active{background:var(--active-bg);color:var(--accent)}
.option-help,.tool-note,.process-area p{font-size:11px}.dropzone .upload-limit{font-size:11px}
.file-row strong{font-size:12px}.file-row small{font-size:11px}
.status-card{background:var(--green-bg);border-color:var(--border);color:var(--text)}.status-card p{color:var(--green-text)}.status-card .warning{color:var(--warning-text)}.status-card.error{background:var(--error-bg);border-color:var(--border)}.status-card.error p{color:var(--error-text)}
.progress{background:var(--surface-soft)}.progress div{background:var(--accent)}
.setup-note{background:var(--warning-bg);color:var(--warning-text)!important}
.workflow-actions button{background:var(--surface);border-color:var(--border);color:var(--muted)}
.workflow-step button,.dialog-head button,.dialog-actions>button:first-child{color:var(--muted)}
.pricing-card li,.pricing-notes p,.account-library p,dialog p{font-size:12px}.pricing-card.featured{border-color:var(--accent)}
.ad-slot{background:var(--surface-soft);border:1px solid var(--border)}.ad-slot>span{color:var(--muted)}
footer{border-color:var(--border)}footer>div{font-size:11px}footer>p{font-size:11px}
.page-surface,.page-tile img,#signature-pad{background:#fff}.page-surface canvas{color:#243344}#signature-pad{border-color:var(--border)}
html[data-theme=dark] .hero h1>span{color:#ff9b80}
html[data-theme=dark] .tool-icon{background:#28364a;color:#d1dded}
html[data-theme=dark] .hero-art{filter:brightness(.94)}
html[data-theme=dark] .art-grid{opacity:.4}
html[data-theme=dark] .paper-foot,html[data-theme=dark] .art-pill{color:#526173}
.paper-chart.animated-chart{display:block;width:100%;height:78px;margin:12px 0 0;padding:0;overflow:visible}
.chart-gridline{stroke:#e8edf5;stroke-width:.7;fill:none}.chart-trend{fill:none;stroke:#9db7db;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:180;stroke-dashoffset:180;animation:chart-trace 7s ease-in-out infinite}
.chart-candle{transform-box:fill-box;transform-origin:center bottom;animation:candle-breathe 5s ease-in-out infinite}.chart-candle path{stroke:#a9bfdf;stroke-width:1.6}.chart-candle rect{fill:#cbdaf0}.candle-1{animation-delay:-1.3s}.candle-2{animation-delay:-3.2s}.candle-3{animation-delay:-.7s}.candle-4{animation-delay:-2.3s}.candle-4 rect{fill:#9db6e2}.candle-5{animation-delay:-4.1s}.candle-5 rect{fill:#b9cdeb}
@keyframes candle-breathe{0%,100%{transform:scaleY(.78)}35%{transform:scaleY(1)}65%{transform:scaleY(.9)}}
@keyframes chart-trace{0%{stroke-dashoffset:180;opacity:.5}35%,75%{stroke-dashoffset:0;opacity:.9}100%{stroke-dashoffset:-180;opacity:.2}}
@media(max-width:1000px){.header{gap:16px;padding:0 4%}.header nav{gap:16px;font-size:12px}.header .brand{font-size:23px}.header-actions{gap:8px}.header-signin{padding:11px 13px}}
@media(max-width:760px){.header{height:auto;min-height:112px;display:grid;grid-template-columns:minmax(0,1fr) auto;padding:16px 5% 11px;gap:14px 8px}.header .brand{font-size:20px;gap:7px}.header .brand-icon{width:29px;height:33px;font-size:26px}.header nav{display:flex;grid-column:1/-1;grid-row:2;justify-content:space-between;width:100%;gap:14px;font-size:12px;padding-top:4px;min-height:28px}.header-actions{gap:7px}.header-signin{font-size:11px;padding:10px 11px;min-height:38px}.theme-toggle{width:36px;height:38px;font-size:21px}.hero .eyebrow{font-size:10px}.hero-content>p{font-size:14px}.hero-proof,.no-signup{font-size:11px}.tool-card{padding:18px 14px;min-height:188px}.tool-card h3{font-size:13px}.tool-card p{font-size:12px}.filters button{font-size:12px;padding:9px 10px}.privacy-strip h3{font-size:13px}.privacy-strip p{font-size:12px}.privacy-strip a{display:none}.steps p{font-size:11px}.steps h3{font-size:12px}footer>div{font-size:11px;flex-wrap:wrap;row-gap:12px}}
@media(max-width:359px){.header .brand{font-size:18px}.header-signin{font-size:10px;padding:9px 8px}.header nav{font-size:11px}}
@media(prefers-reduced-motion:reduce){.chart-candle{animation:none;transform:none}.chart-trend{animation:none;stroke-dashoffset:0;opacity:.8}}
.paper-image.animated-landscape{display:block;width:100%;height:65px;border-radius:5px;overflow:hidden;margin:14px 0;background:#f0f4f7}.landscape-sky{fill:#f0f4f7}.mountain-front{fill:#c8dbdd}.mountain-back{fill:#dbe6e8}.landscape-mountains{transform-origin:center bottom;animation:landscape-drift 5s ease-in-out infinite}.landscape-sparkle{fill:#edb66e;transform-box:fill-box;transform-origin:center;animation:sparkle-turn 3.5s ease-in-out infinite}.landscape-glint{fill:#e4bd87;transform-box:fill-box;transform-origin:center;animation:glint-appear 3.5s ease-in-out infinite}.paper-front .paper-line{transform-origin:left center;animation:document-line 4.8s ease-in-out infinite}.paper-front .paper-line:nth-child(3n){animation-delay:-1.2s}.paper-front .paper-line:nth-child(2n){animation-delay:-2.4s}.paper-foot b{animation:check-breathe 3.5s ease-in-out infinite}@keyframes landscape-drift{0%,100%{transform:translate(-3px,4px) scale(1.02)}50%{transform:translate(4px,-3px) scale(1.06)}}@keyframes sparkle-turn{0%,100%{transform:rotate(-14deg) scale(.85)}50%{transform:rotate(23deg) scale(1.22)}}@keyframes glint-appear{0%,15%,85%,100%{transform:scale(.3);opacity:.2}50%{transform:scale(1);opacity:1}}@keyframes document-line{0%,100%{transform:scaleX(.83);opacity:.7}50%{transform:scaleX(1);opacity:1}}@keyframes check-breathe{0%,100%{transform:scale(.96)}50%{transform:scale(1.16)}}@media(prefers-reduced-motion:reduce){.landscape-mountains,.landscape-sparkle,.landscape-glint,.paper-front .paper-line,.paper-foot b{animation:none;transform:none;opacity:1}}
.account-actions{display:flex;justify-content:flex-end;margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}.signout-button{display:inline-flex;align-items:center;justify-content:center;min-width:132px;min-height:46px;padding:12px 24px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:14px;font-weight:650;line-height:1.4;cursor:pointer}.signout-button:hover{background:var(--surface-soft);border-color:var(--accent);color:var(--accent)}.signout-button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media(max-width:700px){.signout-button{min-height:48px;min-width:144px}}
.account-actions{gap:14px;align-items:center;flex-wrap:wrap}.account-actions #billing-status{flex-basis:100%;color:var(--text);font-size:14px;line-height:1.6;margin:0}.account-actions #manage-billing,.account-actions #refresh-billing{min-height:46px;padding:12px 20px}.pricing-card #pro-yearly{margin-top:12px;min-height:44px}
.result-success{display:inline-block;font-size:11px;letter-spacing:1.3px;font-weight:700;color:var(--green-text);margin-bottom:12px}.result-next-step,.result-library{position:relative;text-align:left;margin-top:28px;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:12px}.result-next-step{border-left:3px solid var(--accent)}.result-next-step h3,.result-library h3{font-size:20px;line-height:1.4;margin:8px 28px 10px 0;color:var(--text)}.status-card .result-next-step p,.status-card .result-library p{color:var(--muted);font-size:14px;line-height:1.75;max-width:600px}.growth-kicker{font-size:10px;font-weight:750;letter-spacing:1.2px;color:var(--accent)}.growth-dismiss{position:absolute;right:8px;top:8px;width:44px;height:44px;border-radius:8px;color:var(--muted);font-size:24px}.growth-dismiss:hover{background:var(--surface-soft)}.growth-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:18px}.growth-action{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:11px 17px;border:1px solid var(--accent);border-radius:8px;color:var(--accent);background:var(--surface);font-size:13px;font-weight:650}.growth-action:hover{background:var(--active-bg)}.growth-action:disabled{opacity:.65;cursor:default}.growth-actions .text-button{min-height:44px;padding:11px 6px;font-size:13px}.result-library .growth-action{margin:6px 10px 6px 0}.pricing-intent,.quota-notice{padding:20px 24px;background:var(--active-bg);border:1px solid var(--border);border-radius:10px;color:var(--text);margin:0 0 24px;line-height:1.7}.pricing-intent p,.quota-notice p{font-size:13px;color:var(--muted);margin:8px 0 12px}.quota-notice{margin:18px;padding:16px;font-size:12px}.quota-notice p{font-size:12px}.pricing-card.featured h2:after{content:' FOR REGULAR PAPERWORK';display:block;margin-top:12px;font-size:10px;font-weight:650;letter-spacing:1px;color:var(--accent)}.pricing-heading h1{max-width:800px;margin-left:auto;margin-right:auto}.pricing-notes p{font-size:13px;line-height:1.85}.pricing-card li{font-size:13px}.pricing-card>p{font-size:13px}.growth-action:focus-visible,.growth-dismiss:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media(max-width:600px){.result-next-step,.result-library{padding:20px 16px}.growth-actions{align-items:stretch}.growth-actions .growth-action{width:100%}.result-next-step h3{font-size:19px}.pricing-intent{padding:18px}.plan-price{font-size:34px}}

.account-actions .billing-help{flex-basis:100%;margin:0;color:var(--muted);font-size:13px;line-height:1.7}.billing-help a{text-decoration:underline;text-underline-offset:3px}

.account-actions .billing-manage{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 10px;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--muted);font-size:12px;font-weight:500;line-height:1.4}.account-actions .billing-manage:hover{background:var(--surface-soft);color:var(--text)}.account-actions .billing-manage[hidden]{display:none}.billing-manage:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(pointer:coarse){.account-actions .billing-manage{min-height:44px}}
