@import url('/fonts.css');
:root{--paper:#f8f9f5;--ink:#203c37;--muted:#6b7870;--line:#dce3d9;--green:#164e43;--lime:#d7eea5;--white:#fff;--radius:19px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 Arial,Helvetica,sans-serif}button,input,select{font:inherit}button,a,input,summary,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,.dropzone:focus-visible{outline:3px solid #688d39;outline-offset:5px}input:focus,select:focus{outline:2px solid #638a69;outline-offset:2px}[hidden]{display:none!important}.wrap{max-width:1200px;margin:auto;padding-left:36px;padding-right:36px}.header{max-width:1380px;margin:auto;padding:25px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:750;letter-spacing:-1px;white-space:nowrap}.brandmark{background:var(--green);color:var(--lime);width:39px;height:39px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:33px;font-weight:bold;line-height:1;letter-spacing:-5px;padding-right:5px}.brandmark span{font-size:29px}.brand-light{font-weight:400;margin-left:4px}.header nav{display:flex;gap:28px;font-size:13px}.header nav a:hover{color:#729547}.header-cta{display:flex;gap:16px;align-items:center;font-size:12px;font-weight:600;border:1px solid #b6c4b5;padding:10px 17px;border-radius:8px}.header-cta svg{width:16px}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:45px;align-items:center;padding-top:65px;padding-bottom:70px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;display:flex;align-items:center;gap:8px}.eyebrow>span{width:7px;height:7px;background:#7e9b53;border-radius:50%}h1{font-size:clamp(58px,5.8vw,79px);line-height:1.05;letter-spacing:-4.5px;font-weight:550;margin:25px 0 21px}h1 em{font-family:Georgia,serif;font-weight:400;color:#668651;letter-spacing:-4px}.hero-description{font-size:16px;color:#657167;line-height:1.8;margin:0 0 29px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:25px;background:var(--green);color:white;border:0;padding:16px 23px;border-radius:9px;font-size:13px;font-weight:600;min-height:52px;transition:background .2s,transform .2s}.primary:hover{background:#246957;transform:translateY(-1px)}.primary svg{width:19px}.hero-notes{display:flex;gap:19px;margin-top:18px;font-size:10px;color:#778374}.hero-notes span{display:flex;gap:5px;align-items:center}.hero-notes svg{width:13px;height:13px}.hero-art{height:440px;position:relative;background:#edf1e8;border:1px solid #e2e8db;border-radius:22px;overflow:hidden}.art-grid{position:absolute;inset:0;background-image:linear-gradient(#93aa7b13 1px,transparent 1px),linear-gradient(90deg,#93aa7b13 1px,transparent 1px);background-size:34px 34px}.art-caption{position:absolute;top:26px;left:27px;font-size:9px;letter-spacing:2px;color:#6c7a60}.paper{position:absolute;background:white;width:224px;height:290px;border:1px solid #d9dfd4;border-radius:6px;box-shadow:0 20px 25px #294e2b12;padding:22px}.paper-back{top:63px;left:43px;transform:rotate(-12deg);background:#f8f8f2}.paper-tag{font-size:9px;font-weight:bold;margin-bottom:15px}.photo-art{height:133px;background:#d4e0ca;overflow:hidden;position:relative;border-radius:3px;margin-bottom:18px}.sun{position:absolute;width:37px;height:37px;border-radius:50%;background:#e6b28a;top:18px;right:24px}.hill{position:absolute;width:140px;height:130px;transform:rotate(40deg);border-radius:20px}.hill1{background:#8caa77;top:75px;left:-20px}.hill2{background:#51765b;top:68px;right:-70px}.paper-front{top:107px;left:200px;transform:rotate(9deg);width:230px;height:290px}.paper-top{display:flex;align-items:center;justify-content:space-between;font-size:7px;letter-spacing:1px}.small-brand{font-size:21px;font-weight:bold;letter-spacing:-2px}.paper-heading{font-size:31px;line-height:1.05;letter-spacing:-1.5px;margin:18px 0}.fake-line{height:4px;background:#dce3d7;border-radius:4px;margin:9px 0}.fake-line.short{width:67%}.paper-blocks{display:flex;gap:8px;margin-top:20px}.paper-blocks div{height:30px;flex:1;background:#edf0e6;border-radius:3px}.paper-blocks div+div{background:#d7e2c8}.paper-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:24px;font-size:6px;letter-spacing:.6px}.paper-bottom strong{font-size:10px;color:#81906e}.art-badge{position:absolute;top:54px;right:25px;padding:12px 17px;border:1px solid #d9e5c8;border-radius:50px;background:#e2efcf;color:#456433;font-size:12px;display:flex;align-items:center;gap:7px;transform:rotate(4deg);box-shadow:0 6px 12px #36532709}.art-badge svg{width:15px;height:15px}.art-spark{position:absolute;font-size:65px;left:58px;bottom:42px;color:#90a66d;line-height:1}.art-footer{position:absolute;bottom:20px;right:24px;font-size:8px;letter-spacing:2px;color:#8a9580}.trust-strip{border-block:1px solid var(--line)}.trust-strip>.wrap{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:17px;padding-bottom:17px;font-size:11px;color:#7b8579}.trust-strip span:first-child{font-family:Georgia,serif;font-size:17px;font-style:italic;color:#52664e}.tools{padding-top:70px;padding-bottom:65px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:27px}h2{font-size:37px;letter-spacing:-1.5px;font-weight:500;line-height:1.18;margin:14px 0 0}.section-heading p{font-size:12px;color:var(--muted);margin:0 0 2px}.search{display:flex;align-items:center;gap:13px;background:white;border:1px solid var(--line);padding:13px 17px;border-radius:10px;max-width:100%;}.search svg{width:18px;color:#819078}.search input{border:0;background:transparent;flex:1;min-width:0;color:var(--ink);font-size:13px;padding:4px}.search input:focus{outline:none}.search:focus-within{outline:2px solid #91ad77}.search kbd{border:1px solid var(--line);padding:0 7px;border-radius:4px;color:#94a08c;font-size:13px}.filter-bar{display:flex;align-items:center;gap:9px;margin:21px 0 23px}.filter{border:1px solid transparent;background:transparent;border-radius:7px;padding:6px 12px;font-size:11px;color:#75816e}.filter.active{background:#e8eee0;border-color:#dce5d2;color:#425b35}.filter span{margin-left:8px;font-size:9px}.tools-count{margin-left:auto;color:#7e8877;font-size:10px}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tool-card{text-align:left;background:white;border:1px solid var(--line);border-radius:13px;padding:24px;position:relative;min-height:208px;transition:transform .2s,box-shadow .2s,border-color .2s}.tool-card:hover{transform:translateY(-4px);border-color:#99b489;box-shadow:0 12px 25px #2e4b2910}.tool-card-top{display:flex;justify-content:space-between;align-items:center}.tool-icon{display:inline-flex;width:42px;height:42px;border-radius:12px;background:#edf1e4;color:#607d43;align-items:center;justify-content:center}.tool-icon svg{width:24px;height:24px}.tool-card:nth-child(2) .tool-icon{background:#f8ece4;color:#ba855d}.tool-card:nth-child(3) .tool-icon{background:#e7eeef;color:#668a90}.tool-card:nth-child(4) .tool-icon{background:#f1eaf1;color:#94769a}.tool-card:nth-child(5) .tool-icon{background:#f6efda;color:#ac9243}.tool-card:nth-child(6) .tool-icon{background:#e9edf7;color:#7487aa}.tool-card .arrow{width:18px;height:18px;color:#92a088}.tool-card h3{font-size:18px;font-weight:550;letter-spacing:-.5px;margin:20px 0 5px}.tool-card p{font-size:12px;color:#7b8577;line-height:1.65;margin:0;max-width:260px}.honest-note{margin-top:24px;display:flex;align-items:center;gap:13px;padding:15px 18px;background:#eef1e8;border-radius:8px;color:#72806b;font-size:11px}.honest-note svg{width:21px}.honest-note p{margin:0}.honest-note strong{color:#52694a}.no-results{padding:35px;text-align:center;color:var(--muted)}.how{border-top:1px solid var(--line);padding-block:55px;display:grid;grid-template-columns:1fr 1fr;gap:60px}.how>div>p{color:var(--muted);font-size:12px}.how ol{margin:0;padding:0;list-style:none}.how li{display:flex;gap:23px;padding:17px 0;border-bottom:1px solid var(--line)}.how li:last-child{border:0}.how li>span{font-family:Georgia,serif;font-size:23px;font-style:italic;color:#91a27d}.how h3{font-size:15px;font-weight:550;margin:0}.how li p{font-size:12px;color:var(--muted);margin:4px 0}.privacy{display:flex;gap:35px;background:#eaf0e1;padding-top:40px;padding-bottom:40px;border-radius:20px;max-width:1128px}.privacy-icon{padding:20px;background:#dce8cb;height:80px;border-radius:22px}.privacy-icon svg{width:40px;height:40px;color:#65864c}.privacy h2{font-size:31px}.privacy p{font-size:12px;color:#6b7b61;max-width:680px;line-height:1.9}.text-link{border:0;padding:9px 0;background:none;display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:600;color:var(--green)}.text-link svg{width:16px}.faq{padding-top:65px;padding-bottom:65px;max-width:900px}.faq h2{margin-bottom:27px}.faq details{border-bottom:1px solid var(--line);padding:16px 0}.faq summary{font-size:14px;cursor:pointer}.faq details p{font-size:13px;color:var(--muted);padding-right:20px}footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:25px!important;padding-bottom:25px!important}footer .brand{font-size:18px}footer .brandmark{width:29px;height:29px;font-size:26px;border-radius:8px}footer .brandmark span{font-size:23px}footer p{font-family:Georgia,serif;font-style:italic;color:#7c8871;font-size:14px}footer>span{font-size:9px;color:#84907b}dialog{border:1px solid var(--line);border-radius:20px;color:var(--ink);background:var(--paper);padding:0;max-width:1120px;width:calc(100% - 40px);max-height:92dvh}dialog::backdrop{background:#123c3280;backdrop-filter:blur(5px)}body:has(dialog[open]){overflow:hidden}.workspace-header{padding:23px 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;background:white}.workspace-heading{display:flex;gap:15px;align-items:center}.workspace-heading h2{font-size:25px;margin:4px 0 0;letter-spacing:-.8px}.workspace-heading .eyebrow{font-size:8px}.icon-button{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid var(--line);border-radius:9px;flex-shrink:0}.icon-button svg{width:18px;height:18px}.workspace-body{display:grid;grid-template-columns:410px 1fr}.controls{padding:25px 28px;background:white}.controls>p:first-child{font-size:12px;color:var(--muted);margin-top:0}.dropzone{border:1.5px dashed #bacab0;background:#f5f8ef;border-radius:12px;min-height:192px;padding:24px 15px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;text-align:center}.dropzone.dragging{background:#e4f1d0;border-color:#477449}.dropzone>svg{margin-bottom:7px;color:#769462;width:28px;height:28px}.dropzone strong{font-size:14px;font-weight:500}.dropzone>span{font-size:10px;color:#859079}.dropzone .select-label{background:white;border:1px solid #d2dccb;color:#536b43;border-radius:5px;padding:5px 13px;margin-top:9px;font-weight:600}#file-input{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.local-note{font-size:10px;color:#86907d;display:flex;gap:6px;align-items:center;justify-content:center}.local-note svg{width:12px;height:12px}.file-list{margin:17px 0;display:flex;flex-direction:column;gap:7px}.file-row{border:1px solid var(--line);border-radius:8px;padding:10px;display:flex;gap:8px;align-items:center}.file-row>svg{width:17px;height:17px;color:#8b9c7d}.file-meta{min-width:0;flex:1}.file-meta strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-weight:500}.file-meta span{font-size:9px;color:var(--muted)}.file-row .icon-button{width:30px;height:32px;font-size:12px;border:0}.file-actions{display:flex;gap:0}.file-actions button:disabled{opacity:.25;cursor:default}.option{display:block;font-size:12px;margin:15px 0}.option>span{display:block;font-weight:600;margin-bottom:6px}.option input,.option select{width:100%;border:1px solid #cdd8c6;padding:10px 12px;border-radius:7px;background:white;color:var(--ink)}.option small{display:block;margin-top:5px;color:var(--muted);font-size:10px}.process-button{width:100%;margin-top:13px}.primary:disabled{opacity:.4;cursor:not-allowed;transform:none}.document-warning{font-size:9px;color:#8c9485;line-height:1.6}.preview-panel{background:#eef1e9;min-height:480px;position:relative;padding:23px 25px;overflow:hidden}.preview-top{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#88957d;border-bottom:1px solid #d8e1d0;padding-bottom:15px}.preview-top span+span{letter-spacing:0}.preview-empty{text-align:center;padding:100px 10px;color:#839475}.preview-empty>svg{width:55px;height:55px;color:#a7b89c}.preview-empty h3{font-family:Georgia,serif;font-size:22px;font-weight:400;color:#718366}.preview-empty p{font-size:11px}#preview .page-wrap{margin:25px auto;text-align:center}#preview canvas{background:white;max-width:100%;height:auto;box-shadow:0 8px 25px #3e5b2c12;border:1px solid #e2e7da}#preview .page-wrap>span{display:block;font-size:9px;margin:9px;color:var(--muted)}#preview{max-height:490px;overflow:auto}.preview-text{font-size:12px;color:var(--muted);text-align:center;padding:20px}#result{text-align:center;padding:70px 10px}#result h3{font-family:Georgia,serif;font-size:33px;font-weight:400;margin:17px 0 8px}#result p{color:var(--muted);font-size:12px;margin-bottom:25px}#result .text-link{display:block;margin:15px auto}.result-icon{background:#dbecc5;display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;color:#5c7c43}#status:not(:empty){font-size:12px;padding:12px;background:#f1f4e9;border-radius:7px;margin-top:12px}#status.error{background:#fff0e8;color:#a34929}#privacy-dialog{max-width:650px;padding:35px}#privacy-dialog .icon-button{float:right}#privacy-dialog h2{font-size:30px;margin-bottom:25px}#privacy-dialog p{font-size:13px;color:var(--muted);line-height:1.8}.page-order-buttons{display:flex;justify-content:center;gap:10px;margin:7px}.page-order-buttons button{font-size:11px;border:1px solid #cbd8bf;background:white;border-radius:6px;padding:5px 10px}.page-order-buttons button:disabled{opacity:.35} @media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(min-width:1400px){.hero{padding-top:80px;padding-bottom:85px}.hero-art{height:465px}.paper-back{top:75px}.paper-front{top:115px}}
@media(max-width:1000px){.header{padding-inline:25px}.header nav{gap:17px}.header-cta{display:none}.hero{gap:20px;padding-top:45px}.hero-art{height:400px}.paper-back{left:20px;top:60px;width:190px}.paper-front{left:135px;top:105px;width:205px}.art-badge{right:13px;font-size:10px}.wrap{padding-inline:25px}.privacy{margin-inline:25px}.workspace-body{grid-template-columns:360px 1fr}.controls{padding:22px}.tool-card{padding:20px}.hero h1{font-size:63px}}
@media(max-width:700px){.header{padding:17px 20px}.brand{font-size:21px}.header nav a{font-size:11px}.header nav a:nth-child(2){display:none}.header nav{gap:17px}.wrap{padding-inline:21px}.hero{grid-template-columns:1fr;padding-top:35px;padding-bottom:35px;gap:30px}.hero h1{font-size:62px;letter-spacing:-3.5px;margin-top:19px}.hero h1 br:nth-child(2){display:none}.hero h1 em{margin-left:8px;letter-spacing:-3.5px}.hero-description{font-size:14px}.hero-copy>.eyebrow{font-size:9px}.hero-art{height:320px;max-width:460px;width:100%;margin:auto}.paper-back{height:220px;width:169px;top:45px;left:40px;padding:17px}.photo-art{height:102px}.paper-front{height:230px;width:180px;top:64px;left:185px;padding:17px}.paper-heading{font-size:25px;margin:12px 0}.paper-blocks{margin-top:13px}.paper-bottom{margin-top:13px}.art-badge{top:20px;right:13px;padding:8px 12px}.art-spark{font-size:45px;left:45px;bottom:23px}.art-caption{font-size:7px;left:16px;top:17px}.art-footer{font-size:7px;bottom:12px}.trust-strip>.wrap{flex-wrap:wrap;justify-content:center;font-size:9px;gap:7px 18px;padding-block:13px}.trust-strip span:first-child{width:100%;text-align:center;font-size:15px}.tools{padding-top:40px;padding-bottom:35px}.section-heading{align-items:start;margin-bottom:23px}.section-heading p{display:none}h2{font-size:31px;letter-spacing:-1.1px}.eyebrow{font-size:8px;letter-spacing:1.7px}.filter-bar{gap:0;flex-wrap:wrap}.filter{font-size:10px;padding:6px 9px}.tools-count{display:none}.search{padding:11px}.search input{font-size:11px}.search kbd{display:none}.tool-grid{grid-template-columns:repeat(2,1fr);gap:10px}.tool-card{padding:17px 14px;min-height:194px}.tool-card h3{font-size:16px;margin-top:17px}.tool-card p{font-size:11px}.tool-icon{width:37px;height:37px;border-radius:10px}.tool-icon svg{width:22px}.tool-card .arrow{width:15px}.honest-note{align-items:start;font-size:10px;padding:14px;gap:10px}.how{grid-template-columns:1fr;gap:18px;padding-block:35px}.how h2 br{display:none}.how li{padding:15px 0}.privacy{margin-inline:21px;padding:25px 20px;gap:16px;display:block}.privacy-icon{padding:12px;width:54px;height:54px;border-radius:15px;margin-bottom:19px}.privacy-icon svg{width:30px;height:30px}.privacy h2{font-size:27px}.privacy h2 br{display:none}.faq{padding-block:40px}.faq summary{font-size:13px}footer{flex-wrap:wrap;padding-top:20px!important;gap:10px}footer p{margin:0;font-size:12px}footer>span{width:100%}dialog{width:calc(100% - 20px);max-height:95dvh;border-radius:14px}.workspace-header{padding:17px;gap:10px}.workspace-heading{gap:10px}.workspace-heading h2{font-size:20px}.workspace-heading .eyebrow{font-size:6px}.workspace-body{grid-template-columns:1fr}.controls{padding:20px}.preview-panel{min-height:300px;padding:20px}.preview-empty{padding:40px 10px}#preview{max-height:350px}.dropzone{min-height:160px}.file-meta strong{max-width:190px}#result{padding:35px 10px}#privacy-dialog{padding:23px}}
@media(max-width:390px){.hero h1{font-size:55px}.paper-back{left:15px}.paper-front{left:140px}.hero-art{height:300px}.tool-card{min-height:205px}.hero-notes{gap:12px;font-size:9px}}
.raster-consent{display:flex;align-items:flex-start;gap:9px;padding:13px;background:#fff2df;border:1px solid #eedbb9;border-radius:8px;font-size:11px;line-height:1.6}.raster-consent input{margin-top:4px;flex-shrink:0;width:17px;height:17px}.open-result{display:block!important;margin:12px auto!important;text-decoration:underline}.open-result[hidden]{display:none!important}.file-row .icon-button{min-height:40px;min-width:32px}.tool-card:nth-child(n+7) .tool-icon{background:#e9eee1;color:#64834d}.tool-card:nth-child(3n+8) .tool-icon{background:#f7ebdf;color:#a97b53}.tool-card:nth-child(3n+9) .tool-icon{background:#e7eef4;color:#67879c}

.cancel-process{width:100%;margin:8px 0;padding:10px;border:1px solid #b5c6ac;border-radius:7px}.result-text-label{text-align:left;max-width:100%;margin-top:25px}.result-text-label textarea{width:100%;resize:vertical;border:1px solid #c7d2bf;border-radius:8px;padding:12px;font:13px/1.6 Arial,sans-serif;background:white;color:var(--ink);min-height:160px;max-height:400px}
/* Allow grid children to shrink and preserve explicit heading breaks on narrow screens. */
.hero-copy,.hero-art,.controls,.preview-panel{min-width:0}
@media(max-width:700px){.hero{grid-template-columns:minmax(0,1fr)}.hero h1 br:nth-child(2){display:initial}.hero h1 em{margin-left:0}}

@media(min-width:701px) and (max-width:1000px){.hero h1{font-size:clamp(45px,6.3vw,63px)}}

#result-preview:not(:empty){margin:25px auto 10px;padding-top:10px;border-top:1px solid #d6dfcf}#result-preview canvas{max-width:100%;height:auto;box-shadow:0 5px 18px #36523015;background:white}#result-preview p{margin:10px!important;font-size:11px!important}

.table-preview:not(:empty){margin:20px auto;text-align:left;max-width:100%;overflow:auto;max-height:320px}.table-preview p{font-size:10px!important;margin:8px 0!important}.table-preview table{border-collapse:collapse;font-size:11px;min-width:100%;background:white}.table-preview td{border:1px solid #d5dfcd;padding:8px;min-width:70px;max-width:220px;overflow-wrap:anywhere;vertical-align:top}

#form-fields{display:grid;gap:15px;max-height:440px;overflow:auto;padding:3px}#form-fields label{overflow-wrap:anywhere}#form-fields textarea{width:100%;font:inherit;padding:10px;border:1px solid var(--line);border-radius:8px;resize:vertical}#form-fields input[type=checkbox]{width:20px;height:20px;flex-shrink:0}

.next-task{margin:25px 0;padding:20px;text-align:left;background:#ffffffb3;border:1px solid var(--line);border-radius:14px;max-width:100%;min-width:0}.next-task h4{font-size:18px;margin:0 0 8px}.next-task p{font-size:12px;color:var(--muted);margin:0 0 15px}.next-task select{width:100%;max-width:100%}.next-task button{margin-top:14px;width:100%}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

#pdf-text{width:100%;font:inherit;line-height:1.6;padding:14px;border:1px solid var(--line);border-radius:9px;resize:vertical;min-height:210px;max-height:550px;background:white;color:var(--ink)}

.skip-link{position:fixed;top:8px;left:8px;z-index:1000;padding:12px 18px;background:#fff;color:#243b20;border:2px solid #243b20;border-radius:6px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}
:focus-visible{outline:3px solid #365f25;outline-offset:4px}#status:focus,#result-heading:focus{outline:2px solid #365f25;outline-offset:5px}

.redact-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.redact-grid .option{min-width:0}

.redact-surface{position:relative;display:inline-block;max-width:100%;line-height:0}.redact-surface canvas{display:block;touch-action:none;cursor:crosshair}.redact-cover{position:absolute;background:#000;pointer-events:none;border:1px solid #000;box-sizing:border-box}

.redact-surface canvas{border:0}

.locale-switch{display:flex;align-items:center;gap:12px;margin:16px 0}.locale-switch select{font:inherit;padding:8px;max-width:100%;border:1px solid #a5b6ac;border-radius:6px;background:white}

/* RTL preserves document coordinates; only interface flow is mirrored. */
[dir="rtl"] .hero h1{font-family:Arial,sans-serif;letter-spacing:0;line-height:1.45}
[dir="rtl"] .hero h1 em{margin-left:0;margin-inline-start:0}
[dir="rtl"] .next-task,[dir="rtl"] .result-text-label,[dir="rtl"] .table-preview{text-align:start}
[dir="rtl"] .option,[dir="rtl"] .document-warning{text-align:start}
[dir="rtl"] .brand{direction:ltr;unicode-bidi:isolate}
[dir="rtl"] .page-grid,[dir="rtl"] .page-order-buttons,[dir="rtl"] #pages,[dir="rtl"] input[type="number"]{direction:ltr}
[dir="rtl"] .hero,[dir="rtl"] .tool-card,[dir="rtl"] .workspace-title{letter-spacing:normal}
#pdf-text,#result-text{unicode-bidi:plaintext;text-align:start}

/* Real language links remain discoverable without JavaScript. */
.language-links{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin-block:1.5rem;font-size:.8rem;line-height:1.6;max-width:100%}
.language-links a{color:inherit;text-decoration:underline;text-underline-offset:.2em;overflow-wrap:anywhere}
.language-links a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:420px){.header{flex-wrap:wrap;gap:10px}.header nav{flex-wrap:wrap;min-width:0;max-width:100%}.language-links{flex-basis:100%;min-width:0}}

/* Explicit optional server transfer, separate from local download. */
#server-download,.result-storage{margin-top:24px;padding:20px;border:1px solid #ccd8cd;border-radius:12px;text-align:start;display:grid;gap:14px;overflow-wrap:anywhere}
#server-download[hidden]{display:none}
#server-download p,.result-storage p{margin:0;line-height:1.6}
#server-download label,.result-storage label{display:flex;gap:10px;align-items:flex-start;line-height:1.5}
#server-download input[type=checkbox],.result-storage input[type=checkbox]{flex:0 0 auto;min-width:20px;min-height:20px;margin-top:3px}
#server-download button,.result-storage button{min-height:44px;padding:12px 18px;border-radius:8px;border:0;background:#174d40;color:white;font:inherit;cursor:pointer}
#server-download button:disabled,.result-storage button:disabled{opacity:.55;cursor:not-allowed}
#server-download a,.result-storage a{min-height:24px;text-decoration:underline}
#server-download :focus-visible,.result-storage :focus-visible{outline:3px solid #647b20;outline-offset:3px}

.review-form{width:100%;min-height:44px;padding:12px;margin:8px 0;border:1px solid #174d40;border-radius:8px;background:white;color:#174d40;font:inherit;line-height:1.5;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.review-form[hidden]{display:none!important}

.text-correction{margin-block:20px;padding:16px;border:1px solid #b9cbb7;border-radius:10px;text-align:start;max-width:100%;min-width:0}.text-correction[hidden]{display:none!important}.text-correction p{font-size:13px!important;line-height:1.5}.text-correction label{display:grid;gap:10px;min-width:0}.text-correction textarea{box-sizing:border-box;width:100%;min-width:0;font:16px/1.5 sans-serif;resize:vertical;padding:10px;border:1px solid #b9cbb7;border-radius:6px}.text-correction select,.text-correction button{min-height:44px;max-width:100%;font:inherit;padding:10px;white-space:normal;overflow-wrap:anywhere}

.workspace-resume{grid-column:1/-1;padding:18px;margin-bottom:20px;border:1px solid #b9cbb7;border-radius:12px;min-width:0;overflow-wrap:anywhere}.workspace-resume[hidden]{display:none!important}.workspace-resume button{min-height:44px;max-width:100%;padding:12px 18px;font:inherit;border:1px solid #174d40;border-radius:8px;background:#174d40;color:white;white-space:normal}.workspace-resume p{font-size:14px;line-height:1.5;margin:10px 0 0}

@media(max-width:700px){.header nav a[href^="/account"]{display:inline-flex;align-items:center;min-height:44px}.controls input:not([type=checkbox]),.controls select,.controls textarea{font-size:16px}}
@media(max-width:420px){.header nav{flex-basis:100%;justify-content:space-between;gap:8px}}


/* Fast return to frequently used tools. No document metadata is persisted. */
.recent-tools{margin:20px 0;padding:18px;border:1px solid var(--line,#cbd5ce);border-radius:14px;background:var(--surface,#f8faf8)}
.recent-tools[hidden]{display:none!important}
.recent-tools h2{margin:0 0 6px;font-size:1.12rem}
.recent-tools p{margin:0 0 12px;line-height:1.5;font-size:.9rem}
.recent-tools-links{display:flex;gap:10px;flex-wrap:wrap}
.recent-tool-link{min-height:44px;border:1px solid var(--line,#b8c7be);border-radius:999px;padding:8px 15px;background:white;color:var(--ink,#1c2921);font:inherit;cursor:pointer}
.recent-tool-link:hover,.recent-tool-link:focus-visible{border-color:#365f25;background:#f0f6ed}
.recent-tools>button{display:block;margin-top:12px;padding:8px 0;border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:.85rem;cursor:pointer}


/* Optional local explainer video; no broken player when media is absent. */
.explainer-video{padding-top:36px;padding-bottom:55px}
.explainer-video h2{margin:8px 0 12px;font-size:clamp(1.65rem,3.5vw,2.4rem)}
.explainer-video>p{max-width:70ch}
.explainer-video video{display:block;width:100%;max-width:900px;aspect-ratio:16/9;background:#162c28;border-radius:16px;margin-top:22px}
.explainer-caption{font-size:.86rem;color:var(--muted);line-height:1.55}
@media(max-width:600px){.explainer-video{padding-top:20px;padding-bottom:32px}.explainer-video video{border-radius:10px}}


/* First-run guided sample: local generated PDF, no upload or registration. */
.example-try{grid-column:1/-1;margin-top:20px;padding:18px 22px;border:1px solid var(--line);border-radius:14px;background:#eef3e9}
.example-try p{margin:0 0 12px;max-width:66ch}
.example-try button{min-height:46px;border:0;border-radius:9px;padding:10px 20px;background:var(--green);color:white;font:inherit;font-weight:600}
.example-try button:hover{background:#246957}
.example-try button:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.example-try{padding:16px}.example-try button{width:100%}}


/* Accessible task progress; small-screen users can always see the next action. */
.workflow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 16px}
.workflow-step{min-width:0;border-radius:8px;padding:9px 5px;text-align:center;font-size:.82rem;line-height:1.35;border:1px solid var(--line,#ccd6d0);background:transparent;color:var(--muted,#52665a)}
.workflow-step[aria-current=step]{background:#e7f3e8;border-color:#267046;color:#194c32;font-weight:700}
.workflow-step.completed{background:#f0f7f1;color:#285d3d}
@media(max-width:600px){.workflow-steps{gap:4px}.workflow-step{font-size:.75rem;padding:9px 2px;overflow-wrap:anywhere}}


/* Mobile editing: finger-sized actions without changing desktop density.
   Keep the filename flexible so three file-action buttons do not clip at 390px. */
@media(max-width:700px){
 #workspace .icon-button{min-width:44px;min-height:44px;width:44px;height:44px}
 #workspace .file-row .icon-button{min-width:44px;min-height:44px;width:44px;height:44px}
 #workspace .file-meta{min-width:0;flex:1 1 0}
 #workspace .file-meta strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #workspace .file-actions{flex:0 0 auto}
 #workspace .option input:not([type=checkbox]),#workspace .option select,#workspace textarea{font-size:16px}
}


/* WCAG 2.1 AA: readable secondary text on pale surfaces, including PDF workspace.
   These overrides deliberately keep the original GAMO palette and increase contrast. */
:root{--muted:#4b5e52}
.hero-notes,.trust-strip>.wrap,.filter,.tools-count,
.paper-bottom strong,.art-footer,.hero-description,
.dropzone>span,.local-note,.document-warning,.preview-top,
.preview-empty,.preview-empty h3,.preview-text,
#result-info,#next-task-note,#server-download p,.result-storage p{color:#43584a}
.dropzone .select-label{color:#365342}

.tool-card p{color:#43584a}

.honest-note,.how li>span,.privacy p,footer p,footer>span{color:#43584a}


/* Optional batch ordering: an original GAMO implementation inspired by the
   convenient sorting workflows of established PDF tools. */
.batch-order{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 18px}
.batch-order[hidden]{display:none!important}
.batch-order>span{font-size:.86rem;font-weight:600;margin-inline-end:4px}
.batch-order button{min-width:64px;min-height:44px;border:1px solid #849d87;border-radius:8px;background:#fff;color:#203c37;padding:8px 12px;font:inherit}
.batch-order button:hover,.batch-order button:focus-visible{background:#e7f3e8;border-color:#267046}
.batch-order button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:400px){.batch-order>span{width:100%}}


/* Opt-in favorite tools: no document data and no nested interactive controls. */
.favorite-tools{margin:18px 0;padding:18px;border:1px solid var(--line,#ccd6d0);border-radius:14px;background:#f0f6ed}
.favorite-tools h2{margin:0 0 6px;font-size:1.12rem}
.favorite-tools p{margin:0 0 12px;line-height:1.5;font-size:.9rem;color:#43584a}
.favorite-controls{display:flex;gap:10px;flex-wrap:wrap}
.favorite-controls select{flex:1 1 200px;min-width:0;min-height:44px;border:1px solid #849d87;border-radius:8px;background:#fff;padding:8px;font-size:16px}
.favorite-controls button{min-height:44px;border:0;border-radius:8px;background:#164e43;color:white;padding:9px 16px;font:inherit;font-weight:600}
.favorite-controls button:disabled{opacity:.5;cursor:not-allowed}
.favorite-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.favorite-links:empty{display:none}
.favorite-item{display:inline-flex;border:1px solid #849d87;border-radius:8px;overflow:hidden;background:#fff}
.favorite-item button{min-height:44px;border:0;background:transparent;padding:8px 12px;font:inherit}
.favorite-item .favorite-remove{min-width:44px;border-inline-start:1px solid #b8c7be;font-size:1.2rem}
.favorite-item button:hover,.favorite-item button:focus-visible{background:#dcebd9}
@media(max-width:600px){.favorite-tools{padding:14px}.favorite-controls button{flex:1 1 auto}}


/* Optional quick next-step tools; buttons only select a tool, never process silently. */
.next-shortcuts{margin:14px 0}
.next-shortcuts[hidden]{display:none!important}
.next-shortcuts p{margin:0 0 8px;font-size:.86rem;font-weight:600;color:#43584a}
.next-shortcuts-buttons{display:flex;flex-wrap:wrap;gap:8px}
.next-shortcuts-buttons button{min-height:44px;border:1px solid #849d87;border-radius:8px;background:#fff;color:#203c37;padding:9px 14px;font:inherit}
.next-shortcuts-buttons button:hover,.next-shortcuts-buttons button:focus-visible{background:#e7f3e8;border-color:#267046}


/* Owner-only release dashboard; strict CSP, no inline styles or provider data. */
.release-dashboard{margin:0;background:#f6f8f5;color:#1d332a;font-family:system-ui,sans-serif}
.release-dashboard .wrap{max-width:760px;margin:auto;padding:30px 18px}
.release-dashboard h1{line-height:1.2}
.release-dashboard p{line-height:1.65}
.release-dashboard ul{padding:0;list-style:none}
.release-dashboard li{display:flex;justify-content:space-between;align-items:start;gap:16px;border-bottom:1px solid #b9c8bd;padding:16px 0}
.release-dashboard li strong{max-width:65%}
.release-dashboard .passed{color:#205f36}
.release-dashboard .pending{color:#7c351f}
.release-dashboard a{color:#194f3b}
@media(max-width:480px){.release-dashboard li{flex-direction:column;gap:5px}.release-dashboard li strong{max-width:100%}}

.explainer-chapters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0;max-width:1000px}.explainer-chapters button{font:inherit;text-align:start;padding:10px 14px;border:1px solid #b7c5b3;border-radius:10px;background:#f7f8f2;color:#173f35;cursor:pointer;min-height:44px}.explainer-chapters button[aria-current="true"]{background:#164c42;color:white}.explainer-chapters button:disabled{opacity:.65;cursor:default}.explainer-chapters button:focus-visible,#explainer-guide summary:focus-visible{outline:3px solid #658943;outline-offset:3px}#explainer-guide details{max-width:80ch;border-top:1px solid #ccd5c6;padding-top:14px}#explainer-guide summary{cursor:pointer;font-weight:600;padding:12px 0}#explainer-guide h3{margin:24px 0 10px}#explainer-guide details p{line-height:1.65}

.result-storage h4{margin:0;font-size:1rem;color:#174d40;line-height:1.5}
