/* ===== Hino ERP — Product Mockup (Dashboard Industrial) ===== */
/* CSS-only mock dashboard reused on multiple pages */

.mock {
  --mock-bg:    color-mix(in oklab, var(--bg) 70%, #000);
  --mock-panel: color-mix(in oklab, var(--bg-2) 80%, #000);
  --mock-line:  var(--line);
  position: relative;
  border-radius: 14px;
  background: var(--mock-bg);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  font-family: var(--font-mono);
  color: var(--fg-2);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.02);
}
html[data-theme="light"] .mock { box-shadow: 0 30px 60px rgba(13,30,138,0.10), inset 0 0 0 1px rgba(13,30,138,0.04); }

.mock-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-bottom: 1px solid var(--mock-line);
  background: var(--mock-panel);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3);
}
/* Controles de janela estilo Windows (– □ ✕) */
.mock-bar .dots { display: flex; gap: 0; }
.mock-bar .dots i { width: 28px; height: 18px; border-radius: 0; background: transparent; display: grid; place-items: center; font-style: normal; font-size: 11px; line-height: 1; color: var(--fg-3); }
.mock-bar .dots i:first-child::before { content: '\2013'; }
.mock-bar .dots i:nth-child(2)::before { content: '\25A1'; }
.mock-bar .dots i:nth-child(3)::before { content: '\2715'; }
.mock-bar .crumb { color: var(--fg); }
.mock-bar .live { margin-left: auto; color: var(--good); display:flex; align-items:center; gap:6px; }
.mock-bar .live::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); }

.mock-body {
  display: grid; grid-template-columns: 180px 1fr; min-height: 460px;
}
.mock-side {
  border-right: 1px solid var(--mock-line);
  padding: 16px 12px; display: flex; flex-direction: column; gap: 4px;
  background: color-mix(in oklab, var(--bg-2) 70%, transparent);
}
.mock-side h6 {
  font-size: 9px; letter-spacing: 0.18em; color: var(--fg-4);
  text-transform: uppercase; margin: 12px 6px 6px;
}
.mock-side a {
  font-family: var(--font-body); font-size: 12.5px; color: var(--fg-3);
  padding: 7px 10px; border-radius: 5px; display:flex; gap:8px; align-items:center;
}
.mock-side a.on { background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--fg); }
.mock-side a.on::before { content:''; width: 3px; height: 14px; background: var(--accent); border-radius:2px; }
.mock-side a:not(.on)::before { content:''; width: 3px; height: 14px; background: transparent; }

.mock-main { padding: 18px 22px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mock-h { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.mock-h h3 { font-family: var(--font-head); font-size: 22px; text-transform: uppercase; color: var(--fg); letter-spacing: 0.01em; }
.mock-h .meta { font-size: 10.5px; color: var(--fg-3); }

.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-kpi {
  border: 1px solid var(--mock-line); border-radius: 8px; padding: 12px;
  background: color-mix(in oklab, var(--bg-2) 50%, transparent);
}
.mock-kpi .l { font-size: 9px; letter-spacing: 0.16em; color: var(--fg-4); text-transform: uppercase; }
.mock-kpi .v { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--fg); line-height: 1; margin-top: 6px; }
.mock-kpi .d { font-size: 10.5px; color: var(--good); margin-top: 4px; }
.mock-kpi .d.bad { color: var(--bad); }

.mock-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.mock-card {
  border: 1px solid var(--mock-line); border-radius: 8px; padding: 14px;
  background: color-mix(in oklab, var(--bg-2) 50%, transparent);
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.mock-card h4 { font-family: var(--font-body); font-size: 12px; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.1em; }
.mock-card .sub { font-size: 10px; color: var(--fg-4); }

/* Sparkline chart */
.chart {
  height: 140px; width: 100%;
  background:
    linear-gradient(to top, color-mix(in oklab, var(--accent) 8%, transparent), transparent 60%);
  border-radius: 4px; position: relative; overflow: hidden;
}
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart .grid line { stroke: var(--mock-line); stroke-dasharray: 2 4; }

/* Production list */
.mock-list { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-body); }
.mock-list .row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px;
  font-size: 12px; padding: 8px 0; border-bottom: 1px dashed var(--mock-line);
}
.mock-list .row:last-child { border-bottom: none; }
.mock-list .row .label { color: var(--fg-2); }
.mock-list .row .num { font-family: var(--font-mono); font-size: 11px; color: var(--fg); }
.mock-list .row .status { font-family: var(--font-mono); font-size: 10px; padding: 2px 8px; border-radius: 999px; }
.s-ok { color: var(--good); background: color-mix(in oklab, var(--good) 14%, transparent); }
.s-wait { color: var(--warn); background: color-mix(in oklab, var(--warn) 14%, transparent); }
.s-run { color: var(--accent); background: color-mix(in oklab, var(--accent) 14%, transparent); }

/* OEE bars */
.oee { display: flex; flex-direction: column; gap: 12px; }
.oee-row { display: grid; grid-template-columns: 80px 1fr 50px; gap: 10px; align-items: center; font-size: 11.5px; }
.oee-row .name { color: var(--fg-2); }
.oee-row .bar { height: 8px; background: color-mix(in oklab, var(--bg-2) 50%, transparent); border-radius: 4px; overflow: hidden; }
.oee-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 4px; }
.oee-row .pct { font-family: var(--font-mono); color: var(--fg); text-align: right; }

/* ========================================================================
   WINDOWS ERP MOCK — replica do client desktop (estilo "Hino ERP" Windows)
   Header azul, ribbon cinza com ícones, grade tabular com status coloridos
   ======================================================================== */

.erp-win {
  position: relative;
  border-radius: 8px;
  background: #ecf0f5;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  color: #1a2030;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 12px;
  user-select: none;
}

/* Title bar */
.erp-win .ew-title {
  height: 28px; display: flex; align-items: center;
  padding: 0 8px 0 6px; gap: 8px;
  background: linear-gradient(180deg, #fdfdfd 0%, #e6e8ec 100%);
  border-bottom: 1px solid #c5c9d0;
  font-size: 11.5px; color: #2a2f3a; font-weight: 500;
}
.erp-win .ew-title .ew-logo {
  width: 22px; height: 22px; border-radius: 50%;
  background: #0B3354; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #18B5F5; font-size: 13px;
  flex-shrink: 0; box-shadow: inset 0 -1px 0 rgba(0,0,0,0.2);
}
.erp-win .ew-title .ew-caption { flex: 1; text-align: center; color: #1d2230; }
.erp-win .ew-title .ew-win-btns { display: flex; gap: 0; }
.erp-win .ew-title .ew-win-btns i {
  width: 30px; height: 22px; display: grid; place-items: center;
  font-size: 11px; color: #4a5060; cursor: default;
}
.erp-win .ew-title .ew-win-btns i:hover { background: rgba(0,0,0,0.06); }
.erp-win .ew-title .ew-win-btns .close:hover { background: #e81123; color: white; }

/* Tabs row */
.erp-win .ew-tabs {
  display: flex; align-items: end; gap: 0;
  padding: 4px 8px 0; height: 26px;
  background: #d8dde4;
  border-bottom: 1px solid #aab0bc;
}
.erp-win .ew-tabs .tab {
  padding: 4px 14px 5px; font-size: 11.5px; color: #2a2f3a;
  background: #c8ced8; border: 1px solid #aab0bc; border-bottom: none;
  border-radius: 4px 4px 0 0; margin-right: 1px;
  display: flex; align-items: center; gap: 6px;
}
.erp-win .ew-tabs .tab i.dot { width: 10px; height: 10px; display: inline-block; }
.erp-win .ew-tabs .tab.on { background: #ecf0f5; border-bottom: 1px solid #ecf0f5; color: #0b3c8c; font-weight: 600; }

/* Ribbon */
.erp-win .ew-ribbon {
  background: #ecf0f5;
  border-bottom: 1px solid #aab0bc;
  padding: 8px 10px 4px;
  display: flex; gap: 4px; align-items: stretch;
}
.erp-win .ew-ribbon .grp {
  display: flex; flex-direction: column; align-items: stretch;
  border-right: 1px solid #cbd0d9; padding: 0 8px 2px;
}
.erp-win .ew-ribbon .grp:last-child { border-right: none; }
.erp-win .ew-ribbon .icons { display: flex; gap: 4px; padding: 2px 0 4px; }
.erp-win .ew-ribbon .lbl {
  font-size: 9.5px; color: #50566a; text-align: center;
  border-top: 1px dotted #c5c9d0; padding-top: 2px;
}
.erp-win .ew-ribbon .ric {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 3px 6px; border-radius: 3px; cursor: default;
  min-width: 52px; font-size: 9.5px; color: #2a2f3a;
}
.erp-win .ew-ribbon .ric:hover { background: #d8dee9; outline: 1px solid #a5b3cc; }
.erp-win .ew-ribbon .ric .ic {
  width: 26px; height: 26px; display: grid; place-items: center;
  font-size: 15px; line-height: 1;
}
.erp-win .ew-ribbon .ric.sm { min-width: 0; flex-direction: row; gap: 5px; padding: 2px 5px; }
.erp-win .ew-ribbon .ric.sm .ic { width: 16px; height: 16px; font-size: 12px; }
.erp-win .ew-ribbon .col { display: flex; flex-direction: column; gap: 1px; padding: 1px 0; }

/* Subtabs (window doc tabs like "Pedido de Venda x") */
.erp-win .ew-doctabs {
  background: #ecf0f5; border-bottom: 1px solid #c5c9d0;
  display: flex; align-items: center; gap: 0; height: 24px; padding: 0 4px;
}
.erp-win .ew-doctabs .dtab {
  padding: 3px 12px 4px; font-size: 11.5px; color: #2a2f3a;
  background: #d8dde4; border: 1px solid #aab0bc; border-bottom: none;
  margin-right: 1px; display: flex; align-items: center; gap: 8px;
  border-radius: 3px 3px 0 0;
}
.erp-win .ew-doctabs .dtab.on { background: #ffffff; color: #0b3c8c; font-weight: 600; border-bottom: 1px solid #ffffff; }
.erp-win .ew-doctabs .dtab .x { color: #888; font-size: 11px; }

/* Toolbar above grid */
.erp-win .ew-toolbar {
  display: flex; align-items: center; gap: 4px; padding: 4px 8px;
  background: #f7f8fa; border-bottom: 1px solid #c5c9d0; height: 26px;
  font-size: 11.5px; color: #2a2f3a;
}
.erp-win .ew-toolbar .sep { width: 1px; height: 18px; background: #c5c9d0; margin: 0 4px; }
.erp-win .ew-toolbar button {
  font-size: 11.5px; padding: 2px 8px; color: #2a2f3a;
  display: inline-flex; align-items: center; gap: 4px; border-radius: 3px;
}
.erp-win .ew-toolbar button:hover { background: #d8dee9; outline: 1px solid #a5b3cc; }

/* Grid */
.erp-win .ew-grid { background: #ffffff; padding: 0; max-height: 420px; overflow: hidden; position: relative; }
.erp-win .ew-grid table { width: 100%; border-collapse: collapse; font-size: 11px; }
.erp-win .ew-grid thead th {
  background: linear-gradient(180deg, #f3f5f8, #e0e4ec);
  border-right: 1px solid #c5c9d0; border-bottom: 1px solid #aab0bc;
  padding: 4px 8px; text-align: left; font-weight: 600; color: #1a2030;
  font-size: 10.5px;
}
.erp-win .ew-grid tbody td {
  padding: 3px 8px; border-right: 1px solid #e6e8ec; border-bottom: 1px solid #e6e8ec;
  font-size: 11px; color: #1a2030;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.erp-win .ew-grid tbody tr.r-yellow td { background: #fff7c9; }
.erp-win .ew-grid tbody tr.r-green td  { background: #d5f0b6; }
.erp-win .ew-grid tbody tr.r-blue td   { background: #cfe6ff; }
.erp-win .ew-grid .cl-blue   { color: #0b58c9; text-decoration: underline; }
.erp-win .ew-grid .pill { display: inline-block; padding: 1px 6px; border-radius: 2px; font-size: 10px; font-weight: 600; }
.erp-win .ew-grid .p-aprov   { background: #c2e7b0; color: #1f5f1a; }
.erp-win .ew-grid .p-pend    { background: #ffe0a3; color: #7a4500; }
.erp-win .ew-grid .p-aguard  { background: #ffd66b; color: #6f4a00; }
.erp-win .ew-grid .p-separ   { background: #b6dafb; color: #0b3c8c; }
.erp-win .ew-grid .p-fechado { background: #ffb4b4; color: #7a1a1a; }
.erp-win .ew-grid .p-aberto  { background: #c2e7b0; color: #1f5f1a; }

/* Right filter sidebar in ERP */
.erp-win .ew-filters {
  position: absolute; right: 0; top: 0; bottom: 0; width: 168px;
  background: #f7f8fa; border-left: 1px solid #c5c9d0;
  padding: 10px 12px; font-size: 11px; color: #1a2030;
  display: flex; flex-direction: column; gap: 8px;
}
.erp-win .ew-filters h6 { font-size: 10.5px; color: #50566a; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; margin: 2px 0; }
.erp-win .ew-filters .fld {
  background: #fff; border: 1px solid #c5c9d0; padding: 2px 5px;
  display: flex; justify-content: space-between; align-items: center; font-size: 10.5px;
}
.erp-win .ew-filters .chk { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.erp-win .ew-filters .chk b { display: inline-block; width: 11px; height: 11px; border: 1px solid #8a8f9b; background: #fff; }
.erp-win .ew-filters .chk.on b { background: #0B3354; border-color: #0b3c8c; box-shadow: inset 0 0 0 2px #fff; }

/* Status bar */
.erp-win .ew-status {
  background: linear-gradient(180deg, #dde2ea, #c8ced8);
  border-top: 1px solid #aab0bc;
  padding: 4px 12px; display: flex; gap: 18px; font-size: 11px; color: #1a2030;
}
.erp-win .ew-status b { font-weight: 600; }
.erp-win .ew-status .right { margin-left: auto; display: flex; gap: 12px; align-items: center; }

/* Make the grid sit nicely with filter panel */
.erp-win .ew-grid.with-filters { padding-right: 168px; }

/* ========================================================================
   BI PORTAL MOCK — dark glassmorphic web (estilo Portal Onihtech)
   ======================================================================== */

.bi-portal {
  position: relative;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 0%, rgba(24,181,245,0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(37,224,198,0.08) 0%, transparent 40%),
    linear-gradient(180deg, #0d1018 0%, #141720 55%, #0f121a 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
}
.bi-portal .bp-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(13,16,24,0.7); backdrop-filter: blur(12px);
}
/* Controles de janela estilo Windows (– □ ✕) */
.bi-portal .bp-bar .dots { display: flex; gap: 0; }
.bi-portal .bp-bar .dots i { width: 26px; height: 16px; border-radius: 0; background: transparent; display: grid; place-items: center; font-style: normal; font-size: 10px; line-height: 1; color: rgba(255,255,255,0.45); }
.bi-portal .bp-bar .dots i:nth-child(1)::before { content: '\2013'; }
.bi-portal .bp-bar .dots i:nth-child(2)::before { content: '\25A1'; }
.bi-portal .bp-bar .dots i:nth-child(3)::before { content: '\2715'; }
.bi-portal .bp-bar .brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: 0.02em;
}
.bi-portal .bp-bar .brand-mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #0B3354, #18B5F5); display: grid; place-items: center; font-size: 13px; color: #fff; }
.bi-portal .bp-bar .ml { display: flex; gap: 2px; margin-left: 12px; }
.bi-portal .bp-bar .ml a {
  font-size: 11.5px; color: rgba(255,255,255,0.55); padding: 6px 10px; border-radius: 7px;
  display: flex; gap: 6px; align-items: center;
}
.bi-portal .bp-bar .ml a.on { color: #fff; background: rgba(255,255,255,0.05); }
.bi-portal .bp-bar .ml a .ic { width: 6px; height: 6px; border-radius: 50%; }
.bi-portal .bp-bar .stab {
  margin-left: auto; padding: 6px 12px; font-size: 11.5px; color: #fff;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; display: flex; align-items: center; gap: 8px;
}

.bi-portal .bp-main { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 18px; }

.bi-portal .bp-h {
  display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.bi-portal .bp-h .eyebrow {
  font: 500 10px/1 'Inter'; letter-spacing: 0.18em; text-transform: uppercase;
  color: #25E0C6; text-shadow: 0 0 12px rgba(37,224,198,0.5); margin-bottom: 8px;
}
.bi-portal .bp-h h3 { font: 600 22px/1 'Inter'; letter-spacing: -0.02em; }
.bi-portal .bp-h .sub { font: 500 11.5px Inter; color: rgba(255,255,255,0.42); margin-top: 6px; }
.bi-portal .bp-h .actions { display: flex; gap: 8px; }
.bi-portal .bp-h .actions button {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  background: linear-gradient(180deg, rgba(37,224,198,0.20), rgba(24,181,245,0.10));
  border: 1px solid rgba(37,224,198,0.35); border-radius: 8px;
  color: #fff; font: 600 11px Inter;
}

/* KPI strip — single Glass card with 6 segments */
.bi-portal .bp-strip {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
  backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  overflow: hidden;
}
.bi-portal .bp-cell {
  padding: 16px 18px 14px; position: relative; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; gap: 8px;
}
.bi-portal .bp-cell:last-child { border-right: none; }
.bi-portal .bp-cell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c, #18B5F5) 0%, transparent 100%);
}
.bi-portal .bp-cell .l {
  font: 500 9px Inter; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.36);
}
.bi-portal .bp-cell .v {
  font: 600 18px Inter; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
  color: #fff; line-height: 1;
}
.bi-portal .bp-cell .t {
  font: 500 10px Inter; color: var(--c, #18B5F5); display: flex; align-items: center; gap: 4px;
  margin-top: auto;
}
.bi-portal .bp-cell .t.down { color: #FF4B6E; }
.bi-portal .bp-cell .spark { height: 18px; width: 50px; margin-left: auto; align-self: flex-end; }

/* Big content row */
.bi-portal .bp-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.bi-portal .bp-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
  border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.bi-portal .bp-card h4 { font: 600 13.5px Inter; color: #fff; }
.bi-portal .bp-card .sub { font: 500 10.5px Inter; color: rgba(255,255,255,0.42); margin-top: -10px; }
.bi-portal .bp-legend { display: flex; gap: 14px; }
.bi-portal .bp-legend span { font: 500 10.5px Inter; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 5px; }
.bi-portal .bp-legend i { width: 7px; height: 7px; border-radius: 2px; }

/* OEE bars (BI) */
.bi-portal .oee2 { display: flex; flex-direction: column; gap: 12px; }
.bi-portal .oee2 .row { display: flex; flex-direction: column; gap: 4px; }
.bi-portal .oee2 .row .top { display: flex; justify-content: space-between; font: 500 11.5px Inter; color: #fff; }
.bi-portal .oee2 .row .top span:last-child { font-variant-numeric: tabular-nums; }
.bi-portal .oee2 .row .top span:last-child.bad { color: #FF4B6E; }
.bi-portal .oee2 .row .top span:last-child.ok { color: #25E0C6; }
.bi-portal .oee2 .row .seg { height: 5px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.bi-portal .oee2 .row .seg i { display: block; height: 100%; border-radius: 99px; }
.bi-portal .oee2 .row .comps { display: flex; gap: 12px; font: 500 9.5px Inter; color: rgba(255,255,255,0.45); }

/* Status ring layout */
.bi-portal .ring-wrap { display: flex; align-items: center; gap: 18px; }
.bi-portal .ring-legend { flex: 1; display: flex; flex-direction: column; gap: 8px; font: 500 11.5px Inter; }
.bi-portal .ring-legend .row { display: flex; align-items: center; gap: 8px; }
.bi-portal .ring-legend .row i { width: 7px; height: 7px; border-radius: 50%; }
.bi-portal .ring-legend .row .name { flex: 1; color: rgba(255,255,255,0.75); }
.bi-portal .ring-legend .row .qtd { color: #fff; font: 700 12px Inter; }
.bi-portal .ring-legend .row .pct { color: rgba(255,255,255,0.4); font: 500 10.5px Inter; width: 34px; text-align: right; }

/* Health bar — slim row in BI */
.bi-portal .bp-health {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
  border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  padding: 12px 20px;
}
.bi-portal .bp-health .score { display: flex; align-items: center; gap: 12px; }
.bi-portal .bp-health .ring { width: 48px; height: 48px; position: relative; }
.bi-portal .bp-health .ring .n { position: absolute; inset: 0; display: grid; place-items: center; font: 700 12px Inter; color: #fff; }
.bi-portal .bp-health .lab .eb { font: 500 9px Inter; color: rgba(255,255,255,0.4); letter-spacing: 0.14em; text-transform: uppercase; }
.bi-portal .bp-health .lab .v { font: 600 12px Inter; color: #fff; margin-top: 2px; }
.bi-portal .bp-health .lab .v b { color: #25E0C6; font-weight: 700; }
.bi-portal .bp-health .dims { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bi-portal .bp-health .dim .top { display: flex; justify-content: space-between; font: 500 9.5px Inter; color: rgba(255,255,255,0.42); margin-bottom: 4px; }
.bi-portal .bp-health .dim .top b { font: 600 11px Inter; font-variant-numeric: tabular-nums; }
.bi-portal .bp-health .dim .seg { height: 3px; border-radius: 99px; background: rgba(255,255,255,0.05); overflow: hidden; }
.bi-portal .bp-health .dim .seg i { display: block; height: 100%; border-radius: 99px; }

/* Floating annotations */
.mock-annot {
  position: absolute; font-family: var(--font-mono); font-size: 10px;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; border: 1px dashed var(--accent); border-radius: 4px;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
}
