:root{--bg: #f3f5f7;--surface: #ffffff;--surface-2: #f8fafb;--text: #16202a;--muted: #5d6b7a;--subtle: #8895a3;--border: #e4e9ee;--border-strong: #cdd5dd;--primary: #1f6f4a;--primary-hover: #185a3b;--primary-tint: #e7f3ec;--primary-text: #ffffff;--ring: rgba(31, 111, 74, .28);--side-bg: #11251c;--side-text: #b9cfc3;--side-muted: #6f8d7d;--side-hover: rgba(255, 255, 255, .07);--side-active: rgba(255, 255, 255, .13);--amber-bg: #fff4d1;--amber-text: #7a5200;--amber-border: #f2d98a;--green-bg: #dcf3e5;--green-text: #11512b;--red-bg: #fde4e2;--red-text: #8c1d15;--red-border: #f3b4af;--radius: 8px;--radius-lg: 12px;--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);--shadow-md: 0 4px 14px rgba(16, 24, 40, .08);--shadow-lg: 0 18px 48px rgba(16, 24, 40, .22);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:15px;line-height:1.5;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}h1,h2,h3,h4{line-height:1.25}h1{font-size:1.55rem;font-weight:700;letter-spacing:-.015em;margin:0 0 1.1rem}h2{font-size:1.05rem;font-weight:650;margin:1.6rem 0 .7rem}h3{font-size:.98rem;font-weight:650}p{margin:0 0 .6rem}a{color:var(--primary);text-underline-offset:2px}a:hover{color:var(--primary-hover)}.muted{color:var(--muted)}.secondary{display:block;font-size:.78rem;color:var(--muted);font-weight:400}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}:focus-visible{outline:3px solid var(--ring);outline-offset:1px}button:focus-visible,a:focus-visible{outline-color:var(--primary);outline-width:2px}button,select,input,textarea{font:inherit;color:inherit}button,select,.button{min-height:40px;padding:0 1rem;border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);color:var(--text);font-weight:500;cursor:pointer;box-shadow:var(--shadow-sm);transition:background-color .12s,border-color .12s,box-shadow .12s,transform .06s}button:hover:not(:disabled),.button:hover{background:var(--surface-2);border-color:var(--subtle)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.button{display:inline-flex;align-items:center;gap:.4rem;text-decoration:none}.btn-primary,.button.btn-primary{background:var(--primary);border-color:var(--primary);color:var(--primary-text)}.btn-primary:hover:not(:disabled),.button.btn-primary:hover{background:var(--primary-hover);border-color:var(--primary-hover);color:var(--primary-text)}.btn-danger{background:var(--red-bg);color:var(--red-text);border-color:var(--red-border)}.btn-danger:hover:not(:disabled){background:#fbd3d0;border-color:var(--red-text)}td button,td .button{min-height:32px;padding:0 .75rem;font-size:.85rem}input:not([type=checkbox]):not([type=radio]),textarea{width:100%;min-height:42px;padding:0 .8rem;border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);font-weight:400;transition:border-color .12s,box-shadow .12s}input:not([type=checkbox]):not([type=radio]):hover{border-color:var(--subtle)}input:not([type=checkbox]):not([type=radio]):focus,select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--ring)}input::placeholder{color:var(--subtle)}select{appearance:none;padding-right:2.1rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235d6b7a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .8rem center}input[type=checkbox],input[type=radio]{width:1.1rem;height:1.1rem;min-height:0;margin:0;accent-color:var(--primary);cursor:pointer}.field{display:flex;flex-direction:column;gap:.35rem;font-size:.88rem;font-weight:600;color:var(--text)}.field input,.field select{font-size:.95rem}.row>.field{flex:1 1 200px}.field:has(>input[type=checkbox]){flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:.5rem;font-weight:500}label:has(>input[type=checkbox]){display:inline-flex;align-items:center;gap:.5rem;min-height:42px;font-weight:500;cursor:pointer}.field-error{margin:0;color:var(--red-text);font-size:.82rem;font-weight:500}.stack{display:flex;flex-direction:column;gap:1rem;max-width:760px}.row{display:flex;align-items:flex-end;gap:.75rem;flex-wrap:wrap}.row .grow{flex:1 1 240px}.filters{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end;margin-bottom:1rem;padding:.9rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.content form.stack{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.4rem;box-shadow:var(--shadow-sm)}.dialog form.stack,.dialog .stack{max-width:none;background:transparent;border:0;padding:0;box-shadow:none}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;box-shadow:var(--shadow-sm)}.loading{padding:1.5rem .25rem;color:var(--muted);display:flex;align-items:center;gap:.6rem}.loading:before{content:"";width:16px;height:16px;border:2px solid var(--border-strong);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.form-error{margin:0;padding:.65rem .85rem;border-radius:var(--radius);background:var(--red-bg);color:var(--red-text);border:1px solid var(--red-border);font-weight:500}.badge{display:inline-flex;align-items:center;gap:.35rem;padding:.12rem .6rem;border-radius:999px;font-size:.78rem;font-weight:650;line-height:1.4;background:#eaeef2;color:#3d4b5a;white-space:nowrap}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.7}.badge-held{background:var(--amber-bg);color:var(--amber-text)}.badge-ok{background:var(--green-bg);color:var(--green-text)}.badge-bad{background:var(--red-bg);color:var(--red-text)}.badge-block{display:block;border-radius:var(--radius);padding:.75rem .95rem;font-weight:500;margin:.75rem 0;white-space:normal}.badge-block:before{display:none}.badge-block.badge-held{border:1px solid var(--amber-border)}.badge-block.badge-ok{border:1px solid #b9e3c8}.cell-wrap{white-space:normal;min-width:6.5rem}.cell-wrap .badge{white-space:normal;border-radius:var(--radius);margin:.1rem .25rem .1rem 0}.table-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}table{width:100%;border-collapse:collapse}th,td{padding:.7rem .8rem;text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;vertical-align:middle}th{font-size:.74rem;font-weight:650;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:var(--surface-2)}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fafcfb}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}td a{font-weight:550}.row-low td,.row-low:hover td{background:var(--amber-bg)}.row-voided td{color:var(--subtle);text-decoration:line-through}.row-voided td:last-child{text-decoration:none}.diff-bad{color:var(--red-text);background:var(--red-bg);font-weight:700}.shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}.content{min-width:0;padding:2rem 2.25rem 3rem}.page{max-width:1180px;margin:0 auto}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:var(--side-bg);color:var(--side-text);overflow-y:auto;z-index:30}.sidebar-brand{display:flex;align-items:center;gap:.7rem;padding:1rem 1.25rem .75rem;color:#fff;font-weight:700;font-size:1.1rem;letter-spacing:-.01em}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#2f9c68,#1f6f4a);color:#fff;font-weight:800;box-shadow:inset 0 0 0 1px #ffffff2e}.sidebar nav{flex:1;padding:.25rem .75rem 1rem;display:flex;flex-direction:column;gap:2px}.nav-group{margin:.9rem .7rem .3rem;font-size:.7rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--side-muted)}.nav-group:first-child{margin-top:.4rem}.sidebar nav a{display:flex;align-items:center;gap:.7rem;padding:.45rem .7rem;border-radius:var(--radius);color:var(--side-text);text-decoration:none;font-weight:500;transition:background-color .12s,color .12s}.sidebar nav a:hover{background:var(--side-hover);color:#fff}.sidebar nav a.active{background:var(--side-active);color:#fff;font-weight:600;box-shadow:inset 3px 0 #4cc38a}.nav-icon{flex:none;width:18px;height:18px;opacity:.85}.sidebar nav a.active .nav-icon{opacity:1;color:#6fdca5}.sidebar-footer{position:sticky;bottom:0;background:var(--side-bg);padding:.75rem .9rem .9rem;border-top:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;gap:.7rem}.user-chip{display:flex;align-items:center;gap:.65rem;min-width:0}.avatar{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#2a4a3a;color:#d8efe3;font-weight:700;font-size:.9rem}.whoami{color:#e5f1ea;font-size:.85rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis}.sidebar-actions{display:grid;grid-template-columns:1fr;gap:.5rem}.sidebar-actions select,.sidebar-actions button{width:100%;min-height:36px;font-size:.85rem;white-space:nowrap;padding-left:.6rem;padding-right:.6rem;background-color:#ffffff14;border-color:#ffffff29;color:#e5f1ea;box-shadow:none}.sidebar-actions select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b9cfc3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.sidebar-actions select{padding-right:2rem;background-position:right .8rem center}.sidebar-actions select option{color:var(--text)}.sidebar-actions button:hover:not(:disabled){background:#ffffff29;border-color:#ffffff4d}.mobilebar,.scrim{display:none}@media(max-width:960px){.shell{display:block}.mobilebar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:.55rem .9rem;background:var(--side-bg);color:#fff}.mobilebar .sidebar-brand{padding:0}.menu-button{min-height:38px;background:#ffffff1a;border-color:#fff3;color:#fff;box-shadow:none}.menu-button:hover:not(:disabled){background:#ffffff2e;border-color:#ffffff59}.sidebar{position:fixed;inset:0 auto 0 0;width:min(290px,86vw);transform:translate(-102%);visibility:hidden;transition:transform .2s ease,visibility .2s}.sidebar.open{transform:none;visibility:visible;box-shadow:var(--shadow-lg)}.scrim.open{display:block;position:fixed;inset:0;z-index:25;background:#08140e80}.content{padding:1.1rem 1rem 2.5rem}h1{font-size:1.35rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.login{position:relative;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.1rem;padding:1.5rem;background:radial-gradient(1000px 520px at 50% -10%,#d8eee2 0%,var(--bg) 62%)}.login-lang{position:absolute;top:1rem;right:1rem}.login-brand{display:flex;align-items:center;gap:.7rem;font-size:1.4rem;font-weight:750;letter-spacing:-.02em}.login-brand .brand-mark{width:42px;height:42px;font-size:1.2rem}.login-card{width:100%;max-width:400px;display:flex;flex-direction:column;gap:1rem;padding:1.75rem;box-shadow:var(--shadow-md)}.login-card h1{margin:0 0 .25rem;font-size:1.25rem}.login-card label{display:flex;flex-direction:column;gap:.35rem;font-size:.88rem;font-weight:600}.login-card button[type=submit]{min-height:44px;font-size:1rem}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}.toolbar h1{margin:0}.dialog-backdrop{position:fixed;inset:0;background:#0c161e80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:1rem;z-index:50;animation:fade .14s ease-out}.dialog{width:100%;max-width:460px;max-height:calc(100vh - 2rem);overflow-y:auto;border-radius:14px;padding:1.5rem;box-shadow:var(--shadow-lg);animation:pop .16s ease-out}.dialog h2{margin:0 0 .9rem;font-size:1.15rem}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translateY(8px) scale(.98)}}.unit-editor{display:flex;flex-direction:column;gap:.8rem;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-2);padding:1rem 1.1rem 1.1rem}.unit-editor legend{padding:0 .4rem;font-weight:650;color:var(--muted);font-size:.85rem}.unit-card h3,.unit-card h4{margin:.4rem 0}.approval-card h2{margin:0 0 .5rem;font-size:1.1rem}.approval-figures{display:flex;gap:2.2rem;margin:.7rem 0}.approval-figures dt{font-size:.74rem;font-weight:650;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.approval-figures dd{margin:.1rem 0 0;font-size:1.15rem;font-weight:700;font-variant-numeric:tabular-nums}.label-picker{list-style:none;padding:0;margin:0 0 1rem;display:flex;flex-direction:column;gap:.3rem}.label-picker li{padding:.45rem .7rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.label-picker input{width:auto;min-height:0}.label-sheet{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.label{width:6.5cm;padding:.4cm;border:1px dashed var(--border-strong);background:#fff;color:#000;break-inside:avoid;display:flex;flex-direction:column;align-items:center;gap:.15cm}.label-name{font-weight:600;text-align:center}.label-price{font-size:1.3rem;font-weight:700}.label svg{max-width:100%}.stack pre,pre.card{margin:0;white-space:pre-wrap;overflow-x:auto;font-size:.85rem}.dash-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.1rem}.dash-grid .card h2{margin:0 0 .8rem;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.dash-big{font-size:2.1rem;font-weight:750;letter-spacing:-.02em;margin:0 0 .3rem;font-variant-numeric:tabular-nums}.dash-big a{font-size:1.4rem;letter-spacing:-.01em;color:var(--text);text-decoration:none}.dash-big a:after{content:" →";color:var(--primary)}.dash-big a:hover{color:var(--primary);text-decoration:underline}.dash-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}.dash-money{border:0;padding:0;margin:0 0 .9rem;display:flex;flex-direction:column;gap:.2rem}.dash-money legend{padding:0;font-weight:650}.bars{display:flex;align-items:flex-end;gap:4px;height:130px;padding-top:.5rem}.bar{flex:1 1 0;min-width:6px;background:linear-gradient(180deg,#3fae7c,var(--primary));border-radius:4px 4px 0 0}.bar-labels{display:flex;gap:4px;font-size:.7rem;color:var(--muted);margin-top:.3rem}.bar-labels span{flex:1 1 0;text-align:center;min-width:6px}.stm-summary{display:flex;flex-wrap:wrap;gap:2rem;margin-bottom:1rem}.stm-summary div{display:flex;flex-direction:column}.stm-summary strong{font-size:1.5rem;font-weight:750;letter-spacing:-.01em;font-variant-numeric:tabular-nums}@media print{.sidebar,.mobilebar,.scrim,.no-print{display:none!important}.shell{display:block}.content{padding:0}.page{max-width:none}body{background:#fff}.label{border-color:#000}table{font-size:12pt}.table-wrap,.card{box-shadow:none}}
