.admin-shell{--bg:#f2f4f6;--surface:#fff;--surface-muted:#f0f3f5;--border:#dde2e7;--border-strong:#b9c2cb;--text:#182028;--text-muted:#56616d;--primary:#0c6570;--primary-hover:#094f58;--primary-soft:#e3f1f2;--tag:#f6c343;--tag-ink:#3d2e00;--frame:#0f2830;--frame-2:#163640;--danger:#c9372c;--radius:12px;--radius-sm:8px;--shadow:0 12px 32px #0f28301a;--shadow-sm:none;--control-h:2.625rem;background:var(--bg);min-height:100vh;color:var(--text);font-variant-numeric:tabular-nums}.admin-shell :where(a,button,[role=button],summary,input[type=checkbox],input[type=radio]):focus-visible{outline:2px solid var(--primary);outline-offset:2px}.admin-shell .admin-sidebar{--surface:var(--frame);--surface-muted:var(--frame-2);--border:#ffffff17;--text:#f2f6f7;--text-muted:#9fb3b8;background:var(--frame);color:var(--text)}.admin-shell .admin-sidebar :where(a,button):focus-visible{outline-color:var(--tag)}.admin-shell .admin-nav-group-title{color:var(--text-muted);padding:0 .75rem .375rem;font-size:.75rem;font-weight:600}.admin-shell a{color:inherit;text-decoration:none}.admin-shell .admin-nav-link{border-radius:var(--radius-sm);padding:.5rem .75rem;font-size:.875rem;font-weight:500;transition:background .15s,color .15s;position:relative}.admin-shell .admin-nav-link--active{background:var(--surface-muted);color:var(--text);font-weight:600}.admin-shell .admin-nav-link--active:before{content:"";background:var(--tag);border-radius:0 4px 4px 0;width:4px;position:absolute;top:.375rem;bottom:.375rem;left:-.75rem}.admin-shell .admin-nav-link--active svg{color:var(--tag)}.admin-shell .admin-nav-link:not(.admin-nav-link--active):hover{background:var(--surface-muted);color:var(--text)}.admin-shell .admin-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.admin-shell .admin-btn{height:var(--control-h);border-radius:var(--radius-sm);letter-spacing:normal;text-transform:none;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:.5rem;padding:0 1rem;font-size:.8125rem;font-weight:600;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.admin-shell .admin-btn:disabled{opacity:.5;cursor:not-allowed}.admin-shell .admin-btn-primary{background:var(--primary);color:#fff}.admin-shell .admin-btn-primary:hover:not(:disabled){background:var(--primary-hover)}.admin-shell .admin-btn-ghost{border-color:var(--border);background:var(--surface);color:var(--text-muted)}.admin-shell .admin-btn-ghost:hover:not(:disabled){border-color:var(--border-strong);color:var(--text)}.admin-shell .admin-btn-danger{border-color:color-mix(in srgb, var(--danger) 35%, white);background:color-mix(in srgb, var(--danger) 10%, white);color:var(--danger)}.admin-shell .admin-btn-danger:hover:not(:disabled){border-color:var(--danger)}.admin-shell .admin-input,.admin-shell .admin-select{box-sizing:border-box;height:var(--control-h);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);letter-spacing:normal;text-transform:none;outline:none;padding:0 .9rem;font-family:inherit;font-size:.875rem;font-weight:400;transition:border-color .15s,box-shadow .15s}.admin-shell .admin-input{width:100%}.admin-shell .admin-select{width:auto;min-width:9rem}.admin-shell textarea.admin-input{resize:vertical;height:auto;min-height:2.75rem;max-height:none;padding:.7rem .9rem;line-height:1.45}.admin-shell textarea.admin-input.admin-input--lg{min-height:14rem}.admin-shell textarea.admin-input.admin-input--md{min-height:11rem}.admin-shell .admin-field{flex-direction:column;gap:.375rem;display:flex}.admin-shell .admin-field-label{letter-spacing:normal;text-transform:none;color:var(--text-muted);flex-direction:column;gap:.125rem;margin-bottom:0;font-size:.8125rem;font-weight:600;line-height:1.35;display:flex}.admin-shell .admin-field-label__text{color:var(--text);font-weight:600}.admin-shell .admin-field-label__hint{color:color-mix(in srgb, var(--text-muted) 90%, transparent);font-size:.75rem;font-weight:400;line-height:1.35}:is(.admin-shell label.admin-field-label:has(.admin-input),.admin-shell label.admin-field-label:has(.admin-select),.admin-shell label.admin-field-label:has(textarea.admin-input)){flex-direction:column;gap:.375rem;display:flex}.admin-shell .admin-empty-state{border-radius:var(--radius)}.admin-shell :where(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not(.admin-input):not(.admin-select){letter-spacing:normal;font-size:.875rem}.admin-shell .admin-input:focus,.admin-shell .admin-select:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent)}.admin-shell .admin-input--search{padding-left:2.5rem;padding-right:2.5rem}.admin-shell .admin-search-field{flex:220px;min-width:220px;display:block;position:relative}.admin-shell .admin-search-icon{width:1rem;height:1rem;color:var(--text-muted);pointer-events:none;position:absolute;top:50%;left:.85rem;transform:translateY(-50%)}.admin-shell .admin-search-clear{width:1.75rem;height:1.75rem;color:var(--text-muted);border-radius:6px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:50%;right:.45rem;transform:translateY(-50%)}.admin-shell .admin-search-clear:hover{color:var(--text);background:var(--surface-muted)}.admin-shell .admin-table-wrap{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);overflow:auto}.admin-shell .admin-table-wrap--fill{flex-direction:column;flex:auto;min-height:max(28rem,100dvh - 16rem);display:flex}.admin-shell .admin-table-wrap--fill>table{flex:auto}.admin-shell .admin-table-wrap table{border-collapse:separate;border-spacing:0;width:100%}.admin-shell .admin-table-wrap thead th{z-index:1;background:var(--surface-muted);box-shadow:inset 0 -1px 0 var(--border);position:sticky;top:0}.admin-shell .admin-table-wrap tbody tr{transition:background .1s}.admin-shell .admin-table-wrap tbody tr:hover{background:color-mix(in srgb, var(--primary-soft) 55%, transparent)}.admin-shell .admin-products-table{table-layout:fixed;min-width:72rem}.admin-shell .admin-products-table col.col-check{width:2.5rem}.admin-shell .admin-products-table col.col-title{width:24%}.admin-shell .admin-products-table col.col-store{width:11%}.admin-shell .admin-products-table col.col-price{width:9%}.admin-shell .admin-products-table col.col-reference,.admin-shell .admin-products-table col.col-score{width:10%}.admin-shell .admin-products-table col.col-category{width:11%}.admin-shell .admin-products-table col.col-checked{width:12%}.admin-shell .admin-products-table col.col-actions{width:7rem}.admin-shell .admin-products-table thead th button{white-space:nowrap}.admin-shell .admin-products-table tbody.is-reloading{opacity:.55;pointer-events:none}.admin-shell .admin-products-table__load-more td{text-align:center;color:var(--text-muted);background:var(--surface-muted);padding:.85rem 1rem;font-size:.75rem}.admin-shell .admin-icon-btn{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);width:2rem;height:2rem;color:var(--text-muted);justify-content:center;align-items:center;transition:border-color .15s,color .15s;display:inline-flex}.admin-shell .admin-icon-btn:hover{border-color:var(--primary);color:var(--primary)}.admin-shell .admin-icon-btn:disabled{opacity:.4}.admin-shell .admin-row-menu{display:inline-flex;position:relative}.admin-shell .admin-row-actions{justify-content:flex-end;align-items:center;gap:.35rem;display:inline-flex}.admin-shell .admin-row-menu__panel{z-index:80;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:11.5rem;box-shadow:var(--shadow-md,0 10px 24px #0f172a1f);padding:.3rem;overflow:hidden}.admin-shell .admin-row-menu__item{border-radius:calc(var(--radius-sm) - 2px);text-align:left;width:100%;color:var(--text);align-items:center;gap:.55rem;padding:.5rem .6rem;font-size:.8125rem;font-weight:500;transition:background .15s,color .15s;display:flex}.admin-shell .admin-row-menu__item:hover:not(:disabled){background:var(--surface-muted)}.admin-shell .admin-row-menu__item:disabled{cursor:not-allowed;opacity:.45}.admin-shell .admin-row-menu__item--danger{color:#be123c}.admin-shell .admin-row-menu__item--danger:hover:not(:disabled){background:#fff1f2}.admin-shell .admin-row-menu__icon{width:1rem;height:1rem;color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.admin-shell .admin-row-menu__item--danger .admin-row-menu__icon{color:#be123c}.admin-row-menu__panel{--border:#dde2e7;--surface:#fff;--surface-muted:#f0f3f5;--text:#182028;--text-muted:#56616d;--radius-sm:8px;z-index:80;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:11.5rem;box-shadow:var(--shadow-md,0 10px 24px #0f172a1f);padding:.3rem;overflow:hidden}.admin-row-menu__item{border-radius:calc(var(--radius-sm) - 2px);text-align:left;width:100%;color:var(--text);align-items:center;gap:.55rem;padding:.5rem .6rem;font-size:.8125rem;font-weight:500;transition:background .15s,color .15s;display:flex}.admin-row-menu__item:hover:not(:disabled){background:var(--surface-muted)}.admin-row-menu__item:disabled{cursor:not-allowed;opacity:.45}.admin-row-menu__item--danger{color:#be123c}.admin-row-menu__item--danger:hover:not(:disabled){background:#fff1f2}.admin-row-menu__icon{width:1rem;height:1rem;color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.admin-row-menu__item--danger .admin-row-menu__icon{color:#be123c}.admin-shell .admin-badge{background:var(--primary-soft);color:var(--primary);border-radius:999px;padding:.15rem .55rem;font-size:.75rem;font-weight:600;display:inline-block}.admin-shell .admin-badge--muted{background:var(--surface-muted);color:var(--text-muted)}.admin-shell .admin-retailer-badge{letter-spacing:.03em;color:#fff;border-radius:999px;align-items:center;padding:.2rem .6rem;font-size:.7rem;font-weight:700;display:inline-flex}.admin-shell .admin-toolbar{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);flex-direction:column;gap:.75rem;margin-top:1.5rem;padding:1rem;display:flex}@media (max-width:767px){.admin-shell .admin-toolbar .admin-search-field{flex:none;min-width:0}}@media (min-width:768px){.admin-shell .admin-toolbar{flex-flow:wrap;align-items:center}}.admin-shell .bg-ink{background-color:var(--primary)!important}.admin-shell .hover\:bg-teal-900:hover{background-color:var(--primary-hover)!important}.admin-shell .text-ink{color:var(--text)!important}.admin-shell .text-paper{color:#fff!important}.admin-shell .text-teal-800,.admin-shell .text-teal-900{color:var(--primary)!important}.admin-shell .bg-teal-50{background-color:var(--primary-soft)!important}.admin-shell .border-teal-200,.admin-shell .border-teal-800{border-color:color-mix(in srgb, var(--primary) 35%, white)!important}.admin-shell .bg-stone-100,.admin-shell .bg-stone-50{background-color:var(--surface-muted)!important}.admin-shell .bg-white{background-color:var(--surface)!important}.admin-shell .border-stone-200,.admin-shell .border-stone-300{border-color:var(--border)!important}.admin-shell .text-stone-500,.admin-shell .text-stone-600,.admin-shell .text-stone-700{color:var(--text-muted)!important}.admin-shell .divide-stone-100>:not([hidden])~:not([hidden]),.admin-shell .divide-stone-200>:not([hidden])~:not([hidden]){border-color:var(--border)}.admin-shell .font-display{font-family:inherit;font-weight:700}.admin-shell button.h-11,.admin-shell a.h-11,.admin-shell button.h-10:not(.admin-tab),.admin-shell a.h-10:not(.admin-tab),.admin-shell button.h-9,.admin-shell a.h-9{height:var(--control-h);border-radius:var(--radius-sm)}.admin-shell button.h-9,.admin-shell a.h-9{height:2.25rem}.admin-shell input.h-10,.admin-shell select.h-10,.admin-shell input.h-11,.admin-shell select.h-11{height:var(--control-h);border-radius:var(--radius-sm)}.admin-shell .rounded-sm{border-radius:var(--radius-sm)!important}.admin-shell :where(section,article,aside,form,ul,ol).border,.admin-shell :where(div).border:not(.admin-nav-link):not(.admin-search-clear):not(.admin-icon-btn):not(.admin-btn),.admin-shell :where(div).overflow-x-auto.border,.admin-shell :where(div).overflow-auto.border,.admin-shell :where(div).overflow-hidden.border{border-radius:var(--radius)}.admin-shell :where(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),.admin-shell :where(button,a).border,.admin-shell :where(button,a).bg-ink,.admin-shell :where(p,div).border.border-rose-200,.admin-shell :where(p,div).border.border-amber-200,.admin-shell :where(p,div).border.border-teal-200{border-radius:var(--radius-sm)}.admin-shell td.border,.admin-shell th.border,.admin-shell tr.border{border-radius:0}.admin-login{background:var(--bg);min-height:100vh;color:var(--text);justify-content:center;align-items:center;padding:1.25rem;display:flex}.admin-login-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;max-width:24rem;box-shadow:var(--shadow);padding:2rem}.admin-shell .admin-skeleton{background:linear-gradient(90deg, var(--surface-muted) 0%, color-mix(in srgb, var(--surface-muted) 55%, white) 45%, var(--surface-muted) 100%);background-size:200% 100%;border-radius:6px;animation:1.25s ease-in-out infinite admin-skeleton-shimmer;display:block}@keyframes admin-skeleton-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.admin-shell .admin-tabs{border-bottom:1px solid var(--border);gap:.15rem;display:flex}.admin-shell .admin-tab{height:2.5rem;color:var(--text-muted);background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;margin-bottom:-1px;padding:0 1rem;font-size:.875rem;font-weight:500;transition:color .15s,border-color .15s;display:inline-flex;border-radius:0!important}.admin-shell .admin-tab:hover{color:var(--text)}.admin-shell .admin-tab--active{color:var(--text);border-bottom-color:var(--primary);font-weight:600;border-radius:0!important}.admin-shell .admin-side-panel{z-index:60;justify-content:flex-end;display:flex;position:fixed;inset:0}.admin-shell .admin-side-panel__backdrop{cursor:pointer;background:#0f283073;border:none;position:absolute;inset:0}.admin-shell .admin-side-panel__sheet{z-index:1;background:var(--surface);flex-direction:column;width:min(100%,36rem);max-width:100%;height:100%;animation:.22s ease-out admin-side-panel-in;display:flex;position:relative;box-shadow:-12px 0 40px #0f283029}.admin-shell .admin-side-panel__sheet--md{width:min(100%,28rem)}.admin-shell .admin-side-panel__sheet--lg{width:min(100%,36rem)}.admin-shell .admin-side-panel__sheet--xl{width:min(100%,44rem)}.admin-shell .admin-side-panel__header{border-bottom:1px solid var(--border);background:var(--surface);z-index:2;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:1rem 1.15rem;display:flex;position:sticky;top:0}.admin-shell .admin-side-panel__header h2{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:1.15rem;line-height:1.3;display:-webkit-box;overflow:hidden}.admin-shell .admin-side-panel__body{background:var(--bg);flex:1;padding:1.15rem;overflow:auto}.admin-shell .admin-side-panel__footer{border-top:1px solid var(--border);background:var(--surface);flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:.65rem;padding:.9rem 1.15rem;display:flex}.admin-shell .admin-detail-hero{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);flex-direction:column;gap:1rem;padding:1rem;display:flex}@media (min-width:480px){.admin-shell .admin-detail-hero{flex-direction:row;align-items:flex-start}}.admin-shell .admin-detail-hero__image{border-radius:var(--radius-sm);background:var(--surface-muted);border:1px solid var(--border);flex-shrink:0;width:7.5rem;height:7.5rem;position:relative;overflow:hidden}.admin-shell .admin-detail-section{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);margin-top:.85rem;padding:1rem}.admin-shell .admin-detail-section h3{color:var(--text);margin:0 0 .85rem;font-size:.875rem;font-weight:600}.admin-shell .admin-detail-grid{grid-template-columns:1fr 1fr;gap:.75rem 1rem;display:grid}.admin-shell .admin-detail-grid dt{color:var(--text-muted);font-size:.75rem;font-weight:500}.admin-shell .admin-detail-grid dd{color:var(--text);word-break:break-word;margin:.15rem 0 0;font-size:.875rem;font-weight:600}.admin-shell .admin-detail-muted{color:var(--text-muted);word-break:break-all;font-size:.8rem;font-weight:500}@keyframes admin-side-panel-in{0%{opacity:.6;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@media (min-width:640px){.admin-shell .admin-side-panel__sheet{border-left:1px solid var(--border)}}@media (prefers-reduced-motion:reduce){.admin-shell .admin-skeleton,.admin-shell .admin-side-panel__sheet{animation:none}}.admin-shell .stats-bars{border-bottom:1px solid var(--border-strong);align-items:flex-end;gap:2px;height:11rem;display:flex;position:relative}.admin-shell .stats-bars--short{height:5.5rem}.admin-shell .stats-bars__col{flex:1 1 0;align-items:flex-end;min-width:0;height:100%;display:flex;position:relative}.admin-shell .stats-bars__bar{background:var(--primary);opacity:.85;border-radius:4px 4px 0 0;width:100%;transition:opacity .12s}.admin-shell .stats-bars__bar--peak,.admin-shell .stats-bars__col:hover .stats-bars__bar{opacity:1;background:var(--primary-hover)}.admin-shell .stats-bars__col:hover:after{content:attr(data-tip);z-index:5;white-space:nowrap;border-radius:var(--radius-sm);background:var(--frame);color:#fff;pointer-events:none;padding:.3rem .55rem;font-size:.75rem;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.admin-shell .stats-bars__col:first-child:hover:after{left:0;transform:none}.admin-shell .stats-bars__col:last-child:hover:after{left:auto;right:0;transform:none}.admin-shell .stats-bars__ref{z-index:2;border-top:2px dashed var(--text-muted);opacity:.7;position:absolute;left:0;right:0}.admin-shell .stats-track{background:var(--surface-muted);border-radius:999px;height:6px;overflow:hidden}.admin-shell .stats-track--lg{height:10px}.admin-shell .stats-track__fill{background:var(--primary);border-radius:999px;height:100%}.admin-shell .stats-delta{white-space:nowrap;font-size:.75rem;font-weight:600}.admin-shell .stats-delta--up{color:#047857}.admin-shell .stats-delta--down{color:var(--danger)}.admin-shell .stats-delta--flat{color:var(--text-muted);font-weight:500}.admin-shell .stats-section-title{color:var(--text);margin-top:2.5rem;font-size:1.25rem;font-weight:700}
