:root{color-scheme:light;--ink:#132642;--muted:#56677b;--blue:#244edb;--line:#dce3ec;--paper:#f3f6fb;--green:#d8fc70;--red:#a12c34}*{box-sizing:border-box}body{margin:0;font:16px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper)}a{color:var(--blue)}button,input,select{font:inherit}button,a,label.choose{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,label.choose:focus-within{outline:3px solid #5b7cff;outline-offset:3px}[hidden]{display:none!important}.skip{position:absolute;left:20px;top:-100px;background:white;padding:12px;z-index:10}.skip:focus{top:12px}.topbar{height:86px;padding:0 max(5vw,24px);display:flex;align-items:center;gap:22px;background:#fff;border-bottom:1px solid var(--line)}.brand{font-size:24px;font-weight:800;text-decoration:none;letter-spacing:-1px;color:var(--ink);display:flex;align-items:center;gap:0}.brand>span:not(.mark){font-weight:400}.mark{display:grid;place-items:center;background:var(--ink);color:var(--green);border-radius:9px;width:35px;height:35px;margin-right:11px;font-size:26px}.prototype{font-size:11px;letter-spacing:1.5px;background:#edf1f9;border-radius:4px;padding:5px 9px;font-weight:700}.quiet-link{margin-left:auto;color:var(--muted);font-size:14px;text-underline-offset:5px}main{max-width:1280px;margin:0 auto;padding:48px 30px 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px;gap:30px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:750;color:var(--blue);margin-bottom:12px}h1{font-size:clamp(32px,3.8vw,48px);line-height:1.12;letter-spacing:-1.8px;margin:0 0 17px}h1 span{color:var(--blue)}.intro p{margin:0;color:var(--muted)}.local-note{max-width:332px;display:flex;gap:13px;align-items:flex-start}.local-note>span{font-size:30px;color:var(--blue)}.local-note strong{font-size:15px;display:block}.local-note small{display:block;font-size:14px;color:var(--muted);margin-top:4px}.workspace{display:grid;grid-template-columns:360px minmax(0,1fr);gap:24px;align-items:start}.panel{border:1px solid var(--line);background:#fff;border-radius:16px;padding:26px;box-shadow:0 3px 8px #13264203}.section-top{display:flex;align-items:center;gap:11px;margin-bottom:12px;flex-wrap:wrap}h2{font-size:19px;line-height:1.3;letter-spacing:-.45px;margin:0}.step{font-size:12px;font-weight:800;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#eaf0ff;color:var(--blue);flex-shrink:0}.subtle{color:var(--muted);font-size:14px;margin:0 0 24px}form label{display:block;font-size:14px;font-weight:650;margin:18px 0 7px}form>label:first-child{margin-top:0}.optional{font-weight:400;color:var(--muted);margin-left:4px}input,select{width:100%;padding:11px 12px;border:1px solid #b9c5d5;border-radius:7px;background:#fff;color:var(--ink);min-height:46px;min-width:0}select{padding-right:25px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hint{font-size:12px;color:var(--muted);line-height:1.5;margin:7px 0 0}.check{display:flex;gap:9px;align-items:center;margin:22px 0 0}.check input{width:17px;height:17px;min-height:0;accent-color:var(--blue)}.primary,.secondary{border:0;display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:11px 20px;gap:10px;border-radius:8px;font-weight:650;text-decoration:none;font-size:14px;line-height:1.4}.primary{background:var(--blue);color:white}.primary:hover{background:#153ab3}.secondary{border:1px solid var(--line);background:#f4f7fc;color:var(--ink)}.secondary:hover{background:#e7edfa}.full{width:100%;margin-top:25px}.text-button{border:0;background:none;padding:5px;color:var(--blue);font-size:14px;text-decoration:underline;text-underline-offset:4px}.section-top .text-button{margin-left:auto}.dropzone{border:1.5px dashed #bac8dd;background:#f8faff;border-radius:12px;min-height:314px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:28px 20px;transition:background .2s,border-color .2s}.dropzone.drag{border-color:var(--blue);background:#e8efff}.upload-glyph{width:42px;height:42px;display:grid;place-items:center;background:#e9efff;color:var(--blue);font-size:30px;border-radius:10px;margin-bottom:12px}.dropzone h3{font-size:19px;margin:0}.dropzone p{font-size:14px;margin:5px 0 18px;color:var(--muted)}.dropzone small{font-size:12px;color:var(--muted);margin-top:12px;max-width:350px}.dropzone .text-button{margin-top:10px}#file{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;min-height:0;border:0}.dropzone:focus-within{outline:2px solid var(--blue);outline-offset:3px}.choose{cursor:pointer}.action-line{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.action-line>span{font-size:13px;color:var(--muted)}.action-line button{flex-shrink:0}.feedback{font-size:13px;color:var(--blue);margin-top:10px}.feedback:empty{display:none}.file-line{display:flex;align-items:center;gap:12px;margin:20px 0}.file-line>div{min-width:0}.file-line strong{display:block;overflow-wrap:anywhere;font-size:14px}.file-line p{margin:2px 0;color:var(--muted);font-size:12px}.file-icon{font-size:11px;font-weight:700;border:1px solid var(--line);padding:8px;border-radius:5px;color:var(--blue)}.choose-another{margin-left:auto;flex-shrink:0;cursor:pointer}.compare{display:grid;grid-template-columns:1fr 1fr;gap:16px}figure{margin:0;min-width:0}.preview-box{height:225px;background-color:#edf1f6;background-image:linear-gradient(45deg,#e5eaf0 25%,transparent 25%),linear-gradient(-45deg,#e5eaf0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5eaf0 75%),linear-gradient(-45deg,transparent 75%,#e5eaf0 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0;display:flex;align-items:center;justify-content:center;border-radius:9px;overflow:hidden;padding:12px}.preview-box img{max-width:100%;max-height:100%;object-fit:contain}.preview-box p{text-align:center;font-size:14px;color:var(--muted)}figcaption{display:flex;justify-content:space-between;font-size:13px;font-weight:650;margin-top:8px;gap:8px}figcaption span{font-weight:400;color:var(--muted)}.notice{padding:14px 18px;border:1px solid #cbd8f8;background:#edf3ff;color:#284974;border-radius:8px;font-size:14px;margin:0 0 22px}.notice.compact{font-size:12px;margin:18px 0 0}.error{color:var(--red);background:#fff0f0;padding:12px;border:1px solid #efd0d2;border-radius:7px;font-size:14px;margin-top:14px}.result{margin-top:20px}.badge{margin-left:auto;background:var(--green);color:#2e451b;border-radius:5px;padding:5px 9px;font-size:12px;font-weight:700}.badge.fail{background:#ffeaeb;color:var(--red)}.checks{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 0 12px;gap:12px}.check-result{padding:12px;background:#f3f6fb;border-radius:8px;min-width:0}.check-result .name{font-size:12px;color:var(--muted);display:block}.check-result strong{font-size:14px;display:block;margin-top:4px;overflow-wrap:anywhere}.check-result .outcome{display:block;font-size:12px;color:#356332;margin-top:5px}.check-result.bad .outcome{color:var(--red)}#result-detail{font-size:14px}.download-line{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:20px}.legal-note{border-top:1px solid var(--line);padding-top:14px;margin-top:20px}.mini-guide{display:flex;justify-content:space-between;margin-top:22px;color:var(--muted);font-size:12px;gap:10px}.mini-guide strong{color:var(--ink);font-weight:600}.about{display:grid;grid-template-columns:1fr 1.4fr;gap:70px;margin-top:60px;padding:40px 0;border-top:1px solid var(--line)}.about h2{font-size:27px;line-height:1.2}.about h3{font-size:14px;margin:0 0 7px}.about p{font-size:14px;color:var(--muted);margin:10px 0 20px}.about .hint{font-size:12px}footer{max-width:1280px;margin:0 auto;padding:25px 30px 35px;display:flex;justify-content:space-between;border-top:1px solid var(--line);gap:20px;font-size:12px;color:var(--muted)}.brand.small{font-size:18px}.workarea{min-width:0}@media(max-width:940px){.workspace{grid-template-columns:310px minmax(0,1fr);gap:16px}.panel{padding:20px}.local-note{max-width:260px}.preview-box{height:180px}.action-line{align-items:stretch;flex-direction:column}.checks{gap:7px}.check-result{padding:8px}.choose-another{font-size:12px}.file-icon{display:none}}@media(max-width:720px){.topbar{height:70px;padding:0 20px;gap:12px}.prototype{font-size:10px;letter-spacing:.5px}.quiet-link{display:none}main{padding:28px 18px 0}.intro{display:block;margin-bottom:24px}h1{font-size:37px}.intro p{font-size:15px}.local-note{max-width:none;margin-top:22px}.local-note>span{font-size:24px}.local-note strong{font-size:13px}.local-note small{font-size:12px}.workspace{grid-template-columns:1fr}.requirements{padding:22px}.field-row{gap:15px}.action-line{flex-direction:row;align-items:center}.checks{grid-template-columns:1fr}.check-result{display:grid;grid-template-columns:1fr 1.3fr .8fr;align-items:center;gap:6px;padding:10px}.check-result strong,.check-result .outcome{margin:0}.preview-box{height:180px}.about{grid-template-columns:1fr;gap:20px;margin-top:35px;padding-top:30px}.about h2{font-size:24px}.about h2 br{display:none}.mini-guide{flex-wrap:wrap}footer{padding:22px 18px;flex-wrap:wrap}.desktop{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(max-width:370px){.topbar{padding:0 12px}.brand{font-size:21px}.mark{width:28px;height:28px}.action-line{flex-direction:column;align-items:stretch}.compare{gap:8px}.preview-box{height:145px}.prototype{font-size:9px}figcaption{flex-direction:column;gap:0}}
/* Focused single-task layout */
.topbar{height:76px;background:transparent;border-bottom:0;padding:0 max(5vw,24px)}.header-help{margin-left:auto;text-decoration:none;color:var(--muted)}.prototype{background:none;padding:0;font-size:12px;letter-spacing:0;font-weight:400;color:var(--muted)}main{max-width:880px;padding-top:42px}.intro{display:block;text-align:center;margin-bottom:32px}.intro h1{font-size:clamp(27px,3.3vw,38px);line-height:1.22;letter-spacing:-1.2px;margin-bottom:12px}.intro p{font-size:15px;max-width:570px;margin:auto}.workspace{display:block}.panel{box-shadow:none;border-radius:12px}.requirements{padding:0;margin-bottom:18px;background:#fff}.requirements summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:18px 22px;cursor:pointer;list-style:none;font-size:14px}.requirements summary::-webkit-details-marker{display:none}.requirements summary:focus-visible,.help summary:focus-visible{outline:3px solid #5b7cff;outline-offset:3px}.requirements-label{font-weight:650}.requirements summary #summary{color:var(--muted);font-size:13px;flex:1}.change-label{color:var(--blue);font-size:14px;font-weight:600;margin-left:auto}.requirements[open] summary{border-bottom:1px solid var(--line)}.settings-inner{padding:22px;max-width:590px;margin:auto}.settings-inner h2{font-size:18px}.settings-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:25px}.settings-actions .text-button{padding:8px 0;font-size:13px}.settings-actions .primary{padding:10px 28px}.step{display:none}.file-panel{padding:24px}.file-panel>.section-top{margin-bottom:18px}.file-panel h2{font-size:16px;font-weight:650}.dropzone{min-height:272px;border:1px dashed #c2ccda;background:#fbfcff;padding:25px 16px}.dropzone h3{font-size:18px}.upload-glyph{background:none;font-size:34px;margin:0 0 6px;color:#617896}.dropzone p{margin-bottom:15px}.dropzone .choose{min-width:158px}.dropzone .text-button{font-size:13px}.dropzone small{margin-top:15px}.action-line{margin-top:18px;padding-top:0;border:0;flex-direction:row;align-items:center}.action-line>span{font-size:12px}.action-line .primary{min-width:158px}.preview-box{height:235px}.result{margin-top:18px}.result .section-top h2{font-size:17px}.checks{margin-top:17px}.help{margin:26px 0 40px;border-bottom:1px solid var(--line);font-size:14px}.help summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;padding:16px 0;color:var(--muted)}.help summary::-webkit-details-marker{display:none}.help summary>span{font-size:20px;line-height:1}.help[open] summary>span{transform:rotate(45deg)}.help-content{padding:14px 0 20px;max-width:660px}.help h2{font-size:15px;margin:22px 0 8px}.help h2:first-child{margin-top:0}.help p{font-size:14px;color:var(--muted);margin:8px 0 14px}footer{max-width:820px;border:0;padding-top:0;margin-top:0}.brand.small{font-size:16px}#prepare:disabled{background:#e6ebf3;color:#8390a4;opacity:1}@media(max-width:720px){.topbar{height:65px;padding:0 20px;gap:14px}.brand{font-size:21px}.mark{width:30px;height:30px;font-size:22px;margin-right:8px}.prototype{font-size:11px}.header-help{font-size:13px}main{padding:28px 16px 0}.intro{margin-bottom:25px;text-align:left}.intro h1{font-size:29px;letter-spacing:-.9px}.intro p{font-size:14px;margin:0}.requirements summary{padding:16px;gap:5px 12px}.requirements-label{font-size:13px}.requirements summary #summary{order:3;flex-basis:100%;font-size:12px}.change-label{font-size:13px}.settings-inner{padding:20px 16px}.file-panel{padding:18px}.dropzone{min-height:252px}.action-line{gap:10px}.action-line>span{max-width:145px;line-height:1.5}.action-line .primary{min-width:0;padding:11px 17px}.preview-box{height:185px}.help{margin-top:18px;margin-bottom:25px}.result{padding:18px}.check-result{grid-template-columns:1fr 1.5fr 1fr}.prototype{display:none}.file-line{align-items:flex-start}.choose-another{font-size:12px}footer{padding:0 16px 26px}}@media(max-width:370px){.action-line{align-items:stretch;flex-direction:column}.action-line>span{max-width:none}.preview-box{height:155px}}
.next-step{font-size:14px;color:var(--ink);font-weight:600;margin:0 0 14px;padding-left:2px;min-height:22px} .next-step{color:var(--green);background:var(--ink);padding:10px 14px;border-radius:8px}.next-action{box-shadow:0 0 0 3px #fff,0 0 0 6px #244edb}.next-action:focus-visible{outline:3px solid #132642;outline-offset:9px}
.next-bar{display:flex;align-items:center;gap:14px;background:var(--ink);border-radius:8px;margin:0 0 18px;padding:10px 14px}.next-bar .next-step{padding:0;margin:0;flex:1;min-width:0}.next-bar #toggle-pulses{border:0;background:none;color:#fff;text-decoration:underline;text-underline-offset:3px;font-size:12px;padding:6px 0;flex-shrink:0}.next-bar #toggle-pulses:disabled{opacity:.8;text-decoration:none}.button-pulse{animation:current-button-pulse 1.8s ease-in-out infinite}@keyframes current-button-pulse{0%,100%{box-shadow:0 0 0 3px #fff,0 0 0 6px #244edb,0 0 0 8px rgba(216,252,112,.12)}50%{box-shadow:0 0 0 3px #fff,0 0 0 6px #244edb,0 0 0 12px rgba(216,252,112,.65),0 0 18px rgba(216,252,112,.3)}}@media(prefers-reduced-motion:reduce){.button-pulse{animation:none!important}}@media(max-width:420px){.next-bar{gap:10px;padding:10px 12px}.next-bar .next-step{font-size:13px}.next-bar #toggle-pulses{font-size:12px}}
.header-reset{font-size:13px;color:var(--muted);text-decoration:none;white-space:nowrap}.topbar{height:auto;min-height:76px;padding-top:14px;padding-bottom:14px;flex-wrap:wrap}.topbar .brand{flex-shrink:0}@media(max-width:720px){.topbar{min-height:65px;padding-top:12px;padding-bottom:12px;gap:10px}.header-reset{font-size:12px}}
.tool-tabs{display:flex;gap:4px;background:#e5ebf5;padding:4px;border-radius:10px;margin:0 0 22px}.tool-tabs [role=tab]{display:block;text-align:center;text-decoration:none;flex:1;border:2px solid #c2ccda;background:#f3f6fc;color:#132642;border-radius:7px;padding:12px 10px;font-weight:650;font-size:14px}.tool-tabs [role=tab][aria-selected=true]{background:#132642;color:#fff;border-color:#132642;box-shadow:0 2px 4px #13264226}.tool-tabs [role=tab]:focus-visible{outline:3px solid #315ddd;outline-offset:3px;position:relative;z-index:1}.pdf-panel{padding:26px}.pdf-panel .section-top{justify-content:space-between}.pdf-panel .section-top .subtle{margin:0;font-size:12px}#pdf-files{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;min-height:0;border:0}.pdf-empty{border:1px dashed #c2ccda;border-radius:10px;text-align:center;padding:28px 18px;background:#fbfcff;color:var(--muted);font-size:15px;margin:20px 0}.pdf-list{list-style:none;padding:0;margin:20px 0;display:grid;gap:10px}.pdf-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:9px}.pdf-item img{width:64px;height:70px;object-fit:contain;background:#f3f6fb;border-radius:4px;flex-shrink:0}.pdf-item-main{flex:1;min-width:0}.pdf-item-main strong{font-size:14px;display:block;overflow-wrap:anywhere}.pdf-item-main small{font-size:12px;color:var(--muted)}.pdf-item-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:160px}.pdf-item-actions button{font-size:12px;border:1px solid var(--line);background:#f4f7fc;color:var(--ink);border-radius:5px;padding:7px 9px;min-height:34px}.pdf-add{display:flex;gap:20px;align-items:center;margin:22px 0}.pdf-add .primary{flex-shrink:0}.pdf-options{display:flex;flex-wrap:wrap;gap:18px;align-items:end;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.pdf-options>div{flex:1;min-width:150px}.pdf-options label{font-weight:600;font-size:14px;display:block;margin-bottom:6px}.pdf-options p{order:4;flex-basis:100%;margin:0}.pdf-options button{flex-shrink:0}.pdf-note{margin-top:24px;border-top:1px solid var(--line);padding-top:15px}.pdf-ready{margin-top:22px;background:#f1f6e7;padding:20px;border-radius:10px}.pdf-ready p{font-size:14px;margin:7px 0 16px}.next-bar .pulse-toggle{border:0;background:none;color:white;font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:6px 0;flex-shrink:0}@media(max-width:620px){.pdf-panel{padding:18px}.pdf-options{flex-wrap:wrap}.pdf-options>div{flex:1}.pdf-options p{min-width:150px}.pdf-options button{width:100%;margin-top:5px}.pdf-add{align-items:flex-start;flex-direction:column;gap:8px}.pdf-item{flex-wrap:wrap}.pdf-item-actions{max-width:none;width:100%;justify-content:flex-start;padding-left:76px}.tool-tabs [role=tab]{font-size:13px}.pdf-item img{width:54px;height:60px}.pdf-item-actions{padding-left:66px}}
.settings-inner select,.settings-inner input:not([type=checkbox]),.pdf-options select{background:#eff5ff;border-color:#b7cbea}.settings-inner select:focus,.settings-inner input:not([type=checkbox]):focus,.pdf-options select:focus{background:#e2edff}.requirements summary{background:#f0f5fd;border-radius:12px}.requirements[open] summary{border-radius:12px 12px 0 0}.pdf-item{background:#f8faff}

.pdf-download-options{margin-top:16px}.pdf-download-options summary{cursor:pointer;font-size:14px;font-weight:650;min-height:44px;display:flex;align-items:center}.pdf-download-options summary:focus-visible{outline:3px solid #315ddd;outline-offset:3px}.pdf-ready #pdf-save-status:empty{display:none}.pdf-ready a[aria-disabled=true],.image-save a[aria-disabled=true]{opacity:.5;cursor:not-allowed}

.image-save{margin-top:16px}.image-save #image-save-status:empty{display:none}

/* Goal-led requirements: only the relevant controls are shown. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.settings-inner #goal{font-weight:650;min-height:50px;margin-top:16px;background:#132642;color:#fff;border:2px solid #132642}.settings-inner #goal:focus{background:#132642}.settings-inner .hint{font-size:14px}.settings-inner label{font-size:14px}.settings-inner #goal-note{margin-top:10px}.settings-inner input,.settings-inner select{font-size:16px}.settings-inner .sr-only{margin:0}.settings-inner .settings-actions{flex-wrap:wrap}#name-field{margin-top:20px;padding-top:2px;border-top:1px solid var(--line)}

/* The available download is the main action when native file sharing is absent. */
.pdf-download-options.direct-download>summary{display:none}

/* Information pages share the quiet tool palette; no scripts are required. */
.site-footer{align-items:center;flex-wrap:wrap;gap:8px 22px;padding-bottom:28px}.site-footer nav{display:flex;flex-wrap:wrap;gap:0 18px;margin-left:auto}.site-footer nav a{min-height:44px;display:inline-flex;align-items:center;text-underline-offset:4px;white-space:nowrap}.site-footer nav a[aria-current=page]{font-weight:700;color:var(--ink);text-decoration-thickness:2px}.site-footer .footer-note{flex-basis:100%}.info-main{max-width:800px;padding-top:24px;padding-bottom:48px}.info-page .topbar{max-width:1040px;margin:0 auto}.info-page .header-help{font-size:14px;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}.info-intro{margin-bottom:28px}.info-intro h1{font-size:clamp(30px,4vw,42px);line-height:1.15}.info-intro .eyebrow{margin:0 0 12px}.info-lead{font-size:17px;color:var(--muted);max-width:620px}.info-main section{margin-top:32px;scroll-margin-top:24px}.info-main h2{font-size:22px;line-height:1.35;letter-spacing:-.4px;margin-bottom:12px}.info-main p{margin:12px 0}.info-main ul,.info-main ol{padding-left:24px}.info-main li{padding-left:3px;margin:10px 0}.info-main a{text-underline-offset:4px;overflow-wrap:anywhere}.contents{padding:20px 24px}.contents h2{font-size:17px;margin:0 0 8px}.contents ul{list-style:none;padding:0;margin:0}.contents li{padding:0;margin:0}.contents a{display:inline-flex;align-items:center;min-height:44px}.updated{font-size:13px;color:var(--muted)}.info-page .site-footer{border-top:1px solid var(--line);padding-top:18px;max-width:740px}.info-page article{overflow-wrap:break-word}@media(max-width:540px){.site-footer nav{margin-left:0;flex-basis:100%;gap:0 22px}.info-main{padding-top:22px;padding-bottom:32px}.info-main h2{font-size:20px}.info-lead{font-size:16px}.contents{padding:16px 18px}.info-page .topbar{gap:12px}.info-page .header-help{margin-left:auto}}

/* Shared secondary controls: a visible surface, generous targets and clear states. */
.text-button,.settings-actions .text-button,.dropzone .text-button,.choose-another,
.info-page .header-help,.site-footer nav a,.help-content a,.info-main a,
.help summary,.pdf-download-options summary,
.pdf-item-actions button,.next-bar #toggle-pulses,.next-bar .pulse-toggle{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-height:44px;min-width:44px;max-width:100%;padding:10px 14px;
 border:1px solid #75859d;border-radius:8px;background:#eff5ff;color:var(--ink);
 font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;
 overflow-wrap:anywhere;white-space:normal;
}
/* The home link is the brand, separate from the secondary action surfaces. */
.topbar a.brand{
 display:inline-flex;align-items:center;gap:0;min-height:48px;max-width:100%;
 padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;
 color:var(--ink);font-size:32px;font-weight:800;line-height:1.1;
 letter-spacing:-1.3px;text-decoration:none;white-space:nowrap;
}
.topbar .brand .mark{width:44px;height:44px;flex-shrink:0;margin-right:12px;border-radius:11px;font-size:33px;line-height:1}
.header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-left:auto}
.header-actions .header-help{margin-left:0}
.help summary{display:flex;justify-content:space-between;margin-bottom:8px}
.pdf-download-options summary{width:fit-content;list-style:none}
.pdf-download-options summary::-webkit-details-marker{display:none}
.pdf-download-options summary::after{content:'+';font-size:20px;line-height:1}
.pdf-download-options[open]>summary::after{content:'−'}
.requirements summary{border:1px solid #75859d;min-height:64px}
.change-label{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #75859d;border-radius:8px;background:#eff5ff;color:var(--ink);line-height:1.4}
.secondary{border-color:#75859d;background:#eff5ff}
.site-footer nav{gap:8px;margin-left:auto}
.site-footer nav a{white-space:normal}
.site-footer nav a[aria-current=page]{background:#dfe9f8;border-color:var(--ink)}
.contents ul{display:flex;flex-wrap:wrap;gap:8px}
.contents a{width:100%}
.help-content a,.info-main a{vertical-align:middle;margin:3px 0}
.next-bar{flex-wrap:wrap;gap:12px}
.next-bar .next-step{flex:1 1 12rem}
.next-bar #toggle-pulses,.next-bar .pulse-toggle{flex-shrink:0}
.pdf-item-actions{max-width:220px;gap:8px}
.file-line{flex-wrap:wrap}
.file-line>div{flex:1 1 140px}
.text-button:disabled,.pdf-item-actions button:disabled,.next-bar button:disabled{
 background:#e6ebf3;color:#56677b;border-color:#a3afbf;opacity:.65;cursor:not-allowed;
}
#remove,.pdf-item-actions button[id^="pdf-remove-"]{color:#922831;background:#fff2f3;border-color:#b97c81}
:is(.text-button,.secondary,.site-footer nav a,.help-content a,.info-main a,.header-help,.help summary,.pdf-download-options summary,.requirements summary,.pdf-item-actions button,.next-bar button):not(:disabled):not([aria-disabled=true]):hover{background:#e0eaff;border-color:#315ddd}
:is(.text-button,.secondary,.site-footer nav a,.help-content a,.info-main a,.header-help,.help summary,.pdf-download-options summary,.requirements summary,.pdf-item-actions button,.next-bar button):not(:disabled):not([aria-disabled=true]):active{background:#ccdafa;border-color:var(--ink)}
#remove:not(:disabled):hover,.pdf-item-actions button[id^="pdf-remove-"]:not(:disabled):hover{background:#ffe2e5;border-color:#922831}
#remove:not(:disabled):active,.pdf-item-actions button[id^="pdf-remove-"]:not(:disabled):active{background:#ffd1d7;border-color:#922831}
:is(button,a,summary):not(.next-action):focus-visible{outline:3px solid #315ddd;outline-offset:3px}
.next-bar button:focus-visible{outline-color:#fff}
.primary:not(:disabled):active{background:#102e8d}
.primary:disabled:hover{background:var(--blue)}
#prepare:disabled:hover{background:#e6ebf3}
.secondary[aria-disabled=true]:hover,.secondary[aria-disabled=true]:active,.secondary:disabled:hover,.secondary:disabled:active{background:#eff5ff;border-color:#75859d}
.tool-tabs [role=tab]{min-height:46px;display:flex;align-items:center;justify-content:center}
.tool-tabs [role=tab]:not([aria-selected=true]):hover{background:#e0eaff;border-color:#315ddd}
.tool-tabs [role=tab]:not([aria-selected=true]):active{background:#ccdafa}
/* Give the result guidance and save action separate breathing room. */
.image-save{margin-top:24px}
.image-save #image-save-help{margin:0 0 20px;font-size:14px}
.image-save #image-share{margin-top:0}
@media(max-width:720px){
 .topbar{gap:12px}.topbar a.brand{font-size:27px;letter-spacing:-1px;min-height:44px}.header-help{margin-left:auto}
 .topbar .brand .mark{width:38px;height:38px;margin-right:10px;border-radius:10px;font-size:29px}
 .file-line .choose-another{margin-left:0;font-size:14px}
 .settings-actions{gap:12px}.settings-actions .text-button{font-size:14px}
 .site-footer nav{margin-left:0;gap:8px;flex-basis:100%}
}
@media(max-width:620px){.pdf-item-actions{padding-left:0;max-width:none}}

@media(max-width:540px){.header-actions{flex-basis:100%;margin-left:0}}

/* Practical guides share the existing readable content layout. */
.practical-guides{margin-top:2rem;padding:clamp(1.25rem,3vw,2rem)}.practical-guides li{margin:.75rem 0}.info-main figure{margin:1.5rem 0}.info-main figcaption{line-height:1.6;margin-top:1rem}.info-main section{scroll-margin-top:6rem}
