@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
/* =============================================================================
 * D:\HUB\public\assets\css\hub-console.css
 * CANONICAL HUB CONSOLE stylesheet — the HUB internal design set.
 *
 * This is the HUB's own design language, DISTINCT from the web/customer-facing
 * V14 brand (hub-v14.css, which belongs to the storefront, not HUB). The two
 * were historically confused; Hub Console is the SOT for every HUB surface —
 * nav shell, dashboard, product detail, and the spoke PN-creator/editors.
 *
 * Palette (PIM-era function-tool aesthetic):
 *   navy  #003366   blue #0066CC   red #CC2027   DM Sans
 * Design authority: docs/DESIGN-HUB-CONSOLE.md
 * ========================================================================== */

/* ── Hub Console variables ───────────────────────────────────────────────── */
:root {
  --blue:       #0066CC;
  --blue-dark:  #0052a3;
  --blue-darker:#004080;
  --blue-deep:  #003366;
  --red:        #CC2027;
  --red-dark:   #a41a20;
  --yellow:     #ffcc00;
  --navy:       #003366;
  --navy-light: #0a4a8a;
  --tint-1:     #B5D4F4;
  --tint-2:     #cde0f0;
  --tint-3:     #e8f2fb;
  --tint-4:     #f0f5fa;

  --ink:        #1a1e2c;
  --ink-2:      #334155;
  --ink-3:      #6b7280;
  --ink-4:      #9ca3af;
  --line:       #e2e5ea;
  --line-2:     #cbd5e1;
  --bg:         #f4f5f7;
  --surface:    #ffffff;
  --success:    #059669;

  --s-draft:     #94a3b8;
  --s-accepted:  #0066CC;
  --s-enriched:  #CC2027;
  --s-published: #059669;
  --s-retired:   #6b7280;

  /* SD-22 editor aliases — values match the editors' historical inline tokens
     exactly, so an editor that drops its inline :root and links this file
     renders identically, now from one source. */
  --border:      var(--line);
  --card:        var(--surface);
  --text:        var(--ink);
  --text-muted:  var(--ink-3);
  --text-hint:   var(--ink-4);
  --font:        'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:        'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --radius:      8px;
  --radius-lg:   12px;
  --info:        #2563eb;
  --info-bg:     #eff6ff;
  --success-bg:  #ecfdf5;
  --warning:     #d97706;
  --warning-bg:  #fffbeb;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 13px; line-height: 1.45;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: var(--mono); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── App bar ─────────────────────────────────────────────────────────────── */
.appbar {
  height: 44px; background: var(--navy); color: #fff;
  display: flex; align-items: center; padding: 0 16px; gap: 24px;
  position: sticky; top: 0; z-index: 50;
}
.appbar-brand { font-weight: 700; letter-spacing: 0.02em; font-size: 14px; }
.appbar-brand .accent { color: var(--yellow); }
.appbar-crumb { color: var(--tint-1); font-size: 12px; }
.appbar-crumb .sep { color: var(--ink-3); margin: 0 8px; }
.appbar-crumb a { color: var(--tint-1); }
.appbar-search { flex: 1; max-width: 480px; position: relative; }
.appbar-search input {
  width: 100%; height: 28px; padding: 0 12px 0 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; border-radius: 4px;
  font-size: 12.5px; font-family: inherit;
}
.appbar-search input::placeholder { color: var(--tint-1); opacity: 0.7; }
.appbar-search input:focus { outline: none; background: rgba(255,255,255,0.13); border-color: var(--tint-1); }
.appbar-search .icon { position: absolute; left: 10px; top: 6px; color: var(--tint-1); opacity: 0.7; }
.appbar-crm {
  margin-left: auto; font-size: 11.5px; font-weight: 600;
  color: #fff; padding: 4px 12px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.06);
  text-decoration: none; white-space: nowrap;
}
.appbar-crm:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.6); }
.appbar-user {
  margin-left: 10px; font-size: 12px; padding: 4px 10px;
  background: rgba(255,255,255,0.06); border-radius: 4px;
  display: flex; align-items: center; gap: 8px;
}
.appbar-user a { color: var(--tint-1); font-size: 11px; }

/* ── Shell layout ────────────────────────────────────────────────────────── */
.shell { display: flex; min-height: calc(100vh - 44px); }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.sidebar {
  background: var(--surface); border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  flex: 0 0 48px; transition: flex-basis 0.18s ease;
  overflow-x: hidden; overflow-y: auto;
  position: sticky; top: 44px; align-self: flex-start;
  height: calc(100vh - 44px);
}
.sidebar.expanded { flex-basis: 220px; }
.sidebar-toggle {
  height: 36px; border: none; background: transparent;
  color: var(--ink-3); cursor: pointer;
  display: flex; align-items: center; font-size: 13px; font-family: inherit;
  border-bottom: 1px solid var(--line); padding: 0;
}
.sidebar-toggle:hover { color: var(--blue); background: var(--tint-4); }
.sidebar-toggle .icon { width: 48px; flex: 0 0 48px; text-align: center; font-size: 16px; }
.sidebar-toggle .label { display: none; }
.sidebar.expanded .sidebar-toggle .label { display: inline; }

.nav-item, .nav-dept {
  display: flex; align-items: center; height: 38px;
  color: var(--ink-2); font-size: 13px; font-weight: 500;
  border-left: 2px solid transparent; cursor: pointer;
  background: transparent; border-top: none; border-right: none; border-bottom: none;
  width: 100%; padding: 0; text-align: left; font-family: inherit;
}
.nav-item:hover, .nav-dept:hover { color: var(--blue); background: var(--tint-4); text-decoration: none; }
.nav-item.active { color: var(--blue); border-left-color: var(--blue); background: var(--tint-3); font-weight: 600; }
.nav-icon { width: 48px; flex: 0 0 48px; text-align: center; font-size: 16px; }
.nav-label { flex: 1; white-space: nowrap; opacity: 0; transition: opacity 0.18s ease 0.06s; }
.sidebar.expanded .nav-label { opacity: 1; }
.nav-caret { width: 24px; text-align: center; color: var(--ink-4); font-size: 10px; transition: transform 0.18s ease; opacity: 0; }
.sidebar.expanded .nav-caret { opacity: 1; }
.nav-section.open .nav-caret { transform: rotate(90deg); }

.nav-children {
  display: none; flex-direction: column;
  background: var(--tint-4); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.nav-section.open .nav-children { display: flex; }
.sidebar:not(.expanded) .nav-children { display: none; }
.nav-child {
  display: flex; align-items: center; height: 32px;
  color: var(--ink-2); font-size: 12.5px;
  padding-left: 60px; cursor: pointer;
  background: transparent; border: none; width: 100%;
  text-align: left; font-family: inherit; white-space: nowrap;
}
.nav-child:hover, .nav-child.active { color: var(--blue); background: var(--tint-3); text-decoration: none; }
.nav-child.active { font-weight: 600; }
.nav-subgroup { display: flex; flex-direction: column; }
.nav-subhead {
  display: flex; align-items: center; height: 28px;
  padding: 0 12px 0 28px; cursor: pointer;
  background: transparent; border: none; width: 100%;
  text-align: left; font-family: inherit;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
  opacity: 0; transition: opacity 0.18s ease 0.06s;
}
.sidebar.expanded .nav-subhead { opacity: 1; }
.nav-subhead:hover { color: var(--blue); background: var(--tint-3); }
.nav-subhead-label { flex: 1; white-space: nowrap; }
.nav-subhead-caret { width: 16px; text-align: center; color: var(--ink-4); font-size: 9px; transition: transform 0.18s ease; }
.nav-subgroup.open .nav-subhead-caret { transform: rotate(90deg); color: var(--blue); }
.nav-subchildren { display: none; flex-direction: column; }
.nav-subgroup.open .nav-subchildren { display: flex; }
.nav-subgroup .nav-child { padding-left: 48px; }
.nav-subhead-static {
  padding: 8px 12px 2px 28px; margin-top: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-4);
  opacity: 0; transition: opacity 0.18s ease 0.06s;
}
.sidebar.expanded .nav-subhead-static { opacity: 1; }
.nav-spacer { flex: 1; }

.main { flex: 1 1 auto; padding: 20px 28px 40px; max-width: 1400px; min-width: 0; }

/* ── Page header ─────────────────────────────────────────────────────────── */
.page-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 0; letter-spacing: -0.01em; }
.page-head .sub { color: var(--ink-3); font-size: 12.5px; }
.page-head .cta { margin-left: auto; display: flex; gap: 8px; }

.section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-3);
  margin: 20px 0 10px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  height: 32px; padding: 0 16px; font-size: 12.5px; font-weight: 600;
  border-radius: 4px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink-2);
  cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; text-decoration: none;
}
.btn:hover { border-color: var(--ink-4); text-decoration: none; }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink-2); }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

/* ── Status pills + PL chips ─────────────────────────────────────────────── */
.pill {
  display: inline-block; font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 2px 7px; border-radius: 10px;
}
.pill-draft     { background: #f1f5f9; color: var(--ink-3); }
.pill-accepted  { background: var(--tint-3); color: var(--blue-darker); }
.pill-enriched  { background: #fee2e2; color: var(--red); }
.pill-published { background: #d1fae5; color: #065f46; }
.pill-retired   { background: #f1f5f9; color: var(--ink-4); text-decoration: line-through; }

.pl-chip {
  display: inline-block; font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 2px 6px; border-radius: 2px;
}
.pl-chip-cable           { background: var(--tint-3); color: var(--blue-darker); }
.pl-chip-connector       { background: #fef3c7;       color: #92400e; }
.pl-chip-assembly        { background: #fce7f3;       color: #9d174d; }
.pl-chip-weatherproofing { background: #dcfce7;       color: #166534; }

/* ── Workflow Cards (dashboard top row) ──────────────────────────────────── */
.lifecycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.life-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; padding: 14px 16px; position: relative;
  display: flex; flex-direction: column; gap: 4px;
  text-decoration: none; color: inherit; cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.05s;
}
.life-card:hover { border-color: var(--blue); box-shadow: 0 2px 8px rgba(0,102,204,0.12); }
.life-card:active { transform: translateY(1px); }
.life-card .stage { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.life-card .count { font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.life-card .who   { font-size: 11.5px; color: var(--ink-3); }
.life-card .who b { font-weight: 600; color: var(--ink-2); }
.life-card .indicator { position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 6px 6px 0 0; }
.life-card.draft     .indicator { background: var(--s-draft); }
.life-card.accepted  .indicator { background: var(--s-accepted); }
.life-card.enriched  .indicator { background: var(--s-enriched); }
.life-card.published .indicator { background: var(--s-published); }
.life-card.retired   .indicator { background: var(--s-retired); }

/* ── Worklists (dashboard "needs your attention") ────────────────────────── */
.worklists { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.worklist {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
}
.worklist-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--tint-4);
  border-bottom: 1px solid var(--line);
}
.worklist-title { font-size: 13.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.worklist-title .badge {
  background: var(--red); color: #fff; font-size: 11px;
  padding: 1px 7px; border-radius: 10px; font-weight: 700;
}
.worklist-sub { font-size: 11.5px; color: var(--ink-3); font-style: italic; }
.worklist-action { margin-left: auto; font-size: 12px; font-weight: 600; }
.worklist-empty { padding: 20px 16px; text-align: center; color: var(--success); font-size: 13px; }
.wl-table { width: 100%; border-collapse: collapse; }
.wl-table td { padding: 8px 14px; font-size: 12.5px; border-bottom: 1px solid var(--line); }
.wl-table tr:last-child td { border-bottom: none; }
.wl-table tr:hover td { background: var(--tint-4); }
.wl-table .pn { font-family: var(--mono); font-weight: 500; }
.wl-table .pn a { color: var(--blue); }
.row-action {
  display: inline-block; padding: 2px 8px; border-radius: 3px;
  background: var(--blue); color: #fff !important; font-weight: 600; font-size: 11px;
}
.row-action:hover { background: var(--blue-dark); text-decoration: none; }
.missing { display: flex; gap: 5px; flex-wrap: wrap; }
.miss-chip {
  display: inline-block; font-size: 10.5px; font-weight: 600;
  padding: 1px 6px; border-radius: 2px;
  background: #fee2e2; color: var(--red);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.miss-chip.ok { background: #d1fae5; color: #065f46; }
.miss-chip.ok::before { content: '✓ '; }

/* ── Recent activity table ──────────────────────────────────────────────── */
.activity { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.activity table { width: 100%; border-collapse: collapse; }
.activity th, .activity td { text-align: left; padding: 8px 14px; font-size: 12.5px; border-bottom: 1px solid var(--line); }
.activity th { background: var(--tint-4); font-weight: 600; color: var(--ink-2); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.activity tr:last-child td { border-bottom: none; }
.activity tr:hover td { background: var(--tint-4); }
.activity .pn { font-family: var(--mono); font-weight: 500; }
.activity .pn a { color: var(--blue); }
.activity .num { text-align: right; font-family: var(--mono); }
.flag-pending { color: var(--red); font-weight: 600; }

/* ── Filters + search bar (item page, etc.) ──────────────────────────────── */
.filters { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.filters .search-wrap { flex: 1; position: relative; }
.filters .search-wrap input {
  width: 100%; height: 36px; padding: 0 14px 0 36px;
  border: 1px solid var(--line-2); border-radius: 4px;
  font-size: 13px; font-family: inherit; background: var(--surface);
}
.filters .search-wrap input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--tint-2); }
.filters .search-wrap .icon { position: absolute; left: 12px; top: 9px; color: var(--ink-4); font-size: 16px; }
.filters .pl-wrap { display: flex; align-items: center; gap: 6px; }
.filters .pl-wrap label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); }
.filters select {
  height: 36px; padding: 0 28px 0 12px; border: 1px solid var(--line-2);
  border-radius: 4px; font-size: 13px; font-family: inherit; background: var(--surface); cursor: pointer;
}
.filters select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--tint-2); }

/* ── Results table (item page) ───────────────────────────────────────────── */
.results { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.results-head { padding: 10px 14px; background: var(--tint-4); border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; }
.results-head b { color: var(--ink); font-weight: 600; }
.results table { width: 100%; border-collapse: collapse; }
.results th, .results td { text-align: left; padding: 9px 14px; font-size: 12.5px; border-bottom: 1px solid var(--line); }
.results th { background: var(--surface); font-weight: 600; color: var(--ink-2); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.results tr:last-child td { border-bottom: none; }
.results tr:hover td { background: var(--tint-4); cursor: pointer; }
.results .pn { font-family: var(--mono); font-weight: 600; }
.results .pn a { color: var(--blue); }
.results .detail { font-family: var(--mono); color: var(--ink-3); }
.results .num { text-align: right; font-family: var(--mono); }
.results .empty { padding: 30px; text-align: center; color: var(--ink-3); font-style: italic; }

/* ── Add-new panel (item page) ───────────────────────────────────────────── */
.addnew { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; }
.addnew-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.addnew-head h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.addnew-head .hint { font-size: 11.5px; color: var(--ink-3); font-style: italic; }
.addnew-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.addnew-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 6px; cursor: pointer; font-family: inherit;
  text-align: left; text-decoration: none; color: var(--ink);
  transition: border-color 0.12s, transform 0.12s;
}
.addnew-btn:hover { border-color: var(--red); transform: translateY(-1px); text-decoration: none; }
.addnew-btn .row1 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.addnew-btn .row1 .arrow { color: var(--red); }
.addnew-btn .row2 { font-size: 11px; color: var(--ink-3); font-family: var(--mono); }
.addnew-btn.hidden { display: none; }

/* ── Tab bar (detail page) ───────────────────────────────────────────────── */
.tab-bar { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 20px 0 16px; }
.tab {
  background: transparent; border: none; padding: 10px 16px;
  font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--ink-3); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--blue); }
.tab.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Detail card / hero ──────────────────────────────────────────────────── */
.hero {
  display: flex; gap: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 6px; padding: 20px; margin-bottom: 0;
}
.hero-photo {
  width: 200px; height: 200px; flex: 0 0 200px;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--tint-4); color: var(--ink-4); font-size: 11px; text-align: center;
}
.hero-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hero-photo .hint { padding: 10px; font-family: var(--mono); }
.hero-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hero-pn { font-family: var(--mono); font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.hero-desc { font-size: 14px; color: var(--ink-2); }
.hero-meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

/* ── Info cards (Overview / Tech Spec etc.) ──────────────────────────────── */
.cards-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cards-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px 20px; }
.info-card h3 { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.kv { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 4px 12px; }
.kv dt { color: var(--ink-3); font-size: 12px; padding-top: 2px; }
.kv dd { margin: 0; color: var(--ink); font-size: 12.5px; font-family: var(--mono); }
.kv dd.text { font-family: var(--font); }
.muted { color: var(--ink-3); }
.small { font-size: 11.5px; }

/* ── Foot ────────────────────────────────────────────────────────────────── */
.foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-4); display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* ── Login page ──────────────────────────────────────────────────────────── */
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.login-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 32px 36px; width: 360px; box-shadow: 0 4px 24px rgba(0, 51, 102, 0.08); }
.login-brand { font-size: 18px; font-weight: 700; color: var(--navy); text-align: center; margin: 0 0 4px; }
.login-brand .accent { color: var(--yellow); background: var(--navy); padding: 0 6px; border-radius: 2px; }
.login-sub { font-size: 12px; color: var(--ink-3); text-align: center; margin-bottom: 24px; }
.login-field { margin-bottom: 14px; }
.login-field label { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin-bottom: 4px; }
.login-field input { width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 13px; font-family: inherit; }
.login-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--tint-2); }
.login-submit { width: 100%; height: 38px; background: var(--red); border: none; color: #fff; font-weight: 600; font-size: 13px; border-radius: 4px; cursor: pointer; }
.login-submit:hover { background: var(--red-dark); }
.login-error { background: #fef2f2; border: 1px solid #fecaca; color: var(--red); padding: 8px 12px; border-radius: 4px; font-size: 12px; margin-bottom: 14px; }

/* ── QoH column ──────────────────────────────────────────────────────────── */
.qoh-cell    { font-family: var(--mono); font-size: 12.5px; text-align: right; white-space: nowrap; }
.qoh-have    { color: #065f46; font-weight: 600; }
.qoh-have .qoh-uom { color: var(--ink-3); font-weight: 400; font-size: 11px; margin-left: 2px; }
.qoh-zero    { color: var(--ink-3); }
.qoh-na      { color: var(--ink-4); }
