:root {
  --red: #c70102;
  --red-hover: #a50102;
  --black: #000000;
  --ink: #3a3a3a;
  --near-black: #1a1a1a;
  --muted: #4b4f58;
  --gray: #8a8a8a;
  --light: #f5f5f5;
  --line: #e6e6e6;
  --line-dark: #2a2a2a;
  --card: #ffffff;
  --bg: #f5f5f5;
  --green: #1f7a4d;
  --blue: #2b5c8a;
  --warn: #9a6b12;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.49;
}
::selection { background: var(--red); color: #fff; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, .brand-name, .kpi .value {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--black);
}
h1 { margin: 0; font-size: 28px; line-height: 1.25; }

.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }

.sidebar {
  background: var(--black);
  color: #fff;
  padding: 20px 16px 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  border-right: 3px solid var(--red);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 4px;
}
.brand:hover { text-decoration: none; color: #fff; }
.brand-mark { height: 40px; width: auto; display: block; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}
.brand-name .hub,
.hub {
  color: var(--red);
}
.brand-sub { font-size: 12px; color: #ddd; font-weight: 400; margin: 0; }
.brand-lockup { margin-bottom: 22px; }

.side-search { margin-bottom: 16px; }
.side-search input {
  width: 100%;
  background: #141414;
  border: 1px solid #333;
  color: #fff;
}
.side-search input::placeholder { color: #888; }

.top-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: -8px 0 18px;
  width: 100%;
  max-width: 100%;
}
.top-search input {
  flex: 1 1 200px;
  min-width: 0;
  width: auto;
  background: #fff;
  border: 1px solid #ddd;
  font-size: 15px;
  padding: 10px 12px;
}
.top-search input:focus { border-color: var(--red); outline: none; }
.top-search .btn { flex: 0 0 auto; white-space: nowrap; }
.grok-bar { margin-top: -8px; }
.grok-bar input { border-color: #e8b0b0; }

.nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 2px;
  font-size: 14px;
}
.nav a:hover { color: var(--red); text-decoration: none; background: #141414; }
.nav a.active { color: var(--red); background: #141414; }
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 18px;
}
.subnav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.subnav a:hover { color: var(--red); border-color: var(--red); text-decoration: none; }

.dash-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 22px;
}
.dash-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px 16px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.dash-tile:hover { text-decoration: none; border-color: var(--red); color: var(--ink); }
.dash-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 18px;
}
.dash-tile strong { font-family: Montserrat, sans-serif; font-size: 16px; color: var(--black); }
.dash-tile span:last-child { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .dash-actions { grid-template-columns: 1fr 1fr; } }

.user-box {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #2a2a2a;
  font-size: 12px;
  color: #9a9a9a;
}
.user-box strong { display: block; color: #fff; font-size: 13px; }
.user-box a { color: #fff; }
.user-box a:hover { color: var(--red); }

.main { padding: 28px 32px 60px; background: var(--bg); min-width: 0; max-width: 100%; overflow-x: hidden; }
.top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 16px;
  margin-bottom: 22px;
  max-width: 100%;
}
.top > div { min-width: 0; max-width: 100%; }
.top > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.top > div:first-child h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-top: 10px;
}
.sub { color: var(--muted); margin: 6px 0 0; font-size: 14px; }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-family: "Noto Sans", sans-serif;
  cursor: pointer;
  font-size: 13px;
}
.btn:hover { background: var(--red-hover); text-decoration: none; color: #fff; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid #cfcfcf;
}
.btn.ghost:hover { border-color: var(--red); color: var(--red); background: #fff; }
.sidebar .btn.ghost {
  color: #fff;
  border-color: #fff;
}
.sidebar .btn.ghost:hover { background: #fff; color: #000; }
.btn.danger { background: var(--red); color: #fff; }
.btn.active { border-color: var(--red); color: var(--red); background: #fff; }

.grid { display: grid; gap: 14px; }
.grid.kpis { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.kpi .label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
}
.kpi .value { font-size: 26px; margin-top: 6px; }
.kpi .hint { color: var(--muted); font-size: 12px; margin-top: 4px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 8px 10px;
  border-bottom: 2px solid var(--red);
}
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:hover td { background: #fafafa; }

.thumb-cell { width: 64px; vertical-align: middle; }
.thumb-wrap { position: relative; width: 56px; height: 56px; }
.thumb {
  width: 56px; height: 56px; object-fit: cover; display: block;
  border-radius: 8px; background: var(--light); border: 1px solid var(--line);
}
.thumb-empty {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 16px; font-weight: 700;
  border-radius: 8px; background: var(--light); border: 1px solid var(--line);
}
.thumb-pop {
  display: none;
  position: absolute;
  left: 68px;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 30;
}
.thumb-wrap:hover .thumb-pop { display: block; }
.thumb-pop img { width: 100%; height: auto; max-height: 180px; object-fit: contain; border-radius: 6px; display: block; background: #111; }
.thumb-cap { margin-top: 6px; font-size: 11px; color: var(--muted); line-height: 1.3; }
.icon-swap { margin-top: 4px; }
.icon-swap-btn {
  display: inline-block; font-size: 10px; color: var(--red, #E2003C);
  cursor: pointer; font-weight: 650;
}
.icon-swap-btn input { display: none; }

.badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 650; letter-spacing: .03em; }
.badge.inquiry, .badge.lead { background: #eee; color: #333; }
.badge.quoted { background: #f4e8c8; color: #6a4e10; }
.badge.confirmed, .badge.paid, .badge.in_production { background: #e7f4ec; color: var(--green); }
.badge.completed { background: #ececec; color: #555; }
.badge.cancelled, .badge.overdue { background: #f8e4e4; color: var(--red); }
.badge.sent, .badge.reserved { background: #e6eef6; color: var(--blue); }
.badge.draft { background: #f0f0f0; color: #666; }
.badge.existing { background: #111; color: #fff; }
.badge.potential { background: #f8e4e4; color: var(--red); }
.badge.venue { background: #eee; color: #333; }
.badge.cond-ready { background: #e7f4ec; color: #1f7a4d; }
.badge.cond-needs-qc { background: #f4e8c8; color: #6a4e10; }
.badge.cond-needs-repair { background: #f8e4e4; color: #c70102; }
.badge.cond-in-maintenance { background: #e6eef6; color: #2b5c8a; }
.badge.cond-out-of-service { background: #111; color: #fff; }
.badge.cond-on-show { background: #ececec; color: #555; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.label-card { text-align: center; }
.label-photo { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; margin: 0 auto 10px; display: block; background: #f5f5f5; }
.scan-frame { margin-top: 10px; min-height: 180px; background: #111; border-radius: 10px; overflow: hidden; }

form.stack { display: grid; gap: 12px; max-width: 720px; }
form.stack.wide { max-width: none; }
label { display: grid; gap: 6px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
input, select, textarea {
  background: #fff;
  border: 1px solid #d0d0d0;
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 14px;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(199,1,2,.25);
  border-color: var(--red);
}
textarea { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.flash { background: #e7f4ec; color: var(--green); padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; }
.flash.err { background: #f8e4e4; color: var(--red); }

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #000;
  background-image: linear-gradient(180deg, rgba(199,1,2,.35), rgba(0,0,0,.75));
}
.login-card { width: 400px; background: #fff; }
.login-card h1 { font-size: 22px; margin: 10px 0 6px; }
.login-card .brand { color: #000; margin-bottom: 8px; }
.login-card .brand-name { color: #000; font-size: 20px; }
.login-card .brand-sub { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; }
.note { font-size: 13px; color: var(--ink); background: var(--light); padding: 10px 12px; border-radius: 8px; margin-bottom: 8px; }
.note .meta { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { color: var(--muted); font-size: 11px; text-transform: uppercase; text-align: center; }
.day { background: #fff; border: 1px solid var(--line); min-height: 92px; border-radius: 8px; padding: 6px; font-size: 12px; }
.day.empty { background: transparent; border: 0; }
.day .n { color: var(--muted); }
.chip { display: block; background: #111; color: #fff; border-radius: 4px; padding: 2px 4px; margin-top: 4px; font-size: 11px; overflow: hidden; line-height: 1.25; }
.chip.confirmed { background: var(--red); color: #fff; }
.chip.prod-kevin { background: #c70102; color: #fff; }
.chip.prod-rene { background: #1d4ed8; color: #fff; }
.chip.prod-chris { background: #6d28d9; color: #fff; }
.chip.prod-ray { background: #15803d; color: #fff; }
.chip.prod-other { background: #3f3f46; color: #fff; }
.chip.prod-task { background: #52525b; color: #fff; }
.chip.prod-hold { background: #71717a; color: #fff; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.cal-legend .chip { display: inline-block; margin-top: 0; padding: 4px 8px; }
.warn { color: var(--warn); font-size: 12px; }

.quick-add { display: grid; gap: 8px; margin-top: 22px; }
.quick-add .btn { text-align: center; }
.modal-bg {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 40; place-items: center; padding: 20px;
}
.modal-bg.open { display: grid; }
.modal {
  width: min(560px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 20px; box-shadow: var(--shadow); max-height: 90vh; overflow: auto;
}
.voice-hits { margin: 12px 0 16px; display: grid; gap: 8px; }
.voice-hit {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 14px;
}
.voice-hit input { width: auto; margin-top: 3px; }
.voice-hit strong { display: block; }
.voice-hit .sub { display: block; margin-top: 2px; }
.modal h3 { margin: 0 0 4px; }
tr.total td { font-weight: 700; background: var(--light); }
tr.now td { outline: 1px solid var(--red); }
.quick-export { text-decoration: none; color: inherit; }
.quick-export:hover { border-color: var(--red); text-decoration: none; }
.check { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 14px; }
.check input { width: auto; }

.red-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 10px 0 0;
}

/* Mobile chrome — hidden on desktop */
.mobile-bar, .nav-backdrop { display: none; }

@media (max-width: 900px) {
  .mobile-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 60;
    background: #000;
    color: #fff;
    border-bottom: 3px solid var(--red);
    padding: 10px 12px;
    padding-top: max(10px, env(safe-area-inset-top));
  }
  .menu-btn {
    appearance: none;
    border: 1px solid #333;
    background: #141414;
    color: #fff;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .mobile-brand {
    flex: 1;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
  }
  .mobile-brand .hub { color: var(--red); }
  .mobile-brand:hover { text-decoration: none; color: #fff; }
  .mobile-quick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-quick:hover { text-decoration: none; color: #fff; background: var(--red-hover); }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 70;
  }
  .nav-backdrop[hidden] { display: none !important; }

  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 86vw);
    height: 100vh;
    height: 100dvh;
    z-index: 80;
    transform: translateX(-105%);
    transition: transform .2s ease;
    border-right: 3px solid var(--red);
    border-bottom: 0;
    padding-top: max(20px, env(safe-area-inset-top));
    -webkit-overflow-scrolling: touch;
  }
  .app.nav-open .sidebar { transform: translateX(0); }
  .sidebar .brand-lockup { padding-right: 8px; }
  .nav a {
    padding: 12px 12px;
    font-size: 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .quick-add .btn, .sidebar .btn {
    min-height: 44px;
    font-size: 15px;
  }

  .split, .row2, .row3 { grid-template-columns: 1fr; }
  .main {
    padding: 14px 14px 80px;
    padding-bottom: max(80px, env(safe-area-inset-bottom));
  }
  .top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .top > div:last-child {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .top > div:last-child .btn {
    flex: 1 1 auto;
    min-height: 44px;
    text-align: center;
  }
  .top-search, .grok-bar { margin-left: 0; margin-right: 0; }
  .top-search input, .grok-bar input {
    flex: 1 1 100%;
    font-size: 16px; /* iOS: avoid auto-zoom */
    min-height: 44px;
  }
  .top-search .btn, .grok-bar .btn { min-height: 44px; }
  .grok-bar { display: none; } /* desk tool — hide on phones */
  .subnav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 6px;
    padding-bottom: 4px;
  }
  .subnav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
  }
  .dash-actions { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-tile { min-height: 88px; padding: 14px; }
  h1 { font-size: 22px; }
  .btn { min-height: 44px; padding: 10px 14px; font-size: 15px; }
  input, select, textarea {
    font-size: 16px;
    min-height: 44px;
  }
  table { font-size: 13px; }
  .table-scroll, table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .grid-table { min-width: 640px; }
  .modal {
    width: calc(100vw - 24px);
    max-width: none;
    max-height: calc(100dvh - 24px);
    overflow: auto;
  }
  .login-wrap { padding: 24px 14px; }
  .login-card { width: 100%; max-width: 420px; }
}

@media (max-width: 560px) {
  .dash-actions { grid-template-columns: 1fr; }
  .kpi-row, .kpis { grid-template-columns: 1fr 1fr; }
}

.wh-body {
  background: #0b0b0b;
  color: #f5f5f5;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 0 40px;
  font-size: 16px;
}
.wh-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  border-bottom: 3px solid var(--red);
  padding: 14px 16px;
}
.wh-brand { font-family: Montserrat, sans-serif; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.wh-user { color: #8a8a8a; font-size: 12px; }
.wh-desk { color: #fff; font-size: 13px; }
.wh-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.wh-mode {
  text-align: center;
  padding: 14px 8px;
  background: #161616;
  color: #bbb;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 3px solid #222;
}
.wh-mode.on { color: #fff; background: #1a1a1a; border-bottom-color: var(--red); }
.wh-show, .wh-scan, .wh-panel { padding: 14px 16px; }
.wh-show label, .wh-form label { color: #bbb; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.wh-show select, .wh-form input {
  width: 100%;
  margin-top: 6px;
  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
}
.wh-qty { display: grid; grid-template-columns: 90px 1fr; gap: 8px; align-items: end; margin-top: 10px; }
.wh-go { width: 100%; padding: 14px; font-size: 16px; }
.wh-cam { width: 100%; margin-top: 10px; }
.wh-cam-box { margin-top: 10px; min-height: 180px; border-radius: 10px; overflow: hidden; background: #000; }
.wh-flash {
  margin: 10px 16px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #1f7a4d;
  color: #fff;
}
.wh-flash.err { background: var(--red); }
.wh-hit {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  background: #161616;
  border-radius: 10px;
}
.wh-hit img, .wh-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #222; }
.wh-panel h2 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 8px 0 10px;
}
.wh-list { list-style: none; margin: 0; padding: 0; }
.wh-list li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #222;
}
.wh-list.thin li { padding: 8px 0; }
.wh-body .sub { color: #8a8a8a; }
.wh-body .btn.ghost { background: transparent; color: #fff; border: 1px solid #444; }

.table-scroll { overflow-x: auto; }
.grid-table { table-layout: fixed; width: 100%; min-width: 980px; }
.grid-table th { position: relative; overflow: visible; }
.col-resizer {
  position: absolute;
  top: 0; right: -3px;
  width: 8px; height: 100%;
  cursor: col-resize;
  user-select: none;
}
.col-resizer:hover, .col-resizer:active { background: rgba(199,1,2,.35); }

.ps-wrap { position: relative; display: flex; align-items: stretch; }
.ps-wrap input { flex: 1; }
.ps-caret {
  width: 28px; border: 1px solid #333; background: #1a1a1a; color: #aaa;
  cursor: pointer; margin-left: -1px;
}
.ps-menu {
  position: absolute; z-index: 80; left: 0; right: 0; top: calc(100% + 2px);
  background: #141414; border: 1px solid #333; max-height: 280px; overflow: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,.45); min-width: 280px;
}
.ps-opt, .ps-addnew {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 8px 10px; cursor: pointer; font-size: 13px;
}
.ps-opt:hover, .ps-opt.active { background: rgba(199,1,2,.16); }
.ps-name { font-weight: 600; color: #fff; }
.ps-meta { display: block; font-size: 11px; color: #8a8a8a; font-weight: 400; }
.ps-rate { font-variant-numeric: tabular-nums; color: #c8c8c8; white-space: nowrap; }
.ps-addnew { border-top: 1px solid #2a2a2a; color: #c70102; font-weight: 600; }
.ps-empty { padding: 10px; color: #888; font-size: 12px; }
.ah-ta { position: relative; display: block; }
.ah-ta input { width: 100%; }
.ah-menu {
  position: absolute; z-index: 90; left: 0; right: 0; top: calc(100% + 2px);
  background: #141414; border: 1px solid #333; max-height: 280px; overflow: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
}
.top-search .ah-ta { flex: 1; }
.amt-cell { text-align: right; font-variant-numeric: tabular-nums; padding-right: 8px; color: #ddd; }
.qbo-add { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
