[v-cloak] { display: none; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: radial-gradient(circle at 12% 10%, #d7efff, transparent 35%), radial-gradient(circle at 90% 90%, #d5f7ea, transparent 35%), #f3f7fc; }
.auth-card { width: min(100%, 440px); background: white; border: 1px solid #e8eef6; border-radius: 1.5rem; padding: 2rem; box-shadow: 0 24px 70px #1e3a5f14; }
.brand-mark { width: 3.5rem; height: 3.5rem; border-radius: 1rem; display: grid; place-items: center; color: white; font-size: 1.6rem; font-weight: 800; background: linear-gradient(135deg, #2563eb, #06b6d4); box-shadow: 0 8px 18px #3b82f63b; }
.brand-mark.small { width: 2.5rem; height: 2.5rem; font-size: 1.2rem; border-radius: .75rem; }
.eyebrow { color: #0891b2; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 16rem; z-index: 40; display: flex; flex-direction: column; padding: 1.5rem 1rem; background: #12264b; transition: transform .2s ease; }
.nav-item { width: 100%; display: flex; align-items: center; gap: .75rem; padding: .8rem .85rem; border-radius: .75rem; color: #b7c5dd; font-size: .875rem; font-weight: 600; text-align: left; }
.nav-item:hover { background: #ffffff10; color: white; }
.nav-item.selected { color: white; background: linear-gradient(90deg, #2563eb, #1689c8); box-shadow: 0 6px 16px #02061730; }
.nav-icon { width: 1.2rem; text-align: center; font-size: 1.15rem; }
.avatar { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .8rem; color: white; background: #2563eb; font-weight: 700; }
.avatar.light { color: #1d4ed8; background: #e8f1ff; }
.page-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.heading { color: #0f172a; font-size: 1.8rem; font-weight: 800; line-height: 1.2; margin-top: .35rem; letter-spacing: -.025em; }
.subheading { color: #64748b; font-size: .875rem; margin-top: .45rem; }
.summary-banner { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem; color: white; border-radius: 1.1rem; background: linear-gradient(115deg, #173b80, #1389bb); box-shadow: 0 10px 24px #2563eb1c; }
.summary-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: #ffffff20; font-size: 2rem; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin: 1.5rem 0 1rem; }
.filter-chip { border-radius: .65rem; padding: .6rem .85rem; color: #64748b; background: white; border: 1px solid #e2e8f0; font-size: .8rem; font-weight: 700; }
.filter-chip.active { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.search-input { min-width: 220px; max-width: 100%; flex: 1; }
.field { display: block; color: #334155; font-size: .83rem; font-weight: 650; }
.field input:not([type=checkbox]), .field select, .search-input { display: block; width: 100%; border: 1px solid #dce5ef; border-radius: .7rem; background: white; color: #1e293b; padding: .75rem .85rem; outline: none; font-size: .9rem; font-weight: 400; }
.field input:not([type=checkbox]), .field select { margin-top: .4rem; }
.field input:focus, .field select:focus, .search-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px #dbeafe; }
.field input:disabled, .field select:disabled { background: #f1f5f9; color: #64748b; }
.btn-primary, .btn-outline { display: inline-flex; align-items: center; justify-content: center; border-radius: .7rem; padding: .75rem 1rem; font-size: .85rem; font-weight: 700; }
.btn-primary { color: white; background: #2563eb; box-shadow: 0 5px 12px #2563eb27; }
.btn-primary:hover { background: #1d4ed8; }
.btn-outline { color: #334155; background: white; border: 1px solid #dce5ef; }
.btn-ghost { color: #2563eb; font-size: .8rem; font-weight: 700; }
.btn-ghost:hover { color: #1e40af; }
.icon-button { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid #e2e8f0; border-radius: .6rem; color: #475569; }
.product-card, .panel, .table-wrap { background: white; border: 1px solid #e8eef5; border-radius: 1rem; box-shadow: 0 4px 14px #0f172a05; }
.product-card, .panel { padding: 1.2rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .85rem; }
th { padding: 1rem; color: #94a3b8; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: #f8fafc; white-space: nowrap; }
td { padding: 1rem; border-top: 1px solid #f1f5f9; color: #475569; }
.status { display: inline-flex; border-radius: 999px; padding: .25rem .6rem; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.status.on { background: #dcfce7; color: #15803d; }
.status.off { background: #fee2e2; color: #b91c1c; }
.category-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .7rem; background: #e0f2fe; color: #0284c7; font-size: 1.2rem; }
.empty-state { background: white; border: 1px dashed #cbd5e1; border-radius: 1rem; padding: 3rem 1rem; color: #94a3b8; text-align: center; font-size: .9rem; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1rem; background: #0f172ab3; }
.modal-panel { width: 100%; max-width: 36rem; max-height: 92vh; overflow-y: auto; border-radius: 1.1rem; background: white; padding: 1.5rem; box-shadow: 0 25px 60px #0f172a40; }
.modal-actions { display: flex; justify-content: flex-end; gap: .75rem; padding-top: .5rem; }
.check { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: #475569; }
.check input { width: 1rem; height: 1rem; accent-color: #2563eb; flex: none; }
.access-list { display: grid; gap: .7rem; max-height: 10rem; overflow-y: auto; border: 1px solid #e2e8f0; border-radius: .7rem; padding: .8rem; }
.scanner-box { border: 1px solid #e2e8f0; border-radius: .7rem; padding: .75rem; overflow: hidden; }
.toast { position: fixed; z-index: 100; top: 1rem; right: 1rem; max-width: calc(100vw - 2rem); color: white; padding: .85rem 1rem; border-radius: .75rem; font-size: .85rem; box-shadow: 0 8px 25px #0f172a30; }
@media (max-width: 639px) { .auth-card { padding: 1.5rem; } .modal-backdrop { align-items: end; padding: 0; } .modal-panel { max-height: 90vh; border-radius: 1.1rem 1.1rem 0 0; } .toolbar .search-input { min-width: 100%; } }
