/* ===========================================================================
 * GMA-MHF — shared stylesheet for all three demo portals.
 * Each portal sets its own --accent on <body data-portal="...">.
 * ======================================================================== */

:root {
  --bg:        #f5f7fa;
  --surface:   #ffffff;
  --surface-2: #f8fafc;
  --border:    #e2e8f0;
  --border-2:  #cbd5e1;

  --text:      #0f172a;
  --text-2:    #475569;
  --text-3:    #94a3b8;

  --accent:    #0f5c8c;   /* overridden per portal */
  --accent-d:  #0b4568;
  --accent-l:  #e6f0f7;

  --good:      #15803d;  --good-bg:  #dcfce7;
  --info:      #1d4ed8;  --info-bg:  #dbeafe;
  --warn:      #b45309;  --warn-bg:  #fef3c7;
  --bad:       #b91c1c;  --bad-bg:   #fee2e2;

  --radius:    8px;
  --radius-sm: 5px;
  --shadow:    0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .1);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, .1), 0 4px 6px -4px rgba(15, 23, 42, .1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
}

body[data-portal="mac"]      { --accent: #0f5c8c; --accent-d: #0b4568; --accent-l: #e6f0f7; }
body[data-portal="member"]   { --accent: #146c43; --accent-d: #0f5132; --accent-l: #e7f3ec; }
body[data-portal="provider"] { --accent: #5b3a9e; --accent-d: #452c78; --accent-l: #efeaf9; }

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.3; }
h1 { font-size: 22px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
p  { margin: 0; }
a  { color: var(--accent); }

/* ------------------------------------------------------------------ layout */

.app { display: flex; min-height: 100vh; }

.sidebar {
  width: 244px; flex: 0 0 244px;
  background: var(--accent-d);
  color: #e2e8f0;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-brand {
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sidebar-brand .brand-name  { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .2px; }
.sidebar-brand .brand-sub   { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 2px; }

.nav-group-label {
  padding: 14px 16px 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.nav-item {
  display: flex; align-items: center; gap: 9px;
  width: 100%; border: 0; background: none; text-align: left; cursor: pointer;
  padding: 8px 16px;
  color: rgba(255,255,255,.82); font-size: 13px; font-family: inherit;
  border-left: 3px solid transparent;
}
.nav-item:hover      { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.is-active  { background: rgba(255,255,255,.13); color: #fff; border-left-color: #fff; font-weight: 600; }
.nav-item[disabled]  { opacity: .38; cursor: not-allowed; }
.nav-item .nav-icon  { width: 16px; text-align: center; font-size: 13px; opacity: .9; }
.nav-count {
  margin-left: auto; font-size: 10px; font-family: var(--mono);
  background: rgba(255,255,255,.16); padding: 1px 6px; border-radius: 9px;
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 22px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
.topbar-spacer { flex: 1; }
.topbar-user   { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.topbar-user .u-name { font-weight: 600; font-size: 13px; }
.topbar-user .u-role { font-size: 11px; color: var(--text-2); }

.content { padding: 22px; flex: 1; max-width: 1500px; width: 100%; }
.stack   { display: flex; flex-direction: column; gap: 18px; }
.row     { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-end { margin-left: auto; }

/* ------------------------------------------------------------- page header */

.page-head { margin-bottom: 18px; }
.page-head-row { display: flex; align-items: flex-start; gap: 16px; }
.page-head h1 { margin-bottom: 4px; }
.page-desc { color: var(--text-2); font-size: 13px; max-width: 76ch; }
.page-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumb { font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.crumb a { color: var(--text-2); text-decoration: none; }
.crumb a:hover { color: var(--accent); text-decoration: underline; }

/* -------------------------------------------------------------------- card */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-head {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.card-head-text { min-width: 0; }
.card-desc { font-size: 12px; color: var(--text-2); margin-top: 3px; max-width: 82ch; }
.card-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card-body { padding: 16px; }
.card-body.is-flush { padding: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px;
  font-family: inherit; font-size: 13px; font-weight: 500;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .12s, border-color .12s, opacity .12s;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-icon { font-size: 12px; }

.btn-primary   { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled)   { background: var(--accent-d); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-secondary:hover:not(:disabled) { background: var(--surface-2); border-color: var(--text-3); }
.btn-danger    { background: var(--bad); color: #fff; }
.btn-danger:hover:not(:disabled)    { background: #991b1b; }
.btn-ghost     { background: transparent; color: var(--text-2); }
.btn-ghost:hover:not(:disabled)     { background: var(--surface-2); color: var(--text); }
.btn-sm        { padding: 3px 9px; font-size: 12px; }

.btn.is-busy { position: relative; color: transparent !important; }
.btn.is-busy::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  color: #fff; animation: spin .7s linear infinite;
}
.btn-secondary.is-busy::after, .btn-ghost.is-busy::after { color: var(--text-2); }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------- action + endpoint chip */

.action { display: inline-flex; align-items: center; gap: 6px; }

.ep-chip {
  font-family: var(--mono); font-size: 10px; line-height: 1.6;
  padding: 1px 6px; border-radius: 4px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-2); white-space: nowrap; cursor: help;
}
.ep-chip.ep-get    { border-left: 3px solid #0369a1; }
.ep-chip.ep-post   { border-left: 3px solid #15803d; }
.ep-chip.ep-put    { border-left: 3px solid #b45309; }
.ep-chip.ep-patch  { border-left: 3px solid #7c3aed; }
.ep-chip.ep-delete { border-left: 3px solid #b91c1c; }

body.hide-endpoints .ep-chip { display: none; }

/* ---------------------------------------------------------------- tooltips */

.tip {
  position: fixed; z-index: 9999;
  max-width: 380px; padding: 8px 11px;
  background: #0f172a; color: #f1f5f9;
  font-size: 12px; line-height: 1.45;
  border-radius: 6px; box-shadow: var(--shadow-lg);
  pointer-events: none; opacity: 0; transition: opacity .12s;
}
.tip.is-visible { opacity: 1; }
.tip div:not(:first-child) { margin-top: 3px; color: #cbd5e1; }
.tip div:last-child:not(:first-child) { font-family: var(--mono); font-size: 11px; color: #94a3b8; }

/* ------------------------------------------------------------------- forms */

.form-grid { display: grid; gap: 13px 16px; }
.form-grid.cols-1 { grid-template-columns: minmax(0, 1fr); }
.form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .form-grid.cols-2, .form-grid.cols-3, .form-grid.cols-4 { grid-template-columns: 1fr; }
}
.span-2    { grid-column: span 2; }
.span-full { grid-column: 1 / -1; }
@media (max-width: 900px) { .span-2 { grid-column: span 1; } }

.form-field { display: flex; flex-direction: column; min-width: 0; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.form-label .req { color: var(--bad); margin-left: 2px; cursor: help; }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit; font-size: 13px; color: var(--text);
  padding: 6px 9px;
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  background: var(--surface); width: 100%;
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-l);
}
.form-field input:disabled, .form-field select:disabled, .form-field textarea:disabled {
  background: var(--surface-2); color: var(--text-2); cursor: not-allowed;
}
.form-field input.is-invalid, .form-field select.is-invalid, .form-field textarea.is-invalid {
  border-color: var(--bad);
}
.form-field.is-check { justify-content: flex-end; }
.check-row { display: flex; align-items: center; gap: 8px; }
.check-row input { width: 15px; height: 15px; flex: 0 0 auto; }
.check-row .form-label { margin: 0; font-weight: 500; color: var(--text); }

.form-hint  { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.form-error { font-size: 11px; color: var(--bad); margin-top: 3px; }
.form-error:empty { display: none; }

.form-divider {
  font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
  color: var(--text-3); padding-top: 6px; margin-top: 4px;
  border-top: 1px solid var(--border);
}
.readonly-value {
  font-size: 13px; padding: 6px 0; color: var(--text);
  border-bottom: 1px dashed var(--border); min-height: 30px;
}

/* ------------------------------------------------------------------ tables */

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table caption {
  text-align: left; padding: 0 0 8px; font-size: 12px; color: var(--text-2);
}
.data-table th {
  text-align: left; font-size: 11px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; color: var(--text-2);
  padding: 8px 11px; background: var(--surface-2);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.data-table td {
  padding: 8px 11px; border-bottom: 1px solid var(--border); vertical-align: middle;
}
.data-table tbody tr:hover { background: var(--surface-2); }
.data-table tr.is-clickable { cursor: pointer; }
.data-table tr.row-warn { background: #fffbeb; }
.data-table tr.row-bad  { background: #fef2f2; }
.data-table .align-right  { text-align: right; }
.data-table .align-center { text-align: center; }
.table-empty {
  text-align: center; color: var(--text-3); padding: 26px 12px; font-style: italic;
}
.cell-actions { display: flex; gap: 5px; flex-wrap: wrap; }
.cell-mono { font-family: var(--mono); font-size: 12px; }

/* ------------------------------------------------------------------ badges */

.badge {
  display: inline-block; padding: 2px 8px; border-radius: 11px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.badge-neutral { background: #f1f5f9; color: #475569; }
.badge-good    { background: var(--good-bg); color: var(--good); }
.badge-info    { background: var(--info-bg); color: var(--info); }
.badge-warn    { background: var(--warn-bg); color: var(--warn); }
.badge-bad     { background: var(--bad-bg);  color: var(--bad); }

/* ------------------------------------------------------------------- stats */

.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px 15px;
  display: flex; flex-direction: column; gap: 3px;
  text-align: left; font-family: inherit;
  border-left: 3px solid var(--text-3);
}
.stat.is-clickable { cursor: pointer; }
.stat.is-clickable:hover { box-shadow: var(--shadow); border-color: var(--border-2); }
.stat-value { font-size: 25px; font-weight: 700; line-height: 1.1; }
.stat-label { font-size: 12px; color: var(--text-2); }
.stat-good { border-left-color: var(--good); }
.stat-info { border-left-color: var(--info); }
.stat-warn { border-left-color: var(--warn); }
.stat-bad  { border-left-color: var(--bad); }
.stat-row  { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }

/* ----------------------------------------------------------- key / values */

.kv { display: grid; gap: 2px 16px; margin: 0; }
.kv.cols-1 { grid-template-columns: max-content 1fr; }
.kv.cols-2 { grid-template-columns: max-content 1fr max-content 1fr; }
@media (max-width: 900px) { .kv.cols-2 { grid-template-columns: max-content 1fr; } }
.kv dt {
  font-size: 12px; color: var(--text-2); padding: 5px 0; font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.kv dd {
  margin: 0; font-size: 13px; padding: 5px 0;
  border-bottom: 1px solid var(--border); min-width: 0; word-break: break-word;
}

/* -------------------------------------------------------------------- tabs */

.tab-strip {
  display: flex; gap: 2px; border-bottom: 1px solid var(--border);
  overflow-x: auto; margin-bottom: 16px;
}
.tab {
  border: 0; background: none; font-family: inherit; font-size: 13px;
  padding: 8px 14px; cursor: pointer; color: var(--text-2);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* ---------------------------------------------------------- misc containers */

.toolbar {
  display: flex; gap: 9px; align-items: flex-end; flex-wrap: wrap;
  padding: 12px 16px; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.toolbar .form-grid { flex: 1; }

.note {
  padding: 9px 12px; border-radius: var(--radius-sm); font-size: 12px;
  border-left: 3px solid; line-height: 1.5;
}
.note-info { background: var(--info-bg); border-color: var(--info); color: #1e3a8a; }
.note-warn { background: var(--warn-bg); border-color: var(--warn); color: #78350f; }
.note-bad  { background: var(--bad-bg);  border-color: var(--bad);  color: #7f1d1d; }
.note-good { background: var(--good-bg); border-color: var(--good); color: #14532d; }

.empty-state {
  text-align: center; padding: 34px 18px; color: var(--text-3);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.prose { font-size: 13px; color: var(--text-2); line-height: 1.6; }

.loading {
  display: flex; align-items: center; gap: 9px; justify-content: center;
  padding: 34px; color: var(--text-2); font-size: 13px;
}
.spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--border-2); border-top-color: var(--accent);
  animation: spin .7s linear infinite;
}

/* ------------------------------------------------------------------ modals */

.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 23, 42, .48);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 42px 18px; overflow-y: auto;
}
.modal {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); width: 100%;
  display: flex; flex-direction: column; max-height: calc(100vh - 84px);
}
.modal-head {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 15px 18px; border-bottom: 1px solid var(--border);
}
.modal-desc { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.modal-x, .toast-x {
  margin-left: auto; border: 0; background: none; cursor: pointer;
  font-size: 21px; line-height: 1; color: var(--text-3); padding: 0 4px;
}
.modal-x:hover, .toast-x:hover { color: var(--text); }
.modal-body   { padding: 18px; overflow-y: auto; flex: 1; }
.modal-footer {
  display: flex; gap: 8px; justify-content: flex-end; align-items: center;
  padding: 12px 18px; border-top: 1px solid var(--border); background: var(--surface-2);
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------ toasts */

.toast-host {
  position: fixed; bottom: 18px; right: 18px; z-index: 300;
  display: flex; flex-direction: column; gap: 8px; max-width: 420px;
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 13px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--text-3); font-size: 13px;
  animation: slide-in .18s ease-out;
}
@keyframes slide-in { from { transform: translateX(16px); opacity: 0; } }
.toast-body { flex: 1; min-width: 0; word-break: break-word; }
.toast-success { border-left-color: var(--good); }
.toast-error   { border-left-color: var(--bad); }
.toast-info    { border-left-color: var(--info); }
.toast-warn    { border-left-color: var(--warn); }

/* -------------------------------------------------------- activity drawer */

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 92vw;
  background: var(--surface); border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg); z-index: 150;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .2s ease-out;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 16px; }

.log-entry { border-bottom: 1px solid var(--border); padding: 8px 0; font-size: 12px; }
.log-entry summary {
  cursor: pointer; display: flex; align-items: center; gap: 8px; list-style: none;
}
.log-entry summary::-webkit-details-marker { display: none; }
.log-method {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  padding: 1px 5px; border-radius: 3px; background: #f1f5f9; color: var(--text-2);
  min-width: 46px; text-align: center;
}
.log-path   { font-family: var(--mono); font-size: 11px; flex: 1; min-width: 0;
              overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-status { font-family: var(--mono); font-size: 11px; font-weight: 700; }
.log-ok  { color: var(--good); }
.log-err { color: var(--bad); }
.log-ms  { font-size: 10px; color: var(--text-3); font-family: var(--mono); }
.log-detail {
  margin-top: 7px; padding: 8px; background: var(--surface-2);
  border-radius: var(--radius-sm); font-family: var(--mono); font-size: 11px;
  white-space: pre-wrap; word-break: break-word; max-height: 300px; overflow-y: auto;
}
.log-detail-label {
  font-family: var(--font); font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-3); margin: 6px 0 2px;
}

/* -------------------------------------------------------------- sign-in page */

.signin-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 26px; background: linear-gradient(135deg, var(--accent-d), var(--accent));
}
.signin-card {
  background: var(--surface); border-radius: 11px; box-shadow: var(--shadow-lg);
  width: 100%; max-width: 430px; overflow: hidden;
}
.signin-head { padding: 24px 26px 18px; border-bottom: 1px solid var(--border); }
.signin-head h1 { font-size: 19px; margin-bottom: 5px; }
.signin-head p  { font-size: 13px; color: var(--text-2); }
.signin-body { padding: 20px 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.signin-foot {
  padding: 13px 26px; background: var(--surface-2); border-top: 1px solid var(--border);
  font-size: 11px; color: var(--text-2);
}
.signin-links { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; }

/* ---------------------------------------------------------------- timeline */

.timeline { display: flex; flex-direction: column; gap: 0; padding-left: 6px; }
.timeline-item {
  display: grid; grid-template-columns: 15px 1fr; gap: 12px;
  padding-bottom: 15px; position: relative;
}
.timeline-item:not(:last-child)::before {
  content: ''; position: absolute; left: 6px; top: 15px; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-dot {
  width: 11px; height: 11px; border-radius: 50%; margin-top: 4px;
  background: var(--accent); border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px var(--accent-l); z-index: 1;
}
.timeline-body   { min-width: 0; }
.timeline-title  { font-size: 13px; font-weight: 600; }
.timeline-meta   { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.timeline-detail { font-size: 12px; color: var(--text-2); margin-top: 3px; }

/* ------------------------------------------------------------ conversation */

.thread { display: flex; flex-direction: column; gap: 11px; }
.message {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 12px; background: var(--surface); font-size: 13px;
}
.message.is-internal { background: #fffbeb; border-color: #fde68a; }
.message.is-inbound  { background: var(--accent-l); }
.message-head {
  display: flex; gap: 8px; align-items: center;
  font-size: 11px; color: var(--text-2); margin-bottom: 5px;
}
.message-author { font-weight: 700; color: var(--text); }
.message-body   { white-space: pre-wrap; word-break: break-word; }

/* -------------------------------------------------------------- coverage */

.coverage-bar {
  height: 7px; border-radius: 4px; background: var(--border); overflow: hidden; margin: 6px 0;
}
.coverage-fill { height: 100%; background: var(--accent); transition: width .3s; }
.coverage-list { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; }
.coverage-row {
  display: flex; align-items: center; gap: 8px; font-size: 12px;
  padding: 3px 0; border-bottom: 1px solid var(--border);
}
.coverage-row .dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.coverage-row .dot.hit  { background: var(--good); }
.coverage-row .dot.miss { background: var(--border-2); }
.coverage-row code { font-family: var(--mono); font-size: 11px; color: var(--text-2); }

/* ------------------------------------------------------------------ utility */

.muted      { color: var(--text-2); }
.small      { font-size: 12px; }
.mono       { font-family: var(--mono); font-size: 12px; }
.nowrap     { white-space: nowrap; }
.text-right { text-align: right; }
.mt-0  { margin-top: 0; }  .mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; }
.mb-1  { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 14px 0; }
