@font-face{font-family:Inter;src:url("./assets/inter-latin.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
:root{--navy:#003463;--ink:#172e42;--muted:#536a7a;--line:#d9e3e9;--soft:#f4f7f9;--blue:#135e96;--amber:#895009;--green:#17684c;--red:#a32e38;--violet:#70429b;color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;background:var(--soft);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select,textarea{font:inherit;color:inherit}button,select,label[for]{cursor:pointer}button{border:0;background:none}button:disabled{color:#84939c;opacity:.65;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #2280b4;outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #1675ac;outline-offset:1px}
button{line-height:1.25}.icon{width:1.12em;height:1.12em;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}.icon[width]{width:revert-layer;height:revert-layer}.topbar .icon{width:18px;height:18px}
[hidden]{display:none!important}h1,h2,h3,h4,p{margin:0}h1{font-size:clamp(1.9rem,3.4vw,2.65rem);letter-spacing:-.057em;line-height:1.12;font-weight:680;color:#142f45}h2{font-size:1.27rem;letter-spacing:-.036em;font-weight:680}h3{font-size:1.12rem;letter-spacing:-.023em}h4{font-size:.96rem;letter-spacing:-.017em;margin:24px 0 13px}
.skip{position:absolute;left:-10000px;top:4px}.skip:focus{left:8px;z-index:15;background:#fff;padding:12px;color:var(--navy)}
.topbar{background:#fff;border-bottom:1px solid var(--line);box-shadow:0 1px 4px #14395506}.top-inner{max-width:1580px;margin:auto;min-height:74px;display:flex;align-items:stretch;padding:0 clamp(16px,3.4vw,60px);gap:clamp(22px,4.5vw,80px)}
.brand,.primary-nav,.primary-nav button,.storage,.tools,.page-actions,.btn,.period>label,.sort,.row-action,.segments,.segments button,.more-bar button,.inline-check,.note-pills,.filterset,.tags,.metric-top,.inline-input,.import-info,.cardline,.batchbar,.history summary,.paging,.paging>div,.detail-hero,.range,.metric-others,.modal-foot,.section-pad .entity-list li{display:flex;align-items:center}
.brand{gap:16px;white-space:nowrap;font-size:.93rem;font-weight:540;color:#244b66}.brand img{width:108px;height:auto;object-fit:contain}.brand b{font-weight:720}.brand-divider{height:26px;width:1px;background:#cddbe3}
.primary-nav{gap:10px}.primary-nav button{gap:8px;align-self:stretch;padding:0 13px;font-size:.89rem;font-weight:570;color:#4d6475;border-bottom:3px solid transparent;padding-top:3px}.primary-nav button:hover,.primary-nav .current{color:var(--navy);background:#f5f9fc}.primary-nav .current{border-bottom-color:var(--navy);font-weight:690}
.storage{margin-left:auto;align-self:center;gap:7px;font-size:.78rem;font-weight:560;color:#4c6575;border:1px solid #dee6ec;background:#fafcfd;border-radius:20px;padding:7px 11px}.storage .icon{width:14px;height:14px}
main{max-width:1580px;margin:0 auto;padding:38px clamp(16px,3.4vw,60px) 48px;outline:none}.page-head,.scope,.queue-head,.import-row-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.page-head{margin-bottom:26px}.page-head p{margin-top:7px;color:var(--muted);font-size:.93rem}.page-head p::first-letter{text-transform:uppercase}
.page-actions,.tools,.modal-foot,.note-pills,.filterset,.tags{gap:8px}.btn{gap:8px;justify-content:center;border:1px solid transparent;border-radius:8px;min-height:40px;padding:9px 14px;font-size:.88rem;font-weight:605;white-space:nowrap;text-decoration:none}.primary{background:var(--navy);color:#fff;border-color:var(--navy);box-shadow:0 2px 4px #00346317}.primary:hover:not(:disabled){background:#0e4c78}.secondary,.mini{background:white;border-color:#cddae2;color:#29485e}.secondary:hover:not(:disabled),.mini:hover:not(:disabled),.secondary.active{background:#eff5f8;border-color:#9eb7c7}.ghost{color:var(--navy);background:transparent}.ghost:hover,.row-action:hover,.nf:hover{background:#eaf1f6}.mini{font-size:.8rem;padding:6px 9px;min-height:32px}.danger{color:#fff;background:#a3363f}.danger-ghost{color:var(--red)}.icon-btn{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#435a6c}.icon-btn:hover{background:#edf3f7}.wrap{flex-wrap:wrap}
.scope{border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:22px}.segments{gap:3px;border:1px solid #d5e0e7;border-radius:9px;background:#eaf0f4;padding:3px}.segments button{justify-content:center;gap:7px;padding:8px 13px;border:1px solid transparent;border-radius:6px;color:#4b6474;font-size:.85rem;font-weight:560;min-height:32px}.segments .on{background:white;color:var(--navy);border-color:#d3e0e8;box-shadow:0 1px 3px #173b5314;font-weight:690}.segments button:hover{color:var(--navy)}
.period{display:flex;align-items:center;gap:9px}.period>label{gap:5px;background:white;border:1px solid var(--line);padding:0 9px;border-radius:7px}.period select{border:0;min-height:35px;padding:6px 25px 6px 3px;color:#3b5467;max-width:185px}.range{gap:7px}.range label{font-size:.76rem;color:var(--muted)}.range input{display:block;min-height:32px;padding:3px 6px;width:138px}
.section-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric,.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 6px #153a5105}.metric{position:relative;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:13px;padding:15px 18px 15px;min-height:109px}.metric:hover{border-color:#a6bfce}.metric.selected{border-color:#839fb5;box-shadow:inset 0 -3px 0 var(--navy)}.metric-top{gap:11px;font-size:.87rem;font-weight:585;color:#385165}.metric-icon,.list-icon{display:inline-grid;place-items:center;width:33px;height:33px;border-radius:8px;background:#eaf1f7;color:#235476}.metric.amber .metric-icon,.badge.amber{background:#fff0cd;color:#80500b}.metric.blue .metric-icon,.badge.blue{background:#e5f0fc;color:#205d94}.metric.red .metric-icon,.badge.red{background:#fbe6e6;color:#a02d38}.badge.green{background:#dff3e9;color:#146348}.badge.violet,.notice.violet{background:#f0eafa;color:#654092}.badge.neutral{background:#eaf0f4;color:#476272}.metric>strong{font-size:2.12rem;font-weight:650;letter-spacing:-.055em;line-height:1;color:#172f43;font-variant-numeric:tabular-nums}
.more-bar{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:7px 0;min-height:45px;align-items:center}.more-bar button,.metric-chip{gap:6px;font-size:.8rem;color:#3c5870;font-weight:590}.more-bar button{padding:5px}.metric-others{flex-wrap:wrap;gap:6px;margin:0 0 14px}.metric-chip{padding:7px 11px;border-radius:20px;min-height:32px;border:1px solid var(--line);background:white}.metric-chip b{margin-left:3px;font-variant-numeric:tabular-nums}.metric-chip.selected{background:#dceaf4;border-color:#aac5d6;color:var(--navy)}
.queue{overflow:hidden}.queue-head{padding:19px 21px 16px}.queue-head p,.sub,.meta,.helper,.import-reason,.empty p,.section-pad>p{color:var(--muted);font-size:.84rem;line-height:1.5}.queue-head p{margin-top:3px}.queue .tools{flex-wrap:wrap}
.search{display:flex;align-items:center;gap:8px;position:relative;min-height:39px;background:#fafcfd;border:1px solid var(--line);border-radius:8px;padding:0 10px;color:#658092}.search input{border:0;background:transparent;outline:0;min-height:36px;width:clamp(125px,19vw,270px);font-size:.86rem;padding:5px 0}.search:focus-within{outline:2px solid #1675ac;outline-offset:1px}select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23465d6d' stroke-width='2'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") no-repeat right 9px center;padding-right:28px!important}
input:not([type=checkbox]):not([type=file]),select,textarea{border:1px solid #c9d7e0;border-radius:7px;background-color:#fff;font-size:.89rem;min-height:39px;padding:8px 10px}.search input:not([type=checkbox]),.period select{border:0;background-color:transparent;box-shadow:none}.search input:not([type=checkbox]){padding:5px 0;outline:0}.period select{min-height:35px}input[type=checkbox]{accent-color:var(--navy);vertical-align:middle;width:16px;height:16px;cursor:pointer}textarea{width:100%;resize:vertical}
.advanced,.batchbar{background:#f4f8fb;border-block:1px solid var(--line);padding:13px 21px;display:flex;align-items:flex-end;gap:11px;flex-wrap:wrap}.advanced label{font-size:.8rem;font-weight:600;color:#435d6e}.advanced select{display:block;margin-top:5px;max-width:min(280px,100%);min-height:35px}.batchbar{align-items:center;background:#eaf3f8;font-size:.85rem}.batchbar strong{margin-right:auto}.table-wrap{overflow-x:auto}.op-table{width:100%;border-collapse:collapse;text-align:left;font-size:.86rem;table-layout:auto}.op-table thead{background:#f1f5f8;color:#455e70}.op-table th{font-size:.76rem;letter-spacing:.008em;font-weight:650;white-space:nowrap}.op-table td,.op-table th{padding:12px 8px;border-bottom:1px solid #e3eaf0;line-height:1.38}.op-table th:first-child,.op-table td:first-child{padding-left:17px;width:35px}.op-table th:last-child,.op-table td:last-child{padding-right:16px}.op-table td{max-width:180px;overflow-wrap:anywhere}.op-table td.customer{font-weight:560;max-width:195px}.op-table tbody tr:hover{background:#f8fbfd}.sort{padding:0;gap:4px;font:inherit;color:inherit}.sort .icon{opacity:.65}.sub{display:block;font-size:.76rem}.numeric,.nf{font-variant-numeric:tabular-nums}.numeric{white-space:nowrap}.nf,.row-action{color:#165c8f;border-radius:4px}.nf{font-weight:685;font-size:.89rem;padding:1px 0}.row-action{font-size:.8rem;font-weight:620;gap:1px;white-space:normal;text-align:left;padding:5px 0}.tags,.note-pills,.filterset{flex-wrap:wrap}.tags{gap:4px}.badge{display:inline-flex;align-items:center;gap:4px;font-size:.72rem;font-weight:645;line-height:1.35;white-space:nowrap;border-radius:5px;padding:4px 7px}.pending{color:var(--violet)}.mobile-cards{display:none}.empty{text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:32px 15px 36px;gap:8px;min-height:182px}.empty strong{font-size:.98rem}.empty p{max-width:420px}.empty .btn{margin-top:4px}.empty-icon{display:inline-grid;place-items:center;width:47px;height:47px;background:#eaf1f7;color:#285675;border-radius:13px;margin-bottom:3px}.paging{justify-content:space-between;padding:11px 19px;color:var(--muted);font-size:.8rem;border-top:1px solid var(--line)}.paging>div{gap:6px}
.data-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.section-pad{padding:21px 23px}.section-pad>.queue-head{padding:0 0 15px}.section-pad>p{margin:11px 0 17px}.entity-list{list-style:none;margin:9px 0 0;padding:0}.entity-list li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.entity-list li:last-child{border:0}.entity-list strong{font-size:.9rem}.entity-list .meta,.entity-list .btn{margin-left:auto}.count{font-size:.78rem;background:#eaf1f6;padding:2px 7px;border-radius:9px}.loading-msg{color:var(--muted)}
dialog{padding:0;width:min(670px,calc(100vw - 24px));border:1px solid #c0cfd9;border-radius:14px;color:var(--ink);max-height:92dvh;box-shadow:0 24px 80px #112e4766;overflow:auto}dialog.wide-modal{width:min(880px,calc(100vw - 24px))}dialog::backdrop{background:#11283775}body:has(dialog[open]){overflow:hidden}.modal-head,.modal-foot{position:sticky;z-index:2;background:#fff}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:19px 24px;top:0;border-bottom:1px solid var(--line)}.modal-head h2{font-size:1.36rem}.modal-head p{font-size:.85rem;color:var(--muted);margin-top:5px}.modal-body{padding:20px 24px 24px}.modal-body>p{line-height:1.55}.modal-foot{padding:13px 24px;bottom:0;justify-content:flex-end;border-top:1px solid var(--line)}.modal-foot.split{justify-content:space-between}.form-grid,.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>span,.field>label,.inline-add>label{font-size:.84rem;font-weight:610;color:#3d5669}.field input,.field select{width:100%;min-width:0}.field.wide{grid-column:1/-1}.spaced{margin-top:14px}.first{margin-top:0}.inline-input{gap:3px}.inline-input .icon-btn{flex:none;width:38px;height:39px}.inline-add{display:flex;align-items:flex-end;gap:8px;background:#eff5f8;padding:10px;margin-top:9px;border-radius:8px}.inline-add input{max-width:100%}.city-field{position:relative}.city-options{position:absolute;left:0;right:0;top:100%;z-index:4;max-height:215px;overflow:auto;background:white;box-shadow:0 8px 20px #23425a24;border:1px solid var(--line);border-radius:8px}.city-options button{display:flex;justify-content:space-between;gap:8px;width:100%;text-align:left;padding:9px 10px;font-size:.83rem}.city-options button:hover{background:#edf5fa}.city-options b{color:var(--muted)}.city-options p{padding:9px;font-size:.82rem}.detail-hero{align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.detail-grid{margin:0}.detail-grid dt,.meta,small{font-size:.77rem;color:var(--muted)}.detail-grid dd{margin:4px 0 0;font-size:.9rem;overflow-wrap:anywhere}.keep-lines{white-space:pre-wrap;overflow-wrap:anywhere}.history{margin-top:19px;border-top:1px solid var(--line);padding-top:14px}.history summary{gap:7px;cursor:pointer;font-weight:620;font-size:.88rem;list-style:revert}.history>.form-grid{margin-top:14px}.timeline{padding-left:17px;border-left:2px solid var(--line);margin-left:8px;list-style:none}.timeline>li{padding:7px 0;position:relative}.timeline>li:before{content:"";position:absolute;left:-23px;top:12px;border-radius:50%;width:9px;height:9px;background:#52819e}.timeline small{display:block}.timeline p,.timeline li li{font-size:.8rem}.timeline strong{font-size:.87rem}.timeline ul{padding-left:17px}.notice,.form-error{margin:16px 0 0;padding:12px 14px;border-radius:8px;font-size:.84rem;line-height:1.5}.notice ul{padding-left:18px;margin:5px 0}.form-error{color:#8c2530;background:#fcebed}.note-pills{margin:10px 0 17px}.customer-name{color:var(--muted);font-weight:610;margin:0 0 17px}
.file-input{position:absolute;width:1px;height:1px;opacity:0}.file-input:focus-visible+.dropzone{outline:3px solid #1675ac}.dropzone{min-height:160px;border:2px dashed #a3bdcd;border-radius:11px;background:#f7fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}.dropzone:hover{border-color:#3e779b;background:#f0f6fa}.dropzone span:last-child{font-size:.83rem;color:var(--muted)}.helper{margin-top:10px}.import-info{gap:10px}.import-info>.btn{margin-left:auto}.import-body .filterset{margin:16px 0 12px}.import-list{border:1px solid var(--line);border-radius:8px;overflow:hidden}.import-row{padding:12px 14px;border-bottom:1px solid var(--line)}.import-row:last-child{border-bottom:0}.import-row-title{justify-content:flex-start;gap:9px}.import-row-title strong{font-variant-numeric:tabular-nums;color:var(--navy)}.import-name{font-weight:570;font-size:.91rem;margin:4px 0}.inline-check{gap:5px;font-size:.81rem;margin-top:5px;width:fit-content}.import-reason{font-size:.78rem}.import-list>p{padding:12px}.import-row>.btn{margin-top:8px}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
#toast{position:fixed;bottom:22px;right:22px;max-width:min(420px,calc(100vw - 35px));z-index:20;background:#173f55;color:white;padding:12px 17px;border-radius:9px;box-shadow:0 5px 20px #001b3140;font-size:.88rem}#toast.error{background:#92343e}
@media(min-width:1460px){.op-table td,.op-table th{padding:14px 12px}.op-table td{font-size:.91rem}.metric{min-height:121px}.top-inner{min-height:81px}}
@media(max-width:1000px){.top-inner{gap:20px}.brand{gap:10px}.top-inner .storage span{display:none}.primary-nav{gap:2px}.op-table{min-width:940px}.queue-head{align-items:flex-start}.scope{flex-wrap:wrap}.range input{width:125px}.metric{padding:13px}.metric-top{gap:6px}.metric-top span:last-child{font-size:.8rem}}
@media(max-width:720px){main{padding:24px 13px 32px}.top-inner{padding:10px 15px 0;min-height:0;flex-wrap:wrap;gap:8px}.brand{order:0}.brand img{width:91px}.brand-divider{height:20px}.brand>span:last-child{font-size:.81rem}.primary-nav{order:2;width:100%;justify-content:space-between}.primary-nav button{padding:10px 8px;justify-content:center;font-size:.8rem;gap:5px}.storage{order:1;padding:5px 8px}.top-inner .storage span{display:inline}.page-head{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:16px}.page-actions{width:100%}.page-actions .btn{flex:1}.scope{gap:10px;padding-bottom:12px;margin-bottom:13px}.segments{width:100%;justify-content:space-between}.segments button{font-size:.76rem;padding:7px 5px;flex:1}.segments button:first-child{flex:1.5}.period{width:100%;justify-content:flex-end;flex-wrap:wrap}.period>label{margin-left:auto}.section-kpis{grid-template-columns:1fr 1fr;gap:8px}.metric{padding:11px;min-height:87px;gap:8px;border-radius:9px}.metric-icon{width:26px;height:26px}.metric-icon .icon{width:16px!important;height:16px!important}.metric>strong{font-size:1.65rem}.more-bar{min-height:32px}.queue-head{flex-direction:column;gap:12px;padding:15px}.queue-head .tools{width:100%;flex-wrap:nowrap}.queue-head .search{flex:1;min-width:0}.queue-head .search input{width:100%}.table-wrap{display:none}.mobile-cards{display:block}.invoice-card{padding:13px 15px;border-top:1px solid var(--line);display:grid;gap:7px}.invoice-card>strong{font-size:.9rem;overflow-wrap:anywhere}.invoice-card>p{font-size:.82rem;color:var(--muted)}.cardline{justify-content:space-between;gap:8px}.cardline .sub{margin-top:1px}.advanced,.batchbar{padding:12px}.advanced label,.advanced select{width:100%}.data-grid{grid-template-columns:1fr}.section-pad{padding:16px}.section-pad .tools{flex-wrap:wrap}.paging{padding:10px 13px}.modal-head,.modal-body,.modal-foot{padding-left:16px;padding-right:16px}.modal-head{padding-top:14px;padding-bottom:14px}.modal-body{padding-top:15px}.detail-hero{flex-direction:column}.empty{min-height:150px;padding:23px 12px}.modal-head h2{font-size:1.18rem}}
@media(max-width:420px){.form-grid{grid-template-columns:1fr}.metric-top span:last-child{font-size:.74rem}.metric-chip{font-size:.76rem;padding:5px 8px}.storage{font-size:.69rem}.range{flex-wrap:wrap}.brand{gap:7px}.section-pad .entity-list li{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;scroll-behavior:auto!important}}

.quick-metrics{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.more-bar .quick-metrics button{font-size:.78rem;min-height:28px;padding:4px 10px}.quick-metrics button:first-child{color:#67458d}.quick-metrics button:nth-child(2){color:#81500d}
