:root{color-scheme:light;--navy:#0B3B8F;--blue:#155EEF;--blue-hover:#0F4ED1;--blue-soft:#EEF6FF;--orange:#F97316;--orange-hover:#EA580C;--ink:#101B3D;--body:#334155;--muted:#52647C;--background:#F8FAFC;--surface:#FFF;--border:#E2E8F0;--strong-border:#CBD5E1;--divider:#EDF2F7;--danger:#B91C1C;--font:Inter,"Segoe UI",Roboto,Arial,sans-serif}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;background:var(--background);color:var(--body);font:14px/1.5 var(--font)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ink);text-wrap:balance}p{text-wrap:pretty}h2{font-size:18px;letter-spacing:-.015em}h3{font-size:14px}a{color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}button,select,input,textarea{max-width:100%}button:disabled,input:disabled,select:disabled,textarea:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:3px solid #769EF4;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}button{border:0}input:not([type=checkbox]):not([type=color]),select,textarea{display:block;width:100%;min-height:39px;border:1px solid var(--strong-border);border-radius:7px;background:white;color:var(--ink);padding:8px 10px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input:hover,textarea:hover,select:hover{border-color:#A8B8D0}textarea{resize:vertical;min-height:74px}input[type=color]{display:block;width:100%;height:39px;padding:4px;border:1px solid var(--strong-border);border-radius:7px;background:white;cursor:pointer}input[type=checkbox]{width:16px;height:16px;accent-color:var(--blue);flex:none}label{display:block;color:var(--body);font-size:12px;font-weight:650}label>input,label>select{margin-top:5px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:16px;top:12px;z-index:20;transform:translateY(-160%);padding:10px 14px;background:white;border-radius:8px;color:var(--navy);font-weight:700}.skip-link:focus{transform:translateY(0)}.container{width:100%;max-width:1540px;margin:auto;padding-left:32px;padding-right:32px}.site-header{background:var(--navy);color:white}.header-inner{min-height:72px;display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:1}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid #4269A7;border-radius:12px;background:#FFFFFF14}.brand-mark svg{width:24px;height:24px}.brand-name,.brand-tagline{display:block}.brand-name{font-weight:800;font-size:16px;line-height:1.25}.brand-tagline{margin-top:3px;color:#CFE0FF;font-size:12px;font-weight:600}.primary-nav{display:flex;align-self:stretch;gap:6px;margin:auto}.primary-nav a{display:flex;align-items:center;padding:0 16px;position:relative;font-weight:650;color:#EAF2FF;text-decoration:none}.primary-nav a:hover{background:#FFFFFF0D}.primary-nav a.active:after{content:"";position:absolute;bottom:0;height:4px;left:16px;right:16px;background:var(--orange);border-radius:4px 4px 0 0}.header-search{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:1;font-size:13px;font-weight:650;text-decoration:none}.header-search:hover{text-decoration:underline}.header-search svg{width:17px;height:17px}.breadcrumb{display:flex;align-items:center;gap:10px;padding-top:23px;font-size:12px;color:var(--muted)}.breadcrumb a{text-decoration:none}.breadcrumb a:hover{text-decoration:underline;color:var(--blue)}.breadcrumb [aria-current]{color:var(--body);font-weight:600}.hero{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:26px 0 30px}.tool-name{color:var(--navy);font-size:13px;font-weight:750;margin-bottom:6px}h1{font-size:34px;line-height:1.22;letter-spacing:-.03em}h1 span{color:var(--blue)}.lead{max-width:70ch;margin-top:10px;color:var(--muted);font-size:14px}.privacy-note{display:flex;align-items:center;gap:12px;flex:none}.privacy-note>svg{color:var(--navy);width:30px;height:30px;stroke-width:1.5}.privacy-note strong,.privacy-note span{display:block}.privacy-note strong{font-size:13px;color:var(--ink);font-weight:700}.privacy-note span{font-size:12px;color:var(--muted);margin-top:2px}.workbench{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;border:1px solid var(--strong-border);border-radius:7px;background:white;padding:8px 13px;color:var(--body);font-size:12px;font-weight:700;white-space:nowrap;text-decoration:none;transition:background .15s,border-color .15s,transform .15s}.button:hover:not(:disabled){background:#F2F6FC;border-color:#A5B6CF}.button:active:not(:disabled){transform:translateY(1px)}.button svg{width:16px;height:16px}.button-primary{background:var(--orange);border-color:var(--orange);color:#1D2133}.button-primary:hover:not(:disabled){background:var(--orange-hover);border-color:var(--orange-hover)}.button-blue{background:var(--blue);color:white;border-color:var(--blue)}.button-blue:hover:not(:disabled){background:var(--blue-hover);border-color:var(--blue-hover)}.button-small{min-height:32px;padding:6px 9px;font-size:11px}.button-full{width:100%}.button-danger{color:var(--danger)}.button-danger:hover:not(:disabled){background:#FEF2F2;border-color:#FCA5A5}.text-button{background:none;padding:4px 0;color:var(--blue);font-size:12px;font-weight:650}.text-button:hover:not(:disabled){text-decoration:underline}.subtle{color:var(--muted)}.icon-button{display:inline-grid;place-items:center;min-width:30px;min-height:30px;border:1px solid var(--border);border-radius:6px;background:white;color:var(--body);font-size:17px}.icon-button:hover:not(:disabled){background:var(--blue-soft);color:var(--blue);border-color:var(--strong-border)}.button-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.empty-state{padding:26px 30px 0}.dropzone{border:2px dashed #C3D2E8;background:#F8FBFF;border-radius:10px;padding:39px 20px 27px;display:flex;align-items:center;flex-direction:column;text-align:center;transition:background .15s,border-color .15s}.dropzone.drag-over,.dropzone.dragging{background:#E5EFFF;border-color:var(--blue)}.upload-icon{display:grid;place-items:center;width:67px;height:73px;color:var(--navy);margin-bottom:16px}.upload-icon svg{width:48px;height:48px;stroke-width:1.8}.dropzone h2{font-size:23px;letter-spacing:-.02em}.dropzone>p{margin-top:8px;color:var(--muted)}.dropzone>.button{margin-top:23px;padding:11px 21px;font-size:14px;min-height:44px}.dropzone .dropzone-note{font-size:11px;margin-top:11px}.dropzone>.text-button{margin-top:23px}.empty-capabilities{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px 38px;padding:23px 0;font-size:12px;color:var(--muted)}.empty-capabilities>span{display:flex;align-items:center;gap:8px}.empty-capabilities svg{width:17px;height:17px;color:var(--navy)}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid var(--border)}.workspace-title{display:flex;align-items:center;gap:10px}.count-badge{background:var(--blue-soft);color:var(--navy);padding:3px 8px;font-size:11px;font-weight:650;border-radius:4px;white-space:nowrap}.editor-layout{display:grid;grid-template-columns:290px minmax(240px,1fr) 290px;min-height:690px}.pages-panel{border-right:1px solid var(--border);min-width:0;background:#FCFDFF;display:flex;flex-direction:column}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 16px 12px}.panel-heading>span{font-size:11px;color:var(--muted)}.source-list{margin:0 16px 13px;border-bottom:1px solid var(--border);padding-bottom:11px;max-height:102px;overflow:auto}.source-list:empty{display:none}.source-item{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;padding:4px 0}.source-item>div{min-width:0}.source-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650;min-width:0;color:var(--body)}.source-meta{color:var(--muted);font-size:10px;white-space:nowrap}.source-item svg{width:14px;height:14px}.selection-tools{padding:0 16px 12px}.selection-links{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px}.selection-links .text-button{font-size:11px}.range-control{display:flex;gap:5px}.range-control input{font-size:11px!important;min-height:32px!important;padding:6px 8px!important}.page-actions{padding:0 16px;display:flex;gap:5px;flex-wrap:wrap}.page-actions .button{gap:4px}.page-actions svg{width:14px;height:14px}.reorder-actions{padding:10px 16px;display:flex;align-items:center;gap:5px}.reorder-actions>span{font-size:11px;color:var(--muted);margin-right:auto}.reorder-actions .icon-button{min-height:26px;min-width:30px}.page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px;padding:8px 16px 16px;align-content:start;overflow:auto;max-height:550px;min-height:240px;flex:1}.page-card{position:relative;min-width:0;border:1px solid var(--strong-border);border-radius:6px;padding:7px;background:white;cursor:pointer;transition:border-color .15s,background .15s;overflow:hidden}.page-card:hover{border-color:#829BC2;background:#F5F9FF}.page-card.active{outline:2px solid var(--blue);outline-offset:1px}.page-card.selected{background:#EAF2FF;border-color:var(--blue)}.page-card.drag-over{border-style:dashed;border-color:var(--orange);background:#FFF5ED}.page-card.dragging{opacity:.5}.page-thumbnail{display:block;width:100%;height:auto;background:white;min-height:80px;object-fit:contain}.page-card canvas{display:block;width:100%;height:auto;max-height:180px;object-fit:contain;background:white}.page-meta{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:7px}.page-label{font-size:11px;color:var(--ink);font-weight:700}.page-source{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);margin-top:3px}.page-select{position:absolute;top:8px;left:8px;margin:0;z-index:1}.page-card input[type=checkbox]{margin:0;width:15px;height:15px}.page-card button{background:none;padding:0;text-align:left;color:inherit}.panel-footnote{padding:11px 16px 15px;border-top:1px solid var(--divider);font-size:10px;line-height:1.5;color:var(--muted)}.preview-panel{background:#EDF2F8;min-width:0;display:flex;flex-direction:column}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 18px;border-bottom:1px solid #DAE2EC;background:#F8FAFD}.preview-label{display:block;font-size:10px;color:var(--muted);margin-bottom:2px}.preview-toolbar h3{font-size:12px;line-height:1.4}.zoom-control select{min-height:31px;padding:5px 7px;font-size:11px;width:90px}.preview-stage{position:relative;display:flex;align-items:flex-start;justify-content:center;overflow:auto;min-height:420px;max-height:810px;padding:24px 22px;flex:1}.preview-stage>p{margin:auto;text-align:center;color:var(--muted);font-size:13px}.preview-stage canvas{display:block;background:white;max-width:100%;height:auto;box-shadow:0 2px 7px #1B335A24}.preview-navigation{display:flex;justify-content:space-between;gap:10px;padding:12px 18px;border-top:1px solid #DAE2EC;background:#F8FAFD}.preview-navigation .button{border-color:transparent;background:transparent;font-weight:650}.tools-panel{border-left:1px solid var(--border);min-width:0}.tool-tabs{display:flex;border-bottom:1px solid var(--border);padding:0 7px;min-height:59px}.tool-tabs button{padding:0 9px;background:transparent;color:var(--muted);font-size:11px;position:relative;flex:1;white-space:nowrap;font-weight:650}.tool-tabs button.active,.tool-tabs button[aria-selected=true]{color:var(--blue)}.tool-tabs button.active:after,.tool-tabs button[aria-selected=true]:after{position:absolute;content:"";height:3px;bottom:-1px;left:8px;right:8px;background:var(--blue);border-radius:3px 3px 0 0}.tool-tabs button:hover{background:#F6F9FE}.tool-panel{padding:16px}.tool-intro{font-size:11px;color:var(--muted);line-height:1.6;margin-bottom:17px}.tool-panel h3{margin-bottom:10px}.tool-panel h3+.tool-intro{margin-top:-3px}.tool-panel label+textarea,.tool-panel label+input,.tool-panel label+select{margin-top:5px}.tool-panel form>label{margin-top:9px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.field-grid label{min-width:0}.field-grid.three-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.field-grid input,.field-grid select{font-size:12px}.tool-section{margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}.field-help{font-size:11px;line-height:1.55;color:var(--muted)}.tool-section .button+.field-help{margin-top:10px}.tool-section h3+.field-help{margin-top:-3px}.overlay-list{display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}.overlay-item{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;padding:7px 0;border-bottom:1px solid var(--divider)}.overlay-item button{flex:none}.overlay-item>div,.overlay-item>span{min-width:0;overflow-wrap:anywhere}.overlay-item:last-child{border-bottom:0}.form-empty{padding:28px 4px;text-align:center;color:var(--muted);font-size:12px}.form-empty svg{width:28px;height:28px;color:#6D86AB;margin-bottom:12px}.form-empty .field-help{margin-top:8px}.form-fields{margin-top:18px;display:flex;flex-direction:column;gap:16px}.field-row>input,.field-row>select,.field-row>textarea{margin-top:5px}.field-row{overflow-wrap:anywhere}.field-label{font-size:12px}.checkbox-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700;color:var(--ink);margin-bottom:14px}.checkbox-label input{margin:0}.finish-section{padding:5px 0 18px;margin-bottom:16px;border-bottom:1px solid var(--border)}.finish-section>label:not(.checkbox-label){margin-top:10px}.finish-section .field-help{margin-top:9px}.finish-section .field-grid{grid-template-columns:70px minmax(0,1fr);margin-bottom:0}.finish-section .field-grid select{padding-left:6px;padding-right:4px;font-size:11px}.preview-hint{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:var(--muted);line-height:1.6}.preview-hint svg{width:16px;height:16px;margin-top:1px}.export-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:19px 20px;border-top:1px solid var(--border);background:#FBFDFF}.export-name{max-width:260px;flex:1;min-width:180px}.export-name>label{font-size:11px;margin-bottom:5px}.filename-input{display:flex;align-items:center;background:white;border:1px solid var(--strong-border);border-radius:7px;overflow:hidden}.filename-input input{border:none!important;min-width:0;padding-right:2px!important;font-size:12px!important}.filename-input>span{padding:0 10px 0 5px;color:var(--muted);font-size:12px}.filename-input:focus-within{outline:3px solid #769EF4;outline-offset:2px}.filename-input input:focus-visible{outline:none}.export-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.status-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border-top:1px solid var(--border);min-height:43px;font-size:11px;color:var(--muted)}.status-bar p{line-height:1.5;max-width:90ch}.busy-indicator{display:inline-flex;align-items:center;gap:7px;color:var(--blue);white-space:nowrap}.busy-dot{width:7px;height:7px;border-radius:50%;background:var(--blue);animation:pulse 1s ease-in-out infinite}.error-box{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#FEF2F2;color:var(--danger);padding:12px 17px;border-bottom:1px solid #FECACA;font-size:12px}.error-box .icon-button{color:var(--danger);border-color:#FECACA;background:transparent}.help-details{margin:23px 0 31px;border-bottom:1px solid var(--border);padding-bottom:20px}.help-details summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:13px;font-weight:700;color:var(--body);list-style:none}.help-details summary::-webkit-details-marker{display:none}.help-details summary svg{width:17px;height:17px}.help-details[open] summary svg{transform:rotate(180deg)}.help-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;padding-top:22px}.help-content h3{font-size:12px;margin-bottom:7px}.help-content p{font-size:12px;line-height:1.8;color:var(--muted);max-width:70ch}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:30px;color:var(--muted);font-size:11px}.site-footer p span{margin:0 8px}.site-footer nav{display:flex;gap:25px}.site-footer a{text-decoration:none}.site-footer a:hover{color:var(--blue);text-decoration:underline}.output-dialog{width:min(1200px,96vw);height:92vh;max-width:none;max-height:none;padding:0;border:1px solid var(--strong-border);border-radius:10px;background:white;color:var(--body)}.output-dialog::backdrop{background:#071C45B3}.output-dialog[open]{display:flex;flex-direction:column}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 22px;border-bottom:1px solid var(--border)}.dialog-header h2{font-size:16px}.dialog-header p{margin-top:3px;font-size:12px;color:var(--muted)}.output-dialog iframe{border:0;width:100%;flex:1;background:#EDF2F8;min-height:0}@keyframes pulse{50%{opacity:.25}}@media(min-width:1450px){.editor-layout{grid-template-columns:310px minmax(240px,1fr) 310px}.tool-panel{padding:18px 20px}.tool-tabs button{font-size:12px}.page-actions .button{font-size:12px}}@media(max-width:1150px){.container{padding-left:22px;padding-right:22px}.editor-layout{grid-template-columns:250px minmax(200px,1fr) 260px}.tool-panel{padding:14px}.page-actions{gap:4px;padding:0 12px}.page-actions .button{padding:6px 7px;font-size:10px}.page-actions svg{width:12px;height:12px}.selection-tools,.panel-heading{padding-left:12px;padding-right:12px}.page-grid{padding-left:12px;padding-right:12px}.source-list{margin-left:12px;margin-right:12px}.export-bar{align-items:center;gap:14px}.export-actions{max-width:450px}.export-actions .button{font-size:11px}.privacy-note span{max-width:185px}.hero{gap:20px}h1{font-size:31px}}@media(max-width:960px){.editor-layout{grid-template-columns:250px minmax(240px,1fr)}.tools-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--border)}.tool-tabs{max-width:420px;min-height:49px}.tool-panel{padding:20px}.tool-panel#panel-content{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}.tool-panel#panel-content>.tool-intro{grid-column:1/-1;margin-bottom:-3px}.tool-section{margin-top:0;padding-top:0;border-top:0;padding-left:20px;border-left:1px solid var(--border)}.tool-panel#panel-finish{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 24px}.tool-panel#panel-finish>h3,.tool-panel#panel-finish>.tool-intro,.tool-panel#panel-finish>.preview-hint{grid-column:1/-1}.finish-section{border-bottom:0;margin-bottom:0}.form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.form-empty{padding:20px}.form-empty svg{display:none}.preview-stage{min-height:400px;max-height:700px}.page-grid{max-height:540px}.header-inner{gap:20px}.primary-nav{gap:0}.primary-nav a{padding-left:11px;padding-right:11px;font-size:13px}.header-search{flex:0;white-space:nowrap}.brand{flex:1}.hero{align-items:flex-start}.privacy-note{margin-top:10px}.privacy-note strong{font-size:12px}.privacy-note span{font-size:11px}.privacy-note>svg{width:25px;height:25px}.help-content{gap:24px}}@media(max-width:720px){.container{padding-left:16px;padding-right:16px}.header-inner{min-height:65px;flex-wrap:wrap;gap:0}.brand{padding:11px 0;flex:1}.brand-mark{width:37px;height:37px;border-radius:10px}.brand-name{font-size:14px}.brand-tagline{font-size:10px}.primary-nav{display:none}.header-search{font-size:11px}.header-search svg{width:15px;height:15px}.breadcrumb{padding-top:17px;font-size:11px}.hero{flex-direction:column;gap:17px;padding:21px 0 24px}.hero h1{font-size:29px}.lead{font-size:13px;line-height:1.65;max-width:52ch;margin-top:9px}.privacy-note{margin-top:0;gap:8px}.privacy-note>svg{width:23px;height:23px}.privacy-note strong,.privacy-note span{display:inline;font-size:10px;max-width:none}.privacy-note span{margin-left:6px}.empty-state{padding:15px 15px 0}.dropzone{padding:29px 16px 22px}.dropzone h2{font-size:20px}.dropzone>p{font-size:12px}.dropzone .upload-icon{margin-bottom:11px}.empty-capabilities{display:grid;grid-template-columns:1fr 1fr;gap:16px;font-size:10px;padding:20px 7px}.empty-capabilities>span{gap:6px}.empty-capabilities svg{width:15px;height:15px}.workspace-heading{align-items:flex-start;flex-direction:column;padding:16px}.workspace-heading .button-group{gap:7px;width:100%}.workspace-heading .subtle{margin-left:auto;font-size:11px}.workspace-heading h2{font-size:16px}.editor-layout{grid-template-columns:minmax(0,1fr)}.pages-panel{border-right:0;border-bottom:1px solid var(--border)}.page-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));min-height:150px;max-height:320px;padding-top:7px;gap:12px}.page-card canvas{max-height:145px}.source-list{max-height:70px;margin-bottom:10px}.selection-tools{display:flex;align-items:center;gap:16px;padding-bottom:10px}.selection-links{gap:12px;flex:none;margin-bottom:0}.range-control{flex:1;min-width:0}.page-actions{padding-bottom:8px}.page-actions .button{font-size:11px;padding:6px 10px}.page-actions svg{width:14px;height:14px}.reorder-actions{position:relative;padding:0 12px 9px;justify-content:flex-start}.reorder-actions>span{margin-right:5px}.panel-footnote{padding:8px 12px 11px}.preview-stage{min-height:300px;max-height:600px;padding:20px}.preview-toolbar{padding:11px 14px}.preview-navigation{padding:9px 12px}.tools-panel{grid-column:auto}.tool-tabs{max-width:none}.tool-tabs button{font-size:12px}.tool-panel#panel-content{grid-template-columns:1fr 1fr;gap:17px}.tool-panel#panel-content>.tool-section:last-child{grid-column:1/-1;border-left:0;border-top:1px solid var(--border);padding:16px 0 0}.tool-section{padding-left:17px}.tool-panel#panel-finish{grid-template-columns:1fr 1fr;gap:0 20px}.finish-section:last-of-type{grid-column:1/-1;padding-top:16px;border-top:1px solid var(--border)}.export-bar{flex-direction:column;align-items:stretch;padding:16px}.export-name{max-width:none;min-width:0}.export-actions{display:grid;grid-template-columns:1fr 1fr;max-width:none;gap:8px}.export-actions .button{min-height:41px;font-size:11px}.status-bar{padding:11px 15px;flex-wrap:wrap;gap:5px}.help-details{margin-top:20px;margin-bottom:23px}.help-content{grid-template-columns:1fr;gap:20px;padding-top:20px}.help-content p{line-height:1.7}.help-details summary{font-size:12px;gap:10px}.site-footer{align-items:flex-start;flex-direction:column;gap:13px;font-size:10px;padding-bottom:24px}.site-footer nav{gap:20px}.dialog-header{padding:12px 14px;gap:10px}.dialog-header p{font-size:10px}.output-dialog{width:96vw;height:94vh}}@media(max-width:410px){.container{padding-left:11px;padding-right:11px}.hero h1{font-size:26px}.tool-panel#panel-content{grid-template-columns:1fr}.tool-section{border-left:0;border-top:1px solid var(--border);padding:17px 0 0}.tool-panel#panel-finish{grid-template-columns:1fr}.finish-section{border-bottom:1px solid var(--border)}.finish-section:last-of-type{border-top:0}.tool-panel{padding:15px}.tool-panel#panel-content>.tool-intro{margin-bottom:-4px}.selection-tools{align-items:stretch;flex-direction:column;gap:6px}.selection-links{justify-content:flex-start}.selection-links .text-button{font-size:11px}.range-control input{flex:1}.privacy-note strong,.privacy-note span{font-size:9px}.privacy-note span{margin-left:4px}.empty-capabilities{gap:12px 7px;font-size:9px}.empty-capabilities svg{width:13px;height:13px}.dropzone h2{font-size:19px}.form-fields{grid-template-columns:1fr}.header-search{font-size:10px;gap:5px}.header-search svg{width:13px;height:13px}.brand{gap:8px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
/* Keep hidden upload controls out of the layout despite the shared input rule. */
input[type=file].visually-hidden{width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important}
.page-open{width:100%;display:flex;align-items:center;justify-content:center;min-height:130px}
.page-meta{display:block}.page-label{white-space:nowrap}.page-source{width:100%}.edit-badge{font-size:10px;display:inline-block;background:var(--blue-soft);color:var(--navy);padding:1px 4px;border-radius:3px;margin-top:4px}
#errorText{white-space:pre-line;overflow-wrap:anywhere}
.preview-stage{justify-content:safe center}.preview-stage canvas{flex:none}
.page-grid{grid-auto-rows:max-content}
