/* Mat Tech — Command Center
   Datadog/Bloomberg terminal density. Sidebar-driven. Monospace-heavy.
   Functional color only: Mat Tech navy (#002B60) + orange (#E7751C).
*/

:root {
  /* Brand */
  --navy:         #002b60;
  --navy-light:   #0a2757;
  --orange:       #e7751c;
  --orange-dim:   #b35714;
  --orange-glow:  rgba(231,117,28,0.18);

  /* Ink */
  --bg:           #060a14;
  --bg-2:         #0a111f;
  --surface:      #0e1626;
  --surface-2:    #131d31;
  --surface-3:    #1a253c;
  --border:       #1e2a44;
  --border-2:     #2b3a59;
  --border-hi:    #3d5080;

  /* Text */
  --text:         #e5e9f2;
  --text-dim:     #8a97b3;
  --text-muted:   #586684;
  --text-faint:   #3a4760;

  /* Signals */
  --ok:           #35d38c;
  --ok-dim:       #17693f;
  --warn:         #f9b83b;
  --err:          #ff5d5d;
  --info:         #6fb1ff;

  /* Type */
  --font-ui:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Sizing */
  --sidebar-w:    228px;
  --topbar-h:     40px;
  --statusbar-h:  28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { min-height: 100vh; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.005em;
}
/* Only lock body scroll when the new shell is in use */
body.app-shell { overflow: hidden; height: 100vh; }

a { color: var(--orange); text-decoration: none; transition: color 0.1s; }
a:hover { color: #ff955a; }

::selection { background: var(--orange-glow); color: var(--text); }

/* ===== Layout grid ===== */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-rows: var(--topbar-h) 1fr var(--statusbar-h);
  grid-template-areas:
    "sidebar topbar"
    "sidebar main"
    "sidebar statusbar";
  height: 100vh;
  width: 100vw;
}

/* ===== Sidebar ===== */
.sidebar {
  grid-area: sidebar;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-brand img { height: 26px; width: auto; }
.sidebar-brand .label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}
.sidebar-brand .title {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--text);
}

.sidebar-section {
  padding: 0.5rem 0.75rem 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
  font-weight: 600;
}

.sidebar nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-2) transparent;
}
.sidebar nav::-webkit-scrollbar { width: 6px; }
.sidebar nav::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
.sidebar nav::-webkit-scrollbar-track { background: transparent; }
.sidebar nav a {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.3rem 0.75rem;
  color: var(--text-dim);
  font-size: 0.76rem;
  border-left: 2px solid transparent;
  transition: all 0.1s;
  text-decoration: none;
}
.sidebar nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}
.sidebar nav a.active {
  background: var(--surface-2);
  color: var(--orange);
  border-left-color: var(--orange);
}
.sidebar nav a svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.sidebar-foot {
  padding: 0.45rem 0.75rem 0.55rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.45;
  flex-shrink: 0;
}
.sidebar-foot .pulse-dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--ok); border-radius: 50%;
  animation: dot-pulse 2s infinite;
  margin-right: 0.35rem;
}
@keyframes dot-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== Topbar (breadcrumb + global actions) ===== */
.topbar {
  grid-area: topbar;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.crumb {
  display: flex; align-items: center; gap: 0.5rem;
}
.crumb .sep { color: var(--text-faint); }
.crumb .cur { color: var(--text); }
.topbar .right {
  margin-left: auto;
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.7rem;
}
.topbar .env {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.topbar .env .live {
  color: var(--ok);
  font-weight: 700;
}
.topbar .clock {
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ===== Main ===== */
.main {
  grid-area: main;
  overflow-y: auto;
  padding: 0;
  background: var(--bg);
}

.page-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 1.1rem 1.5rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.page-head h1 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--text);
}
.page-head .page-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 1rem;
}
.page-head .dot-live {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); margin-right: 0.35rem;
  animation: dot-pulse 2s infinite;
}

.content { padding: 1.25rem 1.5rem 2rem; }

/* ===== Section dividers ===== */
h2.section {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.65rem;
}
h2.section::before {
  content: "■";
  color: var(--orange);
  font-size: 0.55rem;
  letter-spacing: 0;
}

/* ===== Metric tiles ===== */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.metric {
  background: var(--surface);
  padding: 0.75rem 0.95rem;
  position: relative;
  transition: background 0.15s;
}
.metric:hover { background: var(--surface-2); }
.metric .label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.metric .value {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.01em;
}
.metric .sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}
.metric.accent { border-left: 2px solid var(--orange); padding-left: calc(0.95rem - 2px); }
.metric.accent .value { color: var(--orange); }
.metric.ok .value { color: var(--ok); }
.metric.warn .value { color: var(--warn); }
.metric.err .value { color: var(--err); }
.metric.info .value { color: var(--info); }

/* ===== Panels (data containers) ===== */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 700;
}
.panel-head .meta { color: var(--text-muted); font-weight: 400; letter-spacing: 0.04em; }
.panel-body { padding: 0.85rem; }
.panel-body.tight { padding: 0; }

/* ===== Tables — Bloomberg density ===== */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
thead th {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  text-align: left;
  padding: 0.45rem 0.7rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
}
tbody td {
  padding: 0.45rem 0.7rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
tbody tr { transition: background 0.08s; }
tbody tr:hover td { background: var(--surface-2); }
tbody tr.clickable { cursor: pointer; }
td.num, td.mono, th.num, th.mono { font-family: var(--font-mono); letter-spacing: 0.01em; }
td.num, th.num { text-align: right; }
td.dim { color: var(--text-dim); }
td.small { font-size: 0.72rem; }

/* ===== Status / pills ===== */
.stat {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.15rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid currentColor;
  color: var(--text-muted);
}
.stat::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
}
.stat.idle    { color: var(--ok); }
.stat.running { color: var(--info); }
.stat.running::before { animation: dot-pulse 0.8s infinite; }
.stat.error   { color: var(--err); }
.stat.warn    { color: var(--warn); }

.pill {
  display: inline-block;
  padding: 1px 7px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text-dim);
}
.pill.accent { border-color: var(--orange); color: var(--orange); }
.pill.ok     { border-color: var(--ok); color: var(--ok); }
.pill.warn   { border-color: var(--warn); color: var(--warn); }
.pill.err    { border-color: var(--err); color: var(--err); }
.pill.info   { border-color: var(--info); color: var(--info); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.1s;
}
.btn:hover { border-color: var(--orange); color: var(--orange); }
.btn.primary { background: var(--orange); border-color: var(--orange); color: var(--bg); }
.btn.primary:hover { background: #ff955a; border-color: #ff955a; color: var(--bg); }
.btn.ghost { background: transparent; }
.btn.ok { border-color: var(--ok); color: var(--ok); }
.btn.ok:hover { background: rgba(53,211,140,0.1); }
.btn.err { border-color: var(--err); color: var(--err); }
.btn.err:hover { background: rgba(255,93,93,0.1); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ===== Info rows (key/value lists) ===== */
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 0.4rem 1rem; font-size: 0.8rem; }
.kv .k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 2px;
}
.kv .v { font-family: var(--font-mono); color: var(--text); }
.kv .v.wrap { font-family: var(--font-ui); letter-spacing: 0.01em; }

/* ===== Grid layouts ===== */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }

/* ===== Bars ===== */
.bar { background: var(--bg-2); height: 14px; overflow: hidden; border: 1px solid var(--border); position: relative; }
.bar-fill {
  height: 100%;
  background: var(--orange);
  transition: width 0.3s;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--bg);
  font-weight: 700;
  padding-left: 5px;
  line-height: 12px;
  white-space: nowrap;
}
.bar-fill.navy { background: var(--navy-light); color: var(--text); }
.bar-fill.ok   { background: var(--ok); color: var(--bg); }
.bar-fill.warn { background: var(--warn); color: var(--bg); }
.bar-fill.err  { background: var(--err); color: #fff; }

/* ===== Inputs ===== */
input[type="text"], input[type="number"], input[type="email"], select, textarea {
  width: 100%;
  padding: 0.4rem 0.6rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  transition: border-color 0.1s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange-glow);
}
::placeholder { color: var(--text-faint); }

/* ===== Alerts ===== */
.alert {
  padding: 0.6rem 0.9rem;
  background: var(--surface);
  border-left: 2px solid var(--info);
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}
.alert.ok   { border-left-color: var(--ok); }
.alert.warn { border-left-color: var(--warn); }
.alert.err  { border-left-color: var(--err); }

/* ===== Status bar (bottom) ===== */
.statusbar {
  grid-area: statusbar;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  gap: 1.5rem;
}
.statusbar .item { display: flex; align-items: center; gap: 0.4rem; }
.statusbar .item .k { color: var(--text-faint); }
.statusbar .item .v { color: var(--text-dim); }
.statusbar .right { margin-left: auto; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); }
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

/* ===== Utility ===== */
.row { display: flex; gap: 0.5rem; align-items: center; }
.row-wrap { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.small { font-size: 0.72rem; }
.xs { font-size: 0.65rem; }
.text-accent { color: var(--orange); }
.text-ok { color: var(--ok); }
.text-err { color: var(--err); }
.mb-05 { margin-bottom: 0.5rem; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 1.5rem; }
.mt-05 { margin-top: 0.5rem; } .mt-1 { margin-top: 1rem; }
.w-full { width: 100%; }
.nowrap { white-space: nowrap; }

/* ===== Special: Org chart dept rows ===== */
.dept {
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.dept-head {
  background: var(--surface-2);
  border-left: 3px solid var(--orange);
  padding: 0.65rem 0.95rem;
  display: flex; align-items: center; justify-content: space-between;
}
.dept-head .dept-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text);
}
.dept-head .dept-count {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.dept-body {
  padding: 0.85rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0.85rem;
}
@media (max-width: 960px) { .dept-body { grid-template-columns: 1fr; } }

.mgr-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--orange);
  padding: 0.7rem 0.85rem;
}
.mgr-card .role {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.mgr-card .name { font-weight: 700; font-size: 0.88rem; margin-bottom: 0.5rem; }

.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.5rem; }
.emp-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  font-size: 0.76rem;
}
.emp-card .emp-name { font-weight: 600; margin-bottom: 0.2rem; }
.emp-card .emp-meta { font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-muted); letter-spacing: 0.04em; }

/* ===== Charts scoped ===== */
.chart-wrap { position: relative; height: 220px; }

/* ===== Content / article body (for generated articles) ===== */
.article-body { line-height: 1.7; font-size: 0.88rem; color: var(--text); }
.article-body h2 { font-size: 1rem; margin: 1.5rem 0 0.6rem; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 0.3rem; font-weight: 700; }
.article-body h3 { font-size: 0.88rem; margin: 1rem 0 0.4rem; color: var(--text-dim); }
.article-body p { margin-bottom: 0.85rem; }
.article-body ul, .article-body ol { margin: 0.75rem 0 0.75rem 1.3rem; }
.article-body strong { color: var(--orange); }

/* ===== Legacy class shims so we don't break old templates mid-update ===== */
/* --- Legacy topbar layout (for templates that haven't been migrated to _shell.html yet) --- */
.container { padding: 1.25rem 1.5rem; max-width: 1600px; margin: 0 auto; }
.container-narrow { max-width: 1100px; margin: 0 auto; padding: 1.25rem 1.5rem; }

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.topbar::before { content: none; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { height: 32px; width: auto; }
.brand-divider { width: 1px; height: 22px; background: var(--border-2); }
.brand-sub {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em;
  color: var(--text-muted); text-transform: uppercase; font-weight: 700;
}
.brand-mark {
  width: 9px; height: 9px; background: var(--orange); transform: rotate(45deg);
  box-shadow: 0 0 8px var(--orange-glow);
}
.brand-mark.pulse { animation: dot-pulse 2s infinite; }

.nav {
  display: flex; gap: 1.35rem;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
}
.nav a {
  color: var(--text-dim);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.15s;
}
.nav a:hover, .nav a.active { color: var(--orange); border-bottom-color: var(--orange); }
.card { background: var(--surface); border: 1px solid var(--border); padding: 0.85rem; margin-bottom: 0.75rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-bottom: 1rem; }
.stat-grid > .stat { background: var(--surface); padding: 0.75rem 0.95rem; border: 0; font-family: inherit; font-size: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.stat-grid > .stat::before { display: none; }
.stat-grid > .stat .label { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-bottom: 0.35rem; display: block; }
.stat-grid > .stat .value { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 500; color: var(--text); display: block; line-height: 1; }
.stat-grid > .stat .sub { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); margin-top: 0.4rem; display: block; }
.stat-grid > .stat.accent { border-left: 2px solid var(--orange); padding-left: calc(0.95rem - 2px); }
.stat-grid > .stat.accent .value { color: var(--orange); }
.stat-grid > .stat.ok .value { color: var(--ok); }
.stat-grid > .stat.warn .value { color: var(--warn); }
.stat-grid > .stat.err .value { color: var(--err); }
.stat-grid > .stat.info .value { color: var(--info); }
.stat-grid > .stat.purple .value { color: var(--info); }
.stat-grid > .stat.blue .value { color: var(--info); }
.stat-grid > .stat.orange .value { color: var(--orange); }
.stat-grid > .stat.green .value { color: var(--ok); }
.status { /* legacy agent card status */
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.15rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 700;
  border: 1px solid currentColor;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-idle    { color: var(--ok); }
.status-running { color: var(--info); }
.status-running::before { animation: dot-pulse 0.8s infinite; }
.status-error   { color: var(--err); }
.info-row { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid var(--border); font-size: 0.76rem; }
.info-row:last-child { border-bottom: none; }
.info-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.info-value { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text); text-align: right; }
.result-box { background: var(--bg-2); border: 1px solid var(--border); padding: 0.5rem 0.7rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); max-height: 110px; overflow-y: auto; margin: 0.55rem 0; line-height: 1.55; }
.pill-accent { border-color: var(--orange); color: var(--orange); }
.pill-ok     { border-color: var(--ok); color: var(--ok); }
.pill-warn   { border-color: var(--warn); color: var(--warn); }
.pill-err    { border-color: var(--err); color: var(--err); }
.footer { padding: 1rem 1.5rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); text-align: center; }
