@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap";:root{color:#21342f;font-synthesis:none;--green:#153f37;--green2:#236657;--cream:#f2eddf;--gold:#d5a747;--line:#dfe5df;--muted:#6c7974;--white:#fff;--red:#a43f3f;background:#f4f6f2;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{background:var(--green);color:#fff;z-index:20;flex-direction:column;width:250px;padding:24px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;padding:0 8px 28px;display:flex}.brand-mark{background:var(--gold);width:43px;height:43px;color:var(--green);border-radius:13px;place-items:center;font:800 15px Manrope;display:grid}.brand b,.brand small{display:block}.brand b{font:700 17px Manrope}.brand small{color:#b9cbc5;margin-top:2px;font-size:11px}.sidebar nav{gap:6px;display:grid}.sidebar button{color:#c7d7d2;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:12px;display:flex}.sidebar button svg{width:19px}.sidebar button:hover,.sidebar button.active{color:#fff;background:#26584d}.sidebar-bottom{border-top:1px solid #356259;margin-top:auto;padding-top:18px}.sidebar-bottom>span{letter-spacing:.14em;color:#91aaa3;padding:10px;font-size:10px}.sidebar-bottom button{width:100%;margin-top:6px}.main{min-height:100vh;margin-left:250px}.topbar{border-bottom:1px solid var(--line);z-index:10;background:#fff;justify-content:space-between;align-items:center;height:88px;padding:0 34px;display:flex;position:sticky;top:0}.topbar h1{margin:2px 0;font:700 21px Manrope}.eyebrow{letter-spacing:.16em;color:var(--green2);font-size:10px;font-weight:700}.top-actions{align-items:center;gap:10px;display:flex}.connection,.sync-button{border-radius:10px;align-items:center;gap:7px;height:38px;padding:0 12px;font-size:12px;font-weight:600;display:flex}.connection svg,.sync-button svg{width:16px}.connection.online{color:#287054;background:#e5f2eb}.connection.offline{color:#9a4941;background:#f7e7e5}.sync-button{border:1px solid var(--line);color:var(--green);background:#fff}.sync-button:disabled{opacity:.5}.avatar{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:38px;height:38px;font-size:12px;font-weight:700;display:grid}.hero{color:#fff;background:linear-gradient(125deg,#153f37,#245e52);border-radius:20px;justify-content:space-between;align-items:center;margin-bottom:22px;padding:28px 32px;display:flex;box-shadow:0 8px 26px #153f3714}.hero.compact{padding:24px 28px}.hero h2{margin:6px 0;font:700 27px Manrope}.hero p{color:#c7d8d2;margin:0}.month-chip{text-transform:capitalize;background:#ffffff14;border:1px solid #ffffff2d;border-radius:10px;padding:10px 14px}.hero-actions{align-items:center;gap:10px;display:flex}.hero input[type=month],.hero>input{color:#263d36;background:#fff;border:0;border-radius:9px;padding:11px 13px}.cards{gap:16px;margin-bottom:22px;display:grid}.cards.four{grid-template-columns:repeat(4,1fr)}.metric-card{border:1px solid var(--line);text-align:left;background:#fff;border-radius:15px;flex-direction:column;align-items:flex-start;min-height:154px;padding:19px;display:flex;box-shadow:0 4px 16px #24372f08}.metric-card .icon{width:38px;height:38px;color:var(--green2);background:#edf4f0;border-radius:10px;place-items:center;margin-bottom:15px;display:grid}.metric-card .icon svg{width:19px}.metric-card small{color:var(--muted)}.metric-card strong{margin:4px 0;font:800 25px Manrope}.metric-card em{color:var(--muted);font-size:12px;font-style:normal}.metric-card b{color:var(--green2);margin-top:8px;font-size:11px}.panel{border:1px solid var(--line);background:#fff;border-radius:16px;margin-bottom:20px;overflow:hidden;box-shadow:0 4px 18px #25382f07}.panel h3{margin:0;font:700 17px Manrope}.panel p{color:var(--muted);margin:4px 0 0;font-size:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:760px}th{text-align:left;text-transform:uppercase;letter-spacing:.08em;color:#77837e;background:#fafbfa;padding:12px 16px;font-size:10px}td{border-top:1px solid #edf0ed;padding:14px 16px;font-size:13px}td b,td small{display:block}td small{color:var(--muted);margin-top:3px;font-size:11px}.status,.pending{color:#65716d;background:#eef1ef;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:700;display:inline-flex}.status.packed,.status.confirmed,.status.active{color:#277052;background:#e1f1e8}.status.annulled,.status.inactive{color:#9a4941;background:#f5e5e3}.status.cooling_pending,.status.packing_pending,.pending{color:#8a691e;background:#fbf0d7}.primary,.secondary{border:0;border-radius:9px;align-items:center;gap:7px;padding:10px 15px;font-weight:700;display:inline-flex}.primary{background:var(--gold);color:#253d35}.primary svg{width:17px}.secondary{color:#45534e;background:#eef1ef}.link,.danger-link{color:var(--green2);background:0 0;border:0;padding:4px;font-size:12px;font-weight:700}.danger-link{color:var(--red)}.error{color:#8b3935;background:#f8e6e4;border-radius:10px;margin-bottom:15px;padding:11px 14px;font-size:13px}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#102d2788;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:18px;width:min(760px,100%);max-height:90vh;padding:28px;position:relative;overflow:auto;box-shadow:0 24px 80px #102d2744}.modal h2{margin:6px 0 18px;font:700 24px Manrope}.modal h3{border-top:1px solid var(--line);padding-top:17px;font:700 15px Manrope}.modal-close{background:#f0f3f1;border:0;border-radius:50%;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:17px;right:17px}.modal-close svg{width:17px}.form-note{color:var(--green2);background:#edf4f0;border-radius:8px;padding:9px 12px}.form-grid{grid-template-columns:repeat(2,1fr);gap:13px;display:grid}.field{flex-direction:column;gap:6px;margin:10px 0;display:flex}.field>span{color:#56645f;font-size:11px;font-weight:700}.field input,.field select,.field textarea,.line-grid input,.line-grid select{background:#fff;border:1px solid #d7ded9;border-radius:8px;width:100%;padding:10px 11px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#0000;outline:2px solid #a8c9be}.checkbox{align-items:center;gap:8px;margin-top:28px;display:flex}.form-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;margin-top:20px;padding-top:18px;display:flex}.line-grid{grid-template-columns:2fr 1fr 1fr 38px;gap:8px;margin-bottom:8px;display:grid}.icon-button{color:var(--red);background:#f5e8e6;border:0;border-radius:8px}.icon-button svg{width:16px}.add-line{align-items:center;gap:4px;margin:8px 0 14px;display:flex}.add-line svg{width:14px}.toast{color:#fff;z-index:70;background:#183f37;border-radius:10px;padding:13px 18px;position:fixed;bottom:25px;right:25px;box-shadow:0 10px 30px #0003}.admin-grid{grid-template-columns:1.3fr 1fr;gap:20px;display:grid}.list{padding:6px}.list button{text-align:left;background:#fff;border:0;border-radius:9px;justify-content:space-between;align-items:center;width:100%;padding:13px 14px;display:flex}.list button:hover{background:#f3f6f3}.list b,.list small{display:block}.list small{color:var(--muted)}.list em{color:var(--green2);font-size:12px;font-style:normal}.empty-state{text-align:center;color:var(--muted);padding:35px}.empty-state svg{width:35px}.empty-inline{text-align:center;color:var(--muted);padding:25px}.report-bars{padding:18px 22px}.bar-row{grid-template-columns:140px 1fr 140px 1fr 150px;align-items:center;gap:12px;margin:14px 0;display:grid}.bar-row>div{background:#edf0ed;border-radius:99px;height:8px;overflow:hidden}.bar-row>div span{background:var(--green2);border-radius:99px;height:100%;display:block}.bar-row>div.sent span{background:var(--gold)}.bar-row em{color:var(--muted);font-size:11px;font-style:normal}.mobile-menu{display:none}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1100px){.cards.four{grid-template-columns:repeat(2,1fr)}.bar-row{grid-template-columns:110px 1fr 120px}.bar-row .sent{grid-column:2}.bar-row em:last-child{grid-column:3}.admin-grid{grid-template-columns:1fr}}@media (width<=760px){.sidebar{transition:all .2s;transform:translate(-100%)}.sidebar.open{transform:none}.main{margin-left:0}.mobile-menu{background:#edf2ef;border:0;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.topbar{height:74px;padding:0 16px}.topbar .eyebrow,.topbar h1,.connection span{display:none}.sync-button{font-size:0}.sync-button svg{margin:0}.content{padding:18px 14px 50px}.hero,.hero.compact{flex-direction:column;align-items:flex-start;gap:18px;padding:22px}.hero-actions{flex-wrap:wrap;width:100%}.cards.four,.form-grid{grid-template-columns:1fr}.modal{padding:24px 18px}.line-grid{grid-template-columns:1fr 1fr}.line-grid select{grid-column:1/-1}.panel{border-radius:12px}.bar-row{grid-template-columns:1fr}.bar-row .sent,.bar-row em:last-child{grid-column:auto}.top-actions{gap:5px}.avatar{display:none}}.role-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.role-option{border:1px solid var(--line);border-radius:10px;align-items:center;gap:10px;padding:12px;display:flex}.role-option b,.role-option small{display:block}.role-option small{color:var(--muted)}@media (width<=760px){.role-grid{grid-template-columns:1fr}}.avatar{border:0}.avatar svg{width:16px}.login-screen{background:linear-gradient(135deg,#123b33,#286658);place-items:center;min-height:100vh;padding:20px;display:grid}.login-card,.loading-card{background:#fff;border-radius:20px;width:min(420px,100%);padding:34px;box-shadow:0 25px 80px #081e1944}.login-card .brand-mark{margin-bottom:22px}.login-card h1{margin:7px 0;font:800 28px Manrope}.login-card>p{color:var(--muted);margin:0 0 22px}.login-card .form-grid{display:block}.login-button{justify-content:center;width:100%;margin-top:12px}.loading-card{text-align:center;color:var(--green);font-weight:700}:root{--green:#086b38;--green-dark:#074b2b;--green-soft:#eaf4ee;--red:#d71920;--red-dark:#a71116;--ink:#17221c;--muted:#69736d;--line:#dfe4e0;--surface:#fff;--canvas:#f5f6f4;--gold:#086b38;color:var(--ink);background:var(--canvas)}body{background:var(--canvas)}.sidebar{width:238px;color:var(--ink);border-right:1px solid var(--line);box-shadow:none;background:#fff;padding:14px 12px}.brand{border-bottom:1px solid #edf0ed;justify-content:center;height:82px;margin-bottom:14px;padding:0 8px 10px;overflow:hidden}.brand img{object-fit:contain;width:150px;height:82px;transform:scale(1.16)}.sidebar button{color:#4b5750;border-left:3px solid #0000;border-radius:7px;padding:11px 12px;font-weight:600}.sidebar button svg{stroke-width:1.8px;width:18px}.sidebar button:hover{color:var(--green-dark);background:#f2f6f3}.sidebar button.active{background:var(--green-soft);color:var(--green-dark);border-left-color:var(--green)}.sidebar-bottom{border-top:1px solid var(--line)}.sidebar-bottom>span{color:#89928c}.topbar{height:76px;box-shadow:none;padding:0 30px}.topbar h1{color:var(--ink);font-size:20px}.topbar .eyebrow{display:none}.content{padding:24px 30px 56px}.hero,.hero.compact{box-shadow:none;background:0 0;border-radius:0;justify-content:flex-end;min-height:42px;margin:0 0 18px;padding:0}.hero-actions,.hero>input{margin-left:auto}.month-chip{color:#4f5b54;border:1px solid var(--line);background:#fff;font-weight:600}.page-tools{justify-content:space-between;align-items:flex-end;min-height:42px;margin:0 0 18px;display:flex}.page-tools.align-right{justify-content:flex-end}.period-label{color:var(--muted);text-transform:capitalize;font-size:13px}.filters{gap:12px;display:flex}.filters label{color:#667169;text-transform:uppercase;letter-spacing:.08em;gap:5px;font-size:10px;font-weight:700;display:grid}.filters input,.hero input[type=month],.hero>input{height:40px;color:var(--ink);background:#fff;border:1px solid #cfd7d1;border-radius:7px;padding:0 11px}.primary{background:var(--green);color:#fff;border-radius:7px;box-shadow:0 1px 2px #00000012}.primary:hover{background:var(--green-dark)}.secondary,.connection,.sync-button{border-radius:7px}.connection.online{background:var(--green-soft);color:var(--green-dark)}.avatar{background:var(--green-dark);border-radius:7px}.cards{gap:12px}.metric-card{border-radius:9px;min-height:138px;padding:17px;transition:border-color .15s;box-shadow:0 1px 3px #17221c0a}.metric-card.clickable:hover{border-color:#92b4a0;transform:none}.metric-card .icon{background:var(--green-soft);width:36px;height:36px;color:var(--green);border-radius:7px}.metric-card strong{font-size:23px}.panel{border-radius:9px;box-shadow:0 1px 3px #17221c08}.panel-head{padding:17px 19px 13px}.panel h3{font-size:15px}.panel p{font-size:11px}th{color:#626c66;background:#f7f8f7;padding:11px 13px;font-size:9px}td{color:#28322c;padding:12px 13px}.status,.pending{border-radius:5px}.link{color:var(--green);text-underline-offset:2px;text-decoration:underline}.toast{background:var(--green-dark);border-radius:7px}.login-screen{isolation:isolate;background:#f2f4f1;position:relative}.login-screen:after{content:"";background:var(--red);clip-path:polygon(0 0,88% 0,100% 100%,0 100%);z-index:-2;position:fixed;inset:0 calc(50% - 7px) 0 0}.login-screen:before{content:"";background:linear-gradient(145deg,var(--green-dark),var(--green));clip-path:polygon(0 0,88% 0,100% 100%,0 100%);z-index:-1;position:fixed;inset:0 50% 0 0}.login-card,.loading-card{border:1px solid var(--line);border-radius:10px;width:min(410px,100% - 32px);margin-left:38%;padding:28px 36px 32px;position:relative;overflow:hidden;box-shadow:0 18px 50px #18332318}.login-logo{object-fit:contain;width:270px;height:138px;margin:-8px auto 2px;display:block;transform:scale(1.18)}.login-copy{border-top:1px solid var(--line);margin-bottom:22px;padding-top:20px}.login-card h1{margin:0 0 5px;font-size:22px}.login-copy p{color:var(--muted);margin:0;font-size:13px}.login-button{background:var(--green)}@media (width<=760px){.sidebar{width:238px}.main{margin-left:0}.content{padding:18px 12px 44px}.topbar{padding:0 13px}.hero,.hero.compact{min-height:40px;padding:0}.hero-actions{width:auto;margin-left:auto}.page-tools{align-items:flex-end}.login-screen:after{clip-path:none;inset:0 0 57.2%}.login-screen:before{clip-path:none;inset:0 0 58%}.login-card{margin:90px 0 0;padding:26px 24px}.login-logo{width:235px}.production-table th{padding:6px 1px;font-size:6px}.production-table td{padding:6px 1px;font-size:7px}.production-table .stage-groups th{padding:7px 2px;font-size:7px}.edit-row input,.edit-row select{height:28px;padding:2px;font-size:7px}}.theme-toggle{border:1px solid var(--line);background:var(--surface);width:38px;height:38px;color:var(--ink);border-radius:7px;place-items:center;padding:0;display:grid}.theme-toggle svg{width:17px}.login-theme{z-index:4;position:fixed;top:22px;right:22px;box-shadow:0 2px 8px #00000012}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#eef3ef;--muted:#a9b4ad;--line:#34453b;--surface:#18251e;--canvas:#101812;--green-soft:#1c3929;background:var(--canvas);color:var(--ink)}[data-theme=dark] body,[data-theme=dark] .app-shell{background:var(--canvas)}[data-theme=dark] .sidebar{border-color:var(--line);background:#142019}[data-theme=dark] .brand{background:#fff;border:0;border-radius:7px;margin-bottom:16px}[data-theme=dark] .sidebar button{color:#bbc6bf}[data-theme=dark] .sidebar button.active{color:#fff;background:#20412e}[data-theme=dark] .topbar,[data-theme=dark] .panel,[data-theme=dark] .metric-card,[data-theme=dark] .list button,[data-theme=dark] .modal,[data-theme=dark] .theme-toggle{background:var(--surface);border-color:var(--line);color:var(--ink)}[data-theme=dark] .topbar h1,[data-theme=dark] .panel h3,[data-theme=dark] .metric-card strong,[data-theme=dark] .modal h2{color:var(--ink)}[data-theme=dark] .sync-button,[data-theme=dark] .month-chip,[data-theme=dark] .filters input,[data-theme=dark] .hero input[type=month],[data-theme=dark] .hero>input{border-color:var(--line);color:var(--ink);background:#1c2a22}[data-theme=dark] .metric-card .icon{color:#67c58c;background:#203c2c}[data-theme=dark] .metric-card.clickable:hover{border-color:#587b65}[data-theme=dark] th{color:#afbbb3;background:#1b2821}[data-theme=dark] td{color:#dbe3dd;border-color:#2b3b31}[data-theme=dark] .panel-head,[data-theme=dark] .login-copy,[data-theme=dark] .modal h3,[data-theme=dark] .form-actions{border-color:var(--line)}[data-theme=dark] .production-table .cell-tank{background:#17271d}[data-theme=dark] .production-table .cell-cooling{background:#17262a}[data-theme=dark] .production-table .cell-packing{background:#2a2118}[data-theme=dark] .production-table tbody tr:hover td{filter:brightness(1.12)}[data-theme=dark] .field input,[data-theme=dark] .field select,[data-theme=dark] .field textarea,[data-theme=dark] .line-grid input,[data-theme=dark] .line-grid select{color:var(--ink);background:#111b15;border-color:#405046}[data-theme=dark] .secondary,[data-theme=dark] .modal-close{color:#e7ede9;background:#28372e}[data-theme=dark] .list button:hover{background:#213027}[data-theme=dark] .login-screen{background:#0f1712}[data-theme=dark] .login-card,[data-theme=dark] .loading-card{background:#17231c;border-color:#34453b}[data-theme=dark] .login-logo{background:#fff;border-radius:6px}[data-theme=dark] .login-copy p{color:var(--muted)}@media (width<=760px){.login-theme{top:14px;right:14px}}[data-theme=light] .sidebar button:hover{color:#7d3439;background:#fcf3f4}[data-theme=light] .sidebar button.active{color:#832c33;background:#f8e4e6;border-left-color:#cf747b}[data-theme=light] .sidebar{background:#edf4ef;border-right-color:#cfdbd2}[data-theme=light] .brand{background:#f8faf8;border:1px solid #dae3dc;border-radius:7px}[data-theme=light] .topbar{background:#fafcfb;border-bottom-color:#dbe4dd}[data-theme=light] .sidebar-bottom{border-top-color:#cbd8ce}.collapse-menu{border:1px solid var(--line);background:var(--surface);width:38px;height:38px;color:var(--muted);border-radius:7px;place-items:center;margin-right:14px;padding:0;display:grid}.collapse-menu svg{width:18px}.topbar>div:not(.top-actions){margin-right:auto}.sidebar,.main{transition:width .18s,margin-left .18s}.sidebar.collapsed{width:74px;padding-left:9px;padding-right:9px}.nav-collapsed .main{margin-left:74px}.sidebar.collapsed .brand{height:64px;margin:0 0 14px;padding:0}.sidebar.collapsed .brand img{width:62px;height:62px;transform:scale(1.1)}.sidebar.collapsed nav button,.sidebar.collapsed .sidebar-bottom button{border-left-width:0;justify-content:center;height:44px;padding:10px}.sidebar.collapsed nav button span,.sidebar.collapsed .sidebar-bottom button span,.sidebar.collapsed .sidebar-bottom>span{display:none}.sidebar.collapsed .sidebar-bottom{padding-top:12px}.sidebar.collapsed button svg{flex:none}[data-theme=dark] .topbar{background:#17231d}[data-theme=dark] .brand{background:#f3f4f1}[data-theme=dark] .sidebar button.active{color:#ffd9dc;background:#482a2d;border-left-color:#c9777d}[data-theme=dark] .sidebar button:hover{color:#eef4f0;background:#233329}@media (width<=760px){.collapse-menu{display:none}.nav-collapsed .main{margin-left:0}.sidebar.collapsed{width:238px}.sidebar.collapsed .brand{height:82px;padding:0 8px 10px}.sidebar.collapsed .brand img{width:150px;height:82px}.sidebar.collapsed nav button,.sidebar.collapsed .sidebar-bottom button{border-left-width:3px;justify-content:flex-start;height:auto;padding:11px 12px}.sidebar.collapsed nav button span,.sidebar.collapsed .sidebar-bottom button span,.sidebar.collapsed .sidebar-bottom>span{display:inline}.content{padding:14px 10px 42px}}.modal:has(.production-wizard){width:min(1100px,100vw - 48px);height:min(720px,100vh - 40px);max-height:none;padding:34px 42px}.production-wizard{--stage-color:#46534c;--stage-soft:#e9ecea;flex-direction:column;height:100%;min-height:0;display:flex}.production-wizard.wizard-step-1{--stage-color:#28724a;--stage-soft:#e5f2e9}.production-wizard.wizard-step-2{--stage-color:#316e7b;--stage-soft:#e3f0f3}.production-wizard.wizard-step-3{--stage-color:#9c5f24;--stage-soft:#f8eadc}.production-wizard .eyebrow{color:var(--stage-color)}.production-wizard h2{margin-bottom:16px}.wizard-steps{grid-template-columns:repeat(4,1fr);margin:0 0 22px;display:grid;position:relative}.wizard-steps:before{content:"";background:var(--line);height:2px;position:absolute;top:17px;left:12.5%;right:12.5%}.wizard-steps button{--step-color:#46534c;--step-soft:#e9ecea;color:var(--muted);z-index:1;background:0 0;border:0;justify-items:center;gap:6px;font-size:11px;display:grid;position:relative}.wizard-steps button:nth-child(2){--step-color:#28724a;--step-soft:#e5f2e9}.wizard-steps button:nth-child(3){--step-color:#316e7b;--step-soft:#e3f0f3}.wizard-steps button:nth-child(4){--step-color:#9c5f24;--step-soft:#f8eadc}.wizard-steps button span{background:var(--surface);border:2px solid color-mix(in srgb,var(--step-color) 45%,var(--line));width:35px;height:35px;color:var(--step-color);border-radius:50%;place-items:center;font-weight:800;display:grid}.wizard-steps button b{font-weight:700}.wizard-steps button.active{color:var(--step-color)}.wizard-steps button.active span{background:var(--step-color);border-color:var(--step-color);color:#fff;box-shadow:0 0 0 5px var(--step-soft)}.wizard-steps button.done{color:var(--step-color)}.wizard-steps button.done span{background:var(--step-soft);border-color:var(--step-color);color:var(--step-color)}.wizard-panel{border:1px solid var(--line);border-top:4px solid var(--stage-color);background:#fafbfa;border-radius:10px;flex:1;min-height:0;padding:23px 28px 26px;transition:border-color .2s;overflow:auto}.wizard-panel[hidden]{display:none}.wizard-panel>p{color:var(--muted);margin:0 0 14px;font-size:13px}.wizard-panel .form-grid.three{grid-template-columns:repeat(3,1fr)}.wizard-locked{text-align:center;min-height:170px;color:var(--muted);background:var(--stage-soft);border-radius:8px;place-items:center;padding:24px;display:grid}.wizard-actions{border-top:1px solid var(--line);justify-content:space-between;gap:10px;margin-top:20px;padding-top:16px;display:flex}.production-wizard .wizard-actions .primary{background:var(--stage-color);border-color:var(--stage-color)}[data-theme=dark] .wizard-panel{background:#111b15}[data-theme=dark] .wizard-steps button span{background:#223028}[data-theme=dark] .wizard-steps button.active span{background:var(--step-color);border-color:var(--step-color);box-shadow:0 0 0 5px color-mix(in srgb,var(--step-color) 25%,transparent)}[data-theme=dark] .wizard-steps button.done span{background:color-mix(in srgb,var(--step-color) 22%,#111b15)}@media (width<=760px){.modal:has(.production-wizard){width:calc(100vw - 20px);height:calc(100vh - 20px);padding:24px 16px}.production-wizard{min-height:0}.wizard-steps button b{font-size:9px}.wizard-panel{padding:14px}.wizard-panel .form-grid.three{grid-template-columns:1fr}.wizard-panel{overflow:auto}.wizard-actions{background:var(--surface);position:sticky;bottom:0}}.config-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.config-tabs{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:4px;display:flex}.config-tabs button{color:var(--muted);background:0 0;border:0;border-radius:6px;padding:9px 18px;font-weight:700}.config-tabs button.active{background:var(--green);color:#fff}.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px;display:grid}.recipe-card{border:1px solid var(--line);background:var(--surface);border-radius:10px;flex-direction:column;gap:16px;padding:18px;display:flex}.recipe-card h3{margin:8px 0 2px;font-size:18px}.recipe-card p{margin:0}.recipe-card dl{grid-template-columns:repeat(2,1fr);gap:10px;margin:0;display:grid}.recipe-card dl div{background:var(--canvas);border-radius:7px;padding:9px}.recipe-card dt{text-transform:uppercase;color:var(--muted);letter-spacing:.06em;font-size:9px}.recipe-card dd{margin:3px 0 0;font-weight:700}.recipe-state{color:#93433e;text-transform:uppercase;background:#f5e5e3;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:800;display:inline-flex}.recipe-state.ready{background:var(--green-soft);color:var(--green)}.form-grid.three{grid-template-columns:repeat(3,1fr)}@media (width<=1050px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.config-toolbar{flex-direction:column;align-items:stretch}.config-tabs button{flex:1}.recipe-grid{grid-template-columns:1fr;padding:12px}.form-grid.three{grid-template-columns:1fr}}.table-actions{white-space:nowrap;align-items:center;gap:8px;display:flex}.directory-tools{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.directory-tools>input{border:1px solid var(--line);background:var(--surface);width:min(360px,100%);color:var(--ink);border-radius:8px;padding:10px 12px}.remit-document{color:var(--ink)}.remit-document>header{border-bottom:2px solid var(--green);justify-content:space-between;align-items:center;gap:28px;padding-bottom:18px;display:flex}.remit-document>header img{object-fit:contain;width:210px;height:100px}.remit-document>header div{text-align:right}.remit-document>header span{letter-spacing:.12em;font-size:11px;font-weight:800}.remit-document>header h2{margin:4px 0}.remit-document>header p{color:var(--muted);margin:0}.remit-data{grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0;display:grid}.remit-data div{border:1px solid var(--line);border-radius:8px;padding:10px}.remit-data dt{text-transform:uppercase;color:var(--muted);font-size:9px;font-weight:700}.remit-data dd{margin:3px 0 0;font-weight:700}.remit-document table{min-width:0}.remit-document tfoot th{border-top:2px solid var(--line)}.remit-observations{border:1px solid var(--line);border-radius:8px;margin-top:18px;padding:12px}.remit-observations p{margin:4px 0 0}.remit-annulled{border:2px solid var(--red);color:var(--red);text-align:center;letter-spacing:.15em;margin-top:16px;padding:10px;font-weight:800}.remit-document>footer{justify-content:space-between;gap:40px;margin:62px 20px 0;display:flex}.remit-document>footer span{border-top:1px solid var(--ink);text-align:center;width:220px;padding-top:7px;font-size:11px}.remit-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;margin-top:28px;padding-top:16px;display:flex}@media (width<=760px){.directory-tools{flex-direction:column;align-items:stretch}.directory-tools .config-tabs{overflow:auto}.remit-document>header{flex-direction:column;align-items:flex-start}.remit-document>header div{text-align:left}.remit-data{grid-template-columns:1fr}.remit-document>footer{gap:16px;margin-left:0;margin-right:0}.remit-actions{flex-direction:column-reverse}}@media print{body *{visibility:hidden!important}.modal-backdrop,.modal,.remit-document,.remit-document *{visibility:visible!important}.modal-backdrop{background:#fff;padding:0;display:block;position:absolute;inset:0}.modal{width:100%;max-height:none;box-shadow:none;color:#111;background:#fff;border-radius:0;padding:18mm;overflow:visible}.modal-close,.remit-actions{display:none!important}.remit-document,.remit-document table{color:#111}.remit-document th,.remit-document td{color:#111;background:#fff;border-color:#bbb}}:root{--green:#07643d;--green2:#07643d;--green-dark:#064a30;--green-soft:#eaf3ed;--red:#c42d36;--ink:#24362e;--muted:#64736a;--line:#dce3dc;--surface:#fff;--canvas:#f5f5ef;color:var(--ink);font-family:DM Sans,sans-serif}button,input,select,textarea{transition:background .15s,border-color .15s}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #6fa887}button:disabled{cursor:not-allowed;opacity:.55}.sidebar,[data-theme=light] .sidebar{background:var(--surface);border-right:1px solid var(--line);width:216px;padding:22px 12px}.brand,[data-theme=light] .brand{border:0;border-bottom:1px solid var(--line);background:#fff;border-radius:0;height:126px;margin-bottom:22px}.brand img{width:162px;height:130px;transform:none}.sidebar button{border-left:0;border-radius:9px;gap:10px;min-height:46px;padding:12px 10px;font-size:13px}.sidebar button svg{flex-shrink:0}.sidebar nav{gap:7px}.sidebar button.active,[data-theme=light] .sidebar button.active,[data-theme=dark] .sidebar button.active{background:var(--green);color:#fff;box-shadow:0 3px 8px #064a3010}.sidebar button:hover,[data-theme=light] .sidebar button:hover{background:var(--green-soft);color:var(--green-dark)}.sidebar button.active:hover{background:var(--green-dark);color:#fff}.sidebar-bottom{padding-top:20px}.sidebar-bottom>span{letter-spacing:.1em;font-size:10px}.main{margin-left:216px}.topbar,[data-theme=light] .topbar{background:var(--surface);border-bottom:1px solid var(--line);height:76px;padding:0 28px}.topbar h1{font-size:19px}.content{max-width:1800px;margin:auto;padding:30px 28px 60px}.primary,.secondary{border-radius:9px;justify-content:center;min-height:42px;padding:11px 16px;font-size:13px}.secondary{background:var(--green-soft);color:var(--green-dark)}.primary{background:var(--green)}.sync-button,.theme-toggle,.collapse-menu{background:var(--surface);border-radius:9px}.avatar{border-radius:9px}.hero,.hero.compact{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.hero>div:first-child{display:block}.hero h2{color:var(--ink);letter-spacing:-.8px;font-size:28px}.hero p{color:var(--muted);font-size:14px}.hero .eyebrow{color:var(--green2)}.page-intro{margin:0 0 26px}.page-intro .eyebrow{color:var(--green2);letter-spacing:.14em;font-size:10px}.page-intro h2{letter-spacing:-1px;color:var(--ink);margin:9px 0 8px;font:800 clamp(23px,2.2vw,32px) Manrope,sans-serif}.page-intro p{color:var(--muted);margin:0;font-size:14px;line-height:1.6}.page-tools{gap:16px;margin-bottom:20px}.period-label{font-size:14px}.panel,.metric-card{border-color:var(--line);background:var(--surface);border-radius:14px;box-shadow:0 2px 4px #203b2903}.panel-head{border-bottom:1px solid var(--line);padding:22px 24px}.panel p{font-size:13px;line-height:1.5}.metric-card{min-height:176px;padding:22px}.metric-card strong{letter-spacing:-1px;color:var(--ink);font-size:30px}.metric-card small{font-size:13px}.metric-card .icon{background:var(--green-soft);border-radius:12px}th{background:var(--canvas);color:var(--muted);padding:14px 18px;font-size:11px}td{padding:17px 18px;font-size:14px}tbody tr:hover{background:var(--canvas)}.status{white-space:normal;padding:7px 11px;font-size:11px;line-height:1.4}.field>span{color:var(--ink);font-size:13px}.field input,.field select,.field textarea{background:var(--surface);min-height:44px;color:var(--ink);border-radius:8px}.form-grid{gap:14px 20px}.form-note{font-size:14px;line-height:1.5}.modal{border-radius:18px}.modal-close{width:38px;height:38px}.production-tools{background:var(--surface);border:1px solid var(--line);border-radius:12px;align-items:center;margin-bottom:12px;padding:16px 20px}.filters label{letter-spacing:.03em;font-size:11px}.production-filters{justify-content:space-between;align-items:center;gap:16px;margin:0 0 22px;display:flex}.search-field{background:var(--surface);border:1px solid var(--line);max-width:460px;min-height:44px;color:var(--muted);border-radius:9px;flex:1;align-items:center;gap:10px;padding:0 14px;display:flex}.search-field input{color:var(--ink);background:0 0;border:0;width:100%;min-width:0;padding:12px 0;font-size:13px}.search-field:focus-within{outline:2px solid #6fa887}.search-field input:focus-visible{outline:0}.status-filter{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.status-filter select{border:1px solid var(--line);background:var(--surface);max-width:100%;min-height:44px;color:var(--ink);border-radius:9px;padding:0 12px}.trace-list{gap:20px;display:grid}.trace-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;min-width:0;overflow:hidden;box-shadow:0 3px 8px #24362e04}.trace-card-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:17px 20px;display:flex}.batch-identity{align-items:center;gap:12px;min-width:0;display:flex}.tank-badge{min-width:46px;height:44px;color:var(--green2);background:var(--green-soft);border-radius:10px;flex-shrink:0;place-items:center;padding:0 6px;font-size:15px;font-weight:800;display:grid}.batch-identity h3{overflow-wrap:anywhere;margin:0 0 4px;font:800 16px Manrope,sans-serif}.batch-identity p{color:var(--muted);margin:0;font-size:12px}.trace-stages{grid-template-columns:.9fr 1.1fr .9fr 1.2fr;display:grid}.trace-stage{border-right:1px solid var(--line);flex-direction:column;min-width:0;padding:18px 18px 20px;display:flex}.trace-stage:last-child{border-right:0}.trace-stage>header{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:18px;display:flex}.trace-stage>header>span{color:var(--green2);background:var(--green-soft);border:1px solid var(--line);border-radius:50%;place-items:center;width:25px;height:25px;font-size:10px;font-weight:700;display:grid}.trace-stage h4{color:var(--ink);margin:0;font-size:13px}.trace-stage>header small{color:var(--green2);margin-left:auto;font-size:10px}.trace-stage.is-pending>header small{color:#946422}.trace-stage.is-pending>header>span{background:var(--canvas);color:var(--muted)}.trace-data{gap:9px;margin:0;display:grid}.trace-data>div{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:3px 10px;min-width:0;display:flex}.trace-data dt{color:var(--muted);font-size:12px;line-height:1.45}.trace-data dd{color:var(--ink);overflow-wrap:anywhere;max-width:100%;margin:0;font-size:12px;font-weight:600;line-height:1.45}.trace-stage:first-child .trace-data>div{display:grid}.stage-empty{color:var(--muted);margin:0 0 20px;font-size:13px;line-height:1.65}.stage-action{width:100%;margin-top:18px;padding:10px;font-size:12px}.stage-confirmation{color:var(--green2);align-items:center;gap:6px;margin-top:20px;font-size:11px;display:flex}.quality-note{border-top:1px dashed var(--line);margin-top:12px;padding-top:12px;font-size:12px}.quality-note b{color:var(--muted);font-size:11px;font-weight:500}.quality-note p{overflow-wrap:anywhere;white-space:pre-wrap;margin:5px 0 0;line-height:1.6}.trace-count{color:var(--muted);margin:0;font-size:12px}.empty-state{background:var(--surface);border:1px dashed var(--line);border-radius:12px}.empty-state h3{color:var(--ink)}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:28px;display:grid}.quick-actions button{text-align:left;border:1px solid var(--line);background:var(--surface);color:var(--green2);border-radius:12px;align-items:center;gap:14px;padding:20px;display:flex}.quick-actions button:first-child{background:var(--green);color:#fff;border-color:var(--green)}.quick-actions button>span{flex:1}.quick-actions b,.quick-actions small{display:block}.quick-actions small{opacity:.8;margin-top:6px;font-size:12px;font-weight:400}.quick-actions svg{flex-shrink:0;width:20px}.login-screen{background:var(--canvas)}.login-screen:before{background:var(--green-dark)}.login-screen:after{background:var(--red)}.login-card{border-radius:20px}.wizard-panel{background:var(--canvas)}.wizard-actions>div{gap:10px;display:flex}[data-theme=dark]{--green2:#89d6a7;--green-soft:#203a2b;--ink:#ecf1eb;--muted:#afbeb1;--surface:#1a2820;--canvas:#111c16;--line:#34493b}[data-theme=dark] .sidebar{background:var(--surface)}[data-theme=dark] .secondary{color:var(--ink);background:var(--green-soft)}[data-theme=dark] .trace-stage.is-pending>header small{color:#e8bd78}@media (width>=761px) and (width<=1200px){.trace-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.trace-stage:nth-child(2){border-right:0}.trace-stage:nth-child(-n+2){border-bottom:1px solid var(--line)}.production-filters{flex-direction:column;align-items:stretch;gap:10px}.search-field{max-width:none}.quick-actions{grid-template-columns:1fr}}@media (width<=760px){.sidebar,.sidebar.collapsed{width:238px}.main{margin-left:0}.content{padding:22px 14px 40px}.topbar{gap:8px;height:64px;padding:0 14px}.topbar h1{font-size:16px;display:block}.top-actions{gap:6px}.connection{background:0 0;padding:0;font-size:0}.connection svg{width:17px}.avatar{display:grid}.sync-button{padding:0 9px}.mobile-menu{flex-shrink:0}.page-intro{margin-bottom:20px}.page-intro h2{font-size:25px}.production-tools{flex-wrap:wrap;gap:10px;padding:12px}.production-tools .primary{flex:1}.production-filters{flex-direction:column;align-items:stretch;gap:10px}.search-field{max-width:none}.status-filter select{flex:1;min-width:0}.trace-card-head{flex-wrap:wrap;padding:14px}.trace-stages{grid-template-columns:1fr}.trace-stage{border-right:0;border-bottom:1px solid var(--line);padding:18px}.trace-stage:last-child{border-bottom:0}.trace-stage:first-child .trace-data>div{display:flex}.trace-stage>header{margin-bottom:14px}.trace-data dt,.trace-data dd{font-size:13px}.stage-empty{margin-bottom:0}.trace-list{gap:18px}.quick-actions{grid-template-columns:1fr}.cards.four{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric-card{min-height:160px;padding:16px}.metric-card strong{font-size:24px}.hero,.hero.compact{align-items:stretch}.hero-actions{margin-left:0}.wizard-actions,.wizard-actions>div{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (width<=760px){.topbar>div:not(.top-actions){min-width:0}.topbar h1{overflow-wrap:anywhere;font-size:14px;line-height:1.3}.top-actions{flex-shrink:0}}.brand{box-shadow:inset 0 -3px var(--red)}[data-theme=dark] .connection.online{color:#a1e0b7;background:#203a2b}[data-theme=dark] .filters label{color:var(--muted)}.monthly-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;font-size:13px;display:flex}.monthly-toolbar>div>span{color:var(--muted)}.layout-switch{border:1px solid var(--line);background:var(--surface);border-radius:10px;flex-shrink:0;gap:4px;padding:4px;display:flex}.layout-switch button{color:var(--muted);background:0 0;border:0;border-radius:7px;padding:9px 12px;font-size:12px;font-weight:700}.layout-switch button[aria-pressed=true]{background:var(--green);color:#fff}.monthly-production{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin-bottom:16px}.monthly-production table{table-layout:fixed;width:100%;min-width:0}.monthly-production th{z-index:2;background:var(--green);color:#fff;padding:14px 16px;font-size:11px;position:sticky;top:76px}.monthly-production th:first-child{border-radius:11px 0 0}.monthly-production th:last-child{border-radius:0 11px 0 0}.monthly-row td{vertical-align:top;border-right:1px solid var(--line);overflow-wrap:anywhere;padding:14px 16px;font-size:13px}.monthly-row td small{margin-top:4px;font-size:12px;line-height:1.5}.monthly-complete{color:var(--green2);margin-top:6px;font-size:11px;display:block}.monthly-details{text-align:left;margin-top:8px;padding:0;line-height:1.5;display:block}.monthly-expanded[hidden]{display:none}.monthly-expanded>td{background:var(--canvas);padding:12px}.monthly-expanded .trace-card{box-shadow:none}.monthly-expanded .trace-stage{padding:16px 12px}@media (width<=1100px){.monthly-toolbar{flex-direction:column;align-items:flex-start}}@media (width<=760px){.monthly-production{background:0 0;border:0}.monthly-production table,.monthly-production tbody{display:block}.monthly-production thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.monthly-row{background:var(--surface);border:1px solid var(--line);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px;display:grid}.monthly-row td{border:0;padding:12px;font-size:12px}.monthly-row td:nth-child(odd){border-right:1px solid var(--line)}.monthly-row td:nth-child(n+3){border-top:1px solid var(--line)}.monthly-row td:before{content:attr(data-stage);color:var(--muted);margin-bottom:8px;font-size:10px;font-weight:700;display:block}.monthly-expanded,.monthly-expanded>td{padding:0;display:block}.monthly-expanded:not([hidden]){margin-bottom:18px}.layout-switch{width:100%}.layout-switch button{flex:1}}.pwa-panel{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:0 0 20px;padding:10px 14px;font-size:12px;display:flex}.pwa-panel>div{align-items:center;gap:8px;display:flex}.pwa-panel>div svg{flex-shrink:0}.pwa-panel button{align-items:center;gap:6px;display:inline-flex}.pwa-panel p{width:100%;margin:0;line-height:1.6}.pending-banner{background:var(--green-soft);border-radius:9px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px;padding:12px 16px;font-size:13px;display:flex}.pending-list{padding-left:22px;font-size:14px;line-height:1.8}.status.pending_sync{color:#785718;background:#fff0ce}.field>label{color:var(--ink);font-size:13px;font-weight:700}.remit-line-field{flex-direction:column;gap:6px;min-width:0;display:flex}.remit-line-field>span{color:var(--ink);font-size:12px;font-weight:700}.line-grid .icon-button{align-self:end;height:44px}@media (width<=760px){.line-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px}.line-grid>.remit-line-field:first-child{grid-column:1/-1}}body{font-size:16px}.sidebar button,.primary,.secondary,.layout-switch button{min-height:46px;font-size:15px}input,select,textarea{min-height:46px;font-size:16px}.field>label,.remit-line-field>span{font-size:15px}.field:focus-within>label{color:var(--green2)}.entry-help{color:var(--ink);font-size:15px;line-height:1.6}.monthly-production th{letter-spacing:0;font-size:14px}.monthly-row td{border-right:1px solid var(--line);font-size:16px;line-height:1.6}.monthly-row td:last-child{border-right:0}.monthly-row:nth-child(4n+3){background:var(--canvas)}.monthly-row:hover,.monthly-row:focus-within{background:var(--green-soft)}.monthly-row small,.monthly-complete,.monthly-details{font-size:14px}.monthly-details{text-underline-offset:3px;min-height:44px;text-decoration:underline}.trace-data,.trace-data dt,.trace-data dd{font-size:14px}.pwa-panel,.pending-banner,.form-note{font-size:14px;line-height:1.6}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--green2);outline-offset:3px}@media (width<=760px){.monthly-row td{overflow-wrap:anywhere;padding:12px 10px;font-size:15px}.monthly-row td:before{font-size:13px}.monthly-row td:nth-child(odd){border-right:1px solid var(--line)}.monthly-row td:nth-child(2n){border-right:0}.layout-switch button{padding:10px;font-size:14px}}@media (width>=761px){.app-shell .sidebar.collapsed{width:74px}.app-shell.nav-collapsed .main{margin-left:74px}}.production-tools{box-shadow:none;background:0 0;border:0;margin-bottom:16px;padding:0}.hero.compact{justify-content:flex-end;min-height:0}.pwa-install{font-size:13px;position:relative}.pwa-install>p{background:var(--surface);border:1px solid var(--line);z-index:30;border-radius:10px;width:min(320px,85vw);padding:16px;position:absolute;top:100%;right:0;box-shadow:0 6px 20px #0002}input[readonly]{background:var(--canvas);color:var(--muted)}@media (width<=760px){.pwa-install>button{max-width:90px;font-size:11px}}.sidebar .pwa-install{margin-top:12px}.sidebar .pwa-install>button{font-size:12px}.sidebar .pwa-install>p{inset:auto auto 100% 0}@media (width>=761px){.sidebar.collapsed .pwa-install>button{font-size:0}}.monthly-production .monthly-row,.monthly-production .monthly-row:hover,.monthly-production .monthly-row:focus-within,.monthly-production .monthly-row td{color:#24362e;background:#fff}.monthly-production .monthly-row td{padding:8px 14px;font-size:15px;line-height:1.35}.monthly-row small{color:#526359;margin-top:3px}.monthly-row .monthly-details{min-height:30px;margin-top:3px;padding:3px 0}.monthly-row .monthly-complete{color:#07643d;margin-top:3px}.monthly-production th:first-child{color:#fff;background:#07643d}.monthly-production th:nth-child(2){color:#fff;background:#285c87}.monthly-production th:nth-child(3){color:#fff;background:#67518a}.monthly-production th:nth-child(4){color:#fff;background:#9a522c}.configuration-menu{gap:4px;display:grid}.sidebar .submenu-item{margin-left:16px;padding-left:18px}.sidebar.collapsed .submenu-item{margin-left:0;padding-left:10px}.recipe-button{min-height:32px;margin-top:4px;display:block}@media (width<=760px){.monthly-production .monthly-row td{padding:8px 10px}.monthly-row td:first-child:before{color:#07643d}.monthly-row td:nth-child(2):before{color:#285c87}.monthly-row td:nth-child(3):before{color:#67518a}.monthly-row td:nth-child(4):before{color:#9a522c}}.monthly-production col.detail-column{width:48px}.monthly-production th:last-child{background:#f2f4f1}.monthly-row .stage-value{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stage-value svg{color:#07643d;flex:none}.monthly-row .detail-toggle-cell{text-align:center;padding:3px}.detail-toggle{width:40px;height:40px}.detail-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.monthly-expanded>td{padding:0}.monthly-expanded .trace-card{border:0;border-radius:0}.monthly-expanded .trace-card-head{display:none}@media (width>=761px){.monthly-expanded .trace-stages{grid-template-columns:repeat(4,minmax(0,1fr))}.monthly-expanded .trace-stage{padding:12px 14px}}@media (width<=760px){.monthly-row .detail-toggle-cell{border-top:1px solid var(--line);border-right:0;grid-column:1/-1}.monthly-row .detail-toggle-cell:before,.monthly-expanded .detail-spacer{display:none}}.monthly-production .monthly-row td.detail-toggle-cell{padding:3px}.detail-toggle{background:var(--green-soft);color:var(--green2)}.stock-cards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;padding:16px;display:grid}.stock-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;flex-direction:column;gap:8px;padding:20px;display:flex}.stock-card strong{color:var(--green2);font-size:2rem}.stock-card h3{margin:0}.stock-card meter{width:100%;height:14px}.tank-details{grid-column:1/-1;margin-top:20px}.tank-details table input{width:100%;min-width:100px}.tank-details table{min-width:800px}.tank-details textarea{min-height:70px}.monthly-expanded .trace-stages,.wizard-steps{grid-template-columns:repeat(3,minmax(0,1fr))}@media (width<=800px){.monthly-expanded .trace-stages{grid-template-columns:1fr}}.production-mode{flex-shrink:0;justify-content:flex-end;gap:8px;margin-bottom:12px;display:flex}.production-wizard>.wizard-actions,.production-wizard>.wizard-steps{flex-shrink:0}.tank-details tbody th{text-transform:none;letter-spacing:0;white-space:normal}.modal:has(.production-wizard){height:min(900px,100dvh - 40px)}.tank-details input,.tank-details select{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:8px}.tank-details th{font-size:13px}.production-tools{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px;display:flex}.production-toolbar-actions{flex-wrap:wrap;gap:8px;display:flex}.production-toolbar-actions button{white-space:nowrap;flex:1}.recovery-history{margin:20px 0}.recovery-history>summary{cursor:pointer;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px}:is(.modal:has(.production-wizard),.modal:has(.recovered-entry)){width:calc(100vw - 12px);max-width:none;height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);padding:16px 12px;overflow:hidden}.production-wizard{height:100%;min-height:0}.production-wizard h2,.recovered-entry h2{margin:4px 0;font-size:21px}.production-mode{justify-content:flex-start;margin:0 34px 8px 0}.production-mode button{min-height:44px;padding:8px 12px}.production-wizard .eyebrow{display:none}.production-wizard .entry-help{margin:4px 0 8px;font-size:13px;line-height:1.35}.production-wizard .wizard-steps{margin:4px 0 10px;padding:0}.production-wizard .wizard-steps button{padding:3px}.production-wizard .wizard-steps button span{width:26px;height:26px;font-size:12px}.production-wizard .wizard-steps button b{margin-top:4px;font-size:11px}.entry-tabs{flex-shrink:0;gap:4px;margin-bottom:8px;display:flex}.entry-tabs button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);border-radius:8px;flex:1;padding:6px;font-size:13px}.entry-tabs button[aria-selected=true]{background:var(--green);color:#fff}.production-wizard .wizard-panel{border-top-width:2px;padding:12px}.production-wizard .wizard-panel p{margin:0 0 8px;font-size:13px}.production-wizard .form-grid,.production-wizard .wizard-panel .form-grid.three,.recovered-entry .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.production-wizard .field,.recovered-entry .field{min-width:0}.production-wizard .field label,.recovered-entry .field label{margin-bottom:4px;font-size:13px}.production-wizard input,.production-wizard select,.production-wizard textarea,.recovered-entry input,.recovered-entry select,.recovered-entry textarea{width:100%;min-width:0;min-height:44px;padding:8px;font-size:16px}.production-wizard .wizard-actions{gap:6px;margin-top:10px;padding-top:10px}.production-wizard .wizard-actions button{min-height:44px;padding:8px 10px;font-size:13px}.production-wizard .wizard-actions>div{gap:6px}.production-wizard .tank-details{margin:0}.tank-details h3{margin:0 0 10px;font-size:15px}.material-picker{flex-direction:column;gap:4px;margin-bottom:10px;font-size:13px;display:flex}.production-wizard [hidden]{display:none!important}.production-wizard .tank-details table{min-width:0}.production-wizard .tank-details thead{display:none}.production-wizard .tank-details tbody{display:block}.production-wizard .tank-details tr{display:none}.production-wizard .tank-details tr.selected-material{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.production-wizard .tank-details tr>th{grid-column:1/-1;padding:0}.production-wizard .tank-details td{border:0;min-width:0;padding:0;display:block}.production-wizard .tank-details td:before{margin-bottom:4px;font-size:13px;display:block}.production-wizard .tank-details td:nth-child(2):before{content:"Marca"}.production-wizard .tank-details td:nth-child(3):before{content:"N.º de lote"}.production-wizard .tank-details td:nth-child(4):before{content:"Vencimiento"}.production-wizard .tank-details td:nth-child(5):before{content:"Cantidad"}.production-wizard .tank-details td:nth-child(6):before{content:"Unidad"}.recovered-entry{flex-direction:column;height:100%;min-height:0;display:flex}.recovered-entry form{min-height:0;overflow:auto}.recovered-entry form>button{margin-top:16px;position:sticky;bottom:0}.recovered-entry .production-mode{flex-shrink:0}.stock-chart{gap:16px;padding:20px;display:grid}.stock-chart-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 10px;display:grid}.stock-chart-row>span{font-size:14px}.stock-chart-track{background:var(--green-soft);border-radius:6px;grid-area:2/1/auto/-1;height:22px;overflow:hidden}.stock-chart-track>div{background:var(--green);border-radius:6px;height:100%}.stock-chart-row>b{font-size:14px}@media (width>=700px){:is(.modal:has(.production-wizard),.modal:has(.recovered-entry)){width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:20px 24px}.production-wizard .form-grid,.production-wizard .wizard-panel .form-grid.three,.recovered-entry .form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.production-wizard .wizard-panel{padding:16px}.production-wizard .wizard-steps{align-self:center;width:100%;max-width:700px}.production-wizard .material-picker{display:none}.production-wizard .tank-details thead{display:table-header-group}.production-wizard .tank-details tbody{display:table-row-group}.production-wizard .tank-details tr,.production-wizard .tank-details tr.selected-material{display:table-row}.production-wizard .tank-details td{padding:4px 6px;display:table-cell}.production-wizard .tank-details th{padding:6px;font-size:12px}.production-wizard .tank-details td:before{display:none}.production-wizard .tank-details input{min-width:0}.stock-chart-row{grid-template-columns:minmax(140px,220px) minmax(0,1fr) 80px;gap:16px}.stock-chart-track{grid-area:auto}.stock-chart-row>b{text-align:right}}@media (width<=380px){.production-toolbar-actions{width:100%}.production-toolbar-actions button{padding:8px;font-size:13px}.entry-tabs button{font-size:12px}.production-wizard .wizard-actions{flex-wrap:wrap}.production-wizard .wizard-actions>div{margin-left:auto}}:is(.modal-backdrop:has(.production-wizard),.modal-backdrop:has(.recovered-entry)){padding:6px}body:has(.modal-backdrop) .toast{visibility:hidden}@media (width>=700px){:is(.modal-backdrop:has(.production-wizard),.modal-backdrop:has(.recovered-entry)){padding:16px}}.remit-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.remit-summary .stock-card{border-radius:12px;gap:6px;min-width:0;padding:14px}.remit-summary .stock-card h3{overflow-wrap:anywhere;font-size:14px}.remit-summary .stock-card strong{font-size:1.7rem}.remit-summary .stock-card>span{font-size:12px;line-height:1.5}.remit-summary .remit-total{color:#fff;background:#07643d;border-color:#07643d;grid-column:1/-1;gap:8px;padding:22px 24px}.remit-summary .remit-total h3{color:#fff;font-size:16px}.remit-summary .remit-total strong{color:#fff;font-size:2.8rem;line-height:1.1}.remit-summary .remit-total>span{color:#e5f4eb;font-size:14px}@media (width>=700px){.remit-summary{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:12px}.remit-summary .remit-total{grid-column:span 2;justify-content:center}}@media (width>=1100px){.remit-summary{grid-template-columns:minmax(250px,1.6fr) repeat(5,minmax(0,1fr))}.remit-summary .remit-total{grid-column:auto;min-height:160px}}.report-bars .bar-row .sent span{background:#c43d3d}[data-theme=dark] .report-bars .bar-row .sent span{background:#ef7777}.line-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end}.line-grid>.remit-line-field:first-child{grid-column:1/-1}.line-grid .icon-button{justify-self:end}@media (width>=700px){.line-grid{grid-template-columns:minmax(0,2fr) repeat(6,minmax(0,1fr)) 44px}.line-grid>.remit-line-field:first-child{grid-column:auto}}.filters.date-range-filter{flex-wrap:wrap;align-items:flex-end;min-width:0;max-width:100%}.date-range-filter label{flex:120px;min-width:0}.date-range-filter input{width:100%;min-width:0}.date-range-filter .link{height:40px}.production-tools .filters{flex-wrap:wrap;min-width:0;max-width:100%}.remit-amounts-summary{gap:4px;width:min(100%,320px);margin:14px 0 0 auto;display:grid}.remit-amounts-summary>div{justify-content:space-between;gap:16px;display:flex}.remit-amounts-summary dt,.remit-amounts-summary dd{margin:0}.remit-total-amount{border-top:1px solid;padding-top:6px;font-size:1.05em;font-weight:700}.date-range-filter label{flex:140px}@media (width>=700px){.line-grid{grid-template-columns:repeat(6,minmax(0,1fr)) 44px}.line-grid>.remit-line-field:first-child{grid-column:1/-1}}.line-grid .icon-button{min-width:44px}.remit-line-field output{white-space:nowrap;text-overflow:ellipsis;min-height:44px;line-height:44px;display:block;overflow:hidden}.materials-section td:nth-child(2) input{min-width:130px}@media (pointer:coarse),(width<=1024px){.table-actions button,td>.link,td>.danger-link,.date-range-filter .link{min-height:40px;padding:8px 6px}}@media screen and (width<=900px){.table-wrap>.stack-table,.remit-document .stack-table{width:100%;min-width:0}.stack-table thead{display:none}.stack-table tr{border-bottom:1px solid var(--line);padding:10px 14px;display:block}.stack-table td,.stack-table tfoot th{text-align:right;white-space:normal;border:0;justify-content:space-between;align-items:center;gap:12px;padding:4px 0;display:flex}.stack-table td:before,.stack-table tfoot th:before{content:attr(data-label);color:var(--muted);text-align:left;flex:none;font-weight:600}.stack-table tfoot th:empty{display:none}.stack-table tfoot th.stack-title{justify-content:flex-start;font-weight:700}}.bottom-nav,.drawer-backdrop{display:none}@media screen and (width<=1024px){html{-webkit-tap-highlight-color:transparent}body{overscroll-behavior-y:contain}.app-shell .main,.app-shell.nav-collapsed .main{margin-left:0}.mobile-menu,.collapse-menu{display:none!important}.topbar{z-index:30;height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(14px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left));gap:8px;position:sticky;top:0}.topbar .eyebrow{display:none}.topbar h1{margin:0;font-size:18px;display:block}.top-actions{gap:6px}.connection{background:0 0;padding:0;font-size:0}.connection svg{width:18px}.content{padding:16px max(14px,env(safe-area-inset-right)) calc(92px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}.bottom-nav{z-index:40;background:var(--surface,#fff);border-top:1px solid var(--line);padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));-webkit-user-select:none;user-select:none;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -6px 24px #0000000f}.bottom-nav button{min-height:54px;color:var(--muted);background:0 0;border:0;border-radius:12px;justify-items:center;gap:3px;padding:6px 2px;font-size:11px;font-weight:600;line-height:1.1;display:grid}.bottom-nav button svg{stroke-width:1.9px;width:22px;height:22px}.bottom-nav button.active{color:var(--green-dark,#07643d);background:color-mix(in srgb,var(--green-dark,#07643d) 10%,transparent)}.bottom-nav button:active{transform:scale(.96)}body:has(.modal-backdrop) .bottom-nav{display:none}.sidebar,.sidebar.collapsed{visibility:hidden;z-index:60;width:min(320px,86vw);padding-top:calc(14px + env(safe-area-inset-top));padding-bottom:calc(14px + env(safe-area-inset-bottom));transition:transform .22s,visibility .22s;overflow-y:auto;transform:translate(-100%)}.sidebar.open{visibility:visible;transform:none;box-shadow:0 0 60px #0004}.drawer-backdrop{z-index:55;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#102d2766;display:block;position:fixed;inset:0}.toast{left:14px;right:14px;bottom:calc(84px + env(safe-area-inset-bottom));text-align:center}input,select,textarea{font-size:16px}.primary,.secondary{border-radius:12px;min-height:48px}.panel,.metric-card,.production-tools{border-radius:16px}.quick-actions{display:none}.hero.compact{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.hero.compact>.primary,.config-toolbar>.primary,.production-toolbar-actions>button{flex:100%;justify-content:center}}@media screen and (width<=900px){.panel .table-wrap{overflow:visible}.panel .table-wrap>.stack-table tbody tr{border:1px solid var(--line);background:var(--surface,#fff);border-radius:14px;margin:10px 12px}.panel .table-wrap>.stack-table tbody tr:last-child{margin-bottom:12px}.stack-table td:first-child{font-weight:700}.stack-table .table-actions{flex-wrap:wrap;justify-content:flex-end}.stack-table td[colspan]:before{content:none}.stack-table td[colspan]{text-align:center;justify-content:center}}@media screen and (width<=760px){.modal-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;place-items:end stretch;padding:0}:is(.modal,.modal:has(.production-wizard)){width:100%;max-width:100%;height:100dvh;max-height:100dvh;padding:calc(18px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));border-radius:0;margin:0;animation:.22s ease-out sheet-up}.modal>form,.modal>article,.modal>div{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.modal .form-actions,.modal .remit-actions{z-index:2;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--surface,#fff);border-top:1px solid var(--line);margin:20px -16px 0;position:sticky;bottom:0}.modal .form-actions>button,.modal .remit-actions>button{flex:1}:is(.modal:has(.form-actions)>form,.modal:has(.remit-actions)>article){padding-bottom:0}.modal-close{top:calc(12px + env(safe-area-inset-top));width:44px;height:44px;right:12px}.modal:has(.production-wizard) .wizard-actions{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}@keyframes sheet-up{0%{opacity:.6;transform:translateY(24px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.modal{animation:none!important}.sidebar{transition:none!important}}@media print{.bottom-nav,.drawer-backdrop{display:none!important}}@media screen and (width<=1024px){.page-tools,.hero.compact{grid-template-columns:1fr;align-items:stretch;gap:10px;min-height:0;display:grid}.filters.date-range-filter{grid-template-columns:1fr 1fr;gap:8px 10px;width:100%;display:grid}.date-range-filter .link{justify-self:start}.production-tools .filters{width:100%}.toast{border-radius:999px;width:max-content;max-width:calc(100vw - 28px);padding:10px 18px;font-size:14px;left:50%;right:auto;transform:translate(-50%)}}@media screen and (width<=900px){.panel .table-wrap>.stack-table tbody{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;padding:12px;display:grid}.panel .table-wrap>.stack-table tbody tr,.panel .table-wrap>.stack-table tbody tr:last-child{margin:0}.stack-table tbody td:first-child{text-align:left;justify-content:flex-start;padding-bottom:6px;font-size:16px}.stack-table tbody td:first-child:before{content:none}.stack-table td{overflow-wrap:anywhere}.stack-table td[colspan]{grid-column:1/-1}}@media screen and (width<=699px){.line-grid{border:1px solid var(--line);border-radius:14px;margin-bottom:10px;padding:12px}.line-grid .icon-button{grid-column:1/-1;justify-self:end}}@media screen and (width<=1024px){.filters.date-range-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;display:grid!important}.date-range-filter label{min-width:0}.date-range-filter input{width:100%;min-width:0}.content{padding-top:12px;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.page-tools,.hero.compact{gap:8px;margin:0 0 10px}.period-label{font-size:12px}.filters.date-range-filter{align-items:end;gap:6px 8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important}.filters label{gap:3px;font-size:10px}.filters input,.date-range-filter input{height:42px;padding:0 8px}.date-range-filter .link{align-self:end;min-height:42px;padding:0 4px}.date-range-filter .link+.link{grid-column:1/-1;justify-self:end;min-height:28px}.production-tools{gap:8px;margin-bottom:10px;padding:10px}.production-toolbar-actions{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.production-toolbar-actions>button{min-height:46px;padding:0 10px;font-size:14px}.production-toolbar-actions>button:first-child{grid-column:1/-1}.production-filters{margin-bottom:10px}.panel{margin-bottom:12px}.panel-head{padding:12px 14px}.panel-head h3{margin:0;font-size:16px}.panel-head p{margin:2px 0 0;font-size:12px;line-height:1.35}.cards.four{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.metric-card{text-align:left;grid-template-columns:auto 1fr;align-items:center;gap:1px 10px;padding:12px;display:grid}.metric-card .icon{grid-row:1/3;width:36px;height:36px;margin:0}.metric-card small{font-size:11px;line-height:1.2}.metric-card strong{font-size:20px;line-height:1.15}.metric-card em,.metric-card b{grid-column:1/-1;margin:0;font-size:11px}.stock-chart{gap:8px;padding:10px 14px}.stock-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;padding:10px 12px 12px}.stock-card{grid-template-columns:1fr auto;align-items:baseline;gap:2px 8px;padding:12px;display:grid}.stock-card>svg{display:none}.stock-card h3{grid-column:1/-1;margin:0;font-size:14px}.stock-card strong{font-size:24px;line-height:1.1}.stock-card span,.stock-card p{margin:0;font-size:11px}.stock-card meter{grid-column:1/-1;width:100%;margin-top:4px}.remit-summary{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;padding:10px 12px 12px}.remit-summary .remit-total{grid-column:1/-1;align-items:baseline;gap:10px;padding:12px 14px;display:flex}.remit-summary .remit-total h3{flex:1;margin:0;font-size:14px}.remit-summary .remit-total strong{font-size:26px;line-height:1}.trace-count{margin:6px 0 10px;font-size:11px}.form-grid,.form-grid.three{gap:10px 12px}.form-grid>.field:last-child:nth-child(odd){grid-column:1/-1}.field{gap:4px}.field label{font-size:13px}.modal h2{margin:2px 0 8px;font-size:21px}.modal h3{margin:14px 0 8px}.form-note{margin:8px 0;padding:8px 12px;font-size:13px}.line-grid{gap:8px 10px}.empty-state{padding:20px 14px}}@media screen and (width<=900px){.panel .table-wrap>.stack-table tbody{gap:8px;padding:10px 12px 12px}.stack-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;padding:10px 12px;display:grid}.stack-table tbody td{text-align:left;min-width:0;padding:0;display:block}.stack-table tbody td:before{letter-spacing:.04em;text-transform:uppercase;margin-bottom:1px;font-size:10px;font-weight:700;display:block}.stack-table tbody td:first-child{grid-column:1/-1;padding:0;font-size:15px}.stack-table tbody td:empty{display:none}.stack-table tbody td:last-child:has(button){border-top:1px solid var(--line);grid-column:1/-1;margin-top:2px;padding-top:4px}.stack-table tbody td:last-child:has(button):before{content:none}.stack-table .table-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.stack-table tbody td:last-child:has(button){flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.remit-document .stack-table tbody tr{border-bottom:1px solid var(--line)}.remit-document .stack-table tfoot tr{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px;display:grid}.remit-document .stack-table tfoot th{text-align:left;padding:0;display:block}.remit-document .stack-table tfoot th:before{text-transform:uppercase;font-size:10px;display:block}.remit-document .stack-table tfoot th.stack-title{grid-column:1/-1}}@media screen and (width<=760px){:is(.modal,.modal:has(.production-wizard)){padding-top:calc(12px + env(safe-area-inset-top))}.production-wizard .entry-help{display:none}.production-wizard h2{margin:6px 0 8px}.wizard-steps{margin:4px 0 8px}.wizard-panel{padding:10px 12px}.wizard-panel p{margin:0 0 8px;font-size:13px}.remit-data{gap:6px}.remit-document header img{max-height:64px}}@media screen and (width<=1024px){.field{margin:0}.form-grid{margin:8px 0}.metric-card{align-content:start;height:auto;min-height:0}.cards.four{align-items:stretch}.production-tools{min-width:0}.production-toolbar-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.production-toolbar-actions>button{white-space:normal;gap:6px;min-width:0;font-size:13px;line-height:1.15}.production-toolbar-actions>button svg{flex:none;width:16px}.remit-summary .stock-card{padding:10px 12px}.production-tools .filters{grid-template-columns:1fr;gap:6px;display:grid}.production-tools .filters>label input{width:100%}.stock-cards.remit-summary{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important;display:grid!important}.stock-cards.remit-summary .remit-total{flex-flow:wrap;align-items:baseline;gap:4px 10px;display:flex!important}.stock-cards.remit-summary .remit-total>*{margin:0}.stock-cards.remit-summary{flex-wrap:wrap;display:flex!important}.stock-cards.remit-summary>*{flex:130px}.stock-cards.remit-summary .remit-total{flex:100%}}@media screen and (width<=900px){.stack-table tbody td[data-label=Código]{display:none}}@media screen and (width<=699px){.line-grid{position:relative}.line-grid .icon-button{grid-column:auto;width:40px;min-width:40px;height:40px;position:absolute;top:6px;right:6px}.line-grid{padding-top:14px}.line-grid .icon-button{border-radius:8px;width:32px;min-width:32px;height:32px;top:6px;right:8px}}@media screen and (width>=1025px){:root{--radius:12px}.app-shell .sidebar{width:216px;padding:12px 10px}.app-shell .main{margin-left:216px}.app-shell.nav-collapsed .main{margin-left:74px}.sidebar .brand{height:auto;padding:4px 8px 12px}.sidebar .brand img{width:auto;max-width:100%;max-height:72px}.sidebar button{min-height:40px;padding:8px 12px;font-size:14px}.sidebar nav{gap:2px}.topbar{height:58px;padding:0 24px}.topbar h1{font-size:19px}.top-actions>*{height:36px;min-height:36px}.collapse-menu{width:34px;height:34px;margin-right:12px}.content{padding:18px 24px 32px}.primary,.secondary,.layout-switch button{border-radius:9px;min-height:38px;padding:0 14px;font-size:14px}.field input,.field select,.field textarea,.line-grid input,.line-grid select,.filters input,.search-field{min-height:38px;font-size:14px}.field textarea{min-height:64px}.field{gap:4px;margin:0}.field>label,.remit-line-field>span{font-size:13px}.form-grid{gap:12px 16px;margin:10px 0}.filters label{gap:3px;font-size:10.5px}.filters input,.date-range-filter input{height:38px}.page-tools,.hero.compact{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:14px;min-height:0;margin:0 0 14px;display:flex}.filters.date-range-filter{flex-wrap:nowrap;align-items:flex-end;gap:8px;width:auto;display:flex}.date-range-filter label{flex:0 0 150px}.date-range-filter .link{min-height:38px;padding:0 6px}.quick-actions{gap:10px;margin-bottom:14px}.quick-actions button{border-radius:12px;min-height:0;padding:10px 16px}.quick-actions b{font-size:14px}.quick-actions small{font-size:12px}.cards{gap:12px;margin-bottom:14px}.metric-card{border-radius:12px;grid-template-columns:auto 1fr;align-items:center;gap:1px 12px;min-height:0;padding:14px 16px;display:grid}.metric-card .icon{grid-row:1/3;width:40px;height:40px;margin:0}.metric-card small{font-size:12px}.metric-card strong{letter-spacing:-.5px;font-size:22px;line-height:1.15}.metric-card em,.metric-card b{grid-column:1/-1;margin:0;font-size:12px}.panel{border-radius:12px;margin-bottom:14px}.panel-head{padding:12px 18px}.panel-head h3{margin:0;font-size:15.5px}.panel-head p{margin:2px 0 0;font-size:12.5px}.stock-chart{gap:8px;padding:12px 18px}.stock-cards{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;padding:12px 18px 16px}.stock-card{border-radius:12px;padding:12px 14px}.stock-card>svg{display:none}.stock-card h3{margin:0 0 2px;font-size:14px}.stock-card strong{font-size:24px;line-height:1.1}.stock-card span,.stock-card p{margin:0;font-size:12px}.stock-cards.remit-summary .remit-total{padding:14px 16px}.stock-cards.remit-summary .remit-total strong{font-size:30px}th{padding:9px 14px;font-size:10.5px}td{padding:9px 14px;font-size:13.5px}.table-actions{gap:10px}.monthly-production th{padding:9px 14px;font-size:12px}.monthly-row td{padding:8px 14px;font-size:14px;line-height:1.4}.production-tools{gap:12px;margin-bottom:10px;padding:12px 14px}.production-filters{margin-bottom:10px}.trace-count{margin:6px 0 12px;font-size:12px}.modal-backdrop{padding:16px}.modal{border-radius:14px;max-height:calc(100dvh - 32px);padding:22px 26px 0}.modal>form,.modal>article,.modal>div{padding-bottom:22px}:is(.modal:has(.form-actions)>form,.modal:has(.remit-actions)>article){padding-bottom:0}.modal h2{margin:2px 0 10px;font-size:20px}.modal h3{margin:14px 0 8px;font-size:14.5px}.modal .eyebrow{font-size:10px}.modal-close{width:34px;height:34px;top:14px;right:14px}.form-note{margin:8px 0;padding:8px 12px;font-size:13px}.modal .form-actions,.modal .remit-actions{z-index:2;background:var(--surface,#fff);border-top:1px solid var(--line);border-radius:0 0 14px 14px;margin:16px -26px 0;padding:12px 26px;position:sticky;bottom:0}:is(.modal:has(.line-grid),.modal:has(.remit-document)){width:min(980px,100%)}.line-grid{grid-template-columns:minmax(0,2.3fr) repeat(6,minmax(0,1fr)) 38px;align-items:end;gap:8px 10px;margin-bottom:8px}.line-grid>.remit-line-field:first-child{grid-column:auto}.line-grid .icon-button{width:38px;min-width:38px;height:38px}.remit-line-field output{min-height:38px;font-size:13.5px;line-height:38px}.modal:has(.production-wizard){height:auto;max-height:calc(100dvh - 32px);padding:18px 24px}:is(.modal:has(.production-wizard)>form,.modal:has(.production-wizard)>div){padding-bottom:0}.production-wizard{height:auto;max-height:calc(100dvh - 68px)}.production-wizard h2{margin:8px 0 2px;font-size:19px}.production-wizard .entry-help{margin:0 0 6px;font-size:12.5px;line-height:1.4}.production-mode button{min-height:34px}.wizard-steps{margin:2px 0 8px}.entry-tabs button{min-height:34px;font-size:13px}.wizard-panel{padding:12px 16px}.wizard-panel p{margin:0 0 6px;font-size:12.5px}.production-wizard .form-grid,.production-wizard .wizard-panel .form-grid.three{gap:8px 14px;margin:4px 0 8px}.production-wizard input,.production-wizard select,.recovered-entry input,.recovered-entry select{height:36px;min-height:36px;font-size:14px}.production-wizard textarea{height:36px;min-height:36px}.tank-details h3{margin:0 0 6px;font-size:14px}.tank-details th{padding:4px 6px;font-size:10px}.production-wizard .wizard-actions{margin-top:10px;padding-top:10px}.sidebar .brand img{max-height:96px}.modal:has(.recovered-entry){width:min(980px,100%);height:auto;padding-bottom:22px}.recovered-entry form>button.primary{margin:14px 0 0 auto;display:flex}.recovered-entry p{margin:4px 0 10px;font-size:13px}.tank-details input,.tank-details select{padding-top:0;padding-bottom:0;height:32px!important;min-height:32px!important}.tank-details td{padding:2px 6px}.remit-line-field>span{white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.line-grid{grid-template-columns:minmax(0,2.2fr) repeat(3,minmax(0,.9fr)) minmax(0,1.25fr) minmax(0,1.1fr) minmax(0,1fr) 38px}.stock-cards{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.stock-card{grid-template-columns:1fr auto;align-items:baseline;gap:2px 10px;display:grid}.stock-card h3,.stock-card meter{grid-column:1/-1}.stock-card meter{width:100%;margin-top:4px}.filters.date-range-filter{flex-direction:row!important}.hero.compact .filters{flex-direction:row}.stock-cards.remit-summary{align-items:stretch}.stock-cards.remit-summary .stock-card,.stock-cards.remit-summary .remit-total{align-content:center;height:auto;min-height:0}.stock-cards.remit-summary .remit-total{flex-direction:column;justify-content:center;gap:2px;display:flex}.filters.date-range-filter{display:flex!important}}.trace-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px;display:flex}.trace-summary p{color:var(--muted);margin:0;font-size:13px;font-weight:600}.trace-summary-actions{align-items:center;gap:14px;display:flex}.monthly-expanded>td{background:var(--canvas,#f3f4ef)}.monthly-expanded .trace-card{background:0 0;padding:12px 14px 14px}.monthly-expanded .trace-stages{border:0;gap:10px}.monthly-expanded .trace-stage,.monthly-expanded .trace-stage:last-child{background:var(--surface,#fff);border:1px solid var(--line);border-radius:10px;padding:12px 14px}.monthly-expanded .trace-stage>header{border-bottom:1px solid var(--line);margin:0 0 10px;padding:0 0 8px}.monthly-expanded .trace-stage h4{margin:0;font-size:13.5px}.monthly-expanded .trace-stage>p{color:var(--muted);margin:0 0 10px;font-size:13px}.monthly-expanded .trace-data{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px 14px;margin:0 0 8px;display:grid}.monthly-expanded .trace-data>div,.monthly-expanded .trace-stage:first-child .trace-data>div{border:0;min-width:0;margin:0;padding:0;display:block}.monthly-expanded .trace-data dt{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:0 0 1px;font-size:10px;font-weight:700}.monthly-expanded .trace-data dd{overflow-wrap:anywhere;margin:0;font-size:13.5px;font-weight:600}.monthly-expanded .trace-stage h4+small,.monthly-expanded .trace-stage>h4{margin:8px 0 6px}.monthly-expanded .stage-action{min-height:32px;margin-top:4px;padding:0 12px;font-size:13px}.monthly-expanded .trace-stage .primary{width:auto;min-height:38px}.monthly-expanded .trace-stages{align-items:start}.monthly-expanded .stage-action{width:auto;margin:6px 0 0 auto;display:flex}.monthly-expanded .stage-action.secondary{min-height:30px;padding:0 14px;font-size:12.5px}.monthly-expanded .stage-action.primary{justify-content:center;width:100%;min-height:38px}.monthly-expanded .trace-stage>.danger-link,.monthly-expanded .trace-stage>.link{margin:4px 0 0 auto;font-size:12.5px;display:block}:root:not([data-theme=dark]){--green:#0b6b43;--green2:#0b6b43;--green-dark:#084f32;--green-soft:#e9f4ee;--ink:#1c2430;--muted:#667085;--line:#e4e7ec;--canvas:#f6f7f9;--accent-text:#084f32}[data-theme=dark]{--accent-text:#9be0b6}html,html body{background:var(--canvas);color:var(--ink)}html .content,html .main{background:var(--canvas)}html .sidebar button.active,html[data-theme=light] .sidebar button.active{background:var(--green-soft);color:var(--accent-text);box-shadow:inset 3px 0 0 var(--green)}html .sidebar button.active:hover{background:var(--green-soft);color:var(--accent-text)}html .sidebar button:hover,html[data-theme=light] .sidebar button:hover{background:color-mix(in srgb,var(--ink) 5%,transparent);color:var(--ink)}html .quick-actions button,html .quick-actions button:first-child{background:var(--surface);color:var(--ink);border:1px solid var(--line)}html .quick-actions button b{color:var(--ink)}html .quick-actions button small{color:var(--muted)}html .quick-actions button svg{color:var(--green)}html .metric-card strong,html .panel-head h3{color:var(--ink)}html .monthly-production th:nth-child(n){background:var(--surface);color:var(--ink);border-bottom:1px solid var(--line);box-shadow:inset 0 3px 0 var(--stage,var(--line))}html .monthly-production th:first-child{--stage:var(--green)}html .monthly-production th:nth-child(2){--stage:#3b76a8}html .monthly-production th:nth-child(3){--stage:#8a6bb5}html .monthly-production th:last-child{--stage:transparent}html .monthly-row .monthly-complete,html .stage-value svg{color:#1f8a57}[data-theme=dark] .monthly-row .monthly-complete,[data-theme=dark] .stage-value svg{color:#7fd3a4}html .monthly-row:hover,html .monthly-row:focus-within{background:color-mix(in srgb,var(--ink) 3%,transparent)}html .remit-summary .remit-total{background:var(--surface);border:1px solid var(--line);color:var(--ink);box-shadow:inset 3px 0 0 var(--green)}html .remit-summary .remit-total h3{color:var(--muted)}html .remit-summary .remit-total strong{color:var(--ink)}html .remit-summary .remit-total>span{color:var(--muted)}html .form-note{background:color-mix(in srgb,var(--ink) 4%,transparent);color:var(--ink)}html .primary{background:var(--green);border-color:var(--green);color:#fff}html .secondary{background:var(--surface);border:1px solid var(--line);color:var(--ink)}html .secondary:hover{background:color-mix(in srgb,var(--ink) 4%,var(--surface))}html:not([data-theme=dark]) .connection.online{color:#17694a;background:#e8f5ee}html .link{color:var(--accent-text)}html .bottom-nav button.active{color:var(--accent-text);background:var(--green-soft)}html .eyebrow{color:var(--muted)}:root{--brand-bordo:#9b1c2c}[data-theme=dark]{--brand-bordo:#e08a93}html .sidebar button.active,html[data-theme=light] .sidebar button.active{box-shadow:inset 3px 0 0 var(--brand-bordo)}html .eyebrow,html .modal .eyebrow,html .bottom-nav button.active svg{color:var(--brand-bordo)}html .panel-head h3:before{content:"";background:var(--brand-bordo);vertical-align:-.1em;border-radius:2px;width:3px;height:.95em;margin-right:8px;display:inline-block}[data-theme=dark] .monthly-production .monthly-row td{background:var(--surface);color:var(--ink)}[data-theme=dark] .monthly-expanded .trace-stage{background:var(--surface)}:root:not([data-theme=dark]){--canvas:#eff0f2;--line:#d3d6db;--muted:#565d68}html:not([data-theme=dark]) .panel,html:not([data-theme=dark]) .metric-card,html:not([data-theme=dark]) .quick-actions button,html:not([data-theme=dark]) .production-tools,html:not([data-theme=dark]) .monthly-production,html:not([data-theme=dark]) .search-field,html:not([data-theme=dark]) .trace-card{border-color:var(--line);background:#fff;box-shadow:0 1px 2px #1c243014,0 4px 14px #1c24300a}html:not([data-theme=dark]) .sidebar{border-right:1px solid var(--line);background:#fff;box-shadow:1px 0 #1c243008}html:not([data-theme=dark]) .topbar{border-bottom:1px solid var(--line);background:#fff;box-shadow:0 1px 3px #1c24300f}html:not([data-theme=dark]) .bottom-nav{border-top:1px solid var(--line);background:#fff}html:not([data-theme=dark]) .stock-card,html:not([data-theme=dark]) .stack-table tbody tr{border-color:var(--line)}html:not([data-theme=dark]) .filters input,html:not([data-theme=dark]) .field input,html:not([data-theme=dark]) .field select,html:not([data-theme=dark]) .field textarea,html:not([data-theme=dark]) .line-grid input,html:not([data-theme=dark]) .line-grid select{background:#fff;border-color:#bfc3c9}html:not([data-theme=dark]) .secondary{border-color:#bfc3c9}html:not([data-theme=dark]) th{color:#474d57;background:#f5f6f7}html:not([data-theme=dark]) .monthly-expanded>td{background:#f1f2f4}html:not([data-theme=dark]) .stock-chart-track{background:#e2e3e6}html:not([data-theme=dark]) .modal{box-shadow:0 24px 70px #1c243055}html:not([data-theme=dark]) .wizard-panel{border-color:var(--line);background:#f2f3f4}:root{--c-green:#0b6b43;--c-green-2:#12925c;--c-bordo:#9b1c2c;--c-amber:#c77a0a;--c-blue:#2563a8;--c-violet:#6d4fb3;--t-green:#e3f3ea;--t-bordo:#fbe9eb;--t-amber:#fff1d6;--t-blue:#e4eefb;--t-violet:#eee9f9}[data-theme=dark]{--t-green:#1d3a2b;--t-bordo:#3d2226;--t-amber:#3d3118;--t-blue:#1c2f47;--t-violet:#2c2646;--c-amber:#f0b24a;--c-blue:#7fb2ee;--c-violet:#b6a0ec;--c-bordo:#e88f98;--c-green:#2f9e68}html .quick-actions button:first-child{color:#fff;background:linear-gradient(135deg,#0b6b43,#12925c);border-color:#0000;box-shadow:0 6px 18px #0b6b4333}html .quick-actions button:first-child b,html .quick-actions button:first-child small,html .quick-actions button:first-child svg{color:#fff}html .quick-actions button:first-child small{opacity:.9}html .quick-actions button>svg:first-child{box-sizing:content-box;border-radius:10px;width:20px;height:20px;padding:8px}html .quick-actions button:first-child>svg:first-child{background:#ffffff26}html .quick-actions button:nth-child(2)>svg:first-child{background:var(--t-bordo);color:var(--c-bordo)}html .quick-actions button:nth-child(3)>svg:first-child{background:var(--t-blue);color:var(--c-blue)}html .quick-actions button:nth-child(2)>svg:last-child{color:var(--c-bordo)}html .quick-actions button:nth-child(3)>svg:last-child{color:var(--c-blue)}html .quick-actions button:hover{transform:translateY(-1px);box-shadow:0 8px 20px #1c243018}html .metric-card{border-top:3px solid var(--mc,var(--line))}html .metric-card .icon{background:var(--mt,var(--t-green));color:var(--mc,var(--c-green))}html .cards>.metric-card:first-child{--mc:var(--c-green);--mt:var(--t-green)}html .cards>.metric-card:nth-child(2){--mc:var(--c-amber);--mt:var(--t-amber)}html .cards>.metric-card:nth-child(3){--mc:var(--c-blue);--mt:var(--t-blue)}html .cards>.metric-card:nth-child(4){--mc:var(--c-bordo);--mt:var(--t-bordo)}html .metric-card b{color:var(--mc)}html .stock-chart-track{background:color-mix(in srgb,var(--bar,var(--c-green)) 14%,transparent)}html .stock-chart-track>div{background:linear-gradient(90deg,var(--bar,var(--c-green)),color-mix(in srgb,var(--bar,var(--c-green)) 75%,#fff))}html .stock-chart-row:nth-child(4n+1){--bar:var(--c-green)}html .stock-chart-row:nth-child(4n+2){--bar:var(--c-amber)}html .stock-chart-row:nth-child(4n+3){--bar:var(--c-blue)}html .stock-chart-row:nth-child(4n+4){--bar:var(--c-bordo)}html .stock-card{border-left:3px solid var(--c-green)}html .stock-card strong{color:var(--c-green)}html .monthly-production th:first-child{background:var(--t-green);color:var(--c-green);--stage:var(--c-green)}html .monthly-production th:nth-child(2){background:var(--t-blue);color:var(--c-blue);--stage:var(--c-blue)}html .monthly-production th:nth-child(3){background:var(--t-violet);color:var(--c-violet);--stage:var(--c-violet)}html .monthly-production th:last-child{background:var(--surface)}html .monthly-expanded .trace-stage:first-child{border-top:3px solid var(--c-green)}html .monthly-expanded .trace-stage:nth-child(2){border-top:3px solid var(--c-blue)}html .monthly-expanded .trace-stage:nth-child(3){border-top:3px solid var(--c-violet)}html .primary{background:linear-gradient(135deg,#0b6b43,#12925c);border-color:#0000;box-shadow:0 3px 10px #0b6b4330}html .primary:hover{background:linear-gradient(135deg,#084f32,#0b6b43)}html .production-toolbar-actions>button.secondary:nth-child(2){background:var(--t-amber);border-color:color-mix(in srgb,var(--c-amber) 45%,transparent);color:color-mix(in srgb,var(--c-amber) 80%,#000)}html .production-toolbar-actions>button.secondary:nth-child(3){background:var(--t-bordo);border-color:color-mix(in srgb,var(--c-bordo) 40%,transparent);color:var(--c-bordo)}html .production-toolbar-actions>button.secondary:hover{filter:brightness(.97)}html .detail-toggle{background:var(--t-green);color:var(--c-green)}html .remit-summary .remit-total{color:#fff;background:linear-gradient(135deg,#0b6b43,#12925c);border-color:#0000;box-shadow:0 6px 18px #0b6b4333}html .remit-summary .remit-total h3,html .remit-summary .remit-total strong,html .remit-summary .remit-total>span{color:#fff}html .remit-summary .stock-card:nth-child(4n+2){border-left-color:var(--c-amber)}html .remit-summary .stock-card:nth-child(4n+2) strong{color:var(--c-amber)}html .remit-summary .stock-card:nth-child(4n+3){border-left-color:var(--c-blue)}html .remit-summary .stock-card:nth-child(4n+3) strong{color:var(--c-blue)}html .remit-summary .stock-card:nth-child(4n+4){border-left-color:var(--c-bordo)}html .remit-summary .stock-card:nth-child(4n+4) strong{color:var(--c-bordo)}html .sidebar button.active,html[data-theme=light] .sidebar button.active{background:var(--t-green);color:var(--c-green);font-weight:700}html .sidebar button.active svg{color:var(--c-green)}html:not([data-theme=dark]) .avatar{background:var(--c-bordo);border-color:var(--c-bordo)}html .sync-button{border-color:color-mix(in srgb,var(--c-green) 35%,transparent);color:var(--c-green)}html .sync-button svg{color:var(--c-green)}html .bottom-nav button.active{background:var(--t-green);color:var(--c-green)}html .panel-head{border-bottom-color:var(--line)}html .stock-card,html .remit-summary .stock-card:nth-child(n){border-left-color:var(--pc,var(--c-green))}html .stock-card strong,html .remit-summary .stock-card:nth-child(n) strong{color:var(--pc,var(--c-green))}html .stock-card meter{accent-color:var(--pc,var(--c-green))}html .stock-card meter::-webkit-meter-optimum-value{background:var(--pc,var(--c-green))}html .stock-card meter::-moz-meter-bar{background:var(--pc,var(--c-green))}html:not([data-theme=dark]) .sidebar,html[data-theme=light] .sidebar{background:linear-gradient(#0d4a33 0%,#0a3626 100%);border-right:0;box-shadow:2px 0 18px #0a362633}html:not([data-theme=dark]) .sidebar .brand,html[data-theme=light] .sidebar .brand{background:#fff;border:0;border-radius:14px;place-items:center;margin:2px 2px 16px;padding:8px;display:grid;box-shadow:0 6px 18px #00000030}html:not([data-theme=dark]) .sidebar button{color:#d6e6dd;border-radius:10px;transition:background .15s,color .15s,transform .15s}html:not([data-theme=dark]) .sidebar button svg{color:#9fc7b3}html:not([data-theme=dark]) .sidebar button:hover,html[data-theme=light] .sidebar button:hover{color:#fff;background:#ffffff14}html:not([data-theme=dark]) .sidebar button:hover svg{color:#fff}html:not([data-theme=dark]) .sidebar button.active,html[data-theme=light] .sidebar button.active{color:#0b5a3a;box-shadow:0 4px 14px #0003,inset 4px 0 0 var(--brand-bordo);background:#fff;font-weight:700}html:not([data-theme=dark]) .sidebar button.active svg{color:#0b6b43}html:not([data-theme=dark]) .sidebar button.active:hover{color:#0b5a3a;background:#fff}html:not([data-theme=dark]) .sidebar .submenu-item{color:#bcd6c9}html:not([data-theme=dark]) .sidebar-bottom{border-top:1px solid #fff2}html:not([data-theme=dark]) .sidebar-bottom>span{color:#8fb7a3}html:not([data-theme=dark]) .sidebar .pwa-install>button{color:#e6f1eb;background:#ffffff14;border:1px solid #ffffff26}html:not([data-theme=dark]) .sidebar .pwa-install,html:not([data-theme=dark]) .sidebar .pwa-panel{color:#cfe1d7}html:not([data-theme=dark]) .sidebar.collapsed .brand{border-radius:10px;padding:4px}html .sidebar .brand,html:not([data-theme=dark]) .sidebar .brand,html[data-theme=light] .sidebar .brand,html[data-theme=dark] .sidebar .brand{box-shadow:none;background:0 0;border:0;border-bottom:1px solid #fff2;border-radius:0;place-items:center;height:auto;margin:4px 0 14px;padding:6px 10px 14px;display:grid}html .sidebar .brand img{filter:drop-shadow(0 4px 10px #00000040);width:100%;max-width:176px;height:auto;max-height:none;transform:none}html .sidebar.collapsed .brand{padding:6px 2px 10px}html .sidebar.collapsed .brand img{max-width:56px}html .remit-summary .remit-total,html .remit-summary .remit-total:nth-child(n){border-left-color:#0000}html .remit-summary .remit-total strong,html .remit-summary .remit-total:nth-child(n) strong,html .remit-summary .remit-total h3,html .remit-summary .remit-total>span{color:#fff}.brand-input{align-items:stretch;gap:6px;display:flex}.brand-input select{flex:1;min-width:0}.brand-input button{border-radius:8px;flex:none;align-self:stretch;place-items:center;width:36px;min-width:36px;padding:0;display:grid;height:auto!important;min-height:0!important}
