.inventory-scan{display:grid;grid-template-columns:1fr auto;gap:12px;margin:18px 0}.inventory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.inventory-card{background:#fff;border:1px solid #dfe1eb;border-radius:16px;padding:18px;display:grid;gap:8px}.inventory-card.low{border-color:#df7d48}.inventory-card header{display:flex;justify-content:space-between;gap:12px}.inventory-card code{font-weight:800;color:#3037d4}.inventory-card .stock{font-size:28px;font-weight:900}.inventory-actions{display:flex;gap:8px;flex-wrap:wrap}.inventory-history{margin-top:22px}
.sidebar-support,.sidebar-settings{display:flex;gap:12px;align-items:center;background:transparent;color:#bad0c8;border:0;padding:12px 14px;border-radius:9px;text-align:left}.sidebar-support{margin-top:auto}.sidebar-settings{margin-top:6px}.sidebar-support:hover,.sidebar-support.active,.sidebar-support:focus-visible,.sidebar-settings:hover,.sidebar-settings.active,.sidebar-settings:focus-visible{background:rgba(61,67,253,.3);color:#fff}.sidebar-support:focus-visible,.sidebar-settings:focus-visible{outline:2px solid #42edde;outline-offset:2px}.sidebar-support .nav-icon,.sidebar-settings .nav-icon{width:20px;height:20px}.sidebar-user{margin-top:6px}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-card{max-width:none}.settings-card form{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.settings-card label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700}.settings-card input,.settings-card select{border:1px solid var(--line);border-radius:10px;padding:13px 14px;background:var(--white);color:var(--ink)}.settings-card .wide{grid-column:1/-1}.settings-card h3{margin:0}.settings-card form>button{align-self:end}.settings-hint{text-align:left;margin-bottom:0}.backup-status{display:flex;flex-direction:column;gap:5px;padding:15px 0;border-bottom:1px solid var(--line)}.backup-status span,.backup-status small{color:var(--muted);font-size:12px}.backup-status b{font-size:14px}.backup-status+button{margin-top:18px}
html[data-theme="dark"]{--ink:#eef1ff;--muted:var(--videre-dark-muted);--paper:var(--videre-dark-bg);--white:var(--videre-dark-surface);--line:var(--videre-dark-line);--green:var(--videre-dark-elevated);--mint:#182353;--shadow:0 18px 50px rgba(0,0,0,.28);color-scheme:dark}html[data-theme="dark"] body,html[data-theme="dark"] header{background:var(--videre-dark-bg)}html[data-theme="dark"] .panel,html[data-theme="dark"] .stats article,html[data-theme="dark"] .table-wrap,html[data-theme="dark"] .role-grid article,html[data-theme="dark"] .service-card,html[data-theme="dark"] dialog,html[data-theme="dark"] .login-card,html[data-theme="dark"] .inventory-card{background:var(--videre-dark-surface);border-color:var(--videre-dark-line)}html[data-theme="dark"] .empty-state{background:#0e1732;border-color:var(--videre-dark-line);color:var(--videre-dark-muted)}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea,html[data-theme="dark"] .outline{background:#0e1732!important;color:#eef1ff!important;border-color:#2e3a6a!important}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#858fb1}html[data-theme="dark"] .choice-field,html[data-theme="dark"] .check-label{background:#0e1732;color:#eef1ff;border-color:#2e3a6a}html[data-theme="dark"] .choice-field label,html[data-theme="dark"] .choice-field legend,html[data-theme="dark"] .check-label{color:#eef1ff}html[data-theme="dark"] input[type="checkbox"],html[data-theme="dark"] input[type="radio"]{accent-color:var(--videre-indigo)}html[data-theme="dark"] th{background:#0d1530;color:var(--videre-dark-muted)}html[data-theme="dark"] td{border-color:var(--videre-dark-line)}html[data-theme="dark"] .icon-btn,html[data-theme="dark"] .action-btn{background:#1a285a;color:#eef1ff}
@media(max-width:700px){.inventory-scan,.settings-card form,.settings-grid{grid-template-columns:1fr}.settings-card .wide{grid-column:auto}}
.danger{color:#a13421!important;border-color:#dc9f93!important}

