:root{--navy:#172e43;--navy2:#213f59;--gold:#e5ad42;--text:#20354a;--muted:#6f8091;--line:#e2e8ee;--bg:#f4f6f9;--blue:#287bb7;--green:#1e8b71;--radius:12px}
*{box-sizing:border-box}body{margin:0;font:14px/1.55 "Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg)}a{color:#236b9e;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}svg{width:20px;height:20px;flex-shrink:0}strong{font-weight:650}small{font-size:12px}.block{display:block}.muted{color:var(--muted)}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.positive{color:var(--green)}.danger-text{color:#ae3d3d}.warning-text{color:#956315}
.sidebar{position:fixed;inset:0 auto 0 0;width:250px;z-index:20;background:var(--navy);color:#d3dde5;display:flex;flex-direction:column;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;padding:28px 23px 26px;color:#fff;letter-spacing:1.1px;font-weight:700}.brand:hover{text-decoration:none}.brand small{display:block;color:#95adbe;font-size:9px;letter-spacing:1.8px;margin-top:4px}.brand-mark{position:relative;display:grid;place-items:center;width:49px;height:45px;border:1px solid #e5ad42;border-radius:10px;color:#f2c469;letter-spacing:-1px;font-size:16px}.brand-mark span{position:absolute;right:-4px;bottom:-3px;width:14px;height:14px;border:3px solid var(--navy);border-radius:50%;background:var(--gold)}nav{padding:0 12px}.nav-group{margin:23px 15px 8px;font-size:9px;letter-spacing:1.7px;font-weight:700;color:#7e99ad}.nav-link{display:flex;gap:12px;align-items:center;padding:11px 13px;margin:3px 0;border-radius:7px;color:#b8c9d7;font-size:12px}.nav-link:hover{background:#213e56;text-decoration:none;color:white}.nav-link.active{background:#2c465a;color:white;box-shadow:inset 3px 0 0 var(--gold)}.nav-link.active svg{color:#f2c46e}.nav-link svg{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding:28px 25px 22px;color:#adc1cf;font-size:11px}.sidebar-bottom small{display:block;margin:6px 0 0 16px;color:#7d98ab;font-size:10px}.live-dot{display:inline-block;width:7px;height:7px;background:#4bb394;border-radius:50%;margin-right:8px;box-shadow:0 0 0 3px #4bb39416}.workspace{margin-left:250px}.topbar{height:83px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:16px}.breadcrumb{color:#4c6275;font-size:12px}.breadcrumb>span{padding:0 12px;color:#c1ccd5}.user-info{display:flex;align-items:center;gap:10px;font-size:12px}.user-info small{display:block;color:var(--muted);font-size:10px}.user-info form{margin-left:14px}.avatar{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#eaf1f7;font-weight:700;color:#406987}.text-button{border:0;background:none;color:#346780;font-size:12px;padding:5px;white-space:nowrap}.icon-button{border:0;background:none;padding:4px;font-size:22px}.mobile-menu{display:none}main{padding:32px 36px 20px;max-width:1760px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{margin:0 0 5px;font-size:9px;font-weight:700;letter-spacing:1.8px;color:#8b9aa7}h1{font-size:27px;letter-spacing:-.7px;line-height:1.3;margin:0 0 8px;font-weight:680}.subtitle{margin:0;font-size:12px;color:var(--muted)}h2{font-size:16px;margin:0;font-weight:650;letter-spacing:-.2px}h3{font-size:16px}.actions{display:flex;gap:10px;flex-wrap:wrap}.button{border:1px solid transparent;border-radius:7px;padding:10px 16px;display:inline-flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.5}.button:hover{text-decoration:none;filter:brightness(.97)}.button svg{width:17px;height:17px}.button.primary{background:var(--navy);color:#fff}.button.secondary{background:#fff;border-color:#d9e2e9;color:#3e596d}.button.danger{background:#b34545;color:white}.button.small{padding:6px 11px;font-size:11px}.period-strip{display:flex;align-items:center;padding:12px 16px;background:#eaf0f5;border:1px solid #e0e7ed;border-radius:7px;color:#537084;font-size:11px;margin-bottom:24px}.period-strip a{margin-left:auto;display:flex;align-items:center;gap:8px}.period-strip svg{width:14px;height:14px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;margin-bottom:25px}.stat-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 20px}.stat-card p{font-size:11px;color:#738390;margin:3px 0 14px}.stat-card strong{font-size:31px;font-weight:650;line-height:1}.stat-icon{position:absolute;right:18px;bottom:24px;width:43px;height:43px;display:grid;place-items:center;border-radius:10px}.stat-icon svg{width:23px;height:23px}.blue{background:#e9f1f9;color:#4483b1}.green{background:#e6f4ee;color:#3a9d7c}.amber{background:#fcf2dd;color:#b48a2e}.violet{background:#efebfa;color:#8d76b2}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:23px;overflow:hidden;box-shadow:0 2px 3px #263d4c03}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 23px 18px}.panel-heading p{margin:4px 0 0;color:var(--muted);font-size:11px}.panel-heading a{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}.panel-heading svg{width:14px;height:14px}.business-summary{padding:4px 23px 10px}.business-summary>div{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #f0f3f6}.business-summary>div:last-child{border:0}.business-summary span{font-size:12px;color:var(--muted)}.business-summary strong{font-size:14px}.panel-note{margin:0 23px;font-size:10px;color:#8999a6}.panel-link{display:flex;align-items:center;justify-content:space-between;padding:17px 23px;margin-top:18px;border-top:1px solid var(--line);font-size:12px}.panel-link svg{width:16px;height:16px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{padding:12px 18px;background:#f7f9fb;border-top:1px solid #edf1f5;border-bottom:1px solid var(--line);color:#748591;font-size:10px;font-weight:650;white-space:nowrap}td{padding:15px 18px;border-bottom:1px solid #eef2f5;vertical-align:middle;max-width:340px}td small{font-size:10px;line-height:1.6;margin-top:3px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfd}.stock-number{font-weight:700;color:#244d6a}.strong{font-weight:650}.badge{display:inline-block;border-radius:5px;padding:4px 8px;font-size:10px;line-height:1.4;white-space:nowrap;background:#edf1f5;color:#6f8190}.badge.success{background:#e7f4ed;color:#258462}.badge.info{background:#eaf2f9;color:#3a7ca8}.badge.warning{background:#fff2d9;color:#9e7624}.badge.danger{background:#fae8e8;color:#b04444}.empty-state{padding:42px 25px;text-align:center;color:#8596a4}.empty-state>svg{width:37px;height:37px;color:#b2c1cd;margin-bottom:5px}.empty-state h3{margin:6px;color:#4c6476;font-size:15px}.empty-state p{font-size:12px;max-width:480px;margin:7px auto 20px}.pagination{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-top:1px solid #edf1f5;color:#8596a4;font-size:11px}.pagination>div{display:flex;gap:8px}.notice{padding:14px 18px;border-radius:8px;border:1px solid #d9eae1;background:#edf7f2;color:#317a5a;font-size:12px;margin-bottom:20px}.notice.danger{background:#fff0f0;border-color:#f2d5d5;color:#a54545}.notice.info{background:#edf4fa;border-color:#dce8f1;color:#4c718c}.filter-bar{display:flex;align-items:end;flex-wrap:wrap;gap:14px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 20px;margin-bottom:20px}.filter-bar .field{margin:0;min-width:150px;flex:1}.filter-bar .field>span{font-size:10px}.filter-bar .button{min-height:40px}.search-form{display:flex;align-items:center;max-width:530px;gap:9px;margin-bottom:18px}.search-form>svg{color:#91a2b1;width:18px}.search-form input{padding:10px 12px;min-width:100px;flex:1}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{font-size:12px;font-weight:550;color:#4b6375}.field b{font-weight:400;color:#ae674b}.field small{font-size:10px;color:#8294a3;font-weight:400}.field input,.field select,.field textarea,.search-form input{border:1px solid #d9e2e9;background:#fff;border-radius:6px;color:#2c465a;min-height:41px;padding:10px 11px;max-width:100%;font-size:12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6797b8;outline:2px solid #95c4e540}.field input[readonly]{background:#f4f7f9;color:#7990a1}.field textarea{resize:vertical}.form-panel{padding:24px}.form-panel>h2,.form-panel>form>h2{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:22px}.full{grid-column:1/-1}.check-field{display:flex;align-items:center;gap:8px;color:#4b6375;font-size:12px}.form-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);margin-top:23px;padding-top:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 15px}.section-heading p{color:var(--muted);font-size:11px;margin:5px 0}.line-card{border:1px solid #e0e7ee;border-radius:9px;margin-bottom:16px;padding:16px 18px;background:#fcfdfe}.line-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:11px}.remove-line{color:#9b6262}.line-grid{display:grid;grid-template-columns:2.3fr .9fr 1fr 1fr;gap:14px}.line-grid .field>span{font-size:10px}.line-result{display:flex;align-items:center;justify-content:space-between;font-size:11px;border-top:1px dashed var(--line);margin-top:14px;padding-top:12px;color:#8292a1}.line-result strong{color:#43687e;margin-left:5px}.voucher-estimate{display:flex;align-items:center;justify-content:flex-end;gap:25px;padding:13px 0 22px}.voucher-estimate span{font-size:12px;color:#728695}.voucher-estimate strong{font-size:23px}.help-text{font-size:11px;color:#7c8f9f}.footer{padding:14px 36px 24px;font-size:10px;color:#8b9ba8;display:flex;justify-content:space-between;border-top:1px solid var(--line);margin:16px 36px 0;padding-left:0;padding-right:0}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:25px}.detail-grid span{display:block;font-size:10px;color:#8293a1;margin-bottom:4px}.detail-grid strong{font-size:13px}.voucher-detail>p,.voucher-detail>details,.voucher-detail>.notice{margin:20px 25px}.voucher-totals{margin:25px 25px 20px auto;max-width:370px}.voucher-totals>div{display:flex;justify-content:space-between;padding:8px 0;gap:30px;font-size:12px}.voucher-totals>div:last-child{border-top:1px solid var(--line);margin-top:5px;padding-top:15px;font-size:16px}.audit-detail{font-size:11px;max-width:380px;overflow-wrap:anywhere}summary{cursor:pointer;color:#a15858;font-size:12px}details>form{padding:18px 0}details .field{max-width:600px;margin-bottom:15px}.auth-shell{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;background:linear-gradient(145deg,#eaf0f5,#f8fafc)}.auth-card{background:#fff;padding:38px;border-radius:15px;border:1px solid var(--line);width:min(100%,450px);box-shadow:0 15px 50px #1c3e5810}.auth-card .brand{padding:0 0 28px;color:var(--navy)}.auth-card .brand small{color:#7c8f9f}.auth-card .brand-mark span{border-color:#fff}.auth-card h1{font-size:25px}.auth-card .field{margin-bottom:17px}.auth-card .button{width:100%;margin-top:6px}.auth-card .subtitle{margin-bottom:25px}.auth-footer{color:#93a2ae;text-align:center;font-size:10px;margin-top:22px}.install-card{width:min(100%,820px)}.install-card .form-grid{grid-template-columns:repeat(2,1fr)}.install-card h2{padding-top:20px;border-top:1px solid var(--line);margin:15px 0 18px}.install-card .field{margin:0}.install-card .notice{font-size:11px}.install-check{padding:10px 14px;background:#f0f6f3;border-radius:6px;margin-bottom:20px;font-size:11px}
@media(min-width:1500px){.line-grid{grid-template-columns:2.3fr .8fr .8fr .9fr 1.2fr 1.1fr .6fr}}
@media(max-width:1200px){.sidebar{width:220px}.workspace{margin-left:220px}.brand{padding-left:16px;font-size:12px}.brand-mark{width:42px;height:41px}.topbar{padding:0 24px}main{padding:27px 24px}.stat-grid{gap:12px}.stat-icon{width:33px;height:33px;right:12px}.stat-card{padding:18px 15px}.stat-card p{font-size:10px;max-width:110px}.dashboard-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.breadcrumb{font-size:10px}.user-info form{margin-left:2px}}
@media(max-width:800px){.sidebar{width:250px;transform:translateX(-100%);transition:transform .2s}.nav-open .sidebar{transform:translateX(0);box-shadow:20px 0 60px #172e4330}.workspace{margin-left:0}.mobile-menu{display:block}.topbar{height:68px;padding:0 18px}.breadcrumb{display:none}.user-info{margin-left:auto}main{padding:23px 16px}.page-heading{align-items:flex-start;flex-direction:column;gap:17px}h1{font-size:24px}.actions{width:100%}.period-strip{align-items:flex-start;flex-wrap:wrap;font-size:10px;gap:4px}.period-strip a{margin-left:12px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card strong{font-size:29px}.stat-card p{max-width:130px;font-size:10px}.stat-icon{bottom:18px;right:15px}.form-grid,.install-card .form-grid{grid-template-columns:1fr}.form-panel{padding:19px}.line-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.line-grid .item-field{grid-column:1/-1}.line-result{align-items:flex-start;gap:8px;flex-direction:column}.section-heading{align-items:flex-start}.section-heading p{max-width:220px}.section-heading h2{font-size:15px}.filter-bar{gap:12px;padding:15px}.filter-bar .field{min-width:120px}.filter-bar .button{width:100%}.panel-heading{padding:18px}.panel-heading>div>p{max-width:220px}.detail-grid{grid-template-columns:repeat(2,1fr);padding:20px;gap:17px}.footer{margin:14px 16px;gap:15px;font-size:9px}.auth-card{padding:27px}.search-form input{width:100px}td{padding:14px}th{padding:12px 14px}}
@media print{body{background:white;font-size:11px}.sidebar,.topbar,.actions,.footer,.no-print,.page-heading .eyebrow{display:none!important}.workspace{margin:0}main{padding:0}.panel{border:0;box-shadow:none}.voucher-detail .table-wrap{overflow:visible}table{font-size:10px}td,th{padding:8px}.page-heading{display:block}h1{font-size:21px}.voucher-totals{break-inside:avoid}.notice{border:1px solid #bbb}a{color:inherit;text-decoration:none}.detail-grid{padding:15px 0}.voucher-detail>p{margin:10px 0}}
