/* Camcor storefront — "technical trade catalog"
 *
 * The aesthetic is a well-made 1949 parts catalog rendered for a browser:
 * warm paper rather than screen-white, navy ink, hairline gold rules doing the
 * dividing work instead of boxes and drop shadows, and monospaced part numbers
 * in a left gutter. Part numbers are the currency of this business — a school
 * buyer quotes an MPN, not a product name — so they get the typographic
 * treatment usually wasted on headlines.
 *
 * Archivo Expanded for signage-weight headings, Archivo for text, IBM Plex Mono
 * for anything a buyer would type into a PO, Petrona italic for the heritage
 * voice. Restraint is the point: this has to look like it belongs to a company
 * that has been doing this since 1949, not like a startup landing page.
 */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700&family=Archivo+Expanded:wght@600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Petrona:ital,wght@1,400;1,500&display=swap');

:root {
  /* Brand palette. These are Camcor's values as defaults so this stylesheet
     still renders standalone, but at runtime base.html overrides the block
     from the active tenant file — see camcor/tenant.py. Anything below that
     is tinted from the brand must be a variable too, or one customer's blue
     leaks into the next customer's background. */
  --blue:      #00539b;   /* their brand blue, from logo-camcorinc.svg */
  --blue-deep: #063463;
  --blue-lift: #0a6fc4;   /* the light end of the hero gradient */
  --ink:       #12243a;
  --ink-soft:  #4a5b70;
  --ink-faint: #8494a6;
  --gold:      #e7a614;   /* their brand gold */
  --gold-pale: #f6e2b4;
  /* Washes derived from the two brand values: the engineering-paper grid, the
     search-field focus ring, and the warm glow behind the hero. */
  --grid-line:  rgba(0,83,155,.028);
  --focus-ring: rgba(0,83,155,.12);
  --hero-glow:  rgba(231,166,20,.30);
  --paper:     #faf8f4;
  --paper-2:   #f2eee6;
  --rule:      #ddd6c8;
  --white:     #fffdfa;
  --ok:        #1a7f4b;
  --warn:      #b06d0a;
  --stop:      #a52c1c;

  --gut: clamp(16px, 3.2vw, 40px);
  --maxw: 1240px;
  --shadow: 0 1px 0 rgba(18,36,58,.06), 0 8px 24px -18px rgba(18,36,58,.5);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 400 15.5px/1.6 'Archivo', 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  /* Faint engineering-paper grid. Sits under everything, reads as texture
     rather than pattern at normal zoom. */
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
}

a { color: var(--blue); text-decoration-color: var(--gold-pale); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-variant-ligatures: none; }
.eyebrow {
  font: 500 11px/1 'IBM Plex Mono', monospace;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint);
}
.heritage { font-family: 'Petrona', Georgia, serif; font-style: italic; }

h1, h2, h3 { font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 700;
             letter-spacing: -.015em; line-height: 1.14; margin: 0; }
h1 { font-size: clamp(28px, 4.2vw, 46px); }
h2 { font-size: clamp(20px, 2.4vw, 27px); }
h3 { font-size: 17px; }

/* ── concept banner ─────────────────────────────────────────────────────── */
.concept {
  background: var(--ink); color: var(--gold-pale);
  font: 500 12px/1 'IBM Plex Mono', monospace; letter-spacing: .04em;
  padding: 9px var(--gut); text-align: center;
}
.concept b { color: var(--white); font-weight: 600; }

/* ── masthead ───────────────────────────────────────────────────────────── */
.masthead { background: var(--white); border-bottom: 1px solid var(--rule); }
.masthead-top {
  display: flex; align-items: center; gap: 22px;
  padding: 16px 0 14px; max-width: var(--maxw); margin: 0 auto;
  padding-left: var(--gut); padding-right: var(--gut);
}
.logo { display: flex; flex-direction: column; text-decoration: none; flex: 0 0 auto; }
.logo .word {
  font: 700 27px/1 'Archivo Expanded', sans-serif; color: var(--blue);
  letter-spacing: -.02em;
}
.logo .word i { color: var(--gold); font-style: normal; }
.logo .since {
  font-family: 'Petrona', serif; font-style: italic;
  font-size: 11.5px; color: var(--ink-faint); margin-top: 2px; letter-spacing: .01em;
}

.searchbar { flex: 1 1 auto; display: flex; position: relative; }
.searchbar input {
  width: 100%; font: 400 15px/1 'Archivo', sans-serif; color: var(--ink);
  padding: 12px 14px 12px 40px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 2px;
  transition: border-color .16s, box-shadow .16s;
}
.searchbar input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.searchbar::before {
  content: '⌕'; position: absolute; left: 14px; top: 50%; transform: translateY(-52%);
  font-size: 19px; color: var(--ink-faint);
}
.searchbar button {
  margin-left: 8px; padding: 0 18px; cursor: pointer;
  font: 600 13px/1 'Archivo', sans-serif; letter-spacing: .02em;
  color: var(--white); background: var(--blue); border: 1px solid var(--blue);
  border-radius: 2px;
}
.searchbar button:hover { background: var(--blue-deep); }

.mast-contact { flex: 0 0 auto; text-align: right; line-height: 1.4; }
.mast-contact .phone {
  font: 600 17px/1 'IBM Plex Mono', monospace; color: var(--ink); letter-spacing: -.02em;
}
.mast-contact .note { font-size: 11.5px; color: var(--ink-faint); }

/* department bar */
.deptbar { background: var(--blue); border-top: 3px solid var(--gold); }
.deptbar .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.deptbar .wrap::-webkit-scrollbar { display: none; }
.deptbar a {
  flex: 0 0 auto; padding: 11px 13px; text-decoration: none; white-space: nowrap;
  font: 500 12.5px/1 'Archivo', sans-serif; color: rgba(255,253,250,.86);
  border-bottom: 3px solid transparent; transition: color .14s, border-color .14s;
}
.deptbar a:hover, .deptbar a.on { color: var(--white); border-bottom-color: var(--gold); }
.deptbar a.util { color: var(--gold-pale); }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(120% 140% at 88% 18%, var(--hero-glow), transparent 56%),
    linear-gradient(104deg, var(--blue-deep) 0%, var(--blue) 62%, var(--blue-lift) 100%);
}
.hero::after {   /* fine diagonal hatch, the way a technical drawing shades */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .16;
  background-image: repeating-linear-gradient(58deg, rgba(255,255,255,.5) 0 1px, transparent 1px 9px);
}
.hero .wrap { position: relative; z-index: 1; padding: clamp(38px, 6vw, 74px) var(--gut); }
.hero h1 { max-width: 17ch; }
.hero h1 em { font-family: 'Petrona', serif; font-style: italic; font-weight: 500; color: var(--gold-pale); }
.hero p { max-width: 54ch; color: rgba(255,253,250,.88); margin: 16px 0 0; font-size: 16.5px; }
.hero .creds {
  display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px;
  font: 500 12px/1 'IBM Plex Mono', monospace; letter-spacing: .05em;
  color: var(--gold-pale); text-transform: uppercase;
}
.hero .creds span { display: flex; align-items: center; gap: 8px; }
.hero .creds span::before { content: '◆'; color: var(--gold); font-size: 8px; }

.btn {
  display: inline-block; margin-top: 26px; padding: 13px 24px; cursor: pointer;
  font: 600 13.5px/1 'Archivo', sans-serif; letter-spacing: .03em;
  color: var(--ink); background: var(--gold); border: none; border-radius: 2px;
  text-decoration: none; transition: transform .14s, box-shadow .14s;
  box-shadow: 0 3px 0 rgba(0,0,0,.16);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 rgba(0,0,0,.18); }
.btn.ghost {
  background: transparent; color: var(--white); box-shadow: none;
  border: 1px solid rgba(255,255,255,.45); margin-left: 10px;
}
.btn.ghost:hover { border-color: var(--gold); transform: none; }

/* ── section furniture ──────────────────────────────────────────────────── */
.section { padding: clamp(34px, 5vw, 60px) 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px; margin-bottom: 22px;
  border-bottom: 1px solid var(--rule); padding-bottom: 12px;
}
.section-head::before {
  content: ''; position: absolute;
}
.section-head h2 { position: relative; }
.section-head h2::after {
  content: ''; display: block; width: 46px; height: 3px; background: var(--gold); margin-top: 10px;
}

/* department tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 1px;
         background: var(--rule); border: 1px solid var(--rule); }
.tile {
  background: var(--white); padding: 20px 18px 18px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 6px; min-height: 116px;
  transition: background .16s;
  animation: rise .5s both;
}
.tile:hover { background: var(--paper-2); }
.tile .n { font: 500 10.5px/1 'IBM Plex Mono', monospace; color: var(--ink-faint); letter-spacing: .1em; }
.tile .t { font: 600 15px/1.25 'Archivo', sans-serif; margin-top: auto; }
.tile .c { font: 400 12px/1 'IBM Plex Mono', monospace; color: var(--blue); }
@keyframes rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

/* shop by space (direction B, as a section) */
.spaces { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.space {
  position: relative; overflow: hidden; min-height: 168px; border-radius: 3px;
  padding: 18px; display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; color: var(--white); border: 1px solid var(--rule);
}
.space::after {
  content: ''; position: absolute; inset: 0; opacity: .2;
  background-image: repeating-linear-gradient(58deg, rgba(255,255,255,.6) 0 1px, transparent 1px 10px);
}
.space > * { position: relative; z-index: 1; }
.space h3 { font-size: 19px; }
.space p { margin: 5px 0 0; font-size: 12.5px; color: rgba(255,253,250,.86); }
.space.classroom  { background: linear-gradient(150deg, var(--blue-deep), var(--blue)); }
.space.makerspace { background: linear-gradient(150deg, #7a5307, #c08b12); }
.space.auditorium { background: linear-gradient(150deg, #0d3f36, #17705d); }
.space.office     { background: linear-gradient(150deg, #3a2144, #6a3f74); }

/* ── product rows (direction C) ─────────────────────────────────────────── */
.layout { display: grid; grid-template-columns: 232px 1fr; gap: 30px; align-items: start; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } }

.filters { border: 1px solid var(--rule); background: var(--white); }
.filters h3 { padding: 12px 14px; border-bottom: 1px solid var(--rule); font-size: 13px;
              letter-spacing: .04em; text-transform: uppercase; }
.fgroup { border-bottom: 1px solid var(--rule); padding: 12px 14px; }
.fgroup:last-child { border-bottom: none; }
.fgroup .label { font: 500 10.5px/1 'IBM Plex Mono', monospace; letter-spacing: .12em;
                 text-transform: uppercase; color: var(--ink-faint); margin-bottom: 9px; }
.fgroup a { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0;
            font-size: 13px; text-decoration: none; color: var(--ink-soft); }
.fgroup a:hover { color: var(--blue); }
.fgroup a.on { color: var(--blue); font-weight: 600; }
.fgroup a .k { font: 400 11px/1.5 'IBM Plex Mono', monospace; color: var(--ink-faint); }

.resulthead {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 2px;
}
.resulthead .count { font: 600 13px/1 'IBM Plex Mono', monospace; }
.freshness { display: flex; align-items: center; gap: 7px; font: 400 11.5px/1 'IBM Plex Mono', monospace;
             color: var(--ink-soft); }
.freshness .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
                  box-shadow: 0 0 0 3px rgba(26,127,75,.15); }
.freshness.stale .dot { background: var(--warn); box-shadow: 0 0 0 3px rgba(176,109,10,.15); }

.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center;
  padding: 13px 4px; border-bottom: 1px solid var(--rule); transition: background .13s;
}
.row:hover { background: var(--white); }
.row .thumb {
  width: 76px; height: 76px; background: var(--white); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.row .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.row .thumb .none { font: 400 9px/1.3 'IBM Plex Mono', monospace; color: var(--ink-faint); text-align: center; }
.row .name { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); line-height: 1.35; }
.row .name:hover { color: var(--blue); }
.row .meta { font: 400 11.5px/1.6 'IBM Plex Mono', monospace; color: var(--ink-faint); margin-top: 3px; }
.row .meta b { color: var(--ink-soft); font-weight: 500; }
.row .right { text-align: right; min-width: 148px; }
.row .price { font: 600 17px/1.1 'IBM Plex Mono', monospace; letter-spacing: -.02em; }
.row .price.none { font-size: 13px; font-weight: 500; color: var(--ink-soft); }

.stock { font: 500 11px/1 'IBM Plex Mono', monospace; margin-top: 6px; display: inline-flex;
         align-items: center; gap: 6px; }
.stock::before { content: '●'; font-size: 9px; }
.stock.in_stock { color: var(--ok); }
.stock.low { color: var(--warn); }
.stock.special_order { color: var(--ink-soft); }
.stock.call { color: var(--blue); }
.stock.call::before { content: '☎'; font-size: 11px; }

.pager { display: flex; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.pager a, .pager span {
  padding: 7px 12px; border: 1px solid var(--rule); background: var(--white);
  font: 500 12.5px/1 'IBM Plex Mono', monospace; text-decoration: none; color: var(--ink-soft);
}
.pager .on { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── product detail ─────────────────────────────────────────────────────── */
.crumbs { font: 400 12px/1 'IBM Plex Mono', monospace; color: var(--ink-faint);
          padding: 16px 0; display: flex; gap: 7px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--ink-soft); }
.crumbs a:hover { color: var(--blue); }

.pdp { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 38px; align-items: start; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } }
.pdp .figure { background: var(--white); border: 1px solid var(--rule); padding: 26px;
               display: flex; align-items: center; justify-content: center; min-height: 320px; }
.pdp .figure img { max-width: 100%; max-height: 380px; object-fit: contain; mix-blend-mode: multiply; }
.pdp .idline { font: 500 12px/1.7 'IBM Plex Mono', monospace; color: var(--ink-faint);
               border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
               padding: 9px 0; margin: 14px 0 18px; display: flex; gap: 22px; flex-wrap: wrap; }
.pdp .idline b { color: var(--ink); font-weight: 600; }
.buybox { border: 1px solid var(--rule); background: var(--white); padding: 20px; margin: 20px 0; }
.buybox .p { font: 600 30px/1 'IBM Plex Mono', monospace; letter-spacing: -.03em; }
.buybox .src { font: 400 11px/1.5 'IBM Plex Mono', monospace; color: var(--ink-faint); margin-top: 5px; }
.buybox .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.buybox .btn { margin-top: 0; }
.buybox .btn.alt { background: var(--white); color: var(--blue); border: 1px solid var(--blue); box-shadow: none; }

.spectable { width: 100%; border-collapse: collapse; margin-top: 12px; }
.spectable td { padding: 8px 10px; border-bottom: 1px solid var(--rule); font-size: 13.5px; vertical-align: top; }
.spectable td:first-child { width: 42%; color: var(--ink-soft);
    font: 400 12px/1.5 'IBM Plex Mono', monospace; }
.prose { font-size: 15px; line-height: 1.72; color: var(--ink-soft); max-width: 68ch; white-space: pre-line; }

/* ── pulse (the proof) ──────────────────────────────────────────────────── */
.pulse-hero { background: var(--ink); color: var(--white); }
.pulse-hero .wrap { padding: 40px var(--gut); }
.pulse-hero h1 { color: var(--white); }
.pulse-hero .sub { color: rgba(255,253,250,.7); margin-top: 10px; font-size: 15px; max-width: 62ch; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px;
         background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); margin-top: 26px; }
.stat { background: var(--ink); padding: 18px; }
.stat .v { font: 600 30px/1 'IBM Plex Mono', monospace; letter-spacing: -.03em; }
.stat .k { font: 400 10.5px/1 'IBM Plex Mono', monospace; letter-spacing: .13em;
           text-transform: uppercase; color: rgba(255,253,250,.55); margin-top: 8px; }
.stat.up .v { color: #6fd39b; } .stat.down .v { color: #f08b7a; }
.stat.move .v { color: var(--gold); }

.feed { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.feed li { display: grid; grid-template-columns: 116px 1fr auto; gap: 14px; align-items: baseline;
           padding: 10px 2px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.kind { font: 500 10.5px/1 'IBM Plex Mono', monospace; letter-spacing: .09em; text-transform: uppercase;
        padding: 4px 7px; border: 1px solid currentColor; justify-self: start; }
.kind.added { color: var(--ok); } .kind.discontinued { color: var(--stop); }
.kind.price_moved { color: var(--warn); } .kind.back_in_stock { color: var(--blue); }
.feed .val { font: 400 12.5px/1 'IBM Plex Mono', monospace; color: var(--ink-soft); }

/* then / now */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--rule); background: var(--white); }
.panel > header { padding: 12px 16px; border-bottom: 1px solid var(--rule);
                  font: 600 13px/1 'Archivo', sans-serif; letter-spacing: .03em; }
.panel.bad > header { background: #fdf1ef; color: var(--stop); }
.panel.good > header { background: #eff7f2; color: var(--ok); }
.panel ul { margin: 0; padding: 14px 16px 16px 32px; }
.panel li { padding: 4px 0; font-size: 14px; color: var(--ink-soft); }
.panel li s { color: var(--ink-faint); }

/* ── static content pages ───────────────────────────────────────────────── */
.doc { max-width: 74ch; }
.doc h2 { margin-top: 34px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 20px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--rule); background: var(--white); padding: 18px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

.notice { border-left: 3px solid var(--gold); background: var(--paper-2); padding: 12px 16px;
          font-size: 13.5px; color: var(--ink-soft); margin: 18px 0; }

/* ── footer ─────────────────────────────────────────────────────────────── */
footer.site { background: var(--ink); color: rgba(255,253,250,.72); margin-top: 60px; }
footer.site .wrap { padding: 40px var(--gut) 30px; display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 26px; }
footer.site h4 { font: 600 11px/1 'IBM Plex Mono', monospace; letter-spacing: .14em;
                 text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
footer.site a { color: rgba(255,253,250,.72); text-decoration: none; display: block; padding: 3px 0;
                font-size: 13.5px; }
footer.site a:hover { color: var(--white); }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.14); padding: 16px var(--gut);
                     font: 400 11.5px/1.6 'IBM Plex Mono', monospace; color: rgba(255,253,250,.45);
                     max-width: var(--maxw); margin: 0 auto; }

.emptystate { padding: 50px 0; text-align: center; color: var(--ink-soft); }
.emptystate .big { font: 600 19px/1.3 'Archivo Expanded', sans-serif; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── /ops — the engine room ──────────────────────────────────────────────
 * Deliberately unlike the storefront: dark, monospaced, dense. Nobody should
 * be able to screenshot this and think it is the customer-facing site, because
 * it shows wholesale cost.
 */
body.ops { background: #0f172a; background-image: none; color: #cbd5e1; }
body.ops a { color: #7dd3fc; }
.ops-bar { background: #020617; border-bottom: 1px solid #1e293b; padding: 12px 0; }
.ops-bar .wrap { display: flex; align-items: center; gap: 20px; }
.ops-bar .brand { font: 700 14px/1 'Archivo Expanded', sans-serif; color: #fff; letter-spacing: -.01em; }
.ops-bar .brand span { color: var(--gold); }
.ops-bar a.nav { font: 500 12px/1 'IBM Plex Mono', monospace; color: #94a3b8; text-decoration: none; }
.ops-bar a.nav:hover, .ops-bar a.nav.on { color: #fff; }
.ops-bar .warn { margin-left: auto; font: 500 11px/1 'IBM Plex Mono', monospace;
                 color: #fbbf24; border: 1px solid #78350f; padding: 5px 9px; }
body.ops h1, body.ops h2, body.ops h3 { color: #f1f5f9; }
body.ops .section-head { border-bottom-color: #1e293b; }
body.ops .eyebrow { color: #64748b; }
.ops-table { width: 100%; border-collapse: collapse; font: 400 12.5px/1.5 'IBM Plex Mono', monospace; }
.ops-table th { text-align: left; padding: 8px 10px; border-bottom: 2px solid #334155;
                color: #94a3b8; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
                font-size: 10.5px; white-space: nowrap; }
.ops-table td { padding: 8px 10px; border-bottom: 1px solid #1e293b; vertical-align: top; }
.ops-table tr:hover td { background: #16233c; }
.ops-table .num { text-align: right; white-space: nowrap; }
.ops-table .win { color: #4ade80; }
.ops-table .lose { color: #64748b; }
.ops-table .flip { color: #fbbf24; }
.ops-table .name { font-family: 'Archivo', sans-serif; color: #e2e8f0; }
.ops-stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
            gap: 1px; background: #1e293b; border: 1px solid #1e293b; margin: 18px 0 26px; }
.ops-stat > div { background: #0f172a; padding: 16px; }
.ops-stat .v { font: 600 26px/1 'IBM Plex Mono', monospace; color: #f1f5f9; letter-spacing: -.03em; }
.ops-stat .k { font: 400 10px/1 'IBM Plex Mono', monospace; color: #64748b;
               text-transform: uppercase; letter-spacing: .12em; margin-top: 7px; }
.ops-panel { border: 1px solid #1e293b; background: #131f36; padding: 16px; margin: 16px 0; }
.ops-panel h3 { font-size: 14px; margin-bottom: 10px; }
.ops-panel pre { background: #020617; border: 1px solid #1e293b; padding: 12px; overflow-x: auto;
                 font: 400 11.5px/1.6 'IBM Plex Mono', monospace; color: #a5b4fc; }
.blocked { color: #fca5a5; font: 400 12px/1.8 'IBM Plex Mono', monospace; }
.ok-badge { color: #4ade80; } .no-badge { color: #f87171; }
body.ops input, body.ops select { background: #020617; border: 1px solid #334155; color: #e2e8f0;
    padding: 8px 10px; font: 400 12.5px 'IBM Plex Mono', monospace; }
body.ops button { background: var(--gold); color: #1a1200; border: none; padding: 9px 16px;
    font: 600 12.5px 'Archivo', sans-serif; cursor: pointer; }
