:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#20332c;background:#f7f8f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible{outline:3px solid #b0cc70;outline-offset:2px}input{border:1px solid #dce2d8;border-radius:9px;padding:12px;background:white;color:#20332c;min-width:0}label{display:flex;flex-direction:column;gap:8px;font-size:13px}button{border:0;border-radius:9px;padding:11px 16px;background:#edf0e9;color:#294535}h1{font-size:32px;letter-spacing:-1px;margin:8px 0 0;font-weight:600}h2{font-size:19px;font-weight:600;margin:0}p{line-height:1.5}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#7b897c;margin:0 0 8px}.brand{font-size:25px;font-weight:700;letter-spacing:-1px}.brand span{color:#87ad49}.primary{background:#234d3b;color:white;width:100%;padding:16px;font-weight:600}.muted{color:#839080;font-size:12px}.small{font-size:11px}#login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at top right,#e0ebcc,transparent 65%)}#login[hidden], [hidden]{display:none!important}#login form{width:min(420px,90vw);background:white;padding:36px;border:1px solid #e5e9df;border-radius:20px}#login h1{font-size:46px;margin-top:22px}#login label{margin:20px 0}#login .eyebrow{margin-top:28px}#login-error{color:#a33232}#workspace{display:grid;grid-template-columns:92px minmax(350px,1fr) 370px;min-height:100vh}aside{padding:26px 12px;border-right:1px solid #e3e7dd;background:#fff;display:flex;align-items:center;flex-direction:column;gap:20px}.nav{width:68px;background:transparent;font-size:24px;padding:12px 3px}.nav span{display:block;font-size:10px;margin-top:8px}.nav.active{background:#eaf0df;color:#315334}.aside-bottom{margin-top:auto;text-align:center;font-size:10px}.aside-bottom button{font-size:10px;background:transparent;padding:10px 0}.avatar{display:grid;place-items:center;background:#e7eddb;border-radius:50%;width:34px;height:34px;margin:auto}main{padding:36px 34px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px;gap:16px}.status{font-size:11px;color:#587355;white-space:nowrap}.status i{display:inline-block;width:6px;height:6px;background:#75a15f;border-radius:50%;margin-right:6px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.segmented{display:flex;background:#e9ede3;padding:4px;border-radius:10px}.segmented button{background:transparent;font-size:12px;padding:10px 18px}.segmented .selected{background:white;box-shadow:0 1px 5px #20332c12}.tax{flex-direction:row;align-items:center;font-size:11px}.search{display:flex;align-items:center;margin:22px 0 16px;border:1px solid #dde3d7;background:white;border-radius:10px;padding:0 14px}.search span{font-size:26px;color:#8d9b87}.search input{border:0;background:transparent;width:100%}.categories{display:flex;gap:8px;flex-wrap:wrap}.categories button{border:1px solid #dfe5d7;background:transparent;border-radius:30px;font-size:11px;padding:8px 13px}.categories .selected{background:#294f3c;border-color:#294f3c;color:white}.section-title{display:flex;align-items:center;justify-content:space-between;margin:32px 0 18px}.section-title span{color:#89917f;font-size:11px}.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}.product{text-align:left;background:white;padding:12px;border:1px solid #e3e8dc;border-radius:14px;transition:transform .15s}.product:hover{transform:translateY(-3px);border-color:#9bb88c}.product-art{height:115px;display:grid;place-items:center;border-radius:9px;background:#eef0e4;font-size:44px;margin-bottom:16px}.product:nth-child(3n+2) .product-art{background:#eee8dd}.product:nth-child(3n) .product-art{background:#e5ebe5}.product-category{color:#88927f;font-size:10px}.product-name{font-size:13px;font-weight:600;margin:6px 0 14px}.product-bottom{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:600}.add{display:grid;place-items:center;background:#eaf0df;border-radius:50%;width:26px;height:26px}#cart-panel{background:white;border-left:1px solid #e3e7dd;padding:35px 24px;display:flex;flex-direction:column}.cart-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.subtle{background:transparent;color:#819075;font-size:12px;padding:8px}#table-label{margin-bottom:20px}#cart-lines{flex:1;min-height:170px}.empty{padding:50px 14px;text-align:center;color:#8b9782;font-size:13px}.cart-line{padding:16px 0;border-bottom:1px solid #eef0e9}.line-top{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:600}.quantity{display:flex;align-items:center;gap:13px;margin-top:12px;font-size:12px}.quantity button{padding:3px 9px;font-size:16px}.amount{display:flex;justify-content:space-between;margin:14px 0;font-size:13px}.total{font-size:23px;border-top:1px dashed #dce3d5;padding-top:22px;margin-top:22px;font-weight:600}.checkout label{margin:24px 0 14px}#notice{font-size:12px;color:#a44935}dialog{border:1px solid #dce3d5;padding:32px;border-radius:18px;min-width:320px;max-width:90vw}dialog::backdrop{background:#152c2466}#receipt-body{margin:22px 0;font-size:14px;line-height:1.8}.sale-row{background:white;border:1px solid #e2e7dc;padding:18px;margin:12px 0;border-radius:10px;display:flex;justify-content:space-between;gap:14px;font-size:13px}@media(max-width:1100px){#workspace{grid-template-columns:76px 1fr 320px}main{padding:28px 20px}.toolbar{align-items:flex-start;flex-direction:column}h1{font-size:26px}#cart-panel{padding:28px 18px}}@media(max-width:760px){#workspace{grid-template-columns:64px 1fr}aside{padding:22px 4px;grid-row:1/3}.nav{width:54px}main{padding:24px 16px}#cart-panel{grid-column:2;border-top:1px solid #e3e7dd;border-left:0}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-art{height:90px}.status{display:none}.product-name{min-height:32px}h1{font-size:24px}.tax{font-size:10px}header{margin-bottom:24px}}

select{font:inherit;border:1px solid #dce2d8;border-radius:9px;padding:12px;background:white;color:#20332c;width:100%}.confirmation{flex-direction:row;align-items:center;line-height:1.5}.confirmation input{flex-shrink:0}select:focus-visible{outline:3px solid #b0cc70;outline-offset:2px}.sale-row span{overflow-wrap:anywhere}

.cart-line{padding:14px 10px;border-bottom:0;border-radius:8px}.cart-line:nth-child(even){background:#f0f3ec}.cart-line:nth-child(odd){background:#fff}.split-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.split-inputs label{margin:12px 0 0}.split-inputs input{width:100%}.transfer-button{width:100%;text-align:left;padding:10px 12px;font-size:12px;background:#eef3e9;margin:6px 0}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}#transfer-dialog{width:380px}#transfer-dialog label{margin:16px 0}#transfer-dialog input:not([type=checkbox]){width:100%}#transfer-dialog .confirmation{font-size:13px}#split-hint{margin:6px 0}

.compact{width:auto;padding:10px 15px;font-size:12px}#manage-search{width:100%}.sale-info{flex:1;min-width:0}.sale-info p{margin:8px 0 0}.sale-row{align-items:center;flex-wrap:wrap}#product-dialog{width:440px;max-height:90vh;overflow-y:auto}#product-form label{margin:14px 0}#product-error{color:#a44935;font-size:12px}#receipt-body{overflow-wrap:anywhere}#receipt-print{width:100%;margin-bottom:10px}#receipt{max-height:90vh;overflow-y:auto}
@media print{@page{size:80mm auto;margin:5mm}body{background:white}body>*{display:none!important}body>#receipt[open]{display:block!important;position:static;width:70mm;min-width:0;max-width:none;max-height:none;overflow:visible;border:0;padding:0;margin:0;box-shadow:none}#receipt::backdrop{display:none}#receipt button{display:none!important}#receipt-body{font-size:11px}#receipt h2{font-size:18px}}
