/* =========================================================================
   CDH Asset Explorer — command-center dashboard
   ========================================================================= */
:root {
  --blue:        #1955A6;
  --blue-lt:     #63A9FE;
  --blue-soft:   #EAF1FB;
  --green:       #033529;
  --teal:        #0E9E83;
  --teal-lt:     #17F1BD;
  --gold:        #E0A11B;
  --open:        #1F8A70;
  --restricted:  #C2691C;
  --unknown:     #7C8A99;

  --ink:         #0F1F2B;
  --ink-soft:    #3D4F5C;
  --muted:       #6B7B88;
  --line:        #E3E9F0;
  --line-soft:   #EEF2F7;
  --bg:          #F4F7FB;
  --card:        #FFFFFF;

  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 1px 2px rgba(15,31,43,.05), 0 8px 24px rgba(15,31,43,.06);
  --shadow-lg:   0 12px 48px rgba(15,31,43,.18);
  --rail-w:      264px;
  --topbar-h:    66px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

h1, h2, h3, h4, h5 { font-family: "IBM Plex Sans", sans-serif; margin: 0; }

button { font-family: inherit; cursor: pointer; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.25rem;
  background: var(--green);
  color: #fff;
}

.brand { display: flex; align-items: center; gap: .7rem; min-width: 200px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--teal-lt), var(--blue-lt));
}
.brand-eyebrow { margin: 0; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.brand h1 { font-size: 1.12rem; font-weight: 600; line-height: 1.1; }

.viewnav { display: flex; gap: .4rem; flex: 1; }
.viewtab {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: .35rem .85rem;
  border: 0; border-radius: 10px;
  background: transparent; color: rgba(255,255,255,.8);
  text-align: left;
  transition: background .15s, color .15s;
}
.viewtab:hover { background: rgba(255,255,255,.1); color: #fff; }
.viewtab.is-active { background: rgba(255,255,255,.16); color: #fff; }
.viewtab-title { font-family: "IBM Plex Sans"; font-weight: 600; font-size: .96rem; }
.viewtab-sub { font-size: .72rem; opacity: .75; }

.topbar-actions { display: flex; align-items: center; gap: .6rem; }
.ghost-link { color: #fff; text-decoration: none; font-weight: 600; font-size: .85rem; opacity: .85; }
.ghost-link:hover { opacity: 1; }

.btn { border: 0; border-radius: 9px; padding: .5rem .85rem; font-weight: 600; font-size: .85rem; }
.btn-quiet { background: rgba(255,255,255,.16); color: #fff; }
.btn-quiet:hover { background: rgba(255,255,255,.26); }

/* ---------- KPI strip ---------- */
.kpi-strip {
  position: sticky; top: var(--topbar-h); z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.kpi { background: var(--card); padding: .7rem 1.1rem; display: flex; flex-direction: column; gap: .1rem; }
.kpi-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.kpi strong { font-family: "IBM Plex Sans"; font-size: 1.55rem; font-weight: 700; line-height: 1.1; }
.kpi-foot { font-size: .72rem; color: var(--muted); }
.kpi-accent { background: linear-gradient(180deg, #fff, var(--blue-soft)); }
.kpi-accent strong { color: var(--blue); }
button.kpi { border: 0; font: inherit; text-align: left; cursor: pointer; }
button.kpi:hover { filter: brightness(.985); }
button.kpi:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: var(--rail-w) 1fr; align-items: start; }

/* ---------- Filter rail ---------- */
.rail {
  position: sticky;
  top: calc(var(--topbar-h) + 62px);
  height: calc(100vh - var(--topbar-h) - 62px);
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--card);
}
.rail-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem .6rem; }
.rail-head h2 { font-size: 1rem; }
.link-btn { background: none; border: 0; color: var(--blue); font-weight: 600; font-size: .82rem; padding: .2rem; }
.link-btn:hover { text-decoration: underline; }

.search-box { padding: 0 1.1rem .7rem; }
.search-box input {
  width: 100%; padding: .55rem .7rem;
  border: 1px solid var(--line); border-radius: 9px;
  font-size: .9rem; background: var(--bg);
}
.search-box input:focus { outline: 2px solid var(--blue-lt); border-color: var(--blue-lt); }

.actnow-btn {
  margin: 0 1.1rem .6rem; padding: .55rem .7rem;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--bg); color: var(--ink-soft); font-weight: 600; font-size: .85rem;
  text-align: left;
}
.actnow-btn:hover { border-color: var(--blue-lt); }
.actnow-btn[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }

.rail-scroll { flex: 1; overflow-y: auto; padding: 0 1.1rem 1rem; }

.filter-group { border-top: 1px solid var(--line-soft); padding: .65rem 0; }
.filter-group summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: .85rem; color: var(--ink-soft);
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "▸"; color: var(--muted); transition: transform .15s; }
.filter-group[open] summary::after { transform: rotate(90deg); }
.filter-group .chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }

.fchip {
  border: 1px solid var(--line); border-radius: 999px;
  padding: .25rem .6rem; font-size: .78rem;
  background: #fff; color: var(--ink-soft);
}
.fchip:hover { border-color: var(--blue-lt); }
.fchip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.fchip-count { opacity: .6; margin-left: .25rem; font-variant-numeric: tabular-nums; }

.rail-foot { border-top: 1px solid var(--line); padding: .7rem 1.1rem; max-height: 28%; overflow-y: auto; }
.rail-active-label { margin: 0 0 .4rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.active-filters { display: flex; flex-wrap: wrap; gap: .3rem; }
.afilter { background: var(--blue-soft); color: var(--blue); border-radius: 7px; padding: .2rem .5rem; font-size: .76rem; }
.afilter button { border: 0; background: none; color: inherit; margin-left: .3rem; padding: 0; font-weight: 700; }

/* ---------- Content / views ---------- */
.content { padding: 1.25rem; min-width: 0; }
.view { display: none; }
.view.is-active { display: block; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.view-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.2rem 1.25rem; min-width: 0; }
.panel-hero { background: linear-gradient(180deg, #fff, #fbfdff); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.panel-head h3 { font-size: 1.02rem; font-weight: 600; }
.panel-sub { margin: .2rem 0 0; font-size: .8rem; color: var(--muted); }

.chart-wrap { position: relative; height: 240px; overflow: hidden; }
.chart-wrap.tall { height: 380px; }
.panel { overflow: hidden; }

.count-chip, .qcount { background: var(--blue-soft); color: var(--blue); border-radius: 7px; padding: .05rem .45rem; font-size: .8rem; font-weight: 700; margin-left: .35rem; }

.legend { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; color: var(--muted); }
.legend .dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- Gap matrix ---------- */
.gap-matrix { display: grid; gap: 4px; overflow-x: auto; }
.gap-row { display: grid; grid-template-columns: 168px repeat(var(--cols), minmax(58px, 1fr)); gap: 4px; }
.gap-corner, .gap-colhead { font-size: .72rem; font-weight: 600; color: var(--muted); display: flex; align-items: flex-end; padding: .2rem; }
.gap-colhead { writing-mode: horizontal-tb; line-height: 1.05; }
.gap-rowhead { font-size: .8rem; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; padding-right: .4rem; }
.gap-row + .gap-row { margin-top: 0; }
.gap-cell {
  height: 46px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; border: 1px solid transparent;
  transition: transform .1s, box-shadow .1s;
}
.gap-cell:not(.is-zero):hover { transform: scale(1.04); box-shadow: var(--shadow); cursor: pointer; }
.gap-cell.is-zero { background: repeating-linear-gradient(45deg, #fff, #fff 5px, #FBEDEA 5px, #FBEDEA 10px); color: var(--restricted); border: 1px dashed #E4B6AB; cursor: default; }
/* Interactive chart elements are real buttons (keyboard + screen-reader
   operable, issue #16) — neutralise UA button chrome, keep the chart look. */
button.gap-cell { font-family: inherit; padding: 0; background: none; }
button.strength-row, button.pbar { border: 0; background: transparent; font: inherit; text-align: left; width: 100%; }
button.pbar { padding: 0; }
.strength-track, .pbar-track, .pbar-fill { display: block; }
.gap-cell:focus-visible, .strength-row:focus-visible, .pbar:focus-visible,
.qcard:focus-visible, #assetTable tbody tr:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}
.gap-rowhead { height: 46px; }

/* ---------- Insights ---------- */
.insight-list { display: flex; flex-direction: column; gap: .65rem; }
.insight { display: flex; gap: .65rem; align-items: flex-start; padding: .65rem .7rem; border-radius: 10px; background: var(--bg); }
.insight .ic { font-size: 1.1rem; line-height: 1.2; }
.insight-strong { border-left: 3px solid var(--teal); }
.insight-gap { border-left: 3px solid var(--restricted); }
.insight-risk { border-left: 3px solid var(--gold); }
.insight p { margin: 0; font-size: .84rem; color: var(--ink-soft); }
.insight b { color: var(--ink); }

/* ---------- Centre strength ---------- */
.strength-list { display: flex; flex-direction: column; gap: .45rem; }
.strength-row { display: grid; grid-template-columns: 118px 1fr 26px 34px; align-items: center; gap: .7rem; cursor: pointer; padding: .2rem .25rem; border-radius: 8px; }
.strength-row:hover { background: var(--bg); }
.strength-name { font-weight: 600; font-size: .85rem; display: flex; align-items: center; gap: .35rem; }
.strength-name .hub-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }
.strength-track { position: relative; height: 20px; background: var(--line-soft); border-radius: 6px; overflow: hidden; }
.strength-fill { position: absolute; left: 0; top: 0; height: 100%; display: flex; border-radius: 6px; overflow: hidden; min-width: 14px; }
.strength-seg { height: 100%; transition: filter .1s; }
.strength-seg:hover { filter: brightness(1.12); }
.strength-seg + .strength-seg { box-shadow: inset 1px 0 0 rgba(255,255,255,.7); }
.strength-count { font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-align: right; }
.strength-badge { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .76rem; font-weight: 700; }

/* ---------- Pathway bars ---------- */
.pathway-bars { display: flex; flex-direction: column; gap: .55rem; }
.pbar { cursor: pointer; }
.pbar:hover .pbar-track { filter: brightness(.97); }
.pbar-top { display: flex; justify-content: space-between; font-size: .8rem; margin-bottom: .2rem; }
.pbar-top b { font-weight: 700; }
.pbar-track { height: 12px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.pbar-fill { height: 100%; border-radius: 6px; }

/* ---------- Action queue ---------- */
.queue-head { align-items: center; }
.queue-toggle { display: flex; gap: .3rem; background: var(--bg); padding: .25rem; border-radius: 10px; }
.qtab { border: 0; background: none; padding: .35rem .7rem; border-radius: 7px; font-weight: 600; font-size: .84rem; color: var(--muted); }
.qtab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

.queue-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.qcard { display: grid; grid-template-columns: 52px 1fr; gap: .8rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.qcard:hover { border-color: var(--blue-lt); box-shadow: var(--shadow); }
.qscore { width: 52px; height: 52px; border-radius: 11px; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: "IBM Plex Sans"; font-weight: 700; }
.qscore small { font-size: .55rem; font-weight: 600; opacity: .8; text-transform: uppercase; }
.qcard h4 { font-size: .9rem; font-weight: 600; line-height: 1.2; margin-bottom: .25rem; }
.qcard-meta { font-size: .76rem; color: var(--muted); margin-bottom: .35rem; }
.qcard-why { font-size: .78rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qcard-pills { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.qcard-blocker { font-size: .74rem; color: var(--restricted); font-weight: 600; margin-top: .35rem; }

/* ---------- Pills ---------- */
.pill { border-radius: 6px; padding: .15rem .45rem; font-size: .72rem; font-weight: 600; background: var(--blue-soft); color: var(--blue); white-space: nowrap; }
.pill-open { background: rgba(31,138,112,.14); color: var(--open); }
.pill-restricted { background: rgba(194,105,28,.14); color: var(--restricted); }
.pill-unknown { background: rgba(124,138,153,.16); color: var(--unknown); }
.pill-top { background: rgba(224,161,27,.18); color: #9a6b00; }

/* ---------- Table ---------- */
.table-head { align-items: center; }
.sort-control { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--muted); }
.sort-control select { padding: .4rem .55rem; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; }
.table-wrap { overflow-x: auto; max-height: 70vh; overflow-y: auto; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
thead th { position: sticky; top: 0; background: #fff; text-align: left; padding: .55rem .6rem; border-bottom: 2px solid var(--line); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); z-index: 1; }
thead th.num { text-align: right; }
thead th.sortable { cursor: pointer; user-select: none; }
thead th.sortable:hover { color: var(--blue); }
thead th.sortable[data-dir="asc"]::after { content: " ▲"; font-size: .6rem; color: var(--blue); }
thead th.sortable[data-dir="desc"]::after { content: " ▼"; font-size: .6rem; color: var(--blue); }
tbody td { padding: .55rem .6rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tbody td.num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--blue-soft); }
.td-name strong { font-weight: 600; }
.td-name small { display: block; color: var(--muted); font-size: .74rem; }

/* ---------- Drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15,31,43,.4); z-index: 50; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 60;
  width: min(460px, 92vw); height: 100vh;
  background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .22s ease;
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: flex-end; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 1.1rem 1.3rem 2rem; overflow-y: auto; }
.drawer-title { font-size: 1.15rem; font-weight: 700; line-height: 1.25; margin-bottom: .3rem; }
.drawer-score { display: inline-flex; align-items: baseline; gap: .35rem; background: var(--blue); color: #fff; border-radius: 9px; padding: .3rem .6rem; font-family: "IBM Plex Sans"; font-weight: 700; font-size: 1.1rem; margin: .5rem 0; }
.drawer-score small { font-size: .65rem; opacity: .85; font-weight: 600; }
.drawer-pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.drawer-desc { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1rem; }
.drawer-group { margin-bottom: 1rem; }
.drawer-group h5 { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .4rem; }
.drawer-row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--line-soft); font-size: .84rem; }
.drawer-row .k { color: var(--muted); }
.drawer-row .v { color: var(--ink); font-weight: 600; text-align: right; }
.drawer-link { display: inline-block; margin-top: .2rem; color: var(--blue); font-weight: 600; font-size: .85rem; word-break: break-all; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.drawer-cta { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .8rem; border-radius: 9px; font-weight: 600; font-size: .85rem; text-decoration: none; background: var(--blue); color: #fff; }
.drawer-cta:hover { background: #14478c; }
.drawer-cta.secondary { background: var(--blue-soft); color: var(--blue); }
.drawer-cta.is-disabled { background: var(--line-soft); color: var(--muted); cursor: default; }
.drawer-row .v { word-break: break-word; }
.drawer-note { margin: .4rem 0 0; font-size: .76rem; color: var(--restricted); }
.score-bars { display: flex; flex-direction: column; gap: .35rem; }
.score-bar { display: grid; grid-template-columns: 96px 1fr 30px; align-items: center; gap: .5rem; font-size: .78rem; }
.score-bar .sb-track { height: 8px; background: var(--line-soft); border-radius: 4px; }
.score-bar .sb-fill { height: 100%; border-radius: 4px; background: var(--blue-lt); }

.empty { padding: 2rem; text-align: center; color: var(--muted); font-size: .88rem; }

/* ---------- Segmented toggle (priority plot / flow mode) ---------- */
.head-tools { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.seg-toggle { display: inline-flex; gap: .25rem; background: var(--bg); padding: .25rem; border-radius: 10px; }
.seg { border: 0; background: none; padding: .35rem .8rem; border-radius: 7px; font-weight: 600; font-size: .82rem; color: var(--muted); cursor: pointer; }
.seg.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Dimension selectors (flows + action plots) ---------- */
.flow-controls { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .3rem .1rem .6rem; }
.fc-label, .fc-arrow { font-size: .8rem; color: var(--muted); font-weight: 600; }
.fc-arrow { color: var(--blue); }
.fc-select {
  font: inherit; font-size: .82rem; font-weight: 600; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: .3rem .55rem; cursor: pointer;
}
.fc-select:hover { border-color: var(--blue); }

/* ---------- Flows view ---------- */
.flow-legend { padding: .2rem .1rem .7rem; }
.flow-canvas { width: 100%; min-height: 520px; }
.flow-svg { width: 100%; height: auto; display: block; }
.flow-nodelabel { font: 600 11px "IBM Plex Sans", sans-serif; fill: var(--ink); pointer-events: none; }
.flow-svg path { transition: stroke-opacity .12s; }
.flow-svg path:hover { stroke-opacity: .6 !important; }
.flow-svg circle:hover { stroke: var(--green); stroke-width: 2.5; }
.flow-stat { font-weight: 700; color: var(--ink); font-size: .8rem; }
.flow-hint { font-size: .76rem; color: var(--muted); }
.flow-tip {
  position: fixed; z-index: 50; pointer-events: none;
  background: var(--ink); color: #fff; font-size: .78rem; line-height: 1.35;
  padding: .45rem .6rem; border-radius: 8px; max-width: 280px; box-shadow: var(--shadow);
}

/* ---------- Comments & feedback strip ---------- */
.feedback-strip {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: .6rem 1.4rem 1rem;
}
.feedback-details summary {
  cursor: pointer;
  font: 600 .88rem "IBM Plex Sans", sans-serif;
  color: var(--ink);
  padding: .35rem 0;
}
.feedback-details[open] summary { margin-bottom: .4rem; }
.feedback-note { font-size: .8rem; color: var(--muted); margin: 0 0 .8rem; }
.giscus-wrap { max-width: 860px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .view-grid { grid-template-columns: repeat(2, 1fr); }
  .span-3 { grid-column: span 2; }
  .queue-list { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .rail { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail-scroll { max-height: 300px; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .viewnav .viewtab-sub { display: none; }
  .view-grid, .span-2, .span-3 { grid-template-columns: 1fr; grid-column: auto; }
}
/* Phone width: the top bar wraps onto two rows — brand + actions above, the
   four menus as a full-width equal grid below — so nothing runs off the
   screen (issue #15). Sticky offsets assume the fixed bar height, so the KPI
   strip goes static here. */
@media (max-width: 700px) {
  .topbar { height: auto; flex-wrap: wrap; gap: .45rem .9rem; padding: .55rem .9rem .65rem; }
  .brand { min-width: 0; flex: 1; }
  .brand h1 { font-size: 1rem; }
  .topbar-actions { gap: .5rem; }
  .viewnav { flex-basis: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
  .viewtab { padding: .4rem .2rem; text-align: center; align-items: center; }
  .viewtab-title { font-size: .82rem; }
  .kpi-strip { position: static; }
}
