@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:"Bricolage Grotesque", sans-serif;--font-mono:"Roboto Mono", monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--leading-tight:1.25;--radius-lg:.5rem;--radius-2xl:1rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-bg:#f5f5f5;--color-bg-surface:#fff;--color-bg-elevated:#fafafa;--color-bg-border:#e5e7eb;--color-brand-red:#f03e3e;--color-brand-red-hover:#d42f2f;--color-brand-red-light:#f03e3e14;--color-brand-amber:#ffc93c;--color-text:#1a1a1a;--color-text-muted:#8a8a86;--color-text-faint:#b0b0b0;--color-status-success:#2fb344;--color-status-success-bg:#2fb3441f;--color-status-warning:#d99b00;--color-status-warning-bg:#ffc93c26;--color-status-error:#f03e3e;--color-status-error-bg:#f03e3e1a;--color-status-info:#2563eb;--color-status-info-bg:#2563eb1a;--color-order-pending:#8a8a86;--color-order-confirmed:#2563eb;--color-order-preparing:#d99b00;--color-order-delivery:#7c3aed;--color-order-delivered:#2fb344;--color-order-cancelled:#f03e3e;--radius-card:.75rem;--radius-badge:.375rem;--shadow-card:0 1px 3px #00000014, 0 1px 2px #0000000d;--shadow-card-hover:0 4px 16px #0000001f, 0 2px 6px #00000014;--text-2xs:.625rem}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:before,:after{box-sizing:border-box}html{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background-color:var(--color-bg);color:var(--color-text);min-height:100vh}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:var(--color-bg)}::-webkit-scrollbar-thumb{background:var(--color-bg-border);border-radius:9999px}::-webkit-scrollbar-thumb:hover{background:var(--color-text-faint)}}@layer components{.card{background:var(--color-bg-surface);border-radius:var(--radius-card);border:1px solid var(--color-bg-border);box-shadow:var(--shadow-card)}.card-hover{background:var(--color-bg-surface);border-radius:var(--radius-card);border:1px solid var(--color-bg-border);box-shadow:var(--shadow-card);transition:all .2s}.card-hover:hover{background:var(--color-bg-elevated);box-shadow:var(--shadow-card-hover)}.btn-primary{background:var(--color-brand-red);color:#fff;cursor:pointer;border:none;border-radius:.5rem;align-items:center;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:all .15s;display:inline-flex}.btn-primary:hover:not(:disabled){background:var(--color-brand-red-hover)}.btn-primary:active:not(:disabled){transform:scale(.95)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:var(--color-bg-elevated);color:var(--color-text);border:1px solid var(--color-bg-border);cursor:pointer;white-space:nowrap;border-radius:.5rem;justify-content:center;align-items:center;gap:.45rem;padding:.5rem 1rem;font-size:.875rem;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex}.btn-secondary:hover{background:var(--color-bg-border)}.btn-secondary:active{transform:scale(.95)}.btn-ghost{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:.5rem;align-items:center;padding:.5rem .75rem;font-size:.875rem;font-weight:500;transition:all .15s;display:inline-flex}.btn-ghost:hover{color:var(--color-text);background:var(--color-bg-elevated)}.input{background:var(--color-bg-elevated);border:1px solid var(--color-bg-border);color:var(--color-text);border-radius:.5rem;outline:none;width:100%;padding:.625rem .75rem;font-size:.875rem;transition:border-color .15s,box-shadow .15s}.input::placeholder{color:var(--color-text-faint)}.input:focus{border-color:var(--color-brand-red);box-shadow:0 0 0 1px var(--color-brand-red)}.badge,.badge-success,.badge-warning,.badge-error,.badge-info,.badge-muted,.badge-pending,.badge-confirmed,.badge-preparing,.badge-delivery,.badge-delivered,.badge-cancelled,.badge-done,.badge-active,.badge-upcoming,.severity-warn,.severity-error,.severity-critical{text-transform:uppercase;letter-spacing:.05em;border-radius:var(--radius-badge);align-items:center;gap:.25rem;padding:.15rem .5rem;font-size:.65rem;font-weight:700;line-height:1.4;display:inline-flex}.badge-success{background:var(--color-status-success-bg);color:var(--color-status-success)}.badge-warning{background:var(--color-status-warning-bg);color:var(--color-status-warning)}.badge-error{background:var(--color-status-error-bg);color:var(--color-status-error)}.badge-info{background:var(--color-status-info-bg);color:var(--color-status-info)}.badge-muted{color:var(--color-text-muted);background:#6b72801f}.badge-done{color:#2fb344;background:#2fb3441f}.badge-active{color:#f03e3e;background:#f03e3e1f}.badge-upcoming{color:#9ca3af;background:#6b72801f}.badge-pending{color:var(--color-order-pending);background:#6b72801f}.badge-confirmed{background:var(--color-status-info-bg);color:var(--color-order-confirmed)}.badge-preparing{background:var(--color-status-warning-bg);color:var(--color-order-preparing)}.badge-delivery{color:var(--color-order-delivery);background:#8b5cf626}.badge-delivered{background:var(--color-status-success-bg);color:var(--color-order-delivered)}.badge-cancelled{background:var(--color-status-error-bg);color:var(--color-order-cancelled)}.severity-warn{background:var(--color-status-warning-bg);color:var(--color-status-warning)}.severity-error{background:var(--color-status-error-bg);color:var(--color-status-error)}.severity-critical{color:var(--color-status-error);background:#f03e3e40;font-weight:800;animation:2s infinite pulse}.stat-card{background:var(--color-bg-surface);border-radius:var(--radius-card);border:1px solid var(--color-bg-border);box-shadow:var(--shadow-card);flex-direction:column;gap:.5rem;padding:1rem;display:flex}.page-title{color:var(--color-text);letter-spacing:-.025em;font-size:1.5rem;font-weight:700}.page-subtitle{color:var(--color-text-muted);font-size:.875rem}.divider{border-top:1px solid var(--color-bg-border);margin:1rem 0}.nav-item{color:var(--color-text-muted);cursor:pointer;border-radius:.5rem;align-items:center;gap:.75rem;padding:.625rem .75rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.nav-item:hover{color:var(--color-text);background:var(--color-bg-elevated)}.nav-item.active{color:var(--color-brand-red);background:var(--color-brand-red-light);border:1px solid #f03e3e33}.bottom-nav-item{color:var(--color-text-faint);flex-direction:column;flex:1;align-items:center;gap:.25rem;padding:.5rem .75rem;text-decoration:none;transition:color .15s;display:flex}.bottom-nav-item:hover{color:var(--color-text)}.bottom-nav-item.active{color:var(--color-brand-red)}.bottom-nav-item span{font-size:.625rem;font-weight:500}.table-container{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.875rem}thead tr{border-bottom:1px solid var(--color-bg-border)}thead th{text-align:left;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;padding:.6rem 1rem;font-size:.7rem;font-weight:600}tbody tr{border-bottom:1px solid var(--color-bg-border);transition:background-color .1s}tbody tr:hover{background:var(--color-bg-elevated)}tbody tr:last-child{border-bottom:none}tbody td{color:var(--color-text);vertical-align:middle;white-space:nowrap;padding:.75rem 1rem}.modal-overlay{z-index:99999;-webkit-backdrop-filter:blur(8px);background:#0f172aa6;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-overlay-hi{z-index:100000}.modal-panel{border:1px solid var(--color-bg-border);background:#fff;border-radius:1rem;flex-shrink:0;width:100%;max-width:520px;margin:auto;padding:1.85rem;position:relative;box-shadow:0 24px 64px #00000038,0 4px 16px #0000000f}.modal-panel-lg{max-width:640px}.modal-close-btn{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:.375rem;justify-content:center;align-items:center;padding:.35rem;transition:color .15s,background .15s;display:flex;position:absolute;top:1.15rem;right:1.15rem}.modal-close-btn:hover{color:var(--color-text);background:var(--color-bg-elevated)}.badge-status-pending,.badge-status-confirmed,.badge-status-preparing,.badge-status-delivery,.badge-status-delivered,.badge-status-cancelled{text-transform:uppercase;letter-spacing:.05em;border-radius:var(--radius-badge);align-items:center;gap:.25rem;padding:.15rem .5rem;font-size:.65rem;font-weight:700;line-height:1.4;display:inline-flex}.badge-status-pending{color:#9ca3af;background:#6b728026}.badge-status-confirmed{color:#60a5fa;background:#3b82f626}.badge-status-preparing{color:#fb923c;background:#f9731626}.badge-status-delivery{color:#a78bfa;background:#8b5cf626}.badge-status-delivered{color:#4ade80;background:#22c55e26}.badge-status-cancelled{color:#f87171;background:#ef444426}.dash-grid{grid-template-columns:1.6fr 1fr;align-items:start;gap:1.25rem;display:grid}.dash-grid-2{grid-template-columns:1.3fr 1fr;align-items:start;gap:1.25rem;display:grid}.dash-grid-3{grid-template-columns:1fr 1fr 1fr;align-items:start;gap:1.25rem;display:grid}.dash-col{flex-direction:column;gap:1.25rem;display:flex}.section-header{border-bottom:1px solid var(--color-bg-border);justify-content:space-between;align-items:center;padding:.875rem 1rem .625rem;display:flex}.section-title{color:var(--color-text);font-size:.875rem;font-weight:700}.section-link{color:var(--color-brand-red);align-items:center;gap:.2rem;font-size:.75rem;font-weight:600;text-decoration:none;transition:opacity .15s;display:flex}.section-link:hover{opacity:.75}.mini-alert-row{grid-template-columns:1fr 1fr;gap:.625rem;padding:.75rem;display:grid}.mini-alert-card{background:var(--color-bg-elevated);border:1px solid var(--color-bg-border);border-radius:.625rem;flex-direction:column;gap:.2rem;padding:.875rem;transition:background .15s;display:flex}.mini-alert-card:hover{background:var(--color-bg-border)}.mini-alert-label{color:var(--color-text-muted);font-size:.72rem;font-weight:500}.mini-alert-value{color:var(--color-text);font-size:1.4rem;font-weight:800;font-family:var(--font-mono);line-height:1.1}.mini-alert-sub{color:var(--color-text-faint);font-size:.68rem}.mini-alert-link{color:var(--color-brand-red);align-items:center;gap:.2rem;margin-top:.25rem;font-size:.72rem;font-weight:600;text-decoration:none;display:inline-flex}.avatar-initials{text-transform:uppercase;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:.72rem;font-weight:800;display:flex}.avatar-sm{width:30px;height:30px;font-size:.62rem}.avatar-red{color:#f87171;background:#dc262633}.avatar-blue{color:#93c5fd;background:#3b82f633}.avatar-green{color:#86efac;background:#22c55e33}.avatar-purple{color:#c4b5fd;background:#8b5cf633}.avatar-amber{color:#fcd34d;background:#f59e0b33}.list-row{border-bottom:1px solid var(--color-bg-border);align-items:center;gap:.75rem;padding:.75rem 1rem;transition:background .1s;display:flex}.list-row:last-child{border-bottom:none}.list-row:hover{background:var(--color-bg-elevated)}.list-row-name{color:var(--color-text);font-size:.8rem;font-weight:600}.list-row-sub{color:var(--color-text-muted);margin-top:1px;font-size:.72rem}.list-row-right{text-align:right;flex-shrink:0;margin-left:auto}.list-row-price{font-family:var(--font-mono);color:var(--color-text);font-size:.875rem;font-weight:700}.list-row-meta{color:var(--color-text-faint);margin-top:2px;font-size:.68rem}.list-row-id{font-family:var(--font-mono);color:var(--color-brand-red);font-size:.72rem;font-weight:700}.product-thumb{object-fit:cover;background:var(--color-bg-elevated);border-radius:.5rem;flex-shrink:0;width:40px;height:40px;display:block}.product-thumb-ph{background:var(--color-bg-elevated);border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.product-rank{font-family:var(--font-mono);color:var(--color-text-faint);text-align:center;flex-shrink:0;width:18px;font-size:.72rem;font-weight:700}.note-card{border-bottom:1px solid var(--color-bg-border);align-items:flex-start;gap:.625rem;padding:.75rem 1rem;transition:background .1s;display:flex}.note-card:last-child{border-bottom:none}.note-card:hover{background:var(--color-bg-elevated)}.note-text{color:var(--color-text);font-size:.8rem;line-height:1.4}.note-done .note-text{color:var(--color-text-faint);text-decoration:line-through}.note-due{color:var(--color-text-faint);margin-top:2px;font-size:.68rem}.note-overdue .note-due{color:#f87171;font-weight:700}.note-type-badge{text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;border-radius:.25rem;flex-shrink:0;align-items:center;padding:.1rem .4rem;font-size:.6rem;font-weight:700;display:inline-flex}.note-urgent{color:#f87171;background:#ef444426}.note-payment{color:#fcd34d;background:#f59e0b26}.note-followup{color:#93c5fd;background:#3b82f626}.note-general{color:#9ca3af;background:#6b72801f}.notif-bell-wrap{display:inline-flex;position:relative}.notification-badge{background:var(--color-brand-red);color:#fff;border:2px solid var(--color-bg-surface);border-radius:9999px;justify-content:center;align-items:center;min-width:17px;height:17px;padding:0 3px;font-size:.6rem;font-weight:800;display:flex;position:absolute;top:-4px;right:-4px}.notification-panel{z-index:200;background:var(--color-bg-surface);border:1px solid var(--color-bg-border);border-radius:var(--radius-card);width:340px;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 16px 40px #0006}.notification-header{border-bottom:1px solid var(--color-bg-border);justify-content:space-between;align-items:center;padding:.875rem 1rem;display:flex}.notification-item{border-bottom:1px solid var(--color-bg-border);cursor:pointer;gap:.75rem;padding:.75rem 1rem;transition:background .1s;display:flex}.notification-item:last-child{border-bottom:none}.notification-item:hover{background:var(--color-bg-elevated)}.notification-item-unread{background:#dc26260a}.notification-dot{background:var(--color-brand-red);border-radius:50%;flex-shrink:0;width:7px;height:7px;margin-top:5px}.notification-icon{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.notification-title{color:var(--color-text);font-size:.8rem;font-weight:600}.notification-msg{color:var(--color-text-muted);margin-top:1px;font-size:.72rem}.notification-time{color:var(--color-text-faint);margin-top:3px;font-size:.65rem}.notification-empty{text-align:center;color:var(--color-text-faint);padding:2rem;font-size:.82rem}.banner-placeholder{border:2px dashed var(--color-bg-border);border-radius:var(--radius-card);background:var(--color-bg-elevated);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;min-height:180px;padding:2rem 1rem;transition:border-color .15s,background .15s;display:flex}.banner-placeholder:hover{border-color:var(--color-brand-red);background:#dc26260a}.banner-placeholder-icon{color:var(--color-text-faint)}.banner-placeholder-label{color:var(--color-text-muted);font-size:.8rem;font-weight:500}.banner-slot-num{color:var(--color-text-faint);font-size:.65rem}.discount-preview{background:var(--color-bg-elevated);border:1px solid var(--color-bg-border);border-radius:.625rem;margin-top:.25rem;padding:.875rem}.discount-preview-row{justify-content:space-between;align-items:center;font-size:.8rem;display:flex}.discount-preview-label{color:var(--color-text-muted)}.discount-preview-value{font-family:var(--font-mono);color:var(--color-status-success);font-weight:700}.discount-preview-hr{border:none;border-top:1px solid var(--color-bg-border);margin:.5rem 0}.action-choice-row{grid-template-columns:1fr 1fr;gap:.85rem;margin-top:1.5rem;display:grid}.btn-choice-disable{background:var(--color-bg-elevated);border:1px solid var(--color-bg-border);cursor:pointer;color:var(--color-text);text-align:center;border-radius:.75rem;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;padding:1rem .85rem;font-size:.875rem;font-weight:700;transition:all .18s;display:flex}.btn-choice-disable:hover{background:var(--color-bg-border);transform:translateY(-2px);box-shadow:0 4px 14px #0000000f}.btn-choice-delete{cursor:pointer;color:#dc2626;text-align:center;background:#ef444412;border:1px solid #ef444438;border-radius:.75rem;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;padding:1rem .85rem;font-size:.875rem;font-weight:700;transition:all .18s;display:flex}.btn-choice-delete:hover{background:#ef444424;border-color:#ef444466;transform:translateY(-2px);box-shadow:0 4px 14px #dc26261f}.table-compact thead th{padding:.45rem .75rem;font-size:.65rem}.table-compact tbody td{padding:.55rem .75rem;font-size:.8rem}.new-order-alert{background:var(--color-bg-surface);border-radius:var(--radius-card,.75rem);width:320px;max-width:calc(100vw - 2rem);padding:1rem 1.15rem}@media (max-width:900px){.dash-grid,.dash-grid-2,.dash-grid-3{grid-template-columns:1fr}}.dash-container{flex-direction:column;gap:1.5rem;display:flex}.dash-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.dash-header-meta{color:var(--color-text-muted);align-items:center;gap:.6rem;margin-top:.2rem;font-size:.82rem;display:flex}.dash-store-status-pill{color:#16a34a;background:#16a34a1a;border:1px solid #16a34a33;border-radius:9999px;align-items:center;gap:.35rem;padding:.2rem .6rem;font-size:.72rem;font-weight:700;display:inline-flex}.dash-live-dot{background:#16a34a;border-radius:50%;width:6px;height:6px;animation:1.8s ease-in-out infinite dash-pulse-dot}@keyframes dash-pulse-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}.dash-header-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.dash-store-toggle-wrap{background:var(--color-bg-surface);border:1px solid var(--color-bg-border);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:9999px;align-items:center;gap:.65rem;padding:.35rem .8rem;transition:all .15s;display:inline-flex;box-shadow:0 1px 2px #0000000a}.dash-store-toggle-wrap:hover{border-color:var(--color-brand-red)}.dash-toggle-track{background:#cbd5e1;border-radius:9999px;flex-shrink:0;width:38px;height:22px;transition:background-color .2s;position:relative}.dash-toggle-track.active{background:#16a34a}.dash-toggle-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .2s cubic-bezier(.4,0,.2,1);position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.dash-toggle-track.active .dash-toggle-thumb{transform:translate(16px)}.dash-toggle-text{white-space:nowrap;align-items:center;gap:.35rem;font-size:.78rem;font-weight:700;display:flex}.dash-toggle-text.online{color:#16a34a}.dash-toggle-text.offline{color:#dc2626}.dash-store-closed-banner{border-radius:var(--radius-card);color:#dc2626;background:#dc262614;border:1px solid #dc262640;align-items:center;gap:.85rem;padding:.85rem 1.25rem;font-size:.85rem;display:flex}.dash-store-closed-banner-badge{color:#fff;text-transform:uppercase;letter-spacing:.05em;background:#dc2626;border-radius:.3rem;flex-shrink:0;padding:.22rem .55rem;font-size:.68rem;font-weight:800}.dash-store-closed-banner-text{flex:1;line-height:1.4}.dash-alert-banner{border-radius:var(--radius-card);color:#dc2626;background:#dc262614;border:1px solid #dc262638;align-items:center;gap:.75rem;padding:.75rem 1.25rem;font-size:.84rem;display:flex}.dash-alert-banner-link{color:#dc2626;align-items:center;gap:.25rem;margin-left:auto;font-weight:700;text-decoration:underline;display:flex}.dash-kpi-grid{grid-template-columns:repeat(4,1fr);gap:1.15rem;display:grid}@media (max-width:1100px){.dash-kpi-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:580px){.dash-kpi-grid{grid-template-columns:1fr}}.dash-kpi-card{background:var(--color-bg-surface);border:1px solid var(--color-bg-border);border-radius:var(--radius-card);align-items:center;gap:1rem;padding:1.2rem 1.25rem;transition:transform .15s,box-shadow .15s;display:flex}.dash-kpi-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000000f}.dash-kpi-icon-wrap{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.dash-kpi-icon-wrap.red{color:#dc2626;background:#dc26261f}.dash-kpi-icon-wrap.green{color:#16a34a;background:#16a34a1f}.dash-kpi-icon-wrap.blue{color:#2563eb;background:#2563eb1f}.dash-kpi-icon-wrap.amber{color:#d97706;background:#d977061f}.dash-kpi-content{flex:1;min-width:0}.dash-kpi-label{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.2rem;font-size:.72rem;font-weight:700}.dash-kpi-value{font-family:var(--font-mono);color:var(--color-text);font-size:1.6rem;font-weight:800;line-height:1.1}.dash-kpi-delta{color:var(--color-text-faint);white-space:nowrap;text-overflow:ellipsis;margin-top:.25rem;font-size:.7rem;overflow:hidden}.dash-analytics-grid,.dash-operations-grid{grid-template-columns:1.55fr 1fr;align-items:stretch;gap:1.25rem;display:grid}@media (max-width:1024px){.dash-analytics-grid,.dash-operations-grid{grid-template-columns:1fr}}.dash-card{background:var(--color-bg-surface);border:1px solid var(--color-bg-border);border-radius:var(--radius-card);flex-direction:column;height:100%;display:flex;overflow:hidden}.dash-card-header{border-bottom:1px solid var(--color-bg-border);flex-shrink:0;justify-content:space-between;align-items:center;padding:.9rem 1.25rem;display:flex}.dash-card-title-group{align-items:center;gap:.6rem;display:flex}.dash-card-title{color:var(--color-text);font-size:.9rem;font-weight:700}.dash-card-badge{font-size:.72rem;font-family:var(--font-mono);background:var(--color-bg-elevated);border:1px solid var(--color-bg-border);color:var(--color-text-muted);border-radius:9999px;padding:.15rem .5rem;font-weight:700}.dash-card-link{color:var(--color-brand-red);align-items:center;gap:.25rem;font-size:.76rem;font-weight:600;text-decoration:none;transition:opacity .15s;display:inline-flex}.dash-card-link:hover{opacity:.8}.dash-card-body{flex-direction:column;flex:1;display:flex}.dash-tab-group{background:var(--color-bg-elevated);border:1px solid var(--color-bg-border);border-radius:.5rem;gap:.2rem;padding:.2rem;display:flex}.dash-tab-btn{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:.375rem;padding:.28rem .65rem;font-size:.74rem;font-weight:600;transition:all .15s}.dash-tab-btn.active{color:var(--color-text);background:#fff;box-shadow:0 1px 3px #00000014}.dash-metrics-strip{border-top:1px solid var(--color-bg-border);background:var(--color-bg-elevated);grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:auto;padding:.85rem 1.25rem;display:grid}.dash-metrics-item{flex-direction:column;gap:.2rem;display:flex}.dash-metrics-label{text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-faint);font-size:.68rem;font-weight:700}.dash-metrics-val{font-family:var(--font-mono);color:var(--color-text);font-size:1.05rem;font-weight:800}.dash-filter-chips{border-bottom:1px solid var(--color-bg-border);background:var(--color-bg-elevated);align-items:center;gap:.4rem;padding:.6rem 1.25rem;display:flex}.dash-filter-chip{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:9999px;padding:.25rem .6rem;font-size:.74rem;font-weight:600;transition:all .15s}.dash-filter-chip.active{background:var(--color-brand-red);color:#fff}.dash-filter-chip:not(.active):hover{color:var(--color-text);background:#0000000d}.dash-product-list{flex-direction:column;display:flex}.dash-product-row{border-bottom:1px solid var(--color-bg-border);align-items:center;gap:.75rem;padding:.75rem 1.25rem;transition:background .1s;display:flex}.dash-product-row:last-child{border-bottom:none}.dash-product-row:hover{background:var(--color-bg-elevated)}.dash-product-rank{width:24px;height:24px;font-family:var(--font-mono);background:var(--color-bg-elevated);color:var(--color-text-faint);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.72rem;font-weight:800;display:flex}.dash-product-rank.rank-1{color:#d97706;background:#f59e0b26}.dash-product-rank.rank-2{color:#475569;background:#64748b26}.dash-product-rank.rank-3{color:#b45309;background:#b453091f}.dash-product-thumb-box{background:var(--color-bg-elevated);border:1px solid var(--color-bg-border);border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex;overflow:hidden}.dash-product-thumb{object-fit:cover;width:100%;height:100%;display:block}.dash-product-meta{flex:1;min-width:0}.dash-product-name{color:var(--color-text);white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;font-weight:700;overflow:hidden}.dash-product-sub{color:var(--color-text-muted);margin-top:.15rem;font-size:.7rem}.dash-product-sold-badge{font-family:var(--font-mono);color:var(--color-text);background:var(--color-bg-elevated);border:1px solid var(--color-bg-border);border-radius:.375rem;flex-shrink:0;padding:.2rem .55rem;font-size:.78rem;font-weight:700}.dash-card-empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.5rem;padding:3rem 1.5rem;display:flex}.dash-card-empty-icon{color:var(--color-text-faint);opacity:.4;margin-bottom:.25rem}.dash-card-empty-title{color:var(--color-text-muted);font-size:.85rem;font-weight:600}.dash-card-empty-sub{color:var(--color-text-faint);font-size:.75rem}.orders-view-toggle{border:1px solid var(--color-bg-border);border-radius:.5rem;gap:0;display:flex;overflow:hidden}.orders-view-btn{cursor:pointer;color:var(--color-text-muted);background:0 0;border:none;align-items:center;gap:.4rem;padding:.44rem .9rem;font-size:.79rem;font-weight:600;transition:background .15s,color .15s;display:flex}.orders-view-btn.active{background:var(--color-brand-red);color:#fff}.orders-view-btn:not(.active):hover{background:var(--color-bg-elevated);color:var(--color-text)}.cmd-layout{grid-template-columns:340px 1fr;align-items:start;gap:1.25rem;display:grid}@media (max-width:1100px){.cmd-layout{grid-template-columns:1fr}}.incoming-panel{flex-direction:column;gap:.75rem;display:flex}.incoming-panel-title{color:var(--color-text);text-transform:uppercase;letter-spacing:.07em;align-items:center;gap:.45rem;font-size:.72rem;font-weight:700;display:flex}.live-dot{background:#dc2626;border-radius:50%;flex-shrink:0;width:8px;height:8px;animation:1.6s ease-in-out infinite live-dot}@keyframes live-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.65)}}.incoming-card{background:#fff;border-radius:.875rem;padding:1.1rem 1.2rem;animation:2.6s ease-in-out infinite incoming-glow;overflow:hidden}@keyframes incoming-glow{0%,to{box-shadow:0 2px 10px #0000000d}50%{box-shadow:0 4px 32px #dc262621,0 2px 14px #0000000f}}.incoming-card.exiting{animation:.42s ease-in-out forwards card-vanish!important}@keyframes card-vanish{0%{opacity:1;max-height:400px;margin-bottom:.75rem;transform:scale(1)translateY(0)}to{opacity:0;max-height:0;margin:0;padding:0;transform:scale(.93)translateY(-10px)}}.accept-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#16a34a 0%,#166534 100%);border:none;border-radius:.6rem;justify-content:center;align-items:center;gap:.45rem;width:100%;margin-top:.875rem;padding:.65rem;font-size:.875rem;font-weight:700;transition:opacity .2s;display:flex;position:relative;overflow:hidden}.accept-btn:disabled{opacity:.65;cursor:not-allowed}.accept-btn:after{content:"";background:linear-gradient(90deg,#0000,#ffffff3d,#0000);width:55%;height:200%;animation:3s ease-in-out infinite shimmer-sweep;position:absolute;top:-50%;left:-120%;transform:skew(-22deg)}@keyframes shimmer-sweep{0%{left:-120%}50%{left:140%}to{left:140%}}.accept-btn.accepted{animation:.38s ease-out accept-flash;background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%)!important}@keyframes accept-flash{0%{transform:scale(1)}45%{transform:scale(1.028)}to{transform:scale(1)}}.pipeline-panel{flex-direction:column;gap:.875rem;display:flex}.pipeline-cols{grid-template-columns:repeat(3,1fr);gap:.875rem;display:grid}@media (max-width:860px){.pipeline-cols{grid-template-columns:1fr}}.pipeline-col{background:var(--color-bg-elevated);border-radius:.875rem;flex-direction:column;gap:.55rem;min-height:180px;padding:.875rem;display:flex}.pipeline-col-empty{color:var(--color-text-faint);text-align:center;border:1px dashed var(--color-bg-border);background:#ffffff73;border-radius:.65rem;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.25rem;padding:2.25rem 1rem;display:flex}.pipeline-card{cursor:pointer;background:#fff;border-radius:.65rem;padding:.75rem .875rem;transition:box-shadow .15s,transform .15s;animation:.28s ease-out pipeline-enter}.pipeline-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px #0000001a}@keyframes pipeline-enter{0%{opacity:0;transform:translateY(-8px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.advance-btn{background:var(--color-bg-elevated);color:var(--color-text-muted);cursor:pointer;border:none;border-radius:.375rem;justify-content:center;align-items:center;gap:.3rem;width:100%;margin-top:.55rem;padding:.32rem .6rem;font-size:.68rem;font-weight:600;transition:background .15s,color .15s;display:flex}.advance-btn:hover{background:var(--color-bg-border);color:var(--color-text)}.advance-btn.flashing{animation:.38s ease-out advance-flash}@keyframes advance-flash{0%,to{background:var(--color-bg-elevated)}50%{color:#2563eb;background:#2563eb29}}.pipeline-footer{background:#16a34a12;border-radius:.625rem;justify-content:space-between;align-items:center;padding:.6rem 1rem;display:flex}.incoming-empty{text-align:center;background:#fff;border-radius:.875rem;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:2.5rem 1rem;display:flex;box-shadow:0 2px 10px #0000000a}.product-overview-panel{border:1px solid var(--color-bg-border);background:#fff;border-radius:1rem;flex-direction:column;gap:1rem;width:100%;max-width:480px;max-height:90vh;margin:auto;padding:1.5rem;display:flex;position:relative;overflow-y:auto;box-shadow:0 25px 60px #00000040}.product-overview-header{border-bottom:1px solid var(--color-bg-border);justify-content:space-between;align-items:center;padding-bottom:.5rem;display:flex}.product-overview-sheet-title{color:var(--color-text);font-size:1rem;font-weight:700}.product-overview-media-box{border:1px solid var(--color-bg-border);background:#f8fafc;border-radius:.75rem;justify-content:center;align-items:center;width:100%;height:300px;display:flex;position:relative;overflow:hidden}.product-overview-media-img{object-fit:contain;width:100%;height:100%;padding:.25rem;display:block}.product-overview-media-empty{color:var(--color-text-faint);flex-direction:column;justify-content:center;align-items:center;gap:.4rem;font-size:.8rem;display:flex}.product-overview-media-count{color:#fff;font-size:.65rem;font-family:var(--font-mono);background:#000000a6;border-radius:.375rem;padding:.2rem .5rem;position:absolute;bottom:.5rem;right:.5rem}.product-overview-thumb-strip{gap:.5rem;display:flex;overflow-x:auto}.product-overview-thumb-btn{cursor:pointer;background:var(--color-bg-elevated);border:2px solid #0000;border-radius:.375rem;flex-shrink:0;width:44px;height:44px;padding:0;transition:border-color .15s;overflow:hidden}.product-overview-thumb-btn.active{border-color:var(--color-brand-red)}.product-overview-thumb-img{object-fit:cover;width:100%;height:100%;display:block}.product-overview-details{flex-direction:column;gap:.75rem;display:flex}.product-overview-name{color:var(--color-text);font-size:1.2rem;font-weight:800;line-height:1.3}.product-overview-badges{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.product-overview-price-row{align-items:baseline;gap:.4rem;padding:.5rem 0;display:flex}.product-overview-price-val{font-family:var(--font-mono);color:#16a34a;font-size:1.5rem;font-weight:800}.product-overview-price-unit{color:var(--color-text-muted);font-size:.85rem}.product-overview-desc-section{background:var(--color-bg-elevated);border:1px solid var(--color-bg-border);border-radius:.625rem;padding:.85rem 1rem}.product-overview-desc-label{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.35rem;font-size:.72rem;font-weight:700}.product-overview-desc-body{color:var(--color-text);white-space:pre-wrap;font-size:.85rem;line-height:1.5}.product-overview-desc-empty{color:var(--color-text-faint);font-size:.82rem;font-style:italic}.product-overview-quality-section{background:var(--color-bg-elevated);border:1px solid var(--color-bg-border);border-radius:.625rem;flex-direction:column;gap:.5rem;padding:.85rem 1rem;display:flex}.product-overview-quality-grid{grid-template-columns:repeat(2,1fr);gap:.5rem;display:grid}@media (max-width:480px){.product-overview-quality-grid{grid-template-columns:1fr}}.product-overview-quality-item{border-radius:.5rem;align-items:center;gap:.6rem;padding:.5rem .75rem;font-size:.78rem;font-weight:600;display:flex}.product-overview-quality-icon-box{border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;display:flex}.product-overview-quality-item.quality-green{color:#15803d;background:#16a34a12;border:1px solid #16a34a2e}.product-overview-quality-item.quality-green .product-overview-quality-icon-box{color:#16a34a;background:#16a34a24}.product-overview-quality-item.quality-orange{color:#c2410c;background:#ea580c12;border:1px solid #ea580c2e}.product-overview-quality-item.quality-orange .product-overview-quality-icon-box{color:#ea580c;background:#ea580c24}.product-overview-quality-text{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.single-photo-preview-wrap{flex-direction:column;gap:1rem;margin-top:.75rem;display:flex}.single-photo-box{border:1px solid var(--color-bg-border);background:#f8fafc;border-radius:.75rem;justify-content:center;align-items:center;width:100%;height:240px;display:flex;overflow:hidden}.single-photo-img{object-fit:contain;width:100%;height:100%;padding:.5rem;display:block}.single-photo-actions{align-items:center;gap:.75rem;display:flex}.single-photo-actions .btn-secondary,.single-photo-actions .btn-choice-delete{flex:1;padding:.6rem 1rem;font-size:.82rem;font-weight:600}.product-overview-footer-actions{border-top:1px solid var(--color-bg-border);justify-content:flex-end;padding-top:.5rem;display:flex}.btn-card-overview{color:var(--color-text);background:var(--color-bg-elevated);cursor:pointer;border:none;flex:1;justify-content:center;align-items:center;gap:.3rem;padding:.55rem .75rem;font-size:.75rem;font-weight:600;transition:background .15s,color .15s;display:flex}.btn-card-overview:hover{background:var(--color-bg-border);color:var(--color-brand-red)}.product-grid-card{flex-direction:column;padding:0;transition:transform .18s,box-shadow .18s;display:flex;overflow:hidden}.product-grid-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px #00000014}.product-card-hero{background:var(--color-bg-elevated);cursor:pointer;flex-shrink:0;height:165px;position:relative;overflow:hidden}.product-card-img{object-fit:cover;width:100%;height:100%;transition:transform .25s;display:block}.product-grid-card:hover .product-card-img{transform:scale(1.03)}.product-card-placeholder{width:100%;height:100%;color:var(--color-text-faint);justify-content:center;align-items:center;display:flex}.product-card-cat-badge{font-size:.65rem;position:absolute;top:.5rem;left:.5rem}.product-card-hidden-badge{font-size:.65rem;position:absolute;top:.5rem;right:.5rem}.product-card-img-count{cursor:pointer;color:#fff;font-size:.68rem;font-family:var(--font-mono);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000a6;border:none;border-radius:.375rem;align-items:center;gap:.25rem;padding:3px 7px;transition:background .15s;display:flex;position:absolute;bottom:.5rem;right:.5rem}.product-card-img-count:hover{background:#000000d9}.product-card-body{flex-direction:column;flex:1;gap:.4rem;padding:.875rem;display:flex}.product-card-clickable{cursor:pointer}.product-card-title{color:var(--color-text);font-size:.875rem;font-weight:700;line-height:1.3;transition:color .15s}.product-card-title:hover{color:var(--color-brand-red)}.product-card-desc{color:var(--color-text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:.2rem;font-size:.72rem;line-height:1.4;display:-webkit-box;overflow:hidden}.product-card-price-row{justify-content:space-between;align-items:center;margin-top:auto;padding-top:.5rem;display:flex}.product-card-price{font-family:var(--font-mono);color:#16a34a;font-size:.95rem;font-weight:700}.product-card-unit{color:var(--color-text-faint);margin-left:3px;font-family:inherit;font-size:.72rem;font-weight:400}.product-card-toggle-btn{cursor:pointer;background:0 0;border:none;padding:2px;line-height:0}.product-toggle-active{color:#16a34a}.product-toggle-inactive{color:var(--color-text-faint)}.product-card-actions{border-top:1px solid var(--color-bg-border);align-items:center;display:flex}.btn-card-action{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:0;flex:1;justify-content:center;align-items:center;gap:.3rem;padding:.55rem .65rem;font-size:.75rem;transition:background .15s,color .15s;display:flex}.btn-card-action:hover{background:var(--color-bg-elevated);color:var(--color-text)}.btn-card-action-danger{color:#ef4444;cursor:pointer;background:0 0;border:none;border-radius:0;flex:1;justify-content:center;align-items:center;gap:.3rem;padding:.55rem .65rem;font-size:.75rem;transition:background .15s,color .15s;display:flex}.btn-card-action-danger:hover{background:#ef44441f}.product-card-action-divider{background:var(--color-bg-border);width:1px;height:18px}.product-table-card{padding:0}.product-th-img{width:64px}.product-th-actions{text-align:right;width:170px}.product-table-thumb-box{background:var(--color-bg-elevated);cursor:pointer;border-radius:.5rem;justify-content:center;align-items:center;width:48px;height:48px;display:flex;overflow:hidden}.product-table-thumb-img{object-fit:cover;width:100%;height:100%;display:block}.product-table-no-img{color:var(--color-text-faint)}.product-table-name-clickable{cursor:pointer}.product-table-name{color:var(--color-text);font-size:.85rem;font-weight:600;transition:color .15s}.product-table-name:hover{color:var(--color-brand-red)}.product-table-desc{color:var(--color-text-muted);margin-top:2px;font-size:.72rem}.product-table-price{font-family:var(--font-mono);color:#16a34a;font-weight:700}.product-table-unit{color:var(--color-text-muted);font-size:.82rem}.product-table-icon-btn{padding:.25rem;line-height:0}.product-table-action-group{justify-content:flex-end;align-items:center;gap:.25rem;display:flex}.product-table-action-btn{color:var(--color-text-muted);padding:.35rem .5rem}.product-table-action-btn:hover{color:var(--color-text)}.product-table-action-delete{color:#ef4444;padding:.35rem .5rem}.product-table-action-delete:hover{background:#ef44441f}.modal-panel-scrollable{max-height:90vh;overflow-y:auto}.modal-title{color:var(--color-text);margin-bottom:1.25rem;font-size:1.05rem;font-weight:700}.modal-subtitle{color:var(--color-text-muted);margin-top:-.85rem;margin-bottom:1.25rem;font-size:.8rem}.input-label{color:var(--color-text-muted);margin-bottom:.35rem;font-size:.75rem;font-weight:600;display:block}.product-form-grid{grid-template-columns:1fr 1fr;gap:.875rem;display:grid}.product-form-col-full{grid-column:1/-1}.product-form-textarea{resize:vertical;min-height:68px}.product-form-checkbox-row{grid-column:1/-1;align-items:center;gap:1.5rem;display:flex}.product-form-checkbox-label{cursor:pointer;color:var(--color-text-muted);align-items:center;gap:.5rem;font-size:.8rem;display:flex}.checkbox-accent{accent-color:var(--color-brand-red)}.modal-footer-actions{justify-content:flex-end;gap:.75rem;margin-top:1.5rem;display:flex}.product-img-grid{grid-template-columns:repeat(3,1fr);gap:.625rem;margin-bottom:1.25rem;display:grid}.product-img-card{border-radius:.5rem;position:relative;overflow:hidden}.product-img-preview{object-fit:cover;width:100%;height:100px;display:block}.product-img-main-badge{color:#fff;background:#dc2626d9;border-radius:3px;padding:1px 5px;font-size:.6rem;font-weight:700;position:absolute;bottom:4px;left:4px}.product-img-delete-btn{cursor:pointer;color:#fff;background:#ef4444e6;border:none;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;display:flex;position:absolute;top:4px;right:4px}.product-upload-dropzone{border:2px dashed var(--color-bg-border);text-align:center;cursor:pointer;background:var(--color-bg-elevated);border-radius:.75rem;margin-bottom:1rem;padding:2rem;transition:border-color .15s,background .15s}.product-upload-dropzone:hover{border-color:var(--color-brand-red);background:#dc262608}.upload-spinner{color:var(--color-brand-red);margin:0 auto}.upload-icon{color:var(--color-text-muted);margin:0 auto .5rem}.upload-title{color:var(--color-text-muted);font-size:.875rem;font-weight:500}.upload-hint{color:var(--color-text-faint);margin-top:.25rem;font-size:.72rem}.hidden-file-input{display:none}.watermark-checkbox-label{cursor:pointer;color:var(--color-text-muted);align-items:center;gap:.5rem;font-size:.8rem;display:flex}.action-choice-panel{max-width:420px;padding:2rem 1.75rem}.action-choice-header{align-items:center;gap:.65rem;margin-bottom:.75rem;display:flex}.action-choice-icon-box{background:#dc26261a;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.action-choice-warning-icon{color:#dc2626}.action-choice-title{color:var(--color-text);font-size:1.05rem;font-weight:800;line-height:1.2}.action-choice-subtitle{color:var(--color-text-muted);margin-top:2px;font-size:.82rem}.action-choice-item-summary{background:var(--color-bg-elevated);border-radius:.625rem;margin-top:.75rem;padding:.75rem 1rem}.action-choice-product-name{color:var(--color-text);font-size:.9rem;font-weight:700}.action-choice-product-meta{font-family:var(--font-mono);color:var(--color-text-muted);margin-top:2px;font-size:.75rem}.action-choice-emoji{font-size:1.25rem}.action-choice-btn-hint{color:var(--color-text-faint);font-size:.68rem;font-weight:400;line-height:1.3}.action-choice-delete-hint{color:#ef4444;opacity:.85;font-size:.68rem;font-weight:400;line-height:1.3}.product-page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.product-view-toggle-wrap{border:1px solid var(--color-bg-border);border-radius:.5rem;display:flex;overflow:hidden}.product-view-toggle-btn{cursor:pointer;color:var(--color-text-muted);background:0 0;border:none;align-items:center;padding:.45rem .75rem;transition:background .15s,color .15s;display:flex}.product-view-toggle-btn.active{background:var(--color-brand-red);color:#fff}.product-view-toggle-btn:not(.active):hover{background:var(--color-bg-elevated);color:var(--color-text)}.product-toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.product-search-box{flex:1;min-width:200px;max-width:320px;position:relative}.product-search-icon{color:var(--color-text-muted);position:absolute;top:50%;left:.75rem;transform:translateY(-50%)}.product-search-input{padding-left:2.25rem}.product-cat-btn{padding:.4rem .875rem;font-size:.78rem}.product-grid-container{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1.15rem;display:grid}.loading-center-box{justify-content:center;padding:4rem;display:flex}.brand-red-spinner{color:var(--color-brand-red)}.error-banner-box{align-items:center;gap:.75rem;padding:1.5rem;display:flex}.error-icon{color:#ef4444}.error-text{color:var(--color-text-muted);flex:1;font-size:.875rem}.empty-state-box{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:4rem 2rem;display:flex}.empty-state-icon{color:var(--color-text-faint);margin-bottom:1rem}.empty-state-title{color:var(--color-text);margin-bottom:.5rem;font-size:1rem;font-weight:700}.empty-state-subtitle{color:var(--color-text-muted);margin-bottom:1.5rem;font-size:.875rem}}@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.top-0{top:0}.top-1\/2{top:50%}.top-1\/4{top:25%}.right-3{right:calc(var(--spacing) * 3)}.bottom-0{bottom:0}.left-1\/2{left:50%}.left-3{left:calc(var(--spacing) * 3)}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-6{margin-top:calc(var(--spacing) * 6)}.-mr-1{margin-right:calc(var(--spacing) * -1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-4{height:calc(var(--spacing) * 4)}.h-16{height:calc(var(--spacing) * 16)}.h-96{height:calc(var(--spacing) * 96)}.h-full{height:100%}.h-screen{height:100vh}.min-h-screen{min-height:100vh}.w-4{width:calc(var(--spacing) * 4)}.w-60{width:calc(var(--spacing) * 60)}.w-72{width:calc(var(--spacing) * 72)}.w-96{width:calc(var(--spacing) * 96)}.max-w-sm{max-width:var(--container-sm)}.flex-shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.justify-center{justify-content:center}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-bg-border{border-color:var(--color-bg-border)}.border-status-error\/20{border-color:#f03e3e33}@supports (color:color-mix(in lab, red, red)){.border-status-error\/20{border-color:color-mix(in oklab, var(--color-status-error) 20%, transparent)}}.border-white\/30{border-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.border-white\/30{border-color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.border-t-white{border-top-color:var(--color-white)}.bg-bg{background-color:var(--color-bg)}.bg-bg-surface{background-color:var(--color-bg-surface)}.bg-black\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\/60{background-color:color-mix(in oklab, var(--color-black) 60%, transparent)}}.bg-brand-red\/5{background-color:#f03e3e0d}@supports (color:color-mix(in lab, red, red)){.bg-brand-red\/5{background-color:color-mix(in oklab, var(--color-brand-red) 5%, transparent)}}.bg-status-error-bg{background-color:var(--color-status-error-bg)}.p-1{padding:var(--spacing)}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.px-1{padding-inline:var(--spacing)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-20{padding-bottom:calc(var(--spacing) * 20)}.pl-9{padding-left:calc(var(--spacing) * 9)}.text-center{text-align:center}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-2xs{font-size:var(--text-2xs)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-brand-red{color:var(--color-brand-red)}.text-brand-red\/60{color:#f03e3e99}@supports (color:color-mix(in lab, red, red)){.text-brand-red\/60{color:color-mix(in oklab, var(--color-brand-red) 60%, transparent)}}.text-status-error{color:var(--color-status-error)}.text-status-success{color:var(--color-status-success)}.text-text{color:var(--color-text)}.text-text-faint{color:var(--color-text-faint)}.text-text-muted{color:var(--color-text-muted)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media (hover:hover){.hover\:bg-status-error-bg:hover{background-color:var(--color-status-error-bg)}.hover\:text-status-error:hover{color:var(--color-status-error)}.hover\:text-text:hover{color:var(--color-text)}.hover\:text-text-muted:hover{color:var(--color-text-muted)}}@media (min-width:40rem){.sm\:pb-6{padding-bottom:calc(var(--spacing) * 6)}}@media (min-width:48rem){.md\:p-6{padding:calc(var(--spacing) * 6)}}@media (min-width:64rem){.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:p-8{padding:calc(var(--spacing) * 8)}}.mono{font-family:var(--font-mono)!important}.text-2xs{font-size:var(--text-2xs);line-height:1rem}.text-gradient-red{background:linear-gradient(to right, var(--color-brand-red), var(--color-brand-amber));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.glow-red{box-shadow:0 0 20px #f03e3e40}.space-y-1>*+*{margin-top:.25rem}.space-y-2>*+*{margin-top:.5rem}.space-y-4>*+*{margin-top:1rem}.space-y-6>*+*{margin-top:1.5rem}.space-y-8>*+*{margin-top:2rem}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.flex-wrap{flex-wrap:wrap}.flex-1{flex:1}.min-w-0{min-width:0}.w-full{width:100%}.ml-auto{margin-left:auto}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.animate-fade-in{animation:.2s ease-out both fadeIn}.animate-slide-up{animation:.25s ease-out both slideUp}.animate-scale-in{animation:.22s cubic-bezier(.34,1.56,.64,1) both scaleIn}.animate-spin-slow{animation:1.4s linear infinite spinSlow}.animate-pulse-ring{animation:2s ease-in-out infinite pulseRing}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}@keyframes spinSlow{to{transform:rotate(360deg)}}@keyframes pulseRing{0%,to{opacity:.6;transform:scale(1)}50%{opacity:.15;transform:scale(1.18)}}@keyframes dotBounce{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-6px)}}}.sidebar-dark,.sidebar-dark *{--color-bg-surface:#111827;--color-bg-elevated:#1f2937;--color-bg-border:#374151;--color-text:#f9fafb;--color-text-muted:#9ca3af;--color-text-faint:#6b7280}.sidebar-dark{color:#f9fafb;background-color:#111827!important;border-color:#374151!important}.sidebar-dark .nav-item{color:#9ca3af}.sidebar-dark .nav-item:hover{color:#f9fafb;background:#ffffff0f}.sidebar-dark .nav-item.active{background:var(--color-brand-red,#f03e3e);color:#fff!important}.sidebar-dark .nav-item.active svg{color:#fff!important}.sidebar-dark .btn-ghost{color:#9ca3af}.sidebar-dark .btn-ghost:hover{color:#f9fafb;background:#ffffff14}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
