:root{color:#19392f;font-synthesis:none;background:#f3f6f4;font-family:Inter,Arial,sans-serif}*{box-sizing:border-box}body{margin:0}h1{margin:8px 0 24px;font-size:30px}h2{font-size:21px}h3{font-size:16px}p{line-height:1.6}small{color:#647a70}button,input{font:inherit}button{cursor:pointer;color:#fff;background:#195b45;border:0;border-radius:8px;padding:12px 18px;font-weight:600}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #c2a966}label{color:#3e584e;gap:8px;margin-bottom:16px;display:grid}input{background:#fff;border:1px solid #cad8cf;border-radius:8px;width:100%;padding:12px}form>button{margin-top:8px}.login{place-items:center;min-height:100dvh;padding:24px;display:grid}.login .card{width:100%;max-width:440px;padding:32px}.brand{color:#234633;background:#e5c87f;border-radius:13px;place-items:center;width:48px;height:48px;font-size:22px;font-weight:800;display:grid}.card{background:#fff;border:1px solid #dfe8e2;border-radius:14px;margin:18px 0;padding:22px}.badge{color:#607368;border:1px solid #d9e4dc;border-radius:20px;margin:4px 0 12px;padding:7px 12px;font-size:12px;display:inline-block}.message{background:#fff5da;border:1px solid #e9dab3;border-radius:10px;margin:14px 0;padding:14px;line-height:1.6}.error{color:#a02e30;background:#fff0f0;border-radius:8px;padding:12px}.layout{grid-template-columns:240px 1fr;min-height:100dvh;display:grid}aside{color:#fff;background:#153f36;padding:28px 20px}aside small{color:#bdd0c4}nav{gap:8px;margin:28px 0;display:grid}nav button{text-align:left;background:0 0}nav button.selected{background:#2c5a4c}.layout main{min-width:0;max-width:1400px;padding:28px 36px}header{justify-content:space-between;align-items:center;gap:16px;display:flex}header span{background:#fff;border-radius:20px;padding:10px 16px;font-size:14px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.grid .card{margin:0}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}td,th{text-align:left;white-space:nowrap;border-bottom:1px solid #e6ede8;padding:12px}th{text-transform:capitalize;background:#f4f7f5}.actions{gap:12px;display:flex}@media (width<=700px){.layout{grid-template-columns:1fr}aside{padding:16px}aside h2,aside>small{display:none}aside .brand{float:left;margin-right:12px}nav{margin:0 0 12px;display:flex;overflow:auto}nav button{white-space:nowrap}.layout main{padding:20px 16px}.grid{grid-template-columns:1fr}header{align-items:flex-start}header span{font-size:12px}h1{font-size:26px}}@media print{aside,.message,button{display:none}.layout{display:block}.layout main{padding:0}}select,textarea{font:inherit;background:#fff;border:1px solid #cad8cf;border-radius:8px;width:100%;padding:12px}textarea{min-height:70px}.order-line{grid-template-columns:2fr 1fr 1fr auto;align-items:center;gap:12px;display:grid}.actions{flex-wrap:wrap;align-items:center}.actions select{width:auto}.a5-bill{background:#fff;border:1px solid #dfe8e2;max-width:650px;padding:24px}.a5-bill td,.a5-bill th{white-space:normal;padding:8px;font-size:12px}.bill-note{font-size:11px}.signatures{justify-content:space-between;margin-top:35px;font-size:11px;display:flex}@media (width<=700px){.order-line{grid-template-columns:1fr 1fr}.order-line label:first-child{grid-column:1/-1}}@page{size:A5 portrait;margin:10mm}@media print{body{color:#000;background:#fff}.layout main>:not(.a5-bill){display:none!important}.a5-bill{border:0;max-width:none;padding:0;display:block!important}.a5-bill thead{display:table-header-group}.a5-bill tr{break-inside:avoid}.a5-bill h2{margin:0}.a5-bill p{font-size:12px}}.a5-bill{color:#182b24;border-radius:2px;max-width:650px;min-height:680px;padding:28px;font-family:Arial,sans-serif}.bill-heading{border-bottom:3px solid #19392f;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:18px;display:flex}.bill-brand{align-items:center;gap:12px;display:flex}.bill-logo{border:2px solid #19392f;padding:10px 8px;font-size:22px;font-weight:800}.bill-brand h2{letter-spacing:.4px;margin:0;font-size:24px}.bill-brand p{margin:5px 0 0;font-size:12px}.bill-reference{text-align:right;flex-direction:column;gap:6px;display:flex}.bill-reference strong{letter-spacing:1px;font-size:12px}.bill-reference span{font-size:22px;font-weight:700}.bill-reference small{color:inherit;font-size:8px}.bill-details{justify-content:space-between;gap:20px;padding:20px 0;display:flex}.bill-party{flex:1}.bill-label{letter-spacing:1px;color:#536158;font-size:9px;font-weight:700}.bill-party h3{text-transform:capitalize;margin:7px 0;font-size:18px}.bill-party p{margin:0;font-size:12px;line-height:1.7}.bill-meta{width:47%;font-size:11px}.bill-meta p{justify-content:space-between;gap:10px;margin:0 0 9px;display:flex}.bill-meta strong{text-align:right}.bill-items{table-layout:fixed;border:1px solid #9caaa0}.bill-items th{color:#182b24;background:#edf1ee;border:1px solid #9caaa0;padding:10px 6px;font-size:10px}.bill-items td{vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #c6cfc8;border-right:1px solid #c6cfc8;padding:8px 6px;font-size:12px}.bill-items th:first-child{width:6%}.bill-items th:nth-child(2){width:40%}.bill-items th:nth-child(3){width:9%}.bill-items th:nth-child(4){width:21%}.bill-items th:nth-child(5){width:24%}.bill-items td:nth-child(n+3),.bill-items th:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}.bill-items small{color:#536158;margin-top:4px;font-size:9px;display:block}.bill-empty{height:27px}.bill-summary{border-bottom:2px solid #19392f;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;display:flex}.bill-summary>span{font-size:10px}.bill-summary>div{text-align:right}.bill-summary>div span{letter-spacing:.6px;font-size:9px;display:block}.bill-summary strong{margin-top:5px;font-size:24px;display:block}.bill-remarks{margin-top:14px}.bill-remarks p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0;font-size:11px}.bill-terms{break-inside:avoid;border:1px solid #c6cfc8;margin:18px 0 0;padding:10px;font-size:10px}.bill-terms p{margin:5px 0 0;font-size:10px;line-height:1.5}.bill-signatures{break-inside:avoid;justify-content:space-between;gap:24px;margin-top:40px;display:flex}.bill-signatures>div{text-align:center;width:45%}.bill-signatures span{border-top:1px solid #536158;margin-bottom:8px;display:block}.bill-signatures strong{font-size:10px;font-weight:400}.bill-footer{letter-spacing:.5px;border-top:1px solid #c6cfc8;justify-content:space-between;margin-top:25px;padding-top:10px;font-size:8px;display:flex}@media (width<=700px){.a5-bill{min-height:0;padding:16px}.bill-heading{flex-wrap:wrap}.bill-brand h2{font-size:20px}.bill-meta{width:50%}.bill-summary strong{font-size:20px}}@page{size:A5 portrait;margin:8mm}@media print{.a5-bill{color:#000;border:0;width:100%;min-height:0;padding:0}.bill-heading{border-color:#000;flex-wrap:nowrap;padding-bottom:12px}.bill-brand{gap:8px}.bill-brand h2{font-size:20px}.bill-logo{border-color:#000;padding:8px 6px;font-size:18px}.bill-brand p{font-size:10px}.bill-reference span{font-size:18px}.bill-details{gap:12px;padding:15px 0}.bill-meta{width:48%}.bill-party h3{font-size:16px}.a5-bill .bill-items th{background:#fff;border-color:#555;padding:8px 5px;font-size:9px}.a5-bill .bill-items td{padding:7px 5px;font-size:11px}.bill-empty{height:23px}.bill-summary{border-color:#000;padding:12px 0}.bill-summary strong{font-size:22px}.bill-terms{margin-top:14px}.bill-signatures{margin-top:32px}.bill-footer{margin-top:20px}}.stock-total{color:#195b45;font-size:30px}.row-check{accent-color:#195b45;cursor:pointer;width:20px;height:20px;padding:0}@media screen{.layout{grid-template-columns:240px minmax(0,1fr)}.layout main{width:100%;margin-inline:auto}button{white-space:normal;max-width:100%;min-height:44px;line-height:1.35}button:disabled{cursor:not-allowed}.card{min-width:0}.card>h2:first-child{margin-top:0}.actions{gap:14px;margin-block:16px}.section-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:24px 0 18px;display:flex}.section-toolbar h2,.section-toolbar h3{margin:0}.section-toolbar select{width:auto;min-width:140px;max-width:100%}.button-row{flex-wrap:wrap;align-items:center;gap:14px;margin:18px 0;display:flex}.handover-submit{background:#f8faf9;border:1px solid #dfe8e2;border-radius:12px;margin-top:24px}.handover-submit summary{cursor:pointer;padding:18px 20px;font-weight:600;line-height:1.5}.panel-content{padding:0 20px 6px}.handover-detail{border:1px solid #dfe8e2;border-radius:12px;margin-top:26px;padding:22px}.handover-detail>h3{margin-top:0;font-size:18px}.handover-card .scroll{border:1px solid #e1e9e4;border-radius:10px;max-width:100%;margin-block:16px}.cash-total{background:#edf5f0;border-radius:10px;padding:14px 16px;line-height:1.65}.cash-total strong{font-variant-numeric:tabular-nums}.verification-panel{border-top:1px solid #dfe8e2;margin-top:24px;padding-top:16px}.verification-panel label{max-width:440px}.success-notice{background:#eaf5ee;border:1px solid #c5dfce;border-radius:10px;padding:14px 16px}.grid>*,label{min-width:0}.scroll{overscroll-behavior-x:contain;max-width:100%}header{flex-wrap:wrap}@media (width<=700px){.layout{grid-template-columns:minmax(0,1fr)}.card{padding:18px}.panel-content{padding-inline:14px}.handover-detail{padding:16px}.section-toolbar{align-items:flex-start}.button-row>button{flex:180px}}.cash-description{white-space:normal;overflow-wrap:anywhere;min-width:220px;max-width:380px}.cash-total{margin-block:18px}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.metric-card{background:#fff;border:1px solid #dfe8e2;border-radius:12px;flex-direction:column;gap:12px;min-width:0;padding:20px;display:flex}.metric-card>span{color:#536b60;font-size:14px}.metric-card>strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:26px}.metric-card>small{line-height:1.5}@media (width<=480px){.metric-grid{grid-template-columns:1fr}}}
