:root{--bg: #f3f2f2;--surface: #ffffff;--ink: #201e1d;--accent: #ec3013;--divider: rgba(32, 30, 29, .4);--n100: #f8f4f4;--n200: #eae7e7;--n300: #d7d3d3;--n400: #bab6b6;--n500: #9b9797;--n600: #7d7979;--n700: #605d5d;--n800: #444141;--n900: #2d2b2b;--font: "Archivo", system-ui, sans-serif;--radius: 0px;--rule: 2px;--color-bg: var(--bg);--color-surface: var(--surface);--color-border: var(--divider);--color-text: var(--ink);--color-text-muted: color-mix(in srgb, var(--ink) 62%, transparent);--color-primary: var(--accent);--color-primary-hover: #dd2b0f;--color-primary-active: #ae1800;--color-danger: #ae1800;--color-danger-bg: #fff2ef;--shadow: none;--shadow-modal: 0 12px 32px rgba(45, 43, 43, .24)}*{box-sizing:border-box}html,body,#root{height:100%}html,body{overflow-x:hidden}body{margin:0;font-family:var(--font);color:var(--color-text);-webkit-font-smoothing:antialiased;background:linear-gradient(rgba(32,30,29,.055) 1px,transparent 1px) 0 0 / 40px 40px,linear-gradient(90deg,rgba(32,30,29,.055) 1px,transparent 1px) 0 0 / 40px 40px,var(--bg)}.app-shell{min-height:100vh;display:flex;flex-direction:column}.app-shell .content{flex:1;min-width:0}h1,h2,h3,h4{font-weight:800}h1{font-size:1.5rem;margin:0 0 1.25rem}h2{font-size:1.05rem;margin:1.75rem 0 .75rem;color:var(--color-text)}a{color:var(--color-primary);text-underline-offset:3px}:focus{outline:none}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.topbar{display:flex;justify-content:space-between;align-items:center;padding:.85rem 1.5rem;background:#201e1d;color:#f3f2f2;border-bottom:var(--rule) solid #201e1d;position:sticky;top:0;z-index:10}.brand{display:inline-flex;align-items:center;gap:.5rem;font-weight:800;letter-spacing:.02em;margin-right:1.5rem;color:#fff;text-decoration:none;white-space:nowrap}.brand-logo{height:26px;width:26px;object-fit:cover}.topbar-inner{display:flex;align-items:center}.topbar nav{display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap}.topbar a{color:#f3f2f2;text-decoration:none;padding:.4rem .05rem;font-size:.9rem;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}.topbar a:hover,.topbar a.active{color:#fff;border-bottom-color:var(--accent)}.user-info{display:flex;align-items:center;gap:.75rem;font-size:.85rem;color:#f3f2f2}.user-info a{color:inherit;text-decoration:none}.user-info a:hover{text-decoration:underline}.user-info button{background:transparent;border:1px solid rgba(243,242,242,.3);color:#f3f2f2;padding:.4rem .75rem}.user-info button:hover{background:#f3f2f21f}.menu-toggle{display:none;background:transparent;border:1px solid rgba(243,242,242,.3);color:#fff;font-size:1.1rem;line-height:1;padding:.4rem .6rem}.menu-toggle:hover{background:#f3f2f21f}.user-info-mobile,.nav-backdrop,.nav-close{display:none}@media(max-width:768px){.topbar{padding:.7rem 1rem}.topbar-inner{width:100%;justify-content:space-between}.menu-toggle{display:inline-flex;align-items:center;justify-content:center}.topbar nav{position:fixed;top:0;right:0;height:100vh;width:min(78vw,300px);background:#201e1d;flex-direction:column;align-items:stretch;gap:.15rem;padding:4.5rem 1rem 1.5rem;transform:translate(100%);transition:transform .25s ease;z-index:30;overflow-y:auto}.topbar nav.nav-open{transform:translate(0)}.topbar nav a{padding:.75rem .9rem}.nav-close{display:flex;align-items:center;justify-content:center;position:absolute;top:1rem;right:1rem;width:2.25rem;height:2.25rem;background:transparent;border:1px solid rgba(243,242,242,.3);color:#fff;font-size:1rem}.nav-close:hover{background:#f3f2f21f}.user-info-desktop{display:none}.user-info-mobile{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;margin-top:.85rem;padding-top:.75rem;border-top:1px solid rgba(243,242,242,.3)}.nav-backdrop.nav-open{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#201e1d80;z-index:25}}.content-inner{padding:1.75rem 0;width:92%;max-width:1600px;margin:0 auto}.card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:1.25rem 1.5rem;margin-bottom:1.5rem}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#201e1d80;display:flex;align-items:flex-start;justify-content:center;padding:4vh 1rem;overflow-y:auto;z-index:100}.modal-content{background:var(--color-surface);border-radius:var(--radius);box-shadow:var(--shadow-modal);width:100%;max-width:640px;margin:auto;max-height:92vh;display:flex;flex-direction:column}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.1rem 1.5rem;border-bottom:var(--rule) solid var(--color-border)}.modal-close{background:none;border:none;padding:.25rem;color:var(--color-text-muted);cursor:pointer;display:inline-flex}.modal-close:hover{color:var(--color-text)}.modal-body{padding:1.5rem;overflow-y:auto}.action-choice-list{display:flex;flex-direction:column;gap:.6rem;margin-top:1rem}.action-choice-list button{width:100%;text-align:center}@media(max-width:768px){.modal-overlay{padding:0}.modal-content{max-width:100%;width:100%;height:100%;max-height:100%;border-radius:0}}.table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;background:var(--color-surface);border:1px solid var(--color-border)}.table-scroll table{width:100%;overflow:visible}@media(max-width:768px){.table-scroll table{width:640px;max-width:none}}.mobile-only{display:none}.record-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:1rem;margin-bottom:.75rem}.record-card-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.3rem 0}.record-card-row+.record-card-row{border-top:1px solid var(--color-border)}.record-card-label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);white-space:nowrap}.record-card-value{text-align:right;word-break:break-word}.record-card-title{font-weight:700;font-size:1rem;margin-bottom:.35rem}.record-card button{width:100%;margin-top:.75rem}@media(max-width:768px){.desktop-only{display:none}.mobile-only{display:block}}.table-scroll td,.table-scroll th{white-space:nowrap}.table-scroll .sticky-col{position:sticky;right:0;background:var(--color-surface);box-shadow:-6px 0 8px -6px #201e1d26}.table-scroll thead .sticky-col{background:var(--color-surface)}.table-scroll tr:hover .sticky-col{background:var(--n100)}table{width:100%;border-collapse:collapse;margin-bottom:1.5rem}th,td{text-align:left;padding:.65rem .9rem;border-bottom:1px solid var(--color-border);font-size:.92rem}th{font-weight:700;color:var(--n600);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;border-bottom:var(--rule) solid var(--color-border)}tr:last-child td{border-bottom:none}tbody tr:hover{background:var(--n100)}tr.low-stock{background:var(--color-danger-bg)}tr.low-stock:hover{background:#ffe0d9}.stacked-form,.inline-form{display:flex;gap:.6rem;margin-bottom:1.5rem;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:1.25rem}.stacked-form{flex-direction:column;width:100%;min-width:60%}.inline-form{flex-wrap:wrap;align-items:center}.card .stacked-form,.card .inline-form{background:none;border:none;box-shadow:none;padding:0}@media(max-width:768px){.stacked-form,.inline-form{max-width:none;width:100%}.stacked-form input:not([type=checkbox]):not([type=radio]),.stacked-form select,.stacked-form textarea,.stacked-form button,.inline-form input:not([type=checkbox]):not([type=radio]),.inline-form select,.inline-form textarea,.inline-form button{width:100%}.inline-form{flex-direction:column;align-items:stretch}.page-actions{flex-direction:column;align-items:stretch!important}.page-actions>button{width:100%}}.form-divider{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--color-text-muted);border-top:1px solid var(--color-border);padding-top:.75rem;margin-top:.25rem}.stacked-form label{display:flex;flex-direction:column;font-size:.85rem;font-weight:500;color:var(--color-text-muted);gap:.3rem}input,select,textarea,button{padding:.55rem .7rem;font-size:.92rem;border:1px solid var(--color-border);border-radius:var(--radius);font-family:inherit;background:var(--color-surface);color:var(--color-text)}input:not([type=checkbox]):not([type=radio]),select{min-height:36px}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent)}button{background:var(--color-primary);color:var(--color-bg);border:none;cursor:pointer;font-family:var(--font);font-weight:800;transition:background .15s}button:hover{background:var(--color-primary-hover)}button:active{background:var(--color-primary-active)}button:disabled{background:var(--n300);color:var(--n600);cursor:not-allowed}button.secondary{background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border)}button.secondary:hover{background:var(--n100)}button.success{background:var(--n900);color:var(--color-bg);border:none}button.success:hover{background:var(--ink)}button.danger{background:transparent;color:var(--accent);border:1px solid var(--accent)}button.danger:hover{background:var(--accent);color:var(--color-bg)}a.secondary,.whatsapp{display:inline-block;padding:.55rem .7rem;font-size:.92rem;font-weight:800;border:1px solid var(--color-border);border-radius:var(--radius);font-family:inherit;background:var(--color-surface);color:var(--color-text);cursor:pointer;transition:background .15s}a.secondary:hover{background:var(--n100)}.whatsapp{background:#25d366;color:#fff;border:none}.whatsapp:hover{background:#1fb257}.pattern-lock{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;margin-bottom:.75rem}.pattern-lock svg{touch-action:none;background:var(--color-bg)}.anonymized-badge{display:inline-block;margin-left:.5rem;padding:.1rem .5rem;background:var(--n200);color:var(--n800);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;vertical-align:middle}.unassigned-badge{color:var(--color-danger);font-weight:600;font-size:.88rem;white-space:nowrap}select.unassigned-select{border:1px solid var(--color-danger);color:var(--color-danger);font-weight:600;padding:.35rem .5rem;font-size:.85rem}.error{color:var(--color-danger);background:var(--color-danger-bg);border:1px solid var(--color-danger);border-radius:var(--radius);padding:.6rem .8rem;font-size:.88rem}.status-chip{display:inline-flex;align-items:center;gap:.5rem;padding:.25rem .65rem;border:1px solid var(--color-border);font-size:.8rem;white-space:nowrap}.status-chip-dot{width:10px;height:10px;flex:0 0 auto}.dino-game{position:relative;width:100%;max-width:600px;cursor:pointer;-webkit-user-select:none;user-select:none}.dino-game canvas{width:100%;height:auto;background:var(--color-bg);display:block}.dino-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:.85rem;font-weight:600;color:var(--color-text);background:#f3f2f2b3;line-height:1.6}.carousel{position:relative;width:100%;max-width:600px;overflow:hidden}.carousel-track{display:flex;transition:transform .35s ease}.carousel-slide{flex:0 0 100%;min-width:0;display:flex;align-items:center;justify-content:center;min-height:160px}.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);background:#ffffffd9;border:1px solid var(--color-border);width:30px;height:30px;padding:0;display:inline-flex;align-items:center;justify-content:center;color:var(--color-text)}.carousel-arrow-left{left:.25rem}.carousel-arrow-right{right:.25rem}.carousel-dots{display:flex;justify-content:center;gap:.4rem;margin-top:.5rem}.carousel-dot{width:8px;height:8px;padding:0;border:none;background:var(--n300)}.carousel-dot.active{background:var(--color-primary)}.waiting-room-row{display:flex;align-items:stretch;gap:1.5rem;flex-wrap:wrap}.clock-widget{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.3rem;padding:0 1.5rem;border-left:var(--rule) solid var(--color-border)}.clock-time{font-size:2.75rem;font-weight:800;font-variant-numeric:tabular-nums;color:var(--color-text);letter-spacing:.02em;line-height:1}.clock-zone{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--accent)}.weather-widget{width:100%;padding:.5rem 1.5rem}.weather-widget-empty{text-align:center;color:var(--color-text-muted);font-size:.9rem;padding:2rem 0}.weather-current{display:flex;align-items:center;gap:1rem;justify-content:center;margin-bottom:1rem}.weather-current-temp{font-size:1.8rem;font-weight:700}.weather-current-label{color:var(--color-text-muted);font-size:.85rem}.weather-forecast{display:flex;justify-content:center;gap:1.5rem}.weather-day{display:flex;flex-direction:column;align-items:center;gap:.3rem;font-size:.8rem}.weather-day-name,.weather-day-temps span{color:var(--color-text-muted)}.changelog-icon{display:inline-flex}.fab-stack{position:fixed;right:1.5rem;bottom:1.5rem;display:flex;flex-direction:column;align-items:flex-end;gap:.75rem;z-index:20}.fab-new-order{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 1.25rem;background:var(--color-primary);color:var(--color-bg);font-weight:800;font-size:.95rem;box-shadow:0 8px 20px #2d2b2b4d,0 2px 6px #2d2b2b29;transition:transform .15s,background .15s,box-shadow .15s}.fab-new-order:hover{background:var(--color-primary-hover);transform:translateY(-2px);box-shadow:0 10px 24px #2d2b2b57,0 3px 8px #2d2b2b2e}.fab-add-part{background:var(--color-text);font-size:.85rem;padding:.65rem 1rem}.fab-add-part:hover{background:#000}.fab-new-order-icon{font-size:1.3rem;line-height:1}@media(max-width:768px){.fab-stack{right:1rem;bottom:1rem}.fab-new-order{padding:.9rem}.fab-add-part{padding:.65rem}.fab-new-order-label{display:none}}@keyframes toast-slide-in{0%{transform:translate(1rem);opacity:0}to{transform:translate(0);opacity:1}}.unassigned-toast{position:fixed;top:5.5rem;right:1.5rem;z-index:90;display:flex;align-items:center;gap:.75rem;max-width:340px;background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-danger);border-radius:var(--radius);box-shadow:var(--shadow-modal);padding:.85rem 1rem;font-size:.88rem;animation:toast-slide-in .2s ease-out}.unassigned-toast-action{flex-shrink:0;background:var(--color-danger);color:var(--color-bg);border:none;border-radius:var(--radius);padding:.35rem .7rem;font-size:.82rem;font-weight:700;cursor:pointer}.unassigned-toast-close{flex-shrink:0;background:none;border:none;padding:.2rem;color:var(--color-text-muted);cursor:pointer;display:inline-flex}.unassigned-toast-close:hover{color:var(--color-text)}@media(max-width:768px){.unassigned-toast{top:4.75rem;left:1rem;right:1rem;max-width:none}}.app-footer{text-align:center;padding:1.5rem;color:var(--color-text-muted);font-size:.8rem}.login-page{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:1.5rem}.login-split{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:900px;min-height:520px;background:var(--color-surface);border:1px solid var(--color-border)}.login-brand-panel{background:var(--ink);color:var(--bg);padding:2.75rem;display:flex;flex-direction:column;justify-content:space-between}.login-brand-header{display:flex;align-items:center;gap:.65rem}.login-logo{display:block;height:36px;width:36px;object-fit:contain}.login-brand-name{font-family:var(--font);font-weight:800;font-size:1.3rem;color:#fff}.login-brand-rule{width:44px;height:var(--rule);background:var(--accent);margin-bottom:1.1rem}.login-brand-tagline{font-size:1.7rem;line-height:1.15;color:#fff;margin:0 0 .75rem}.login-brand-copy{color:var(--n400);font-size:.88rem;max-width:300px;margin:0}.login-brand-footer{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--n500)}.login-form{display:flex;flex-direction:column;justify-content:center;gap:.9rem;padding:2.75rem}.login-form h1{margin-bottom:.25rem}.login-form label{display:flex;flex-direction:column;gap:.3rem;font-size:.88rem;font-weight:500;color:var(--color-text-muted)}@media(max-width:768px){.login-page{padding:0}.login-split{grid-template-columns:1fr;min-height:100vh;border:none}.login-brand-panel{display:none}}.print-only{display:none}.receipt-actions{display:flex;justify-content:flex-end;margin-bottom:1rem}@media print{.no-print{display:none!important}.print-only{display:block}body{background:#fff}.content-inner{padding:0;width:100%;max-width:100%}.receipt{padding:0}}.receipt-shop{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.receipt-whatsapp-qr{display:flex;flex-direction:column;align-items:center;gap:.15rem;margin-left:auto}.receipt-whatsapp-qr img{width:64px;height:64px}.receipt-whatsapp-qr span{font-size:.62rem;color:var(--color-text-muted);text-align:center}.receipt-shop-logo{height:40px;width:40px;object-fit:cover}.receipt-shop-name{font-family:var(--font);font-size:1.1rem;font-weight:800;letter-spacing:.02em}.receipt-shop-detail{font-size:.78rem;color:var(--color-text-muted)}.receipt-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:var(--rule) solid var(--accent);padding-bottom:.75rem;margin-bottom:1rem}.receipt-status{display:inline-flex;align-items:center;gap:.4rem}.receipt-status-dot{width:9px;height:9px;flex:0 0 auto}.receipt-header h1{margin:0;font-size:1.3rem}.receipt-section{margin-bottom:1rem}.receipt-section h3{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted);margin:0 0 .35rem}.receipt-grid{display:grid;grid-template-columns:1fr 1fr;gap:.25rem 1.5rem;font-size:.92rem}.receipt-legal{margin-top:1.5rem;font-size:.6rem;line-height:1.35;color:var(--color-text-muted)}.receipt-legal h3{font-size:.65rem;margin:.5rem 0 .15rem}.receipt-legal p{margin:0 0 .35rem;text-align:justify}.receipt-signatures{display:flex;justify-content:space-between;margin-top:3rem;gap:2rem}.receipt-signature{flex:1;text-align:center;border-top:1px solid var(--color-text);padding-top:.35rem;font-size:.85rem;color:var(--color-text-muted)}.qty-adjust{display:inline-flex;align-items:center;gap:.5rem}.qty-adjust button{width:1.8rem;height:1.8rem;padding:0;display:inline-flex;align-items:center;justify-content:center;font-weight:800;line-height:1}.qty-adjust button:disabled{opacity:.4;cursor:not-allowed}.qty-adjust span{min-width:1.5rem;text-align:center;font-weight:600}.dashboard-grid{display:grid;grid-template-columns:280px minmax(0,1fr) 280px;gap:1.25rem;align-items:start}.dashboard-side{display:flex;flex-direction:column;gap:1.25rem;min-width:0}.dashboard-main{min-width:0;display:flex;flex-direction:column;gap:1.25rem}.orders-summary{display:flex;gap:1.5rem;flex-wrap:wrap}.orders-summary-chart{display:flex;flex-direction:column;align-items:center;gap:.75rem;flex:0 0 auto}.chart-legend{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.3rem;font-size:.8rem;color:var(--color-text-muted)}.chart-legend li{display:flex;align-items:center;gap:.4rem}.legend-dot{width:10px;height:10px;flex:0 0 auto}.status-dot{width:9px;height:9px;flex:0 0 auto;display:inline-block}.status-dot-online{background:var(--n900)}.status-dot-offline{background:var(--n300)}.orders-summary-lists{flex:1 1 320px;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.orders-summary-lists h3{margin:0 0 .6rem;font-size:.9rem}@media(max-width:900px){.orders-summary-lists{grid-template-columns:1fr}}.dashboard-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem;max-height:260px;overflow-y:auto}.dashboard-list li{display:flex;justify-content:space-between;align-items:center;gap:.5rem;font-size:.9rem;padding-bottom:.4rem;border-bottom:1px solid var(--color-border)}.dashboard-list li:last-child{border-bottom:none;padding-bottom:0}@media(max-width:1080px){.dashboard-grid{grid-template-columns:1fr}}.dashboard-changelog{margin-top:1.25rem}.calendar{font-size:.85rem}.calendar-header{display:flex;justify-content:space-between;align-items:center;font-weight:600;margin-bottom:.6rem}.calendar-nav{width:auto;padding:.2rem .6rem;background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border)}.calendar-nav:hover{background:var(--n100)}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:.2rem;text-align:center}.calendar-day-names{margin-bottom:.3rem;color:var(--color-text-muted);font-weight:600;font-size:.75rem}.calendar-day{position:relative;width:auto;aspect-ratio:1;padding:0;border:none;background:transparent;color:var(--color-text);font-size:.8rem;display:flex;align-items:center;justify-content:center}.calendar-day:hover{background:var(--n100)}.calendar-today{border:1px solid var(--color-primary);font-weight:700}.calendar-marked{background:var(--color-danger-bg)}.calendar-dot{position:absolute;bottom:3px;left:50%;transform:translate(-50%);width:4px;height:4px;background:var(--color-danger)}
