/* Lab computer inventory (app/inventory.py). Uses the theme colours of style.css, so it follows Light / Dark / Futuristic. */
.hl { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.hl-ok { background: #dcfce7; color: #166534; }
.hl-warn { background: #fef3c7; color: #92400e; }
.hl-bad { background: #fee2e2; color: #991b1b; }
.hl-none { background: #e2e8f0; color: #475569; }
html.dark .hl-ok { background: rgba(74, 222, 128, .16); color: #86efac; }
html.dark .hl-warn { background: rgba(251, 191, 36, .16); color: #fcd34d; }
html.dark .hl-bad { background: rgba(248, 113, 113, .18); color: #fca5a5; }
html.dark .hl-none { background: rgba(148, 163, 184, .16); color: #cbd5e1; }
.pc-table td { vertical-align: top; }
.pc-table .spec { font-size: .82rem; line-height: 1.35; }
.pc-table small { display: block; }
.pc-table td[data-label=RAM] { white-space: nowrap; }
.pc-why { margin: 4px 0 0; padding: 0; list-style: none; font-size: .74rem; color: var(--muted); }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.spec-box { border: 1px solid var(--border-soft); border-radius: var(--radius-inner); padding: 14px 16px; background: var(--surface); }
.spec-box h3 { margin: 0 0 6px; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.spec-box p { margin: 0; font-size: .95rem; font-weight: 600; overflow-wrap: anywhere; }
.spec-box small { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; }
.token-box { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; padding: 10px 12px; border: 1px dashed var(--border); border-radius: var(--radius-inner); overflow-wrap: anywhere; background: var(--surface); }
.steps-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 8px; }
.steps-list code, .cmd { font-family: ui-monospace, Consolas, monospace; font-size: .82rem; }
.cmd { display: block; padding: 8px 12px; border-radius: var(--radius-inner); background: var(--surface); border: 1px solid var(--border-soft); overflow-x: auto; white-space: pre; }
.row-attention td:first-child { box-shadow: inset 3px 0 0 #dc2626; }
/* a green notice that the page keeps (app.js removes .flash.success after a few seconds, which is wrong for the result of Get specs) */
.flash.ok { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
html.dark .flash.ok { background: rgba(74, 222, 128, .12); border-color: rgba(74, 222, 128, .3); color: #86efac; }

/* moving computers between rooms */
.pc-move { display: flex; gap: 6px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.pc-move select { width: auto; max-width: 100%; }
.pc-bulkbar { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; padding: 10px 14px; margin-bottom: 12px; }
.pc-bulkbar select { width: auto; min-width: 200px; }
.pc-bulkbar .hint { margin: 0; }
.pc-pick { width: 34px; text-align: center; }
@media (max-width: 760px) { .pc-table td.pc-pick { display: inline-block; width: auto; border: 0; padding-bottom: 0; } .pc-table td.pc-pick::before { content: none; } }
