:root {
  --background: #090B0C;
  --foreground: #F9FBFB;
  --card: #161B1D;
  --primary: #80CD00;
  --primary-hover: #97e51b;
  --border: #303A3D;
  --muted: #99A8AB;
  --ring: rgba(31, 111, 74, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif; }
.font-display { font-family: "Manrope", "DM Sans", ui-sans-serif, sans-serif; }

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: #cbd2cb; background-clip: content-box; }

.nav-label { padding: 0 .625rem; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #85979A; }
.nav-item { display: flex; width: 100%; align-items: center; gap: .7rem; border-radius: .65rem; padding: .6rem .65rem; color: #a6b5b6; font-size: .79rem; font-weight: 600; transition: background .15s, color .15s, box-shadow .15s; }
.nav-item > svg { width: 16px; height: 16px; stroke-width: 1.8; }
.nav-item:hover { color: #F2F6F6; background: #20292B; }
.nav-item.active { color: #80CD00; background: #26372B; box-shadow: inset 0 0 0 1px rgba(31,111,74,.06); }
.nav-count { margin-left: auto; border-radius: 999px; background: #262E30; padding: .1rem .4rem; font-size: 9px; font-weight: 700; color: #7c857e; }
.nav-item.active .nav-count { background: rgba(255,255,255,.08); color: #80CD00; }
.nav-alert { margin-left: auto; display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 999px; background: #3A2A26; padding: 0 .3rem; color: #FB6970; font-size: 9px; font-weight: 800; }

.icon-button { display: inline-grid; width: 2.25rem; height: 2.25rem; flex: none; place-items: center; border: 1px solid #303A3D; border-radius: .65rem; background: white; color: #bdc9ca; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.icon-button:hover { border-color: #465257; background: #20282A; color: #F2F6F6; }
.icon-button:active { transform: scale(.96); }

.button-primary, .button-secondary, .button-ghost { display: inline-flex; height: 2.5rem; align-items: center; justify-content: center; gap: .45rem; border-radius: .65rem; padding: 0 .9rem; font-size: .75rem; font-weight: 700; transition: all .15s; }
.button-primary { border: 1px solid #80CD00; background: #80CD00; color: white; box-shadow: 0 1px 2px rgba(20, 65, 44, .18); }
.button-primary:hover { border-color: #97e51b; background: #97e51b; box-shadow: 0 3px 8px rgba(20, 65, 44, .18); }
.button-primary:active, .button-secondary:active { transform: translateY(1px); }
.button-secondary { border: 1px solid #303A3D; background: white; color: #ccd5d5; }
.button-secondary:hover { border-color: #465257; background: #20282A; color: #F2F6F6; }
.button-ghost { height: 2rem; color: #b0e86a; }
.button-ghost:hover { background: #222D2A; color: #80CD00; }

.metric-card, .panel { border: 1px solid #303A3D; background: white; box-shadow: 0 1px 2px rgba(26, 43, 33, .025), 0 5px 18px rgba(26, 43, 33, .025); }
.metric-card { border-radius: .875rem; padding: 1.1rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.metric-card:hover { transform: translateY(-1px); border-color: #39464A; box-shadow: 0 8px 24px rgba(26,43,33,.06); }
.panel { border-radius: .95rem; }
.metric-icon { display: inline-grid; width: 2.15rem; height: 2.15rem; place-items: center; border-radius: .65rem; }
.metric-icon svg { width: 16px; height: 16px; stroke-width: 1.8; }
.trend { display: inline-flex; align-items: center; gap: 2px; border-radius: 999px; padding: .22rem .42rem; font-size: 9px; font-weight: 800; }
.trend svg { width: 10px; height: 10px; }
.trend-up { background: #273A2C; color: #80CD00; }
.trend-warn { background: #3B2E24; color: #F4B860; }
.panel-header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.panel-title { font-family: "Manrope", sans-serif; font-size: .93rem; font-weight: 800; letter-spacing: -.025em; }
.panel-subtitle { margin-top: .15rem; font-size: .68rem; color: #A1AFB1; }
.eyebrow { font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #99A8AB; }

.segmented { display: inline-flex; border-radius: .55rem; background: #20292B; padding: 2px; }
.segmented button { min-width: 37px; border-radius: .42rem; padding: .28rem .45rem; color: #99A8AB; font-size: 9px; font-weight: 800; }
.segmented button.active { background: white; color: #F9FBFB; box-shadow: 0 1px 3px rgba(30,44,35,.1); }
.chart-wrap { position: relative; min-height: 210px; }
.chart-grid { pointer-events: none; position: absolute; inset: 0 0 21px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid span { width: 100%; border-top: 1px dashed #303A3D; }

.queue-item { display: flex; width: 100%; align-items: center; gap: .7rem; border-radius: .7rem; padding: .62rem .55rem; text-align: left; transition: background .15s; }
.queue-item:hover { background: #1e2628; }
.queue-status { width: 7px; height: 7px; flex: none; border-radius: 50%; box-shadow: 0 0 0 4px rgba(110,130,117,.08); }
.queue-item strong, .movement-row strong, .knowledge-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; font-weight: 700; color: #F9FBFB; }
.queue-item small, .movement-row small, .knowledge-row small { display: block; margin-top: .12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .61rem; color: #99A8AB; }
.queue-date { flex: none; font-size: .6rem; font-weight: 600; color: #99A8AB; }

.input { width: 100%; border: 1px solid #303A3D; border-radius: .6rem; background: white; padding: 0 .7rem; color: #F2F6F6; font-size: .74rem; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:not(textarea) { height: 2.5rem; }
.input:focus { border-color: #80CD00; box-shadow: 0 0 0 3px var(--ring); }
.input::placeholder { color: #85979A; }
.field { display: flex; flex-direction: column; gap: .38rem; }
.field > span { color: #c6cfd0; font-size: .68rem; font-weight: 700; }
.checkbox { width: 14px; height: 14px; accent-color: #80CD00; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .2rem .45rem; font-size: 9px; font-weight: 800; white-space: nowrap; }
.badge-neutral { background: #262E30; color: #a3b1b2; }
.badge-approved { background: #25382B; color: #80CD00; }
.badge-review { background: #382D24; color: #F4B860; }
.badge-draft { background: #283039; color: #a4b2bd; }
.badge-spec { border: 1px solid #303A3D; background: #1b2224; color: #aebbbc; font-weight: 600; }
.filter-chip { border: 1px solid #303A3D; border-radius: 999px; background: white; padding: .28rem .6rem; color: #78817a; font-size: 10px; font-weight: 700; }
.filter-chip:hover, .filter-chip.active { border-color: #9eb7a7; background: #263A2E; color: #226b48; }

#product-table-body tr { border-bottom: 1px solid #303A3D; transition: background .15s; }
#product-table-body tr:last-child { border-bottom: 0; }
#product-table-body tr:hover { background: #1b2224; }
#product-table-body td { padding-top: .75rem; padding-bottom: .75rem; vertical-align: middle; font-size: .72rem; }
.product-thumb { display: grid; width: 38px; height: 38px; flex: none; place-items: center; overflow: hidden; border: 1px solid rgba(46,67,53,.07); border-radius: .65rem; color: rgba(29,45,35,.72); font-family: "Manrope", sans-serif; font-size: .62rem; font-weight: 800; letter-spacing: -.02em; }
.supplier-logo { display: grid; width: 24px; height: 24px; flex: none; place-items: center; border-radius: .42rem; color: #58655b; font-size: 8px; font-weight: 800; }
.row-menu { display: grid; width: 30px; height: 30px; place-items: center; border-radius: .5rem; color: #99A8AB; }
.row-menu:hover { background: #edf1ed; color: #e2e8e8; }
.row-menu svg { width: 15px; height: 15px; }
.pagination-button { display: grid; min-width: 26px; height: 26px; place-items: center; border-radius: .45rem; color: #6f7971; font-size: 10px; font-weight: 700; }
.pagination-button:hover:not(:disabled), .pagination-button.active { background: #e8f0ea; color: #80CD00; }
.pagination-button svg { width: 13px; height: 13px; }

.movement-row { display: flex; align-items: center; gap: .65rem; }
.product-swatch { display: grid; width: 32px; height: 32px; flex: none; place-items: center; border-radius: .55rem; color: #68736a; font-size: 8px; font-weight: 800; }
.knowledge-row { display: flex; width: 100%; align-items: center; gap: .65rem; border-radius: .65rem; padding: .5rem; text-align: left; transition: background .15s; }
.knowledge-row:hover { background: #1b2325; }
.knowledge-icon { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: .5rem; background: #28352D; color: #647268; }
.knowledge-icon svg { width: 14px; height: 14px; }

.modal-card { border: 1px solid #303A3D; border-radius: 1rem; background: #151A1C; box-shadow: 0 25px 80px rgba(25,40,31,.25); animation: modal-in .18s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.command-item { display: flex; width: 100%; align-items: center; gap: .7rem; border-radius: .65rem; padding: .7rem; color: #b8c5c6; font-size: .78rem; font-weight: 600; text-align: left; }
.command-item:hover { background: #222D2A; color: #205f41; }
.command-item svg { width: 16px; height: 16px; }
.command-item kbd { margin-left: auto; border: 1px solid #dfe4df; border-radius: .35rem; background: white; padding: .1rem .35rem; color: #99A8AB; font-size: 9px; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: .7rem; border: 1px solid #303A3D; border-radius: .75rem; background: rgba(255,255,255,.96); padding: .75rem .85rem; color: #465148; font-size: .75rem; font-weight: 600; box-shadow: 0 10px 35px rgba(30,46,36,.14); animation: toast-in .22s ease-out; backdrop-filter: blur(10px); }
.toast svg { width: 15px; height: 15px; color: #24764f; }
.toast.leaving { animation: toast-out .2s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

.drawer-section { border: 1px solid #303A3D; border-radius: .8rem; background: white; padding: 1rem; }
.drawer-section-title { margin-bottom: .8rem; color: #99A8AB; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; }
.detail-grid dt { color: #99A8AB; font-size: .62rem; }
.detail-grid dd { margin-top: .15rem; color: #F9FBFB; font-size: .74rem; font-weight: 700; }
.supplier-card { display: flex; align-items: center; gap: .7rem; border-top: 1px solid #303A3D; padding: .75rem 0; }
.supplier-card:first-of-type { border-top: 0; padding-top: 0; }
.supplier-card:last-child { padding-bottom: 0; }

.drawer-hero { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.25rem 1rem; }
.drawer-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid #303A3D; background: rgba(251,252,250,.96); padding: 0 1.25rem; backdrop-filter: blur(10px); scrollbar-width: none; }
.drawer-tabs::-webkit-scrollbar { display: none; }
.drawer-tab { position: relative; display: inline-flex; min-width: max-content; align-items: center; gap: .4rem; padding: .8rem .72rem .72rem; color: #A1AFB1; font-size: .69rem; font-weight: 700; transition: color .15s, background .15s; }
.drawer-tab:hover { color: #F2F6F6; }
.drawer-tab::after { position: absolute; right: .7rem; bottom: -1px; left: .7rem; height: 2px; border-radius: 999px 999px 0 0; background: transparent; content: ""; }
.drawer-tab.active { color: #236b49; }
.drawer-tab.active::after { background: #80CD00; }
.drawer-tab svg { width: 14px; height: 14px; }
.drawer-panels { padding: 1.1rem 1.25rem 1.5rem; }
.drawer-panel[hidden] { display: none; }
.drawer-panel { animation: drawer-panel-in .18s ease-out; }
@keyframes drawer-panel-in { from { opacity: 0; transform: translateY(3px); } }
.drawer-stack { display: grid; gap: .9rem; }
.drawer-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.drawer-section-heading .drawer-section-title { margin: 0; }
.drawer-section-description { margin-top: .2rem; color: #8f9fa2; font-size: .62rem; line-height: 1.45; }

.quantity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.quantity-stat { position: relative; min-width: 0; overflow: hidden; border: 1px solid #303A3D; border-radius: .7rem; background: #1b2224; padding: .8rem; }
.quantity-stat::before { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #80CD00; content: ""; }
.quantity-stat.attention::before { background: #d19161; }
.quantity-stat dt { min-height: 2.1em; color: #97A5A8; font-size: .59rem; font-weight: 650; line-height: 1.25; }
.quantity-stat dd { margin-top: .42rem; color: #F2F6F6; font-family: "Manrope", sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: -.03em; }
.quantity-stat small { margin-left: .25rem; color: #85979A; font-family: inherit; font-size: .55rem; font-weight: 600; }

.drawer-table-wrap { overflow: auto; border: 1px solid #303A3D; border-radius: .68rem; }
.drawer-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.drawer-table th { border-bottom: 1px solid #303A3D; background: #202729; padding: .62rem .7rem; color: #97A5A8; font-size: .58rem; font-weight: 800; letter-spacing: .055em; text-align: left; text-transform: uppercase; }
.drawer-table td { border-bottom: 1px solid #303A3D; padding: .7rem; color: #c7d1d2; font-size: .69rem; }
.drawer-table tbody tr:last-child td { border-bottom: 0; }
.drawer-table tbody tr:hover td { background: #151A1C; }
.drawer-table .numeric { text-align: right; font-variant-numeric: tabular-nums; }
.drawer-table strong { color: #F2F6F6; font-weight: 700; }
.brand-cell { display: flex; align-items: center; gap: .5rem; }
.brand-mark { display: grid; width: 25px; height: 25px; place-items: center; border-radius: .4rem; background: #28382F; color: #4d6857; font-size: .52rem; font-weight: 800; }
.soh-value { display: inline-flex; min-width: 2.2rem; justify-content: center; border-radius: 999px; background: #28392F; padding: .17rem .38rem; color: #80CD00; font-size: .6rem; font-weight: 800; }
.soh-value.low { background: #3B2C26; color: #ad603d; }

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .85rem 1rem; }
.info-grid dt { color: #909991; font-size: .59rem; }
.info-grid dd { margin-top: .2rem; overflow-wrap: anywhere; color: #354139; font-size: .69rem; font-weight: 700; }
.option-row { display: flex; flex-wrap: wrap; gap: .4rem; }

.photo-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.photo-thumb, .photo-upload { position: relative; aspect-ratio: 1; min-height: 98px; overflow: hidden; border-radius: .72rem; }
.photo-thumb { display: flex; align-items: center; justify-content: center; border: 1px solid #303A3D; background: linear-gradient(145deg, var(--photo-a, #e5ece7), var(--photo-b, #1b2325)); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb svg { width: 27px; height: 27px; color: #688072; opacity: .72; }
.photo-label { position: absolute; right: .35rem; bottom: .35rem; left: .35rem; overflow: hidden; border-radius: .4rem; background: rgba(18,24,26,.94); padding: .25rem .35rem; color: #59665d; font-size: .52rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(5px); }
.photo-upload { display: grid; cursor: pointer; place-items: center; border: 1.5px dashed #465257; background: #1d2826; color: #6f7c73; text-align: center; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.photo-upload:hover, .photo-upload.dragging { border-color: #80CD00; background: #25372D; color: #80CD00; transform: translateY(-1px); }
.photo-upload svg { width: 20px; height: 20px; margin: auto; }
.photo-upload span { display: block; margin-top: .35rem; font-size: .58rem; font-weight: 800; }
.photo-upload small { display: block; margin-top: .18rem; color: #85979A; font-size: .49rem; font-weight: 600; }

.sort-button { display: inline-flex; width: 100%; align-items: center; gap: .3rem; color: inherit; text-align: inherit; text-transform: inherit; }
.sort-button.numeric { justify-content: flex-end; }
.sort-button svg { width: 11px; height: 11px; }
.history-price-table th[draggable="true"] { cursor: grab; }
.history-price-table th[draggable="true"]:active { cursor: grabbing; }
.history-price-table th.column-dragging { opacity: .45; }
.column-tools { position: relative; }
.column-menu { position: absolute; top: calc(100% + .4rem); right: 0; z-index: 12; width: 180px; border: 1px solid #303A3D; border-radius: .7rem; background: white; padding: .45rem; box-shadow: 0 12px 32px rgba(31,47,37,.14); }
.column-menu label { display: flex; cursor: pointer; align-items: center; gap: .5rem; border-radius: .45rem; padding: .42rem .45rem; color: #5f6b62; font-size: .65rem; font-weight: 650; }
.column-menu label:hover { background: #232C2F; }
.column-menu input { accent-color: #80CD00; }

.editable-list { display: grid; gap: .48rem; }
.editable-item { display: flex; align-items: flex-start; gap: .65rem; border: 1px solid #303A3D; border-radius: .65rem; background: #1b2224; padding: .62rem .7rem; }
.editable-item .list-icon { display: grid; width: 20px; height: 20px; flex: none; place-items: center; border-radius: 999px; background: #26382C; color: #80CD00; }
.editable-item.warning .list-icon { background: #3B2C26; color: #b46642; }
.editable-item .list-icon svg { width: 11px; height: 11px; }
.editable-value { min-width: 0; flex: 1; border-radius: .25rem; color: #cfd8d9; font-size: .69rem; line-height: 1.55; outline: none; }
.editable-value:focus { background: #fff; box-shadow: 0 0 0 3px rgba(128,205,0,.14); }
.editable-hint { display: inline-flex; align-items: center; gap: .3rem; color: #929b94; font-size: .56rem; }
.editable-hint svg { width: 10px; height: 10px; }
.standard-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5rem; }
.standard-check { display: flex; cursor: pointer; align-items: center; gap: .6rem; border: 1px solid #303A3D; border-radius: .65rem; background: #151A1C; padding: .65rem .7rem; color: #4f5d53; font-size: .67rem; font-weight: 650; }
.standard-check:hover { border-color: #cdd9cf; }
.standard-check input { accent-color: #28764f; }
.standard-check small { display: block; margin-top: .1rem; color: #949c96; font-size: .53rem; font-weight: 500; }

@media (max-width: 700px) {
  .quantity-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .photo-gallery { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 430px) {
  .drawer-hero { padding-right: 1rem; padding-left: 1rem; }
  .drawer-tabs { padding-right: .5rem; padding-left: .5rem; }
  .drawer-panels { padding-right: 1rem; padding-left: 1rem; }
  .photo-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .standard-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .panel-header { min-height: 64px; padding: .9rem 1rem; }
  .metric-card { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* Papertrail Night / Cargorix-inspired dark theme; original interactions remain unchanged. */
:root { color-scheme: dark; --background:#090B0C; --foreground:#F9FBFB; --card:#161B1D; --primary:#80CD00; --primary-hover:#98EA1A; --border:#303A3D; --muted:#9CA8AB; --ring:rgba(128,205,0,.22); }
html { background:var(--background); }
body { background:var(--background); color:var(--foreground); }
::selection { background:rgba(128,205,0,.36);color:#F9FBFB; }
::-webkit-scrollbar-thumb { background-color:#384548; }
.nav-item.active {background:rgba(128,205,0,.13); color:#A9EB45; box-shadow:inset 2px 0 0 #80CD00; }
.nav-item:hover {background:#222C2D;color:#F2F6F6;}
.nav-item.active .nav-count {background:#2A3D1C;color:#A9EB45;}
.button-primary {color:#10180A; background:#80CD00;border-color:#80CD00; box-shadow:0 2px 13px rgba(128,205,0,.10);}
.button-primary:hover {background:#9AE622;border-color:#9AE622; box-shadow:0 5px 20px rgba(128,205,0,.21);}
.button-secondary,.icon-button {background:#1E2628;color:#DEE7E7;border-color:#354144;}
.button-secondary:hover,.icon-button:hover {background:#273237;border-color:#4B5D5F;color:white;}
.button-ghost {color:#A8E44B;}.button-ghost:hover {background:#273A25;color:#C7F17C;}
.metric-card,.panel {background:#161B1D;border-color:#303A3D;box-shadow:0 1px 4px rgba(0,0,0,.15);}
.metric-card:hover {border-color:#4B6239;box-shadow:0 8px 30px rgba(0,0,0,.18);}
.metric-icon {background:#273A25;color:#A6E941;}
.trend-up,.badge-approved {background:#233C27;color:#A4ED7A;}
.trend-warn,.badge-review {background:#3A3123;color:#F4B860;}
.badge-neutral,.badge-draft {background:#293235;color:#B5C3C5;}
.badge-spec {background:#1D2729;color:#C9D3D5;border-color:#394548;}
.input {background:#111719;color:#EBF0F0;border-color:#354144;}
.input:focus {border-color:#80CD00;box-shadow:0 0 0 3px rgba(128,205,0,.18);}
.input::placeholder {color:#829398;}
.checkbox,input[type=checkbox] {accent-color:#80CD00;}
.segmented {background:#242D2F;}.segmented button.active {background:#3B4B29;color:#C6F78D;box-shadow:none;}
.queue-item:hover,.knowledge-row:hover {background:#242D2F;}
#product-table-body tr {border-color:#303A3D;} #product-table-body tr:hover {background:#232D2F;}
.row-menu:hover,.pagination-button.active,.pagination-button:hover:not(:disabled) {background:#2B3F26;color:#B2F15D;}
.product-thumb {color:#172420!important;border-color:rgba(255,255,255,.16);}
.supplier-logo,.brand-mark {background:#293235;color:#B5C3C5;}
.soh-value {background:#253D27;color:#A4ED7A;}.soh-value.low {background:#452D24;color:#F3A98C;}
.modal-card {background:#161B1D;border-color:#354144;box-shadow:0 25px 85px rgba(0,0,0,.5);}
.command-item:hover {background:#27382C;color:#C3EF8C;}
.command-item kbd {background:#263033;color:#A4B2B5;border-color:#425054;}
.toast {background:rgba(27,35,37,.97);border-color:#3D4D4E;color:#F1F5F5;box-shadow:0 10px 35px rgba(0,0,0,.4);}
.toast svg {color:#80CD00;}
.drawer-section {background:#1A2224;border-color:#313C3F;}
.drawer-tabs {background:rgba(21,27,29,.96);border-color:#313C3F;}
.drawer-tab.active {color:#AEED56;}.drawer-tab.active::after {background:#80CD00;}
.drawer-tab:hover {color:#F9FBFB;}
.quantity-stat {background:#1D2829;border-color:#354244;}.quantity-stat::before {background:#80CD00;}
.quantity-stat.attention::before {background:#F4B860;}
.drawer-table-wrap {border-color:#354144;}
.drawer-table th {background:#222B2D;border-color:#384649;color:#98A8AA;}
.drawer-table td {border-color:#303A3D;color:#CBD6D7;}
.drawer-table tbody tr:hover td {background:#273234;}
.drawer-table strong,.detail-grid dd,.info-grid dd {color:#F2F6F6;}
.photo-label {background:rgba(19,25,27,.91);color:#EAF0F0;}
.photo-upload {background:#1D2929;border-color:#50604D;color:#ACD685;}
.photo-upload:hover,.photo-upload.dragging {background:#243828;border-color:#80CD00;color:#C4F48D;}
.column-menu {background:#1A2325;border-color:#38484B;box-shadow:0 12px 32px rgba(0,0,0,.4);}
.column-menu label:hover {background:#293438;}
.editable-item,.standard-check {background:#20292B;border-color:#334144;}
.editable-value:focus {background:#2A3435;box-shadow:0 0 0 3px rgba(128,205,0,.14);}
.standard-check:hover {border-color:#6E8B55;}
.editable-item .list-icon {background:#283E25;color:#ABEB59;}
/* Preserve thumbnail previews while keeping the editing surface dark. */
.photo-thumb {border-color:#38474A;}
:focus-visible {outline-color:#80CD00;}

/* Final small-surface contrast polish. */
.filter-chip {background:#20292B;border-color:#344144;color:#AAB9BB;}
.filter-chip:hover,.filter-chip.active {border-color:#80CD00;background:#2B3D29;color:#C4EF92;}
.eyebrow,.nav-label,.drawer-section-title {color:#97A6A8;}
.column-menu label {color:#D1DDDE;}
.standard-check {color:#D5DFE0;}
.editable-value {color:#DDE6E6;}
.product-swatch {color:#C3D0D0;}
.chart-grid span {border-color:#354144;}
.photo-upload small {color:#8F9FA2;}
