@font-face{font-family:Cabinet;src:local("Segoe UI");font-display:swap}
:root{--navy:#173b52;--deep:#112d40;--orange:#d87708;--orange-hover:#bb6200;--blue:#25799a;--ink:#182c3a;--muted:#647887;--line:#dce5eb;--page:#f3f6f8;--white:#fff;--green:#267556;--red:#b14338;--radius:10px;font-family:Cabinet,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;background:var(--page)}
*{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}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #53a7ca;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:29px;line-height:1.25;letter-spacing:-.6px;margin-bottom:8px}h2{font-size:20px;line-height:1.3;margin-bottom:8px}h3{font-size:15px;line-height:1.4;margin-bottom:7px}.muted{color:var(--muted);line-height:1.6}.boot{padding:60px;text-align:center}.brand{display:flex;gap:10px;align-items:center;color:white}.brand-monogram{font-size:34px;font-weight:900;letter-spacing:-5px;line-height:1;padding-right:5px}.brand-name{font-size:12px;font-weight:800;letter-spacing:1.2px}.brand-kicker{font-size:9px;font-weight:400;letter-spacing:.4px;color:#b3cbd9;display:block;margin-bottom:3px}.sidebar{background:var(--navy);width:232px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 18px 20px;color:white;z-index:20}.sidebar .brand{padding:0 9px 32px}.workspace-label{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:#97b2c1;padding:0 13px;margin:12px 0}.nav-item{width:100%;border:0;background:transparent;color:#c7d8e2;padding:13px;display:flex;gap:12px;align-items:center;border-radius:7px;font-weight:600;text-align:left;margin-bottom:5px}.nav-item.active{background:#2c5168;color:white;box-shadow:inset 3px 0 0 var(--orange)}.nav-item:hover{background:#24485f}.nav-item svg{width:19px;height:19px}.sidebar-bottom{margin-top:auto;border-top:1px solid #36566b;padding:18px 10px 0}.sidebar-bottom p{font-size:12px;line-height:1.6;color:#b8ccd9;margin-bottom:12px}.city-pin{display:flex;align-items:center;gap:7px;font-weight:600;font-size:12px}.city-pin svg{width:16px;height:16px;color:#ef982f}.main{margin-left:232px;min-height:100vh}.topbar{height:76px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 38px}.topbar-title{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:11px}.topbar-title strong{color:var(--ink);font-weight:600}.topbar-title .separator{color:#b7c5ce}.user-menu{display:flex;align-items:center;gap:12px}.avatar{background:#edf3f6;color:var(--navy);width:33px;height:33px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700}.user-name{font-size:12px;font-weight:600}.logout{background:none;border:0;color:var(--muted);display:flex;align-items:center;padding:7px}.logout svg{width:18px;height:18px}.content{padding:32px 38px 45px;max-width:1680px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:1.7px;text-transform:uppercase;color:var(--blue);font-weight:700;margin-bottom:10px}.page-heading p{margin-bottom:0}.button{border:1px solid transparent;border-radius:6px;min-height:42px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:13px;line-height:1.3;white-space:nowrap}.button svg{width:17px;height:17px}.button.primary{background:var(--orange);color:white}.button.primary:hover{background:var(--orange-hover);text-decoration:none}.button.secondary{background:white;color:var(--ink);border-color:#cbd9e2}.button.secondary:hover{background:#f5f8fa;text-decoration:none}.button.ghost{color:var(--blue);background:transparent;padding:8px 0;min-height:34px}.button.small{min-height:34px;padding:7px 11px;font-size:12px}.icon-button{background:transparent;border:0;font-size:25px;color:var(--muted);min-width:36px;min-height:36px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:25px}.metric{padding:22px 24px;display:flex;align-items:center;gap:15px}.metric+.metric{border-left:1px solid var(--line)}.metric-icon{width:43px;height:43px;display:grid;place-items:center;background:#edf4f8;border-radius:8px;color:var(--blue)}.metric-icon svg{width:21px;height:21px}.metric-icon.orange{color:#aa620b;background:#fff4e5}.metric-icon.green{color:var(--green);background:#edf7f1}.metric strong{font-size:27px;display:block;line-height:1.2}.metric span{display:block;font-size:12px;color:var(--muted);margin-top:5px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-head{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-head h2{font-size:16px;margin:0}.tools{display:flex;gap:10px;align-items:center}.search{position:relative}.search svg{position:absolute;left:12px;top:12px;width:16px;height:16px;color:var(--muted)}.search input{padding-left:36px;width:260px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}thead{background:#fafcfd}th{font-size:10px;font-weight:700;letter-spacing:.8px;color:#718391;text-transform:uppercase;padding:14px 22px;border-bottom:1px solid var(--line)}td{padding:18px 22px;border-bottom:1px solid #ecf0f3;font-size:13px}tbody tr:last-child td{border-bottom:0}.row-button{border:0;background:none;text-align:left;padding:0;color:var(--ink);font-weight:600;font-size:13px}.row-button:hover{color:var(--blue)}.row-sub{display:block;color:var(--muted);font-size:11px;margin-top:6px}.status{display:inline-flex;align-items:center;gap:6px;border-radius:4px;font-size:11px;font-weight:600;padding:5px 9px;white-space:nowrap;background:#edf2f6;color:#607586}.status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status.ready{background:#eaf5ef;color:var(--green)}.status.review{background:#fff3e1;color:#9a650f}.status.draft{background:#edf2f6;color:#607586}.empty{padding:46px 20px 50px;text-align:center}.empty-symbol{width:64px;height:64px;border:1px solid #d7e4ec;background:#f5f9fc;border-radius:14px;margin:0 auto 18px;display:grid;place-items:center;color:var(--blue)}.empty-symbol svg{width:29px;height:29px}.empty p{max-width:420px;margin:0 auto 20px;font-size:13px;color:var(--muted);line-height:1.6}.empty h3{font-size:17px}.hint-strip{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-radius:8px;background:#eaf2f7;color:#456779;font-size:12px;line-height:1.6;margin-top:20px}.hint-strip svg{width:19px;height:19px;flex:none;margin-top:1px}.hint-strip p{margin:0}.hint-strip.warning{background:#fff4e5;color:#916122}.hint-strip.error{background:#fff0ed;color:var(--red)}.mobile-menu{display:none;background:none;border:0;color:var(--navy)}.back{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;margin-bottom:15px;background:none;border:0;padding:0}.back svg{width:16px;height:16px}.editor-heading{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:21px}.editor-heading h1{font-size:25px}.editor-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.save-state{color:var(--muted);font-size:11px}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:24px;overflow:auto}.tab{border:0;border-bottom:3px solid transparent;background:none;padding:14px 0;color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap}.tab.active{color:var(--navy);border-bottom-color:var(--orange)}.tab-count{margin-left:5px;background:#e9eef2;padding:2px 6px;border-radius:4px;font-size:10px}.editor-grid{display:grid;grid-template-columns:minmax(280px,1fr) minmax(300px,1fr);gap:24px;align-items:start}.section-body{padding:22px}.field{display:flex;flex-direction:column;gap:7px;color:#42596a;font-weight:600;font-size:12px;margin-bottom:17px;min-width:0}.field small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.4}.field input,.field select,.field textarea,input.search-input,.tools select{width:100%;background:white;border:1px solid #cdd9e1;color:var(--ink);border-radius:5px;min-height:40px;padding:9px 11px;font-size:13px;font-weight:400}.field textarea{resize:vertical;min-height:70px;line-height:1.5}.fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.fields-grid .wide{grid-column:1/-1}.section-title{margin-top:8px;margin-bottom:19px;display:flex;align-items:center;gap:8px}.section-title span{color:var(--blue);background:#edf4f8;display:grid;place-items:center;width:24px;height:24px;border-radius:5px;font-size:11px}.section-title h3{margin:0}.divider{border:0;border-top:1px solid var(--line);margin:9px 0 23px}.dropzone{border:1.5px dashed #b5cbd9;border-radius:7px;padding:29px 18px;text-align:center;background:#f8fbfd;margin-bottom:15px}.dropzone.dragging{background:#e4f1f8;border-color:var(--blue)}.dropzone svg{color:var(--blue);width:29px;height:29px;margin-bottom:10px}.dropzone h3{font-size:14px}.dropzone p{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:14px}.file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.upload-list{display:grid;gap:7px;margin-top:14px}.upload-item{border:1px solid var(--line);border-radius:6px;padding:11px 12px;display:flex;align-items:center;gap:11px;background:white;min-width:0;text-align:left;width:100%}.upload-item:hover,.upload-item.selected{border-color:var(--blue);background:#f3f8fb}.file-icon{width:32px;height:38px;border:1px solid #cbdbe5;background:#f3f8fb;border-radius:4px;display:grid;place-items:center;color:var(--blue);flex:none}.file-icon svg{width:17px;height:17px}.file-meta{min-width:0;flex:1}.file-meta strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.source-preview{min-height:340px;background:#e9eef2;display:flex;align-items:center;justify-content:center;padding:15px;border-radius:6px;margin-top:16px;overflow:hidden}.source-preview img{max-width:100%;max-height:560px;object-fit:contain}.source-placeholder{text-align:center;color:var(--muted);font-size:12px;line-height:1.6;max-width:270px}.source-placeholder svg{width:30px;height:30px;display:block;margin:0 auto 15px;color:#8199aa}.checkbox{display:flex;gap:10px;font-size:12px;line-height:1.6;align-items:flex-start;color:#42596a;margin:12px 0 20px}.checkbox input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--blue);flex:none}.history-row{padding:19px 20px;border-bottom:1px solid var(--line)}.history-row:last-child{border-bottom:0}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.history-header strong{font-size:12px;color:var(--muted)}.history-dates{display:grid;grid-template-columns:1fr 1fr;gap:16px}.history-row .field:last-child{margin-bottom:0}.history-footer{padding:16px 20px;background:#fafcfd}.full-width{grid-column:1/-1}.settings-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:24px;align-items:start}.settings-note{padding:23px}.settings-note p{font-size:12px;line-height:1.7;color:var(--muted)}.settings-note .address-block{margin:19px 0;padding-top:16px;border-top:1px solid var(--line)}.address-block strong{font-size:12px;display:block;margin-bottom:6px}.checklist{list-style:none;padding:0;margin:0}.checklist li{display:flex;gap:9px;padding:12px 0;border-bottom:1px solid #e9eef2;font-size:12px;align-items:center;line-height:1.4}.checklist li:last-child{border:0}.checklist svg{width:17px;height:17px;color:var(--green);flex:none}.checklist .missing svg{color:#bc7c28}.checklist .missing{color:#896324}.output-row{padding:15px 20px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center}.output-row:last-child{border:0}.output-row .button{margin-left:auto}.format-label{font-size:10px;font-weight:800;letter-spacing:.5px;color:var(--blue);border:1px solid #c9dce7;background:#f4f9fc;border-radius:4px;width:45px;min-height:36px;display:grid;place-items:center;flex:none}.format-label.pdf{color:#ae5b31;background:#fff6ef;border-color:#ebd6c7}.output-title{font-size:12px;font-weight:600}.output-note{font-size:11px;color:var(--muted);margin-top:4px}.template-list{list-style:none;padding:0;margin:0}.template-list li{display:flex;align-items:center;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line);font-size:13px}.template-list li:last-child{border:0}.template-list svg{width:18px;height:18px;color:var(--blue)}.template-list small{margin-left:auto;color:var(--muted);font-size:11px}.login-page{min-height:100vh;display:grid;grid-template-columns:45% 55%;background:white}.login-brand-pane{background:var(--navy);padding:48px 10%;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-intro{margin:auto 0;color:white;max-width:350px;padding:60px 0}.login-intro h1{font-size:37px;line-height:1.2;letter-spacing:-.6px;margin:20px 0}.login-intro p{font-size:14px;line-height:1.75;color:#b8cedb}.login-step{border-top:1px solid #456175;padding:16px 0;display:flex;align-items:center;gap:17px;font-size:12px;color:#d4e2ea}.login-step span{font-size:11px;color:#8cbbd3;width:20px}.login-bottom{font-size:11px;color:#a8c1d0;line-height:1.7}.login-form-pane{display:flex;align-items:center;justify-content:center;padding:45px}.login-form{width:350px;max-width:100%}.login-form h2{font-size:27px;margin-bottom:10px}.login-form>p{margin-bottom:30px;font-size:13px}.login-form .button{width:100%;margin-top:8px}.login-caption{font-size:11px;color:#8092a0;text-align:center;margin-top:24px;line-height:1.6}.login-error{color:var(--red);font-size:12px;line-height:1.5;min-height:18px;margin-bottom:10px}.password-wrap{position:relative}.password-wrap input{padding-right:60px}.password-toggle{position:absolute;right:8px;top:7px;background:none;border:0;color:var(--muted);font-size:11px;padding:5px}.toast{position:fixed;right:25px;bottom:25px;max-width:440px;background:var(--navy);color:white;padding:15px 20px;border-radius:8px;box-shadow:0 6px 25px #163a5233;font-size:13px;line-height:1.6;z-index:100}.toast.error{background:#873e35}dialog{border:0;border-radius:12px;padding:26px;width:440px;max-width:calc(100% - 32px);color:var(--ink);box-shadow:0 15px 70px #0b25384d}dialog::backdrop{background:#173b5266}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.dialog-heading h2{margin:0}.dialog-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.view-error{padding:32px;background:white;border:1px solid var(--line);border-radius:9px;color:var(--red)}.work-note{font-size:11px;line-height:1.6;color:var(--muted);margin:20px 0 0}.processing{pointer-events:none;opacity:.6}
.workspace-label.flush{padding:0}.panel.spaced{margin-top:20px}.checklist+.button{margin-top:22px}.status.attention{background:#fff3e1;color:#9a650f}.tools .search{width:260px;flex:none}input.search-input{padding-left:36px}.tools select{width:170px}.upload-item>svg{width:17px;height:17px;flex:none;color:var(--blue)}
@media(max-width:760px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}.tools .search{width:100%;flex:1;min-width:180px}.tools select{width:140px}}
@media(min-width:1600px){.content{padding-top:40px}.editor-grid{grid-template-columns:minmax(350px,.95fr) minmax(500px,1.2fr)}}
@media(max-width:1100px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.main{margin-left:205px}.topbar{padding:0 25px}.content{padding:27px 25px}.panel-head{flex-wrap:wrap}.tools{width:100%}.search{flex:1}.search input{width:100%}.editor-grid{gap:17px}.section-body{padding:18px}.fields-grid{gap:0 12px}.editor-heading{align-items:flex-start}.settings-layout{grid-template-columns:1fr}.metric{padding:20px 17px}.metric-icon{display:none}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .18s ease;width:232px}.sidebar.open{transform:translateX(0);box-shadow:4px 0 30px #102b4044}.main{margin-left:0}.mobile-menu{display:block;padding:5px}.mobile-menu svg{width:23px;height:23px}.topbar{height:63px;padding:0 17px}.topbar-title{gap:8px;font-size:11px}.topbar-title .separator,.topbar-title .section-breadcrumb{display:none}.user-name{display:none}.user-menu{gap:6px}.content{padding:23px 17px 32px}h1{font-size:25px}.page-heading{gap:12px;margin-bottom:20px;flex-wrap:wrap}.page-heading p{font-size:12px}.page-heading>.button{width:100%}.metrics{margin-bottom:18px}.metric{padding:16px 10px}.metric strong{font-size:23px}.metric span{font-size:10px;line-height:1.5}.panel-head{padding:17px}.tools{flex-wrap:wrap;gap:8px}.tools .search{min-width:180px}.tools select{max-width:140px;font-size:12px}th,td{padding:14px 17px}th{white-space:nowrap}td{min-width:100px}td:first-child{min-width:180px}.empty{padding:35px 18px}.hint-strip{padding:14px;font-size:11px}.editor-grid{grid-template-columns:1fr;gap:17px}.editor-heading{flex-wrap:wrap;margin-bottom:8px}.editor-heading h1{font-size:23px}.editor-actions{width:100%}.editor-actions .button{flex:1}.save-state{width:100%;margin:2px 0 7px}.tabs{gap:20px;margin-bottom:19px}.tab{font-size:12px}.fields-grid{grid-template-columns:1fr}.fields-grid .wide{grid-column:auto}.source-preview{min-height:260px}.output-row{padding:14px 15px;gap:8px;flex-wrap:wrap}.output-row .button{margin-left:auto}.output-title{font-size:11px}.template-list li{padding:14px 17px;font-size:12px}.template-list small{display:none}.toast{right:16px;left:16px;bottom:16px;max-width:none}.login-page{grid-template-columns:1fr}.login-brand-pane{padding:25px 26px}.login-intro{padding:25px 0 3px;max-width:none;margin:0}.login-intro h1{font-size:25px;margin:8px 0 12px}.login-intro>p,.login-step,.login-bottom{display:none}.login-form-pane{padding:30px 26px 45px;align-items:flex-start}.login-form{width:100%;max-width:420px}.login-form h2{font-size:24px}.login-form>p{margin-bottom:24px}.settings-note{padding:20px}.history-dates{gap:12px}.history-row{padding:17px}.full-width{grid-column:auto}.dropzone{padding:24px 15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.sidebar{overflow-y:auto}.api-wallet{margin:24px 3px 20px;padding:14px 12px;border:1px solid #456477;border-radius:7px;background:#123247}.wallet-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;color:#c6d8e3}.wallet-refresh{display:grid;place-items:center;width:30px;height:30px;background:none;border:1px solid #456477;border-radius:5px;color:#d5e3ec;flex:none}.wallet-refresh svg{width:15px;height:15px}.wallet-amount{display:block;margin:11px 0 7px;font-size:23px;line-height:1.3;overflow-wrap:anywhere}.wallet-model{font-size:10px;color:#a5bdcd}.wallet-alert{font-size:11px;line-height:1.5;color:#ffd496;margin:10px 0}.wallet-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:16px;font-size:10px;color:#a5bdcd}.wallet-topup{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 10px;background:var(--orange);border-radius:4px;font-size:11px;font-weight:600;color:white}.wallet-topup:hover{background:var(--orange-hover);color:white;text-decoration:none}.wallet-topup.unavailable{padding:0;background:none;color:#a5bdcd;font-weight:400;min-height:0}.button.danger{background:white;border-color:#e7c7c1;color:var(--red)}.button.danger:hover{background:#fff3f0}.row-actions{display:flex;gap:8px;align-items:center}.status.needs_review,.status.recognizing{background:#fff3e1;color:#9a650f}.status.ocr_error{background:#fff0ed;color:var(--red)}.recognize-button{width:100%;margin-top:20px}.ocr-review{margin:0 0 18px;padding:17px 20px;border:1px solid #e4c48f;border-left:4px solid var(--orange);border-radius:7px;background:#fff9ef;font-size:12px;line-height:1.6;color:#795820}.ocr-review.error{border-color:#dfb1a8;border-left-color:var(--red);background:#fff4f1;color:#95453a}.ocr-review.checked{border-color:#bed9c9;border-left-color:var(--green);background:#f1f8f4;color:var(--green)}.ocr-review-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.ocr-review-heading>div{display:flex;align-items:center;gap:8px;font-size:13px}.ocr-review-heading svg{width:18px;height:18px;flex:none;margin-top:1px}.ocr-review-heading>span{font-size:11px;color:var(--muted)}.ocr-review>p{margin:9px 0 0}.ocr-review details{margin-top:10px}.ocr-review summary{cursor:pointer;font-weight:600;padding:4px 0}.ocr-issues{margin:8px 0 0;padding:0 0 0 20px;max-height:260px;overflow:auto}.ocr-issues li{padding:7px 0;border-bottom:1px solid #eddfc9;overflow-wrap:anywhere}.ocr-issues li:last-child{border-bottom:0}.ocr-field-link{border:0;padding:0;background:none;color:inherit;font-size:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px}.ocr-source{display:inline-flex;align-items:center;gap:5px;max-width:100%;border:1px solid #dbc79f;border-radius:4px;background:#fffdf8;padding:5px 7px;font-size:10px;color:#795820;overflow-wrap:anywhere;margin:7px 5px 0 0;text-align:left}.ocr-source svg{width:13px;height:13px;flex:none}.field.has-issue input,.field.has-issue textarea,.field.has-issue select{border-color:#cf9743;background:#fffdf8}.field small.field-alert{color:#916122;font-size:11px}.template-layout{display:grid;grid-template-columns:minmax(0,2.6fr) minmax(240px,1fr);gap:24px;align-items:start}.template-card{padding:21px 22px;border-bottom:1px solid var(--line)}.template-card:last-child{border-bottom:0}.template-card-heading{display:flex;gap:12px;align-items:flex-start}.template-card h3{font-size:14px;margin:0 0 6px;line-height:1.5}.template-meta{font-size:11px}.template-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:15px}.template-actions .button{font-size:11px}.template-versions{margin-top:14px;color:var(--muted);font-size:11px}.template-versions summary{cursor:pointer;padding:4px 0}.version-controls{display:flex;align-items:flex-end;gap:10px;padding-top:12px}.version-controls .field{flex:1;margin:0;font-size:11px}.version-controls select{font-size:11px;min-width:0}.version-controls>.button{margin-bottom:3px}.fixed-form{background:#fafcfd}.fixed-form p{font-size:12px;color:var(--muted);line-height:1.6;margin:14px 0 0}.settings-note code,.paragraph-markers code{font-size:11px;background:#edf4f8;padding:2px 4px;border-radius:3px;overflow-wrap:anywhere}.next-city-heading{margin-top:23px}.template-paragraphs{margin-top:23px;display:grid;gap:16px}.template-paragraph{margin:0;padding-bottom:17px;border-bottom:1px solid var(--line)}.template-paragraph:last-child{border:0}.paragraph-caption{font-size:10px;font-weight:600;letter-spacing:.2px;color:var(--muted)}.template-paragraph textarea{min-height:55px;line-height:1.65;font-size:13px}.template-paragraph.readonly textarea{background:#f7f9fa;color:var(--muted)}.paragraph-markers{display:flex;gap:5px;flex-wrap:wrap}.template-text-panel .hint-strip{margin-top:6px}.template-layout .settings-note>.button{width:100%;margin-top:12px}
@media(max-width:1100px){.template-layout{grid-template-columns:minmax(0,1fr)}.template-layout>.settings-note{max-width:none}.template-layout>.settings-note>.button{width:auto}.api-wallet{margin-left:0;margin-right:0}.wallet-amount{font-size:21px}}
@media(max-width:760px){.ocr-review{padding:15px 14px}.ocr-review-heading{flex-direction:column;gap:5px}.ocr-issues{max-height:220px}.row-actions{flex-direction:column;align-items:stretch}.template-card{padding:18px 17px}.template-actions{gap:8px}.template-actions .button{white-space:normal;min-height:38px}.template-actions>.button,.template-actions>a{flex:1}.version-controls{flex-direction:column;align-items:stretch}.version-controls .field{width:100%}.version-controls .button{align-self:flex-start}.template-layout{gap:17px}.paragraph-markers code{font-size:10px}.template-editor-actions{width:100%}}
.template-city-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;cursor:pointer;list-style:none;background:white}
.template-city-toggle::-webkit-details-marker{display:none}
.template-city-toggle:hover{background:#f7fafc}
.template-city-toggle:focus-visible{outline:3px solid #53a7ca;outline-offset:-4px}
.template-city-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;min-width:0}
.template-city-title h2{font-size:16px;margin:0}
.template-city-title>.muted{font-size:12px}
.template-city-action{display:flex;align-items:center;gap:8px;color:var(--blue);font-size:12px;font-weight:600;flex:none}
.template-city-action svg{width:17px;height:17px}
.template-city:not([open]) .city-collapse-label,.template-city[open] .city-expand-label{display:none}
.template-city[open]>.template-city-toggle{border-bottom:1px solid var(--line)}
.template-city[open]>.template-city-toggle .template-city-action svg{transform:rotate(90deg)}
@media(max-width:760px){.template-city-toggle{padding:18px 17px;gap:12px}.template-city-title{flex-direction:column;align-items:flex-start;gap:3px}.template-city-action{font-size:11px;gap:5px}}
.wallet-model-picker{border-top:1px solid #456477;margin-top:14px;padding-top:13px}.wallet-model-picker label{display:block;font-size:10px;color:#c6d8e3;margin-bottom:7px}.wallet-model-picker select{display:block;width:100%;min-width:0;max-width:100%;border:1px solid #668193;border-radius:5px;background:#fff;color:#173b52;padding:9px 5px;font-size:11px}.wallet-estimate{font-size:11px;font-weight:600;color:#fff;margin-top:10px;line-height:1.6}.wallet-model-picker small{display:block;font-size:9px;line-height:1.6;color:#a5bdcd;margin-top:4px}.wallet-compare{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;padding:9px 0;color:#ffd39a;font-size:11px;text-align:left}.wallet-compare svg{width:13px;height:13px}.models-dialog{width:700px;max-height:calc(100vh - 40px);overflow:auto;padding:28px}.models-intro{font-size:13px;margin:18px 0}.model-comparison{border:1px solid var(--line);border-radius:8px;overflow:hidden}.model-price-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 18px;background:white}.model-price-row+.model-price-row{border-top:1px solid var(--line)}.model-price-row.selected{background:#f0f7fb;box-shadow:inset 3px 0 0 var(--orange)}.model-price-name{display:flex;align-items:center;gap:12px}.model-position{font-size:11px;color:#8096a5}.model-price-name h3{font-size:14px;margin:0 0 5px}.model-price-name span{font-size:10px;color:var(--muted)}.model-price-row>strong{font-size:12px;text-align:right;line-height:1.6;white-space:nowrap}.models-basis{font-size:12px;color:var(--muted);line-height:1.7;margin:18px 0 9px}.models-source{font-size:10px;color:var(--muted);line-height:1.6}@media(max-width:600px){.models-dialog{padding:20px}.model-price-row{align-items:flex-start;flex-direction:column;gap:10px;padding:16px}.model-price-row>strong{text-align:left;margin-left:24px;white-space:normal}.models-dialog h2{font-size:19px}}
.model-estimate-note{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:5px}
.storage-disk{padding:25px 26px;margin-bottom:22px}.storage-disk-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:22px}.storage-disk-heading h2{font-size:17px}.storage-disk-heading p{font-size:12px;margin-bottom:0}.storage-free{text-align:right;flex:none}.storage-free strong{font-size:30px;letter-spacing:-.5px;display:block;color:var(--navy)}.storage-free span{display:block;font-size:11px;color:var(--muted);margin-top:5px}.storage-meter{margin-top:25px}.storage-disk-values{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:var(--muted);margin-top:11px}.storage-note{font-size:11px;line-height:1.7;color:var(--muted);margin:17px 0 0}.storage-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:22px 0}.storage-group{padding:25px 26px;display:flex;flex-direction:column;align-items:flex-start}.storage-group-heading{display:flex;gap:13px;align-items:flex-start}.storage-group-heading>svg{width:23px;height:23px;color:var(--blue);flex:none;margin-top:2px}.storage-group-heading h2{font-size:16px;margin-bottom:5px}.storage-group-heading p{font-size:12px;margin-bottom:0}.storage-group-total{display:flex;flex-direction:column;gap:7px;margin:24px 0 17px}.storage-group-total strong{font-size:27px;color:var(--navy);letter-spacing:-.4px}.storage-group-total span{font-size:12px;color:var(--muted)}.storage-consequence{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:23px;flex:1}.storage-loading{padding:35px;color:var(--muted);line-height:1.6}.storage-dialog{width:560px;max-height:calc(100vh - 40px);overflow:auto}.storage-dialog h2{font-size:20px}.storage-dialog>.muted{font-size:12px}.storage-confirm-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#f2f7fa;border:1px solid var(--line);border-radius:7px;padding:16px;margin:20px 0}.storage-confirm-summary strong{font-size:18px}.storage-confirm-summary span{font-size:12px;color:var(--muted)}.storage-confirm-consequence{font-size:12px;line-height:1.8;color:var(--muted)}.storage-dialog .checkbox{margin:23px 0 0}.storage-dialog .dialog-footer{margin-top:22px}@media(max-width:760px){.storage-disk,.storage-group{padding:21px 18px}.storage-disk-heading{flex-direction:column;gap:18px}.storage-free{text-align:left}.storage-free strong{font-size:28px}.storage-disk-values{font-size:11px;flex-wrap:wrap}.storage-groups{grid-template-columns:minmax(0,1fr);gap:17px}.storage-group-total{margin-top:20px}.storage-group>.button{width:100%;white-space:normal}.storage-dialog{padding:21px}.storage-dialog h2{font-size:18px}.storage-confirm-summary{align-items:flex-start;flex-direction:column;gap:7px}.storage-dialog .dialog-footer{flex-wrap:wrap}.storage-dialog .dialog-footer>.button{flex:1;white-space:normal}}
meter.storage-meter{display:block;width:100%;height:12px;border:0;background:transparent}meter.storage-meter::-webkit-meter-bar{height:10px;border:0;background:#e8eef3;border-radius:5px}meter.storage-meter::-webkit-meter-optimum-value{background:#2d617e;border-radius:5px}meter.storage-meter::-moz-meter-bar{background:#2d617e;border-radius:5px}
.recheck-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px;padding:16px 19px;border:1px solid var(--line);border-radius:7px;background:white}.recheck-entry strong{font-size:13px;color:var(--navy)}.recheck-entry p{font-size:12px;line-height:1.65;color:var(--muted);margin:5px 0 0}.recheck-entry .button{flex:none;font-size:12px}.recheck-dialog{width:560px;max-height:calc(100vh - 40px);overflow:auto}.recheck-dialog h2{font-size:20px}.recheck-dialog>.muted{font-size:12px;overflow-wrap:anywhere}.recheck-copy{font-size:12px;line-height:1.8;color:var(--muted)}.recheck-dialog .field{margin:20px 0 14px}.recheck-price{padding:14px 16px;border:1px solid var(--line);border-radius:6px;background:#f2f7fa;margin-bottom:17px}.recheck-price strong{font-size:14px;color:var(--navy)}.recheck-price small{display:block;font-size:11px;line-height:1.7;color:var(--muted);margin-top:6px}.ocr-comparisons{margin-top:15px;padding-top:14px;border-top:1px solid #eddfc9}.ocr-comparisons>p{margin:5px 0 10px;font-size:11px}.ocr-comparison{padding:12px 0;border-top:1px solid #eddfc9;overflow-wrap:anywhere}.ocr-comparison dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:9px 0 0}.ocr-comparison dt{font-size:10px;color:var(--muted);margin-bottom:3px}.ocr-comparison dd{font-size:12px;margin:0;white-space:pre-wrap}.recheck-dialog .dialog-footer{flex-wrap:wrap}@media(max-width:760px){.recheck-entry{flex-direction:column;align-items:stretch;gap:12px;padding:15px}.recheck-entry .button{white-space:normal}.recheck-dialog{padding:21px}.recheck-dialog .dialog-footer>.button{flex:1;white-space:normal}.ocr-comparison dl{grid-template-columns:1fr;gap:8px}}
.field-confirmation{display:flex;align-items:center;gap:9px;margin-top:3px}.field-confirmation .button{font-size:11px;min-height:32px;padding:6px 10px}.field small.field-confirmed{color:var(--green);font-size:11px}.field.field-acknowledged input,.field.field-acknowledged textarea,.field.field-acknowledged select{border-color:#a5c9b5;background:#f8fcfa}
.history-date-control{min-width:0;display:flex;flex-direction:column;gap:10px}.history-date-control .field{margin:0}.history-current-note{font-size:12px;margin:0;padding:10px 0}.history-date-control input[type="date"],.history-date-control input[type="month"]{min-width:0;width:100%}
.document-checklist li{gap:10px;align-items:center}.checklist-copy{flex:1;min-width:0}.checklist-copy small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.document-checklist li.optional{color:var(--muted)}.optional-mark{width:16px;text-align:center;flex:none}.checklist-link{border:0;background:none;color:var(--blue);font:inherit;font-size:12px;font-weight:600;cursor:pointer;padding:8px 4px;display:inline-flex;gap:5px;align-items:center;text-decoration:underline;text-underline-offset:3px}.checklist-link svg{width:14px;height:14px}.checklist-link:focus-visible{outline:2px solid var(--orange);outline-offset:3px}.review-steps{border:1px solid var(--line);border-left:3px solid var(--orange);background:#fff;border-radius:7px;margin:16px 0 22px;padding:16px 20px}.review-steps-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.review-steps-heading strong{font-size:14px}.review-steps details{margin-top:12px;font-size:12px}.review-steps summary{cursor:pointer;color:var(--muted)}.review-steps ol{padding-left:22px;margin:12px 0 0}.review-steps li{padding:8px 0;border-top:1px solid var(--line);line-height:1.55}.review-steps li .checklist-link{margin-left:10px}.review-current{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.review-current>span{font-size:11px;color:var(--muted)}.review-current p{font-size:13px;line-height:1.6;margin:6px 0 12px}.review-navigation{display:flex;gap:8px}.review-highlight{outline:2px solid #d98c32;outline-offset:5px;border-radius:4px}@media(max-width:760px){.review-steps{padding:14px}.review-steps-heading{align-items:flex-start;flex-wrap:wrap}.document-checklist .checklist-link{min-height:38px}.review-steps li .checklist-link{display:flex;margin-left:0}}
.review-dock{position:fixed;bottom:18px;right:24px;z-index:25;display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:7px;box-shadow:0 4px 20px #193b501c}.review-dock>span{font-size:12px;color:var(--muted);white-space:nowrap}.review-dock .button{min-height:36px}.content:has(.review-dock){padding-bottom:105px}@media(max-width:760px){.review-dock{bottom:10px;right:10px;left:10px;justify-content:center;gap:8px}.review-dock>span{font-size:11px}.review-dock .button{padding:8px 11px}}
.row-review-link{display:block;padding:6px 0;margin-top:4px}.review-dock>span{white-space:normal;max-width:420px}.review-dock strong{display:block;font-weight:600;color:var(--ink)}.review-dock small{display:block;line-height:1.45;font-size:11px;margin-top:3px}@media(max-width:760px){.review-dock{flex-wrap:wrap}.review-dock>span{width:100%;max-width:none}.review-dock small{font-size:11px}.content:has(.review-dock){padding-bottom:165px}}
