@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#222a27;background:#f5f5f2;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #222a27;--muted: #808985;--line: #e7e9e5;--green: #356c5b;--green-dark: #285848;--paper: #fff}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #94b9a9;outline-offset:2px}.app-shell{min-height:100vh;height:100vh;overflow:hidden;display:flex;flex-direction:column;background:#f5f5f2}.topbar{height:66px;flex:0 0 66px;display:grid;grid-template-columns:250px 1fr 360px;align-items:center;padding:0 27px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:9px;width:fit-content;text-decoration:none;color:#202723;font:800 23px/1 Manrope,sans-serif;letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#fff;background:var(--green)}.brand-period{color:#d59553}.brand-logo{display:block;width:174px;height:58px;border-radius:3px;object-fit:cover;object-position:center}.topbar-center{justify-self:center;display:flex;align-items:center;gap:9px;color:#6e7772;font-size:12px;font-weight:500}.status-dot{width:7px;height:7px;border-radius:50%;background:#82a692}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px}.autosave{display:flex;align-items:center;gap:6px;font-size:11px;color:#7e8982}.autosave svg{color:#5f9777}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:6px;padding:0 14px;height:39px;font-size:12px;font-weight:600;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease;white-space:nowrap}.button:not(:disabled):active{transform:translateY(1px)}.button-export{background:#304f43;color:#fff}.button-export:not(:disabled):hover,.button-primary:not(:disabled):hover{background:#203e33}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:82px minmax(0,1fr) 326px}.tool-rail{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:20px 8px 16px;gap:12px}.rail-button{width:62px;height:58px;padding:6px 3px;background:transparent;border:0;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#818a85;font-size:9px;font-weight:500;cursor:pointer}.rail-button:hover{background:#f5f7f4;color:#41584d}.rail-button.is-active{background:#edf3ef;color:#356c5b}.rail-spacer{flex:1}.rail-foot{display:flex;flex-direction:column;gap:3px;align-items:center;padding:9px 0 3px;color:#77817b}.rail-foot span{font:700 10px Manrope,sans-serif;color:#4b6f5f}.rail-foot small{font-size:8px}.canvas-area{display:flex;flex-direction:column;min-width:0;padding:27px 33px 19px}.canvas-heading{display:flex;align-items:center;justify-content:space-between;min-height:51px;gap:16px}.eyebrow{margin:0 0 7px;color:#858f89;font-size:9px;line-height:1;letter-spacing:1px;font-weight:700}.canvas-heading h1{margin:0;max-width:min(62vw,700px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 18px/1.3 Manrope,sans-serif;letter-spacing:-.25px}.page-stepper{height:34px;display:flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:0 5px;font-size:11px;color:#4e5953}.page-stepper button{display:grid;place-items:center;width:25px;height:25px;border:0;background:transparent;border-radius:4px;cursor:pointer}.page-stepper button:hover:not(:disabled){background:#eff3f0}.page-stepper i{color:#a5aaa6;font-style:normal;margin:0 3px}.canvas-stage{position:relative;flex:1;min-height:260px;margin-top:20px;border:1px solid #e9ebe6;border-radius:7px;overflow:hidden;display:grid;place-items:center;background-color:#eeefeb;background-image:radial-gradient(#d9ddd8 .75px,transparent .75px);background-size:17px 17px}.canvas-stage.has-document{padding:20px 25px 35px}.empty-state{width:min(430px,calc(100% - 32px));text-align:center;padding:22px 0 5px;animation:appear .42s ease both}.scan-art{height:168px;width:180px;margin:0 auto 13px;position:relative;display:grid;place-items:center}.scan-paper{width:103px;height:133px;background:#fff;border:1px solid #e1e6e0;border-radius:3px;box-shadow:0 12px 25px #32423a17;transform:rotate(-5deg);position:relative;padding:35px 15px 0;display:flex;flex-direction:column;gap:8px}.scan-paper span{height:4px;width:100%;background:#e8ece8;border-radius:4px}.scan-paper .short-line{width:66%}.scan-paper b{position:absolute;left:15px;right:15px;bottom:18px;height:23px;border:1px solid #dce8e0;background:repeating-linear-gradient(0deg,#eef4ef 0,#eef4ef 3px,#fff 3px,#fff 6px)}.scan-corner{position:absolute;width:28px;height:28px;border-color:#4f836f;border-style:solid}.corner-tl{top:19px;left:19px;border-width:2px 0 0 2px}.corner-br{right:19px;bottom:17px;border-width:0 2px 2px 0}.scan-spark{position:absolute;font-size:21px;color:#d89558}.spark-one{right:15px;top:27px}.spark-two{left:13px;bottom:18px;font-size:14px;color:#7da58e}.empty-kicker{margin:0 0 11px;color:#5c806e;font-size:9px;letter-spacing:1.35px;font-weight:700}.empty-state h2{margin:0;font:700 24px/1.22 Manrope,sans-serif;letter-spacing:-.55px;color:#28332d}.empty-description{max-width:355px;margin:12px auto 20px;color:#77817b;font-size:12px;line-height:1.6}.empty-actions{display:flex;justify-content:center;gap:9px}.button-primary{background:#356c5b;color:#fff}.button-light{border-color:#dfe4df;color:#49564f;background:#fff}.button-light:hover{background:#f8faf8;border-color:#c8d3cb}.format-note{display:flex;align-items:center;justify-content:center;gap:8px;margin:15px 0 0;color:#929a95;font-size:10px}.format-note span{color:#c2c7c3}.document-frame{max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:10px;animation:appear .25s ease both}.document-sheet{position:relative;overflow:hidden;flex:0 1 auto;width:min(100%,calc(68vh * var(--ratio)));max-height:68vh;aspect-ratio:var(--ratio);background:#fff;box-shadow:0 8px 28px #34413922;touch-action:none}.document-sheet img{display:block;width:100%;height:100%;object-fit:fill;-webkit-user-select:none;user-select:none}.document-sheet.crop-cursor{cursor:crosshair}.document-annotation{position:absolute;z-index:2;color:#253d36;font-size:clamp(10px,1.15vw,16px);font-weight:700;text-shadow:0 1px 2px #fff;pointer-events:none}.document-signature{position:absolute;z-index:2;width:30%;height:12%;object-fit:contain;object-position:left center;pointer-events:none}.document-watermark{position:absolute;right:4.5%;bottom:5.5%;max-width:90%;color:#182622;opacity:.45;font-size:clamp(9px,1vw,14px);font-weight:700;pointer-events:none}.crop-selection{position:absolute;z-index:3;border:1.5px solid #d68b4b;box-shadow:0 0 0 9999px #17241e50;pointer-events:none}.crop-selection span{position:absolute;left:0;top:-20px;padding:3px 5px;color:#fff;background:#b8773d;font-size:8px;font-weight:700;letter-spacing:.5px}.canvas-caption{width:100%;display:flex;justify-content:space-between;gap:12px;color:#69766f;font-size:9px}.canvas-caption span{display:inline-flex;gap:6px;align-items:center}.canvas-caption span:first-child svg{color:#5f8b72}.busy-indicator{position:absolute;bottom:13px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;border-radius:30px;padding:8px 13px;background:#fff;box-shadow:0 3px 12px #242f2816;color:#49564f;font-size:11px;white-space:nowrap}.busy-indicator span{width:7px;height:7px;border-radius:50%;background:#d68b4b;animation:pulse 1s ease infinite}.canvas-bottom{min-height:57px;display:flex;align-items:flex-end;justify-content:space-between;padding-top:12px;gap:10px}.bottom-tools{display:flex;align-items:center;gap:15px}.canvas-actions{display:flex;align-items:center;gap:8px}.mini-tool,.text-action{display:inline-flex;align-items:center;gap:7px;padding:6px 0;color:#748078;background:none;border:0;font-size:10px;cursor:pointer}.mini-tool:hover:not(:disabled),.text-action:hover:not(:disabled){color:#315f4e}.mini-tool.selected{color:#ba7840}.text-action{color:#5c806e;font-weight:600}.button-secondary{background:#fff;border-color:#dfe4df;color:#4c5952;height:34px;font-size:10px}.button-secondary:hover{background:#f9faf8}.page-strip{flex:0 0 auto;min-height:76px;display:flex;align-items:center;gap:8px;margin-top:8px;padding:7px 9px;overflow-x:auto;border:1px solid #e5e9e4;border-radius:5px;background:#fff}.page-thumbnail{position:relative;flex:0 0 48px;height:60px}.page-thumbnail>button:first-child{width:100%;height:100%;padding:2px;overflow:hidden;border:1px solid #e2e7e2;border-radius:3px;background:#f7f8f5;cursor:pointer}.page-thumbnail.selected>button:first-child{border:2px solid #4f8068}.page-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}.page-thumbnail>button:first-child span{position:absolute;left:4px;bottom:4px;min-width:17px;padding:2px 4px;border-radius:2px;background:#21372ebf;color:#fff;font-size:8px}.page-thumbnail .remove-page{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;width:18px;height:18px;padding:0;border:1px solid white;border-radius:50%;background:#526c5b;color:#fff;cursor:pointer}.add-page-tile{flex:0 0 48px;height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px dashed #c9d3cb;border-radius:3px;background:#fbfcfa;color:#5b7866;font-size:8px;cursor:pointer}.settings-panel{display:flex;flex-direction:column;min-height:0;background:#fff;border-left:1px solid var(--line)}.panel-heading{height:77px;flex:0 0 77px;padding:19px 22px 13px;display:flex;align-items:center;justify-content:space-between}.panel-heading .eyebrow{margin-bottom:7px}.panel-heading h2{margin:0;font:700 17px Manrope,sans-serif;letter-spacing:-.35px}.panel-heading>svg{color:#829087}.settings-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:42px;flex:0 0 42px;border-bottom:1px solid var(--line);padding:0 12px;gap:3px}.settings-tabs button{min-width:0;border:0;border-bottom:2px solid transparent;background:transparent;color:#87908b;font-size:9px;cursor:pointer}.settings-tabs button.active{border-bottom-color:#4d816c;color:#345b4c;font-weight:700}.panel-content{overflow:auto;flex:1;padding:23px 21px 16px}.section-label{display:flex;align-items:center;gap:9px;color:#838d87;font-size:8px;letter-spacing:.8px;font-weight:700}.label-line{height:1px;flex:1;background:#eaede9}.preset-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:13px 0 25px}.preset{display:flex;flex-direction:column;align-items:center;gap:7px;padding:6px 2px;border:1px solid transparent;border-radius:5px;background:transparent;color:#747f78;font-size:9px;cursor:pointer}.preset:hover{background:#fafbf9}.preset.selected{color:#3b6c57}.preset-swatch{width:66px;height:49px;display:grid;place-items:center;border:1px solid #e5e8e3;border-radius:4px;background:#f5f4ed;color:#8a957f}.preset.selected .preset-swatch{border:1.5px solid #609078;box-shadow:0 0 0 2px #e9f0eb}.bw-swatch{color:#555;background:repeating-linear-gradient(0deg,#fff 0,#fff 5px,#e6e6e3 5px,#e6e6e3 6px)}.photo-swatch{color:#b37e4d;background:linear-gradient(135deg,#f1e7d8,#e9f0e9 48%,#dbe8e1)}.adjustment-block{margin-top:0}.slider-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin-top:20px;color:#4d5852;font-size:11px}.slider-value{color:#85908a;font-size:10px;font-variant-numeric:tabular-nums}.slider-row input{grid-column:1 / -1;width:100%;height:4px;margin:0;accent-color:#4c806b;cursor:pointer}.toggle-row{min-height:62px;margin-top:17px;border-top:1px solid #eef0ed;border-bottom:1px solid #eef0ed;display:flex;align-items:center;justify-content:space-between;position:relative;cursor:pointer}.toggle-row b{display:block;color:#4b5650;font-size:10px;font-weight:600}.toggle-row small{display:block;margin-top:4px;color:#959d98;font-size:9px}.toggle-row input{position:absolute;right:0;width:34px;height:19px;opacity:0;cursor:pointer}.toggle-row i{width:32px;height:18px;border-radius:12px;background:#dce1dd;transition:background .2s ease}.toggle-row i:after{content:"";display:block;width:14px;height:14px;margin:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .2s ease}.toggle-row input:checked+i{background:#4c806b}.toggle-row input:checked+i:after{transform:translate(14px)}.quality-note{display:flex;align-items:flex-start;gap:10px;margin-top:21px;padding:12px 11px;background:#f2f6f2;border:1px solid #e8efe9;border-radius:5px;color:#639078}.quality-note p{display:flex;flex-direction:column;gap:4px;margin:0}.quality-note b{font-size:9px;color:#4e6859}.quality-note span{color:#7c8980;font-size:9px;line-height:1.45}.crop-panel{padding-top:24px}.crop-instructions{display:flex;gap:10px;align-items:flex-start;margin:21px 0;color:#5c806e}.crop-instructions p{margin:0;color:#77817b;font-size:11px;line-height:1.55}.crop-toggle{width:100%;background:#eef4ef;color:#3e705a;border-color:#d9e7dc}.crop-toggle.is-on{background:#356c5b;color:#fff}.crop-readout{display:flex;justify-content:space-between;margin-top:22px;padding:12px 0;border-top:1px solid #eef0ed;border-bottom:1px solid #eef0ed;color:#7d8881;font-size:10px}.crop-readout b{color:#4a5a51;font-weight:600}.reset-crop{margin-top:9px}.field-label{display:block;margin:19px 0 7px;color:#58645d;font-size:10px;font-weight:600}.annotate-panel textarea,.text-input{width:100%;border:1px solid #dfe5df;border-radius:5px;padding:10px 11px;background:#fdfdfc;color:#344139;font-size:11px;resize:vertical}.annotate-panel textarea{height:82px;min-height:65px}.annotate-panel textarea::placeholder,.text-input::placeholder{color:#a1a9a3}.add-note{width:100%;margin-top:8px;background:#eef4ef;border-color:#dce8de;color:#426b57}.panel-description{margin:10px 0 15px;color:#7e8982;font-size:10px;line-height:1.5}.ocr-result{min-height:160px;line-height:1.55}.searchable-toggle{margin-top:15px;padding:0 1px}.detected-fields{display:grid;gap:7px;margin-top:18px}.field-result{display:flex;flex-direction:column;gap:4px;padding:9px;border:1px solid #e6ebe5;border-radius:4px;background:#fafbf9}.field-result span{color:#87918a;font-size:9px}.field-result b{color:#40594a;font-size:11px;font-weight:600;overflow-wrap:anywhere}.signature-pad{display:block;width:100%;height:105px;border:1px solid #dfe5df;border-radius:5px;background:repeating-linear-gradient(0deg,#fff 0,#fff 33px,#f3f5f2,#f3f5f2 35px);touch-action:none;cursor:crosshair}.signature-actions{display:flex;align-items:center;justify-content:space-between;margin-top:4px;color:#89938d;font-size:9px}.library-search{display:flex;align-items:center;gap:7px;height:36px;margin:18px 0 10px;padding:0 9px;border:1px solid #dfe5df;border-radius:5px;color:#7f8a83}.library-search input{width:100%;border:0;outline:0;background:transparent;color:#35443b;font-size:10px}.saved-documents{display:grid;gap:6px}.saved-document{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #e8ece8;border-radius:4px}.saved-document-open{display:flex;flex:1;min-width:0;align-items:center;gap:8px;border:0;background:none;color:#5e7766;text-align:left;cursor:pointer}.saved-document-open>span{display:flex;min-width:0;flex-direction:column;gap:3px}.saved-document-open b{overflow:hidden;color:#48564e;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.saved-document-open small{color:#929b95;font-size:8px}.watermark-label{margin-top:27px}.text-input{height:38px}.field-hint{margin:7px 0 0;color:#949d97;font-size:9px}.annotation-list{display:grid;gap:6px;margin-top:20px}.annotation-item{display:flex;justify-content:space-between;align-items:center;padding:8px 9px;border:1px solid #e8ece8;border-radius:4px;color:#5e6c63;font-size:10px}.annotation-item button,.icon-button{display:grid;place-items:center;border:0;background:transparent;color:#89948d;cursor:pointer}.annotation-item button:hover{color:#b45e50}.panel-footer{flex:0 0 auto;padding:13px 20px 18px;border-top:1px solid var(--line)}.output-format{display:flex;align-items:center;gap:9px;margin-bottom:13px}.format-icon{display:grid;place-items:center;width:35px;height:30px;border:1px solid #dce6dd;border-radius:4px;background:#f1f6f1;color:#4c775e;font:700 8px Manrope,sans-serif}.output-format>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.output-format b{color:#505d55;font-size:9px;font-weight:600}.output-format small{color:#919b94;font-size:9px}.output-format>svg{color:#5b9474}.format-selector{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin-bottom:9px;padding:3px;border:1px solid #e3e8e3;border-radius:6px;background:#f5f7f4}.format-selector button{height:29px;border:0;border-radius:4px;background:transparent;color:#7c8780;font-size:10px;font-weight:600;cursor:pointer}.format-selector button.selected{background:#fff;color:#355e4b;box-shadow:0 1px 3px #1d312312}.format-select-label{display:flex;align-items:center;gap:10px;margin-bottom:9px;color:#77827b;font-size:10px}.format-select-label select{min-width:0;flex:1;height:34px;padding:0 9px;border:1px solid #dfe5df;border-radius:5px;background:#fff;color:#42574a;font-size:10px}.export-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.82fr);gap:7px}.panel-export,.share-button{width:100%;height:40px;padding:0 8px;font-size:10px}.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}.modal-backdrop{position:fixed;z-index:10;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#1e2a2475;animation:appear .18s ease both}.camera-modal{width:min(780px,100%);overflow:hidden;padding:20px;background:#fff;border-radius:8px;box-shadow:0 18px 60px #14231c40}.modal-title{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px}.modal-title h2{margin:0;font:700 19px Manrope,sans-serif}.camera-feed{position:relative;overflow:hidden;border-radius:4px;background:#18221d}.camera-modal video{display:block;width:100%;max-height:55vh;aspect-ratio:4 / 3;object-fit:contain}.document-guides{position:absolute;top:9%;right:17%;bottom:9%;left:17%;border:1px solid #ffffff46;pointer-events:none}.document-guides i{position:absolute;width:22px;height:22px;border-color:#fff;border-style:solid}.document-guides i:nth-child(1){top:-1px;left:-1px;border-width:3px 0 0 3px}.document-guides i:nth-child(2){top:-1px;right:-1px;border-width:3px 3px 0 0}.document-guides i:nth-child(3){right:-1px;bottom:-1px;border-width:0 3px 3px 0}.document-guides i:nth-child(4){bottom:-1px;left:-1px;border-width:0 0 3px 3px}.camera-live-status{position:absolute;left:50%;bottom:12px;transform:translate(-50%);padding:6px 10px;border-radius:3px;background:#1d2b27b8;color:#fff;font-size:9px;font-weight:700;letter-spacing:.7px;white-space:nowrap;pointer-events:none}.camera-metrics{display:flex;flex-wrap:wrap;gap:7px;padding:12px 0 2px}.camera-metrics span{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:3px;background:#f2f5f1;color:#747f78;font-size:9px}.camera-metrics span i{width:6px;height:6px;border-radius:50%;background:#a0aaa3}.camera-metrics .metric-good{color:#426d55;background:#eef5ef}.camera-metrics .metric-good i{background:#6e9d7d}.camera-metrics .metric-warning{color:#976637;background:#faf3e8}.camera-metrics .metric-warning i{background:#d3984e}.camera-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px}.auto-shoot-control{display:inline-flex;align-items:center;gap:8px;color:#536159;font-size:10px;cursor:pointer}.auto-shoot-control input{width:15px;height:15px;accent-color:#3f765d}.camera-buttons{display:flex;gap:8px}.camera-buttons .button{font-size:10px}.camera-error{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;color:#62806d}.camera-error p{max-width:320px;color:#69766e;font-size:12px;line-height:1.5}.toast-message{position:fixed;z-index:12;right:24px;bottom:22px;display:flex;align-items:center;gap:8px;max-width:min(420px,calc(100vw - 32px));padding:12px 15px;border:1px solid #dfe9e1;border-radius:6px;background:#fff;box-shadow:0 7px 24px #20392b16;color:#496254;font-size:11px;animation:rise .2s ease both}.toast-message svg{flex:0 0 auto;color:#5b9875}.app-footer{height:68px;flex:0 0 68px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px 23px;border-top:1px solid var(--line);background:#fff}.footer-logo-link{display:block;width:114px;height:62px;overflow:hidden}.footer-logo-link img{display:block;width:100%;height:100%;object-fit:cover}.app-footer p{margin:0;color:#7d8781;font-size:10px;text-align:right}.app-footer p a{color:#476c59;text-decoration:none}.app-footer p a:hover{text-decoration:underline}@keyframes appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes rise{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{opacity:.3}}@media(max-width:1050px){.topbar{grid-template-columns:1fr auto 1fr;padding:0 18px}.workspace{grid-template-columns:68px minmax(0,1fr) 290px}.canvas-area{padding:24px 20px 15px}.panel-content{padding-right:16px;padding-left:16px}.panel-footer{padding-right:15px;padding-left:15px}}@media(max-width:760px){.app-shell{height:auto;min-height:100vh;overflow:visible}.topbar{height:58px;flex-basis:58px;grid-template-columns:1fr auto;padding:0 14px}.topbar-center,.autosave{display:none}.topbar-actions{grid-column:2}.topbar-actions .button{height:35px;padding:0 10px;font-size:10px}.brand-logo{width:137px;height:49px}.workspace{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(470px,58vh) auto auto}.tool-rail{z-index:2;order:2;position:fixed;left:50%;bottom:12px;transform:translate(-50%);width:min(380px,calc(100% - 16px));height:58px;padding:5px 7px;flex-direction:row;justify-content:center;gap:2px;border:1px solid #e2e7e2;border-radius:9px;box-shadow:0 6px 22px #21382d19}.rail-button{flex:1 1 0;width:auto;min-width:0;height:46px;flex-direction:column;gap:3px;font-size:8px}.rail-spacer,.rail-foot{display:none}.canvas-area{order:1;padding:20px 14px 14px}.canvas-heading{min-height:44px}.canvas-heading h1{max-width:calc(100vw - 65px);font-size:15px}.canvas-stage{margin-top:13px;min-height:300px}.canvas-stage.has-document{padding:15px 8px 29px}.document-sheet{width:min(100%,calc(47vh * var(--ratio)));max-height:47vh}.empty-state h2{font-size:21px}.scan-art{height:139px;transform:scale(.87);margin-bottom:0}.canvas-bottom{min-height:48px;align-items:center}.bottom-tools{gap:11px}.mini-tool span{font-size:9px}.button-secondary{padding:0 9px;font-size:9px}.settings-panel{order:3;border-left:0;border-top:1px solid var(--line);min-height:380px;margin-bottom:75px}.panel-heading{height:64px;flex-basis:64px;padding:14px 17px 9px}.settings-tabs{padding:0 14px}.panel-content{padding:18px 17px}.panel-footer{padding:12px 17px 16px}.camera-actions{align-items:flex-start;flex-direction:column}.camera-buttons{width:100%}.camera-buttons .button{flex:1;padding:0 9px}.document-guides{right:9%;left:9%}.page-strip{min-height:70px}.page-thumbnail,.add-page-tile{flex-basis:44px;height:54px}.canvas-bottom{align-items:flex-start;flex-direction:column}.canvas-actions{width:100%;justify-content:flex-end}.app-footer{height:64px;flex-basis:64px;padding:4px 12px;gap:8px}.footer-logo-link{width:94px;height:52px;flex:0 0 94px}.app-footer p{max-width:230px;font-size:9px;line-height:1.45}}@media(max-width:420px){.canvas-area{padding-right:10px;padding-left:10px}.canvas-heading h1{font-size:14px}.empty-description{font-size:11px}.empty-actions .button{padding:0 10px;font-size:10px}.format-note{font-size:9px}.canvas-caption{font-size:8px}.canvas-caption span{gap:4px}.bottom-tools{gap:8px}.mini-tool,.button-secondary{gap:5px}}
