:root{font-family:"Segoe UI",Arial,sans-serif;color:#263b37;background:#f7f8f4;font-size:14px;line-height:1.5;font-synthesis:none;--green:#153e38;--muted:#7b8983;--line:#e5eae4;--accent:#d3e875}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.47}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #9caf52;outline-offset:3px}a{color:inherit;text-decoration:none}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;flex-shrink:0}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{width:230px;flex-shrink:0;background:#153e38;color:#eef6ed;padding:34px 22px 25px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;gap:11px;align-items:center;font-size:20px;font-weight:600;letter-spacing:-.7px}.brand-icon{width:33px;color:var(--accent)}.brand-icon svg{width:33px;height:38px}.brand small{font-size:7px;letter-spacing:1.1px;display:block;margin-top:3px;color:#a9c4b8;font-weight:600}.nav-caption{font-size:9px;font-weight:600;letter-spacing:1.6px;color:#8fb3a8;margin:58px 12px 17px}.nav-item{display:flex;align-items:center;font-size:12px;gap:10px;padding:13px 11px;border-radius:8px;font-weight:500}.nav-item svg{width:19px;height:19px}.nav-item.active{background:#2d5248;color:#f0f5e4}.nav-dot{width:5px;height:5px;background:var(--accent);border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:45px 12px 0}.privacy-icon{color:var(--accent);display:block;margin-bottom:13px}.privacy-icon svg{width:23px;height:23px}.sidebar-bottom strong{font-size:12px;font-weight:500}.sidebar-bottom p{font-size:11px;line-height:1.8;color:#a9c3b7;margin:8px 0 25px}.local-pill{font-size:10px;display:inline-flex;align-items:center;gap:7px;border:1px solid #46645b;border-radius:20px;padding:5px 10px;color:#c3d7cb}.local-pill>span{width:5px;height:5px;background:var(--accent);border-radius:50%}main{margin-left:230px;padding:45px 42px 22px;flex:1;min-width:0;max-width:1760px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow,.section-label{font-size:9px;font-weight:600;letter-spacing:1.65px;color:#7b8c79}.eyebrow{margin-bottom:9px}h1{font-size:33px;letter-spacing:-1.15px;font-weight:600;line-height:1.25;margin:0;color:#153e38}h1>span{color:#9ab748}h2{font-size:19px;font-weight:600;letter-spacing:-.35px;margin:5px 0 0;line-height:1.5}h3{font-size:20px;letter-spacing:-.5px;font-weight:600;color:#26483c}.page-header p{font-size:13px;color:#7a8680;margin:9px 0 0}.button{min-height:41px;border:1px solid transparent;border-radius:7px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:600;font-size:12px;transition:background .15s,transform .15s;white-space:nowrap}.button:active:not(:disabled){transform:translateY(1px)}.button.primary{background:var(--green);color:#fff}.button.primary:hover:not(:disabled){background:#28584b}.button.secondary{border-color:#dbe3da;background:#fff;color:#355649}.button.secondary:hover:not(:disabled){background:#f1f6ec}.page-header .button{margin-top:12px}.page-header .button>span{font-size:20px;line-height:1}.text-button{border:0;background:transparent;color:#52765e;font-size:11px;padding:6px 0}.text-button:hover{text-decoration:underline}.icon-button{background:transparent;border:1px solid #e0e6de;border-radius:7px;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;color:#5b7664;flex-shrink:0}.icon-button:hover{background:#f1f5ed}.steps{margin:35px 0 29px;display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:#f0f3eb;border:1px solid #e7ebe1;border-radius:9px;gap:15px}.step{display:flex;align-items:center;gap:12px}.step-number{width:27px;height:27px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e2e8dc;color:#7d8c76;font-size:11px;font-weight:600}.step.current .step-number{background:#d0e282;color:#33512f}.step strong{font-weight:600;font-size:11px}.step small{display:block;font-size:10px;color:#8b9686;margin-top:2px}.step-arrow{color:#a9b29f;font-size:22px;font-weight:300}.workspace-grid{display:grid;grid-template-columns:minmax(380px,1fr) 322px;gap:23px;align-items:start}.card{background:white;border:1px solid #e4e9df;border-radius:11px;overflow:hidden;box-shadow:0 3px 7px #173e321}.card-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0e9;padding:21px 23px 20px;min-height:97px}.section-label{font-size:8px;letter-spacing:1.7px;color:#8a9783}.count-badge{font-size:10px;vertical-align:middle;min-width:23px;height:21px;display:inline-flex;align-items:center;justify-content:center;margin-left:6px;background:#f0f4eb;border-radius:5px;color:#79916b;font-weight:600}.files-card{min-height:622px;display:flex;flex-direction:column}.empty-state{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px 15px 27px;min-height:475px;flex:1}.empty-illustration{width:150px;height:137px;position:relative;margin:0 auto 6px}.empty-illustration:before{content:"";position:absolute;border-radius:50%;background:#f3f6ed;width:124px;height:124px;top:3px;left:13px}.paper{position:absolute;display:block;width:74px;height:96px;left:43px;top:23px;border:1px solid #c9d9bf;border-radius:7px;background:#fff}.paper.back{transform:rotate(-14deg);background:#e1eacd;left:30px;top:15px}.paper.front{transform:rotate(7deg);box-shadow:0 5px 8px #69814a0a}.paper-check{position:absolute;display:flex;justify-content:center;align-items:center;right:-11px;top:-11px;border-radius:50%;width:30px;height:30px;background:#d5e992;color:#52683d;border:4px solid #f8faf5;font-size:14px}.paper i{position:absolute;height:3px;left:14px;right:14px;top:25px;border-radius:3px;background:#dee6d7}.paper i:nth-of-type(2){top:35px;right:25px}.paper i:nth-of-type(3){top:45px;right:19px}.paper-tag{position:absolute;bottom:12px;left:13px;font-size:8px;font-weight:700;letter-spacing:1px;color:#78915d;background:#f0f5e6;padding:2px 5px;border-radius:3px}.spark{position:absolute;color:#b7ca90}.spark-one{top:5px;right:15px;font-size:21px}.spark-two{font-size:42px;left:8px;bottom:5px}.empty-state h3{margin:11px 0 0}.empty-state p{font-size:12px;line-height:1.9;color:#8a9388;margin:9px 0 20px}.empty-state .secondary{font-size:11px;padding:9px 17px;min-height:38px}.demo-button{margin:10px 0 16px;color:#8b9685;font-size:10px}.formats{display:flex;gap:8px}.formats span{font-size:8px;letter-spacing:.8px;font-weight:600;color:#a2aa9c;border:1px solid #e9ede3;padding:3px 7px;border-radius:4px}.files-footer{border-top:1px solid #eef0e9;display:flex;align-items:center;justify-content:center;gap:7px;padding:16px;color:#98a08f;font-size:10px;margin-top:auto}.files-footer svg{width:14px;height:14px}.settings-symbol{font-family:Georgia,serif;font-size:21px;color:#839775;background:#f0f4e9;padding:5px 8px;border-radius:7px}.settings-content{padding:20px 22px}.field-label{display:block;font-size:11px;font-weight:600;color:#4e6658;margin-bottom:7px}.spaced{margin-top:16px}input[type=text],input[type=date],select,textarea{width:100%;border:1px solid #dce4d7;border-radius:6px;padding:10px 11px;background:#fff;color:#31493d;font-size:11px;min-height:38px}input::placeholder,textarea::placeholder{color:#a2ad9b}select{padding-right:23px}textarea{resize:vertical;line-height:1.7}.name-example{border:1px dashed #dfe7d2;background:#f8faf3;border-radius:6px;padding:13px 12px;margin-top:16px}.example-label{font-size:7px;letter-spacing:1.4px;font-weight:600;color:#8b9a7d;margin-bottom:7px}.name-example>div:nth-child(2){font-family:Consolas,"Courier New",monospace;font-size:10px;line-height:1.8;color:#667c50;overflow-wrap:anywhere}.name-example small{display:block;font-size:9px;color:#9da791;margin-top:6px}.settings-divider{height:1px;background:#edf0e6;margin:22px 0 17px}.output-options{margin:0;border:0;padding:0}.output-options legend{font-size:11px;font-weight:600;color:#4e6658;margin-bottom:11px}.radio-option{display:flex;align-items:flex-start;gap:8px;position:relative;margin:0 0 14px;font-size:11px;cursor:pointer}.radio-option input{margin:3px 0 0}.radio-option strong{font-size:10px;font-weight:600;display:block}.radio-option small{font-size:9px;color:#95a08c;display:block;margin-top:3px}.recommended{font-size:7px;background:#eff5dc;color:#8ba555;border-radius:3px;padding:2px 4px;margin-left:auto;margin-top:1px}input[type=checkbox],input[type=radio]{accent-color:#345b42;width:14px;height:14px;cursor:pointer;flex-shrink:0}.folder-input{display:flex;gap:7px;align-items:center}.folder-input input{min-width:0;flex:1}.folder-input .icon-button{height:38px;width:38px}.folder-input svg{width:18px;height:18px}.preview-action{border-top:1px solid #edf0e9;background:#fcfdfa;padding:19px 22px 15px}.full-width{width:100%;justify-content:space-between}.preview-action p{font-size:9px;line-height:1.7;color:#929d89;text-align:center;margin:10px 0 0;min-height:30px}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:9px;color:#a0a997;margin-top:24px}.page-footer>span:last-child{display:flex;align-items:center;gap:5px}.page-footer svg{width:12px;height:12px}.files-toolbar{display:flex;align-items:center;justify-content:space-between;padding:11px 23px;border-bottom:1px solid #edf0e9;background:#fbfcf9}.check-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#7a8b70;cursor:pointer}.check-label input{margin:0}.danger-text{color:#9f6f58}.file-list{padding:0 21px;max-height:550px;overflow:auto}.file-item{display:flex;align-items:flex-start;gap:11px;border-bottom:1px solid #edf0e7;padding:19px 0}.file-item:last-child{border-bottom:0}.file-item>input{margin-top:10px}.file-icon{display:flex;align-items:center;justify-content:center;width:36px;height:42px;flex-shrink:0;border:1px solid #dbe5d1;border-radius:6px;background:#f5f8ef;font-size:8px;font-weight:700;color:#8a9b75;letter-spacing:.5px}.file-details{min-width:0;flex:1}.file-name{display:block;border:0;text-align:left;padding:0;background:transparent;font-size:12px;font-weight:600;color:#3b5847;overflow-wrap:anywhere;line-height:1.5}.file-name:hover{text-decoration:underline}.file-meta{color:#929d8b;font-size:10px;margin-top:4px;overflow-wrap:anywhere}.file-status-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:9px}.status-pill{display:inline-flex;align-items:center;gap:4px;border-radius:4px;font-size:9px;padding:3px 6px;background:#f6f2e8;color:#9c8b5d}.status-pill.reviewed{background:#eaf3e4;color:#5c7c47}.status-pill.reading{background:#eef3f5;color:#658293}.file-review{border:0;padding:2px 0;background:transparent;color:#426851;font-size:10px;font-weight:600}.file-review:hover{text-decoration:underline}.token-chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.token-chips button{border:1px solid #dfe6d6;background:#f7faf2;border-radius:4px;font-size:9px;color:#6d835a;padding:4px 7px}.field-help{font-size:10px;color:#8b9b82;line-height:1.7;margin:7px 0 0}.save-template{font-size:10px;margin-top:8px}.toast-container{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:1000;width:min(90vw,510px);display:flex;flex-direction:column;gap:8px;pointer-events:none}.toast{border-radius:8px;background:#254e40;color:#fff;padding:13px 18px;box-shadow:0 8px 30px #14392c30;font-size:12px}.toast.error{background:#874c3c}.connection-banner{position:fixed;bottom:0;left:0;right:0;background:#854e3c;color:#fff;padding:12px 25px;text-align:center;font-size:12px;z-index:1001}dialog{border:1px solid #e2e8db;padding:0;border-radius:13px;color:#304b3b;box-shadow:0 24px 90px #102b3d30;width:calc(100vw - 64px);max-height:calc(100vh - 60px);background:#fff}dialog::backdrop{background:#0c231a88;backdrop-filter:blur(3px)}.review-dialog{max-width:1080px}.preview-dialog{max-width:990px}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 27px;border-bottom:1px solid #e9ede3}.dialog-header h2{font-size:24px;margin-top:5px}.dialog-header p{font-size:11px;color:#8c9784;margin:5px 0 0;overflow-wrap:anywhere}.close-dialog{font-size:24px;line-height:1;border:0;width:28px;height:28px}.review-body{display:grid;grid-template-columns:1.1fr 1fr;min-height:450px}.document-preview{background:#f0f2ec;min-height:460px;padding:15px;display:flex;justify-content:center;align-items:center;overflow:auto}.document-preview iframe{width:100%;height:100%;min-height:495px;border:0;background:#fff}.document-preview img{display:block;max-width:100%;max-height:600px;object-fit:contain}.review-fields{padding:22px 25px;min-width:0}.notice{background:#f1f6e9;border:1px solid #e2ead6;color:#718661;border-radius:6px;padding:11px 12px;font-size:11px;line-height:1.7;margin-bottom:17px}.warning{background:#fbf4e7;border:1px solid #f0e3c7;color:#99804c;border-radius:5px;padding:9px 11px;font-size:10px;margin-bottom:12px;overflow-wrap:anywhere}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.review-fields input[type=text],.review-fields input[type=date]{font-size:12px}.review-confirmation,.rename-confirmation{display:flex;align-items:center;gap:9px;border-radius:6px;padding:13px 11px;background:#eef5e6;border:1px solid #dce8cf;margin-top:19px;font-size:11px;font-weight:600;color:#53723e;cursor:pointer}.review-confirmation input,.rename-confirmation input{margin:0}.extracted-text{margin-top:17px;font-size:10px;color:#8e9a84}.extracted-text summary{cursor:pointer}.extracted-text pre{max-height:200px;overflow:auto;white-space:pre-wrap;font-family:Consolas,monospace;font-size:10px;background:#f6f8f2;padding:10px;border-radius:5px;color:#6e7f61}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 25px;border-top:1px solid #e9eee1;background:#fafcf6}.dialog-footer>span{font-size:11px;color:#88967c}.dialog-footer>div{display:flex;gap:9px}.preview-body{padding:22px 25px;max-height:65vh;overflow:auto}.preview-summary{padding:11px 13px;background:#f5f8ef;border:1px solid #e8eddd;border-radius:6px;font-size:11px;color:#7e8f6c;margin-bottom:18px;overflow-wrap:anywhere}.preview-summary strong{display:block;color:#49643a;font-size:12px;margin-bottom:3px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed;font-size:11px}th{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#8d9b81;font-weight:600;padding:11px 13px;border-bottom:1px solid #e7eddd}th:nth-child(2),td:nth-child(2){width:30px;padding:10px 0;text-align:center;color:#9da88e}td{padding:14px 13px;border-bottom:1px solid #eaf0e1;overflow-wrap:anywhere;color:#879478;vertical-align:top}td:last-child{color:#45653c}td .result-error{color:#a8674a;font-size:10px;margin-top:5px}.result-mark{font-size:9px;padding:3px 5px;display:inline-block;background:#eaf4e1;color:#638249;margin-top:5px;border-radius:3px}.result-mark.error{background:#f7ece3;color:#a8674a}.rename-confirmation{background:#fbf5e9;border-color:#ebdfc5;color:#93794e}.reading-indicator{display:inline-block;width:9px;height:9px;border:1.5px solid #aebec0;border-top-color:#577e80;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1550px){main{padding:49px 56px 28px}.workspace-grid{grid-template-columns:minmax(500px,1fr) 365px}.settings-content{padding:24px 26px}.files-card{min-height:645px}.empty-state{min-height:498px}.page-header h1{font-size:38px}.step strong{font-size:12px}.step small{font-size:11px}.steps{padding:23px 30px}.sidebar{width:244px}main{margin-left:244px}}@media(max-width:1190px){.sidebar{width:192px;padding:29px 15px 22px}.brand{font-size:17px;gap:8px}.brand small{font-size:6px}.brand-icon svg{width:29px}.nav-item{font-size:11px;gap:7px}.nav-caption{font-size:8px;letter-spacing:1.3px}.sidebar-bottom{padding-left:9px;padding-right:9px}main{margin-left:192px;padding:34px 26px 20px}.page-header h1{font-size:29px}.eyebrow{font-size:8px;letter-spacing:1.1px}.page-header p{font-size:11px}.page-header .button{font-size:11px;padding:10px 12px}.workspace-grid{grid-template-columns:minmax(325px,1fr) 292px;gap:18px}.steps{padding:17px 18px;gap:8px;margin-top:29px}.step{gap:8px}.step strong{font-size:10px}.step small{font-size:9px}.step-number{width:24px;height:24px}.card-header{padding:20px 19px}.settings-content{padding:18px}.preview-action{padding:18px}.recommended{font-size:6px}.radio-option{gap:6px}.sidebar-bottom strong{font-size:11px}.sidebar-bottom p{font-size:10px}.files-card{min-height:605px}.empty-state{min-height:459px}.file-list{padding:0 16px}}@media(max-width:980px){.sidebar{width:168px;padding:27px 12px}.brand{font-size:15px}.brand-icon svg{width:25px}.brand small{font-size:5px;letter-spacing:1px}.nav-item{font-size:10px;padding:11px 8px}.nav-dot{display:none}.nav-caption{font-size:7px;letter-spacing:1px;margin-left:8px}main{margin-left:168px;padding:29px 22px}.page-header{align-items:flex-start}.page-header h1{font-size:27px}.page-header .button{font-size:10px;padding:9px;gap:4px}.eyebrow{font-size:7px}.workspace-grid{grid-template-columns:minmax(290px,1fr) 270px;gap:15px}.steps{gap:7px;padding:15px 12px}.step strong{font-size:9px}.step small{font-size:8px}.step{gap:6px}.step-number{width:22px;height:22px}.step-arrow{font-size:16px}.settings-content{padding:16px}.card-header{padding:18px 16px}h2{font-size:17px}.radio-option strong{font-size:9px}.recommended{display:none}.full-width{font-size:10px}.empty-state h3{font-size:18px}.empty-state p{font-size:11px}.review-body{grid-template-columns:1fr 1fr}.review-fields{padding:18px}.document-preview{padding:10px}.page-footer{font-size:8px}}@media(max-width:820px){.sidebar{width:70px;padding:25px 13px;align-items:center}.brand>span:last-child,.nav-caption,.nav-item,.sidebar-bottom{display:none}.brand-icon svg{width:31px;height:35px}main{margin-left:70px;padding:26px 20px}.workspace-grid{grid-template-columns:minmax(290px,1fr) 270px}.page-header h1{font-size:25px}.steps{padding:14px 12px}.step small{display:none}.step strong{font-size:9px}.page-header p{font-size:10px}}@media(max-width:700px){.sidebar{position:static;width:100%;height:65px;align-items:flex-start;padding:15px 20px}.brand>span:last-child{display:block;font-size:18px}.brand small{display:none}.brand-icon svg{width:28px;height:30px}.app-shell{display:block}main{margin-left:0;padding:24px 16px}.page-header{flex-wrap:wrap;gap:12px}.page-header h1{font-size:27px}.eyebrow{font-size:7px}.page-header .button{margin-top:0;padding:9px 12px;font-size:11px}.page-header p{font-size:11px}.workspace-grid{grid-template-columns:1fr;gap:18px}.steps{margin:22px 0 20px;justify-content:center;gap:8px}.step{flex:1;align-items:flex-start}.step strong{font-size:8px;display:block;line-height:1.4}.step-arrow{display:none}.step-number{width:20px;height:20px;font-size:9px}.files-card{min-height:490px}.empty-state{min-height:345px;padding:20px 10px}.empty-illustration{transform:scale(.8);height:114px}.empty-state h3{margin-top:5px}.empty-state p{margin-bottom:14px}.recommended{display:block;font-size:8px}.radio-option strong{font-size:12px}.radio-option small{font-size:10px}.radio-option{gap:8px}.settings-content{padding:20px}.preview-action{padding:20px}.full-width{font-size:12px}.card-header{padding:20px}h2{font-size:20px}.field-label{font-size:12px}input[type=text],select,textarea{font-size:12px}.page-footer>span:first-child{display:none}.page-footer{justify-content:center;font-size:9px}.review-body{grid-template-columns:1fr}.document-preview{min-height:280px;max-height:380px}.document-preview iframe{min-height:320px}.document-preview img{max-height:340px}.review-fields{padding:20px}.dialog-header{padding:19px}.dialog-header h2{font-size:21px}dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.dialog-footer{padding:15px;flex-wrap:wrap}.dialog-footer>div{margin-left:auto}.dialog-footer .button{font-size:10px;padding:9px 12px}.preview-body{padding:17px}.dialog-footer>span{font-size:10px}th,td{padding-left:7px;padding-right:7px}.file-list{max-height:440px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Comfortable reading sizes for everyday financial work. */
.eyebrow,.section-label{font-size:10px;letter-spacing:1.3px}
.sidebar{width:235px}main{margin-left:235px}
.brand{font-size:20px}.brand small{font-size:8px}.nav-caption{font-size:10px;letter-spacing:1px}.nav-item{font-size:13px}.sidebar-bottom strong{font-size:13px}.sidebar-bottom p{font-size:12px}.local-pill{font-size:11px}
.page-header p{font-size:14px}.button,.page-header .button{font-size:13px;min-height:43px}.text-button{font-size:12px}.step strong{font-size:12px}.step small{font-size:11px}.step-number{font-size:12px}
h2{font-size:21px}.count-badge{font-size:12px}.empty-state h3{font-size:23px}.empty-state p{font-size:14px}.empty-state .secondary{font-size:13px}.demo-button{font-size:12px}.formats span{font-size:10px}
.workspace-grid{grid-template-columns:minmax(365px,1fr) 340px}.field-label,.output-options legend{font-size:13px}input[type=text],input[type=date],select,textarea{font-size:14px;min-height:43px}.name-example>div:nth-child(2){font-size:12px}.example-label{font-size:9px}.name-example small{font-size:11px}.radio-option strong{font-size:12px}.radio-option small{font-size:11px}.recommended{display:none}.preview-action p{font-size:12px}.files-footer{font-size:12px}.page-footer{font-size:11px;flex-wrap:wrap}.page-footer .text-button{font-size:11px}.folder-input .icon-button{height:43px;width:43px}
.file-name{font-size:14px}.file-meta{font-size:12px}.status-pill{font-size:11px}.file-review{font-size:12px}.file-icon{font-size:10px}.check-label{font-size:12px}.field-help,.token-chips button,.save-template{font-size:12px}.token-chips button{padding:5px 9px}.dialog-header p{font-size:13px}.notice{font-size:13px}.warning{font-size:12px}.review-fields input[type=text],.review-fields input[type=date]{font-size:14px}.review-confirmation,.rename-confirmation{font-size:13px}.extracted-text{font-size:12px}.extracted-text pre{font-size:12px}.dialog-footer>span{font-size:12px}.preview-summary{font-size:13px}.preview-summary strong{font-size:14px}table{font-size:13px}th{font-size:11px}.result-mark{font-size:11px}td .result-error{font-size:12px}.toast,.connection-banner{font-size:14px}.empty-state{min-height:490px}.files-card{min-height:650px}.preview-action .full-width{font-size:13px}.review-fields{padding:24px}
@media(max-width:1280px){.sidebar{width:205px;padding-left:16px;padding-right:16px}main{margin-left:205px;padding:32px 25px}.brand{font-size:17px;gap:8px}.brand small{font-size:6px}.nav-item{font-size:12px}.page-header h1{font-size:29px}.workspace-grid{grid-template-columns:minmax(335px,1fr) 315px;gap:18px}.steps{padding:19px 17px}.step{gap:8px}.step strong{font-size:11px}.step small{font-size:10px}.page-header p{font-size:13px}.settings-content{padding:19px}.card-header{padding:21px 19px}.section-label{font-size:9px}.radio-option strong{font-size:12px}.radio-option small{font-size:11px}.empty-state p{font-size:13px}.empty-state h3{font-size:22px}.demo-button{font-size:11px}.page-footer{font-size:10px}}
@media(max-width:1080px){.sidebar{width:185px;padding-left:13px;padding-right:13px}main{margin-left:185px;padding:28px 21px}.brand{font-size:16px}.brand-icon svg{width:25px}.nav-item{font-size:11px}.page-header{flex-wrap:wrap;gap:15px}.page-header .button{margin-top:0}.workspace-grid{grid-template-columns:minmax(320px,1fr) 300px;gap:16px}.step small{display:none}.step strong{font-size:11px}.steps{gap:10px}.step-number{width:24px;height:24px}.page-header h1{font-size:30px}.files-footer{font-size:11px}.file-list{padding:0 16px}.settings-content{padding:17px}.radio-option strong{font-size:12px}.radio-option small{font-size:11px}.page-footer>span:first-child{display:none}}
@media(max-width:940px){.sidebar{width:74px;padding:26px 17px;align-items:center}.brand>span:last-child,.nav-caption,.nav-item,.sidebar-bottom{display:none}.brand-icon svg{width:32px;height:35px}main{margin-left:74px;padding:28px 20px}.workspace-grid{grid-template-columns:minmax(325px,1fr) 300px}.page-header p{font-size:13px}.eyebrow{font-size:9px}.review-fields{padding:20px}.review-body{grid-template-columns:1fr 1fr}.page-footer{font-size:11px}}
@media(max-width:790px){.sidebar{position:static;width:100%;height:67px;padding:16px 21px;align-items:flex-start}.brand>span:last-child{display:block;font-size:19px}.brand small{display:none}.app-shell{display:block}main{margin-left:0;padding:25px 20px}.workspace-grid{grid-template-columns:1fr}.page-header h1{font-size:31px}.page-header p{font-size:14px}.page-header .button{font-size:13px}.steps{margin:24px 0}.step strong{font-size:12px}.step{flex:1;align-items:center}.files-card{min-height:570px}.empty-state{min-height:415px}.empty-state h3{font-size:24px}.empty-state p{font-size:14px}.demo-button{font-size:12px}.settings-content{padding:23px}.card-header{padding:22px}.section-label{font-size:10px}.radio-option strong{font-size:14px}.radio-option small{font-size:12px}.recommended{display:block;font-size:10px}.radio-option{gap:10px}.field-label,.output-options legend{font-size:14px}.name-example>div:nth-child(2){font-size:14px}.preview-action{padding:22px}.page-footer{justify-content:space-between}.page-footer>span:last-of-type{font-size:11px}.review-body{grid-template-columns:1fr}.document-preview{min-height:320px;max-height:380px}.document-preview iframe{min-height:340px}.document-preview img{max-height:340px}.review-fields{padding:22px}.dialog-header{padding:20px}.dialog-header h2{font-size:24px}.dialog-footer .button{font-size:12px}.dialog-footer>span{font-size:12px}.preview-body{padding:20px}dialog{width:calc(100vw - 24px);max-height:calc(100vh - 24px)}}
@media(max-width:470px){main{padding:23px 15px}.page-header h1{font-size:29px}.page-header p{font-size:13px}.eyebrow{font-size:8px}.steps{padding:15px 11px;gap:10px}.step{align-items:flex-start;gap:6px}.step strong{font-size:10px}.step-number{width:21px;height:21px;font-size:11px}.page-footer{justify-content:center;gap:8px}.file-name{font-size:13px}.file-meta{font-size:12px}.empty-state h3{font-size:22px}.files-footer{font-size:11px}.dialog-footer>div{flex-wrap:wrap}.dialog-header h2{font-size:23px}.dialog-header p{font-size:12px}table{font-size:12px}th{font-size:10px}}
/* PDF pages are rendered locally as images, independent of the browser PDF viewer. */
.document-preview.pdf-preview{display:block;min-width:0;align-self:stretch}
.pdf-reader{display:flex;flex-direction:column;gap:12px;width:100%;min-width:0}
.pdf-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}
.pdf-navigation .button{font-size:12px;min-height:36px;padding:7px 10px}
.pdf-page-label{font-size:12px;font-weight:600;color:#617554;text-align:center}
.pdf-page-viewport{width:100%;min-height:400px;max-height:65vh;overflow:auto;background:#e5e9e0;border:1px solid #dce3d5;border-radius:5px}
.document-preview img.pdf-page-image{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain;background:#fff}
.pdf-loading{display:flex;align-items:center;justify-content:center;gap:9px;padding:35px 20px;font-size:13px;color:#7b8a6c;text-align:center}
.pdf-preview-error{margin:20px;background:#fff9ed;border:1px solid #eadfc4;border-radius:7px;padding:20px;color:#8d754a;font-size:13px;line-height:1.7}
.pdf-preview-error strong{font-size:15px}.pdf-preview-error p{margin:10px 0 0;overflow-wrap:anywhere}
@media(max-width:790px){.document-preview.pdf-preview{min-height:320px;max-height:none;padding:14px}.pdf-page-viewport{min-height:280px;max-height:420px}.pdf-page-label{font-size:13px}.pdf-navigation .button{font-size:13px}}

/* The batch is the main workspace: edit data without opening every document. */
main{max-width:none;padding-left:32px;padding-right:32px}
.workspace-grid{grid-template-columns:minmax(0,1fr);gap:24px}
.files-card{min-height:0}
.empty-state{min-height:390px}
.batch-guidance{padding:17px 23px;border-bottom:1px solid var(--line);background:#fcfdf9;font-size:13px;color:#526b5d}
.batch-guidance p{margin:0 0 8px}.batch-guidance p:last-child{margin-bottom:0}
.batch-guidance details{margin:6px 0 8px}.batch-guidance summary{cursor:pointer;display:list-item;width:fit-content;color:#315f4e;font-weight:600}.batch-guidance details p{max-width:860px;margin-top:8px}
.file-list{padding:0;max-height:650px;overflow:auto;scrollbar-gutter:stable}
.batch-table{min-width:1040px;table-layout:fixed;font-size:14px}
.batch-table th{position:sticky;top:0;z-index:1;background:#f5f8f0;font-size:12px;letter-spacing:0;text-transform:none;color:#526e5c;padding:12px 10px;border-bottom:1px solid #dce5d5}
.batch-table td{padding:17px 10px;text-align:left;color:#3d5949;vertical-align:top;border-bottom:1px solid #e6ecdf}
.batch-table .selection-cell{width:40px;text-align:center;padding-left:12px;padding-right:5px}
.batch-table td.selection-cell input{margin-top:12px}
.batch-table .document-cell{width:20%;text-align:left;padding:17px 10px}
.batch-table th.document-cell{padding-top:12px;padding-bottom:12px}
.batch-table .date-cell{width:158px}
.batch-table .supplier-cell{width:24%}
.batch-table .amount-cell{width:116px}
.batch-table .filename-cell{width:auto;padding-right:18px}
.batch-table input[type=text],.batch-table input[type=date]{width:100%;min-width:0;background:#fff;color:#254e3e;padding:9px 8px;font-size:14px;border:1px solid #d8e2d1;border-radius:6px;min-height:43px}
.batch-table input[aria-invalid=true]{border-color:#c58d42;background:#fffbf1}
.batch-table .file-name{font-size:13px;font-weight:600;line-height:1.55;display:block;overflow-wrap:anywhere;cursor:default}
.batch-table .file-name:hover{text-decoration:none}
.document-type{display:block;color:#7d8d72;font-size:12px;margin:6px 0 3px}
.batch-table .file-review{display:block;font-size:12px;padding:4px 0;color:#315f4b}
.date-basis{display:block;font-size:11px;color:#667d59;margin-top:8px;line-height:1.55}
.supplier-hint{display:block;font-size:11px;color:#7e8f72;line-height:1.55;margin-top:8px;overflow-wrap:anywhere}
.supplier-hint:empty{display:none}
.field-basis{display:block;font-size:11px;color:#667d59;line-height:1.55;margin-top:8px}.field-basis:empty{display:none}
.example-kind{display:block;font-size:9px;letter-spacing:.6px;color:#7b8f68;margin-top:14px;margin-bottom:4px}
#name-example-nf{font-size:15px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
#review-invoice-number{margin-bottom:18px}
.review-type-control{margin-bottom:18px}
.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px;background:#f1f4eb}
.login-card{width:100%;max-width:475px;padding:38px}
.login-card h1{font-size:32px;margin-top:12px}.login-card>p{color:#7a8b72;font-size:14px}
.login-card input[type=password]{display:block;width:100%;min-height:43px;padding:10px 12px;border:1px solid #dce5d4;border-radius:6px;font-size:14px;background:#fff;color:#264c3c}
.login-submit{margin-top:25px;justify-content:center}.login-card #login-status{min-height:20px;color:#946e43}
.header-actions{display:flex;align-items:center;gap:18px}.header-actions .button{margin-top:0}
.web-privacy{margin-top:0;margin-bottom:24px;font-size:13px;color:#5b7650}
.toolbar-actions{display:flex;align-items:center;gap:18px}
.files-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
#limits-label{font-size:11px;color:#849475}.empty-state .formats{margin-top:20px}
.review-fields #open-original{display:inline-block;margin-bottom:16px;font-size:13px}
.document-preview iframe{display:block;width:100%;height:620px;border:0;background:#fff}
.name-example>div{overflow-wrap:anywhere}.name-example .example-kind+div{font-size:15px;font-weight:600;line-height:1.6}
.preview-dialog a.button{cursor:pointer;text-decoration:none}
@media(max-width:600px){.login-card{padding:28px 22px}.login-card h1{font-size:29px}.toolbar-actions{gap:12px;flex-wrap:wrap;justify-content:flex-end}.files-toolbar{gap:12px}.files-toolbar .text-button{font-size:11px}.document-preview iframe{height:340px;min-height:320px}.header-actions{width:100%;justify-content:space-between}.web-privacy{font-size:12px}}
.predicted-name{display:block;font-size:13px;line-height:1.65;font-weight:600;overflow-wrap:anywhere;margin:0 0 10px;color:#33583f}
.batch-table .status-pill{font-size:11px;line-height:1.5}
.batch-table .needs-data .predicted-name{color:#8c784e;font-weight:400}
.batch-table .unselected{background:#fafbf7}
.save-state{display:block;margin-top:6px;font-size:11px;line-height:1.5;color:#9a7544;overflow-wrap:anywhere}.save-state:empty{display:none}
.row-warnings{margin:8px 0 0;font-size:11px;color:#94733f;line-height:1.6;overflow-wrap:anywhere}.row-warnings summary{cursor:pointer}.row-warnings p{margin:6px 0}
.files-footer{justify-content:flex-start;padding:16px 23px;font-size:12px;color:#788a6c}
.naming-card .settings-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;padding:24px}
.output-controls{border-left:1px solid #e7ecdf;padding-left:34px}
.naming-card .radio-option strong{font-size:13px}.naming-card .radio-option small{font-size:12px}
.naming-card .name-example>div:nth-child(2){font-size:15px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
.naming-card .preview-action{display:flex;align-items:center;justify-content:flex-end;gap:22px;padding:20px 24px}
.naming-card .preview-action .button{width:auto;min-width:265px;order:2}
.naming-card .preview-action p{margin:0;text-align:left;min-height:0;max-width:570px;color:#76876b}
.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}
@media(min-width:1650px){.batch-table .document-cell{width:22%}.batch-table .supplier-cell{width:24%}.batch-table .date-cell{width:175px}.batch-table .amount-cell{width:145px}}
@media(max-width:1080px){main{padding-left:22px;padding-right:22px}.naming-card .settings-content{gap:24px}.output-controls{padding-left:24px}.steps .step{flex:1}.step strong{font-size:12px}}
@media(max-width:790px){main{padding:25px 20px}.batch-guidance{padding:16px 20px}.naming-card .settings-content{grid-template-columns:1fr;gap:22px;padding:22px}.output-controls{border-left:0;border-top:1px solid #e7ecdf;padding:22px 0 0}.naming-card .preview-action{flex-direction:column;align-items:stretch;gap:12px}.naming-card .preview-action .button{width:100%;order:0}.naming-card .preview-action p{text-align:center}.files-footer{padding:15px 20px}}
@media(max-width:600px){
  .file-list{max-height:780px;padding:0 16px}.batch-table{display:block;min-width:0;table-layout:auto}.batch-table thead{display:none}.batch-table tbody{display:block}.batch-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px 12px;padding:20px 0;border-bottom:1px solid #e3eadb;position:relative}
  .batch-table td{display:block;border:0;padding:0!important;width:auto!important;min-width:0}.batch-table td[data-label]::before{content:attr(data-label);display:block;font-size:12px;font-weight:600;color:#708364;margin-bottom:7px}.batch-table .selection-cell{position:absolute;right:0;top:19px}.batch-table td.selection-cell input{margin:0}.batch-table .document-cell{grid-column:1/-1;padding-right:30px!important}.batch-table .document-cell::before{display:none!important}.batch-table .supplier-cell{grid-column:1/-1;grid-row:3}.batch-table .date-cell{grid-column:1;grid-row:2}.batch-table .amount-cell{grid-column:2;grid-row:2}.batch-table .filename-cell{grid-column:1/-1;background:#f5f8ef;padding:12px!important;border-radius:7px}.batch-table .file-name{font-size:14px}.predicted-name{font-size:14px}.batch-table input[type=text],.batch-table input[type=date]{font-size:15px}.batch-table .file-review{font-size:13px}.step strong{font-size:11px}.files-footer{align-items:flex-start}
}
