:root{--ink:#171717;--muted:#828282;--line:#e8e8e8;--soft:#f7f7f6;--white:#fff;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none;font-size:14px;background:#fcfcfb}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #6c6c6c;outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:34px;font-weight:600;letter-spacing:-1.25px;line-height:1.2}h2{font-size:15px;font-weight:600;letter-spacing:-.2px}h3{font-size:16px;font-weight:500;letter-spacing:-.35px}.muted{color:var(--muted);line-height:1.65}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.5px;color:#858585;margin-bottom:14px}.header{height:98px;border-bottom:1px solid var(--line);background:white}.header-inner{max-width:1200px;margin:auto;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 42px}.brand{display:flex;align-items:center;gap:13px;font-size:19px;font-weight:600;letter-spacing:-.55px}.brand-plus{display:flex;align-items:center;justify-content:center;width:43px;height:43px;font-family:Arial,sans-serif;font-size:45px;font-weight:500;line-height:1;background:var(--ink);color:white;border-radius:11px;padding-bottom:3px}.brand-subtitle{display:block;font-size:11px;font-weight:400;color:#909090;letter-spacing:0;margin-top:5px}.header-actions{display:flex;align-items:center;gap:27px}.privacy{color:#8a8a8a;font-size:11px;display:flex;gap:7px;align-items:center}.privacy svg{width:13px;height:13px}.button{min-height:46px;border-radius:9px;border:1px solid transparent;padding:12px 19px;display:inline-flex;align-items:center;justify-content:center;gap:11px;font-size:12px;font-weight:500;transition:background .15s,transform .15s;text-align:center;white-space:normal}.button svg{width:17px;height:17px}.button:active:not(:disabled){transform:translateY(1px)}.primary{background:var(--ink);color:white;border-color:var(--ink)}.primary:hover:not(:disabled){background:#363636}.secondary{background:white;color:var(--ink);border-color:#dedede}.secondary:hover:not(:disabled){background:#f5f5f5}.compact{min-height:38px;padding:9px 13px;font-size:11px}.icon-button{padding:10px;min-height:36px;border:1px solid var(--line);background:white}.icon-button svg{width:16px;height:16px}.text-button{border:0;background:none;padding:5px 0;font-size:11px;color:#7e7e7e;display:inline-flex;align-items:center;gap:7px;line-height:1.5}.text-button:hover{color:var(--ink)}.text-button span{font-size:15px}.navigation-wrap{max-width:1116px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);height:76px}.navigation{display:flex;align-items:stretch;height:100%;gap:31px}.nav-item{display:flex;align-items:center;gap:9px;border:0;border-bottom:2px solid transparent;background:none;color:#939393;font-size:12px;font-weight:500;padding:0 2px;position:relative;top:1px}.nav-item svg{width:16px;height:16px}.nav-item.active{border-bottom-color:var(--ink);color:var(--ink)}.nav-short{display:none}.nav-badge{font-size:10px;background:#eee;border-radius:5px;padding:1px 5px;min-width:18px}.rate-button{display:flex;align-items:center;gap:8px;background:#f2f2f0;border:1px solid #e8e8e5;padding:9px 12px;border-radius:8px;font-size:10px;color:#707070}.rate-button strong{font-size:12px;color:var(--ink);font-weight:600}.rate-button svg{width:12px;height:12px;margin-left:4px;color:#666}.rate-dot{height:5px;width:5px;border-radius:50%;background:#303030}main{max-width:1116px;margin:0 auto;min-height:calc(100svh - 280px);padding:44px 0 40px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:30px}.page-heading p{font-size:12px;color:#8a8a8a;margin-top:13px;line-height:1.7}.heading-tag{font-size:10px;color:#a0a09c;padding-bottom:3px;letter-spacing:.3px}.text-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{border:1px solid #e3e3e0;border-radius:var(--radius);background:white;overflow:hidden}.panel-top{min-height:68px;padding:20px 23px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #efefed}.panel-top h2{display:flex;align-items:center;gap:9px}.step-number{font-size:10px;font-weight:400;color:#aaa;letter-spacing:.3px;border:1px solid #e9e9e7;border-radius:5px;padding:4px}.editor-panel{display:flex;flex-direction:column;min-width:0}.editor-panel textarea{width:100%;height:305px;min-height:230px;resize:vertical;border:0;background:transparent;padding:24px;color:#3a3a3a;font-size:13px;line-height:2;outline-offset:-5px}.editor-panel textarea::placeholder{color:#b8b8b4;line-height:2.3}.result-content{position:relative;min-height:305px;display:flex;flex:1}.result-content textarea{flex:1}.empty-result{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:305px;flex:1;padding:30px 10px}.empty-symbol{width:48px;height:48px;border:1px solid #e9e9e7;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#fafafa;color:#9e9e98;margin-bottom:20px}.empty-symbol svg{width:21px;height:21px;stroke-width:1.1}.empty-result h3{font-size:14px;color:#7c7c77}.empty-result p{font-size:11px;color:#acaca6;line-height:1.9;margin-top:10px}.editor-info{padding:12px 24px;display:flex;align-items:center;justify-content:space-between;color:#aaa;font-size:10px;min-height:46px}.editor-info .text-button{font-size:10px}.panel-bottom{padding:17px 22px;border-top:1px solid #efefed}.panel-bottom .button{width:100%;min-height:45px}.panel-bottom .primary{justify-content:space-between;padding:13px 17px}.panel-bottom .secondary{border-color:#e8e8e5}.small-status{font-size:10px;color:#9a9a93;line-height:1.6}.subtle-dot{font-size:6px;color:#bdbdb8}.info-strip{display:flex;align-items:flex-start;gap:10px;padding:21px 1px;font-size:10px;color:#93938d;line-height:1.8}.info-strip svg{width:13px;height:13px;margin-top:2px;color:#9f9f97}.info-strip p{flex:1}.info-strip>span{font-size:9px;color:#b0b0a8;white-space:nowrap}.footer{max-width:1116px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding:20px 0 25px;font-size:9px;color:#a6a6a0}.footer>span:first-child{display:flex;align-items:center;gap:7px;font-weight:500;color:#99998f}.footer-plus{font-size:19px;line-height:1;color:#777}.footer .text-button{font-size:9px}.message{padding:15px 18px;border:1px solid var(--line);border-radius:10px;background:#f5f5f3;font-size:12px;line-height:1.7;margin-top:18px;overflow-wrap:anywhere}.warning{color:#80612b;border-color:#e9dfc9;background:#fffcf4}.error{color:#9b3d35;border-color:#efd8d3;background:#fff8f6}.offline{text-align:center;background:#fff3d7;color:#795317;padding:10px;font-size:12px}.workflow{display:flex;align-items:center;gap:17px;max-width:620px;margin:4px auto 30px;color:#aaa;font-size:11px}.workflow>span{white-space:nowrap;display:flex;align-items:center;gap:8px}.workflow b{border:1px solid #ddd;border-radius:50%;width:23px;height:23px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:400}.workflow .current{color:var(--ink)}.workflow .current b{color:white;background:var(--ink);border-color:var(--ink)}.workflow i{height:1px;flex:1;background:#e2e2df}.upload-panel{padding:24px}.drop-zone{border:1px dashed #d1d1cb;border-radius:12px;min-height:320px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fafaf8;padding:30px;transition:.15s}.drop-zone.dragover{background:#ededeb;border-color:#333}.upload-icon{border:1px solid #deded9;width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:white;border-radius:15px;margin-bottom:22px}.upload-icon svg{width:23px;height:23px;stroke-width:1.3}.drop-zone h2{font-size:18px;letter-spacing:-.5px}.drop-zone p{font-size:12px;color:#999;margin:10px 0 24px}.file-button{cursor:pointer;min-width:175px;justify-content:space-between}.file-types{font-size:10px;color:#a2a299;margin-top:18px;display:flex;gap:12px}.upload-foot{display:flex;align-items:center;justify-content:center;gap:8px;color:#99998f;font-size:10px;padding-top:22px}.upload-foot svg{width:13px;height:13px}.file-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}.file-heading-icon{display:flex;align-items:center;justify-content:center;width:44px;height:50px;border:1px solid var(--line);border-radius:9px;background:white}.file-heading h2{font-size:15px;overflow-wrap:anywhere}.file-heading p{font-size:10px;color:#999;margin-top:5px}.file-heading>.text-button{margin-left:auto;white-space:nowrap}.settings-panel{margin:20px 0}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:23px}.settings-grid label{font-size:11px;color:#777}.settings-grid select{display:block;margin-top:9px;width:100%;min-height:43px;padding:9px 30px 9px 11px;border:1px solid #ddd;border-radius:7px;background:#fff;color:var(--ink);font-size:12px;text-overflow:ellipsis}.precision-note{font-size:10px;color:#9b9b93;padding:0 23px 20px}.check-label{display:flex;align-items:center;gap:9px;margin-top:10px;cursor:pointer}.check-label input,input[type=checkbox]{accent-color:#171717;width:16px;height:16px;flex-shrink:0}.count-pill{padding:3px 7px;font-size:10px;background:#f2f2ef;border-radius:5px;color:#888;font-weight:400;min-width:20px;text-align:center}.preview-help{padding:16px 23px;font-size:11px;color:#999;line-height:1.7}.table-scroll{overflow:auto;max-height:450px}.preview-table{border-collapse:collapse;width:100%;font-size:11px}.preview-table th{text-align:right;background:#fafaf8;color:#888;font-size:10px;font-weight:400;padding:15px 12px;border-block:1px solid #eee;white-space:nowrap;position:sticky;top:0;z-index:1}.preview-table th:nth-child(2){text-align:left}.preview-table td{border-bottom:1px solid #eee;padding:15px 12px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.preview-table td:nth-child(2){text-align:left;white-space:normal;min-width:140px;max-width:350px;line-height:1.65}.preview-table td:nth-child(2) small{display:block;color:#a6a69f;font-size:9px}.preview-table tr.excluded{color:#b3b3ab;background:#fcfcfb}.preview-table tr.selected{background:#fbfbf9}.check-col{width:44px}.preview-actions{padding:20px 23px;display:flex;align-items:center;justify-content:space-between;gap:15px}.preview-actions>div{display:flex;align-items:center;gap:12px}.preview-actions strong{font-size:21px;font-weight:500}.bottom-note{margin-top:25px;text-align:center;font-size:10px;color:#aaa}.document-result{text-align:center;padding:43px 30px;max-width:720px;margin:25px auto}.success-icon{width:54px;height:54px;background:#f2f4ef;border:1px solid #e2e7dc;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 26px;color:#64705b}.success-icon svg{width:24px;height:24px}.document-result h2{font-size:27px;letter-spacing:-.7px;margin-bottom:12px}.document-result>p{color:#999;font-size:12px;overflow-wrap:anywhere}.processed-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:30px 0}.processed-stats>div{padding:22px 8px;background:#fafaf8;border:1px solid #ecece6;border-radius:10px;min-width:0}.processed-stats small{display:block;color:#999;font-size:10px;margin-bottom:10px}.processed-stats strong{font-size:20px;font-weight:500;letter-spacing:-.5px;overflow-wrap:anywhere}.document-result>.button{margin:4px;min-width:200px}.success-note{display:flex;align-items:center;justify-content:center;gap:7px;color:#999;font-size:10px;margin-top:25px}.success-note svg{width:12px;height:12px}.history-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat-card{border:1px solid #e3e3dd;background:white;border-radius:13px;padding:24px;min-height:137px}.stat-card.main-stat{background:var(--ink);color:white;border-color:var(--ink)}.stat-label{font-size:10px;color:#999;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.main-stat .stat-label{color:#aaa}.stat-label svg{width:15px;height:15px}.stat-value{font-size:28px;font-weight:500;letter-spacing:-1px;font-variant-numeric:tabular-nums;line-height:1.5;overflow-wrap:anywhere}.stat-value small{font-size:14px;letter-spacing:0;color:#999;margin-left:5px}.stat-value.multi{font-size:21px}.stat-subtitle{font-size:9px;color:#aaa;margin-top:7px}.history-empty{display:flex;align-items:center;flex-direction:column;text-align:center;padding:50px 20px}.history-empty p{font-size:12px;color:#aaa;line-height:1.9;margin-top:12px}.history-empty .button{margin-top:24px;font-size:11px}.history-empty .empty-symbol{margin-bottom:20px}.history-row{display:grid;grid-template-columns:minmax(190px,2fr) repeat(3,minmax(100px,1fr)) 74px;gap:15px;align-items:center;padding:21px 23px;border-bottom:1px solid #ededeb}.history-row:last-child{border-bottom:0}.history-file{display:flex;align-items:center;gap:12px;min-width:0}.file-chip{height:37px;width:33px;border:1px solid #e6e6e0;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:500;color:#8a8a81;flex-shrink:0}.history-file h3{font-size:11px;line-height:1.6;overflow-wrap:anywhere;font-weight:500}.history-file p{font-size:9px;color:#aaa;margin-top:4px}.history-money{text-align:right;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.6}.history-money small{display:block;font-size:9px;color:#aaa;margin-bottom:5px}.history-money strong{font-weight:500}.history-controls{display:flex;gap:7px;justify-content:flex-end}.history-controls button,.history-controls a{display:flex;align-items:center;justify-content:center;border:1px solid #e6e6e0;border-radius:6px;background:white;width:31px;height:33px}.history-controls svg{width:13px;height:13px}.danger{color:#a77a6e}.login-screen{min-height:100svh;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fafaf8;padding:35px 20px}.login-brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;letter-spacing:-.4px;margin-bottom:30px}.login-brand .brand-plus{width:36px;height:36px;font-size:37px;border-radius:9px}.login-card{width:100%;max-width:420px;border:1px solid #e4e4dd;border-radius:18px;background:white;padding:37px}.login-card h1{font-size:29px;letter-spacing:-1px}.login-card>.muted{font-size:12px;margin-top:12px}.login-card form{margin-top:28px}.login-card label,dialog label{display:block;font-size:11px;font-weight:500;margin-bottom:9px}.login-card input{display:block;width:100%;border:1px solid #deded7;border-radius:8px;height:46px;padding:12px 13px;background:white;font-size:14px;margin-bottom:19px}.login-card input::placeholder{color:#b1b1a9;font-size:12px}.password-field{position:relative}.password-field input{padding-right:80px}.password-field button{position:absolute;right:10px;top:15px;border:0;background:none;font-size:10px;color:#999}.login-submit{width:100%;justify-content:space-between;margin-top:5px}.login-note{border-top:1px solid var(--line);padding-top:22px;margin-top:25px;color:#a0a097;font-size:10px;display:flex;align-items:center;justify-content:center;gap:7px}.login-note svg{width:12px;height:12px}.login-bottom{font-size:10px;color:#afafa5;margin-top:25px}dialog{border:1px solid #e3e3dc;border-radius:20px;width:calc(100% - 36px);max-width:415px;padding:35px;color:var(--ink);box-shadow:0 22px 100px #0002}dialog::backdrop{background:#0005;backdrop-filter:blur(3px)}dialog h2{font-size:25px;letter-spacing:-.8px;line-height:1.25;margin-bottom:14px}dialog p{font-size:12px;line-height:1.8;margin-bottom:20px}.dialog-close{position:absolute;right:16px;top:12px;font-size:24px;border:0;background:none;color:#999;width:32px;height:32px}.dialog-symbol{width:45px;height:45px;border:1px solid #e7e7df;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:25px}.dialog-symbol svg{width:19px;height:19px}.percent-input{display:flex;align-items:center;border:1px solid #d6d6cc;border-radius:10px;padding:12px 18px;gap:15px;margin:9px 0 13px}.percent-input input{border:0;outline:0;width:100%;font-size:40px;letter-spacing:-1px;min-width:0;font-weight:500;background:none}.percent-input span{font-size:26px;color:#aaa}.quick-rates{display:flex;gap:8px;margin-bottom:23px}.quick-rates button{flex:1;border:1px solid #e4e4dd;background:#fafaf8;border-radius:7px;padding:9px;color:#777;font-size:12px}.quick-rates button:hover{border-color:#777;color:#171717}dialog .primary{width:100%;justify-content:space-between}dialog .input-hint{font-size:10px;color:#aaa;margin:15px 0 0}.dialog-actions{display:flex;gap:12px;margin-top:25px}.dialog-actions .button{flex:1;justify-content:center}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#242424;color:white;font-size:12px;padding:14px 22px;border-radius:10px;z-index:10;box-shadow:0 8px 30px #0002;max-width:90%;text-align:center}
@media(min-width:1500px){main{padding-top:55px}.editor-panel textarea,.result-content,.empty-result{min-height:350px}.editor-panel textarea{height:350px}}
@media(max-width:1200px){.header-inner{padding:0 32px}.navigation-wrap,main,.footer{margin-inline:32px}.navigation{gap:25px}.info-strip>span{display:none}}
@media(max-width:900px){h1{font-size:29px}.page-heading p{max-width:510px}.heading-tag{display:none}.navigation{gap:19px}.nav-item{font-size:11px;gap:7px}.rate-button{font-size:9px}.panel-top{padding:18px}.panel-top h2{font-size:13px;gap:6px}.panel-top .text-button{font-size:10px}.editor-panel textarea{padding:20px;font-size:12px}.history-row{grid-template-columns:minmax(140px,1.6fr) repeat(3,minmax(80px,1fr)) 68px;gap:9px;padding:18px}.stat-card{padding:20px}.stat-value{font-size:24px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){:root{background:#fcfcfb}.header{height:78px;padding-top:env(safe-area-inset-top)}.header-inner{padding:0 21px}.brand{font-size:17px;gap:10px}.brand-plus{width:35px;height:35px;font-size:37px;border-radius:9px}.brand-subtitle{font-size:9px;margin-top:4px}.header-actions{gap:12px}.privacy{display:none}.header .icon-button{border:0;color:#8d8d85}.navigation-wrap{height:60px;margin:0 21px;justify-content:flex-end;border-bottom:1px solid #e7e7e1}.rate-button{padding:8px 11px;font-size:10px}.rate-button strong{font-size:12px}.navigation{position:fixed;bottom:0;left:0;right:0;height:calc(66px + env(safe-area-inset-bottom));padding:0 16px env(safe-area-inset-bottom);display:flex;align-items:stretch;justify-content:space-around;gap:8px;background:#fffffff5;backdrop-filter:blur(16px);border-top:1px solid #e7e7e2;z-index:5}.nav-item{flex:1;top:0;flex-direction:column;justify-content:center;gap:6px;font-size:9px;border:0;padding:9px 3px 7px;color:#aaa}.nav-item.active{color:#171717}.nav-item.active::before{content:"";position:absolute;top:0;width:30px;height:2px;background:#171717;border-radius:0 0 3px 3px}.nav-item svg{width:19px;height:19px}.nav-long{display:none}.nav-short{display:inline}.nav-badge{position:absolute;top:9px;left:calc(50% + 14px);font-size:8px;min-width:14px;padding:1px 4px}.page-heading{margin-bottom:23px;gap:10px;align-items:center}.page-heading p{font-size:11px;margin-top:11px;line-height:1.8}.page-heading .eyebrow{font-size:9px;letter-spacing:1.2px;margin-bottom:12px}h1{font-size:27px;letter-spacing:-1px}.page-heading .compact{font-size:10px;padding:9px;min-height:35px;white-space:nowrap}main{margin:0 20px;padding:27px 0 30px;min-height:calc(100svh - 270px)}.text-grid{grid-template-columns:1fr;gap:17px}.panel{border-radius:13px}.panel-top{min-height:62px;padding:17px 18px}.panel-top h2{font-size:13px}.editor-panel textarea{font-size:16px;line-height:1.8;height:220px;min-height:180px;padding:21px 18px}.editor-panel textarea::placeholder{font-size:13px;line-height:2}.result-content,.empty-result{min-height:200px}.empty-result h3{font-size:13px}.empty-result p{font-size:11px}.empty-result{padding:25px 10px}.empty-symbol{width:40px;height:40px;border-radius:11px;margin-bottom:15px}.panel-bottom{padding:15px 17px}.panel-bottom .button{min-height:47px;font-size:12px}.editor-info{padding:8px 18px;min-height:36px;font-size:9px}.info-strip{font-size:10px;padding:18px 0;line-height:1.9;gap:8px}.footer{margin:0 20px 0;padding:20px 0 calc(95px + env(safe-area-inset-bottom));font-size:9px;gap:15px}.footer>span:nth-child(2){display:none}.footer .text-button{font-size:9px}.workflow{gap:10px;font-size:9px;margin-bottom:22px}.workflow b{width:20px;height:20px;font-size:9px}.workflow>span{gap:5px}.upload-panel{padding:13px}.drop-zone{min-height:310px;padding:25px 10px}.drop-zone h2{font-size:17px}.upload-foot{font-size:9px;padding:17px 8px 7px;align-items:flex-start;line-height:1.8}.upload-foot svg{margin-top:1px}.file-heading{gap:10px;align-items:center}.file-heading h2{font-size:12px}.file-heading>.text-button{font-size:9px}.file-heading-icon{width:33px;height:40px;flex-shrink:0}.file-heading p{font-size:9px}.settings-grid{gap:16px 12px;padding:18px}.settings-grid label{font-size:10px}.settings-grid select{font-size:16px;min-height:45px;padding:9px 20px 9px 8px}.precision-note{padding:0 18px 18px;font-size:9px;line-height:1.8}.preview-help{padding:13px 18px;font-size:10px}.preview-table{font-size:11px}.preview-table td,.preview-table th{padding:13px 10px}.preview-table td:nth-child(2){min-width:120px}.preview-table th{font-size:9px}.preview-actions{padding:18px;flex-wrap:wrap}.preview-actions>div{width:100%;justify-content:space-between}.preview-actions .button{width:100%;justify-content:space-between}.document-result{padding:30px 18px}.document-result h2{font-size:25px}.processed-stats{gap:8px;margin:25px 0;grid-template-columns:1fr}.processed-stats>div{padding:15px;display:flex;align-items:center;justify-content:space-between}.processed-stats small{margin:0;font-size:10px}.processed-stats strong{font-size:19px}.document-result>.button{width:100%;margin:5px 0}.success-note{font-size:9px}.history-stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.stat-card{padding:18px;min-height:125px}.stat-card.main-stat{grid-column:1/-1;min-height:136px}.stat-label{font-size:10px;margin-bottom:17px}.stat-value{font-size:25px}.main-stat .stat-value{font-size:31px}.stat-subtitle{font-size:9px}.history-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 7px;padding:20px 18px}.history-file{grid-column:1/3}.history-file h3{font-size:11px}.history-controls{grid-column:3;grid-row:1}.history-money{font-size:12px;text-align:left;min-width:0;overflow-wrap:anywhere}.history-money small{font-size:9px;margin-bottom:6px}.history-empty{padding:38px 15px}.history-empty h3{font-size:14px}.history-empty p{font-size:11px}.toast{bottom:calc(85px + env(safe-area-inset-bottom));width:max-content;font-size:11px;max-width:90%}.login-card{padding:30px 25px}.login-screen{padding:25px 20px}.login-card input{font-size:16px}.login-card h1{font-size:27px}dialog{padding:30px 25px;border-radius:17px}dialog h2{font-size:24px}.percent-input input{font-size:38px}.message{font-size:11px;padding:13px 15px}.login-bottom{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:650px){.quick-rates button{min-height:44px}.history-controls button,.history-controls a{width:40px;height:42px}.page-heading .compact{min-height:42px}.check-col{min-width:44px}.preview-table input[type=checkbox]{width:20px;height:20px}}

.billing-note{font-size:11px;color:#999;margin:-12px 0 24px;line-height:1.7}
