.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 #dfe6dc;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:#317b22}.inventory-card .stock{font-size:28px;font-weight:900}.inventory-actions{display:flex;gap:8px;flex-wrap:wrap}.inventory-history{margin-top:22px}
.sidebar-settings{margin-top:auto;display:flex;gap:12px;align-items:center;background:transparent;color:#bad0c8;border:0;padding:12px 14px;border-radius:9px;text-align:left}.sidebar-settings:hover,.sidebar-settings.active{background:#285448;color:#fff}.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:#e9efec;--muted:#a7b4af;--paper:#111815;--white:#1b2622;--line:#34433d;--green:#142b24;--mint:#29453a;--shadow:0 18px 50px rgba(0,0,0,.28);color-scheme:dark}html[data-theme="dark"] body,html[data-theme="dark"] header{background:#111815}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:#1b2622;border-color:#34433d}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea,html[data-theme="dark"] .outline{background:#14201c!important;color:#e9efec!important;border-color:#3b4e46!important}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#819089}html[data-theme="dark"] .choice-field,html[data-theme="dark"] .check-label{background:#14201c;color:#e9efec;border-color:#3b4e46}html[data-theme="dark"] .choice-field label,html[data-theme="dark"] .choice-field legend,html[data-theme="dark"] .check-label{color:#e9efec}html[data-theme="dark"] input[type="checkbox"],html[data-theme="dark"] input[type="radio"]{accent-color:#5cff23}html[data-theme="dark"] th{background:#14201c;color:#a7b4af}html[data-theme="dark"] td{border-color:#34433d}html[data-theme="dark"] .icon-btn,html[data-theme="dark"] .action-btn{background:#293832;color:#e9efec}
@media(max-width:700px){.inventory-scan,.settings-card form,.settings-grid{grid-template-columns:1fr}.settings-card .wide{grid-column:auto}}
