:root{font-family:Trebuchet MS,Segoe UI,sans-serif;color:#2f1e12;background:radial-gradient(circle at top left,rgba(255,208,92,.55),transparent 35%),linear-gradient(180deg,#fff7eb,#fff3d8 45%,#fff9f0);line-height:1.4;font-weight:400;color-scheme:light;--mustard: #efb810;--ketchup: #d6402b;--pickle: #4d7c35;--tomato: #e36d3b;--ink: #2f1e12;--panel: rgba(255, 255, 255, .9);--panel-border: rgba(114, 70, 25, .12)}*{box-sizing:border-box}body{margin:0;min-height:100vh;overflow-x:hidden}#root{min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}table{width:100%;border-collapse:collapse}th,td{padding:.9rem .75rem;border-bottom:1px solid rgba(47,30,18,.08);text-align:left;vertical-align:top}.app-shell{display:grid;grid-template-columns:280px 1fr;min-height:100vh}.app-shell.nav-hidden{grid-template-columns:1fr}.sidebar{padding:1.5rem;background:linear-gradient(180deg,#3a1d0f,#6a3318);color:#fff3d8;position:sticky;top:0;height:100vh}.brand-card{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.brand-card h1,.hero-banner h2,.panel h2{margin:0}.brand-card p,.panel-header p{margin:.35rem 0 0;opacity:.8}.brand-emoji{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,var(--mustard),#ffd773);color:#512103;font-weight:800}.main-nav{display:flex;flex-direction:column;gap:.55rem}.nav-link{padding:.95rem 1rem;color:inherit;text-decoration:none;border-radius:16px;background:#ffffff0d}.nav-link.active{background:#fff3d82e;color:#fff}.content{padding:1.5rem;min-width:0}.layout-toggles{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.hero-banner{display:flex;justify-content:space-between;gap:1rem;margin-bottom:1.5rem;padding:1.4rem 1.6rem;border-radius:28px;background:linear-gradient(135deg,#fff4cf,#ffd776);box-shadow:0 18px 45px #a36b1c2e}.badge{display:inline-block;margin-bottom:.5rem;padding:.35rem .65rem;border-radius:999px;background:#d6402b24;color:#882712;font-size:.85rem;font-weight:700}.hero-note{max-width:220px;display:grid;align-content:start;gap:.3rem;min-width:0}.hero-note strong{font-size:2rem}.session-box{display:grid;gap:.35rem;justify-items:end;min-width:0}.session-box small{opacity:.75}.page-grid{display:grid;gap:1.25rem}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.metric-card,.panel{background:var(--panel);border:1px solid var(--panel-border);border-radius:24px;padding:1.25rem;box-shadow:0 10px 30px #51210314}.metric-card{display:grid;align-content:space-between;gap:.85rem;min-height:132px}.metric-title{margin:0;opacity:.72;font-size:.92rem;font-weight:700;letter-spacing:.01em}.metric-value{display:block;margin:0;font-size:clamp(1.7rem,2.6vw,2.3rem);line-height:1.05;overflow-wrap:anywhere}.accent-mustard{border-top:6px solid var(--mustard)}.accent-tomato{border-top:6px solid var(--tomato)}.accent-pickle{border-top:6px solid var(--pickle)}.accent-ketchup{border-top:6px solid var(--ketchup)}.split-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:1.25rem}.panel-header{display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem;align-items:start}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.full-width{grid-column:1 / -1}input,select,textarea{width:100%;padding:.9rem 1rem;border-radius:16px;border:1px solid rgba(81,33,3,.14);background:#fffdf9}.checkbox-row{display:flex;align-items:center;gap:.75rem}.checkbox-row input{width:auto}.button-row,.filter-row,.panel-actions{display:flex;flex-wrap:wrap;gap:.75rem}.filter-row>*,.button-row>*,.panel-actions>*{min-width:0}.primary-btn,.secondary-btn,.danger-btn,.product-chip{padding:.9rem 1.1rem;border-radius:16px;font-weight:700}.primary-btn{background:linear-gradient(135deg,var(--ketchup),#ef6e3f);color:#fff}.secondary-btn{background:#fff2d5;color:#7d4e18}.danger-btn{background:#fde2de;color:#9f2d24}.product-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin-bottom:.85rem}.product-chip{display:flex;flex-direction:column;align-items:stretch;gap:.3rem;min-height:108px;min-width:0;background:linear-gradient(135deg,#fff4cf,#ffe298);color:#6f4308;border:1px solid rgba(125,78,24,.16);transition:transform .12s ease,box-shadow .12s ease}.product-chip-name{display:block;width:100%;text-align:center;font-size:1.25em;line-height:1.15}.product-chip:hover{transform:translateY(-2px);box-shadow:0 12px 24px #a36b1c29}.product-chip-action{padding:.2rem .55rem;border-radius:999px;background:#d6402b1f;color:#9a331e;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em}.product-chip-footer{width:100%;margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:.75rem}.product-chip-counter{padding:.28rem .6rem;border-radius:999px;background:#51210314;font-size:.8rem}.product-chip-counter.active{background:#dff0d5;color:#315221}.cart-list{display:grid;gap:.55rem;margin-bottom:.9rem}.cart-item,.summary-box{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.9rem 1rem;border-radius:18px;background:#fff8ea}.cart-item>div,.summary-box>div{min-width:0}.cart-list.compact .cart-item{padding:.75rem .9rem}.empty-sales-state{display:grid;gap:.25rem;padding:1rem;border-radius:18px;background:#fff8ea;color:#7d4e18}.sales-form-compact{display:grid;gap:.75rem}.cart-item input{width:90px}.sale-total-card{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-radius:20px;background:linear-gradient(135deg,#4d7c35,#7bb45d);color:#fff}.sale-total-card strong{font-size:1.7rem}.checkout-bar{position:sticky;bottom:0;display:grid;grid-template-columns:190px 1fr 220px;gap:.75rem;align-items:end;padding:.9rem;border-radius:22px;background:#fff9eef7;border:1px solid rgba(81,33,3,.08);box-shadow:0 -8px 24px #51210314}.checkout-payment{display:grid;gap:.35rem}.checkout-total{display:grid;gap:.2rem;padding:.85rem 1rem;border-radius:18px;background:linear-gradient(135deg,#4d7c35,#7bb45d);color:#fff}.checkout-total strong{font-size:1.45rem}.checkout-button{min-height:58px}.list-table{overflow-x:auto;-webkit-overflow-scrolling:touch}.actions-cell{display:flex;gap:.65rem}.pill{display:inline-block;padding:.3rem .7rem;border-radius:999px;font-size:.85rem;font-weight:700}.pill.active{background:#dff0d5;color:#315221}.pill.inactive{background:#f5e2de;color:#8f352d}.status-message{padding:.95rem 1rem;border-radius:18px;font-weight:700}.status-message.error{background:#ffe0db;color:#8a2315}.status-message.success{background:#dff3d3;color:#2d5a1f}.admin-tabs{display:flex;flex-wrap:wrap;gap:.75rem}.admin-tab{padding:.9rem 1.1rem;border-radius:16px;background:#fff2d5;color:#7d4e18;font-weight:700;border:1px solid rgba(125,78,24,.14)}.admin-tab.active{background:linear-gradient(135deg,var(--ketchup),#ef6e3f);color:#fff;border-color:transparent}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#2f1e127a;display:grid;place-items:center;padding:1rem;z-index:30}.confirmation-modal{width:min(100%,640px);max-height:min(88vh,760px);display:flex;flex-direction:column;background:#fffcf5fa;border:1px solid rgba(114,70,25,.14);border-radius:28px;padding:1.4rem;box-shadow:0 24px 60px #2f1e1233}.confirmation-header{display:flex;justify-content:space-between;gap:1rem;align-items:start;margin-bottom:1rem}.confirmation-header h3{margin:0}.confirmation-body{overflow:auto;padding-right:.2rem}.confirmation-list{display:grid;gap:.75rem;margin-bottom:1rem}.confirmation-row,.confirmation-summary{padding:.95rem 1rem;border-radius:18px;background:#fff8ea}.confirmation-row{display:flex;justify-content:space-between;gap:1rem;align-items:center}.confirmation-row span,.confirmation-summary p{display:block;margin:.2rem 0 0;opacity:.82}.confirmation-total{margin-top:.8rem!important}.confirmation-total strong{font-size:1.3rem;color:#9a331e}.confirmation-observations{display:grid;gap:.45rem;margin-top:.9rem}.confirmation-footer{display:flex;justify-content:space-between;gap:.75rem;padding-top:1rem;margin-top:1rem;border-top:1px solid rgba(81,33,3,.08)}.confirmation-submit{min-width:220px}.splash-screen,.login-shell{min-height:100vh;display:grid;place-items:center;padding:1.5rem;background:radial-gradient(circle at top left,rgba(255,208,92,.55),transparent 35%),linear-gradient(180deg,#fff7eb,#fff3d8 45%,#fff9f0)}.login-card{width:min(100%,460px);background:#ffffffed;border:1px solid rgba(114,70,25,.12);border-radius:28px;padding:2rem;box-shadow:0 20px 50px #5121031f}.login-card h1{margin:.2rem 0 .8rem}.login-form{display:grid;gap:1rem;margin-top:1rem}.login-help{margin-top:1rem;opacity:.78}@media (max-width: 1080px){.app-shell,.split-grid,.metrics-grid{grid-template-columns:1fr}.product-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar{position:relative;height:auto}.hero-note,.session-box{max-width:none}}@media (max-width: 720px){body{font-size:15px}.content,.sidebar{padding:1rem}.brand-card{gap:.75rem}.brand-emoji{width:48px;height:48px;border-radius:14px}.hero-banner{flex-direction:column;padding:1.15rem;border-radius:22px}.hero-banner h2{font-size:1.35rem}.hero-note{width:100%}.hero-note strong{font-size:1.5rem}.session-box{width:100%;justify-items:start}.form-grid,.product-picker,.checkout-bar{grid-template-columns:1fr}.product-picker{gap:.5rem}.product-chip{min-height:96px;padding:.85rem .9rem}.sale-total-card{align-items:start;gap:.5rem}.sale-total-card strong{font-size:1.45rem}.checkout-bar{position:static;padding:.8rem;border-radius:18px}.checkout-button,.confirmation-submit,.primary-btn,.secondary-btn,.danger-btn{width:100%}.filter-row,.button-row,.panel-actions{flex-direction:column;align-items:stretch}.admin-tabs{display:grid;grid-template-columns:1fr}.admin-tab,.filter-row input,.filter-row select,.button-row button,.panel-actions button{width:100%}.panel-header{flex-direction:column}.confirmation-header,.confirmation-row,.confirmation-footer{flex-direction:column;align-items:stretch}.actions-cell{flex-direction:column}th,td{padding:.75rem .55rem;font-size:.92rem}.login-card{padding:1.35rem;border-radius:22px}}@media (max-width: 560px){.layout-toggles{display:grid;grid-template-columns:1fr 1fr}.layout-toggles button{width:100%}.metric-card,.panel{padding:1rem;border-radius:20px}.metric-card{min-height:112px}.metric-value{font-size:1.55rem}.product-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.product-chip{min-height:92px}.cart-item,.summary-box,.confirmation-row,.confirmation-summary{padding:.8rem;border-radius:16px}.cart-item{flex-direction:column;align-items:stretch}.cart-item input{width:100%}.list-table table{min-width:620px}.confirmation-modal{padding:1rem;border-radius:22px}.login-shell,.splash-screen{padding:1rem}.login-card h1{font-size:1.6rem}}
