@charset "UTF-8";
:root{font-family:Segoe UI,Arial,sans-serif;color:#193645;background:#f3f6f8;font-size:16px;--navy:#102c3c;--teal:#087c72;--line:#dce5e9;--muted:#627987}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);border-radius:7px;background:white;color:#264858;padding:10px 15px;font-size:.875rem;font-weight:600}button:hover{background:#edf6f5;border-color:#a2cfc7}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--teal);color:white;border-color:var(--teal)}.primary:hover{background:#06685f;color:white}.danger{color:#ad3542}.link{border:0;background:transparent;padding:3px;color:var(--teal)}.layout{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{background:var(--navy);color:#c6d5dc;padding:28px 18px;display:flex;flex-direction:column;position:fixed;width:245px;height:100vh;overflow:auto}.brand{color:white;display:flex;align-items:center;gap:10px;font-size:1.5rem;font-weight:750;padding:0 12px 26px;letter-spacing:-.6px}.brand img{width:36px;height:36px}.brand small{display:block;font-size:.64rem;letter-spacing:2px;font-weight:500;margin-top:3px;color:#8fb5bd}.nav-label{font-size:.7rem;letter-spacing:1.8px;color:#7c9aa9;margin:22px 14px 8px}nav{display:grid;gap:5px}nav button{text-align:left;background:transparent;color:#adc3ce;border:0;font-weight:500;display:flex;align-items:center;gap:13px;padding:12px 14px}nav button.active{background:#1d4b58;color:#74e0c6}nav button:hover{background:#1a4050;color:white}.nav-icon{font-size:1.1rem;width:22px}.sidebar-bottom{margin-top:auto;padding:32px 14px 0;font-size:.8rem;color:#92aeba;line-height:1.7}.sidebar-bottom strong{color:#cce7e6;display:block}.main{grid-column:2;min-width:0}.topbar{height:82px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:20px}.topbar select{min-width:200px;max-width:330px;border:1px solid var(--line);border-radius:6px;padding:9px 35px 9px 13px;background:#fff;color:#234c5a}.topbar-right{display:flex;gap:15px;align-items:center}.avatar{width:35px;height:35px;border-radius:50%;background:#dff2ec;display:grid;place-items:center;color:#17685f;font-weight:700}.identity{font-size:.85rem}.identity small{display:block;color:var(--muted);margin-top:2px}.workspace{padding:32px 36px 40px;max-width:1700px;margin:auto}.eyebrow{font-size:.72rem;letter-spacing:1.8px;color:var(--teal);font-weight:700;margin-bottom:10px}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}h1{font-size:1.8rem;letter-spacing:-.7px;margin:0 0 8px;font-weight:650}h2{font-size:1.08rem;margin:0}h3{font-size:.96rem;margin:0 0 14px}p{line-height:1.65}.sub{color:var(--muted);font-size:.9rem;margin:0}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.badge{display:inline-block;font-size:.76rem;padding:5px 9px;border-radius:5px;background:#eef2f5;color:#526b79;font-weight:600;white-space:nowrap}.badge.good{background:#e0f4ec;color:#157255}.badge.warn{background:#fff2db;color:#98641c}.badge.bad{background:#fde8e8;color:#ad3946}.badge.blue{background:#e7f0ff;color:#3868ab}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:10px}.card{padding:22px}.card .label{font-size:.85rem;color:var(--muted);display:flex;justify-content:space-between}.card .value{font-size:2rem;letter-spacing:-1px;font-weight:650;margin:14px 0 6px}.card .foot{font-size:.78rem;color:#6c818e}.mini-icon{background:#e7f5f0;color:#16816a;padding:5px 8px;border-radius:6px}.two-col{display:grid;grid-template-columns:1.65fr 1fr;gap:22px;margin-bottom:24px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:22px;border-bottom:1px solid var(--line);gap:15px}.panel-body{padding:22px}.banner{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;border:1px solid #d5e7e4;border-radius:8px;background:#edf7f5;margin:0 0 24px;font-size:.85rem;line-height:1.6;color:#315e62}.banner strong{display:block;color:#0f625b;margin-bottom:3px}.banner.warn{background:#fff8e8;border-color:#f1dfb8;color:#85682d}.banner.warn strong{color:#8c621c}.flow{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:25px 22px}.flow-step{border-top:3px solid #c5e4dc;padding-top:14px}.flow-step strong{display:block;font-size:1.5rem;margin:7px 0}.flow-step span{font-size:.78rem;color:var(--muted)}.flow-step b{font-size:.82rem;color:#28756d}.list-row{padding:16px 22px;display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #eef2f4;font-size:.85rem;align-items:center}.list-row:last-child{border-bottom:0}.list-row small{display:block;color:var(--muted);margin-top:6px}.toolbar{display:flex;gap:12px;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line);align-items:center;flex-wrap:wrap}.filters{display:flex;gap:10px;flex-wrap:wrap}.toolbar input{width:250px}.toolbar input,.toolbar select{padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:white;font-size:.85rem}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.84rem;white-space:nowrap}th{font-weight:600;color:#6b808d;background:#f8fafb;font-size:.73rem;letter-spacing:.25px;padding:14px 18px;border-bottom:1px solid var(--line)}td{padding:17px 18px;border-bottom:1px solid #edf1f3;color:#385665}td strong{color:#203f50;font-weight:600}td small{display:block;color:#7e919c;font-size:.76rem;margin-top:5px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fbfb}.num{text-align:right;font-variant-numeric:tabular-nums}.empty{text-align:center;padding:60px 24px;color:var(--muted);white-space:normal}.empty .empty-icon{font-size:2.2rem;color:#99bbb9;margin-bottom:15px}.empty h3{color:#315663;margin-bottom:8px}.empty p{font-size:.88rem;max-width:460px;margin:0 auto 20px}.pagination{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;font-size:.8rem;color:var(--muted)}.footer{font-size:.73rem;color:#8799a3;display:flex;justify-content:space-between;margin-top:26px;gap:20px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field-grid .wide{grid-column:1/-1}label{font-size:.83rem;font-weight:600;display:grid;gap:7px;color:#3b5c69}input,select,textarea{width:100%;padding:10px 12px;border:1px solid #cfdde2;border-radius:6px;color:#234654;background:white;min-width:0}input[type=checkbox]{width:16px;height:16px;accent-color:var(--teal)}textarea{min-height:130px;resize:vertical;font-family:Consolas,monospace;font-size:.82rem;line-height:1.5}label.check{display:flex;align-items:center;gap:10px;font-weight:500}.form-section{margin:26px 0;border-top:1px solid var(--line);padding-top:22px}.form-section h3{color:var(--teal)}.hint{font-size:.8rem;line-height:1.6;color:var(--muted)}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.auth-visual{background:var(--navy);padding:60px;display:flex;flex-direction:column;justify-content:center;color:#fff}.auth-visual .brand{padding:0;margin-bottom:70px}.auth-visual h1{font-size:3rem;line-height:1.15;max-width:530px}.auth-visual p{color:#a3c2ce;max-width:470px}.auth-path{display:flex;gap:10px;margin-top:38px;flex-wrap:wrap}.auth-path span{border:1px solid #3a5d6b;border-radius:6px;padding:12px;font-size:.8rem;color:#89dbc8}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-card{width:100%;max-width:400px}.auth-card h1{font-size:1.8rem}.auth-card form{display:grid;gap:20px;margin-top:30px}.auth-card .primary{padding:13px}.auth-foot{margin-top:35px;color:#7b929e;font-size:.78rem}.loading{padding:60px;color:var(--teal)}#notice{position:fixed;right:24px;bottom:24px;padding:16px 20px;border-radius:8px;background:#173d4b;color:#fff;max-width:520px;z-index:20;display:none;box-shadow:0 5px 30px #102c3c33;font-size:.88rem;line-height:1.5}#notice.show{display:block}dialog{border:1px solid var(--line);border-radius:12px;padding:28px;max-width:800px;width:calc(100% - 40px);max-height:90vh;box-shadow:0 24px 100px #102c3c44}dialog::backdrop{background:#102c3c77}dialog h2{font-size:1.3rem;margin-bottom:12px}pre{background:#112e3e;color:#c7e5df;padding:22px;border-radius:8px;overflow:auto;max-height:650px;font-size:.8rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.detail-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px}.invoice-sheet{padding:30px}.invoice-header{display:flex;justify-content:space-between;border-bottom:2px solid #e1eeeb;padding-bottom:25px;margin-bottom:25px}.invoice-header h2{font-size:1.5rem}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:25px;font-size:.85rem;line-height:1.6}.invoice-parties .muted{color:var(--muted)}.totals{margin-left:auto;max-width:300px;display:grid;gap:12px;padding:24px 0}.totals div{display:flex;justify-content:space-between}.totals .grand{padding-top:15px;border-top:1px solid var(--line);font-weight:700;font-size:1.15rem}.finding{padding:15px 0;border-bottom:1px solid var(--line);font-size:.83rem;line-height:1.55}.finding b{display:block;color:#a85430}.finding small{color:var(--muted)}.tabs{display:flex;border-bottom:1px solid var(--line);gap:15px;padding:0 22px}.tabs button{border:0;border-radius:0;padding:15px 5px;color:var(--muted)}.tabs button.active{border-bottom:2px solid var(--teal);color:var(--teal)}.detail-meta{display:grid;gap:13px;font-size:.83rem}.detail-meta div{display:flex;justify-content:space-between;gap:10px}.detail-meta span{color:var(--muted)}.timeline{border-left:2px solid #d6e8e3;padding-left:16px;margin-top:20px}.timeline-item{margin:0 0 22px;font-size:.82rem;line-height:1.55}.timeline-item b{display:block}.timeline-item small{display:block;color:var(--muted);margin-top:5px}.status-row{display:flex;gap:10px;align-items:center;margin-bottom:25px}.logo-resource{width:105px;object-fit:contain}.error-text{color:#b33f4c;font-size:.9rem;margin:16px 0}.text-break{white-space:normal;max-width:400px;overflow-wrap:anywhere}.mobile-menu{display:none}details{margin:20px 0}summary{cursor:pointer;font-weight:600;color:var(--teal);padding:10px 0}details .field-grid{margin-top:15px}
.timeline-item{overflow-wrap:anywhere}.detail-layout>aside,.detail-layout>.panel{min-width:0}
@media(min-width:1600px){.workspace{padding:40px 48px}.topbar{padding:0 48px}}@media(max-width:1100px){.layout{grid-template-columns:210px 1fr}.sidebar{width:210px;padding:25px 12px}.workspace{padding:25px 22px}.topbar{padding:0 22px}.cards{gap:12px}.card{padding:16px}.two-col{grid-template-columns:1fr}.detail-layout{grid-template-columns:1fr}.identity{display:none}.pagehead{align-items:flex-start}}@media(max-width:760px){.layout{grid-template-columns:1fr}.sidebar{display:none}.main{grid-column:1}.mobile-menu{display:inline-block;padding:8px 10px}.sidebar.open{display:flex;z-index:10;top:70px;height:calc(100vh - 70px);width:245px}.topbar{height:70px;padding:0 16px;gap:8px}.topbar>.actions{flex-wrap:nowrap;gap:6px;min-width:0}.topbar select{min-width:0;max-width:170px}.topbar-right{gap:10px;flex-shrink:0}.topbar-right .badge{display:none}.topbar-right button{font-size:.75rem;padding:4px 0;white-space:nowrap}.avatar{display:none}.workspace{padding:24px 16px}.pagehead{flex-direction:column;gap:16px}.cards{grid-template-columns:repeat(2,1fr)}.field-grid{grid-template-columns:1fr}.flow{grid-template-columns:repeat(2,1fr);gap:24px}.auth{grid-template-columns:1fr}.auth-visual{padding:30px}.auth-visual h1{font-size:2rem}.auth-visual .brand{margin-bottom:25px}.auth-visual p,.auth-path{display:none}.auth-form{padding:30px}.toolbar input{width:100%}.filters{width:100%}.invoice-parties{grid-template-columns:1fr}.footer{flex-direction:column;gap:6px}.card .label{font-size:.8rem}}
