/* Dashboard 1 and account screens share Corvus B, without changing API actions. */
:root {
  --portal-bg:#10131a; --portal-bg-soft:#11161f; --portal-surface:#151a23;
  --portal-surface-strong:#1a2130; --portal-border:#2b3547; --portal-border-strong:#687ba8;
  --portal-text:#e8ecf5; --portal-text-soft:#9aa8c1; --portal-text-faint:#9aa8c1;
  --portal-accent:#b9c5ff; --portal-accent-2:#97aaf1; --portal-brand-accent:#b9c5ff;
  --portal-button-bg:#b9c5ff; --portal-button-text:#152039;
  --portal-good:#97d7bd; --portal-warn:#e7ca8c; --portal-danger:#f3a1a6;
  --portal-shadow:none; --portal-panel-bg:#151a23; --portal-sidebar-bg:#11161f;
  --portal-hover:#202a3e; --portal-radius:10px;
}
:root[data-theme="light"] {
  --portal-bg:#f7f8fc; --portal-bg-soft:#f0f3fa; --portal-surface:#fff;
  --portal-surface-strong:#eef1f8; --portal-border:#d7ddea; --portal-border-strong:#8494be;
  --portal-text:#1b263b; --portal-text-soft:#56647c; --portal-text-faint:#56647c;
  --portal-accent:#435cc1; --portal-accent-2:#344fb0; --portal-brand-accent:#435cc1;
  --portal-button-bg:#435cc1; --portal-button-text:#fff;
  --portal-good:#167458; --portal-warn:#8b5f15; --portal-danger:#bb3d4d;
  --portal-panel-bg:#fff; --portal-sidebar-bg:#f0f3fa; --portal-hover:#e3e9f7;
}
:root body.portal-page-host[data-corvus-design="b"] {
  --portal-bg:var(--cv-bg);--portal-bg-soft:var(--cv-bg);--portal-surface:var(--cv-surface);
  --portal-surface-strong:var(--cv-raised);--portal-border:var(--cv-border);--portal-border-strong:#687ba8;
  --portal-text:var(--cv-text);--portal-text-soft:var(--cv-muted);--portal-text-faint:var(--cv-muted);
  --portal-accent:var(--cv-accent);--portal-accent-2:var(--cv-accent);--portal-brand-accent:var(--cv-accent);
  --portal-button-bg:var(--cv-accent);--portal-button-text:var(--cv-accent-ink);
  --portal-good:var(--cv-green);--portal-warn:var(--cv-amber);--portal-danger:var(--cv-red);
  --portal-panel-bg:var(--cv-surface);--portal-sidebar-bg:var(--cv-surface);--portal-hover:var(--cv-raised);
  margin:0; padding:0; background:var(--portal-bg); color:var(--portal-text);
  font:14px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
:root body.portal-page-host[data-corvus-design="b"]::before,:root body.portal-page-host[data-corvus-design="b"]::after {display:none;}
:root body.portal-page-host[data-corvus-design="b"] .portal-page,:root body.portal-page-host[data-corvus-design="b"] .portal-app {width:100%;max-width:none;margin:0;padding:0;min-height:100dvh;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-shell {
  display:grid;grid-template-columns:232px minmax(0,1fr);gap:0;
  width:100%;max-width:none;min-height:100dvh;padding:0;margin:0;
  --portal-page-accent:var(--portal-accent);--portal-page-accent-rgb:185,197,255;
}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-main {display:block;min-width:0;padding:0 32px 32px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-main>section {margin-bottom:20px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-topbar {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;margin:0 0 28px;padding:18px 0;border:0;border-bottom:1px solid var(--portal-border);border-radius:0;background:none;box-shadow:none;backdrop-filter:none;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-heading h1 {font-size:26px;line-height:1.25;font-weight:550;color:var(--portal-text);letter-spacing:-.04em;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-shell--dashboard .portal-dashboard-heading h1 {font-size:13px;color:var(--portal-text-soft);letter-spacing:0;font-weight:500;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-heading p {font-size:13px;color:var(--portal-text-soft);margin:7px 0 0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-toolbar {display:flex;align-items:center;justify-content:flex-end;gap:10px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-shell--dashboard .portal-dashboard-workspace-link {display:none;}
:root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-trigger {min-width:165px;padding:8px 10px;gap:8px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-copy strong {font-size:10px;color:var(--portal-text-soft);font-weight:400;}
:root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-copy small {font-size:12px;color:var(--portal-text);}
:root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-menu {min-width:265px;max-width:min(350px,calc(100vw - 32px));background:var(--portal-surface);border:1px solid var(--portal-border);border-radius:9px;box-shadow:0 12px 34px #0003;}
:root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-option {padding:12px;color:var(--portal-text);font-size:13px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-option small,:root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-option-meta {font-size:11px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-option.is-selected {background:var(--portal-hover);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-intro {display:flex;align-items:center;justify-content:space-between;gap:24px;margin:36px 0 26px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-intro h2 {margin:10px 0 12px;font-size:30px;line-height:1.2;font-weight:550;letter-spacing:-.045em;color:var(--portal-text);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-intro p {color:var(--portal-text-soft);font-size:13px;margin:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-panel,:root body.portal-page-host[data-corvus-design="b"] .portal-ref-card,:root body.portal-page-host[data-corvus-design="b"] .portal-kpi-card {min-width:0;padding:22px;border:1px solid var(--portal-border);border-radius:10px;background:var(--portal-surface);box-shadow:none;backdrop-filter:none;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-overview-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-metric-card {display:flex;flex-direction:column;gap:16px;padding:20px;min-height:145px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-metric-card--balance {background:var(--portal-surface-strong);border-color:var(--portal-border-strong);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-metric-card .portal-kpi-head {display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:10px;font-size:12px;text-transform:none;letter-spacing:0;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-metric-card .portal-kpi-head span {font-size:12px;color:var(--portal-text-soft);text-transform:none;letter-spacing:0;font-weight:400;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-metric-card .portal-kpi-head svg {width:17px;height:17px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-metric-value {display:block;font-size:31px;line-height:1.2;font-weight:550;letter-spacing:-.045em;color:var(--portal-text);overflow-wrap:anywhere;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-metric-foot {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;font-size:10px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-metric-foot a {color:var(--portal-accent);white-space:nowrap;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(310px,.95fr);gap:20px;margin:0 0 20px;align-items:stretch;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid>.portal-dashboard-row--access-clean {display:contents;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid .portal-ref-head p {display:block;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid .portal-dashboard-access-card {grid-column:2;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-traffic-card {grid-column:1;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-recent-requests {grid-column:1;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-recent-activity {grid-column:2;}
:root body.portal-page-host[data-corvus-design="b"] .portal-ref-head,:root body.portal-page-host[data-corvus-design="b"] .portal-table-head {display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:20px;padding:0;border:0;background:none;}
:root body.portal-page-host[data-corvus-design="b"] .portal-ref-head h2,:root body.portal-page-host[data-corvus-design="b"] .portal-table-head h2 {font-size:14px;font-weight:550;line-height:1.4;color:var(--portal-text);margin:0;letter-spacing:-.01em;}
:root body.portal-page-host[data-corvus-design="b"] .portal-ref-head p,:root body.portal-page-host[data-corvus-design="b"] .portal-table-head p {font-size:12px;line-height:1.6;margin:6px 0 0;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-ref-muted,:root body.portal-page-host[data-corvus-design="b"] .portal-subtle,:root body.portal-page-host[data-corvus-design="b"] .portal-inline-hint {font-size:12px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-activity-chart {height:220px;min-height:220px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:9px;padding:20px 0 0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-activity-bar-track {background:var(--portal-bg-soft);border:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-activity-bar-group>strong {font-size:10px;font-weight:400;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-activity-bar-group>span {font-size:10px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-coverage-note {font-size:11px;color:var(--portal-text-soft);margin:20px 0 0;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-legend {display:flex;align-items:center;gap:7px;font-size:11px;color:var(--portal-text-soft);margin-bottom:12px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-legend>span {width:5px;height:5px;border-radius:50%;background:var(--portal-accent);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-traffic-plot {position:relative;display:grid;grid-template-rows:minmax(0,1fr) 20px;height:230px;padding-left:34px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-traffic-plot svg {width:100%;height:200px;overflow:visible;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-grid {fill:none;stroke:var(--portal-border);stroke-width:1;stroke-dasharray:2 6;vector-effect:non-scaling-stroke;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-fill {fill:var(--portal-accent);fill-opacity:.055;stroke:none;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-line {fill:none;stroke:var(--portal-accent);stroke-width:2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-axis {position:absolute;left:0;top:14px;bottom:40px;display:flex;flex-direction:column;justify-content:space-between;color:var(--portal-text-soft);font-size:10px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-labels {display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-empty {position:absolute;top:75px;left:34px;right:0;text-align:center;font-size:12px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-table-wrap {max-width:100%;overflow:auto;border:1px solid var(--portal-border);border-radius:7px;background:var(--portal-bg-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-table {width:100%;border-collapse:collapse;font-size:13px;color:var(--portal-text-soft);background:none;}
:root body.portal-page-host[data-corvus-design="b"] .portal-table th {background:var(--portal-surface-strong);font-size:10px;letter-spacing:.045em;font-weight:500;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-table td,:root body.portal-page-host[data-corvus-design="b"] .portal-table th {padding:15px 14px;border-bottom:1px solid var(--portal-border);vertical-align:middle;}
:root body.portal-page-host[data-corvus-design="b"] .portal-table tr:last-child td {border-bottom:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-table td strong {color:var(--portal-text);font-weight:500;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-request-link {display:grid;gap:5px;text-align:left;border:0;background:none;color:var(--portal-text);padding:0;font:inherit;cursor:pointer;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-request-link strong {font-size:12px;font-weight:500;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-request-link span {font-size:10px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-request-link:hover strong {color:var(--portal-accent);}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-list {gap:13px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-row {display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:10px;min-height:0;padding:12px 0;border:0;border-bottom:1px solid var(--portal-border);background:none;box-shadow:none;border-radius:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-icon {width:20px;height:20px;color:var(--portal-accent);background:none;border:0;box-shadow:none;}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-body span {font-size:11px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-body code {font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--portal-text);word-break:break-all;}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-body small {font-size:10px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-actions {display:flex;flex-direction:column;gap:6px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-access-card {display:block;}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-list {display:grid;gap:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-actions {flex-direction:row;align-items:center;gap:4px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-actions :is(.portal-button-secondary,.portal-button-ghost) {min-width:0;min-height:32px;padding:6px 8px;font-size:11px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-body>span {text-transform:none;letter-spacing:0;font-weight:400;}
:root body.portal-page-host[data-corvus-design="b"] .portal-access-copy-body small {font-size:11px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-access-details {margin:12px 0 16px;color:var(--portal-text-soft);font-size:12px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-access-details>summary {cursor:pointer;min-height:30px;padding:5px 0;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-access-details>summary:hover {color:var(--portal-text);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-access-main-actions {display:flex;justify-content:space-between;gap:8px;padding-top:14px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-access-main-actions :is(.portal-button-ghost,.portal-button-secondary) {min-width:0;min-height:34px;padding:7px 10px;font-size:11px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-compact-meta {display:grid;grid-template-columns:1fr;gap:9px;padding:14px 0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-compact-meta>div {display:flex;justify-content:space-between;gap:12px;min-width:0;min-height:0;border:0;background:none;border-radius:0;padding:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-compact-meta span {font-size:11px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-compact-meta strong {font-size:11px;font-weight:400;color:var(--portal-text);}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-link-row {display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--portal-border);padding-top:14px;margin-top:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-activity-list {display:grid;gap:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-activity-item {padding:16px 0;border:0;border-bottom:1px solid var(--portal-border);background:none;border-radius:0;box-shadow:none;}
:root body.portal-page-host[data-corvus-design="b"] .portal-activity-item:last-child {border-bottom:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-activity-item-copy strong {font-size:12px;color:var(--portal-text);font-weight:500;}
:root body.portal-page-host[data-corvus-design="b"] .portal-activity-item-copy p,:root body.portal-page-host[data-corvus-design="b"] .portal-activity-item-time {font-size:11px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-invite {display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--portal-surface-strong);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-invite>div {display:flex;align-items:center;gap:16px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-invite strong {display:block;font-size:14px;font-weight:500;color:var(--portal-text);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-invite small {display:block;font-size:12px;color:var(--portal-text-soft);margin-top:5px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-kpi-grid {display:grid;gap:16px;margin-bottom:22px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-kpi-card>strong {font-size:29px;font-weight:550;color:var(--portal-text);}
:root body.portal-page-host[data-corvus-design="b"] .portal-kpi-card p {color:var(--portal-text-soft);font-size:12px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-row {gap:20px;margin-bottom:20px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-button,:root body.portal-page-host[data-corvus-design="b"] .portal-button-secondary,:root body.portal-page-host[data-corvus-design="b"] .portal-button-ghost,:root body.portal-page-host[data-corvus-design="b"] .portal-icon-button {min-height:38px;border-radius:6px;padding:9px 13px;font:500 12px/1.4 Inter,system-ui,sans-serif;box-shadow:none;transform:none;letter-spacing:0;text-transform:none;gap:8px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-button {border:1px solid var(--portal-button-bg);color:var(--portal-button-text);background:var(--portal-button-bg);}
:root body.portal-page-host[data-corvus-design="b"] .portal-button-secondary {border:1px solid var(--portal-border);color:var(--portal-text);background:var(--portal-bg-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-button-ghost {border:1px solid transparent;color:var(--portal-text-soft);background:transparent;}
:root body.portal-page-host[data-corvus-design="b"] .portal-icon-button {display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--portal-border);background:none;color:var(--portal-text-soft);padding:8px;min-width:34px;}
:root body.portal-page-host[data-corvus-design="b"] :is(.portal-button,.portal-button-secondary,.portal-button-ghost,.portal-icon-button):hover:not(:disabled) {filter:brightness(1.12);transform:none;}
:root body.portal-page-host[data-corvus-design="b"] .portal-button-ghost:hover {background:var(--portal-hover);color:var(--portal-text);}
:root body.portal-page-host[data-corvus-design="b"] :is(.portal-button,.portal-button-secondary,.portal-button-ghost) svg {width:16px;height:16px;flex-shrink:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-sidebar-toggle {min-height:29px;min-width:28px;padding:6px;border:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-mobile-nav-toggle {display:none;}
:root body.portal-page-host[data-corvus-design="b"] :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {border:1px solid var(--portal-border);border-radius:7px;background:var(--portal-bg-soft);color:var(--portal-text);font:14px/1.5 Inter,system-ui,sans-serif;min-height:40px;padding:10px 12px;max-width:100%;}
:root body.portal-page-host[data-corvus-design="b"] :is(input,select,textarea):focus {border-color:var(--portal-border-strong);}
:root body.portal-page-host[data-corvus-design="b"] label {color:var(--portal-text-soft);font-size:13px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-status {font-size:10px;font-weight:500;border-radius:4px;letter-spacing:.02em;}
:root body.portal-page-host[data-corvus-design="b"] .portal-drawer-shell[hidden] {display:none!important;}
:root body.portal-page-host[data-corvus-design="b"] .portal-drawer {background:var(--portal-surface);border-left:1px solid var(--portal-border);color:var(--portal-text);box-shadow:-15px 0 60px #0004;width:min(540px,100vw);border-radius:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-drawer-head {border-bottom:1px solid var(--portal-border);background:var(--portal-surface);padding:24px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-drawer-head h2 {font-size:22px;font-weight:550;color:var(--portal-text);}
:root body.portal-page-host[data-corvus-design="b"] .portal-drawer-body {padding:24px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-history-detail,:root body.portal-page-host[data-corvus-design="b"] .portal-history-metric,:root body.portal-page-host[data-corvus-design="b"] .portal-list-item,:root body.portal-page-host[data-corvus-design="b"] .portal-key-manager,:root body.portal-page-host[data-corvus-design="b"] .portal-topup-currency-option {background:var(--portal-bg-soft);border-color:var(--portal-border);color:var(--portal-text);box-shadow:none;}
:root body.portal-page-host[data-corvus-design="b"] .portal-history-metric strong {color:var(--portal-text);font-weight:500;}
:root body.portal-page-host[data-corvus-design="b"] .portal-history-metric span,:root body.portal-page-host[data-corvus-design="b"] .portal-history-detail p {color:var(--portal-text-soft);font-size:12px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-pager {padding-top:14px;font-size:12px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-list-meta,:root body.portal-page-host[data-corvus-design="b"] .portal-key-meta {font-size:12px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-toolbar {padding:0 0 20px;border:0;border-bottom:1px solid var(--portal-border);background:none;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-toolbar-row {gap:16px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-toolbar-actions {display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-toolbar-filters {display:flex;flex-wrap:wrap;gap:10px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-search {min-width:0;max-width:100%;background:var(--portal-bg-soft);border:1px solid var(--portal-border);border-radius:7px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-search input {border:0;background:none;min-height:40px;width:100%;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-table-scroll {overflow:auto;border:1px solid var(--portal-border);border-radius:8px;background:var(--portal-bg-soft);max-width:100%;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-table {width:100%;min-width:800px;border-collapse:collapse;background:none;color:var(--portal-text);font-size:13px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-table th {padding:14px;color:var(--portal-text-soft);font-size:11px;font-weight:500;background:var(--portal-surface-strong);border-bottom:1px solid var(--portal-border);text-transform:none;letter-spacing:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-table td {padding:14px;border-bottom:1px solid var(--portal-border);background:none;vertical-align:top;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-table tbody tr:last-child td {border-bottom:0;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-table tr.is-selected {background:var(--portal-hover);}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-name strong {color:var(--portal-text);font-size:13px;font-weight:500;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-secret code {font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-quota-pill {border:0;border-radius:4px;font-size:11px;color:var(--portal-text-soft);background:none;white-space:nowrap;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-row-actions {display:flex;flex-wrap:nowrap;align-items:flex-start;gap:5px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-row-actions>.portal-button-ghost,:root body.portal-page-host[data-corvus-design="b"] .portal-keys-row-actions>.portal-button-secondary {min-height:32px;min-width:0;padding:7px 9px;font-size:11px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-key-menu {font-size:12px;color:var(--portal-text-soft);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-key-menu>summary {cursor:pointer;list-style-position:inside;min-height:34px;padding:8px 9px;border:1px solid var(--portal-border);border-radius:6px;white-space:nowrap;font-size:11px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-key-menu[open]>summary {background:var(--portal-hover);color:var(--portal-text);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-key-menu>div {display:grid;gap:4px;padding:8px 0 0;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-key-menu button {text-align:left;justify-content:flex-start;min-width:0;white-space:nowrap;}
:root body.portal-page-host[data-corvus-design="b"] .portal-keys-check {border-color:var(--portal-border-strong);background:var(--portal-bg);border-radius:4px;}
:root body.portal-page-host[data-corvus-design="b"] .portal-table-shell {padding:22px;}
@media(max-width:1250px){:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-main{padding-left:24px;padding-right:24px;}:root body.portal-page-host[data-corvus-design="b"] .corvus-overview-metrics{gap:12px;}:root body.portal-page-host[data-corvus-design="b"] .corvus-metric-card{padding:17px;}:root body.portal-page-host[data-corvus-design="b"] .corvus-metric-foot{display:grid;gap:5px;}:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid{grid-template-columns:minmax(0,1.3fr) minmax(295px,1fr);}:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-intro h2{font-size:27px;}}
@media(max-width:1100px){:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid{grid-template-columns:minmax(0,1fr);}:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid .portal-dashboard-access-card,:root body.portal-page-host[data-corvus-design="b"] .corvus-recent-activity,:root body.portal-page-host[data-corvus-design="b"] .corvus-recent-requests{grid-column:1;}:root body.portal-page-host[data-corvus-design="b"] .corvus-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}:root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-intro{align-items:flex-start;}:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-toolbar{gap:6px;}:root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-trigger{min-width:140px;}}
@media(max-width:980px){
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-shell,:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-shell.is-collapsed{display:block;width:100%;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-mobile-nav-toggle{display:inline-flex;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-heading-shell{display:flex;gap:12px;align-items:center;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-shell--dashboard .portal-dashboard-heading h1{font-size:14px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-main{padding:0 24px 28px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid .portal-dashboard-access-card,:root body.portal-page-host[data-corvus-design="b"] .corvus-recent-activity{grid-column:2;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-overview-metrics{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:760px){
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-main{padding:0 16px 24px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-topbar{min-height:72px;flex-wrap:wrap;gap:14px;padding:16px 0;margin-bottom:22px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-heading h1{font-size:23px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-toolbar{display:grid;grid-template-columns:auto 34px minmax(0,1fr) auto;gap:6px;align-items:center;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-shell--dashboard .portal-dashboard-toolbar{grid-template-columns:34px minmax(0,1fr) auto;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-workspace-link{padding:7px 9px;font-size:11px;min-width:0;white-space:nowrap;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-focus-select{min-width:0;width:100%;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-toolbar>.portal-button-ghost{font-size:11px;padding:7px;min-height:34px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-theme-toggle{min-height:34px;min-width:32px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-trigger{min-width:0;width:100%;padding:6px 8px;min-height:36px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-icon{display:none;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-copy strong{display:none;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-focus-select-copy small{font-size:11px;max-width:115px;overflow:hidden;text-overflow:ellipsis;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-intro{display:grid;gap:20px;margin:24px 0;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-intro h2{font-size:27px;max-width:330px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-intro>.portal-button{width:max-content;min-height:42px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-metric-card{padding:17px 15px;gap:14px;min-height:140px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-metric-value{font-size:29px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-metric-card .portal-kpi-head span{font-size:11px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-metric-card .portal-kpi-head svg{width:15px;height:15px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-metric-foot{font-size:10px;display:grid;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-grid .portal-dashboard-access-card,:root body.portal-page-host[data-corvus-design="b"] .corvus-recent-activity,:root body.portal-page-host[data-corvus-design="b"] .corvus-recent-requests{grid-column:1;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-panel,:root body.portal-page-host[data-corvus-design="b"] .portal-ref-card,:root body.portal-page-host[data-corvus-design="b"] .portal-kpi-card{padding:18px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-row{grid-template-columns:minmax(0,1fr);gap:16px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-kpi-card>strong{font-size:24px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-ref-head{gap:12px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-ref-head .portal-button-ghost{font-size:11px;white-space:nowrap;padding:3px 0;min-height:24px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-activity-chart{gap:5px;height:190px;min-height:190px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-activity-bar-group>strong{font-size:8px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-activity-bar-group>span{font-size:9px;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-table{min-width:540px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-invite{display:grid;gap:18px;}
 :root body.portal-page-host[data-corvus-design="b"] .corvus-dashboard-invite .portal-button-secondary{width:max-content;}
 :root body.portal-page-host[data-corvus-design="b"] .portal-drawer-head,:root body.portal-page-host[data-corvus-design="b"] .portal-drawer-body{padding:20px;}
}

.corvus-metric-card{min-height:108px!important;padding:18px!important;}
:root body.portal-page-host[data-corvus-design="b"] :is(.portal-kpi-card>.corvus-profile-email,.portal-kpi-card--billing-email>strong){display:block;min-width:0;max-width:100%;font-size:15px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.corvus-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.corvus-chart-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.corvus-model-chart{display:grid;gap:18px;}
.corvus-model-bar{display:grid;grid-template-columns:minmax(100px,1fr) minmax(60px,2fr) minmax(80px,1fr);align-items:center;gap:8px 16px;min-width:0;font-size:12px;}
.corvus-model-bar strong{overflow-wrap:anywhere;font-weight:500;}
.corvus-model-bar small{grid-column:1/-1;color:var(--cv-muted);}
.corvus-model-track{height:8px;background:var(--cv-raised);border-radius:3px;overflow:hidden;}
.corvus-model-track span{display:block;background:var(--cv-accent);height:100%;}
.corvus-model-chart--columns{display:flex;align-items:stretch;gap:20px;overflow-x:auto;padding-bottom:12px;}
.corvus-model-chart--columns .corvus-model-bar{display:flex;flex-direction:column;align-items:stretch;min-width:130px;flex:1;}
.corvus-model-chart--columns .corvus-model-track{height:160px;display:flex;align-items:flex-end;border-radius:0;order:-1;}
.corvus-model-chart--columns .corvus-model-track span{width:100%;}
@media(max-width:700px){.corvus-model-bar{grid-template-columns:minmax(0,1fr) minmax(40px,1fr);}.corvus-model-bar>span{grid-column:1/-1;}.corvus-traffic-card .portal-ref-head{flex-wrap:wrap;}}

/* Compact chart menu belongs to its heading, independent of generic form controls. */
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-heading h2{margin:0;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker{position:relative;flex:none;line-height:1.2;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;width:auto;max-width:140px;padding:5px 8px;border:1px solid var(--cv-border);border-radius:6px;background:var(--cv-surface);color:var(--cv-muted);font:500 12px/1.2 Inter,sans-serif;box-shadow:none;cursor:pointer;white-space:nowrap;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-trigger svg{width:14px;height:14px;flex:none;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-trigger svg:last-child{width:11px;height:11px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-trigger:hover,:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-trigger[aria-expanded="true"]{background:var(--cv-raised);color:var(--cv-text);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker :is(button):focus-visible{outline:2px solid var(--cv-accent);outline-offset:2px;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;width:148px;max-width:calc(100vw - 32px);padding:5px;border:1px solid var(--cv-border);border-radius:8px;background:var(--cv-surface);box-shadow:0 8px 24px #0003;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-menu.opens-up{top:auto;bottom:calc(100% + 6px);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-menu[hidden]{display:none;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-menu button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:32px;padding:7px 9px;border:0;border-radius:4px;background:transparent;color:var(--cv-text);font:400 12px/1.3 Inter,sans-serif;box-shadow:none;text-align:left;cursor:pointer;}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-menu button:is(:hover,:focus-visible,[aria-checked="true"]){background:var(--cv-raised);}
:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-check{color:var(--cv-accent);}
@media(max-width:700px){:root body.portal-page-host[data-corvus-design="b"] .portal-ref-head:has(.corvus-chart-heading){flex-wrap:wrap;}:root body.portal-page-host[data-corvus-design="b"] .corvus-chart-picker-menu button{min-height:40px;}}
/* Chart menus can open above the heading without the legacy card clipping them. */
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-panel:has(.corvus-chart-picker){overflow:visible;}
:root body.portal-page-host[data-corvus-design="b"] .portal-dashboard-panel:has([data-chart-picker-trigger][aria-expanded="true"]){z-index:10;}
:root body.portal-page-host[data-corvus-design="b"] .portal-ref-head > [data-model-range-select]{margin-left:auto;}
:root body.portal-page-host[data-corvus-design="b"] .portal-ref-head:has([data-chart-picker-trigger][aria-expanded="true"]){position:relative;z-index:12;}
