@font-face{font-family:Montserrat;src:url('assets/montserrat.woff2') format('woff2');font-weight:100 900;font-display:swap}@font-face{font-family:Inter;src:url('assets/inter.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--orange:#ff6a00;--orange-dark:#e94e00;--ink:#0f172a;--cream:#fff4e6;--paper:#fffbf7;--line:#e5e9f3;--muted:#657083;--blue:#2965ff}body{background:var(--cream);color:var(--ink);font-family:Inter,Arial,sans-serif}h1,h2,h3,button,.brand{font-family:Montserrat,Inter,sans-serif}p,small{color:var(--muted)}button,input,textarea,select,dialog{color:var(--ink);border-color:#dce0e8}button{font-weight:600;background:#fffdfb;transition:background .15s,border-color .15s,box-shadow .15s}button:hover{border-color:var(--orange);background:#fff3e9}button:disabled{opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffb980;outline-offset:3px}.primary,#choose,.export-controls #download{background:linear-gradient(120deg,#ff8500,#ff5000);border:1px solid #ff7100;color:white;box-shadow:0 5px 13px #ff6a0022;font-weight:700}.primary:hover,#choose:hover,.export-controls #download:hover{background:linear-gradient(120deg,#f97600,#e94700);box-shadow:0 6px 18px #ff6a0030}header{height:82px;background:#fffaf5eb;border-color:#efe5dc;grid-template-columns:1fr auto 1fr}.brand{font-size:27px;font-style:italic;font-weight:850;gap:5px;letter-spacing:-1.2px;white-space:nowrap}.brand img{width:43px;height:43px;flex:none}.brand b{font-weight:850}.brand i{font-style:inherit;color:var(--orange)}.privacy{color:#6c7280;font-size:11px}.privacy svg{color:var(--orange)}.header-actions #new{background:white;border-color:#f5c29b;color:#a73f00}.header-actions #new:hover{background:#fff0e1;border-color:var(--orange)}.header-actions #language{color:var(--ink);border-color:#e2e1e2;background:#fffdfb}main{max-width:1480px;padding:30px 4%}#welcome{max-width:none}.happy-hero{display:grid;grid-template-columns:1fr 1.08fr;align-items:center;min-height:440px;text-align:left;gap:5px;position:relative}.hero-copy{z-index:1;padding:12px 0 20px 14px}.eyebrow{color:#b55319;font-size:10px;font-weight:750;letter-spacing:1.8px}.hero-copy h1,#welcome .hero-copy h1{font-size:clamp(38px,4.2vw,65px);line-height:1.12;letter-spacing:-2.5px;font-weight:850;margin:18px 0 22px}.hero-copy h1 em{font-family:Montserrat,Inter,sans-serif;color:white;background:linear-gradient(120deg,#ff8100,#ff5000);padding:0 .12em .06em;margin-left:-.08em;border-radius:12px;font-weight:800;font-style:italic;box-decoration-break:clone;-webkit-box-decoration-break:clone}.hero-copy>p{font-size:14px;line-height:1.8;max-width:510px;color:#384153;margin:0 0 23px}.hero-art{min-width:0;position:relative;align-self:center}.hero-art img{display:block;width:113%;height:auto;max-width:none;margin-left:-7%;filter:drop-shadow(0 10px 12px #74310a08)}.hero-actions{display:flex;align-items:center;gap:12px}.hero-actions button{min-height:46px;font-size:12px;padding:14px 18px;border-radius:12px}.hero-actions .primary{display:flex;align-items:center;justify-content:center;gap:15px}.hero-actions .primary>span:last-child{font-size:20px;line-height:1}.hero-guide{background:transparent;border-color:#aab1bf}.home-trust{justify-content:flex-start;margin:18px 0 0;gap:8px}.trust-chip{background:#fff1e2;border-color:#ffd7b7;color:#99430e;font-size:10px}.home-capabilities{display:grid;grid-template-columns:repeat(6,1fr);gap:13px;max-width:1180px;margin:5px auto 28px}.home-tool{min-width:0;min-height:104px;border:1px solid #f3e5da;border-radius:19px;background:#fffcf9;box-shadow:0 6px 16px #5f2c0b0b;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:18px 10px;font-size:12px;line-height:1.35}.home-tool svg{width:31px;height:31px;color:var(--orange)}.home-tool:nth-child(2) svg,.home-tool:nth-child(6) svg{color:var(--blue)}.home-tool:hover{background:white;border-color:#ffc18f;box-shadow:0 9px 22px #ff6a001a}.fileicon{background:#fff0e0;color:#ed6500;border:1px solid #ffe0bf}#drop{max-width:880px;border-color:#d7bda8;background:linear-gradient(120deg,#fff,#fff7ed);margin:24px auto;padding:27px 25px;border-radius:22px}#drop h2{font-size:23px;color:var(--ink)}#drop.over{background:#ffeddd;border-color:var(--orange)}#drop p{font-size:13px;color:#6c7280}#drop small{color:#7a8090}.conversion-card{max-width:880px;background:#fff0e1;border-color:#ffd4b1;border-radius:17px;box-shadow:0 4px 12px #a5511107}.conversion-card strong{color:var(--ink)}.conversion-card small{color:#976044}.conversion-card button{color:#b94700;border-color:#ffc18f;background:white}.home-actions{max-width:880px}.home-actions .onboarding-card{background:#fffdfb;border-color:#eee2d8;border-radius:16px}.home-actions .start-guide{background:var(--ink);border-color:var(--ink);box-shadow:0 4px 12px #0f172a12}.home-actions .start-guide:hover{background:#1f2b44}.onboarding-card>svg{color:var(--orange)}.start-guide>svg{color:#ffad69}.start-guide .action-copy small{color:#c1c8d3}.action-copy small{color:#818592}.home-actions .sample-button:hover,.home-actions .tour-button:hover{border-color:#ffc18f;background:#fff1e3}.features{max-width:880px;gap:30px}.features>div{border-color:#ff9e5c}.features b{color:var(--ink)}.features p{color:#77808d}#guide{max-width:880px;border-color:#eadfd3}#guide summary{color:#243049}.guide-link,.languages a{color:#b9500c}.guidepage .primary{color:white}footer{border-color:#eee2d7;color:#81848e;background:#fff5e9}nav.languages{background:none}::selection{background:#ffcfaa;color:var(--ink)}
/* Keep the functional workbench compact; the brand follows the document. */
body.editing{background:#f7f7fb}body.editing header{height:70px;background:#fffbf7}.editing .brand{font-size:24px}.editing .brand img{width:37px;height:37px}.editorhead .eyebrow{color:#8d91a1}.editorhead h2{color:var(--ink)}.export-controls{border-color:var(--line)!important;background:white!important}.export-controls .quality-label{color:#7b8294}.export-controls .quality-label #quality{color:#26334c}.main-tools{border-color:var(--line);box-shadow:0 3px 13px #0f172a04}.main-tools .tool{color:#3b465d;min-width:72px;padding:9px 11px}.main-tools .tool svg{color:var(--orange)}.main-tools .tool.active{background:#fff0e2;border-color:#ffc391;color:#b44600}.main-tools .tool:hover{background:#fff4ea}.main-tools .history{border-color:#e5e9f3;margin-left:4px;padding-left:8px}.main-tools .history button{background:#f5f6fa;color:#687489}.main-tools .help-button{border-color:#dce1eb;background:#f7f8fc;color:#4c5970;font-size:11px;padding:10px}.main-tools .help-button svg{color:var(--orange)}.document-tool-button{display:flex;align-items:center;gap:6px;font-size:11px;padding:10px 12px;min-height:40px;white-space:nowrap;border-color:#ffc696;background:#fff3e6;color:#ab4500;margin-left:auto}.document-tool-button svg{width:19px;height:19px}.main-tools .help-button{margin-left:0}.context-help>svg{color:var(--orange)}.context-help #help{color:#777f90}.text-button{color:#bf500a}.context-help .text-button{color:#b04b0a}.workspace .pages-panel,.workspace aside.inspector{border-color:var(--line)}.workspace .document{border-color:#dde2eb;background:#e9ecf3}.document nav{background:#f8f9fc;border-color:#e0e5ee}.document .tip{border-color:#dce2ed;color:#8c95a5}.pages-panel .pages-title #merge.add-pdf-button{background:#fff1e4;border-color:#ffc490;color:#b14900;box-shadow:none}.pages-panel #merge.add-pdf-button:hover{background:#ffe4cd;border-color:var(--orange)}.add-pdf-plus{background:var(--orange)!important;color:white}.append-note{color:#8992a2}.page-card{border-color:#dce2ed;background:#fff}.page-card.selected{border-color:var(--orange);background:#fff6ed}.page-controls button{color:#8490a5}.page-card.drop-before:before,.page-card.drop-after:after{background:var(--orange)}.page-drag-ghost{border-color:var(--orange);background:#fff5e9}.inspector h3{color:var(--ink)}.inspector-intro{color:#8b93a3}.inspector label{color:#626d83}.inspector input,.inspector textarea{border-color:#dce2ed}.inspector #delete{border-color:#ecd3c9;color:#ad4f2c;background:#fffaf7}.advanced-settings{border-color:#e5e9f3}.advanced-settings summary{color:#707c92}.element-actions button{border-color:#ffd4b1;background:#fff4e9;color:#b7500d}.angle-field{margin-bottom:12px}#elementangle{width:100%}#floating{border-color:#ffd0aa;box-shadow:0 6px 24px #0f172a1a}#floatbold[aria-pressed=true]{background:#ffe0c4}#compare{border-color:#ccd6ed;color:#3561ab;background:#f2f6ff}#compare[aria-pressed=true]{color:white;background:var(--ink);border-color:var(--ink)}.original-badge{background:var(--ink)}canvas:focus{outline-color:#ffb374}.editor-note,.editing #status{color:#7a8497}#tourbar{background:#fff0df;border-color:#ffc99c}#tourprogress{accent-color:var(--orange)}dialog{background:#fffcf8;color:var(--ink);border-color:#eee1d6;box-shadow:0 24px 90px #0f172a26}dialog::backdrop,#helpdialog::backdrop{background:#0f172a80;backdrop-filter:blur(3px)}.help-heading button{background:#f4eee8;color:#6f7380}.onboarding-steps li,.important-info{background:#fff0df;color:#875331}.onboarding-steps li:before{background:var(--orange)}.help-tools>div{border-color:#f0dfcf}.help-tools svg{color:var(--orange)}#helpdialog{border-color:#f0dfcf}.export-meta{background:#fff0df;border-color:#ffddbf}.export-meta>span{color:#9a6240}#exportsize{color:#b44b08}.export-paper{background:#e9ecf3;border-color:#dce2ed}.export-final>span{color:#7b8393}#convertdrop{background:#fff6ed;border-color:#d6b497}#convertdrop.over{background:#ffe9d5;border-color:var(--orange)}.convert-intro{color:#697287}.convert-note,#convertdrop small,.convert-list-heading small{color:#8b7c70}#convertlist li{border-color:#ebdfd5}.convert-file-name small{color:#8a91a0}#convertstatus{color:#b35112}.convert-layout select{color:var(--ink)}#signaturecanvas{background:#fffdf9;border-color:#edb98d}.pulse{animation:happyPulse 1s infinite}@keyframes happyPulse{50%{box-shadow:0 0 0 7px #ff6a0028}}
#documentdialog{width:min(720px,94vw);max-height:92dvh;overflow:auto;padding:24px;border-radius:20px}#documentdialog h2{font-size:24px;margin:0}.document-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:7px;background:#f1f2f7;border-radius:13px;margin:22px 0 18px}.document-tabs button{min-height:42px;font-size:12px;background:none;border-color:transparent}.document-tabs button[aria-pressed=true]{background:white;border-color:#ffd5b4;color:#b34c0a;box-shadow:0 3px 8px #0f172a08}.document-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px 18px}.document-grid label{font-size:12px;margin:14px 0 0}.document-grid input,.document-grid select,#rotatescope{width:100%;max-width:none;font-size:14px;min-height:42px;margin-top:7px;background:white}.document-grid input[type=color]{height:42px}.document-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:23px}.document-actions button{min-height:42px;font-size:11px;padding:11px 14px}.dialog-tip{font-size:11px!important;line-height:1.6;color:#8c8291;display:block}.rotation-buttons{display:flex;gap:12px;margin:20px 0}.rotation-buttons button{flex:1;display:flex;align-items:center;justify-content:center;gap:13px;min-height:80px;background:#fff0e0;border-color:#ffd2ad;font-size:12px}.rotation-buttons b{font-family:Inter,sans-serif;color:var(--orange);font-size:35px;font-weight:500}.existing-watermarks{border-top:1px solid #eadfd4;padding-top:18px;margin-top:24px}.existing-watermarks summary{font-size:12px}.existing-watermarks p{font-size:11px}#layerstatus{font-size:12px;color:#af4c0c;min-height:22px;margin:16px 0 8px}#wmimagerow{align-self:end;margin-top:14px}#wmimageinfo{display:block;font-size:10px;margin-top:6px}#wmchoose{font-size:12px;min-height:42px}
@media(min-width:751px) and (max-width:1150px){.main-tools .tool{min-width:56px;padding:9px 6px;font-size:10px}.document-tool-button{font-size:10px;padding:8px}.document-tool-button span{max-width:64px;white-space:normal;line-height:1.3}.main-tools .help-button{font-size:10px;padding:8px}.main-tools .history button{min-width:28px;width:28px}.happy-hero{min-height:390px}.hero-copy h1,#welcome .hero-copy h1{font-size:43px}.hero-copy>p{font-size:12px}.hero-copy{padding-left:0}.home-tool{font-size:11px;min-height:95px}.home-capabilities{gap:9px}.brand{font-size:25px}}
@media(max-width:900px){header{grid-template-columns:1fr auto}.privacy{display:none}}
@media(max-width:750px){header{height:70px;min-height:70px;gap:7px;padding:10px 4%}.brand,.editing .brand{font-size:22px;letter-spacing:-.8px}.brand img,.editing .brand img{width:35px;height:35px}.header-actions #new{font-size:0;padding:7px;width:36px}.header-actions #new svg{width:19px;height:19px}.header-actions #new span{display:none}.header-actions #language{max-width:90px;font-size:10px}.happy-hero{display:flex;flex-direction:column;gap:0;text-align:left;min-height:0}.hero-copy{width:100%;padding:12px 0 0}.hero-copy h1,#welcome .hero-copy h1{font-size:39px;letter-spacing:-1.9px;line-height:1.15;margin:17px 0 20px}.hero-copy>p{font-size:12px;max-width:none}.hero-actions button{font-size:11px;padding:12px 14px;min-height:45px}.home-trust{justify-content:flex-start;margin-top:16px}.hero-art{width:100%;margin:4px 0 -8px}.hero-art img{width:107%;margin-left:-3.5%}.home-capabilities{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:8px 0 20px}.home-tool{font-size:10px;gap:8px;padding:13px 5px;min-height:90px;border-radius:14px}.home-tool svg{width:26px;height:26px}#drop{padding:23px 14px}#drop h2{font-size:19px}#drop p{font-size:12px}.conversion-card{margin-bottom:19px}.features{gap:15px}.features>div{min-width:80px;padding-left:9px}.features b{font-size:11px}.features p{font-size:11px}.editing .main-tools{background:#fffaf6f5;border-color:#f2c9a8;grid-template-columns:repeat(3,minmax(0,1fr));padding:6px}.editing .main-tools .tool{min-height:43px;padding:8px 4px;font-size:11px}.editing .main-tools .history{grid-column:1;border:0;padding:0;margin:0;justify-content:center;gap:4px}.editing .main-tools .history button{width:34px;min-width:34px}.document-tool-button{grid-column:2/-1;grid-row:3;justify-content:center;min-height:38px;margin:0;padding:8px;font-size:11px}.editing .main-tools .help-button{grid-column:1/-1;grid-row:4;min-height:30px;padding:6px;font-size:10px}.editing .main-tools .help-button svg{width:15px;height:15px}body.editing{padding-bottom:calc(212px + env(safe-area-inset-bottom,0px))}body.editing.input-focus{padding-bottom:15px}.workspace .document{height:65dvh}.document nav{gap:5px}.document nav button{padding:6px 9px}.original-badge{top:96px}#documentdialog{padding:18px;width:95vw;max-height:95dvh}.document-tabs{gap:4px;padding:5px;margin:17px 0}.document-tabs button{font-size:10px;padding:8px 3px}.document-grid{gap:1px 12px}.document-grid label{font-size:10px}.document-grid input,.document-grid select{font-size:16px;min-height:43px;padding:8px}.document-actions{flex-wrap:wrap;gap:8px}.document-actions button{flex:1;min-width:110px;font-size:10px;min-height:44px}.rotation-buttons{gap:8px}.rotation-buttons button{font-size:11px;gap:9px}.rotation-buttons b{font-size:31px}.dialog-tip{font-size:10px!important}.happy-hero .eyebrow{font-size:9px}.hero-guide{background:#fffaf5}#floating{flex-wrap:wrap;justify-content:center}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.pulse{animation:none}}

@media(max-width:750px){.document-grid label:has(#numposition){grid-column:1/-1}}
@media(max-width:750px){.hero-art{overflow:hidden}.hero-art img{display:block;width:100%;max-width:100%;height:auto;margin-left:0;image-rendering:auto;filter:none}}
