:root{--bg:#d9deea;--panel:#fff;--panel-soft:#edf2e9;--text:#182018;--muted:#657061;--line:#dfe7da;--accent:#2f6f4e;--accent-dark:#24573d;--warning:#fff4d8;--danger:#b3261e;--shadow:0 10px 26px #1c2a1714;--radius:8px;--gap:12px}*{box-sizing:border-box}html,body{height:100%;min-height:100%}body{background:var(--bg);color:var(--text);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}button,input,select,textarea{font:inherit}button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:7px;align-items:center;gap:8px;min-height:36px;padding:8px 12px;font-weight:700;display:inline-flex}button:hover{background:var(--accent-dark)}button:disabled{cursor:not-allowed;opacity:.65}input,select,textarea{border:1px solid var(--line);color:var(--text);background:#fff;border-radius:7px;width:100%;min-height:38px;padding:8px 10px}textarea{resize:vertical;min-height:84px}label{color:var(--muted);gap:7px;font-size:.86rem;font-weight:700;display:grid}table{border-collapse:collapse;width:100%;min-width:760px}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:10px 12px}th{color:var(--muted);text-transform:uppercase;font-size:.78rem}.app-shell{background:#fff;grid-template-columns:286px minmax(0,1fr);height:100vh;min-height:100vh;display:grid;overflow:hidden}.sidebar{color:#171a1b;background:#fff;border-right:1px solid #edf0f2;flex-direction:column;gap:26px;height:100vh;min-height:0;padding:30px 22px;display:flex;overflow:hidden}.sidebar-brand{align-items:center;gap:12px;display:flex}.sidebar-brand div{gap:2px;min-width:0;display:grid}.sidebar-brand strong{overflow-wrap:anywhere;font-size:1.2rem;font-weight:850;line-height:1.2;display:block}.sidebar-brand span,.nav-heading{color:#8b9295;font-size:.82rem}.sidebar nav{scrollbar-color:#cfd8cc transparent;scrollbar-width:thin;flex:1;gap:6px;min-height:0;padding-right:4px;display:grid;overflow:hidden auto}.sidebar nav::-webkit-scrollbar{width:6px}.sidebar nav::-webkit-scrollbar-thumb{background:#cfd8cc;border-radius:999px}.sidebar nav::-webkit-scrollbar-track{background:0 0}.nav-group{gap:6px;display:grid}.sidebar-footer{border-top:1px solid #edf0f2;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:auto;padding-top:16px;display:grid}.sidebar-footer div{gap:2px;min-width:0;display:grid}.sidebar-footer strong{text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;line-height:1.2;display:block;overflow:hidden}.nav-heading{text-transform:uppercase;align-items:center;gap:8px;margin:12px 0 4px;display:flex}.nav-group button{color:#232629;background:0 0;border-radius:16px;justify-content:flex-start;min-height:46px;padding:12px 14px}.nav-group button:hover,.nav-group button.active{color:#121416;background:#f5f5f5}.module-subnav{border:1px solid var(--line);border-radius:var(--radius);background:#f5f7f3;justify-self:start;align-items:center;gap:4px;padding:4px;display:inline-flex}.module-subnav button{color:var(--muted);background:0 0;border-radius:6px;min-height:34px;padding:7px 12px}.module-subnav button:hover,.module-subnav button.active{color:var(--text);background:#fff}.main-area{background:#fff;align-content:start;gap:0;width:100%;max-width:none;height:100vh;padding:0;display:grid;overflow-y:auto}.module-header,.toolbar,.form-actions,.user-menu,.row-actions{align-items:center;display:flex}.module-header,.toolbar{justify-content:space-between}.module-header h2,.nfe-preview h3{margin:2px 0 0}.user-menu,.form-actions,.row-actions{gap:8px}.eyebrow{color:var(--accent);letter-spacing:0;text-transform:uppercase;font-size:.78rem;font-weight:800}.dashboard{gap:var(--gap);display:grid}.dashboard-redesign{gap:14px}.operation-hero{border-radius:var(--radius);box-shadow:var(--shadow);color:#f5fbf1;background:#1f3326;border:1px solid #2d4935;grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr);gap:12px;min-height:164px;padding:18px;display:grid;overflow:hidden}.operation-hero-main,.operation-hero-side>div{align-content:space-between;display:grid}.operation-hero-main{min-height:126px}.operation-hero span,.status-strip span,.finance-grid span,.tank-status span{font-size:.82rem;font-weight:800}.operation-hero span,.operation-hero small{color:#bdd0b8}.operation-hero-main strong{font-size:clamp(2.35rem,4vw,4.1rem);line-height:.95}.operation-hero-main small{font-weight:700}.operation-hero-side{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.operation-hero-side>div{background:#ffffff14;border:1px solid #ffffff21;border-radius:8px;min-height:126px;padding:13px}.operation-hero-side strong{overflow-wrap:anywhere;font-size:clamp(1.25rem,1.7vw,1.75rem);line-height:1.08}.status-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.status-strip article{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px;min-height:74px;padding:11px 12px;display:grid}.status-strip svg{color:#5a7548;grid-row:span 2}.status-strip span{color:var(--muted)}.status-strip strong{overflow-wrap:anywhere;font-size:1.08rem;line-height:1.12}.dashboard-workbench{gap:var(--gap);grid-template-columns:1.25fr 1fr 1fr;display:grid}.ops-panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);gap:12px;min-width:0;min-height:248px;padding:14px;display:grid;overflow:hidden}.ops-panel header{justify-content:space-between;align-items:center;display:flex}.ops-panel h2{margin:3px 0 0;font-size:1rem}.ops-panel svg{color:var(--accent)}.production-panel{grid-row:span 2;min-height:508px}.finance-panel{background:#f8f4ea;border-color:#e6dcc7}.fuel-panel{background:#eef5f6;border-color:#d4e3e5}.progress-list{align-content:start;gap:12px;display:grid}.progress-row{gap:7px;display:grid}.progress-row>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.progress-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.progress-row span{color:var(--muted);font-size:.88rem;font-weight:800}.progress-track{background:#e4ebdf;border-radius:999px;height:9px;overflow:hidden}.progress-track span{border-radius:inherit;background:#5a7548;min-width:4px;height:100%;display:block}.compact-progress{gap:10px}.finance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.finance-grid div{border-top:1px solid #e4d8bd;gap:5px;min-height:78px;padding-top:10px;display:grid}.finance-grid span,.tank-status span,.timeline-list span,.timeline-list small{color:var(--muted)}.finance-grid strong{overflow-wrap:anywhere;font-size:1.08rem;line-height:1.14}.timeline-list{gap:0;display:grid;overflow:auto}.timeline-list>div{border-top:1px solid var(--line);gap:3px;min-height:58px;padding:8px 0;display:grid}.timeline-list span,.timeline-list small{font-size:.84rem;font-weight:700}.tank-status{grid-template-columns:74px minmax(0,1fr);align-items:center;gap:15px;display:grid}.tank-meter{background:#d9e8ea;border:1px solid #c5d9dc;border-radius:8px;align-items:end;height:148px;padding:5px;display:flex;overflow:hidden}.tank-meter span{background:#43808a;border-radius:6px;width:100%;display:block}.tank-status strong{margin-bottom:6px;font-size:1.65rem;line-height:1.05;display:block}.tank-status small{color:#43808a;margin-top:10px;font-weight:800;display:block}.dashboard-clean{gap:12px}.summary-ribbon{grid-template-columns:1.35fr repeat(5,minmax(0,1fr));gap:10px;display:grid}.summary-tile{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);gap:5px;min-width:0;min-height:104px;padding:12px;display:grid}.summary-tile.main{background:#eef4ec;border-color:#d3e1ce}.summary-tile svg,.clean-panel svg{color:var(--accent)}.summary-tile span,.summary-tile small,.clean-panel header span,.money-stack span,.tank-line span,.tank-line small{color:var(--muted);font-size:.82rem;font-weight:800}.summary-tile strong{overflow-wrap:anywhere;font-size:clamp(1.1rem,1.35vw,1.5rem);line-height:1.12}.summary-tile.main strong{font-size:clamp(1.55rem,2.1vw,2.15rem)}.clean-dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.clean-panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);gap:12px;min-width:0;min-height:246px;padding:14px;display:grid;overflow:hidden}.clean-panel.span-2{grid-column:span 2}.clean-panel header{justify-content:space-between;align-items:start;display:flex}.clean-panel h2{margin:0 0 4px;font-size:1rem}.clean-panel p{color:var(--muted);margin:0}.money-stack{gap:8px;display:grid}.money-stack div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding-top:8px;display:flex}.money-stack strong{overflow-wrap:anywhere;text-align:right;font-size:1rem;line-height:1.15}.tank-line{align-content:center;gap:12px;display:grid}.tank-line strong{margin-bottom:5px;font-size:1.6rem;line-height:1.1;display:block}.wide-progress{background:#e4ebdf;border-radius:999px;height:12px;overflow:hidden}.wide-progress span{background:var(--accent);border-radius:inherit;min-width:4px;height:100%;display:block}.dashboard-executive{gap:12px}.executive-board,.executive-panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.executive-board{gap:12px;padding:14px;display:grid}.executive-board-header,.executive-panel header{justify-content:space-between;align-items:center;display:flex}.executive-board-header h2,.executive-panel h2{margin:0 0 3px;font-size:1rem}.executive-board-header span,.executive-panel header span,.executive-metrics span,.executive-metrics small,.ledger-list span,.fuel-summary span,.fuel-summary small,.executive-list span,.executive-list small,.alert-list span,.alert-list small{color:var(--muted);font-size:.82rem;font-weight:800}.executive-board-header svg,.executive-panel svg{color:var(--accent)}.executive-metrics{border-top:1px solid var(--line);grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.executive-metrics div{gap:5px;min-height:88px;padding:12px;display:grid}.executive-metrics div+div{border-left:1px solid var(--line)}.executive-metrics strong{overflow-wrap:anywhere;font-size:clamp(1.15rem,1.5vw,1.65rem);line-height:1.12}.executive-layout{grid-template-columns:1.15fr .95fr .95fr;gap:12px;display:grid}.executive-panel{align-content:start;gap:12px;min-width:0;min-height:236px;padding:14px;display:grid;overflow:hidden}.executive-panel.production{grid-row:span 2;min-height:484px}.executive-panel p{color:var(--muted);margin:0}.ledger-list,.executive-list,.alert-list{gap:0;display:grid}.ledger-list div,.executive-list div,.alert-list div{border-top:1px solid var(--line);gap:4px;min-height:52px;padding:9px 0;display:grid}.ledger-list div{grid-template-columns:minmax(0,1fr) auto;align-items:center}.ledger-list span{color:var(--muted)}.ledger-list strong{text-align:right}.alert-list div{grid-template-columns:46px minmax(0,1fr)}.alert-list strong{color:var(--accent);grid-row:span 2;align-self:center;font-size:1.55rem;line-height:1}.fuel-summary{align-content:center;gap:11px;display:grid}.fuel-summary strong{margin-bottom:3px;font-size:1.7rem;line-height:1.1;display:block}.executive-split{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:12px;display:grid}.dashboard-simple{gap:12px}.metric-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.metric-card,.simple-panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;min-width:0;box-shadow:0 8px 20px #1c2a170f}.metric-card{gap:7px;min-height:136px;padding:14px;display:grid;position:relative}.metric-card:before{content:"";border-radius:8px 8px 0 0;height:4px;position:absolute;inset:0 0 auto}.metric-card.green:before,.metric-card.green .metric-icon{color:#2f6f4e;background:#e7f2e5}.metric-card.blue:before,.metric-card.blue .metric-icon{color:#28639c;background:#e7eff8}.metric-card.amber:before,.metric-card.amber .metric-icon{color:#9b681f;background:#fff1d8}.metric-card.red:before,.metric-card.red .metric-icon{color:#b3261e;background:#fae8e6}.metric-card.slate:before,.metric-card.slate .metric-icon{color:#566151;background:#e9eee8}.metric-icon{border-radius:8px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.metric-card span,.metric-card small,.simple-panel header span,.simple-rows span,.simple-list span,.simple-list small,.tank-card-content span,.tank-card-content small{color:var(--muted);font-size:.82rem;font-weight:800}.metric-card strong{overflow-wrap:anywhere;font-size:clamp(1.2rem,1.45vw,1.55rem);line-height:1.12}.simple-panel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.simple-panel{align-content:start;gap:12px;min-height:252px;padding:14px;display:grid;overflow:hidden}.simple-panel.wide{grid-column:span 2}.simple-panel header{justify-content:space-between;align-items:center;display:flex}.simple-panel h2{margin:0 0 3px;font-size:1rem}.simple-panel svg{color:var(--accent)}.simple-panel p{color:var(--muted);margin:0}.simple-rows,.simple-list{gap:0;display:grid}.simple-rows div,.simple-list div{border-top:1px solid var(--line);gap:4px;min-height:52px;padding:9px 0;display:grid}.simple-rows div{grid-template-columns:minmax(0,1fr) auto;align-items:center}.simple-rows strong{text-align:right}.tank-card-content{align-content:center;gap:12px;display:grid}.tank-card-content strong{margin-bottom:4px;font-size:1.65rem;line-height:1.1;display:block}.tank-progress{height:11px}.dashboard-reference{gap:22px;padding:28px}.reference-heading h2{color:#050606;letter-spacing:0;margin:0 0 8px;font-size:clamp(2rem,3vw,3.2rem);font-weight:800;line-height:1.05}.reference-heading span{color:#969a9c;font-size:1.04rem;font-weight:600}.reference-top-grid{grid-template-columns:minmax(420px,.95fr) minmax(520px,1.35fr);gap:22px;display:grid}.reference-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.reference-stat-card{border:0;border-radius:20px;grid-template-rows:auto auto auto auto;align-content:start;gap:7px;min-height:154px;padding:20px 82px 20px 22px;display:grid;position:relative;overflow:hidden}.reference-stat-card.cream{background:#fbefe4}.reference-stat-card.mint{background:#edf7e9}.reference-stat-card.lavender{background:#eaf0ff}.reference-stat-card.aqua{background:#eaf5f4}.reference-card-action{color:#0c0d0e;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:26px;height:26px;min-height:26px;padding:0;display:flex;position:absolute;top:12px;right:12px}.reference-card-action:hover{background:#ffffff73}.reference-card-action:disabled{cursor:not-allowed;opacity:.45}.reference-stat-icon{color:#272b2e;height:22px;margin-bottom:4px}.reference-stat-card span{color:#151719;font-size:1.05rem;font-weight:750}.reference-stat-card strong{color:#050606;overflow-wrap:anywhere;margin-top:3px;font-size:clamp(1.65rem,2vw,2.3rem);font-weight:800;line-height:1}.reference-stat-card small{color:#6e7477;font-size:.86rem;font-weight:700}.reference-chart-card{color:#fff;background:#1f9d93;border-radius:20px;gap:14px;min-width:0;min-height:340px;padding:26px;display:grid;overflow:hidden}.reference-chart-card header{justify-content:space-between;align-items:start;display:flex}.reference-chart-card h3{margin:0 0 12px;font-size:1.8rem;font-weight:780}.reference-chart-card strong{margin-right:10px;font-size:1.2rem;display:inline-block}.reference-chart-card header span{color:#16655f;background:#94e7dca6;border-radius:12px;padding:12px 18px;font-size:.9rem;font-weight:800}.reference-chart{--chart-gap:8px;--chart-label-row:30px;--chart-plot-height:168px;height:calc(var(--chart-plot-height) + var(--chart-gap) + var(--chart-label-row));grid-template-columns:50px minmax(0,1fr);column-gap:14px;min-width:0;min-height:0;display:grid;overflow:visible}.reference-chart-axis{color:#ffffffc7;height:var(--chart-plot-height);flex-direction:column;justify-content:space-between;padding:0;font-size:.84rem;font-weight:700;display:flex}.reference-bars{height:calc(var(--chart-plot-height) + var(--chart-gap) + var(--chart-label-row));grid-template-columns:repeat(7,minmax(28px,1fr));align-items:start;gap:clamp(8px,1.2vw,14px);min-width:0;display:grid}.reference-bar-item{grid-template-rows:var(--chart-plot-height) var(--chart-label-row);height:calc(var(--chart-plot-height) + var(--chart-gap) + var(--chart-label-row));place-items:center;row-gap:var(--chart-gap);display:grid;position:relative}.reference-bar-item>span{background:#fff2c9;border-radius:7px;grid-row:1;align-self:end;width:min(100%,76px);min-height:34px;display:block}.reference-bar-item>span.hatched{background:repeating-linear-gradient(-12deg,#fff2c9 0 5px,#0000 5px 10px);border:0}.reference-bar-item small{color:#ffffffd1;grid-row:2;align-self:start;font-size:.83rem;font-weight:700;line-height:1.1}.reference-bar-item:hover:after,.reference-bar-item:focus-within:after{color:#fff;content:attr(data-tooltip);pointer-events:none;text-align:center;white-space:nowrap;z-index:5;background:#0a1414eb;border-radius:7px;padding:7px 9px;font-size:.78rem;font-weight:800;line-height:1.25;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}.reference-bottom-grid{grid-template-columns:minmax(360px,.75fr) minmax(560px,1.4fr);gap:22px;display:grid}.reference-list-card,.reference-spending-card,.reference-table-card,.reference-progress-panel{background:#fff;border:1px solid #eff1f3;border-radius:18px;box-shadow:0 10px 24px #12181c0a}.reference-list-card{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:14px;min-height:390px;padding:24px;display:flex}.reference-list-card header,.reference-spending-card header,.reference-table-card header,.reference-progress-panel h3{justify-content:space-between;align-items:center;display:flex}.reference-list-card h3,.reference-spending-card h3,.reference-table-card h3,.reference-progress-panel h3{color:#0a0b0c;margin:0;font-size:1.25rem;font-weight:790;line-height:1.18}.reference-list-card header span,.reference-spending-card header span{color:#a0a4a7;font-weight:900;line-height:1}.reference-transaction-list{gap:16px;display:grid}.reference-transaction-list p{color:#6f7771;margin:0;font-size:.92rem;font-weight:650}.reference-transaction-list>div{grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;display:grid}.reference-list-icon,.reference-operation-card>span{color:#252a2d;border-radius:16px;justify-content:center;align-items:center;width:58px;height:58px;display:flex}.reference-list-icon.tone-0{background:#fbefe4}.reference-list-icon.tone-1{background:#edf7e9}.reference-list-icon.tone-2{background:#eaf5f4}.reference-list-icon.tone-3{background:#fff5df}.reference-transaction-list strong{font-size:1rem}.reference-transaction-list span{color:#8f9498;margin-top:4px;font-size:.86rem;font-weight:650;display:block}.reference-right-stack{gap:22px;display:grid}.reference-spending-card,.reference-table-card{gap:22px;padding:24px;display:grid}.reference-operation-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.reference-operation-card{border-radius:16px;gap:12px;min-height:155px;padding:18px;display:grid}.reference-operation-card.purple{background:#e8e5ff}.reference-operation-card.yellow{background:#fff4d6}.reference-operation-card.blue{background:#eaf0ff}.reference-operation-card.green{background:#f0f4ef}.reference-operation-card.violet{background:#eee9ff}.reference-operation-card>span{background:#fff}.reference-operation-card strong{font-size:1rem}.reference-operation-card small{font-size:.9rem;font-weight:800}.reference-table-card header div{align-items:center;gap:10px;display:flex}.reference-table-card header div button{color:#6f7376;background:0 0;border-radius:16px;min-height:38px;padding:10px 16px;font-weight:800}.reference-table-card header div button:hover{color:#202124;background:#f3f5f2}.reference-table-card header div button.active{color:#fff;background:#202124}.reference-table{gap:0;display:grid}.reference-table>div{border-top:1px solid #eef0f2;grid-template-columns:minmax(160px,1fr) 130px 110px 90px;align-items:center;gap:12px;min-height:58px;display:grid}.reference-table>div:first-child{color:#8b8f92;font-size:.88rem;font-weight:800}.reference-table>.reference-table-empty{grid-template-columns:1fr}.pill{border-radius:999px;justify-content:center;padding:8px 12px;font-size:.84rem;font-weight:800;display:inline-flex}.pill.yellow{color:#8d6b1d;background:#fff2c9}.pill.green{color:#17715f;background:#d9f6ee}.reference-progress-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:24px;display:grid}.reference-progress-panel article{gap:16px;display:grid}.reference-progress-list{gap:12px;display:grid}.reference-progress-row{gap:8px;display:grid}.reference-progress-row>div:first-child{justify-content:space-between;align-items:center;display:flex}.reference-progress-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.reference-progress-row span{color:#777d80;font-size:.88rem;font-weight:800}.reference-progress-track{background:#edf2ec;border-radius:999px;height:10px;overflow:hidden}.reference-progress-track span{border-radius:inherit;background:#1f9d93;height:100%;display:block}.record-form,.nfe-preview,.login-panel,.dashboard-panel,.kpi-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.dashboard-grid,.dashboard-columns{gap:var(--gap);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.kpi-card{align-content:space-between;gap:6px;min-width:0;height:132px;padding:14px;display:grid}.kpi-card.primary{background:#eaf3e8;border-color:#cfe0ca}.kpi-card svg,.dashboard-panel svg{color:var(--accent)}.kpi-heading{align-items:center;gap:8px;min-width:0;display:flex}.kpi-heading span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.kpi-card span,.dashboard-panel p,.module-header p,.nfe-preview p,.login-panel p{color:var(--muted);margin:0}.kpi-card strong{overflow-wrap:anywhere;font-size:clamp(1.3rem,1.6vw,1.65rem);line-height:1.12}.kpi-card small{color:var(--muted);font-size:.82rem;font-weight:700;line-height:1.25}.dashboard-panel{align-content:start;gap:10px;min-width:0;height:246px;padding:14px;display:grid;overflow:hidden}.dashboard-panel header{justify-content:space-between;align-items:center;display:flex}.dashboard-panel h2{margin:3px 0 0;font-size:1rem}.compact-list{gap:0;display:grid;overflow:auto}.compact-list>div{border-top:1px solid var(--line);gap:3px;min-height:46px;padding:8px 0;display:grid}.compact-list span{color:var(--muted);font-size:.9rem}.large-number{place-self:center start;font-size:3.4rem;font-weight:800}.module-content{box-shadow:none;gap:var(--gap);background:0 0;border:0;border-radius:0;min-width:0;padding:28px;display:grid}.record-form{box-shadow:none;background:0 0;border:0;gap:16px;padding:0;display:grid}.record-form label{align-content:start;gap:8px}.record-form input,.record-form select{height:44px;min-height:44px}.record-form textarea{min-height:108px}.tag-editor,.parts-editor{gap:8px;display:grid}.tag-row,.parts-row{align-items:center;gap:8px;display:grid}.tag-row{grid-template-columns:minmax(0,1fr) 44px}.parts-row{grid-template-columns:minmax(0,1.4fr) minmax(130px,.6fr) 44px}.tag-row.single{grid-template-columns:minmax(0,1fr)}.parts-row.single{grid-template-columns:minmax(0,1.4fr) minmax(130px,.6fr)}.tag-row .icon-button,.parts-row .icon-button{width:44px;height:44px;min-height:44px}.tag-add{justify-self:start;min-height:38px;padding:8px 12px}.modal-backdrop{z-index:50;background:#0e180f7a;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;gap:16px;width:min(100%,820px);max-width:820px;max-height:min(86vh,820px);padding:22px 24px;display:grid;overflow:auto;box-shadow:0 24px 70px #0c140c42}.modal-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.modal-header h3{margin:0;font-size:1.25rem}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.span-2{grid-column:span 2}.search-box{border:1px solid var(--line);background:#fff;border-radius:7px;align-items:center;gap:8px;width:100%;max-width:380px;padding-left:10px;display:flex}.search-box input{border:0}.icon-button,.ghost-button{background:var(--panel-soft);color:var(--text);justify-content:center}.icon-button{width:36px;min-height:36px;padding:8px}.danger{color:var(--danger)}.table-wrap{border:1px solid var(--line);border-radius:var(--radius);overflow:auto}.empty-state{border:1px solid var(--line);border-radius:var(--radius);color:var(--muted);background:#fff;align-items:center;min-height:96px;padding:18px;font-weight:700;display:flex}.record-card-grid,.vehicle-card-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;display:grid}.record-card,.vehicle-card{cursor:pointer;background:#fff;border:1px solid #e8eee5;border-radius:14px;gap:12px;min-height:206px;padding:16px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;box-shadow:0 10px 24px #12181c0a}.record-card:hover,.record-card:focus-visible,.vehicle-card:hover,.vehicle-card:focus-visible{border-color:#cdddc7;outline:0;transform:translateY(-1px);box-shadow:0 14px 30px #12181c14}.record-card-top,.vehicle-card-top,.vehicle-card-actions{justify-content:space-between;align-items:center;display:flex}.record-card-icon,.vehicle-icon{color:var(--accent);background:#edf5ea;border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.record-card-status,.vehicle-status{border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:850}.record-card-module{color:var(--muted);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:.76rem;font-weight:850;overflow:hidden}.record-card-status.active,.vehicle-status.active{color:#21724d;background:#dcf3e8}.record-card-status.inactive,.vehicle-status.inactive{color:#6f756f;background:#f1f2f0}.record-card-main,.vehicle-card-main{gap:5px;min-width:0;display:grid}.record-card-main span,.vehicle-card-main span{color:var(--muted);font-size:.84rem;font-weight:800}.record-card-main strong,.vehicle-card-main strong{color:var(--text);overflow-wrap:anywhere;font-size:1.22rem;line-height:1.12}.record-card-main small,.vehicle-card-main small{color:#6d756e;min-height:1.2em;font-size:.82rem;font-weight:700}.record-card-meta,.vehicle-card-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.record-card-meta div,.vehicle-card-meta div{background:#f7faf5;border:1px solid #edf2e8;border-radius:10px;gap:3px;min-width:0;padding:8px;display:grid}.record-card-meta span,.vehicle-card-meta span{color:var(--muted);font-size:.7rem;font-weight:800}.record-card-meta strong,.vehicle-card-meta strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.vehicle-card-actions{border-top:1px solid #edf2e8;justify-content:flex-end;gap:8px;padding-top:2px}.detail-panel{max-width:880px}.modal-header span{color:var(--muted);margin-top:4px;font-size:.9rem;font-weight:700;display:block}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.detail-grid>div{background:#f8fbf6;border:1px solid #e6eee1;border-radius:10px;gap:6px;min-width:0;padding:12px;display:grid}.detail-grid span{color:var(--muted);font-size:.78rem;font-weight:850}.detail-grid strong{color:var(--text);overflow-wrap:anywhere;font-size:.96rem;font-weight:750;line-height:1.35}.detail-actions{border-top:1px solid #edf2e8;justify-content:flex-end;align-items:center;gap:8px;padding-top:14px;display:flex}.report-page{gap:18px}.report-actions{align-items:center;gap:8px;display:flex}.report-actions-top{flex-wrap:wrap;justify-content:flex-end}.report-print-header{display:none}.report-filter-summary{background:#f8fbf6;border:1px solid #e5ede1;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px;display:flex}.report-filter-summary strong,.report-filter-summary span{border-radius:999px;padding:7px 10px;font-size:.9rem;font-weight:750;display:inline-flex}.report-filter-summary strong{background:var(--accent);color:#fff}.report-filter-summary span{color:#657061;background:#fff;border:1px solid #e5ede1}.report-filter-panel{max-width:760px}.report-filters{background:var(--panel-soft);border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:1.2fr 1fr repeat(2,minmax(130px,.7fr)) 1fr 1fr 1.4fr;gap:10px;padding:12px;display:grid}.report-filters-modal{background:0 0;border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0}.report-filters-modal label{min-width:0}.report-search .search-box{max-width:none}.report-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.report-metric{background:var(--panel);border:1px solid var(--line);border-radius:12px;gap:8px;min-height:122px;padding:18px;display:grid}.report-metric span,.report-metric small,.report-result-heading span{color:var(--muted)}.report-metric span{font-size:.82rem;font-weight:800}.report-metric strong{overflow-wrap:anywhere;font-size:1.35rem;line-height:1.15}.report-metric small{font-weight:700}.report-result-heading{justify-content:space-between;align-items:center;display:flex}.report-result-heading div{align-items:center;gap:8px;display:flex}.report-result-heading svg{color:var(--accent)}.report-table table{min-width:980px}.alert,.form-message{background:var(--warning);color:#6d4c00;border:1px solid #ead39b;border-radius:7px;padding:10px 12px;display:block}.upload-box{border:1px dashed var(--accent);border-radius:var(--radius);color:var(--accent);cursor:pointer;justify-content:center;align-items:center;gap:10px;min-height:104px;display:flex}.upload-box input{display:none}.nfe-preview{gap:12px;padding:14px;display:grid}.login-page,.center-state{place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{gap:14px;width:100%;max-width:440px;padding:24px;display:grid}.brand-mark{background:var(--panel-soft);color:var(--accent);border-radius:8px;justify-content:center;align-items:center;width:50px;height:50px;display:flex}.login-panel h1{margin:0}.login-form{gap:12px;display:grid}:root{--bg:#f4f6f1;--panel-soft:#f1f6ee;--text:#1d251d;--muted:#6f796c;--line:#e2eadf;--accent:#2e6b4b;--accent-dark:#23563b;--shadow:0 8px 22px #1d2b180e;--radius:12px;--gap:14px}body{background:var(--bg);font-weight:430}button{border-radius:10px;min-height:38px;padding:9px 13px;font-size:.92rem;font-weight:600}input,select,textarea{border-color:#dde8d8;border-radius:10px;font-size:.94rem}label{color:#64705f;font-size:.84rem;font-weight:590}th{letter-spacing:.01em;font-size:.75rem;font-weight:650}td{font-size:.92rem}.app-shell{background:var(--bg);grid-template-columns:276px minmax(0,1fr)}.main-area{background:var(--bg)}.sidebar{background:#fbfcf8;border-right-color:#e7eee4;gap:20px;padding:24px 20px}.sidebar-brand{gap:10px;min-height:42px}.sidebar-brand svg{color:var(--accent);stroke-width:1.9px}.sidebar-brand strong{color:#192219;letter-spacing:0;font-size:1.06rem;font-weight:640}.sidebar-footer{border-top-color:#e7eee4;padding-top:14px}.sidebar-footer strong{font-size:.9rem;font-weight:590}.sidebar-footer span{color:#8b9388;font-size:.76rem}.nav-heading{color:#8b9588;letter-spacing:.02em;margin:6px 0 2px;font-size:.72rem;font-weight:620}.nav-heading svg,.nav-group button svg{color:#8a9488;stroke-width:1.8px}.nav-group{gap:5px}.nav-group button{color:#3a4338;border-radius:12px;min-height:38px;padding:9px 12px;font-size:.88rem;font-weight:540}.nav-group button:hover{color:#1f2b1f;background:#f1f5ef}.nav-group button.active{box-shadow:inset 3px 0 0 var(--accent);color:#1f432d;background:#eaf2e7;font-weight:610}.nav-group button.active svg{color:var(--accent)}.nav-section-toggle{color:#7e887c;letter-spacing:.025em;text-transform:uppercase;background:0 0;grid-template-columns:18px minmax(0,1fr) 16px;justify-items:start;gap:9px;width:100%;min-height:36px;padding:8px;font-size:.72rem;font-weight:650;display:grid}.nav-section-toggle:hover,.nav-section-toggle.active-group{color:#2f4a35;background:#eef4ea}.nav-section-toggle svg{align-self:center;width:16px;height:16px}.nav-section-toggle .nav-chevron{color:#9aa39a;justify-self:end;transition:transform .16s}.nav-group.expanded .nav-chevron{transform:rotate(180deg)}.nav-subitems{gap:4px;padding:2px 0 8px;display:grid}.nav-subitems button{color:#334033;border-radius:12px;min-height:38px;padding:9px 12px 9px 38px;font-size:.9rem;font-weight:540}.nav-subitems button svg{width:16px;height:16px}.module-content,.dashboard-reference{padding:26px}.toolbar{gap:14px}.search-box,.empty-state,.table-wrap,.report-filter-summary,.report-metric,.nfe-preview,.login-panel{border-color:#e3ece0;border-radius:14px;box-shadow:0 6px 18px #1d2b1809}.search-box{background:#fff;max-width:420px}.icon-button,.ghost-button{color:#243024;background:#eef5eb}.icon-button:hover,.ghost-button:hover{background:#e1ebdd}.reference-top-grid,.reference-bottom-grid,.reference-right-stack,.reference-progress-panel,.report-summary,.record-card-grid{gap:16px}.reference-stat-card,.reference-list-card,.reference-spending-card,.reference-table-card,.reference-progress-panel,.record-card,.vehicle-card,.report-metric,.detail-grid>div{border:1px solid #e4ece0;box-shadow:0 8px 20px #1d2b180a}.reference-stat-card{border-radius:18px;min-height:146px;padding:18px 46px 18px 20px}.reference-card-action{background:0 0;border:0;border-radius:8px;width:26px;height:26px;min-height:26px;top:12px;right:12px}.reference-stat-icon{color:#435042}.reference-stat-card span,.reference-operation-card strong{font-size:.96rem;font-weight:590}.reference-stat-card strong{letter-spacing:0;font-size:clamp(1.42rem,1.65vw,2rem);font-weight:660}.reference-stat-card small,.reference-transaction-list p,.reference-progress-row span,.reference-operation-card small,.report-metric small,.record-card-main small,.vehicle-card-main small{font-weight:560}.reference-chart-card{border-radius:20px;box-shadow:0 10px 24px #1f9d931f}.reference-chart-card h3{font-size:1.52rem;font-weight:640}.reference-chart-card strong{font-weight:640}.reference-chart-card header span,.reference-chart-axis,.reference-bar-item small{font-weight:600}.reference-list-card h3,.reference-spending-card h3,.reference-table-card h3,.reference-progress-panel h3{font-size:1.08rem;font-weight:620}.reference-operation-card{border-radius:14px;min-height:136px;padding:16px}.reference-operation-card>span,.reference-list-icon{border-radius:14px;width:52px;height:52px}.reference-table-card header div span{border-radius:12px;padding:8px 13px;font-size:.84rem;font-weight:610}.record-card,.vehicle-card{border-radius:16px;min-height:196px}.record-card.employee-card{align-content:start;gap:12px;min-height:188px}.employee-card-top{justify-content:flex-start}.employee-card-icon{background:#e8f2e4;width:42px;height:42px}.employee-role{align-items:center;gap:6px;display:inline-flex}.employee-card-info-grid{gap:7px;margin-top:4px;display:grid}.employee-card-info{color:#4f5c4e;background:#f2f7ef;border:1px solid #e0ebdc;border-radius:10px;align-items:center;gap:7px;width:fit-content;min-height:34px;padding:7px 9px;display:inline-flex}.employee-card-info svg,.employee-role svg{color:var(--accent);stroke-width:1.9px;flex:none}.record-card-module,.record-card-meta span,.vehicle-card-meta span{font-weight:580}.record-card-status,.vehicle-status{font-weight:600}.record-card-main span,.vehicle-card-main span{font-size:.8rem;font-weight:580}.record-card-main strong,.vehicle-card-main strong{font-size:1.12rem;font-weight:620}.record-card-meta div,.vehicle-card-meta div{background:#f8fbf6;border-color:#edf3ea}.record-card-meta strong,.vehicle-card-meta strong{font-weight:570}.modal-panel{border-color:#e5ece1;border-radius:16px;box-shadow:0 24px 64px #14201238}.modal-header h3{font-size:1.16rem;font-weight:620}.modal-header span,.detail-grid strong{font-weight:580}.detail-grid span,.report-metric span,.report-filter-summary strong,.report-filter-summary span{font-weight:610}.report-metric strong{font-size:1.22rem;font-weight:680}.login-panel h1{font-size:1.55rem;font-weight:700}@media (max-width:940px){body{overflow:auto}.app-shell{grid-template-columns:1fr;height:auto;overflow:visible}.sidebar{height:auto;position:static;overflow:visible}.sidebar nav{padding-right:0;overflow:visible}.main-area{height:auto;overflow:visible}.dashboard-grid,.dashboard-columns,.clean-dashboard-grid,.dashboard-workbench,.executive-layout,.executive-metrics,.executive-split,.metric-grid,.reference-bottom-grid,.reference-operation-row,.reference-progress-panel,.reference-stat-grid,.reference-top-grid,.simple-panel-grid,.form-grid,.report-filters,.report-summary,.summary-ribbon,.status-strip,.operation-hero,.operation-hero-side{grid-template-columns:1fr}.kpi-card,.dashboard-panel,.clean-panel,.executive-panel,.metric-card,.simple-panel,.ops-panel,.production-panel{height:auto;min-height:124px}.executive-panel.production{min-height:124px}.simple-panel.wide{grid-column:span 1}.executive-metrics div+div{border-left:0;border-top:1px solid var(--line)}.operation-hero{min-height:0}.operation-hero-main,.operation-hero-side>div{min-height:108px}.span-2{grid-column:span 1}.modal-panel{max-height:92vh;padding:16px}.module-header,.toolbar,.report-result-heading,.report-actions{flex-direction:column;align-items:stretch}}@media (min-width:941px) and (max-width:1180px){.dashboard-grid,.dashboard-columns,.clean-dashboard-grid,.dashboard-workbench,.executive-layout,.simple-panel-grid,.report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-ribbon,.executive-metrics,.metric-grid,.reference-operation-row,.reference-progress-panel,.reference-stat-grid,.reference-top-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-bottom-grid,.reference-top-grid{grid-template-columns:1fr}.reference-operation-row{grid-template-columns:repeat(3,minmax(0,1fr))}.operation-hero,.status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media print{body{background:#fff}button,.sidebar,.topbar,.report-actions,.report-header,.report-filters{display:none!important}.app-shell,.main-area{max-width:none;min-height:auto;padding:0;display:block}.module-content,.report-metric,.table-wrap{box-shadow:none;border-color:#cfd8cc}.report-page{gap:12px;padding:0}.report-print-header{color:#172019;border-bottom:2px solid #27563f;grid-template-columns:1.45fr .9fr;gap:18px;margin-bottom:14px;padding:0 0 14px;display:grid}.report-print-company,.report-print-document{gap:4px;display:grid}.report-print-company strong{font-size:18pt;line-height:1.1}.report-print-document{text-align:right;justify-items:end}.report-print-document strong{font-size:14pt;line-height:1.15}.report-print-header span,.report-print-header small{color:#4f5b4c;font-size:9pt;line-height:1.35}.report-summary{grid-template-columns:repeat(4,1fr)}.report-table{overflow:visible}.report-table table{min-width:0}}
