/* Inventario — industrial oscuro, ámbar, tipografía monoespaciada, riel de iconos */
:root { --bg: #0f0f10; --surface: #18181a; --surface-2: #212124; --line: #303034; --text: #f4f4f5; --muted: #a1a1aa; --accent: #f59e0b; --accent-hover: #d97706; --accent-2: #fbbf24; }
body { font-family: 'JetBrains Mono', monospace; font-size: 14px; background: var(--bg); }
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; letter-spacing: 0; text-transform: uppercase; }

.app { grid-template-columns: 5.75rem minmax(0, 1fr); }
.side { padding: 1rem .5rem; align-items: stretch; background: #131315; border-right: 1px solid var(--line); }
.brand { font-size: 0; padding: 0 0 1rem; justify-content: center; border-bottom: 1px solid var(--line); margin-bottom: .6rem; }
.brand .logo { background: var(--accent); color: #000; border-radius: 2px; width: 2.4rem; height: 2.4rem; font-size: 1rem; font-weight: 800; }
.side button.nav { flex-direction: column; align-items: center; justify-content: center; gap: .3rem; font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; padding: .85rem .2rem; border-radius: 2px; text-align: center; position: relative; }
.side button.nav i { width: 1.25rem; height: 1.25rem; }
.side button.nav.active { background: var(--accent); color: #000; box-shadow: none; }
.side button.nav .pill { position: absolute; top: .3rem; right: .35rem; margin: 0 !important; padding: .05rem .35rem; font-size: .6rem; }
.side .user { justify-content: center; padding: .6rem 0; border-radius: 2px; }
.side .user > div:last-child { display: none; }
.avatar { background: var(--accent); color: #000; border-radius: 2px; border: 0; }

.main { padding: 0 2rem 6rem; }
.main::before { content: ''; display: block; height: 8px; margin: 0 -2rem 1.5rem; background: repeating-linear-gradient(-45deg, #f59e0b 0 14px, #131315 14px 28px); }
.top { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.top h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: .03em; }

.card, .col-k, .modal .box { border-radius: 2px; background: var(--surface); }
.stat .label { text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; color: var(--accent-2); }
.stat .value { font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 1.8rem; color: var(--text); }
th { text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-size: .66rem; border-bottom: 1px solid var(--accent); }
td { border-bottom: 1px solid #26262a; font-size: .84rem; }
tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
tbody tr:hover { background: rgba(245,158,11,.07); }
.btn { background: var(--accent); color: #000; border-radius: 2px; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; font-weight: 800; }
.btn:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.search { border-radius: 2px; font-family: inherit; }
.pill { border-radius: 2px; text-transform: uppercase; letter-spacing: .06em; font-size: .62rem; }
.pill.ok { color: #84cc16; border-color: rgba(132,204,22,.4); background: rgba(132,204,22,.08); }
@media (max-width: 1000px) { .app { grid-template-columns: minmax(0, 1fr); } .side { flex-direction: row; } .side button.nav { flex-direction: row; font-size: .7rem; } .main::before { margin: 0 -1rem 1rem; } }

@media (max-width: 1000px) { .side button.nav { font-size: .8rem !important; letter-spacing: .02em; } .side .user { display: none; } th { font-size: .74rem; } }
