@layer legacy {
/*
 * Aristo Control Panel UI Design System — v10.47.39 / UI 5.2
 *
 * Canonical, cross-module layout and component contract.
 *
 * COLOR LIVES IN theme.css, NOT HERE.
 * This file describes structure, spacing, typography and component shape.
 * Every color must come through a semantic token (var(--surface-1),
 * var(--text-muted), var(--accent), ...). A hardcoded hex or rgba here is a
 * bug: it will look correct in whichever theme it was authored against and
 * break in the other one.
 *
 * Load order is theme.css -> style.css -> design-system.css.
 *
 * History: this file previously carried stacked per-generation layers
 * (UI 3.0, UI 3.1, UI 4.0 Heroic, UI 5.0, UI 5.1) plus a dedicated NOC mode,
 * each re-declaring the same tokens and overriding the last. UI 5.2 collapsed
 * them into the single contract in theme.css; the per-generation section
 * markers below are kept for provenance only and no longer define color.
 */

/* ----- Page geometry ----- */
/* v10.47.30 — Aristo UI 3.1 */
.portal-workspace .app-main {
  width: min(100%, var(--ui-content-max));
  margin-inline: auto;
  padding: var(--ui-page-pad-y) var(--ui-page-pad-x) 72px;
  display: flow-root;
}
.portal-workspace .app-main > * + * { margin-top: var(--ui-section-gap); }
.portal-workspace .app-main > .notice + * { margin-top: 14px; }

.page-heading,
.ui-page-header {
  margin: 0 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.page-heading.compact { align-items: flex-start; }
.page-heading > div:first-child,
.ui-page-header__copy { min-width: 0; }
.page-heading h2,
.ui-page-header h1,
.ui-page-header h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 2.25vw, 34px);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.page-heading p,
.ui-page-header p { margin: 0; max-width: 880px;  line-height: 1.45; }
.heading-actions,
.page-actions,
.ui-page-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }

/* ----- Canonical surfaces / sections ----- */
.surface,
.card,
.ui-card,
.table-wrap,
.table-surface {
  border-radius: var(--ui-card-radius);
  
  
}
.surface,
.card,
.ui-card { min-width: 0; }

.section-heading,
.panel-heading,
.ui-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin: 0;
}
.section-heading > div:first-child,
.panel-heading > div:first-child,
.ui-section-header__copy { min-width: 0; }
.section-heading h3,
.panel-heading h3,
.ui-section-header h2,
.ui-section-header h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.25; }
.section-heading p,
.panel-heading p,
.ui-section-header p { margin: 0;  font-size: var(--ui-text-sm); line-height: 1.45; }

/* A reusable section shell. New templates should use this instead of page-specific padding. */
.ui-section { overflow: hidden;   border-radius: var(--ui-card-radius);  }
.ui-section > .ui-section-header,
.ui-section > .section-heading { padding: 16px 18px 12px;  }
.ui-section__body { padding: 18px; }
.ui-section__body.flush { padding: 0; }

/* ----- Inputs: one visual contract everywhere inside the portal ----- */
.portal-workspace input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
.portal-workspace select,
.portal-workspace textarea {
  width: 100%;
  min-width: 0;
  min-height: var(--ui-control-h);
  
  border-radius: var(--ui-control-radius);
  
  
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  
  transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
.portal-workspace textarea { min-height: 78px; resize: vertical; }
.portal-workspace input:focus,
.portal-workspace select:focus,
.portal-workspace textarea:focus {   }
.portal-workspace input:disabled,
.portal-workspace select:disabled,
.portal-workspace textarea:disabled {   cursor: not-allowed; }
.portal-workspace input[type="checkbox"],
.portal-workspace input[type="radio"] {  }

.ui-field,
.portal-workspace label.ui-field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.ui-field > span,
.portal-workspace .field-label,
.portal-workspace .billing-form-grid label > span,
.portal-workspace .manual-line-grid label > span {
  
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}
.ui-field > small,
.ui-help {  font-size: 11px; line-height: 1.4; }

.ui-form-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 14px 16px; align-items: start; }
.ui-col-12 { grid-column: span 12; }
.ui-col-8 { grid-column: span 8; }
.ui-col-6 { grid-column: span 6; }
.ui-col-4 { grid-column: span 4; }
.ui-col-3 { grid-column: span 3; }
.ui-col-2 { grid-column: span 2; }

/* ----- Buttons / actions ----- */
.button,
.portal-workspace button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out),
.icon-button {
  min-height: 36px;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}
.button.small,
.portal-workspace button.small { min-height: 32px; padding: 6px 10px; font-size: 11px; }
.actions,
.resource-actions,
.form-actions,
.ui-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.ui-actions.end { justify-content: flex-end; }
.ui-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  
  
}

/* ----- KPI / summary cards ----- */
.ui-stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; }
.ui-stat {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 90px;
  padding: 15px 16px;
  
  border-radius: 10px;
  
}
.ui-stat > span {  font-size: 10px; text-transform: uppercase; letter-spacing: .065em; font-weight: 800; }
.ui-stat > strong { font-size: 18px; line-height: 1.15; }
.ui-stat > small {  font-size: 11px; line-height: 1.35; }

/* ----- Tables ----- */
.table-wrap,
.table-surface { overflow: auto;  }
.portal-workspace table { min-width: 0; }
.portal-workspace th,
.portal-workspace td { padding: 11px 13px; }
.portal-workspace th { font-size: 10px; letter-spacing: .055em; }
.portal-workspace td { font-size: 12px; line-height: 1.4; }
.portal-workspace tbody tr { transition: background .12s ease; }
.ui-table-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

/* ----- Empty states ----- */
.empty-state,
.ui-empty-state {
  min-height: 150px;
  padding: 28px 22px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}
.empty-state.compact-empty,
.ui-empty-state.compact { min-height: 100px; padding: 20px; }
.empty-state h3,
.ui-empty-state h3 { margin: 4px 0; font-size: 15px; }
.empty-state p,
.ui-empty-state p { max-width: 620px; margin: 0 0 12px; font-size: 12px; line-height: 1.45; }

/* ----- Details / disclosure ----- */
.portal-workspace details.surface > summary,
.ui-disclosure > summary { cursor: pointer; list-style: none; }
.portal-workspace details.surface > summary::-webkit-details-marker,
.ui-disclosure > summary::-webkit-details-marker { display: none; }

/* ----- Billing pages: migrated to system geometry rather than bespoke stretching ----- */
.billing-control-panel { overflow: hidden; }
.billing-control-panel > .section-heading { padding: 16px 18px 12px;  }
.billing-control-layout { padding: 14px 18px 16px; gap: 12px; align-items: start; }
.billing-control-card { height: 100%; min-height: 0; padding: 14px; gap: 10px; background: var(--surface-1); }
.billing-control-card-head { min-height: 42px; }
.billing-control-card > label:not(.toggle-row), .billing-run-fields label { gap: 5px; }
.billing-control-card > label > span, .billing-run-fields label > span { color: var(--text-faint); font-size: 11px; font-weight: 700; }
.billing-control-card > label > small { font-size: 10px; }
.billing-controls-actions { padding-top: 2px; }

.billing-ledger-panel > .section-heading { padding: 15px 18px 12px; }
.billing-ledger-actions { justify-content: flex-end; }
.billing-ledger-filter { display: flex; flex-wrap: wrap; gap: 7px; border-left: 0; padding-left: 0; }
.billing-ledger-filter select { width: auto; min-width: 145px; }
.billing-row-actions { display: flex; justify-content: flex-end; gap: 6px; }
.billing-row-actions > a, .billing-row-actions > form { margin-left: 0; }

.billing-form-surface { overflow: hidden; }
.billing-form-surface > .section-heading { padding: 16px 18px 12px;  }
.billing-form-grid { padding: 16px 18px 18px; gap: 13px 16px; }
.manual-invoice-form { gap: 16px; }
.manual-invoice-line-list { gap: 12px; }
.manual-invoice-line { padding: 14px; border-radius: 10px;  }
.manual-invoice-line-head { margin-bottom: 12px; }
.manual-line-grid { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 12px 14px; }
.manual-line-grid > label:nth-of-type(1) { grid-column: span 4; }
.manual-line-grid > label:nth-of-type(2) { grid-column: span 3; }
.manual-line-grid > label:nth-of-type(3) { grid-column: span 5; }
.manual-line-grid > label:nth-of-type(4) { grid-column: span 2; }
.manual-line-grid > label:nth-of-type(5) { grid-column: span 2; }
.manual-line-grid > label:nth-of-type(6) { grid-column: span 4; }
.manual-line-grid > label:nth-of-type(7),
.manual-line-grid > label:nth-of-type(8) { grid-column: span 2; }
.manual-line-grid > .manual-line-details { grid-column: span 12; }
.manual-invoice-submit { padding: 0; align-items: center; }
.manual-invoice-submit > div:first-child { min-width: 0; }

.billing-invoice-summary-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.billing-invoice-summary-grid > div { min-height: 86px; padding: 14px 16px; }
.billing-invoice-lines > .section-heading,
.billing-payment-history > .section-heading,
.billing-reminder-history > .section-heading,
.billing-action-card > .section-heading { padding: 15px 17px 11px;  }
.billing-invoice-lines > .table-wrap,
.billing-payment-history > .table-wrap,
.billing-reminder-history > .table-wrap {  border-radius: 0;  }

/* ----- Generic responsive contract ----- */
@media (max-width: 1180px) {
  .billing-control-layout { grid-template-columns: 1fr 1fr; }
  .billing-manual-run-card { grid-column: 1 / -1; }
  .manual-line-grid > label:nth-of-type(1),
  .manual-line-grid > label:nth-of-type(2),
  .manual-line-grid > label:nth-of-type(3),
  .manual-line-grid > label:nth-of-type(6) { grid-column: span 6; }
  .manual-line-grid > label:nth-of-type(4),
  .manual-line-grid > label:nth-of-type(5),
  .manual-line-grid > label:nth-of-type(7),
  .manual-line-grid > label:nth-of-type(8) { grid-column: span 3; }
}
@media (max-width: 820px) {
  .portal-workspace .app-main { padding-inline: 16px; }
  .page-heading,
  .ui-page-header { flex-direction: column; gap: 14px; }
  .heading-actions,
  .page-actions,
  .ui-page-actions { justify-content: flex-start; width: 100%; }
  .billing-control-layout { grid-template-columns: 1fr; }
  .billing-manual-run-card { grid-column: auto; }
  .billing-invoice-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .manual-line-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .manual-line-grid > label:nth-of-type(n),
  .manual-line-grid > .manual-line-details { grid-column: span 1; }
  .manual-line-grid > label:nth-of-type(1),
  .manual-line-grid > label:nth-of-type(3),
  .manual-line-grid > label:nth-of-type(6),
  .manual-line-grid > .manual-line-details { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .billing-invoice-summary-grid { grid-template-columns: 1fr; }
  .manual-line-grid { grid-template-columns: 1fr; }
  .manual-line-grid > label:nth-of-type(n),
  .manual-line-grid > .manual-line-details { grid-column: auto; }
  .button,
  .portal-workspace button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out) { white-space: normal; }
}
.ui-actions-center { justify-content: center; }
.manual-invoice-lines > .section-heading { padding: 16px 18px 12px;  }
.manual-invoice-line-list { padding: 14px 18px 18px; }
.manual-invoice-submit { padding: 14px 18px; }
.manual-invoice-submit > div:first-child { display: grid; gap: 3px; }
.manual-invoice-submit small {  font-size: 11px; line-height: 1.4; }
/* Generic field labels for legacy forms that have not yet migrated to ui-field. */
.portal-workspace form label:not(.toggle-row):not(.checkbox-line):not(.option-card):not(.port-choice):not(.segmented-control) > span:first-child {
  display: block;
  margin: 0 0 5px;
  
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.portal-workspace form label:not(.toggle-row):not(.checkbox-line):not(.option-card):not(.port-choice) > small {
  display: block;
  margin-top: 5px;
  
  font-size: 11px;
  line-height: 1.4;
}
/* Full-screen monitoring wallboard is a sanctioned application-shell variant. */
body.monitor-wallboard-active { overflow: hidden; }
.portal-workspace .app-main.monitor-wallboard-main { height: calc(100vh - 64px); overflow: hidden; padding: 12px 16px 14px; }

/* ----- v1.1 complete control-panel scope -----
 * Every authenticated page receives .ui-scope from its shared shell. The
 * authentication shell uses the same scope so controls, cards and actions no
 * longer depend on a separate visual contract. Legacy module class names are
 * retained as compatibility aliases while their shared geometry is governed
 * here.
 */
.ui-scope { min-width: 0; }
.ui-scope > * { min-width: 0; }
.ui-scope > * + * { margin-top: var(--ui-section-gap); }
.ui-scope > .notice + * { margin-top: 14px; }

.ui-scope :is(.surface, .card, .ui-card, .table-wrap, .table-surface, .table-scroll) {
  min-width: 0;
  max-width: 100%;
  border-radius: var(--ui-card-radius);
  
  
}
.ui-scope :is(.table-wrap, .table-surface, .table-scroll) {
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-inline: contain;
  
}

.ui-scope :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
  select,
  textarea
) {
  width: 100%;
  min-width: 0;
  min-height: var(--ui-control-h);
  
  border-radius: var(--ui-control-radius);
  padding: 8px 10px;
  
  
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  
  transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
.ui-scope textarea { min-height: 78px; resize: vertical; }
.ui-scope input:focus,
.ui-scope select:focus,
.ui-scope textarea:focus {
  
  
  
}
.ui-scope input:disabled,
.ui-scope select:disabled,
.ui-scope textarea:disabled {   cursor: not-allowed; }
.ui-scope input[type="checkbox"],
.ui-scope input[type="radio"] {  }

.ui-scope form label:not(.toggle-row):not(.checkbox-line):not(.option-card):not(.port-choice):not(.segmented-control) > span:first-child,
.ui-scope .ui-field > span,
.ui-scope .field-label {
  display: block;
  margin: 0 0 5px;
  
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.ui-scope form label:not(.toggle-row):not(.checkbox-line):not(.option-card):not(.port-choice) > small,
.ui-scope .ui-help {
  display: block;
  margin-top: 5px;
  
  font-size: 11px;
  line-height: 1.4;
}
.ui-scope .form-grid { gap: 14px 16px; padding: 18px; align-items: start; }
.ui-scope .form-grid.embedded-grid { padding: 0; }
.ui-scope .form-grid > .wide { grid-column: 1 / -1; }

.ui-scope :is(.button, .icon-button),
.ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out) {
  min-height: 36px;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}
.ui-scope :is(.button.small, .icon-button.small),
.ui-scope button.small { min-height: 32px; padding: 6px 10px; font-size: 11px; }
.ui-scope :is(.actions, .resource-actions, .form-actions, .ui-actions) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ui-scope .actions.compact { min-width: 0; }

.ui-scope table { width: 100%; min-width: 0; border-collapse: collapse; }
.ui-scope th,
.ui-scope td { padding: 11px 13px; }
.ui-scope th { font-size: 10px; letter-spacing: .055em; }
.ui-scope td { font-size: 12px; line-height: 1.4; }
.ui-scope tbody tr { transition: background .12s ease; }

.ui-scope :is(.empty-state, .ui-empty-state) {
  min-height: 150px;
  padding: 28px 22px;
}
.ui-scope :is(.empty-state.compact, .empty-state.compact-empty, .ui-empty-state.compact) {
  min-height: 100px;
  padding: 20px;
}

/* Dynamic meters use custom properties instead of page-local width rules. */
.backbone-utilization i > b,
.utilization-track > span,
.sflow-protocol-track > span { width: var(--bar-width, 0%); }

/* Shared authentication shell. */
.auth-workspace { margin-inline: auto; }
.auth-workspace .login-panel {
  border-radius: var(--ui-card-radius);
  
  
}
.auth-workspace .login-brand { margin-bottom: 28px; }
.auth-workspace .login-form { gap: 14px; }
.auth-workspace .login-secondary-form { margin-top: 12px; }
.auth-workspace .ui-section-title {
  margin: 8px 0 0;
  padding: 14px 0 8px;
  
  
  font-size: 12px;
  letter-spacing: .055em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .ui-scope .form-grid { grid-template-columns: 1fr; }
  .ui-scope .form-grid > *,
  .ui-scope .form-grid > .wide { grid-column: auto; }
  .ui-scope :is(.section-heading, .panel-heading, .ui-section-header) {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .auth-workspace { padding: 0; }
  .auth-workspace .login-panel { border-radius: 0; }
  .ui-scope :is(.button, .icon-button),
  .ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out) { white-space: normal; }
}

/* ----- v1.2 operational visual language -----
 * Dependency-free SVG icons, action cards and readiness panels. The visual
 * treatment is intentionally restrained so status and workflow remain primary.
 */
.ui-icon { display: block; width: 18px; height: 18px; flex: 0 0 auto; }
.ui-icon--sm { width: 15px; height: 15px; }
.ui-icon--lg { width: 26px; height: 26px; }
.ui-button--icon,
.ui-scope .ui-button--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ui-scope button:disabled {  }

/* Navigation now uses a consistent icon button surface instead of font glyphs. */
.portal-nav a .nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  
  border-radius: 8px;
  
  
  transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.portal-nav a .nav-icon .ui-icon { width: 16px; height: 16px; }
.portal-nav a:hover .nav-icon {    }
.portal-nav a.active .nav-icon {    }
.topbar-global-search button .ui-icon { width: 16px; height: 16px; }
.automation-bell .ui-icon { width: 18px; height: 18px; }
.logout-button { display: inline-flex; align-items: center; gap: 7px; }
.logout-button .ui-icon { width: 15px; height: 15px; }

/* Shared icon section headings. */
.icon-panel-heading { align-items: center; justify-content: flex-start; gap: 12px; }
.icon-panel-heading > div:nth-child(2) { flex: 1; min-width: 0; }
.panel-heading-icon,
.empty-state-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  
  
}
.panel-heading-icon.success,
.empty-state-icon.success {   }
.panel-heading-icon.warning {   }

/* System health command centre. */
.health-command-panel {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  overflow: hidden;
  border-left-width: 4px;
}
.health-command-panel.healthy {   }
.health-command-panel.attention {   }
.health-command-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; }
.health-command-panel.healthy .health-command-icon {   }
.health-command-panel.attention .health-command-icon {   }
.health-command-copy h3 { margin: 1px 0 3px; font-size: 17px; }
.health-command-copy p { margin: 0;  font-size: 12px; }
.health-command-panel .status-pill,
.email-delivery-panel .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 6px 10px;
  white-space: nowrap;
}
.health-command-panel .status-pill i,
.email-delivery-panel .status-pill i { width: 7px; height: 7px; border-radius: 50%;   }
.health-signal-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.health-signal {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  align-items: start;
  gap: 12px;
  min-height: 116px;
  
}
.health-signal.success {  }
.health-signal.warning {  }
.health-signal-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;   }
.health-signal.success .health-signal-icon {   }
.health-signal.warning .health-signal-icon {   }
.health-signal > div:last-child { min-width: 0; }
.health-signal > div:last-child > span { font-size: 10px; }
.health-signal > div:last-child > strong { margin-top: 5px; font-size: 19px; }
.health-signal > div:last-child > small { line-height: 1.4; overflow-wrap: anywhere; }
.health-warning-panel > .panel-heading,
.operational-list-panel > .panel-heading { padding: 16px 18px;  }
.health-warning-panel .badge { margin-left: auto; }
.health-warning-list { padding: 12px 18px 16px; }
.health-warning-list > div { align-items: center; padding: 11px 12px; font-size: 11px; }
.warning-item-icon { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px;   }
.warning-item-icon .ui-icon { width: 15px; height: 15px; }
.operational-list-panel { overflow: hidden; }
.operational-list-panel .resource-list { padding: 0 16px 10px; }
.operational-list-panel .ui-empty-state { min-height: 156px; }
.operational-list-panel .ui-empty-state p { margin-bottom: 0; }

/* Settings module launcher and email delivery console. */
.settings-module-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 0; }
.settings-module-card { min-height: 104px; padding: 17px; gap: 13px; border-color: var(--border); }
.settings-module-card:hover { transform: translateY(-1px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(31,52,110,.09); }
.settings-module-card .settings-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; }
.settings-module-card .settings-icon .ui-icon { width: 19px; height: 19px; }
.settings-module-card strong { font-size: 13px; }
.settings-module-card small { font-size: 10.5px; }
.settings-card-arrow { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; color: var(--text-subtle); background: var(--surface-1); }
.settings-card-arrow .ui-icon { width: 15px; height: 15px; }
.settings-module-card:hover .settings-card-arrow { color: var(--primary); background: var(--primary-soft); }
.settings-section { scroll-margin-top: 18px; }
.settings-section .icon-panel-heading { padding: 15px 17px; }
.email-delivery-panel { overflow: hidden; }
.email-delivery-panel > .panel-heading { padding: 16px 18px;   }
.email-delivery-panel > .panel-heading .status-pill { margin-left: auto; }
.email-delivery-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(340px,.75fr); }
.email-delivery-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; padding: 16px; background: var(--border); }
.email-readiness-item { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: start; gap: 10px; padding: 14px; background: var(--surface-1); min-width: 0; }
.email-readiness-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--primary); background: var(--primary-soft); }
.email-readiness-icon .ui-icon { width: 16px; height: 16px; }
.email-readiness-item div { min-width: 0; }
.email-readiness-item small,
.email-readiness-item strong,
.email-readiness-item div > span { display: block; }
.email-readiness-item small { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .065em; font-weight: 800; }
.email-readiness-item strong { margin-top: 3px; font-size: 12px; overflow-wrap: anywhere; }
.email-readiness-item div > span { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.email-test-console { display: grid; align-content: start; gap: 12px; padding: 18px; border-left: 1px solid var(--border); background: var(--surface-1); }
.email-test-console h4 { margin: 2px 0 3px; }
.email-test-console p { margin: 0; color: var(--muted); font-size: 11px; }
.email-test-console .settings-inline-test { display: grid; align-items: stretch; gap: 10px; }
.email-test-console .settings-inline-test label { min-width: 0; }
.email-test-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.settings-savebar .ui-icon { width: 16px; height: 16px; }

.service-choice-icon .ui-icon,
.catalog-source-icon .ui-icon { width: 19px; height: 19px; }

/* Country-aware delivery cards. */
.datacenter-card { overflow: hidden; }
.datacenter-card-head { gap: 10px; }
.datacenter-country { display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px 3px 4px;  border-radius: 999px;   font-size: 9px; line-height: 1; font-weight: 800; letter-spacing: .04em; }
.datacenter-flag { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;   font-size: 15px; line-height: 1; letter-spacing: 0; }
.datacenter-select { display: inline-flex; align-items: center; gap: 6px; width: max-content; min-height: 28px; padding: 4px 8px; margin-left: -8px; border-radius: 7px; transition: background .14s ease, color .14s ease; }
.datacenter-select .ui-icon { width: 14px; height: 14px; transition: transform .14s ease; }
.datacenter-card:hover .datacenter-select {  }
.datacenter-card:hover .datacenter-select .ui-icon { transform: translateX(2px); }
.datacenter-card:has(input:checked) .datacenter-country {    }

@media (max-width: 1180px) {
  .health-signal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .settings-module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .email-delivery-layout { grid-template-columns: 1fr; }
  .email-test-console { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 820px) {
  .icon-panel-heading { align-items: flex-start; }
  .icon-panel-heading > .badge,
  .icon-panel-heading > .status-pill { margin-left: 52px; }
  .health-command-panel { grid-template-columns: auto minmax(0,1fr); align-items: start; }
  .health-command-panel .status-pill { grid-column: 2; justify-self: start; }
  .email-delivery-summary { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .health-signal-grid,
  .settings-module-grid { grid-template-columns: 1fr; }
  .health-command-panel { grid-template-columns: 1fr; }
  .health-command-panel .status-pill { grid-column: 1; }
  .email-test-actions { justify-content: stretch; }
  .email-test-actions > * { flex: 1; }
  .datacenter-country > span:last-child { display: none; }
  .datacenter-country { padding-right: 4px; }
}

/* ----- v1.3 interaction and consistency layer -----
 * The final shared layer deliberately sits after every compatibility rule so
 * controls behave the same on legacy and newly rebuilt modules.
 */
.ui-scope :is(.button, .icon-button),
.ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 14px;
  
  border-radius: 10px;
  
  
  
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease, color .14s ease;
}
.ui-scope :is(.button, .icon-button):hover,
.ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):hover {
  
  
  
  
  transform: translateY(-1px);
}
.ui-scope :is(.button, .icon-button):active,
.ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):active {
  
  transform: translateY(0);
}
.ui-scope :is(.button, .icon-button):focus-visible,
.ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):focus-visible {
  
  outline-offset: 2px;
}
.ui-scope :is(.button.primary, .button[class~="primary"]),
.ui-scope button.primary {
  
  
  
  
}
.ui-scope :is(.button.primary, .button[class~="primary"]):hover,
.ui-scope button.primary:hover {
  
  
  
  
}
.ui-scope .button.secondary,
.ui-scope button.secondary {
  
  
  
  
}
.ui-scope .button.secondary:hover,
.ui-scope button.secondary:hover {    }
.ui-scope :is(.button.danger, button.danger):not(.ghost) {
  
  
  
  
}
.ui-scope :is(.button.danger, button.danger):not(.ghost):hover {    }
.ui-scope :is(.button.danger.ghost, button.danger.ghost) {     }
.ui-scope :is(.button.danger.ghost, button.danger.ghost):hover {    }
.ui-scope :is(.button.small, .icon-button.small),
.ui-scope button.small { min-height: 34px; padding: 7px 10px; border-radius: 8px; font-size: 11px; }
.ui-scope :is(.button, .icon-button) > .ui-icon,
.ui-scope button > .ui-icon { width: 16px; height: 16px; }
.ui-scope :is(.button, .icon-button).disabled,
.ui-scope :is(.button, .icon-button)[aria-disabled="true"],
.ui-scope button:disabled { opacity: .52; cursor: not-allowed;  transform: none; }

/* Shared utilities used by older modules. */
.ui-scope .block { display: block; }
.ui-scope :is(.table-actions, .ui-table-actions) { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; }
.ui-scope :is(.table-actions, .ui-table-actions) form { display: inline-flex; margin: 0; }
.ui-scope .filter-row { display: grid; gap: 10px; align-items: end; }
.ui-scope .filter-row label { display: grid; gap: 5px; min-width: 0; }
.ui-scope .form-check { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.ui-scope .form-check > .form-check-input { flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0; }
.ui-scope .form-check > .form-check-label { display: grid; gap: 3px; margin: 0;  font-size: 12px; font-weight: 700; line-height: 1.4; }
.ui-scope .form-check > .form-check-label > strong,
.ui-scope .form-check > .form-check-label > small { display: block; margin: 0; }
.ui-scope .form-check > .form-check-label > small {  font-size: 11px; font-weight: 600; }
.ui-scope .form-check.form-switch > .form-check-input {
  appearance: none;
  width: 36px;
  height: 20px;
  margin-top: 0;
  
  border-radius: 999px;
  
  
  cursor: pointer;
  transition: border-color .14s ease, background .14s ease, box-shadow .14s ease;
}
.ui-scope .form-check.form-switch > .form-check-input:checked {
  
  
  
}
.ui-scope fieldset.checks { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 14px;  border-radius: 10px;  }
.ui-scope fieldset.checks > legend { padding: 0 5px;  font-size: 11px; font-weight: 700; }
.ui-scope fieldset.checks > label { display: flex; align-items: flex-start; gap: 9px; }
.ui-scope .support-toolbar .filter-row { grid-template-columns: repeat(auto-fit,minmax(160px,1fr)) auto; width: 100%; }

/* Real vector flags render consistently on Windows, macOS, Linux and mobile. */
.datacenter-flag,
.country-flag-vector {
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 20px;
  overflow: hidden;
  
  border-radius: 4px;
  
  
}
.country-flag-svg { display: block; width: 100%; height: 100%; }
.datacenter-country { min-height: 28px; padding: 3px 8px 3px 4px; gap: 7px; }
.service-choice-check .ui-icon { width: 15px; height: 15px; }
.catalog-source-card > b .ui-icon { width: 16px; height: 16px; }
.catalog-card-select { display: inline-flex; align-items: center; gap: 6px; }
.catalog-card-select .ui-icon { width: 14px; height: 14px; transition: transform .14s ease; }
.catalog-offering-card:hover .catalog-card-select .ui-icon,
.admin-catalog-card:hover .catalog-card-select .ui-icon { transform: translateX(2px); }
.readiness-mark .ui-icon { width: 13px; height: 13px; }
.disclosure .ui-icon,
.chevron .ui-icon { width: 16px; height: 16px; transition: transform .16s ease; }
details[open] > summary .disclosure .ui-icon,
details[open] > summary .chevron .ui-icon { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
  .ui-scope *,
  .ui-scope *::before,
  .ui-scope *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}

@media (max-width: 720px) {
  .ui-scope .support-toolbar .filter-row { grid-template-columns: 1fr; }
}

/* Shared inventory action hierarchy: one clear primary action plus overflow. */
.inventory-row-actions { display: flex; align-items: flex-start; justify-content: flex-end; gap: 6px; }
.inventory-row-actions > .inventory-open-action { flex: 0 0 auto; min-width: 70px; }
.inventory-row-actions .ui-icon { width: 13px; height: 13px; }
.inventory-action-menu { position: relative; z-index: 14; flex: 0 0 auto; }
.inventory-action-menu[open],
.service-action-menu[open] { z-index: 1600; }
.inventory-row-actions:has(.inventory-action-menu[open]),
.service-row-actions:has(.service-action-menu[open]) { position: relative; z-index: 1599; }
.inventory-action-menu > summary {
  display: grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.inventory-action-menu > summary::-webkit-details-marker { display: none; }
.inventory-action-menu[open] > summary {     }
.inventory-action-menu > nav {
  position: fixed;
  z-index: 1200;
  display: grid;
  width: 278px;
  padding: 6px;
  
  border-radius: 11px;
  
  
}
.inventory-action-menu > nav > :is(a,form,.inventory-menu-disabled) {
  display: grid;
  grid-template-columns: 27px minmax(0,1fr);
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 7px 8px;
  
  border-radius: 8px;
  
  
  text-decoration: none;
}
.inventory-action-menu > nav > :is(a,form):hover {   }
.inventory-action-menu > nav .ui-icon { width: 17px; height: 17px;  }
.inventory-action-menu > nav > form button {
  display: grid;
  grid-template-columns: 27px minmax(0,1fr);
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: flex-start;
  width: 100%;
  min-height: 34px;
  padding: 5px 0;
  
  
  
  
}
.inventory-action-menu > nav span span { display: grid; gap: 2px; }
.inventory-action-menu > nav strong { display: block; font-size: 10.5px; }
.inventory-action-menu > nav small { display: block;  font-size: 9px; font-weight: 600; line-height: 1.25; }
.inventory-action-menu > nav .inventory-menu-danger,
.action-menu-floating .inventory-menu-danger {  }
.inventory-action-menu > nav .inventory-menu-danger .ui-icon,
.action-menu-floating .inventory-menu-danger .ui-icon {  }
.inventory-menu-disabled { opacity: .58; cursor: not-allowed; }

/* Menus are moved to the document root while open so sticky table cells and
   overflow containers cannot paint later-row controls above them. */
.action-menu-floating {
  position: fixed;
  z-index: 2200;
  display: grid;
  width: 278px;
  padding: 6px;
  
  border-radius: 11px;
  
  
  
}
.action-menu-floating > :is(a,form,.inventory-menu-disabled,.service-menu-disabled) {
  display: grid;
  grid-template-columns: 27px minmax(0,1fr);
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 7px 8px;
  
  border-radius: 8px;
  
  
  text-decoration: none;
}
.action-menu-floating > :is(a,form):hover {   }
.action-menu-floating .ui-icon { width: 17px; height: 17px;  }
.action-menu-floating > form button {
  display: grid;
  grid-template-columns: 27px minmax(0,1fr);
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: flex-start;
  width: 100%;
  min-height: 34px;
  padding: 5px 0;
  
  
  
  
}
.action-menu-floating span span,
.action-menu-floating button > span { display: grid; gap: 2px; text-align: left; }
.action-menu-floating strong { display: block; font-size: 10.5px; }
.action-menu-floating small { display: block;  font-size: 9px; font-weight: 600; line-height: 1.25; }

/* ----- Peering request record ----- */
.peering-request-heading { align-items: center; }
.peering-request-heading h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; }
.peering-request-asn {  font-size: .72em; font-weight: 700; letter-spacing: -.02em; }
.peering-request-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.peering-request-summary-card {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: start;
  gap: 11px;
  min-width: 0;
  padding: 14px 15px;
  
  border-radius: 11px;
  
  
}
.peering-request-summary-icon,
.peering-request-message-icon,
.peering-request-workflow-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  
  
}
.peering-request-summary-icon.good {   }
.peering-request-summary-icon.warning {   }
.peering-request-summary-icon.danger {   }
.peering-request-summary-icon .ui-icon { width: 17px; height: 17px; }
.peering-request-summary-card > div { min-width: 0; }
.peering-request-summary-card :is(small,strong,span) { display: block; overflow-wrap: anywhere; }
.peering-request-summary-card small {  font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.peering-request-summary-card strong { margin-top: 4px; font-size: 12.5px; line-height: 1.3; }
.peering-request-summary-card > div > span { margin-top: 3px;  font-size: 10px; line-height: 1.35; }

.peering-request-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 370px; gap: 18px; align-items: start; }
.peering-request-message-card { overflow: hidden; padding: 0; }
.peering-request-message-head {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  
  
}
.peering-request-message-icon { width: 44px; height: 44px; border-radius: 12px; }
.peering-request-message-head > div { min-width: 0; }
.peering-request-message-head h2 { margin: 3px 0 4px; font-size: 17px; line-height: 1.3; letter-spacing: -.018em; overflow-wrap: anywhere; }
.peering-request-message-head p { margin: 0;  font-size: 10.5px; }
.peering-request-message-head > .badge { align-self: start; margin-top: 2px; }
.peering-request-document-canvas {
  padding: clamp(18px,2vw,30px);
  
}
.peering-request-document {
  width: min(100%,860px);
  margin-inline: auto;
  overflow: hidden;
  
  border-radius: 11px;
  
  
}
.peering-request-envelope { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; margin: 0; padding: 17px 22px 15px;   }
.peering-request-envelope > div { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 8px; min-width: 0; }
.peering-request-envelope dt {  font-size: 10px; font-weight: 800; }
.peering-request-envelope dd { min-width: 0; margin: 0; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.peering-request-envelope dd :is(strong,span) { display: block; }
.peering-request-envelope dd span { margin-top: 2px;  font-size: 10px; }
.peering-request-document .peering-request-body {
  margin: 0;
  min-height: 0;
  padding: 24px 28px 30px;
  
  border-radius: 0;
  
  
  font: 600 13px/1.68 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.peering-request-side-stack { position: sticky; top: 18px; display: grid; gap: 14px; min-width: 0; }
.peering-request-facts-card { overflow: hidden; padding: 0; }
.peering-request-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 17px 18px 14px;   }
.peering-request-card-head h2,
.peering-request-workflow-head h2 { margin: 3px 0 0; font-size: 17px; letter-spacing: -.02em; }
.peering-request-facts { display: grid; margin: 0; padding: 3px 18px 11px; }
.peering-request-facts > div { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 12px; padding: 11px 0;  }
.peering-request-facts > div:last-child {  }
.peering-request-facts dt {  font-size: 10.5px; font-weight: 700; }
.peering-request-facts dd { min-width: 0; margin: 0;  font-size: 11.5px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.peering-request-facts dd span { display: block; margin-top: 3px;  font-size: 10.5px; font-weight: 600; }
.peering-request-error { margin: 0 18px 16px; }
.peering-request-workflow-card { padding: 17px 18px 18px; }
.peering-request-workflow-head { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 11px; }
.peering-request-workflow-state { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 11px;  border-radius: 9px;  }
.peering-request-workflow-state span {  font-size: 10.5px; }
.peering-request-workflow-state strong { font-size: 11.5px; }
.peering-request-workflow-card > p { margin: 11px 0 13px;  font-size: 10.5px; line-height: 1.45; }
.peering-request-workflow-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.peering-request-workflow-actions > :is(a,form),
.peering-request-workflow-actions form > button { width: 100%; }

@media (max-width: 1180px) {
  .peering-request-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .peering-request-detail-layout { grid-template-columns: minmax(0,1fr) 330px; }
}
@media (max-width: 940px) {
  .peering-request-detail-layout { grid-template-columns: 1fr; }
  .peering-request-side-stack { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .peering-request-summary,
  .peering-request-side-stack,
  .peering-request-envelope,
  .peering-request-workflow-actions { grid-template-columns: 1fr; }
  .peering-request-message-head { grid-template-columns: 40px minmax(0,1fr); padding: 15px; }
  .peering-request-message-head > .badge { grid-column: 2; justify-self: start; }
  .peering-request-document-canvas { padding: 10px; }
  .peering-request-document .peering-request-body { padding: 20px 18px 24px; font-size: 12px; }
}

/* ----- Experience layer 2.0: navigation, discovery and operational polish ----- */
:root {
  --ui-brand-blue: #1764e8;
  --ui-brand-cyan: #39a9ff;
  --ui-navy-950: #061525;
  --ui-navy-900: #081c31;
  --ui-navy-850: #0c2540;
}

.portal-workspace {
  min-width: 0;
  isolation: isolate;
  
}
.portal-workspace::before {
  content: "";
  position: fixed;
  z-index: -1;
  right: 2.5vw;
  bottom: 3vh;
  width: 310px;
  height: 230px;
  opacity: .16;
  pointer-events: none;
  
  mask-image: linear-gradient(135deg,transparent,#000 30%,#000 70%,transparent);
}

.portal-topbar-context { min-width: 170px; }
.portal-menu-toggle { display: none; }
.topbar-icon-action,
.topbar-command-button {
  
  
  
  
}
.topbar-icon-action {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
}
.topbar-icon-action:hover,
.topbar-icon-action.is-active,
.topbar-command-button:hover {    }
.topbar-icon-action .ui-icon { width: 17px; height: 17px; }
.topbar-command-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 6px 8px 6px 11px;
}
.topbar-command-button > span { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; }
.topbar-command-button .ui-icon { width: 15px; height: 15px; }
.topbar-command-button kbd,
.command-palette kbd {
  min-width: 29px;
  padding: 3px 6px;
  
  border-radius: 6px;
  
  
  font: 700 9px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;
  text-align: center;
}

.portal-nav-group > span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  
}
.portal-nav-group > span::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 2px;
  
  
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}
.portal-nav-group > span:focus-visible {  }
.portal-nav-group.is-collapsed > span::after { transform: rotate(-45deg); }
.portal-nav-group.is-collapsed > a { display: none; }
.portal-nav a .nav-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 8px;
  
  
  transition: color .15s ease,background .15s ease,transform .15s ease;
}
.portal-nav a .nav-icon .ui-icon { width: 15px; height: 15px; }
.portal-nav a:hover .nav-icon {   transform: scale(1.04); }
.portal-nav a.active .nav-icon {    }

.experience-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 18px;
  margin: -7px 0 14px;
  
  font-size: 10px;
  font-weight: 700;
}
.portal-workspace .app-main > .experience-breadcrumbs + * { margin-top: 0; }
.experience-breadcrumbs a {  text-decoration: none; }
.experience-breadcrumbs a:hover {  }
.experience-breadcrumb-separator {  }
.experience-breadcrumb-module { text-transform: capitalize; }
.experience-breadcrumb-current { min-width: 0; overflow: hidden;  text-overflow: ellipsis; white-space: nowrap; }

.command-palette-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: start center;
  padding: min(14vh,120px) 18px 40px;
  
  backdrop-filter: blur(7px);
}
.command-palette-overlay[hidden] { display: none; }
.command-palette-open { overflow: hidden; }
.command-palette {
  width: min(680px,100%);
  overflow: hidden;
  
  border-radius: 17px;
  
  
  animation: command-in .16s ease-out;
}
@keyframes command-in { from { opacity: 0; transform: translateY(-9px) scale(.985); } to { opacity: 1; transform: none; } }
.command-palette > header { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 13px 15px;  }
.command-palette > header > .ui-icon {  }
.command-palette > header input { min-height: 38px; padding: 0;  border-radius: 0;  font-size: 14px; }
.command-palette > header kbd {    }
.command-palette-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 15px 7px;  font-size: 9px; }
.command-palette-caption strong {  font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; }
.command-palette-results { display: grid; gap: 3px; max-height: min(52vh,430px); overflow: auto; padding: 5px 8px 9px; }
.command-palette-option { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 55px; padding: 9px 11px;  border-radius: 10px;   text-align: left; }
.command-palette-option:hover,
.command-palette-option.is-selected {   }
.command-palette-option-copy { min-width: 0; }
.command-palette-option-copy strong,
.command-palette-option-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.command-palette-option-copy strong { font-size: 12px; }
.command-palette-option-copy small { margin-top: 3px;  font-size: 9.5px; font-weight: 600; }
.command-palette-option > .ui-icon { width: 16px; height: 16px; flex: 0 0 16px; }
.command-palette-empty { display: grid; place-items: center; min-height: 120px; padding: 22px;  text-align: center; }
.command-palette-empty strong {  font-size: 12px; }
.command-palette-empty span { margin-top: 5px; font-size: 10px; }

/* ----- Action cockpit and richer dashboard hierarchy ----- */
.dashboard-quick-actions {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 11px;
}
.dashboard-quick-action {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 17px;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 76px;
  padding: 12px 14px;
  
  border-radius: 13px;
  
  
  text-decoration: none;
  
  transition: border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.dashboard-quick-action:hover {   transform: translateY(-2px); }
.dashboard-quick-action > span:nth-child(2) { min-width: 0; }
.dashboard-quick-action strong,
.dashboard-quick-action small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-quick-action strong { font-size: 12px; }
.dashboard-quick-action small { margin-top: 4px;  font-size: 9.5px; }
.dashboard-quick-action > .ui-icon { width: 15px; height: 15px;  }
.dashboard-quick-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;   }
.dashboard-quick-icon .ui-icon { width: 18px; height: 18px; }
.dashboard-quick-action.primary-action {     }
.dashboard-quick-action.primary-action small,
.dashboard-quick-action.primary-action > .ui-icon {  }
.dashboard-quick-action.primary-action .dashboard-quick-icon {   }

.dashboard-kpis article { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 12px; align-items: start; }
.dashboard-kpis article > div { min-width: 0; }
.dashboard-kpi-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;   }
.dashboard-kpi-icon .ui-icon { width: 18px; height: 18px; }
.dashboard-kpis meter { display: block; width: 100%; height: 5px; margin-top: 10px; border: 0; background: var(--surface-2); }
.dashboard-kpis meter::-webkit-meter-bar { height: 5px; border: 0; border-radius: 999px; background: var(--surface-2); }
.dashboard-kpis meter::-webkit-meter-optimum-value { border-radius: 999px; background: linear-gradient(90deg,#1764e8,#41a7ff); }
.dashboard-kpis meter::-moz-meter-bar { border-radius: 999px; background: linear-gradient(90deg,#1764e8,#41a7ff); }
.dashboard-network-pulse { overflow: hidden; padding: 0; }
.dashboard-network-pulse > .panel-heading { padding: 15px 17px 12px;  }
.dashboard-link-pulse-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.dashboard-link-pulse { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 12px; min-width: 0; padding: 13px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);  text-decoration: none; }
.dashboard-link-pulse:nth-child(3n) { border-right: 0; }
.dashboard-link-pulse:hover {  }
.dashboard-link-pulse > span { min-width: 0; }
.dashboard-link-pulse strong,
.dashboard-link-pulse small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-link-pulse > span:first-child strong { font-size: 11px; }
.dashboard-link-pulse small { margin-top: 3px;  font-size: 8.5px; }
.dashboard-link-pulse-rate { text-align: right; }
.dashboard-link-pulse-rate strong { font-size: 12px; }
.dashboard-link-pulse meter { grid-column: 1 / -1; width: 100%; height: 5px;   }
.dashboard-link-pulse meter::-webkit-meter-bar { height: 5px;  border-radius: 999px;  }
.dashboard-link-pulse.normal meter::-webkit-meter-optimum-value { border-radius: 999px;  }
.dashboard-link-pulse.warning meter::-webkit-meter-optimum-value { border-radius: 999px;  }
.dashboard-link-pulse.critical meter::-webkit-meter-optimum-value { border-radius: 999px;  }
.dashboard-link-pulse.normal meter::-moz-meter-bar {  }
.dashboard-link-pulse.warning meter::-moz-meter-bar {  }
.dashboard-link-pulse.critical meter::-moz-meter-bar {  }

.datacenter-table-identity,
.customer-location-heading { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.datacenter-table-identity > span:last-child,
.customer-location-heading > span:last-child { min-width: 0; }
.datacenter-table-flag { display: inline-grid; place-items: center; width: 31px; height: 23px; flex: 0 0 31px; overflow: hidden;  border-radius: 5px;   }
.datacenter-table-flag .country-flag-svg { width: 30px; height: 20px; }
.map-inline-flag { width: 24px; height: 16px; overflow: hidden; border-radius: 3px;  }
.dc-map-icon { gap: 7px; min-width: 68px; height: 38px; padding: 0 9px; }
.dc-map-icon strong { font: 800 10px ui-monospace,SFMono-Regular,Menlo,monospace; }
.dc-map-icon .map-inline-flag { width: 23px; height: 15px;  }
.map-location-identity { display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; }
.map-location-identity .map-inline-flag { width: 30px; height: 20px; }
.service-dc-icon { gap: 7px; }
.service-dc-icon .map-inline-flag { width: 21px; height: 14px;  }
.service-dc-icon strong { font: inherit; }

/* ----- Saved table views, density and sticky row actions ----- */
.data-table-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 10px;
  
  
  border-radius: 11px 11px 0 0;
  
}
.data-table-toolbar + :is(.table-scroll,.table-wrap) { border-radius: 0 0 11px 11px; }
.data-table-search { position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 460px; }
.data-table-search .ui-icon { position: absolute; left: 11px; top: 50%; z-index: 1; width: 15px; height: 15px; transform: translateY(-50%); pointer-events: none; }
.data-table-search input { min-height: 34px; padding-left: 36px;  }
.data-table-result-count { margin-left: auto;  font-size: 9.5px; white-space: nowrap; }
.data-table-view-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; min-width: max-content; }
.data-table-density { width: auto; min-width: 118px; min-height: 34px; }
.data-table-columns { position: relative; flex: 0 0 auto; min-width: max-content; }
.data-table-columns summary { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 9px;  border-radius: 8px;   cursor: pointer; font-size: 10px; font-weight: 700; list-style: none; white-space: nowrap; }
.data-table-columns summary::-webkit-details-marker { display: none; }
.data-table-columns summary .ui-icon { width: 14px; height: 14px; }
.data-table-column-menu { position: absolute; z-index: 60; top: calc(100% + 7px); right: 0; display: grid; min-width: 210px; max-height: 310px; overflow: auto; padding: 7px;  border-radius: 10px;   }
.data-table-column-menu label { display: flex; align-items: center; gap: 8px; min-height: 31px; padding: 5px 7px; border-radius: 7px;  font-size: 10px; cursor: pointer; }
.data-table-column-menu label:hover {  }
.data-table-reset { min-height: 31px; margin-top: 4px; padding: 5px 7px;   border-radius: 0;    font-size: 9.5px; justify-content: flex-start; }
.is-enhanced-table .ui-column-hidden { display: none; }
.is-enhanced-table .ui-row-filtered { display: none; }
.is-enhanced-table.table-density-compact :is(th,td) { height: 34px; padding-top: 6px; padding-bottom: 6px; font-size: 10.5px; }
.is-enhanced-table.has-sticky-actions :is(th,td):last-child { position: sticky; right: 0; z-index: 2;   }
.is-enhanced-table.has-sticky-actions th:last-child { z-index: 4;  }
.is-enhanced-table tbody tr:hover td:last-child {  }

/* ----- Unified state, action feedback and empty/loading states ----- */
.status-indicator { width: 6px; height: 6px; flex: 0 0 6px; margin-right: 5px; border-radius: 50%;   }
.status-dot > .status-indicator { display: none; }
.badge,
.status-pill { align-items: center; }
.button,
.portal-workspace button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out) { position: relative; transition: border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease; }
.button:focus-visible,
.portal-workspace button:focus-visible,
.portal-workspace a:focus-visible {  outline-offset: 2px; }
.button:not(.primary):not(.danger):hover,
.portal-workspace button:not(.primary):not(.danger):hover { transform: translateY(-1px); }
.is-submitting { pointer-events: none; opacity: .78; }
.button-spinner { width: 12px; height: 12px; margin-right: 7px;   border-radius: 50%; animation: ui-spin .7s linear infinite; }
.ui-button--auto-icon { gap: 7px; }
.ui-auto-icon { width: 14px; height: 14px; flex: 0 0 14px; }
@keyframes ui-spin { to { transform: rotate(360deg); } }
.toast-region { position: fixed; z-index: 600; right: 18px; bottom: 18px; display: grid; gap: 9px; width: min(380px,calc(100vw - 36px)); pointer-events: none; }
.ui-toast { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 14px; padding: 13px 13px 13px 15px;   border-radius: 11px;    opacity: 0; transform: translateY(8px); transition: opacity .18s ease,transform .18s ease; pointer-events: auto; }
.ui-toast.is-visible { opacity: 1; transform: none; }
.ui-toast strong,
.ui-toast span { display: block; }
.ui-toast strong { font-size: 11px; }
.ui-toast span { margin-top: 3px; font-size: 9.5px; line-height: 1.45; }
.ui-toast-close { width: 25px; min-width: 25px; height: 25px; min-height: 25px; padding: 0;     font-size: 17px; }
.empty-state,
.ui-empty-state,
.catalog-empty-state .empty { position: relative; overflow: hidden; }
.empty-state::before,
.ui-empty-state::before,
.catalog-empty-state .empty::before { content: ""; display: block; width: 66px; height: 48px; margin: 0 auto 11px; opacity: .65;  }
.ui-map-container,
.network-map,
.customer-services-map,
.service-map {
  position: relative;
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
}
.ui-map-container > .leaflet-pane,
.ui-map-container > .leaflet-control-container { max-width: 100%; max-height: 100%; }
.ui-loading-panel { position: relative; overflow: hidden;  }
.ui-loading-panel::after { content: ""; position: absolute; inset: 0; z-index: 500;  transform: translateX(-100%); animation: ui-shimmer 1.2s infinite; pointer-events: none; }
@keyframes ui-shimmer { to { transform: translateX(100%); } }

/* ----- Customer identity and unified account timeline ----- */
.customer-account-hero { align-items: center; padding: 17px 19px; border: 1px solid #d6e2ef; border-radius: 15px; background: linear-gradient(125deg,#fff 0%,#f7faff 70%,#edf5ff 100%); box-shadow: 0 8px 24px rgba(18,57,105,.055); }
.customer-account-identity { display: flex; align-items: center; gap: 15px; }
.customer-account-avatar { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 16px; background: linear-gradient(145deg,#1764e8,#3696ff); color: var(--text-on-accent); font-size: 18px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 10px 22px rgba(23,100,232,.24); }
.customer-account-context { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 9px; color: var(--text-subtle); font-size: 10px; }
.customer-account-country { display: inline-flex; align-items: center; gap: 7px; }
.customer-account-country .country-flag-svg { width: 25px; height: 17px; border-radius: 3px;  }
.customer-account-context .status-pill { margin: 0; }
.customer-activity-panel { overflow: hidden; padding: 0; }
.customer-activity-panel > .panel-heading { padding: 16px 18px 13px;  }
.customer-activity-timeline { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.customer-activity-event { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; min-width: 0; padding: 11px 16px; border-bottom: 1px solid #e8edf3; color: var(--text-faint); text-decoration: none; }
.customer-activity-event:nth-child(odd) { border-right: 1px solid #e8edf3; }
.customer-activity-event:hover { background: var(--surface-1); }
.customer-activity-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-1); color: var(--accent-text); }
.customer-activity-event.order .customer-activity-icon { background: var(--surface-1); color: var(--accent-text); }
.customer-activity-event.invoice .customer-activity-icon { background: var(--surface-1); color: var(--success-text); }
.customer-activity-event.ticket .customer-activity-icon { background: var(--surface-1); color: var(--warning-text); }
.customer-activity-icon .ui-icon { width: 15px; height: 15px; }
.customer-activity-event > span:nth-child(2) { min-width: 0; }
.customer-activity-event strong,
.customer-activity-event small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-activity-event strong { font-size: 10.5px; }
.customer-activity-event small { margin-top: 3px; color: var(--text-muted); font-size: 9px; }
.customer-activity-event time { color: var(--text-muted); font-size: 8.5px; white-space: nowrap; }
.customer-service-footprint-list article { transition: border-color .15s ease,background .15s ease,transform .15s ease; }
.customer-service-footprint-list article:hover { border-color: var(--accent); background: var(--surface-1); transform: translateX(2px); }
.datacenter-provider-row { display: inline-flex; align-items: center; gap: 7px; }
.datacenter-provider-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px;   font-size: 8px; font-weight: 800; letter-spacing: .04em; }

/* ----- Portal shell containment and top-bar composition ----- */
html,
body.portal-body { min-height: 100%;  }
body.portal-body {
  overflow-x: hidden;
  overflow-x: clip;
}
.portal-shell {
  --portal-sidebar-width: 252px;
  display: block;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}
.portal-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--portal-sidebar-width);
  height: 100vh;
  height: 100dvh;
}
.portal-workspace {
  width: calc(100% - var(--portal-sidebar-width));
  margin-left: var(--portal-sidebar-width);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-x: clip;
}
.portal-topbar {
  min-width: 0;
  overflow: hidden;
}
.portal-topbar-context {
  display: grid;
  flex: 1 1 280px;
  align-content: center;
  gap: 4px;
  min-width: 0;
  max-width: min(520px,42vw);
}
.portal-topbar-context > strong,
.portal-topbar-context > small {
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-topbar-context > strong {
  
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.portal-topbar-context > small {
  
  font-size: 11px;
  line-height: 1.25;
}
.portal-top-actions {
  flex: 0 1 auto;
  min-width: 0;
}

/* ----- Visual rack inventory ----- */
.rack-page-heading { align-items: center; }
.rack-page-heading .heading-actions .ui-icon { width: 15px; height: 15px; }
.rack-summary-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 11px;
}
.rack-summary-grid > article {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 92px;
  padding: 14px 15px;
  
  border-radius: 12px;
  
  
}
.rack-summary-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  
  
}
.rack-summary-icon .ui-icon { width: 17px; height: 17px; }
.rack-summary-grid article > div { min-width: 0; }
.rack-summary-grid article > div > span,
.rack-summary-grid article > div > strong,
.rack-summary-grid article > div > small { display: block; }
.rack-summary-grid article > div > span {  font-size: 8.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.rack-summary-grid article > div > strong { margin-top: 3px; font-size: 18px; line-height: 1.1; }
.rack-summary-grid article > div > small { margin-top: 3px; overflow: hidden;  font-size: 9px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }

.rack-gallery-shell { overflow: hidden; padding: 0; }
.rack-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 18px 14px;
  
  
}
.rack-gallery-header h3 { margin: 0 0 3px; font-size: 17px; }
.rack-gallery-header small {  font-size: 10.5px; }
.rack-gallery-toolbar { display: flex; align-items: center; gap: 7px; }
.rack-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(310px,1fr));
  align-items: start;
  gap: 18px;
  padding: 20px;
  
}
.rack-visual-card {
  min-width: 0;
  overflow: hidden;
  
  border-radius: 15px;
  
  
}
.rack-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px 11px;
  
}
.rack-card-header div { min-width: 0; }
.rack-card-identity { display: flex; align-items: center; gap: 10px; }
.rack-card-identity > div > span { display: block; overflow: hidden;  font-size: var(--text-xs); font-weight: 800; letter-spacing: .055em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.rack-card-country { display: grid; flex: 0 0 auto; place-items: center; width: 24px; height: 18px; overflow: hidden;  border-radius: 5px;   }
.rack-card-country .country-flag-svg { display: block; width: 100%; height: 100%; }
.rack-card-header h3 { margin: 3px 0 0; overflow: hidden; font-size: 15px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.rack-card-facility { display: block; margin-top: 3px;  font-size: 9px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.rack-card-header small { display: block; margin-top: 2px;  font-size: var(--text-xs); }
.rack-face-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  
  border-radius: 999px;
  
  
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rack-flip-stage {
  height: var(--rack-height,480px);
  margin: 16px auto 12px;
  padding: 0 17px;
  perspective: 1200px;
}
.rack-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.2,.72,.25,1);
}
.rack-visual-card.is-rear .rack-flip-inner { transform: rotateY(180deg); }
.rack-cabinet {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 34px minmax(0,1fr) 51px;
  padding: 8px 9px 9px;
  overflow: hidden;
  border: 1px solid #1c2833;
  border-radius: 9px 9px 6px 6px;
  background: linear-gradient(90deg,#101820 0,#28333c 6%,#131b22 12%,#111920 88%,#29343d 94%,#10171e 100%);
  box-shadow: 0 13px 22px rgba(3,12,20,.25),inset 0 0 0 1px rgba(255,255,255,.06);
  backface-visibility: hidden;
}
.rack-face-rear { transform: rotateY(180deg); }
.rack-cabinet::before,
.rack-cabinet::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 52px;
  bottom: 55px;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg,#3d4a55,#111820 15%,#52606b 50%,#10171e 85%,#3d4a55);
  opacity: .72;
  pointer-events: none;
}
.rack-cabinet::before { left: 5px; }
.rack-cabinet::after { right: 5px; }
.rack-cap {
  display: grid;
  grid-template-columns: 9px 1fr auto 9px;
  align-items: center;
  gap: 7px;
  
}
.rack-cap strong { justify-self: center; font-size: 9px; letter-spacing: .24em; }
.rack-cap span {  font-size: 6.5px; font-weight: 800; letter-spacing: .1em; }
.rack-cap i {
  width: 5px;
  height: 5px;
  
  border-radius: 50%;
  
  
}
.rack-cap i:last-child {    }
.rack-visual-cavity {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  grid-template-rows: repeat(var(--rack-units),minmax(0,1fr));
  min-height: 0;
  overflow: hidden;
  
  border-radius: 3px;
  
  
}
.rack-visual-slot {
  z-index: 0;
  grid-column: 1 / -1;
  grid-row: var(--rack-row);
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  min-height: 0;
  
}
.rack-visual-slot i {
  display: grid;
  place-items: center;
  
  font: 800 8px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  font-style: normal;
  
  
}
.rack-visual-slot::after {
  content: "";
  
}
.rack-equipment-block {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: var(--rack-row) / span var(--rack-span);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  min-height: 0;
  margin: 1px 4px;
  padding: 0 6px;
  overflow: hidden;
  border: 1px solid #31577f;
  border-left: 3px solid #4d94e6;
  border-radius: 2px;
  background:
    repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 2px,transparent 2px 5px),
    linear-gradient(180deg,#273b4e,#142434);
  color: #e7f1fb;
  box-shadow: inset 0 1px rgba(255,255,255,.08),0 1px 2px #000;
  text-decoration: none;
}
.rack-equipment-block:hover { border-color: #72aff0; color: #fff; filter: brightness(1.12); }
.rack-equipment-block > .rack-block-label { min-width: 0; overflow: hidden; font-size: 6.5px; font-weight: 800; letter-spacing: .025em; text-overflow: ellipsis; white-space: nowrap; }
.rack-equipment-block > .rack-block-units { flex: 0 0 auto; color: #9fb4c8; font-size: 5.5px; white-space: nowrap; }
.rack-device-port-strip {
  flex: 1 1 auto;
  min-width: 20px;
  height: 5px;
  border: 1px solid rgba(115,146,174,.45);
  border-radius: 1px;
  background:
    radial-gradient(circle,#43da8d 0 1px,transparent 1.3px) 1px 50% / 6px 5px repeat-x,
    #08121b;
  opacity: .92;
}
.rack-equipment-block.model-arista-7504 { background: linear-gradient(180deg,#56616a,#2d3943); border-color: #7b8b99; border-left-color: #b4c0ca; }
.rack-equipment-block.model-arista-7280-c72,
.rack-equipment-block.model-arista-7280-c36,
.rack-equipment-block.model-arista-7280-32d4s,
.rack-equipment-block.model-arista-7280-32p4,
.rack-equipment-block.model-arista-7280-cr2-60,
.rack-equipment-block.model-arista-7060-px4-32 { background: linear-gradient(180deg,#c7ced4,#78848e); border-color: #dce4ea; border-left-color: #ecf2f6; color: #0b1c2a; }
.rack-equipment-block.model-arista-7280-c72 > .rack-block-units,
.rack-equipment-block.model-arista-7280-c36 > .rack-block-units,
.rack-equipment-block.model-arista-7280-32d4s > .rack-block-units,
.rack-equipment-block.model-arista-7280-32p4 > .rack-block-units,
.rack-equipment-block.model-arista-7280-cr2-60 > .rack-block-units,
.rack-equipment-block.model-arista-7060-px4-32 > .rack-block-units { color: #20374a; }
.rack-equipment-block::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #48d28d;
  box-shadow: 0 0 4px rgba(72,210,141,.8);
}
.rack-equipment-block.panel {
  
  
  
}
.rack-equipment-block.service {
  border: 1px dashed #8c78c8;
  border-left: 3px solid #8f73e4;
  background: linear-gradient(180deg,rgba(116,83,196,.55),rgba(62,43,108,.7));
}
.rack-equipment-block.service::after { background: #b99cff; box-shadow: 0 0 4px rgba(185,156,255,.8); }
.rack-plinth {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  margin: 8px -2px -3px;
  
  
  
}
.rack-plinth strong { font-size: 9px; letter-spacing: .06em; }
.rack-plinth span {  font-size: 6.5px; }
.rack-card-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px 14px;
}
.rack-card-metrics { display: flex; flex-wrap: wrap; gap: 6px 10px;  font-size: 8.5px; }
.rack-card-metrics strong {  }
.rack-rotate-button { gap: 6px; flex: 0 0 auto; }
.rack-rotate-button .ui-icon { width: 13px; height: 13px; }
.rack-management {  }
.rack-management > summary,
.rack-mount-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  list-style: none;
}
.rack-management > summary::-webkit-details-marker,
.rack-mount-disclosure > summary::-webkit-details-marker { display: none; }
.rack-management .disclosure .ui-icon,
.rack-mount-disclosure .disclosure .ui-icon { width: 13px; height: 13px; transition: transform .18s ease; }
.rack-management[open] > summary .disclosure .ui-icon,
.rack-mount-disclosure[open] > summary .disclosure .ui-icon { transform: rotate(180deg); }
.rack-management-body { display: grid; gap: 11px; padding: 0 12px 13px; }
.rack-resource-columns { display: grid; gap: 9px; }
.rack-resource-columns > section { overflow: hidden;  border-radius: 9px;  }
.rack-resource-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px;   font-size: var(--text-xs); }
.rack-resource-columns .resource-list { padding: 0 8px 7px; }
.rack-resource-columns .resource-list article { align-items: center; padding: 7px 0; }
.rack-resource-columns .resource-list article span { font-size: 8.5px; }
.rack-resource-columns .empty-inline { padding: 10px; }
.rack-management-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.rack-management-actions form { margin: 0; }
.rack-mount-disclosure { overflow: hidden;  border-radius: 9px;  }
.rack-visual-mount-form {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 10px;
  
  
}
.rack-visual-mount-form label:first-of-type,
.rack-visual-mount-form button { grid-column: 1 / -1; }

/* ----- Interactive, model-aware network-device stencils ----- */
.device-hardware-panel { overflow: hidden; padding: 0; }
.device-hardware-panel > .panel-heading { padding: 17px 19px 14px;  }
.device-stencil {
  /* Physical hardware: dark faceplate in both themes, matching the mockup's
     device view. These are --fx-* fixed tokens and never flip. */
  --device-metal-a: var(--fx-hw-metal-a);
  --device-metal-b: var(--fx-hw-metal-b);
  --device-edge: var(--fx-hw-chassis-edge);
  min-width: 0;
  padding: 18px;
  background: var(--fx-hw-stage);
}
.device-stencil-stage { width: min(100%,1120px); height: 320px; margin: 0 auto; perspective: 1500px; }
.device-stencil.arista-7504 .device-stencil-stage { width: min(100%,900px); height: 440px; }
.device-stencil-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2,.72,.25,1); }
.device-stencil.is-rear .device-stencil-inner { transform: rotateY(180deg); }
.device-chassis-face {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 38px minmax(0,1fr) 32px;
  min-width: 0;
  padding: 9px 12px 8px;
  overflow: hidden;
  
  border-radius: 8px;
  
  
  backface-visibility: hidden;
}
.device-chassis-rear { transform: rotateY(180deg); --device-metal-a: #d8dde1; --device-metal-b: #8f999f; }
.device-stencil-bezel { display: flex; align-items: center; gap: 10px; min-width: 0; border-bottom: 1px solid rgba(31,47,59,.28); color: #26394a; }
.device-stencil-bezel strong { font-size: 13px; letter-spacing: .08em; }
.device-stencil-bezel span { overflow: hidden; color: #536574; font: 700 10px/1.1 ui-monospace,SFMono-Regular,Menlo,monospace; text-overflow: ellipsis; white-space: nowrap; }
.device-stencil-bezel > i { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; }
.device-stencil i.is-up,
.device-port-legend i.is-up { background: #2dd486; box-shadow: 0 0 7px rgba(45,212,134,.85); }
.device-port-legend i.is-down {  }
.device-port-legend i.is-unknown {  }
.device-fixed-panel { display: grid; grid-template-columns: 8% minmax(0,1fr) 8%; align-items: center; gap: 12px; min-height: 0; padding: 12px 8px; }
.device-stencil-vent { align-self: stretch; border: 1px solid #7a858d; border-radius: 4px; background: radial-gradient(circle,#26323b 0 1.3px,transparent 1.6px) 0 0/7px 7px,#9ba4aa; }
.device-stencil-port-bank { min-width: 0; min-height: 0; }
.fixed-bank { display: grid; grid-template-columns: repeat(18,minmax(8px,1fr)); align-content: center; gap: 9px 7px; }
.arista-7280-c72 .fixed-bank { grid-template-columns: repeat(24,minmax(7px,1fr)); gap: 8px 5px; }
.device-stencil-port {
  position: relative;
  display: block;
  aspect-ratio: 1.5;
  min-width: 0;
  border: 2px solid #727d85;
  border-radius: 2px;
  background: linear-gradient(180deg,#080c0f,#263038 30%,#050809 100%);
  box-shadow: inset 0 0 0 1px #050708,0 1px 1px rgba(255,255,255,.5);
  transition: transform .12s ease,filter .12s ease,box-shadow .12s ease;
}
.device-stencil-port::after { content: ""; position: absolute; right: -3px; bottom: -5px; width: 4px; height: 4px; border-radius: 50%; background: #8b98a3; }
.device-stencil-port.is-up::after { background: #2de08c; box-shadow: 0 0 7px #23bd76; }
.device-stencil-port.is-down::after { background: #8f9aa3; }
.device-stencil-port.is-disabled::after { background: #db5364; }
.device-stencil-port.is-unknown::after { background: #e5aa43; }
.device-stencil-port:hover,
.device-stencil-port:focus-visible { z-index: 3; transform: scale(1.22); filter: brightness(1.25); box-shadow: 0 0 0 3px rgba(23,100,232,.3),inset 0 0 0 1px #050708; }
.device-stencil-port span { position: absolute; inset: auto 0 100%; overflow: hidden; color: #3a4e60; font: 700 6px/1 ui-monospace,SFMono-Regular,Menlo,monospace; text-align: center; text-overflow: clip; }
.device-management-ports { display: grid; align-content: center; gap: 8px; color: #475968; font: 700 7px/1 ui-monospace,SFMono-Regular,Menlo,monospace; text-align: center; }
.device-management-ports i { display: block; aspect-ratio: 1.25; border: 2px solid #66717a; border-radius: 2px; background: #0b1116; }
.device-stencil-rail { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px -4px -2px; padding: 0 7px; border-top: 1px solid rgba(26,41,52,.28); color: #354958; font: 700 8px/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.device-stencil-rail strong { overflow: hidden; color: #172b3b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.device-modular-supervisor { display: flex; align-items: center; gap: 9px; min-height: 0; margin: 6px 5px 4px; padding: 4px 8px; border: 1px solid #79858d; border-radius: 3px; background: linear-gradient(180deg,#c9d0d4,#858f96); color: #2b3c49; font: 700 7px/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.device-modular-supervisor span { margin-right: auto; }
.device-modular-supervisor i { width: 6px; height: 6px; border-radius: 50%; background: #8d9761; }
.device-modular-supervisor b { padding: 4px 7px; border: 1px solid #555f66; border-radius: 2px; background: #182229; color: #dbe4e9; font-size: 6px; }
.device-linecard-stack { display: grid; grid-template-rows: repeat(4,minmax(0,1fr)); gap: 5px; min-height: 0; margin: 0 5px; }
.device-linecard { display: grid; grid-template-columns: 128px minmax(0,1fr); align-items: stretch; min-height: 0; overflow: hidden;  border-radius: 3px;   }
.device-linecard-label { display: grid; align-content: center; gap: 4px; padding: 7px 10px;   }
.device-linecard-label span { font: 800 7px/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.device-linecard-label strong { font: 800 8px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; }
.modular-bank { display: grid; grid-template-columns: repeat(18,minmax(7px,1fr)); align-content: center; gap: 7px 5px; padding: 11px 14px; background: radial-gradient(circle,#707a81 0 1px,transparent 1.2px) 0 0/7px 7px; }
.device-rear-modules { display: grid; grid-template-columns: 18% minmax(0,1fr) 18%; align-items: stretch; gap: 12px; min-height: 0; padding: 15px 8px; }
.device-psu { position: relative; display: grid; place-content: center; gap: 7px; border: 1px solid #4e5b64; border-radius: 4px; background: radial-gradient(circle,#27333b 0 1.6px,transparent 1.8px) 0 0/7px 7px,#89939a; color: #eef4f7; font: 800 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace; text-align: center; }
.device-psu > i { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; }
.device-psu b { justify-self: center; padding: 6px 10px; border: 2px solid #222c33; border-radius: 3px; background: #0a1014; }
.device-fan-bank { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; min-width: 0; }
.device-fan-bank i { position: relative; min-width: 0; border: 1px solid #47535c; border-radius: 4px; background: radial-gradient(circle,#172129 0 16%,#748089 17% 20%,#29353d 21% 43%,#707b83 44% 47%,#1d2830 48%); }
.device-fan-bank i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: conic-gradient(from 15deg,#26323a,#8b969d,#26323a,#8b969d,#26323a); opacity: .68; }
.arista-7280-32p4 .device-fan-bank i { border-color: #8f3340; background: radial-gradient(circle,#231417 0 16%,#b74855 17% 22%,#551f27 23% 48%,#b74855 49%); }
.device-stencil-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100%,1120px); margin: 13px auto 0; }
.device-port-legend { display: flex; flex-wrap: wrap; gap: 12px;  font-size: 9px; font-weight: 800; }
.device-port-legend span { display: flex; align-items: center; gap: 5px; }
.device-port-legend i { width: 7px; height: 7px; border-radius: 50%; }
.device-stencil.is-compact { margin: 12px -13px 10px; padding: 12px 13px; border-block: 1px solid #e0e8f0; }
.device-stencil.is-compact .device-stencil-stage { width: 100%; height: 150px; }
.device-stencil.is-compact .device-stencil-bezel { height: 21px; }
.device-stencil.is-compact .device-stencil-bezel strong { font-size: 7px; }
.device-stencil.is-compact .device-stencil-bezel span { font-size: 6px; }
.device-stencil.is-compact .device-chassis-face { grid-template-rows: 23px minmax(0,1fr) 20px; padding: 5px 7px 4px; }
.device-stencil.is-compact .device-fixed-panel { gap: 6px; padding: 7px 4px; }
.device-stencil.is-compact .fixed-bank { gap: 5px 3px; }
.device-stencil.is-compact .device-linecard-stack { gap: 2px; }
.device-stencil.is-compact .device-linecard { grid-template-columns: 54px minmax(0,1fr); }
.device-stencil.is-compact .device-linecard-label { gap: 1px; padding: 2px 4px; }
.device-stencil.is-compact .device-linecard-label :is(span,strong) { font-size: 4.5px; }
.device-stencil.is-compact .device-modular-supervisor { min-height: 13px; margin: 2px 3px; padding: 1px 4px; font-size: 4px; }
.device-stencil.is-compact .device-modular-supervisor b { padding: 2px 4px; font-size: 3px; }
.device-stencil.is-compact .modular-bank { gap: 3px 2px; padding: 3px 5px; }
.device-stencil.is-compact .device-stencil-port { border-width: 1px; }
.device-stencil.is-compact .device-stencil-port::after { right: -2px; bottom: -2px; width: 2px; height: 2px; }
.device-stencil.is-compact .device-stencil-port span { display: none; }
.device-stencil.is-compact .device-stencil-rail { font-size: 5px; }
.device-stencil.is-compact .device-stencil-rail strong { font-size: 6px; }
.device-stencil.is-compact .device-stencil-controls { margin-top: 8px; }
.device-stencil.is-compact .device-port-legend { gap: 7px; font-size: 7px; }
.device-stencil.is-compact .device-stencil-controls .button { min-height: 28px; padding: 4px 8px; font-size: 8px; }

/* v10.46.6: photo-proportioned faceplates and physical port cages. */
.device-stencil-stage { height: 210px; }
.device-stencil.arista-7280-c72 .device-stencil-stage { height: 260px; }
.device-stencil.arista-7504 .device-stencil-stage { width: min(100%,1080px); height: 570px; }
.device-chassis-face { grid-template-rows: 34px minmax(0,1fr) 27px; }
.device-fixed-panel { grid-template-columns: 8% minmax(0,1fr) 7%; gap: 16px; padding: 17px 9px; }
.device-stencil-vent {
  background:
    radial-gradient(circle,#26323b 0 1.5px,transparent 1.8px) 0 0/8px 8px,
    linear-gradient(180deg,#aeb7bd,#7f8a92);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.24);
}
.device-fixed-clusters { display: grid; align-content: center; min-width: 0; }
.device-c72-clusters { grid-template-columns: repeat(9,minmax(32px,1fr)); gap: 12px 7px; }
.device-c36-clusters { grid-template-columns: repeat(9,minmax(32px,1fr)); gap: 7px; }
.device-port-cluster {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 3px;
  min-width: 0;
  padding: 4px;
  
  border-radius: 3px;
  
  
}
.device-stencil-port {
  aspect-ratio: 1.6;
  border: 1px solid #3d4850;
  background: linear-gradient(180deg,#202b32,#05090c 65%);
  box-shadow: inset 0 0 0 1px #020405,0 1px rgba(255,255,255,.35);
}
.device-stencil-port::after { display: none; }
.device-stencil-port.is-up {
  border-color: #087b4d;
  background: linear-gradient(180deg,#42e39a,#16b66f 55%,#07804b);
  box-shadow: inset 0 0 0 1px rgba(231,255,244,.56),0 0 7px rgba(25,208,126,.7);
}
.device-stencil-port.is-down { border-color: #54636d; background: linear-gradient(180deg,#485761,#172128 65%); }
.device-stencil-port.is-disabled { border-color: #88414b; background: linear-gradient(180deg,#8e4c55,#391a20); }
.device-stencil-port.is-unknown { border-color: #9b6b21; background: linear-gradient(180deg,#e7ae45,#815415); }
.device-stencil-port.is-empty { opacity: .8; pointer-events: none; }
.device-stencil-port:hover,
.device-stencil-port:focus-visible { transform: scale(1.16); filter: brightness(1.16); box-shadow: 0 0 0 3px rgba(23,100,232,.3),0 0 8px rgba(4,17,27,.45); }
.device-stencil-port span {
  inset: 50% auto auto 50%;
  padding: 2px 3px;
  border-radius: 3px;
  background: rgba(5,15,22,.88);
  color: #fff;
  font-size: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-50%);
}
.device-stencil-port:hover span,
.device-stencil-port:focus-visible span { opacity: 1; }
.device-management-ports { gap: 5px; }
.device-management-ports i { aspect-ratio: 1.5; }

.device-cr3-panel { grid-template-columns: 7% minmax(0,1fr) 13% 6%; gap: 13px; }
.device-cr3-primary { display: grid; grid-template-columns: repeat(4,minmax(45px,1fr)); gap: 8px; min-width: 0; }
.device-cr3-uplinks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; align-content: center; min-width: 0; }
.device-cr3-uplinks .device-stencil-port { aspect-ratio: 1.35; border-width: 2px; }

.device-7504-front-body { display: grid; grid-template-rows: 58px minmax(0,1fr); gap: 7px; min-height: 0; padding: 8px 5px; }
.device-7504-supervisor {
  display: grid;
  grid-template-columns: 15% auto auto 70px 30px 30px minmax(80px,1fr);
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 5px 9px;
  
  border-radius: 3px;
  
  
  font: 800 7px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
}
.device-7504-vent,
.device-7504-blank { align-self: stretch;   }
.device-7504-leds { display: flex; gap: 6px; }
.device-7504-leds i { width: 7px; height: 7px; border-radius: 50%;  }
.device-7504-supervisor b { display: grid; min-height: 22px; place-items: center;  border-radius: 2px;   font-size: 6px; }
.device-linecard-stack { gap: 6px; margin: 0; }
.device-linecard { grid-template-columns: 116px minmax(0,1fr) 18px;   }
.device-linecard-label { position: relative; grid-template-columns: 16px 1fr; grid-template-rows: auto auto; gap: 3px 7px; align-content: center; padding: 6px 7px; }
.device-linecard-label i { grid-row: 1 / 3;  border-radius: 2px;  }
.device-linecard-label span { font-size: 7px; }
.device-linecard-label strong { overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.device-linecard-clusters {
  display: grid;
  grid-template-columns: repeat(9,minmax(35px,1fr));
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 5px 10px;
  
}
.device-linecard-handle { margin: 7px 4px;  border-radius: 2px;  }

.device-rear-modules { padding: 12px 8px; }
.device-fixed-rear { grid-template-columns: 17% minmax(0,1fr) 17%; }
.device-fixed-rear .device-fan-bank { grid-template-columns: repeat(4,minmax(0,1fr)); }
.device-c72-rear { grid-template-columns: minmax(0,1fr) 19%; }
.device-c72-rear .device-fan-bank { grid-template-columns: repeat(4,minmax(0,1fr)); }
.device-psu-stack { display: grid; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 8px; }
.device-7504-rear { display: grid; grid-template-rows: 31% minmax(0,1fr); gap: 9px; }
.device-7504-rear-power { display: grid; grid-template-columns: 22% minmax(0,1fr) 22%; gap: 10px; }
.device-7504-rear-power > span {   }
.device-7504-fans { grid-template-columns: repeat(6,minmax(0,1fr)); }
.arista-7280-32d4s .device-fan-bank i,
.arista-7280-32p4 .device-fan-bank i { border-color: #8f3340; background: radial-gradient(circle,#231417 0 16%,#b74855 17% 22%,#551f27 23% 48%,#b74855 49%); }

.device-no-stencil { display: flex; align-items: center; justify-content: center; gap: 14px;  text-align: left; }
.device-no-stencil > span { width: 48px; height: 48px;  border-radius: 12px;  }
.device-no-stencil div { display: grid; gap: 4px; }
.device-no-stencil strong {  }
.device-no-stencil small {  }
[data-manual-hardware-field].is-locked input {
  
  
  
}

.device-stencil.is-compact .device-stencil-stage { height: 160px; }
.device-stencil.is-compact.arista-7280-c72 .device-stencil-stage { height: 185px; }
.device-stencil.is-compact.arista-7504 .device-stencil-stage { height: 285px; }
.device-stencil.is-compact .device-fixed-panel { gap: 7px; padding: 8px 3px; }
.device-stencil.is-compact .device-c72-clusters { gap: 5px 3px; }
.device-stencil.is-compact .device-c36-clusters { gap: 3px; }
.device-stencil.is-compact .device-port-cluster { gap: 1px; padding: 2px; }
.device-stencil.is-compact .device-cr3-panel { gap: 5px; }
.device-stencil.is-compact .device-cr3-primary { gap: 3px; }
.device-stencil.is-compact .device-7504-front-body { grid-template-rows: 30px minmax(0,1fr); gap: 3px; padding: 3px 2px; }
.device-stencil.is-compact .device-7504-supervisor { grid-template-columns: 12% auto auto 28px 13px 13px 1fr; gap: 3px; padding: 2px 3px; font-size: 4px; }
.device-stencil.is-compact .device-7504-supervisor b { min-height: 12px; font-size: 3px; }
.device-stencil.is-compact .device-linecard-stack { gap: 2px; }
.device-stencil.is-compact .device-linecard { grid-template-columns: 46px minmax(0,1fr) 8px; }
.device-stencil.is-compact .device-linecard-label { grid-template-columns: 7px 1fr; gap: 1px 2px; padding: 2px; }
.device-stencil.is-compact .device-linecard-label :is(span,strong) { font-size: 3.5px; }
.device-stencil.is-compact .device-linecard-clusters { gap: 2px; padding: 2px 3px; }
.device-stencil.is-compact .device-linecard-handle { margin: 3px 1px; }
.device-stencil.is-compact .device-stencil-port { border-width: 1px; }
.device-stencil.is-compact .device-stencil-port span { display: none; }

@media (max-width: 780px) {
  .device-stencil-stage,
  .device-stencil.arista-7280-c72 .device-stencil-stage { height: 170px; }
  .device-stencil.arista-7504 .device-stencil-stage { height: 390px; }
  .device-c72-clusters,
  .device-c36-clusters { gap: 3px; }
  .device-port-cluster { gap: 1px; padding: 2px; }
  .device-linecard { grid-template-columns: 62px minmax(0,1fr) 10px; }
  .device-linecard-clusters { gap: 2px; padding: 2px 4px; }
}

/* v10.46.6: common 19-inch physical scale and additional Arista faces. */
.device-stencil-stage,
.device-stencil.is-compact .device-stencil-stage {
  height: auto;
  aspect-ratio: 10.857 / 1; /* 19in / 1.75in: one rack unit */
}
.device-stencil.arista-7280-c72 .device-stencil-stage,
.device-stencil.arista-7280-cr2-60 .device-stencil-stage,
.device-stencil.is-compact.arista-7280-c72 .device-stencil-stage,
.device-stencil.is-compact.arista-7280-cr2-60 .device-stencil-stage { height: auto; aspect-ratio: 5.429 / 1; }
.device-stencil.arista-7504 .device-stencil-stage,
.device-stencil.is-compact.arista-7504 .device-stencil-stage { width: min(100%,1080px); height: auto; aspect-ratio: 1.551 / 1; }
.device-chassis-face,
.device-stencil.is-compact .device-chassis-face {
  grid-template-rows: 21px minmax(0,1fr) 17px;
  padding: 5px 8px 4px;
  border-radius: 6px;
}
.device-stencil-bezel,
.device-stencil.is-compact .device-stencil-bezel { height: auto; }
.device-stencil-bezel strong { font-size: 9px; }
.device-stencil-bezel span { font-size: 7px; }
.device-stencil-rail,
.device-stencil.is-compact .device-stencil-rail { margin: 2px -2px -1px; font-size: 6px; }
.device-stencil-rail strong,
.device-stencil.is-compact .device-stencil-rail strong { font-size: 7px; }

.device-fixed-panel,
.device-stencil.is-compact .device-fixed-panel { grid-template-columns: 7% minmax(0,1fr) 40px; gap: 8px; padding: 5px 4px; }
.device-stencil-vent { border-radius: 2px; background-size: 6px 6px,auto; }
.device-management-ports {
  display: grid;
  grid-template-rows: repeat(2,minmax(0,1fr));
  justify-items: center;
  gap: 2px;
  width: 34px;
  color: #425565;
}
.device-management-ports > span { display: grid; grid-template-columns: 24px; place-content: center; justify-items: center; gap: 1px; min-height: 0; }
.device-management-ports > span > i {
  position: relative;
  display: block;
  width: 22px;
  height: 13px;
  border: 1px solid #4e5b64;
  border-radius: 1px;
  background: linear-gradient(180deg,#1a252c,#05090c 70%);
  box-shadow: inset 0 0 0 1px #020405;
}
.device-management-ports > span > i::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 1px;
  height: 3px;
  background: repeating-linear-gradient(90deg,#b89f5f 0 1px,transparent 1px 2px);
}
.device-management-ports b { font: 800 4px/1 ui-monospace,SFMono-Regular,Menlo,monospace; }

.device-c36-clusters,
.device-stencil.is-compact .device-c36-clusters { grid-template-columns: repeat(9,minmax(24px,1fr)); gap: 3px; }
.device-c72-clusters,
.device-stencil.is-compact .device-c72-clusters { grid-template-columns: repeat(9,minmax(24px,1fr)); gap: 5px 3px; }
.device-port-cluster,
.device-stencil.is-compact .device-port-cluster { gap: 1px; padding: 2px; border-radius: 2px; }
.device-stencil-port { border-radius: 1px; }

.device-cr3-panel,
.device-stencil.is-compact .device-cr3-panel { grid-template-columns: 5% minmax(0,1fr) 11% 40px; gap: 5px; padding: 4px 3px; }
.device-cr3-primary,
.device-stencil.is-compact .device-cr3-primary { gap: 3px; }
.device-cr3-uplinks { gap: 2px; }

.device-cr2-panel { grid-template-columns: 5% minmax(0,1fr) 40px; gap: 7px; }
.device-cr2-pairs { display: grid; grid-template-columns: repeat(15,minmax(22px,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 5px 3px; min-width: 0; min-height: 0; }
.device-port-pair {
  display: grid;
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 1px;
  min-width: 0;
  min-height: 0;
  padding: 2px;
  
  border-radius: 2px;
  
}
.device-port-pair .device-stencil-port { min-height: 0; aspect-ratio: auto; }

.device-px4-panel,
.device-stencil.is-compact .device-px4-panel { grid-template-columns: 28px minmax(0,1fr) 27px 8px; gap: 5px; padding: 4px 3px; }
.device-px4-brand { align-self: stretch; display: grid; place-items: center;   font: 800 5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; writing-mode: vertical-rl; transform: rotate(180deg); }
.device-px4-octets { display: grid; grid-template-columns: repeat(4,minmax(70px,1fr)); gap: 5px; min-width: 0; min-height: 0; }
.device-port-octet {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 1px;
  min-width: 0;
  min-height: 0;
  padding: 2px;
  border-inline: 1px solid #7f8991;
  
}
.device-port-octet .device-stencil-port { min-height: 0; aspect-ratio: auto; }
.device-px4-aux { display: grid; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 2px; min-height: 0; }
.device-px4-aux .device-stencil-port { min-height: 0; aspect-ratio: auto; }
.device-status-leds { display: grid; align-content: center; gap: 3px; }
.device-status-leds i { width: 4px; height: 4px; border-radius: 50%;  }

.device-7504-front-body,
.device-stencil.is-compact .device-7504-front-body { grid-template-rows: 54px minmax(0,1fr); gap: 6px; padding: 7px 4px; }
.device-7504-supervisor,
.device-stencil.is-compact .device-7504-supervisor { grid-template-columns: 14% auto auto 60px 26px 26px minmax(80px,1fr); gap: 7px; padding: 4px 7px; font-size: 6px; }
.device-7504-supervisor b,
.device-stencil.is-compact .device-7504-supervisor b { min-height: 20px; font-size: 5px; }
.device-linecard-stack,
.device-stencil.is-compact .device-linecard-stack { gap: 5px; }
.device-linecard,
.device-stencil.is-compact .device-linecard { grid-template-columns: 108px minmax(0,1fr) 16px; }
.device-linecard-label,
.device-stencil.is-compact .device-linecard-label { grid-template-columns: 14px 1fr; gap: 2px 6px; padding: 5px 6px; }
.device-linecard-label :is(span,strong),
.device-stencil.is-compact .device-linecard-label :is(span,strong) { font-size: 6px; }
.device-linecard-clusters,
.device-stencil.is-compact .device-linecard-clusters { gap: 5px; padding: 4px 8px; }
.device-linecard.is-blank {  }
.device-linecard.is-blank .device-linecard-label strong {  }
.device-linecard-blank {
  display: grid;
  place-items: center;
  border-inline: 1px solid #7a858c;
  
  
  font: 800 7px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: .18em;
}

.device-px4-rear { grid-template-columns: 17% 8% minmax(0,1fr) 17%; gap: 7px; }
.device-px4-rear .device-fan-bank { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; }
.device-rear-rj45 { display: grid; align-content: center; gap: 3px; }
.device-rear-rj45 i { display: block; height: 12px;  border-radius: 1px;  }
.arista-7280-cr2-60 .device-fan-bank i,
.arista-7060-px4-32 .device-fan-bank i { border-color: #963542; background: radial-gradient(circle,#241416 0 16%,#c34c59 17% 22%,#5d2029 23% 48%,#c34c59 49%); }

@media (max-width: 780px) {
  .device-stencil { overflow-x: auto; }
  .device-stencil-stage,
  .device-stencil.is-compact .device-stencil-stage { min-width: 620px; }
  .device-stencil.arista-7504 .device-stencil-stage,
  .device-stencil.is-compact.arista-7504 .device-stencil-stage { min-width: 760px; }
}

.bgp-customer-ip-list code {
  padding: 0;
  
  border-radius: 0;
  
  
  
}
.monitor-wallboard-shell:fullscreen { width: 100vw; height: 100vh; padding: 18px;  }
.monitor-wallboard-shell:fullscreen .monitor-wallboard-grid { min-height: 0; }

/* ----- Responsive experience ----- */
@media (max-width: 1450px) {
  .portal-shell { --portal-sidebar-width: 236px; }
}
@media (max-width: 1280px) {
  .topbar-global-search { display: none; }
  .rack-summary-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dashboard-quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-link-pulse-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-link-pulse:nth-child(3n) { border-right: 1px solid var(--border); }
  .dashboard-link-pulse:nth-child(2n) { border-right: 0; }
}
@media (max-width: 1000px) {
  .portal-shell { --portal-sidebar-width: 210px; }
}
@media (max-width: 1040px) {
  .portal-admin > span:last-child { display: none; }
  .topbar-command-button > span { font-size: 0; gap: 0; }
  .topbar-command-button > span .ui-icon { width: 17px; height: 17px; }
  .customer-activity-timeline { grid-template-columns: 1fr; }
  .customer-activity-event:nth-child(odd) { border-right: 0; }
}
@media (max-width: 900px) {
  .portal-shell { display: block; }
  .portal-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 220; width: min(320px,88vw); height: 100dvh; transform: translateX(-102%); transition: transform .2s ease;  }
  .sidebar-open .portal-sidebar { transform: translateX(0); }
  .portal-workspace { width: 100%; margin-left: 0; }
  .portal-sidebar-overlay { position: fixed; inset: 0; z-index: 210; display: none; width: 100%; height: 100%;  border-radius: 0;  backdrop-filter: blur(3px); }
  .sidebar-open .portal-sidebar-overlay { display: block; }
  .portal-sidebar .portal-nav { display: block; flex: 1; padding: 16px 11px; overflow: auto; }
  .portal-sidebar .portal-nav-group { display: grid; gap: 4px; margin: 0 0 18px; }
  .portal-sidebar .portal-nav-group > span { display: flex; }
  .portal-sidebar .portal-nav-group.is-collapsed > a { display: none; }
  .portal-sidebar .portal-nav a { min-height: 39px; white-space: normal; }
  .portal-sidebar .portal-sidebar-foot { display: block; }
  .portal-menu-toggle { display: inline-flex; }
  .portal-topbar { position: sticky; min-height: 64px; }
  .portal-topbar-context { flex: 1; }
  .portal-top-actions { gap: 7px; }
  .logout-button span { display: none; }
  .logout-button { width: 38px; min-width: 38px; padding: 0; }
  .dashboard-quick-actions { grid-template-columns: 1fr; }
  .dashboard-link-pulse-grid { grid-template-columns: 1fr; }
  .dashboard-link-pulse { border-right: 0; }
  .customer-account-hero { align-items: flex-start; flex-direction: column; }
  .customer-account-hero .heading-actions { width: 100%; justify-content: flex-start; }
}
@media (max-width: 720px) {
  .portal-topbar-context { max-width: none; }
  .portal-topbar-context > small { display: none; }
  .rack-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rack-gallery-header { align-items: flex-start; flex-direction: column; }
  .rack-gallery-toolbar { width: 100%; flex-wrap: wrap; }
  .rack-gallery-grid { grid-template-columns: 1fr; padding: 12px; }
  .rack-flip-stage { height: var(--rack-height,450px); }
  .device-stencil { padding: 12px; }
  .device-stencil-stage,
  .device-stencil.arista-7504 .device-stencil-stage { height: auto; }
  .device-linecard { grid-template-columns: 76px minmax(0,1fr); }
  .device-linecard-label { padding-inline: 5px; }
  .modular-bank { gap: 5px 3px; padding-inline: 7px; }
  .device-rear-modules { grid-template-columns: 22% minmax(0,1fr) 22%; gap: 6px; }
}
@media (max-width: 460px) {
  .rack-summary-grid { grid-template-columns: 1fr; }
  .rack-card-controls { align-items: stretch; flex-direction: column; }
  .rack-rotate-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rack-flip-inner { transition: none; }
}
@media (max-width: 720px) {
  .topbar-command-button kbd,
  .portal-admin { display: none; }
  .topbar-command-button { width: 38px; min-width: 38px; padding: 0; }
  .data-table-toolbar { align-items: stretch; flex-wrap: wrap; }
  .data-table-search { max-width: none; flex-basis: 100%; }
  .data-table-result-count { margin: auto 0; }
  .data-table-view-controls { margin-left: auto; }
  .dashboard-kpis article { grid-template-columns: 38px minmax(0,1fr); }
  .dashboard-kpi-icon { width: 38px; height: 38px; }
  .customer-account-identity { align-items: flex-start; }
  .customer-account-avatar { width: 48px; height: 48px; flex-basis: 48px; border-radius: 13px; font-size: 15px; }
  .customer-activity-event { grid-template-columns: 32px minmax(0,1fr); }
  .customer-activity-event time { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto; animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; }
}

/* v10.47.0: resilient full and compact hardware-face geometry. */
.device-fixed-clusters,
.device-cr3-primary,
.device-cr3-uplinks,
.device-cr2-pairs,
.device-px4-octets,
.device-px4-aux {
  align-self: stretch;
  align-content: stretch;
  min-height: 0;
}
.device-c36-clusters { grid-template-rows: minmax(0,1fr); }
.device-c72-clusters { grid-template-rows: repeat(2,minmax(0,1fr)); }
.device-fixed-clusters .device-port-cluster,
.device-cr3-primary .device-port-octet,
.device-cr2-pairs .device-port-pair,
.device-px4-octets .device-port-octet { min-height: 0; }
.device-fixed-clusters .device-stencil-port,
.device-cr3-primary .device-stencil-port,
.device-cr3-uplinks .device-stencil-port,
.device-cr2-pairs .device-stencil-port,
.device-px4-octets .device-stencil-port,
.device-px4-aux .device-stencil-port {
  min-height: 0;
  aspect-ratio: auto;
}

/* CR3/CR3MK: four eight-cage banks followed by the 2x2 uplink bank. */
.device-cr3-primary {
  display: grid;
  grid-template-columns: repeat(4,minmax(64px,1fr));
  grid-template-rows: minmax(0,1fr);
  gap: 6px;
}
.device-cr3-primary .device-port-octet {
  
  border-radius: 2px;
  
}
.device-cr3-uplinks {
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
}

/* CR2-60 and PX4 banks fill the face instead of collapsing into thin bars. */
.device-cr2-pairs { padding-block: 4px; }
.device-port-pair { height: auto; }
.device-px4-octets { grid-template-rows: minmax(0,1fr); }
.device-px4-aux { grid-template-rows: repeat(2,minmax(0,1fr)); }

/* Compact inventory cards use smaller chrome but retain physical U ratios. */
.device-stencil.is-compact .device-chassis-face {
  grid-template-rows: 14px minmax(0,1fr) 10px;
  padding: 3px 5px 2px;
  border-radius: 4px;
}
.device-stencil.is-compact .device-stencil-bezel strong { font-size: 6px; }
.device-stencil.is-compact .device-stencil-bezel span { font-size: 5px; }
.device-stencil.is-compact .device-stencil-bezel > i { width: 4px; height: 4px; }
.device-stencil.is-compact .device-stencil-rail,
.device-stencil.is-compact .device-stencil-rail strong { font-size: 4.5px; }
.device-stencil.is-compact .device-fixed-panel { gap: 4px; padding: 2px 3px; }
.device-stencil.is-compact .device-management-ports { width: 27px; transform: scale(.78); transform-origin: center; }
.device-stencil.is-compact .device-cr3-panel { grid-template-columns: 5% minmax(0,1fr) 11% 27px; gap: 4px; padding: 2px 3px; }
.device-stencil.is-compact .device-cr3-primary { gap: 3px; }
.device-stencil.is-compact .device-cr2-panel { grid-template-columns: 5% minmax(0,1fr) 27px; gap: 4px; }
.device-stencil.is-compact .device-cr2-pairs { gap: 2px 1px; padding-block: 2px; }
.device-stencil.is-compact .device-px4-panel { grid-template-columns: 20px minmax(0,1fr) 22px 6px; gap: 3px; padding: 2px; }
.device-stencil.is-compact .device-px4-octets { gap: 3px; }

/* A seven-U chassis needs a wider preview; do not crush it into one grid half. */
.device-card:has(.device-stencil.is-compact.arista-7504) { grid-column: 1 / -1; }
.device-stencil.is-compact.arista-7504 .device-stencil-stage {
  width: min(100%,760px);
  min-width: 620px;
}
.device-stencil.is-compact.arista-7504 .device-stencil-controls { width: min(100%,760px); }
.device-stencil.is-compact.arista-7504 .device-7504-front-body { grid-template-rows: 40px minmax(0,1fr); gap: 4px; padding: 4px 3px; }
.device-stencil.is-compact.arista-7504 .device-7504-supervisor { grid-template-columns: 13% auto auto 42px 18px 18px minmax(54px,1fr); gap: 4px; padding: 3px 4px; font-size: 4px; }
.device-stencil.is-compact.arista-7504 .device-7504-supervisor b { min-height: 14px; font-size: 3.5px; }
.device-stencil.is-compact.arista-7504 .device-linecard-stack { gap: 3px; }
.device-stencil.is-compact.arista-7504 .device-linecard { grid-template-columns: 72px minmax(0,1fr) 10px; }
.device-stencil.is-compact.arista-7504 .device-linecard-label { grid-template-columns: 9px 1fr; gap: 1px 3px; padding: 3px; }
.device-stencil.is-compact.arista-7504 .device-linecard-label :is(span,strong) { font-size: 4px; }
.device-stencil.is-compact.arista-7504 .device-linecard-clusters { gap: 3px; padding: 3px 4px; }

@media (max-width: 720px) {
  .device-stencil.is-compact { overflow-x: auto; }
  .device-stencil.is-compact .device-stencil-stage { min-width: 600px; }
  .device-stencil.is-compact.arista-7504 .device-stencil-stage { min-width: 620px; }
}

/* v10.47.0: the rack elevation uses the same physical-cage state as device detail. */
.rack-equipment-block.device {
  display: block;
  padding: 0 2px;
  isolation: isolate;
  background: linear-gradient(180deg,#d2d9de,#7f8b94);
  color: #0a1720;
}
.rack-equipment-block.device::after { display: none; }
.rack-equipment-link { position: absolute; z-index: 1; inset: 0; border-radius: inherit; }
.rack-equipment-link:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.rack-mini-stencil {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(27px,12%) minmax(0,1fr) 9px 24px;
  align-items: stretch;
  gap: 2px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 1px;
  overflow: hidden;
  pointer-events: none;
  
  box-sizing: border-box;
}
.rack-mini-identity {
  display: grid;
  align-content: center;
  min-width: 0;
  overflow: hidden;
  
}
.rack-mini-identity b,
.rack-mini-identity small {
  display: block;
  overflow: hidden;
  
  font: 800 4px/1.05 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: .03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rack-mini-identity b { font-size: 4.5px; letter-spacing: .08em; }
.rack-mini-field,
.rack-mini-cr3,
.rack-mini-px4,
.rack-mini-7504-body,
.rack-mini-generic { min-width: 0; min-height: 0; }
.rack-mini-field { display: grid; align-self: stretch; gap: 1px; padding-block: 1px; }
.rack-mini-c36 { grid-template-columns: repeat(9,minmax(0,1fr)); }
.rack-mini-c72 { grid-template: repeat(2,minmax(0,1fr)) / repeat(9,minmax(0,1fr)); }
.rack-mini-cr2 { grid-template: repeat(2,minmax(0,1fr)) / repeat(15,minmax(0,1fr)); }
.rack-mini-port-group {
  display: grid;
  grid-template: repeat(2,minmax(0,1fr)) / repeat(2,minmax(0,1fr));
  gap: 1px;
  min-width: 0;
  min-height: 0;
  padding: 1px;
  border: 1px solid rgba(52,65,74,.55);
  border-radius: 1px;
  background: rgba(225,231,235,.58);
}
.rack-mini-port-group.is-octet { grid-template: repeat(2,minmax(0,1fr)) / repeat(4,minmax(0,1fr)); }
.rack-mini-port-group.is-pair { grid-template: minmax(0,1fr) / repeat(2,minmax(0,1fr)); padding: 0; }
.rack-mini-port {
  position: relative;
  z-index: 3;
  display: block;
  min-width: 0;
  min-height: 0;
  border: 1px solid #070d12;
  border-radius: 1px;
  background: linear-gradient(180deg,#26343d,#080e12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  pointer-events: auto;
}
a.rack-mini-port:hover,
a.rack-mini-port:focus-visible { z-index: 4; outline: 1px solid #fff; outline-offset: 0; filter: brightness(1.16); }
.rack-mini-port.is-up {
  border-color: #087148;
  background: linear-gradient(180deg,#43e29d,#0aa866);
  box-shadow: inset 0 0 0 1px rgba(226,255,242,.42),0 0 3px rgba(29,214,132,.72);
}
.rack-mini-port.is-down { border-color: #344957; background: linear-gradient(180deg,#415260,#17232b); }
.rack-mini-port.is-unknown { border-color: #8d6720; background: linear-gradient(180deg,#e5b753,#9c6b16); }
.rack-mini-port.is-disabled { border-color: #77454c; background: linear-gradient(180deg,#8b5961,#42272c); }
.rack-mini-port.is-empty { border-color: #6c7780; background: linear-gradient(180deg,#aeb7bd,#89949b); box-shadow: none; opacity: .72; }
.rack-mini-management { display: grid; align-content: center; gap: 1px; padding-block: 1px; }
.rack-mini-management i { display: block; min-height: 2px;  border-radius: 1px;   }
.rack-mini-live { display: grid; align-content: center; justify-items: end; overflow: hidden;  }
.rack-mini-live b { font: 800 5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.rack-mini-live small { font: 700 3.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; white-space: nowrap; }

.rack-mini-cr3,
.rack-mini-px4 { display: grid; align-items: stretch; gap: 2px; padding-block: 1px; }
.rack-mini-cr3 { grid-template-columns: minmax(0,1fr) 18%; }
.rack-mini-cr3-primary { grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0; }
.rack-mini-uplinks,
.rack-mini-aux { display: grid; min-width: 0; min-height: 0; }
.rack-mini-uplinks .rack-mini-port-group { height: 100%; }
.rack-mini-px4 { grid-template-columns: minmax(0,1fr) 10%; }
.rack-mini-px4-primary { grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0; }
.rack-mini-aux .rack-mini-port-group { height: 100%; }

.rack-mini-7504-body {
  display: grid;
  grid-template-rows: minmax(5px,.8fr) repeat(4,minmax(0,1fr));
  gap: 1px;
  padding-block: 1px;
}
.rack-mini-supervisor {
  display: grid;
  grid-template-columns: 18% auto 14% 14%;
  align-items: center;
  gap: 2px;
  padding: 1px 3px;
  
  border-radius: 1px;
  
}
.rack-mini-supervisor i { height: 55%; min-height: 2px;   }
.rack-mini-supervisor b {  font: 800 3.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.rack-mini-linecard {
  display: grid;
  grid-template-columns: 9px minmax(0,1fr);
  align-items: stretch;
  gap: 1px;
  min-height: 0;
  padding: 1px 2px;
  overflow: hidden;
  
  border-radius: 1px;
  
}
.rack-mini-linecard > small { align-self: center;  font: 800 3.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.rack-mini-linecard-ports { display: grid; grid-template-columns: repeat(9,minmax(0,1fr)); gap: 1px; min-width: 0; min-height: 0; }
.rack-mini-linecard .rack-mini-port-group { padding: 0; }
.rack-mini-linecard.is-blank { grid-template-columns: 9px minmax(0,1fr);  }
.rack-mini-linecard.is-blank em { align-self: center; justify-self: center;  font: 800 3.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .15em; }
.rack-mini-generic { display: grid; grid-template-columns: minmax(40px,.35fr) 1fr; align-items: center; gap: 4px; }
.rack-mini-generic > b { overflow: hidden; font: 800 5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; text-overflow: ellipsis; white-space: nowrap; }
.rack-mini-generic > span { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 1px; height: 55%; }

/* Compact inventory stencils are intentionally limited to two cards per row. */
.device-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,760px),1fr)); }
.device-card { min-width: 0; }
.device-card .compact-definition strong { overflow-wrap: anywhere; }

/* Services: one filter system, six information groups and one primary row action. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  
}
.service-inventory-shell { margin: 0; padding: 0; overflow: visible; }
.service-inventory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg,#fff,#fbfdff);
}
.service-inventory-header h3 { margin: 3px 0; font-size: 17px; }
.service-inventory-header small { color: var(--muted); }
.service-inventory-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.service-inventory-table-wrap { margin: 0; border: 0; border-radius: 0 0 var(--radius) var(--radius); }
.service-overview-table { min-width: 1210px; table-layout: fixed; }
.service-overview-table th:nth-child(1) { width: 13%; }
.service-overview-table th:nth-child(2) { width: 20%; }
.service-overview-table th:nth-child(3) { width: 22%; }
.service-overview-table th:nth-child(4) { width: 15%; }
.service-overview-table th:nth-child(5) { width: 19%; }
.service-overview-table th:nth-child(6) { width: 11%; }
.service-overview-table th { padding: 11px 14px; background: var(--surface-1); color: var(--text-subtle); font-size: 9.5px; letter-spacing: .065em; }
.service-overview-table td { padding: 15px 14px; vertical-align: top; }
.service-overview-table tbody tr { transition: background .15s ease; }
.service-overview-table tbody tr:hover td { background: var(--surface-1); }
.service-overview-identity,
.service-overview-customer,
.service-overview-network,
.service-overview-commercial,
.service-overview-readiness { min-width: 0; }
.service-overview-identity > a,
.service-overview-customer > a { display: inline-block; color: var(--accent-text); text-decoration: none; }
.service-overview-identity > a:hover,
.service-overview-customer > a:hover { text-decoration: underline; }
.service-overview-identity > a strong { font-size: 12px; overflow-wrap: anywhere; }
.service-overview-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.service-overview-location { margin-top: 7px; padding-top: 7px; }
.service-overview-location .service-location-stack { min-width: 0; gap: 4px; }
.service-overview-location .service-location-item strong { font-size: 10.5px; }
.service-overview-location .service-location-item small { font-size: 9.5px; }
.service-overview-network > strong,
.service-overview-commercial > strong { display: block; color: var(--text-strong); }
.service-overview-network .row-note { max-width: 100%; overflow-wrap: anywhere; }
.service-term-dates,
.service-resource-summary {
  display: block;
  margin-top: 7px;
  color: var(--text-subtle);
  font-size: 9.5px;
  line-height: 1.45;
}
.service-term-dates i { margin-inline: 3px; color: var(--accent-text); font-style: normal; }
.service-overview-readiness > .badge { margin-bottom: 3px; }
.service-overview-actions { position: relative; }
.service-row-actions { display: flex; align-items: flex-start; justify-content: flex-end; gap: 6px; }
.service-row-actions > .button { flex: 0 0 auto; min-width: 68px; }
.service-row-actions .ui-icon { width: 13px; height: 13px; }
.service-action-menu { position: relative; z-index: 12; flex: 0 0 auto; }
.service-action-menu > summary {
  min-width: 72px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.service-action-menu > summary::-webkit-details-marker { display: none; }
.service-action-menu[open] > summary {    }
.service-action-menu > nav {
  position: fixed;
  right: auto;
  z-index: 1601;
  display: grid;
  width: 268px;
  padding: 6px;
  
  border-radius: 11px;
  
  
}
.service-action-menu > nav > :is(a,.service-menu-disabled) {
  display: grid;
  grid-template-columns: 27px minmax(0,1fr);
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 7px 8px;
  border-radius: 8px;
  
  text-decoration: none;
}
.service-action-menu > nav > a:hover {   }
.service-action-menu > nav .ui-icon { width: 17px; height: 17px;  }
.service-action-menu > nav span span { display: grid; gap: 2px; }
.service-action-menu > nav strong { display: block; font-size: 10.5px; }
.service-action-menu > nav small { display: block;  font-size: 9px; font-weight: 600; line-height: 1.25; }
.service-menu-disabled { opacity: .58; cursor: not-allowed; }
.filter-bar .filter-actions { display: flex; align-items: center; gap: 8px; }
.filter-bar .filter-actions .ui-icon { width: 14px; height: 14px; }

@media (max-width: 780px) {
  .service-inventory-header { align-items: flex-start; flex-direction: column; }
  .service-inventory-legend { justify-content: flex-start; }
}

/* v10.47.0: discovered optics, Extreme SLX hardware and opposite rack faces. */
.device-port-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 160;
  display: block;
  width: 270px;
  padding: 11px 12px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%,6px);
  
  border-radius: 10px;
  
  
  
  font: 600 10px/1.35 Inter,system-ui,sans-serif;
  text-align: left;
  pointer-events: none;
  transition: opacity .14s ease,transform .14s ease,visibility .14s ease;
}
.device-stencil-port:hover > .device-port-tooltip,
.device-stencil-port:focus-visible > .device-port-tooltip {
  visibility: hidden;
  opacity: 0;
}
.device-port-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%,-5px) rotate(45deg);
  
  
  
}
.device-port-tooltip > strong { display: block;  font: 800 12px/1.2 Inter,system-ui,sans-serif; }
.device-port-tooltip > small { display: block; margin-top: 2px;  font: 600 9px/1.25 Inter,system-ui,sans-serif; }
.device-port-tooltip dl { display: grid; gap: 4px; margin: 9px 0 7px; }
.device-port-tooltip dl > div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 8px; }
.device-port-tooltip dt {  font-weight: 700; }
.device-port-tooltip dd { overflow-wrap: anywhere; margin: 0;  font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-weight: 800; }
.device-port-tooltip em { display: block; padding-top: 6px;   font-style: normal; font-weight: 800; }
.device-stencil.is-compact .device-stencil-port .device-port-tooltip { display: none; }
.floating-port-tooltip {
  position: fixed;
  z-index: 2000;
  left: var(--tooltip-left);
  top: var(--tooltip-top);
  bottom: auto;
  display: block;
  visibility: visible;
  opacity: 1;
  transform: translate(-50%,-100%) translateY(-9px);
}
.floating-port-tooltip.is-below { transform: translate(-50%,9px); }
.floating-port-tooltip.is-below::after { top: auto; bottom: 100%; transform: translate(-50%,5px) rotate(225deg); }

.device-stencil.extreme-slx9640 .device-stencil-stage,
.device-stencil.is-compact.extreme-slx9640 .device-stencil-stage { height: auto; aspect-ratio: 10.857 / 1; }
.device-chassis-face:has(.device-slx9640-panel) {
  
  
}
.device-chassis-face:has(.device-slx9640-panel) .device-stencil-bezel,
.device-chassis-face:has(.device-slx9640-panel) .device-stencil-rail { color: #f0eaff; border-color: rgba(239,232,255,.25); }
.device-chassis-face:has(.device-slx9640-panel) .device-stencil-bezel :is(strong,span),
.device-chassis-face:has(.device-slx9640-panel) .device-stencil-rail strong { color: var(--text-strong); }
.device-slx9640-panel,
.device-stencil.is-compact .device-slx9640-panel {
  grid-template-columns: minmax(84px,14%) minmax(0,44%) minmax(54px,9%) minmax(0,33%);
  align-items: stretch;
  gap: 5px;
  padding: 3px 5px;
  overflow: hidden;
  background: linear-gradient(180deg,#603a91,#4b287c);
}
.device-slx-management { display: grid; grid-template-rows: auto minmax(0,1fr) auto; align-content: stretch; gap: 3px; min-width: 0; padding: 2px 3px;  font: 800 5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.device-slx-management > b { align-self: center; letter-spacing: .06em; }
.device-slx-console { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: center; gap: 3px; min-height: 0; }
.device-slx-console i { position: relative; display: grid; min-width: 0; min-height: 0; place-items: end center;  border-radius: 1px;   }
.device-slx-console small { padding-bottom: 2px;  font-size: 3px; font-style: normal; }
.device-slx-leds { display: flex; gap: 4px; align-items: center; }
.device-slx-leds i { width: 4px; height: 4px; border-radius: 50%;  }
.device-slx-access,
.device-slx-fabric { display: grid; align-items: stretch; min-width: 0; min-height: 0; padding: 3px;  border-radius: 2px;  }
.device-slx-access { grid-template: repeat(2,minmax(0,1fr)) / repeat(12,minmax(0,1fr)); gap: 3px 2px; }
.device-slx-fabric { grid-template: repeat(2,minmax(0,1fr)) / repeat(6,minmax(0,1fr)); gap: 3px; }
.device-slx-access .device-stencil-port,
.device-slx-fabric .device-stencil-port { min-width: 0; min-height: 0; aspect-ratio: auto; border-color: #24172f; border-radius: 1px; }
.device-slx-vent { position: relative; overflow: hidden;  border-radius: 2px;  }
.device-slx-vent > span { position: absolute; inset: 7px 25%;  border-radius: 50%;  opacity: .72; }
.device-slx9640-rear { grid-template-columns: 13% minmax(0,1fr) 13%; gap: 6px; }
.device-slx9640-rear .device-fan-bank { grid-template-columns: repeat(8,minmax(0,1fr)); gap: 4px; }
.device-slx9640-rear .device-fan-bank i { border-color: #4b4560; background: radial-gradient(circle,#182026 0 16%,#6a5d8f 17% 22%,#2d2940 23% 48%,#67598c 49%); }

.rack-equipment-block.model-extreme-slx9640 { border-color: #9b82d1; background: linear-gradient(180deg,#7555a9,#402b69); }
.rack-mini-extreme-slx9640 { background: linear-gradient(180deg,#7756ab,#432c70); }
.rack-mini-extreme-slx9640 :is(.rack-mini-identity b,.rack-mini-identity small,.rack-mini-live) {  }
.rack-mini-slx9640 { display: grid; grid-template-columns: minmax(0,1.12fr) 24% minmax(0,1fr); gap: 2px; min-width: 0; min-height: 0; padding-block: 1px; }
.rack-mini-slx-access { display: grid; grid-template: repeat(2,minmax(0,1fr)) / repeat(12,minmax(0,1fr)); gap: 1px; min-width: 0; min-height: 0; padding: 1px;   }
.rack-mini-slx-vent {   }
.rack-mini-slx-fabric { display: grid; grid-template: repeat(2,minmax(0,1fr)) / repeat(6,minmax(0,1fr)); gap: 1px; min-height: 0; }

.rack-mini-stencil.is-rear { grid-template-columns: minmax(27px,12%) minmax(0,1fr) 24px; }
.rack-mini-stencil.is-rear .rack-mini-live { grid-column: 3; }
.rack-mini-rear-hardware { display: grid; grid-template-columns: 16% minmax(0,1fr) 16%; align-items: stretch; gap: 3px; min-width: 0; min-height: 0; padding: 1px 2px; }
.rack-mini-rear-arista-7504 { grid-template-columns: 28% minmax(0,1fr); }
.rack-mini-rear-power { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px; min-height: 0; }
.rack-mini-rear-power i {  border-radius: 1px;  }
.rack-mini-rear-fans { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px; min-height: 0; }
.rack-mini-rear-arista-7504 .rack-mini-rear-fans { grid-template-columns: repeat(6,minmax(0,1fr)); }
.rack-mini-rear-extreme-slx9640 .rack-mini-rear-fans { grid-template-columns: repeat(8,minmax(0,1fr)); }
.rack-mini-rear-fans i {  border-radius: 1px;  }
.rack-mini-rear-fans.is-red i {   }

@media (max-width: 720px) {
  .device-stencil.extreme-slx9640 .device-stencil-stage,
  .device-stencil.is-compact.extreme-slx9640 .device-stencil-stage { min-width: 760px; }
}

/* v10.47.0: model-specific physical numbering, integrated racks and readable NOC mode. */
.device-cr3-panel,
.device-stencil.is-compact .device-cr3-panel {
  grid-template-columns: 5% minmax(0,1fr) 12% minmax(0,1fr) 40px;
  gap: 6px;
}
.device-cr3-primary { grid-template-columns: repeat(2,minmax(58px,1fr)); }
.device-stencil.is-compact .device-cr3-panel {
  grid-template-columns: 5% minmax(0,1fr) 12% minmax(0,1fr) 27px;
  gap: 3px;
}
.device-port-pair { grid-template: repeat(2,minmax(0,1fr)) / minmax(0,1fr); }
.rack-mini-port-group.is-pair { grid-template: repeat(2,minmax(0,1fr)) / minmax(0,1fr); }
.rack-mini-cr3 { grid-template-columns: minmax(0,1fr) 13% minmax(0,1fr); }
.rack-mini-cr3-primary { grid-template-columns: repeat(2,minmax(0,1fr)); }

/* Keep the navigation gutter stable, but reveal its thumb only during input. */
.portal-nav {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.portal-nav::-webkit-scrollbar { width: 8px; height: 8px; }
.portal-nav::-webkit-scrollbar-track {  }
.portal-nav::-webkit-scrollbar-thumb {  border-radius: 999px;  background-clip: padding-box; }
.portal-nav.is-scrolling { scrollbar-color: rgba(167,190,214,.6) transparent; }
.portal-nav.is-scrolling::-webkit-scrollbar-thumb {  background-clip: padding-box; }

/* Datacenters now own room and rack navigation. */
.dc-rack-inventory { margin-top: 12px; overflow: hidden;  border-radius: 12px;  }
.dc-rack-inventory-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px;   }
.dc-rack-inventory-head h3 { margin: 2px 0 3px; font-size: 16px; }
.dc-rack-inventory-head small {  }
.dc-integrated-room,
.dc-integrated-rack {  }
.dc-integrated-room:last-child,
.dc-integrated-rack:last-child {  }
.dc-integrated-room > summary,
.dc-integrated-rack > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; cursor: pointer; list-style: none; }
.dc-integrated-room > summary::-webkit-details-marker,
.dc-integrated-rack > summary::-webkit-details-marker { display: none; }
.dc-integrated-room > summary span,
.dc-integrated-rack > summary span { min-width: 0; }
.dc-integrated-room > summary strong,
.dc-integrated-room > summary small,
.dc-integrated-rack > summary b,
.dc-integrated-rack > summary small { display: block; }
.dc-integrated-room > summary small,
.dc-integrated-rack > summary small { margin-top: 2px;  font-size: 10px; }
.dc-integrated-room[open] > summary,
.dc-integrated-rack[open] > summary {   }
.dc-integrated-room-body { padding: 10px 14px 14px;  }
.dc-integrated-room-actions,
.dc-rack-management-actions { display: flex; justify-content: flex-end; gap: 7px; flex-wrap: wrap; padding: 0 0 10px; }
.dc-integrated-rack { margin-top: 10px; overflow: hidden;  border-radius: 11px;  }
.dc-integrated-rack-facts { text-align: right; }
.dc-rack-visual-card { width: min(100%,560px); margin: 14px auto; }
.dc-rack-management-actions { padding: 0 14px 14px; }

@media (max-width: 760px) {
  .dc-rack-inventory-head { align-items: flex-start; flex-direction: column; }
  .dc-integrated-rack > summary { align-items: flex-start; flex-direction: column; }
  .dc-integrated-rack-facts { text-align: left; }
  .device-stencil.arista-7280-32d4s .device-stencil-stage,
  .device-stencil.arista-7280-32p4 .device-stencil-stage { min-width: 820px; }
}
/* Application update manager */
.update-page-heading{align-items:flex-start}.update-posture{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:22px 24px;margin-bottom:18px}.update-posture-copy{display:flex;gap:14px;align-items:flex-start}.update-posture-copy h3{margin:2px 0 4px}.update-posture-copy p{margin:0;}.update-state-dot{width:14px;height:14px;border-radius:50%;margin-top:5px;}.update-state-dot.online{}.update-state-dot.offline{}.update-version-grid{display:grid;grid-template-columns:repeat(3,minmax(125px,1fr));border-radius:12px;overflow:hidden;}.update-version-grid div{padding:12px 16px;}.update-version-grid div:first-child{}.update-version-grid span{display:block;font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.05em;}.update-version-grid strong{display:block;margin-top:4px;white-space:nowrap}.update-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:18px;margin-bottom:18px}.update-upload-card,.update-rollback-card{padding:0}.update-upload-form,.update-confirm-form{padding:20px 22px}.update-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:160px;padding:22px;border-radius:12px;cursor:pointer;margin-bottom:14px;}.update-dropzone>span{margin-bottom:8px;}.update-dropzone small{margin-top:5px;}.update-dropzone input{width:min(100%,440px);margin-top:16px}.update-upload-form>.button{width:100%;justify-content:center;}.update-safety-note{display:flex;gap:10px;align-items:flex-start;padding:14px 20px;font-size:13px;}.update-safety-note svg{flex:0 0 auto;}.update-confirm-form{display:grid;gap:14px}.update-confirm-form label,.update-deploy-form label{display:grid;gap:6px;font-weight:700;font-size:13px}.update-confirm-form select,.update-confirm-form input,.update-deploy-form input{min-height:44px}.update-history{overflow:visible}.update-records{display:grid}.update-record{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;padding:18px 22px;}.update-record:first-child{}.update-record-main{display:flex;gap:14px;min-width:0}.update-action-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;flex:0 0 auto;}.update-action-icon.rollback{}.update-record h4{font-size:18px;margin:2px 0}.update-record h4 span{padding:0 5px;}.update-record p{margin:0;}.update-record-status{display:flex;align-items:center;gap:8px}.update-progress-message,.update-release-notes,.update-deploy-form{grid-column:1/-1}.update-progress-message{padding:10px 12px;border-radius:9px;}.update-release-notes{font-size:13px}.update-deploy-form{display:flex;align-items:end;justify-content:flex-end;gap:10px;padding-top:2px}.update-deploy-form label{width:min(100%,300px)}@media(max-width:1100px){.update-posture,.update-layout{grid-template-columns:1fr}.update-version-grid{width:100%}}@media(max-width:720px){.update-version-grid{grid-template-columns:1fr}.update-version-grid div{}.update-version-grid div:first-child{}.update-record{grid-template-columns:1fr}.update-record-status{justify-content:flex-start}.update-deploy-form{align-items:stretch;flex-direction:column}.update-deploy-form label{width:100%}}

/* v10.47.4: OpenStreetMap backbone-link cards and release-centre continuity. */
/* Release transport diagnostics and updater-bootstrap guidance are included. */
.backbone-link-card { display: flex; min-width: 0; flex-direction: column; }
.backbone-link-map {
  position: relative;
  min-width: 0;
  margin: 16px 0 14px;
  overflow: hidden;
  border: 1px solid #cbdcf0;
  border-radius: 13px;
  background: var(--surface-1);
  isolation: isolate;
}
.backbone-link-map-meta {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 16px;
  min-height: 48px;
  padding: 9px 14px 8px;
  border-bottom: 1px solid rgba(180,200,223,.72);
  background: var(--surface-1);
}
.backbone-map-endpoint { display: grid; min-width: 0; gap: 1px; }
.backbone-map-endpoint.endpoint-z { text-align: right; }
.backbone-map-endpoint span { color: var(--accent-text); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.backbone-map-endpoint.endpoint-z span { color: var(--success-text); }
.backbone-map-endpoint strong { overflow: hidden; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.backbone-link-map-canvas {
  position: relative;
  width: 100%;
  height: 178px;
  min-height: 178px;
  overflow: hidden;
  background: var(--surface-2);
  contain: layout paint;
}
.backbone-link-map-canvas .leaflet-pane,
.backbone-link-map-canvas .leaflet-control { z-index: auto; }
.backbone-link-map-canvas .leaflet-top,
.backbone-link-map-canvas .leaflet-bottom { z-index: 30; }
.backbone-link-map-canvas .leaflet-control-attribution { margin: 0; padding: 1px 4px; background: var(--surface-1); font-size: 8px; line-height: 1.35; }
.backbone-link-map-canvas .leaflet-control-attribution a { color: var(--text-subtle); }
.backbone-endpoint-icon-wrap { border: 0; background: transparent; }
.backbone-endpoint-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(22,52,87,.30);
  color: var(--text-strong);
  font: 800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
}
.backbone-endpoint-icon.endpoint-a { background: var(--accent); }
.backbone-endpoint-icon.endpoint-z { background: var(--success); }
.backbone-endpoint-icon.endpoint-both { width: 36px; border-radius: 999px; background: linear-gradient(90deg,#286ed8 0 50%,#11976e 50% 100%); font-size: 8px; }
.backbone-link-map-canvas .backbone-endpoint-letter-wrap { border: 0; background: transparent; pointer-events: none; }
.backbone-endpoint-letter { display: grid; width: 28px; height: 28px; place-items: center; color: var(--text-strong); font: 800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace; pointer-events: none; }
.backbone-link-map-distance {
  position: absolute;
  z-index: 40;
  left: 50%;
  bottom: 9px;
  padding: 5px 9px;
  border: 1px solid rgba(143,169,199,.7);
  border-radius: 999px;
  background: var(--surface-1);
  box-shadow: 0 3px 10px rgba(31,65,103,.12);
  color: var(--text-faint);
  font-size: 9px;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}
.backbone-link-map-missing {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 22px;
  text-align: center;
  background: linear-gradient(145deg,#f9fbfd,#edf2f7);
}
.backbone-link-map-missing strong { color: var(--text-faint); font-size: 12px; }
.backbone-link-map-missing span { max-width: 420px; color: var(--muted); font-size: 11px; }


.update-posture,
.update-upload-card,
.update-rollback-card,
.update-history {   }
.update-posture { grid-template-columns: minmax(320px,.9fr) minmax(520px,1.1fr); }
.update-version-grid { width: 100%;   }
.update-version-grid div { min-width: 0;   }
.update-version-grid strong { overflow: hidden;  text-overflow: ellipsis; }
.update-bootstrap-help { display: grid; gap: 5px; margin-top: 12px; padding: 11px 13px;  border-radius: 10px;   }
.update-bootstrap-help > span { font-size: 11px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.update-bootstrap-help code { width: fit-content; max-width: 100%; overflow-wrap: anywhere;  font-size: 12px; font-weight: 800; }
.update-bootstrap-help small {  }
.update-bootstrap-help small code { font-size: inherit; font-weight: 700; }
.update-card-heading { min-height: 86px; align-items: flex-start; padding: 18px 20px;  }
.update-card-heading .panel-heading-icon { margin-top: 1px; }
.update-card-heading h3 { margin: 2px 0 3px; }
.update-card-heading p { max-width: 720px; margin: 0;  line-height: 1.45; }
.update-upload-form { display: grid; gap: 14px; }
.portal-workspace .update-upload-form .release-file-input { position: absolute; width: 1px; min-height: 0; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;  }
.update-dropzone { min-height: 190px; margin: 0; border-width: 1px;   transition: border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease; }
.update-dropzone:hover,
.update-dropzone.is-dragging {    transform: translateY(-1px); }
.update-dropzone.has-file { border-style: solid;   }
.update-dropzone > .update-dropzone-icon { display: grid; width: 44px; height: 44px; place-items: center; margin: 0 0 10px; border-radius: 12px;   }
.update-dropzone.has-file > .update-dropzone-icon {   }
.update-dropzone > .release-file-picker { display: grid; width: min(100%,520px); grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; margin: 18px 0 0; padding: 7px 8px 7px 13px;  border-radius: 10px;    text-align: left; }
.release-file-picker > span { overflow: hidden;  font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.release-file-picker > b { padding: 8px 11px; border-radius: 8px;   font-size: 11px; white-space: nowrap; }
.update-dropzone.has-file .release-file-picker > span {  font-weight: 800; }
.update-upload-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; }
.update-upload-actions > span {  font-size: 12px; }
.update-upload-actions .button { flex: 0 0 auto; min-width: 180px; justify-content: center; }
.update-safety-note {   }
.update-rollback-card .ui-empty-state { min-height: 265px; padding: 34px 24px; }
.update-history > .ui-empty-state { min-height: 230px; padding: 38px 24px; }
.update-history .update-card-heading > .badge { margin-left: auto; }
.update-history-heading-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-left:auto; flex-wrap:wrap; }
.update-history-heading-actions .badge { margin:0; }
.update-failed-toggle { min-height:30px; padding:5px 9px;    }
.update-failed-toggle[aria-expanded="true"] {    }
.update-record[hidden] { display:none; }

@media (max-width: 1180px) {
  .update-posture { grid-template-columns: 1fr; }
  .update-layout { grid-template-columns: 1fr; }
  .update-version-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .backbone-link-map-meta { gap: 10px; padding-inline: 11px; }
  .backbone-map-endpoint strong { font-size: 10px; }
  .backbone-link-map-canvas { height: 160px; min-height: 160px; }
  .update-posture { padding: 18px; }
  .update-version-grid { grid-template-columns: 1fr; }
  .update-upload-form,.update-confirm-form { padding: 16px; }
  .update-dropzone { min-height: 170px; padding: 18px 14px; }
  .release-file-picker { grid-template-columns: 1fr; text-align: center; }
  .release-file-picker > b { text-align: center; }
  .update-upload-actions { align-items: stretch; flex-direction: column; }
  .update-upload-actions .button { width: 100%; }
  .update-card-heading { min-height: 0; }
}

/* v10.47.4: updater Docker home hardening and operator-selectable pre-update backups. */
.update-backup-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: min(100%, 390px);
  padding: 10px 12px;
  
  border-radius: 10px;
  
  cursor: pointer;
}
.update-backup-option input[type="checkbox"] { margin-top: 3px; flex: 0 0 auto; }
.update-backup-option span { display: grid; gap: 2px; }
.update-backup-option strong {  font-size: 13px; line-height: 1.25; }
.update-backup-option small {  font-size: 11px; line-height: 1.35; font-weight: 600; }
.update-deploy-form .update-password-field { width: min(100%, 300px); }
@media(max-width:720px){
  .update-backup-option,.update-deploy-form .update-password-field{width:100%;min-width:0}
}
.update-backup-option.is-disabled { cursor: not-allowed; opacity: .72; }
.update-agent-upgrade-note { display:grid; gap:3px; margin-top:10px; padding:10px 12px;  border-radius:9px;  font-size:12px; }
.update-agent-upgrade-note strong {  }
.update-agent-upgrade-note span {  }
.update-agent-upgrade-note code { width:max-content; max-width:100%; margin-top:3px; overflow-wrap:anywhere; }

/* v10.47.7: updater failure visibility and health-certified recovery. */
.update-progress-message.update-error-detail{}.update-progress-message.update-error-detail strong{}

/* v10.47.7 application updater phase history */
.update-phase-history {
  display: grid;
  gap: .45rem;
  margin-top: .65rem;
  padding-top: .65rem;
  
}
.update-phase-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, max-content) minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  font-size: .86rem;
}
.update-phase-row > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  .update-phase-row { grid-template-columns: 1fr; gap: .25rem; }
}

/* ----- v10.47.15 application-wide layout normalization -----
 * Consolidates spacing and form behaviour that had accumulated across legacy
 * modules. Loaded after style.css, so these rules are the canonical portal
 * contract without requiring every historical template to be rewritten.
 */
.ui-scope,
.ui-scope * { box-sizing: border-box; }

/* Prevent flex/grid children, long interface names and IDs from expanding cards. */
.ui-scope :is(.surface,.card,.ui-card,.compact-section,.panel,.form-grid,.subform,
  .account-card,.account-settings-layout,.section-heading,.panel-heading,.page-heading) > * {
  min-width: 0;
}
.ui-scope :is(p,small,span,strong,code,pre,td,th) { overflow-wrap: anywhere; }

/* One form rhythm for legacy and new forms. Embedded grids remain deliberately flush. */
.ui-scope .form-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px 18px;
  padding: 20px;
}
.ui-scope .surface.form-grid { overflow: hidden; }
.ui-scope .form-grid.embedded-grid,
.ui-scope .subform .form-grid,
.ui-scope fieldset .form-grid { padding: 0; }
.ui-scope .form-grid > :is(label,fieldset,div) { min-width: 0; }
.ui-scope .form-grid > .form-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
  padding-top: 2px;
}
.ui-scope .form-grid > .notice,
.ui-scope .form-grid > .wide { grid-column: 1 / -1; }

/* Keep controls visually aligned even in legacy forms that use varying markup. */
.ui-scope form label:not(.toggle-row):not(.checkbox-line):not(.option-card):not(.port-choice):not(.segmented-control) {
  min-width: 0;
}
.ui-scope form label:not(.toggle-row):not(.checkbox-line):not(.option-card):not(.port-choice):not(.segmented-control) > input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.ui-scope form label:not(.toggle-row):not(.checkbox-line):not(.option-card):not(.port-choice):not(.segmented-control) > select,
.ui-scope form label:not(.toggle-row):not(.checkbox-line):not(.option-card):not(.port-choice):not(.segmented-control) > textarea {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* Canonical section heading and action placement for cards with a framed header. */
.ui-scope :is(.account-section-heading,.update-card-heading) {
  gap: 20px;
}
.ui-scope :is(.account-section-heading,.update-card-heading) > div:first-child { min-width: 0; }
.ui-scope .compact-section > .panel-heading:first-child {
  margin: 0 0 14px;
  padding: 0 0 12px;
  
}

/* Tables should never force the whole application shell wider than the viewport. */
.ui-scope :is(.table-wrap,.table-surface) { max-width: 100%; overflow-x: auto; }
.ui-scope :is(.table-wrap,.table-surface) table { width: 100%; }

/* Personal account and MFA use the same card/body/footer geometry as the rest of the portal. */
.ui-scope .profile-hero { min-height: 116px; }
.ui-scope .account-card { overflow: hidden; }
.ui-scope .account-card-body { padding: 22px 24px 24px; }
.ui-scope .account-card-body--compact { padding-top: 18px; padding-bottom: 18px; }
.ui-scope .account-card-body > .notice:first-child { margin-top: 0; }
.ui-scope .account-card-body > .notice:last-child { margin-bottom: 0; }

.ui-scope .security-status-list {  }
.ui-scope .security-status-row {
  min-height: 92px;
  padding: 17px 24px;
  
}
.ui-scope .security-status-row:last-child {  }
.ui-scope .security-status-row > div { gap: 4px; min-width: 0; }
.ui-scope .security-status-row small {
  
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.ui-scope .security-status-row strong {  font-size: 14px; line-height: 1.35; }
.ui-scope .security-status-row > div > span {  font-size: 12px; line-height: 1.45; }

.ui-scope .mfa-account-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  padding: 20px 24px 24px;
  
  
}
.ui-scope .mfa-action-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 18px;
  
  border-radius: 12px;
  
  
}
.ui-scope .mfa-action-card--danger {   }
.ui-scope .mfa-action-card--policy {   }
.ui-scope .mfa-action-card-head { display: grid; gap: 4px; }
.ui-scope .mfa-action-card-head h4,
.ui-scope .mfa-setup-confirm h4,
.ui-scope .mfa-enrollment-form h4 { margin: 1px 0 0; font-size: 15px; line-height: 1.3; }
.ui-scope .mfa-action-card-head p,
.ui-scope .mfa-setup-confirm p,
.ui-scope .mfa-enrollment-form p,
.ui-scope .mfa-policy-copy p { margin: 0;  font-size: 11.5px; line-height: 1.45; }
.ui-scope .mfa-action-fields { display: grid; align-content: start; gap: 13px; }
.ui-scope .mfa-action-fields label,
.ui-scope .mfa-setup-confirm label,
.ui-scope .mfa-enrollment-form label { display: grid; gap: 6px; min-width: 0; }
.ui-scope .mfa-action-footer { display: flex; justify-content: flex-end; padding-top: 2px; }
.ui-scope .mfa-policy-copy { display: grid; align-content: start; justify-items: start; gap: 10px; }

.ui-scope .recovery-code-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
  margin: 14px 0 0;
}
.ui-scope .recovery-code-grid code {
  min-width: 0;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.ui-scope .mfa-setup-layout {
  display: grid;
  grid-template-columns: minmax(260px,.75fr) minmax(320px,1.25fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 18px;
}
.ui-scope .mfa-qr-panel,
.ui-scope .mfa-setup-confirm,
.ui-scope .mfa-enrollment-form {
  min-width: 0;
  
  border-radius: 12px;
  
}
.ui-scope .mfa-qr-panel { display: grid; justify-items: center; align-content: center; padding: 18px; }
.ui-scope .mfa-qr-wrap { margin: 0 0 14px; }
.ui-scope .mfa-qr-wrap img { width: min(220px,100%); height: auto; }
.ui-scope .mfa-manual-secret { max-width: 100%; margin: 0; text-align: center; }
.ui-scope .mfa-manual-secret code { max-width: 100%; font-size: 13px; letter-spacing: .09em; }
.ui-scope .mfa-manual-secret span {  font-size: 10.5px; }
.ui-scope .mfa-setup-confirm { display: grid; align-content: center; gap: 16px; padding: 22px;  }
.ui-scope .mfa-setup-confirm .form-actions { justify-content: flex-end; }
.ui-scope .mfa-enrollment-form {
  display: grid;
  grid-template-columns: minmax(220px,1fr) minmax(260px,.9fr) auto;
  align-items: end;
  gap: 18px;
  padding: 18px;
  
}
.ui-scope .mfa-enrollment-form .form-actions { justify-content: flex-end; }

/* User-admin MFA card follows the same field/action alignment as self-service security. */
.ui-scope .compact-section .security-status-row { padding-inline: 0; }
.ui-scope .compact-section > form.form-grid:last-child {
  margin-top: 14px;
  padding: 16px 0 0;
  
}

@media (max-width: 900px) {
  .ui-scope .mfa-account-grid,
  .ui-scope .mfa-setup-layout { grid-template-columns: 1fr; }
  .ui-scope .mfa-enrollment-form { grid-template-columns: 1fr; align-items: stretch; }
  .ui-scope .mfa-enrollment-form .form-actions { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .ui-scope .form-grid { grid-template-columns: 1fr; padding: 18px; }
  .ui-scope .form-grid > *,
  .ui-scope .form-grid > .form-actions,
  .ui-scope .form-grid > .wide { grid-column: 1; }
  .ui-scope .form-grid > .form-actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .ui-scope .account-section-heading,
  .ui-scope .security-status-row { align-items: flex-start; flex-direction: column; }
  .ui-scope .account-section-heading p { max-width: none; text-align: left; }
  .ui-scope .account-card-body,
  .ui-scope .mfa-account-grid,
  .ui-scope .security-status-row { padding-left: 18px; padding-right: 18px; }
  .ui-scope .recovery-code-grid { grid-template-columns: 1fr; }
  .ui-scope .profile-hero { min-height: 0; }
}

/* ----- v10.47.16 historical invoice import ----- */
.ui-scope .invoice-import-upload-panel,
.ui-scope .invoice-import-review-panel,
.ui-scope .invoice-import-history { overflow: hidden; }
.ui-scope .invoice-import-upload-panel > .section-heading,
.ui-scope .invoice-import-review-panel > .section-heading,
.ui-scope .invoice-import-history > .section-heading {
  margin: 0;
  padding: 18px 22px 14px;
  
}
.ui-scope .invoice-import-safety-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  padding: 18px 22px 0;
}
.ui-scope .invoice-import-safety-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px 15px;
  
  border-radius: 11px;
  
}
.ui-scope .invoice-import-safety-grid strong { font-size: 13px; }
.ui-scope .invoice-import-safety-grid span {  font-size: 11.5px; line-height: 1.5; }
.ui-scope .invoice-import-drop { margin: 18px 22px 22px; }
.ui-scope .invoice-import-list { display: grid; gap: 16px; padding: 18px 22px 22px; }
.ui-scope .invoice-import-card {
  min-width: 0;
  overflow: hidden;
  
  border-radius: 13px;
  
  
}
.ui-scope .invoice-import-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  
  
}
.ui-scope .invoice-import-card-head > div:first-child { display: grid; gap: 3px; min-width: 0; }
.ui-scope .invoice-import-card-head small {  font-size: 10.5px; }
.ui-scope .invoice-import-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ui-scope .invoice-import-card > .notice { margin: 14px 17px 0; }
.ui-scope .invoice-import-card > .analysis-meta { margin: 14px 17px 0; }
.ui-scope .invoice-import-review-form {  margin-top: 14px; }
.ui-scope .invoice-import-review-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  
  
}
.ui-scope .invoice-import-review-intro > div { display: grid; gap: 3px; min-width: 0; }
.ui-scope .invoice-import-review-intro span:not(.status-pill) {  font-size: 11.5px; line-height: 1.45; }
.ui-scope .invoice-import-form-grid { grid-template-columns: repeat(4,minmax(0,1fr)); padding: 18px; gap: 14px 16px; }
.ui-scope .invoice-import-form-grid label:first-child { grid-column: span 2; }
.ui-scope .invoice-import-payment-box { margin: 0 18px 18px;  border-radius: 11px; overflow: hidden;  }
.ui-scope .invoice-import-payment-box > .section-heading { margin: 0; padding: 14px 16px 10px;  }
.ui-scope .invoice-import-payment-box h4 { margin: 2px 0 0; font-size: 14px; }
.ui-scope .invoice-import-payment-box p { margin: 2px 0 0;  font-size: 11px; }
.ui-scope .invoice-import-payment-grid { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 16px; gap: 13px 15px; }
.ui-scope .invoice-import-collections { grid-column: 1 / -1; align-self: stretch; }
.ui-scope .invoice-import-evidence { margin: 0 18px 18px; }
.ui-scope .invoice-import-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 18px 18px;
}
.ui-scope .invoice-import-secondary-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 17px;
  
  
}
.ui-scope .invoice-import-secondary-actions form { margin: 0; }
.ui-scope .invoice-import-card .processing-state { margin: 16px 18px; }
.ui-scope .invoice-import-history .table-wrap {  }
.ui-scope .billing-import-notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ui-scope .billing-import-notice > div { display: grid; gap: 3px; min-width: 0; }
.ui-scope .billing-import-notice span {  font-size: 11.5px; line-height: 1.45; }
@media (max-width: 1180px) {
  .ui-scope .invoice-import-safety-grid { grid-template-columns: 1fr; }
  .ui-scope .invoice-import-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ui-scope .invoice-import-payment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .ui-scope .invoice-import-card-head,
  .ui-scope .invoice-import-review-intro,
  .ui-scope .billing-import-notice { align-items: stretch; flex-direction: column; }
  .ui-scope .invoice-import-head-actions { justify-content: flex-start; }
  .ui-scope .invoice-import-form-grid,
  .ui-scope .invoice-import-payment-grid { grid-template-columns: 1fr; }
  .ui-scope .invoice-import-form-grid label:first-child,
  .ui-scope .invoice-import-collections { grid-column: 1; }
  .ui-scope .invoice-import-actions { align-items: stretch; flex-direction: column; }
  .ui-scope .invoice-import-actions .button,
  .ui-scope .billing-import-notice .button { width: 100%; }
  .ui-scope .invoice-import-safety-grid { padding-inline: 16px; }
  .ui-scope .invoice-import-list { padding: 14px 16px 18px; }
  .ui-scope .invoice-import-drop { margin-inline: 16px; }
}

/* ----- v10.47.17 HostBill settlement extraction ----- */
.ui-scope .invoice-import-party-meta {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 8px 12px;
  margin: -4px 18px 18px;
  padding: 11px 13px;
  
  border-radius: 9px;
  
}
.ui-scope .invoice-import-party-meta > span,
.ui-scope .invoice-import-party-meta > small {  font-size: 11px; }
.ui-scope .invoice-import-party-meta > strong { font-size: 12px; }
.ui-scope .invoice-import-transactions { margin: 16px;  border-radius: 10px; overflow: hidden;  }
.ui-scope .invoice-import-transactions-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px;   }
.ui-scope .invoice-import-transactions-head > div { display: grid; gap: 3px; min-width: 0; }
.ui-scope .invoice-import-transactions-head span:not(.status-pill) {  font-size: 11px; line-height: 1.45; }
.ui-scope .invoice-import-transactions .table-wrap {  border-radius: 0; }
.ui-scope .invoice-import-transactions tfoot th {   }
.ui-scope .invoice-import-source-transactions { margin: 0; padding: 12px 14px;   }
@media (max-width: 760px) {
  .ui-scope .invoice-import-party-meta { grid-template-columns: 1fr; }
  .ui-scope .invoice-import-transactions-head { align-items: stretch; flex-direction: column; }
}


/* ----- v10.47.18 customer portal polish and in-panel invoice viewer ----- */
body[data-portal-mode="customer"] .portal-workspace .app-main {
  width: min(100%, 1720px);
  margin-inline: auto;
  padding: 32px clamp(18px,2.4vw,38px) 64px;
}
body[data-portal-mode="customer"] .page-heading:not(.customer-account-hero) { margin-bottom: 18px; }
body[data-portal-mode="customer"] .page-heading:not(.customer-account-hero) h2 { font-size: clamp(30px,2.1vw,38px); }
body[data-portal-mode="customer"] .surface,
body[data-portal-mode="customer"] .metric-card { border-radius: 15px; }
body[data-portal-mode="customer"] .customer-account-hero { padding: 22px 24px; }
body[data-portal-mode="customer"] .customer-account-context { font-size: 11.5px; }
body[data-portal-mode="customer"] .customer-portal-metrics {
  grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
  gap: 14px;
}
body[data-portal-mode="customer"] .customer-portal-metrics .metric-card { min-height: 126px; padding: 20px 21px; }
body[data-portal-mode="customer"] .customer-portal-metrics .metric-card > span { font-size: 11px; }
body[data-portal-mode="customer"] .customer-portal-metrics .metric-card > strong { margin-top: 9px; font-size: 25px; }
body[data-portal-mode="customer"] .customer-portal-metrics .metric-card > small { margin-top: 7px; font-size: 11.5px; line-height: 1.4; }

/* A timeline is chronological, so keep it visually chronological instead of creating an uneven 2-column masonry effect. */
body[data-portal-mode="customer"] .customer-activity-panel > .panel-heading { padding: 19px 22px 16px; }
body[data-portal-mode="customer"] .customer-activity-timeline { grid-template-columns: 1fr; }
body[data-portal-mode="customer"] .customer-activity-event,
body[data-portal-mode="customer"] .customer-activity-event:nth-child(odd) {
  grid-template-columns: 38px minmax(0,1fr) auto;
  gap: 13px;
  min-height: 66px;
  padding: 13px 21px;
  border-right: 0;
}
body[data-portal-mode="customer"] .customer-activity-icon { width: 38px; height: 38px; border-radius: 10px; }
body[data-portal-mode="customer"] .customer-activity-event strong { font-size: 12.5px; }
body[data-portal-mode="customer"] .customer-activity-event small { margin-top: 4px; font-size: 11.5px; }
body[data-portal-mode="customer"] .customer-activity-event time { font-size: 10.5px; }

/* Customer tables keep search, but omit admin-oriented density/column controls. */
body[data-portal-mode="customer"] .data-table-toolbar {
  min-height: 62px;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 15px 15px 0 0;
}
body[data-portal-mode="customer"] .data-table-search { max-width: 620px; }
body[data-portal-mode="customer"] .data-table-search .ui-icon { left: 12px; width: 16px; height: 16px; }
body[data-portal-mode="customer"] .data-table-search input { min-height: 40px; padding-left: 40px; font-size: 12.5px; }
body[data-portal-mode="customer"] .data-table-result-count { margin-left: auto; font-size: 11px; }
body[data-portal-mode="customer"] .data-table-view-controls { display: none; }
body[data-portal-mode="customer"] .data-table-toolbar + :is(.table-scroll,.table-wrap) { border-radius: 0 0 15px 15px; }
body[data-portal-mode="customer"] .table-wrap { overflow-x: auto; }
body[data-portal-mode="customer"] table th { height: 44px; padding: 10px 16px; font-size: 10.5px; letter-spacing: .035em; }
body[data-portal-mode="customer"] table td { min-height: 56px; padding: 13px 16px; font-size: 12.5px; vertical-align: middle; }
body[data-portal-mode="customer"] .is-enhanced-table.has-sticky-actions :is(th,td):last-child { min-width: 178px; }

.customer-invoice-list { overflow: visible; }
.customer-invoice-table { min-width: 860px; }
.customer-invoice-number { color: var(--text-strong); text-decoration: none; }
.customer-invoice-number:hover { color: var(--primary); text-decoration: underline; }
.customer-invoice-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: max-content; }
.customer-invoice-actions .button { min-width: 76px; justify-content: center; white-space: nowrap; }
.customer-invoice-actions .button .ui-icon { width: 15px; height: 15px; }
.customer-invoice-heading { align-items: center; }
.customer-invoice-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.customer-invoice-title h2 { margin: 0; }
.customer-invoice-title .status-pill { margin: 0; }
.customer-invoice-heading-actions { flex-wrap: wrap; }
.customer-invoice-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.customer-invoice-summary-grid .metric-card { padding: 18px 20px; }
.customer-invoice-summary-grid .metric-card > span,
.customer-invoice-summary-grid .metric-card > strong,
.customer-invoice-summary-grid .metric-card > small { display: block; }
.customer-invoice-summary-grid .metric-card > span {  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.customer-invoice-summary-grid .metric-card > strong { margin-top: 7px; font-size: 19px; line-height: 1.2; }
.customer-invoice-summary-grid .metric-card > small { margin-top: 5px;  font-size: 11px; }
.customer-pdf-panel { overflow: hidden; padding: 0; }
.customer-pdf-panel-heading { margin: 0; padding: 18px 21px 15px;  }
.customer-pdf-viewer-wrap { min-height: 720px; height: min(76vh,980px);  }
.customer-pdf-viewer { display: block; width: 100%; height: 100%;   }
.customer-pdf-fallback { padding: 11px 20px;    font-size: 11.5px; }
.customer-pdf-fallback a { font-weight: 700; }

@media(max-width:980px){
  .customer-invoice-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-portal-mode="customer"] .customer-account-hero { padding: 19px; }
}
@media(max-width:720px){
  body[data-portal-mode="customer"] .portal-workspace .app-main { padding: 22px 14px 46px; }
  body[data-portal-mode="customer"] .customer-activity-event,
  body[data-portal-mode="customer"] .customer-activity-event:nth-child(odd) { grid-template-columns: 36px minmax(0,1fr); padding: 12px 15px; }
  body[data-portal-mode="customer"] .customer-activity-event time { grid-column: 2; }
  body[data-portal-mode="customer"] .data-table-toolbar { align-items: center; }
  body[data-portal-mode="customer"] .data-table-search { flex-basis: min(100%,420px); }
  .customer-invoice-heading-actions { width: 100%; }
  .customer-invoice-heading-actions .button { flex: 1 1 auto; justify-content: center; }
  .customer-invoice-summary-grid { grid-template-columns: 1fr; }
  .customer-pdf-viewer-wrap { min-height: 520px; height: 68vh; }
}


/* ----- v10.47.19 customer activity, footprint and invoice viewer alignment ----- */
body[data-portal-mode="customer"] .customer-activity-panel { padding: 0; overflow: hidden; }
body[data-portal-mode="customer"] .customer-activity-panel > .panel-heading { margin: 0; }
body[data-portal-mode="customer"] .customer-account-activity {
  margin: 0 22px 8px 38px;
  
}
body[data-portal-mode="customer"] .customer-account-activity .customer-account-activity-row {
  
  text-decoration: none;
  grid-template-columns: 118px minmax(0,1fr) 24px;
  min-height: 74px;
  padding-top: 16px;
  padding-bottom: 16px;
}
body[data-portal-mode="customer"] .customer-account-activity .customer-account-activity-row:hover {  }
body[data-portal-mode="customer"] .customer-account-activity .customer-account-activity-row > time { align-self: center; }
body[data-portal-mode="customer"] .customer-account-activity .customer-account-activity-row > time strong,
body[data-portal-mode="customer"] .customer-account-activity .customer-account-activity-row > time span { display: block; }
body[data-portal-mode="customer"] .customer-account-activity .customer-account-activity-row > time strong {  font-size: 11.5px; }
body[data-portal-mode="customer"] .customer-account-activity .customer-account-activity-row > time span { margin-top: 3px;  font-size: 10.5px; }
body[data-portal-mode="customer"] .customer-account-activity .activity-title-row { flex-wrap: nowrap; }
body[data-portal-mode="customer"] .customer-account-activity .activity-title-row > strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
body[data-portal-mode="customer"] .customer-account-activity .activity-copy > small { font-size: 11.5px; }
body[data-portal-mode="customer"] .customer-account-activity .customer-activity-icon { width: 32px; height: 32px; flex: 0 0 32px; }
body[data-portal-mode="customer"] .customer-account-activity .customer-activity-open { align-self: center;  }
body[data-portal-mode="customer"] .customer-account-activity .customer-activity-open .ui-icon { width: 15px; height: 15px; }

/* Reuse the Admin Datacenter-footprint visual language for customer service geography. */
body[data-portal-mode="customer"] .customer-service-footprint-panel { padding: 0; overflow: hidden; }
body[data-portal-mode="customer"] .customer-service-footprint-panel > .panel-heading { margin: 0; padding: 18px 20px 15px;  }
body[data-portal-mode="customer"] .customer-service-footprint-layout { grid-template-columns: minmax(0,1fr) 310px; gap: 0; min-height: 430px; }
body[data-portal-mode="customer"] .customer-services-map { min-height: 430px;  border-radius: 0; }
body[data-portal-mode="customer"] .customer-service-footprint-list {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 430px;
  padding: 14px;
  overflow: auto;
  border-left: 1px solid var(--border);
  background: var(--surface-1);
}
body[data-portal-mode="customer"] .customer-service-footprint-list > article.customer-footprint-location-card { padding: 13px 14px; border-radius: 10px;  }
body[data-portal-mode="customer"] .customer-footprint-location-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
body[data-portal-mode="customer"] .customer-footprint-location-head > span:last-child { min-width: 0; }
body[data-portal-mode="customer"] .customer-footprint-location-head strong { display: block; color: var(--text-strong); font-size: 12.5px; line-height: 1.25; }
body[data-portal-mode="customer"] .customer-footprint-location-head small { display: block; margin-top: 3px; color: var(--muted); font-size: 10.5px; }
body[data-portal-mode="customer"] .customer-footprint-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-text);
  font: 800 10.5px/1 "Segoe UI Variable","Segoe UI",system-ui,sans-serif;
  white-space: nowrap;
}
body[data-portal-mode="customer"] .customer-footprint-address { margin: 11px 0 0; color: var(--text-faint); font-style: normal; font-size: 11.5px; line-height: 1.45; overflow-wrap: anywhere; }
body[data-portal-mode="customer"] .customer-footprint-address > span { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; }
body[data-portal-mode="customer"] .customer-location-services { gap: 7px; margin-top: 11px; padding-top: 10px; }
body[data-portal-mode="customer"] .customer-location-services a { gap: 8px; font-size: 11px; }
body[data-portal-mode="customer"] .customer-location-services .badge { flex: 0 0 auto; }

/* Make the inline PDF viewport unmistakably part of the app while retaining browser controls. */
body[data-portal-mode="customer"] .customer-pdf-viewer-wrap { position: relative;  }
body[data-portal-mode="customer"] .customer-pdf-viewer {  }

@media(max-width:1050px){
  body[data-portal-mode="customer"] .customer-service-footprint-layout { grid-template-columns: 1fr; }
  body[data-portal-mode="customer"] .customer-service-footprint-list { grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); max-height: none; border-left: 0; border-top: 1px solid var(--border); }
  body[data-portal-mode="customer"] .customer-services-map { min-height: 360px; }
}
@media(max-width:760px){
  body[data-portal-mode="customer"] .customer-account-activity { margin-left: 25px; margin-right: 12px; }
  body[data-portal-mode="customer"] .customer-account-activity .customer-account-activity-row { grid-template-columns: minmax(0,1fr) 20px; padding-left: 22px; }
  body[data-portal-mode="customer"] .customer-account-activity .customer-account-activity-row > time { grid-column: 1; display: flex; gap: 6px; }
  body[data-portal-mode="customer"] .customer-account-activity .activity-copy { grid-column: 1; }
  body[data-portal-mode="customer"] .customer-account-activity .customer-activity-open { grid-column: 2; grid-row: 1 / span 2; }
  body[data-portal-mode="customer"] .customer-service-footprint-list { grid-template-columns: 1fr; }
}

/* ----- v10.47.20 customer profile design-system convergence and address assistance ----- */
body[data-portal-mode="customer"] .customer-activity-panel .customer-system-activity-row {
  color: var(--text);
  text-decoration: none;
}
body[data-portal-mode="customer"] .customer-activity-panel .customer-system-activity-row:hover { background: var(--surface-1); }
body[data-portal-mode="customer"] .customer-activity-panel .customer-system-activity-row .badge { align-self: center; }

body[data-portal-mode="customer"] .customer-company-profile-form {
  display: grid;
  gap: 16px;
}
body[data-portal-mode="customer"] .customer-profile-section { padding: 0; overflow: visible; }
body[data-portal-mode="customer"] .customer-profile-section > .panel-heading {
  margin: 0;
  padding: 18px 20px 15px;
  
  
}
body[data-portal-mode="customer"] .customer-profile-section-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px 18px;
  padding: 20px;
}
body[data-portal-mode="customer"] .customer-profile-section-grid > label,
body[data-portal-mode="customer"] .customer-address-assistant { min-width: 0; }
body[data-portal-mode="customer"] .customer-profile-section-grid > label > span,
body[data-portal-mode="customer"] .customer-address-assistant > label > span {
  font-size: 11px;
  font-weight: 800;
  
}
body[data-portal-mode="customer"] .customer-profile-section-grid input,
body[data-portal-mode="customer"] .customer-profile-section-grid select,
body[data-portal-mode="customer"] .customer-profile-section-grid textarea { width: 100%; }
body[data-portal-mode="customer"] .customer-profile-section-grid textarea { min-height: 92px; resize: vertical; }
body[data-portal-mode="customer"] .customer-country-field { max-width: 620px; }
body[data-portal-mode="customer"] .customer-profile-country-display { display: inline-flex; align-items: center; gap: 8px; }
body[data-portal-mode="customer"] .customer-profile-country-display .country-flag-svg { width: 24px; height: 16px; border-radius: 3px;  }

body[data-portal-mode="customer"] .customer-address-assistant { position: relative; display: grid; gap: 7px; }
body[data-portal-mode="customer"] .address-search-control { position: relative; }
body[data-portal-mode="customer"] .address-search-control input { padding-right: 128px; }
body[data-portal-mode="customer"] .address-search-status {
  position: absolute;
  right: 12px;
  top: 50%;
  max-width: 112px;
  overflow: hidden;
  transform: translateY(-50%);
  
  font-size: 10.5px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}
body[data-portal-mode="customer"] .address-suggestion-list {
  position: absolute;
  z-index: 1200;
  top: calc(100% - 20px);
  left: 0;
  right: 0;
  max-height: 300px;
  overflow: auto;
  
  border-radius: 11px;
  
  
}
body[data-portal-mode="customer"] .address-suggestion {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  
  
  
  
  text-align: left;
  cursor: pointer;
}
body[data-portal-mode="customer"] .address-suggestion:last-child {  }
body[data-portal-mode="customer"] .address-suggestion:hover,
body[data-portal-mode="customer"] .address-suggestion:focus-visible {   }
body[data-portal-mode="customer"] .address-suggestion strong { font-size: 12.5px; line-height: 1.35; }
body[data-portal-mode="customer"] .address-suggestion small {  font-size: 10.5px; line-height: 1.35; }
body[data-portal-mode="customer"] .customer-address-assistant > small {  font-size: 10.5px; }

body[data-portal-mode="customer"] .customer-profile-savebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}
body[data-portal-mode="customer"] .customer-profile-savebar > div { display: grid; gap: 3px; min-width: 0; }
body[data-portal-mode="customer"] .customer-profile-savebar > div strong { font-size: 12.5px; }
body[data-portal-mode="customer"] .customer-profile-savebar > div small { color: var(--muted); font-size: 10.5px; }
body[data-portal-mode="customer"] .customer-profile-savebar button { flex: 0 0 auto; }

@media(max-width:820px){
  body[data-portal-mode="customer"] .customer-profile-section-grid { grid-template-columns: 1fr; padding: 17px; }
  body[data-portal-mode="customer"] .customer-profile-section-grid > .wide { grid-column: 1; }
  body[data-portal-mode="customer"] .customer-profile-savebar { align-items: stretch; flex-direction: column; }
  body[data-portal-mode="customer"] .customer-profile-savebar button { width: 100%; justify-content: center; }
  body[data-portal-mode="customer"] .address-search-control input { padding-right: 14px; }
  body[data-portal-mode="customer"] .address-search-status { position: static; display: block; max-width: none; margin-top: 5px; transform: none; text-align: left; }
}


/* ----- v10.47.21 hard customer-portal convergence -----
 * Customer pages now use the same canonical geometry, cards, form grids and map shell
 * as the Admin application. Keep portal-specific rules limited to content semantics.
 */
body[data-portal-mode="customer"] .portal-workspace .app-main {
  width: min(100%, var(--ui-content-max));
  margin-inline: auto;
  padding: var(--ui-page-pad-y) var(--ui-page-pad-x) 72px;
}
body[data-portal-mode="customer"] .page-heading:not(.customer-account-hero) h2 { font-size: clamp(26px,2.25vw,34px); }
body[data-portal-mode="customer"] .surface,
body[data-portal-mode="customer"] .metric-card { border-radius: var(--ui-card-radius); }
body[data-portal-mode="customer"] .customer-account-hero { padding: 18px 20px; }
body[data-portal-mode="customer"] .customer-portal-metrics { gap: 12px; }
body[data-portal-mode="customer"] .customer-portal-metrics .metric-card { min-height: 100px; padding: 15px 16px; }
body[data-portal-mode="customer"] .customer-portal-metrics .metric-card > span { font-size: 10px; }
body[data-portal-mode="customer"] .customer-portal-metrics .metric-card > strong { margin-top: 5px; font-size: 20px; }
body[data-portal-mode="customer"] .customer-portal-metrics .metric-card > small { margin-top: 5px; font-size: 11px; }

/* Canonical activity list: reusable system component, not customer-specific geometry. */
.ui-activity-list { display: grid; }
.ui-activity-row {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}
.ui-activity-row:last-child { border-bottom: 0; }
.ui-activity-row:hover { background: var(--surface-1); }
.ui-activity-row time { display: grid; gap: 2px; color: var(--text-subtle); }
.ui-activity-row time strong { font-size: 11px; }
.ui-activity-row time span { color: var(--muted); font-size: 10px; }
.ui-activity-copy { min-width: 0; }
.ui-activity-copy > strong { display: block; overflow: hidden; color: var(--text-strong); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.ui-activity-copy > small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.ui-activity-row > .badge { justify-self: end; }

/* Canonical Company Profile uses ui-section/ui-form-grid directly. */
body[data-portal-mode="customer"] .customer-company-profile-form { display: grid; gap: var(--ui-section-gap); }
body[data-portal-mode="customer"] .customer-company-profile-form .ui-section__body { padding: 18px; }
body[data-portal-mode="customer"] .customer-company-profile-form .ui-action-bar {  border-radius: var(--ui-card-radius);  }
body[data-portal-mode="customer"] .customer-address-assistant,
.ui-scope .customer-address-assistant { position: relative; display: grid; gap: 6px; min-width: 0; }
body[data-portal-mode="customer"] .address-search-control,
.ui-scope .address-search-control { position: relative; }
body[data-portal-mode="customer"] .address-search-control input,
.ui-scope .address-search-control input { padding-right: 120px; }
body[data-portal-mode="customer"] .address-search-status,
.ui-scope .address-search-status { position: absolute; right: 10px; top: 50%; max-width: 105px; overflow: hidden; transform: translateY(-50%);  font-size: 10px; text-align: right; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
body[data-portal-mode="customer"] .address-suggestion-list,
.ui-scope .address-suggestion-list { position: absolute; z-index: 1200; top: calc(100% - 16px); left: 0; right: 0; max-height: 300px; overflow: auto;  border-radius: 10px;   }
body[data-portal-mode="customer"] .address-suggestion,
.ui-scope .address-suggestion { display: grid; gap: 3px; width: 100%; min-height: 0; padding: 10px 12px;   border-radius: 0;   text-align: left; white-space: normal; cursor: pointer; }
body[data-portal-mode="customer"] .address-suggestion:last-child,
.ui-scope .address-suggestion:last-child {  }
body[data-portal-mode="customer"] .address-suggestion:hover,
body[data-portal-mode="customer"] .address-suggestion:focus-visible,
.ui-scope .address-suggestion:hover,
.ui-scope .address-suggestion:focus-visible {   }
body[data-portal-mode="customer"] .address-suggestion strong,
.ui-scope .address-suggestion strong { font-size: 12px; }
body[data-portal-mode="customer"] .address-suggestion small,
.ui-scope .address-suggestion small {  font-size: 10.5px; }

/* Customer geographic panels deliberately reuse Admin Datacenter footprint shell. */
body[data-portal-mode="customer"] .customer-service-footprint-panel,
body[data-portal-mode="customer"] .customer-service-map-shell { padding: 0; overflow: hidden; }
body[data-portal-mode="customer"] .customer-service-footprint-panel .dashboard-map-head,
body[data-portal-mode="customer"] .customer-service-map-shell .dashboard-map-head { min-height: 74px; padding: 15px 17px; }
body[data-portal-mode="customer"] .customer-service-footprint-layout,
body[data-portal-mode="customer"] .customer-service-map-layout { grid-template-columns: minmax(0,1fr) 300px; min-height: 500px; }
body[data-portal-mode="customer"] :is(.customer-services-map,.service-map) { min-height: 500px;  border-radius: 0; }
body[data-portal-mode="customer"] .customer-service-footprint-list,
body[data-portal-mode="customer"] .service-map-locations { display: grid; align-content: start; gap: 10px; max-height: 500px; overflow: auto; padding: 16px;   }
body[data-portal-mode="customer"] .customer-service-footprint-list { border-left: 1px solid var(--border); }
body[data-portal-mode="customer"] .customer-footprint-location-card,
body[data-portal-mode="customer"] .customer-map-location { padding: 12px;  border-radius: 9px;  }
body[data-portal-mode="customer"] .customer-footprint-location-head { display: grid; grid-template-columns:auto auto minmax(0,1fr); gap: 8px; align-items: center; }
body[data-portal-mode="customer"] .customer-footprint-flag .country-flag-svg,
body[data-portal-mode="customer"] .customer-map-location-title .country-flag-svg { width: 24px; height: 16px; border-radius: 3px;  }
body[data-portal-mode="customer"] .customer-map-location-title { display: flex; align-items: center; gap: 8px; }
body[data-portal-mode="customer"] .customer-map-location > span { display: block; margin-top: 4px;  font-size: 11px; }
body[data-portal-mode="customer"] .customer-map-location address { margin: 10px 0;  font-style: normal; font-size: 11.5px; line-height: 1.45; }
body[data-portal-mode="customer"] .customer-map-location address small { display: block; margin-top: 2px;  }

/* Rich marker tooltip/popup shares one map information treatment across both maps. */
.location-rich-tooltip.leaflet-tooltip { padding: 0; border: 0; border-radius: 9px; box-shadow: 0 8px 24px rgba(17,45,76,.16); }
.map-location-tooltip { display: grid; gap: 4px; min-width: 230px; max-width: 360px; padding: 10px 12px; }
.map-location-tooltip strong { display: flex; align-items: center; gap: 7px;  font-size: 12px; }
.map-location-tooltip span {  font-size: 11px; line-height: 1.4; }
.map-location-tooltip small {  font-size: 10.5px; }
.map-location-tooltip .map-inline-flag,
.map-location-popup .map-inline-flag { width: 22px; height: 14px; flex: 0 0 auto; }
.map-location-popup { display: grid; gap: 4px; min-width: 220px; }
.map-location-popup > strong { display: flex; align-items: center; gap: 7px; }
.map-location-popup > small {  }
.map-location-popup address { margin: 5px 0 2px;  font-style: normal; line-height: 1.4; }
.map-location-popup address span { display: block; margin-top: 2px;  font-size: 10.5px; }

@media(max-width:900px){
  .ui-form-grid > :is(.ui-col-8,.ui-col-6,.ui-col-4,.ui-col-3,.ui-col-2) { grid-column: span 12; }
  .ui-activity-row { grid-template-columns: 92px minmax(0,1fr); }
  .ui-activity-row > .badge { grid-column: 2; justify-self: start; }
  body[data-portal-mode="customer"] .customer-service-footprint-layout,
  body[data-portal-mode="customer"] .customer-service-map-layout { grid-template-columns: 1fr; }
  body[data-portal-mode="customer"] .customer-service-footprint-list,
  body[data-portal-mode="customer"] .service-map-locations { max-height: none;   }
}
@media(max-width:720px){
  body[data-portal-mode="customer"] .portal-workspace .app-main { padding: var(--ui-page-pad-y) 14px 48px; }
  .ui-activity-row { grid-template-columns: 1fr; gap: 6px; }
  .ui-activity-row > .badge { grid-column: 1; }
  body[data-portal-mode="customer"] .address-search-control input,
  .ui-scope .address-search-control input { padding-right: 10px; }
  body[data-portal-mode="customer"] .address-search-status,
  .ui-scope .address-search-status { position: static; display: block; max-width: none; margin-top: 4px; transform: none; text-align: left; }
}

/* ========================================================================
   v10.47.22 — customer sFlow convergence + support SLA / attachments
   ======================================================================== */

/* Keep the customer analytics workspace inside canonical page geometry. */
body[data-portal-mode="customer"] .customer-sflow-page {
  display: grid;
  gap: var(--ui-section-gap);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body[data-portal-mode="customer"] .customer-sflow-page > * { min-width: 0; max-width: 100%; margin: 0; }
body[data-portal-mode="customer"] .customer-sflow-heading { margin-bottom: 0; }
body[data-portal-mode="customer"] .customer-sflow-controls,
body[data-portal-mode="customer"] .customer-sflow-sankey,
body[data-portal-mode="customer"] .customer-sflow-ranking { width: 100%; min-width: 0; }
body[data-portal-mode="customer"] .customer-sflow-control-body { padding-block: 14px; }
body[data-portal-mode="customer"] .customer-sflow-filter-system { max-width: 620px; }
body[data-portal-mode="customer"] .customer-sflow-stat-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
body[data-portal-mode="customer"] .customer-sflow-sankey { overflow: hidden; }
body[data-portal-mode="customer"] .customer-sflow-sankey .sflow-sankey-heading { padding: 16px 18px 12px; }
body[data-portal-mode="customer"] .customer-sflow-sankey .sflow-sankey-scroll { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; }
body[data-portal-mode="customer"] .customer-sflow-sankey .sflow-sankey-stage { width: 100%; max-width: 1500px; min-width: 980px; }
body[data-portal-mode="customer"] .customer-sflow-ranking-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: var(--ui-section-gap);
  min-width: 0;
}
body[data-portal-mode="customer"] .customer-sflow-ranking .table-wrap { width: 100%; max-width: 100%; }
body[data-portal-mode="customer"] .customer-sflow-ranking table { width: 100%; }
body[data-portal-mode="customer"] .customer-sflow-ranking :is(th,td):not(:first-child) { white-space: nowrap; }
body[data-portal-mode="customer"] .customer-sflow-ranking td:first-child { min-width: 170px; }

/* Canonical support create/edit surfaces. */
.support-create-system-form { overflow: hidden; }
.support-create-system-form > .ui-section__body { padding: 18px; }
.support-create-system-form .support-attachment-field input[type="file"],
.ticket-composer .support-attachment-field input[type="file"] { padding-block: 7px;  }
.support-ticket-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
.support-ticket-side-body { padding: 14px 18px 18px; }
.support-ticket-side-body .ticket-facts { margin: 0 0 14px; padding: 0; }
.support-ticket-side-body .ticket-facts div { padding: 10px 0; }
.support-ticket-side-body .ticket-close-card,
.support-ticket-side-body .ticket-closed-card { margin: 14px 0 0; }
.support-sla-panel {
  display: grid;
  gap: 9px;
  padding: 13px;
  
  border-radius: 10px;
  
}
.support-sla-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.support-sla-row > div { min-width: 0; }
.support-sla-row strong,
.support-sla-row small { display: block; }
.support-sla-row strong {  font-size: 11.5px; }
.support-sla-row small { margin-top: 3px;  font-size: 10px; line-height: 1.4; }
.support-sla-observed {  font-size: 10px; line-height: 1.4; }
.support-message-attachments { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; padding-top: 10px;  }
.support-attachment-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 8px;
  
  border-radius: 8px;
  
  
  text-decoration: none;
}
.support-attachment-chip:hover {   }
.support-attachment-chip.internal {    }
.support-attachment-chip span { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; font-weight: 800; }
.support-attachment-chip small {  font-size: 9.5px; white-space: nowrap; }
.ticket-composer .support-attachment-field { margin: 0; }
.ticket-admin-sidebar > .ui-section-header,
.customer-ticket-sidebar > .ui-section-header { padding: 16px 18px 12px;  }
.ticket-control-form { padding: 14px 18px 18px; }

@media (max-width: 1100px) {
  body[data-portal-mode="customer"] .customer-sflow-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-portal-mode="customer"] .customer-sflow-ranking-grid { grid-template-columns: 1fr; }
  .support-ticket-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  body[data-portal-mode="customer"] .customer-sflow-stat-grid,
  .support-ticket-stats { grid-template-columns: 1fr; }
  body[data-portal-mode="customer"] .customer-sflow-filter-system > * { grid-column: span 12; }
  body[data-portal-mode="customer"] .customer-sflow-sankey .sflow-sankey-stage { min-width: 860px; }
  .support-create-system-form .ui-form-grid > *, .support-create-system-form .ui-col-6 { grid-column: span 12; }
  .support-sla-row { flex-direction: column; }
}

/* v10.47.23 — complete ISO flag coverage */
.country-flag-img {
  object-fit: contain;
  object-position: center;
  
}
.customer-list-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 18px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(25,55,86,.14);
  background: var(--surface, #fff);
}
.customer-list-country-flag .country-flag-svg {
  display: block;
  width: 26px;
  height: 18px;
}

/* v10.47.24 — flat ISO country flags and service-location flag convergence */
.country-flag-flat,
.map-inline-flag {
  display: inline-block;
  width: 30px;
  height: 20px;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
  
  
  vertical-align: middle;
}
.dc-map-icon .map-inline-flag,
.service-dc-icon .map-inline-flag { width: 30px; height: 20px; border-radius: 2px; }
.country-select-flat { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 8px; }
.country-select-flat > select { min-width: 0; width: 100%; }
.country-select-flat-flag { display: inline-grid; place-items: center; width: 30px; height: 20px; }
.country-select-flat-flag:empty {  border-radius: 3px;  }
.country-select-flat-flag .country-flag-svg { width: 30px; height: 20px; }
.service-location-identity { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.service-location-country-flag { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 27px; height: 18px; }
.service-location-country-flag .country-flag-svg { width: 27px; height: 18px; border-radius: 2px; }
.service-hero-location { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.service-hero-location > span:last-child { color: var(--text); font-weight: 700; }
.service-datacenter-metric { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 640px) {
  .country-select-flat { grid-template-columns: 30px minmax(0,1fr); gap: 7px; }
  .country-select-flat-flag, .country-select-flat-flag .country-flag-svg { width: 27px; height: 18px; }
}

/* v10.47.27 — canonical service readiness and datacenter-country alignment */
.ui-scope .readiness-panel-v2 {
  padding: 0;
  overflow: hidden;
}
.ui-scope .readiness-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 16px;
  
  
}
.ui-scope .readiness-panel-head > div { min-width: 0; }
.ui-scope .readiness-panel-head h3 { margin: 3px 0 0; font-size: 17px; letter-spacing: -.012em; }
.ui-scope .readiness-panel-head p { max-width: 760px; margin: 5px 0 0;  font-size: 11px; line-height: 1.5; }
.ui-scope .readiness-status-badge { flex: 0 0 auto; margin-top: 2px; }
.ui-scope .readiness-progress-block {
  padding: 15px 20px 13px;
  
}
.ui-scope .readiness-progress-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.ui-scope .readiness-progress-copy > div { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.ui-scope .readiness-progress-copy strong { font-size: 13px;  }
.ui-scope .readiness-progress-copy span {  font-size: 10px; }
.ui-scope .readiness-progress-copy > b {  font-size: 11px; }
.ui-scope .readiness-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  
  
}
.ui-scope .readiness-progress-track > span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  
  transition: width .25s ease;
}
.ui-scope .readiness-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(245px,1fr));
  gap: 10px;
  margin: 0;
  padding: 4px 20px 20px;
  list-style: none;
}
.ui-scope .readiness-step {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 62px;
  padding: 10px 11px;
  
  border-radius: 11px;
  
  
}
.ui-scope .readiness-step.complete {   }
.ui-scope .readiness-step.pending {   }
.ui-scope .readiness-step-marker {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  
  
  font-size: 10px;
  font-weight: 800;
}
.ui-scope .readiness-step.complete .readiness-step-marker {   }
.ui-scope .readiness-step-marker .ui-icon { width: 15px; height: 15px; }
.ui-scope .readiness-step-copy { min-width: 0; }
.ui-scope .readiness-step-copy strong,
.ui-scope .readiness-step-copy small { display: block; }
.ui-scope .readiness-step-copy strong {  font-size: 11.5px; line-height: 1.35; overflow-wrap: anywhere; }
.ui-scope .readiness-step-copy small { margin-top: 3px;  font-size: 9.5px; }
.ui-scope .readiness-step-state {
  padding: 3px 7px;
  border-radius: 999px;
  
  
  font-size: 8.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
  white-space: nowrap;
}
.ui-scope .readiness-step.complete .readiness-step-state {   }

/* Keep country-group flags on a single optical baseline in Datacenter Inventory. */
.ui-scope .country-title { align-items: center; min-height: 30px; }
.ui-scope .country-title > .country-flag-vector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex: 0 0 28px;
  width: 28px;
  height: 21px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  
  border-radius: 3px;
  
  box-sizing: border-box;
  line-height: 0;
  vertical-align: middle;
  
}
.ui-scope .country-title > .country-flag-vector > .country-flag-svg {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  vertical-align: top;
}

@media (max-width: 720px) {
  .ui-scope .readiness-panel-head { flex-direction: column; }
  .ui-scope .readiness-steps { grid-template-columns: 1fr; padding-inline: 14px; }
  .ui-scope .readiness-progress-block { padding-inline: 14px; }
}

/* v10.47.28 — Device Inventory country flags share one 4:3 optical baseline. */
.ui-scope .device-country-heading {
  align-items: center;
  min-height: 32px;
}
.ui-scope .device-country-heading > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ui-scope .device-country-heading .country-flag-vector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex: 0 0 28px;
  width: 28px;
  height: 21px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  
  border-radius: 3px;
  
  box-sizing: border-box;
  line-height: 0;
  vertical-align: middle;
  
}
.ui-scope .device-country-heading .country-flag-vector > .country-flag-svg {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  vertical-align: top;
}
.ui-scope .device-country-heading .eyebrow { margin-bottom: 2px; line-height: 1; }
.ui-scope .device-country-heading h3 { margin: 0; line-height: 1.15; }

body.portal-body {
  font-family: Inter, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  
  
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.portal-body .portal-workspace {
  
}
body.portal-body .portal-workspace::before { opacity: .07; }

/* Sidebar: quieter, narrower and more application-like. */
body[data-portal-mode="admin"] .portal-shell { --portal-sidebar-width: 232px; }
body[data-portal-mode="customer"] .portal-shell { --portal-sidebar-width: 232px; }
body.portal-body .portal-sidebar {
  
  
  
}
body.portal-body .portal-brand {
  min-height: 70px;
  padding: 14px 16px;
  gap: 12px;
  
}
body.portal-body .portal-brand > span:last-child strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .12em;
}
body.portal-body .portal-brand > span:last-child small {
  margin-top: 5px;
  
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}
body.portal-body .portal-brand-mark {
  width: 29px;
  height: 32px;
  flex-basis: 29px;
  filter: drop-shadow(0 4px 10px rgba(30,107,244,.22));
}
body.portal-body .portal-brand-mark i { width: 7px; height: 7px; background: var(--accent); }

body.portal-body .portal-nav {
  padding: 13px 10px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(151, 177, 207, .28) transparent;
}
body.portal-body .portal-nav-featured {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  
}
body.portal-body .portal-nav-group {
  gap: 2px;
  margin-bottom: 13px;
}
body.portal-body .portal-nav-group > span {
  min-height: 26px;
  margin: 0 7px 4px;
  
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .13em;
}
body.portal-body .portal-nav-group > span::after {
  width: 5px;
  height: 5px;
  margin-right: 5px;
  opacity: .7;
}
body.portal-body .portal-nav a,
body.portal-body .portal-nav-featured a {
  min-height: 37px;
  padding: 7px 9px;
  gap: 9px;
  
  border-radius: 8px;
  
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -.005em;
}
body.portal-body .portal-nav a .nav-icon,
body.portal-body .portal-nav-featured a .nav-icon {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
  border-radius: 7px;
  
  
}
body.portal-body .portal-nav a .nav-icon .ui-icon,
body.portal-body .portal-nav-featured a .nav-icon .ui-icon { width: 14px; height: 14px; }
body.portal-body .portal-nav a:hover,
body.portal-body .portal-nav-featured a:hover {
  
  
  
}
body.portal-body .portal-nav a:hover .nav-icon,
body.portal-body .portal-nav-featured a:hover .nav-icon {   }
body.portal-body .portal-nav a.active,
body.portal-body .portal-nav-featured a.active {
  
  
  
  
}
body.portal-body .portal-nav a.active .nav-icon,
body.portal-body .portal-nav-featured a.active .nav-icon {
  
  
  
}
body.portal-body .portal-sidebar-foot {
  display: grid;
  gap: 5px;
  padding: 13px 14px 16px;
  
}
body.portal-body .portal-sidebar-foot .portal-sidebar-status {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
  padding: 10px 11px;
  
  border-radius: 9px;
  
}
body.portal-body .portal-sidebar-status > span {
  
  font-size: 9px;
  font-weight: 800;
}
body.portal-body .portal-sidebar-status .status-dot {  font-size: 9px; }
body.portal-body .portal-sidebar-status .status-dot::before { width: 5px; height: 5px;  }
body.portal-body .portal-sidebar-foot > small { margin: 0;  font-size: 8.5px; }

/* Top bar: light application chrome, matching the approved mockup. */
body.portal-body .portal-topbar {
  min-height: 64px;
  padding: 10px clamp(18px, 2vw, 30px);
  
  
  
  
  backdrop-filter: blur(16px) saturate(1.1);
}
body.portal-body .portal-topbar-context { gap: 2px; max-width: min(440px, 36vw); }
body.portal-body .portal-topbar-context > strong {
  
  font-size: 12.5px;
  font-weight: 800;
}
body.portal-body .portal-topbar-context > small {  font-size: 9.5px; }
body.portal-body .topbar-icon-action,
body.portal-body .topbar-command-button,
body.portal-body .automation-bell {
  
  
  
  
}
body.portal-body .topbar-icon-action:hover,
body.portal-body .topbar-icon-action.is-active,
body.portal-body .topbar-command-button:hover,
body.portal-body .automation-bell:hover {
  
  
  
}
body.portal-body .topbar-command-button kbd {
  
  
  
}
body.portal-body .topbar-global-search { min-width: clamp(220px, 22vw, 360px); }
body.portal-body .topbar-global-search input {
  height: 38px;
  min-height: 38px;
  
  border-radius: 9px;
  
  
  font-size: 11px;
}
body.portal-body .topbar-global-search input:focus {  }
body.portal-body .portal-admin {  }
body.portal-body .portal-admin strong {  font-size: 11px; font-weight: 800; }
body.portal-body .portal-admin small {  font-size: 9px; }
body.portal-body .portal-admin .avatar {
  width: 34px;
  height: 34px;
  
  
  
}
body.portal-body .logout-button {
  min-height: 36px;
  
  
  
  
}
body.portal-body .automation-bell .automation-count {  }

/* Page hierarchy and typography. */
.portal-workspace .app-main { padding-top: var(--ui-page-pad-y); }
.ui-scope .experience-breadcrumbs {
  margin: -3px 0 13px;
  
  font-size: 9px;
}
.ui-scope .experience-breadcrumbs a {  }
.ui-scope .experience-breadcrumb-current {  }
.ui-scope .page-heading,
.ui-scope .ui-page-header { margin-bottom: 20px; gap: 30px; }
.ui-scope .page-heading h2,
.ui-scope .ui-page-header h1,
.ui-scope .ui-page-header h2 {
  margin-bottom: 7px;
  
  font-size: clamp(27px, 2vw, 34px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.035em;
}
.ui-scope .page-heading p,
.ui-scope .ui-page-header p {
  max-width: 920px;
  
  font-size: 11.5px;
  line-height: 1.5;
}
.ui-scope .eyebrow {
  margin-bottom: 7px;
  
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .13em;
}

/* Shared controls and surfaces. */
.ui-scope :is(.surface, .card, .ui-card, .ui-section, .table-wrap, .table-surface, .table-scroll) {
  
  border-radius: var(--ui-card-radius);
  
}
.ui-scope :is(.surface, .card, .ui-card, .ui-section) {  }
.ui-scope .button,
.ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out),
.ui-scope .icon-button {
  min-height: 36px;
  padding: 7px 11px;
  
  border-radius: 8px;
  
  
  
  font-size: 11px;
  font-weight: 700;
}
.ui-scope .button .ui-icon,
.ui-scope button .ui-icon { width: 14px; height: 14px; }
.ui-scope .button:hover,
.ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):hover,
.ui-scope .icon-button:hover {
  
  
  
}
.ui-scope .button.primary,
.ui-scope button.primary,
.ui-scope .primary {
  
  
  
  
}
.ui-scope .button.primary:hover,
.ui-scope button.primary:hover,
.ui-scope .primary:hover {
  
  
  
  
}
.ui-scope :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
  select,
  textarea
) {
  min-height: 40px;
  
  border-radius: 9px;
  
  
  font-size: 12px;
  
}
.ui-scope input:focus,
.ui-scope select:focus,
.ui-scope textarea:focus {
  
  
}
.ui-scope :is(.section-heading, .panel-heading, .ui-section-header) h3 {  font-size: 14px; font-weight: 800; }
.ui-scope :is(.section-heading, .panel-heading, .ui-section-header) p {  font-size: 10.5px; }
.ui-scope .badge {
  min-height: 21px;
  padding: 3px 8px;
  
  font-size: 9px;
  font-weight: 800;
}
.ui-scope .badge.good {    }
.ui-scope .badge.neutral {    }
.ui-scope .badge.warning {  }
.ui-scope .badge.danger-badge {  }
.ui-scope .status-dot { font-size: 9px; font-weight: 800; }
.ui-scope .status-dot::before { width: 6px; height: 6px;  }
.ui-scope .status-dot.online::before {  }
.ui-scope .notice { border-radius: 10px; font-size: 11px; }

/* Tables: cleaner rhythm with a restrained header. */
.ui-scope .data-table-toolbar {
  min-height: 50px;
  padding: 8px 10px;
  
  
}
.ui-scope .data-table-search input { min-height: 34px; height: 34px;  }
.ui-scope .table-wrap,
.ui-scope .table-surface,
.ui-scope .table-scroll {  }
.ui-scope table th {
  padding: 10px 12px;
  
  
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .07em;
}
.ui-scope table td { padding: 11px 12px;  font-size: 10.5px; }
.ui-scope table tbody tr:hover {  }

/* Summary metrics and generic cards. */
.ui-scope .ui-stat,
.ui-scope .dashboard-kpis article,
.ui-scope .compact-metrics > div {
  
  border-radius: 11px;
  
  
}
.ui-scope .ui-stat > span {  font-size: 8px; }
.ui-scope .ui-stat > strong {  font-size: 17px; }

/* Device Inventory: approved composition. */
.ui-scope .device-page-heading { align-items: flex-start; }
.ui-scope .device-page-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ui-scope .device-page-title-line h2 { margin-bottom: 0; }
.ui-scope .device-total-badge { margin-top: 2px; }
.ui-scope .device-country-group { display: grid; gap: 8px; }
.ui-scope .device-country-group + .device-country-group { margin-top: 20px; }
.ui-scope .device-country-heading {
  min-height: 34px;
  padding: 0 1px 6px;
  
}
.ui-scope .device-country-heading > div:first-child { gap: 9px; }
.ui-scope .device-country-heading h3 {
  
  font-size: 12px;
  font-weight: 800;
}
.ui-scope .device-country-count {
  
  font-size: 9px;
  font-weight: 700;
}
.ui-scope .device-country-heading .country-flag-vector {
  flex-basis: 24px;
  width: 24px;
  height: 18px;
  border-radius: 2px;
  
}
.ui-scope .device-grid { grid-template-columns: 1fr; gap: 12px; }
.ui-scope .device-card {
  gap: 13px;
  padding: 15px 16px 14px;
  overflow: visible;
  
  border-radius: 12px;
  
}
.ui-scope .device-card:hover {   }
.ui-scope .device-card-head { align-items: flex-start; gap: 20px; }
.ui-scope .device-identity { min-width: 0; }
.ui-scope .device-card-head h3 {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.ui-scope .device-card-head h3 a {  }
.ui-scope .device-card .row-note { margin-top: 4px;  font-size: 8.5px; }
.ui-scope .device-visual-wrap {
  margin: 0 -4px;
  overflow: visible;
  
  border-radius: 8px;
  
}
.ui-scope .device-visual-wrap .device-stencil.is-compact {
  margin: 0;
  padding: 9px 10px 8px;
  border-block: 0;
  background: transparent;
}
.ui-scope .device-visual-wrap .device-stencil-controls { margin-top: 7px; }
.ui-scope .device-facts { gap: 8px; }
.ui-scope .device-facts > div {
  min-height: 54px;
  padding: 9px 10px;
  
  border-radius: 8px;
  
}
.ui-scope .device-facts dt {
  display: flex;
  align-items: center;
  gap: 6px;
  
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .045em;
}
.ui-scope .device-fact-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  
  
}
.ui-scope .device-fact-icon .ui-icon { width: 9px; height: 9px; }
.ui-scope .device-facts dd {
  margin-top: 4px;
  
  font-size: 10px;
  font-weight: 700;
}
.ui-scope .device-card .inventory-actions { margin-top: -1px; }

/* Customer portal inherits the same surface language without changing its IA. */
body[data-portal-mode="customer"] .portal-workspace .app-main { max-width: var(--ui-content-max); }
body[data-portal-mode="customer"] .customer-account-hero {
  border-color: var(--border-subtle);
  border-radius: 14px;
  background: linear-gradient(125deg,#fff 0%,#f8fbff 72%,#eef5ff 100%);
  box-shadow: var(--ui-shadow);
}

/* Responsive refinements for the narrower shell. */
@media (max-width: 1280px) {
  body[data-portal-mode="admin"] .portal-shell,
  body[data-portal-mode="customer"] .portal-shell { --portal-sidebar-width: 218px; }
  body.portal-body .portal-nav a,
  body.portal-body .portal-nav-featured a { font-size: 11px; }
  body.portal-body .topbar-command-button > span { font-size: 0; gap: 0; }
  body.portal-body .topbar-command-button > span .ui-icon { width: 16px; height: 16px; }
}
@media (max-width: 1040px) {
  body.portal-body .topbar-global-search { display: none; }
  body.portal-body .portal-topbar-context { max-width: none; }
}
@media (max-width: 900px) {
  body.portal-body .portal-sidebar { width: min(300px, 88vw); }
  body.portal-body .portal-nav { padding-top: 14px; }
  body.portal-body .portal-nav a,
  body.portal-body .portal-nav-featured a { min-height: 40px; font-size: 12px; }
  body.portal-body .portal-topbar { min-height: 60px; padding-inline: 14px; }
  .ui-scope .device-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .ui-scope .page-heading,
  .ui-scope .ui-page-header { gap: 12px; }
  .ui-scope .page-heading h2,
  .ui-scope .ui-page-header h1,
  .ui-scope .ui-page-header h2 { font-size: 26px; }
  .ui-scope .device-facts { grid-template-columns: 1fr; }
  .ui-scope .device-card { padding-inline: 12px; }
  .ui-scope .device-country-heading { align-items: center; }
}

body.portal-body .portal-workspace {
  
}
body.portal-body .portal-topbar {
  
  
  
  backdrop-filter: blur(22px) saturate(1.18);
}
body.portal-body .portal-sidebar {
  
}
body.portal-body .portal-nav a,
body.portal-body .portal-nav-featured a,
.ui-scope .button,
.ui-scope button,
.ui-scope .icon-button,
.ui-scope :is(.surface,.card,.ui-card,.ui-section) {
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
}
body.portal-body .portal-nav a:hover,
body.portal-body .portal-nav-featured a:hover { transform: translateX(1px); }

.ui-scope .page-heading h2,
.ui-scope .ui-page-header h1,
.ui-scope .ui-page-header h2 {
  
  font-weight: 800;
  letter-spacing: -.04em;
}
.ui-scope .page-heading p,
.ui-scope .ui-page-header p {  }
.ui-scope .eyebrow {  }

.ui-scope :is(.surface,.card,.ui-card,.ui-section) {
  
  
  
}
.ui-scope :is(.surface,.card,.ui-card,.ui-section):hover {
  
}
.ui-scope .panel-heading,
.ui-scope .section-heading,
.ui-scope .ui-section-header { gap: 18px; }
.ui-scope :is(.section-heading,.panel-heading,.ui-section-header) h3 {
  font-size: 14.5px;
  letter-spacing: -.015em;
}

.ui-scope .button,
.ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out),
.ui-scope .icon-button {
  
  
  
}
.ui-scope .button:hover,
.ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):hover,
.ui-scope .icon-button:hover {
  transform: translateY(-1px);
  
  
  
}
.ui-scope .button.primary,
.ui-scope button.primary,
.ui-scope .primary {
  
  
}
.ui-scope .button.primary:hover,
.ui-scope button.primary:hover,
.ui-scope .primary:hover {
  
}

.ui-scope input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
.ui-scope select,
.ui-scope textarea {
  
  
  
}
.ui-scope input:focus,
.ui-scope select:focus,
.ui-scope textarea:focus {
  
  
  
}

/* Bento-like metric rhythm: clearer hierarchy without turning the NOC into a consumer UI. */
.ui-scope .ui-stat,
.ui-scope .dashboard-kpis article,
.ui-scope .compact-metrics > div,
.ui-scope .metric-card {
  
  border-radius: 14px;
  
  
}
.ui-scope .ui-stat > strong { letter-spacing: -.025em; }

/* Tables use a softer data-grid treatment and keep hover feedback local. */
.ui-scope .table-wrap,
.ui-scope .table-surface,
.ui-scope .table-scroll {  }
.ui-scope table th {
  
  
  
}
.ui-scope table td {  }
.ui-scope table tbody tr:hover {  }

/* Flat, factual flags only. No emoji / waving-flag artwork. */
.country-flag-true,
.country-flag-flat,
.map-inline-flag {
  object-fit: fill;
  border-radius: 2px;
  
}
.ui-scope .device-country-heading .country-flag-vector {
  overflow: hidden;
  border-radius: 3px;
  
  
}

/* Device cards gain slightly more air and less hardware-catalog harshness. */
.ui-scope .device-card {
  
  border-radius: 15px;
  
}
.ui-scope .device-card:hover {
  transform: translateY(-1px);
  
  
}
.ui-scope .device-visual-wrap {
  
  border-radius: 11px;
  
  
}
.ui-scope .device-facts > div {
  
  border-radius: 10px;
  
}

/* -------------------------------------------------------------------------- */
/* Modern bandwidth / port telemetry                                          */
/* -------------------------------------------------------------------------- */
.ui-scope .telemetry-graph-shell,
.telemetry-graph-shell.telemetry-graph-modern {
  overflow: hidden;
  
  border-radius: 16px;
  
  
}
.telemetry-summary-strip {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1px;
  padding: 0;
  
  
}
.telemetry-summary-card {
  display: grid;
  align-content: center;
  min-height: 82px;
  padding: 14px 18px;
  
}
.telemetry-summary-card > span {
  display: flex;
  align-items: center;
  gap: 7px;
  
  font-size: 10px;
  font-weight: 700;
}
.telemetry-summary-card > strong {
  margin-top: 5px;
  
  font-size: clamp(18px,1.5vw,23px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.telemetry-summary-card > small {
  margin-top: 5px;
  
  font-size: 9.5px;
  line-height: 1.35;
}
.telemetry-summary-card.in {  }
.telemetry-summary-card.out {  }

.telemetry-graph-canvas {
  position: relative;
  height: 365px;
  padding: 14px 18px 0;
  
  cursor: crosshair;
  touch-action: pan-y;
}
.telemetry-graph-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.telemetry-grid-y {
  
  stroke-width: 1;
  stroke-dasharray: none;
  vector-effect: non-scaling-stroke;
}
.telemetry-grid-y.zero {  stroke-width: 1; }
.telemetry-grid-x { display: none; }
.telemetry-axis-tick {
  
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.telemetry-axis-y,
.telemetry-axis-x {
  
  font-family: Inter,"Segoe UI Variable","Segoe UI",ui-sans-serif,system-ui,sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.telemetry-area.in.modern {  }
.telemetry-area.out.modern {  }
.telemetry-line.modern {
  
  stroke-width: 2.15;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.telemetry-line.in.modern {  }
.telemetry-line.out.modern {  }
.telemetry-p95.modern {
  stroke-width: 1.15;
  stroke-dasharray: 5 6;
  opacity: .38;
  vector-effect: non-scaling-stroke;
}
.telemetry-p95.in.modern {  }
.telemetry-p95.out.modern {  }
.telemetry-hover-line {
  
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: .7;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.telemetry-hover-dot {
  
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.telemetry-hover-dot.in {  }
.telemetry-hover-dot.out {  }
.telemetry-hover-tooltip {
  position: absolute;
  z-index: 4;
  display: grid;
  min-width: 205px;
  gap: 8px;
  padding: 11px 12px;
  
  border-radius: 11px;
  
  
  
  backdrop-filter: blur(15px) saturate(1.12);
  pointer-events: none;
}
.telemetry-hover-tooltip > strong {
  padding-bottom: 7px;
  
  
  font-size: 10.5px;
  font-weight: 700;
}
.telemetry-hover-tooltip > span {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
}
.telemetry-hover-tooltip em {  font-style: normal; }
.telemetry-hover-tooltip b {  font-size: 11px; font-weight: 700; }
.traffic-key {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  vertical-align: 0;
}
.traffic-key.in {  }
.traffic-key.out {  }
.telemetry-legend-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 39px;
  padding: 7px 18px 9px;
  
  
  
  font-size: 9.5px;
}
.telemetry-legend-row > span { display: inline-flex; align-items: center; gap: 6px; }
.telemetry-legend-p95 { margin-left: auto;  }
.telemetry-graph-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 18px 12px;
  
  
  
  font-size: 9.5px;
}
.telemetry-graph-footer strong {  }
.telemetry-graph-footer .text-action { font-weight: 700; }

@media (max-width: 980px) {
  .telemetry-summary-strip { grid-template-columns: 1fr 1fr; }
  .telemetry-summary-card { min-height: 74px; }
  .telemetry-graph-canvas { height: 315px; padding-inline: 10px; }
}
@media (max-width: 620px) {
  .telemetry-summary-strip { grid-template-columns: 1fr; gap: 0; }
  .telemetry-summary-card { min-height: 66px;  }
  .telemetry-graph-canvas { height: 270px; padding-inline: 4px; }
  .telemetry-hover-tooltip { min-width: 180px; }
  .telemetry-legend-row { flex-wrap: wrap; }
  .telemetry-legend-p95 { margin-left: 0; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body.portal-body .portal-nav a,
  body.portal-body .portal-nav-featured a,
  .ui-scope .button,
  .ui-scope button,
  .ui-scope .icon-button,
  .ui-scope :is(.surface,.card,.ui-card,.ui-section) { transition: none !important; }
  .ui-scope .button:hover,
  .ui-scope button:hover,
  .ui-scope .device-card:hover,
  body.portal-body .portal-nav a:hover,
  body.portal-body .portal-nav-featured a:hover { transform: none !important; }
}

/* -------------------------------------------------------------------------- */
/* v10.47.31 — Aristo UI 3.2 / Aurora                                         */
/* -------------------------------------------------------------------------- */
/* A more confident visual hierarchy: richer brand chrome, resolution-aware   */
/* navigation density, quieter controls, and polished telemetry presentation.  */

:root {
  --aristo-aurora-blue: #2f7cff;
  --aristo-aurora-cyan: #63d9ff;
  --aristo-aurora-violet: #655cff;
  --aristo-deep-navy: #06172b;
}

/* Futuristic angular A mark used in admin, customer and authentication chrome. */
.portal-brand-mark.portal-brand-mark-hero,
.login-brand .portal-brand-mark.portal-brand-mark-hero {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 40px;
  flex: 0 0 36px;
  overflow: visible;
  background: transparent;
  filter: none;
}
.portal-brand-mark.portal-brand-mark-hero::before,
.login-brand .portal-brand-mark.portal-brand-mark-hero::before {
  content: "";
  position: absolute;
  inset: 1px -4px -3px;
  border-radius: 50%;
  
  filter: blur(7px);
  opacity: .9;
  pointer-events: none;
}
.portal-brand-mark.portal-brand-mark-hero img,
.login-brand .portal-brand-mark.portal-brand-mark-hero img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 11px rgba(28,105,255,.24));
}
.portal-brand-mark.portal-brand-mark-hero i { display: none; }

body.portal-body .portal-sidebar {
  isolation: isolate;
  
  
  
}
body.portal-body .portal-sidebar::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 38%);
  mask-image: linear-gradient(180deg, #000, transparent 38%);
}
body.portal-body .portal-brand {
  min-height: 78px;
  padding: 15px 16px 14px;
  gap: 13px;
  
  
}
body.portal-body .portal-brand > span:last-child strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .145em;
  
}
body.portal-body .portal-brand > span:last-child small {
  margin-top: 4px;
  
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .20em;
}

/* Navigation is intentionally a little larger at every resolution and scales  */
/* again on 4K-class viewports instead of relying on OS browser zoom.           */
body.portal-body .portal-nav { padding: 15px 10px 20px; }
body.portal-body .portal-nav-featured { margin-bottom: 14px; padding-bottom: 13px; }
body.portal-body .portal-nav-group { gap: 3px; margin-bottom: 15px; }
body.portal-body .portal-nav-group > span {
  min-height: 28px;
  margin: 0 8px 4px;
  
  font-size: 8.75px;
  font-weight: 800;
  letter-spacing: .145em;
}
body.portal-body .portal-nav a,
body.portal-body .portal-nav-featured a {
  position: relative;
  min-height: 40px;
  padding: 7px 10px;
  gap: 10px;
  border-radius: 10px;
  
  font-size: 12.25px;
  font-weight: 700;
}
body.portal-body .portal-nav a .nav-icon,
body.portal-body .portal-nav-featured a .nav-icon {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
  border-radius: 8px;
  
  
  
}
body.portal-body .portal-nav a .nav-icon .ui-icon,
body.portal-body .portal-nav-featured a .nav-icon .ui-icon { width: 15px; height: 15px; }
body.portal-body .portal-nav a.active,
body.portal-body .portal-nav-featured a.active {
  
  
  
}
body.portal-body .portal-nav a.active::before,
body.portal-body .portal-nav-featured a.active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 999px 999px 0;
  
  
}
body.portal-body .portal-nav a.active .nav-icon,
body.portal-body .portal-nav-featured a.active .nav-icon {
  
  
}

/* Workspace chrome gains more deliberate scale and less "admin template" feel. */
body.portal-body .portal-topbar {
  min-height: 68px;
  padding-block: 11px;
  
  
  
  backdrop-filter: blur(20px) saturate(1.14);
}
body.portal-body .portal-topbar-context > strong { font-size: 13px; }
body.portal-body .portal-topbar-context > small { font-size: 10px; }

.ui-scope .page-heading h2,
.ui-scope .ui-page-header h1,
.ui-scope .ui-page-header h2 {
  font-weight: 800;
  letter-spacing: -.045em;
}
.ui-scope :is(.surface,.card,.ui-card,.ui-section) {
  
  border-radius: 15px;
  
  
}
.ui-scope :is(.surface,.card,.ui-card,.ui-section):hover {
  
  
}

/* Time/range controls are a segmented control rather than a row of industrial  */
/* rectangular buttons. This is used by port, service and upstream graphs.     */
.ui-scope .range-buttons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  
  border-radius: 11px;
  
  
}
.ui-scope .range-buttons .button,
.ui-scope .range-buttons a.button {
  min-height: 30px;
  padding: 5px 10px;
  
  border-radius: 8px;
  
  
  
  font-size: 10px;
  font-weight: 700;
}
.ui-scope .range-buttons .button:hover,
.ui-scope .range-buttons a.button:hover {
  transform: none;
  
  
  
}
.ui-scope .range-buttons .button.primary,
.ui-scope .range-buttons a.button.primary {
  
  
  
}

/* Telemetry refinement: more editorial whitespace and screenshot-like axes. */
.telemetry-graph-shell.telemetry-graph-modern {
  
  border-radius: 17px;
  
}
.telemetry-summary-strip {
  
  
}
.telemetry-summary-card {
  min-height: 78px;
  padding: 13px 18px;
  
}
.telemetry-summary-card > span { font-size: 10.25px; }
.telemetry-summary-card > strong { font-size: clamp(18px,1.32vw,24px); }
.telemetry-summary-card.in {  }
.telemetry-summary-card.out {  }
.telemetry-graph-canvas {
  height: 388px;
  padding: 20px 20px 2px;
  
}
.telemetry-grid-y {  }
.telemetry-axis-y,
.telemetry-axis-x {  font-size: 10.5px; font-weight: 600; }
.telemetry-line.modern { stroke-width: 2.35; }
.telemetry-line.in.modern {  }
.telemetry-line.out.modern {  }
.telemetry-hover-tooltip {
  border-radius: 12px;
  
  
}
.telemetry-legend-row { min-height: 41px; padding-inline: 20px; font-size: 10px; }
.telemetry-graph-footer { padding-inline: 20px; font-size: 9.75px; }

/* 4K / large desktop scaling. CSS-pixel width makes this useful even when a   */
/* 3840px monitor runs at 125–150% desktop scaling.                            */
@media (min-width: 1800px) {
  body[data-portal-mode="admin"] .portal-shell,
  body[data-portal-mode="customer"] .portal-shell { --portal-sidebar-width: 264px; }
  body.portal-body .portal-brand { min-height: 84px; padding-inline: 18px; gap: 14px; }
  .portal-brand-mark.portal-brand-mark-hero { width: 40px; height: 44px; flex-basis: 40px; }
  body.portal-body .portal-brand > span:last-child strong { font-size: 21px; }
  body.portal-body .portal-brand > span:last-child small { font-size: 9.25px; }
  body.portal-body .portal-nav { padding: 17px 12px 22px; }
  body.portal-body .portal-nav-group { gap: 4px; margin-bottom: 18px; }
  body.portal-body .portal-nav-group > span { min-height: 31px; font-size: 9.7px; margin-inline: 9px; }
  body.portal-body .portal-nav a,
  body.portal-body .portal-nav-featured a {
    min-height: 44px;
    padding: 8px 11px;
    gap: 11px;
    border-radius: 11px;
    font-size: 13.5px;
  }
  body.portal-body .portal-nav a .nav-icon,
  body.portal-body .portal-nav-featured a .nav-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
  body.portal-body .portal-nav a .nav-icon .ui-icon,
  body.portal-body .portal-nav-featured a .nav-icon .ui-icon { width: 17px; height: 17px; }
  body.portal-body .portal-sidebar-foot { padding: 15px 17px 19px; }
  body.portal-body .portal-sidebar-status > span,
  body.portal-body .portal-sidebar-status .status-dot { font-size: 10px; }
  body.portal-body .portal-sidebar-foot > small { font-size: 9.25px; }
  body.portal-body .portal-topbar { min-height: 74px; }
  body.portal-body .portal-topbar-context > strong { font-size: 14px; }
  body.portal-body .portal-topbar-context > small { font-size: 10.5px; }
  .ui-scope .range-buttons .button,
  .ui-scope .range-buttons a.button { min-height: 33px; padding-inline: 12px; font-size: 10.75px; }
  .telemetry-graph-canvas { height: 430px; }
  .telemetry-axis-y,
  .telemetry-axis-x { font-size: 11px; }
}

@media (min-width: 2500px) {
  body[data-portal-mode="admin"] .portal-shell,
  body[data-portal-mode="customer"] .portal-shell { --portal-sidebar-width: 290px; }
  body.portal-body .portal-brand { min-height: 90px; padding-inline: 20px; }
  .portal-brand-mark.portal-brand-mark-hero { width: 44px; height: 48px; flex-basis: 44px; }
  body.portal-body .portal-brand > span:last-child strong { font-size: 22px; }
  body.portal-body .portal-brand > span:last-child small { font-size: 9.75px; }
  body.portal-body .portal-nav { padding-inline: 14px; }
  body.portal-body .portal-nav-group > span { font-size: 10.25px; }
  body.portal-body .portal-nav a,
  body.portal-body .portal-nav-featured a {
    min-height: 48px;
    padding-inline: 12px;
    font-size: 14.25px;
  }
  body.portal-body .portal-nav a .nav-icon,
  body.portal-body .portal-nav-featured a .nav-icon { width: 32px; height: 32px; flex-basis: 32px; }
  body.portal-body .portal-nav a .nav-icon .ui-icon,
  body.portal-body .portal-nav-featured a .nav-icon .ui-icon { width: 18px; height: 18px; }
  .telemetry-graph-canvas { height: 470px; }
}

/* Mobile stays intentionally compact; the desktop scaling above never leaks   */
/* into the drawer layout.                                                     */
@media (max-width: 760px) {
  body.portal-body .portal-brand { min-height: 72px; }
  body.portal-body .portal-nav a,
  body.portal-body .portal-nav-featured a { min-height: 42px; font-size: 12.5px; }
  .ui-scope .range-buttons { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .ui-scope .range-buttons .button,
  .ui-scope .range-buttons a.button { flex: 0 0 auto; }
}

/* ========================================================================== */
/* v10.47.32 — Aristo UI 4.0 / Heroic                                         */
/* Full-control-panel visual system based on the approved futuristic concept.  */
/* Dark by default, data-first, high-contrast and deliberately non-industrial. */
/* ========================================================================== */

body[data-ui-shell="app"] {
  color-scheme: dark;
  color: var(--text);
  background: var(--surface-sunken);
}

html:has(body[data-ui-shell="app"]) { background: var(--surface-sunken); color-scheme: dark; }
body[data-ui-shell="app"]::selection { background: rgba(55,137,255,.38); color: var(--text-strong); }
body[data-ui-shell="app"] a { color: var(--accent-text); }
body[data-ui-shell="app"] a:hover { color: var(--accent-text); }
body[data-ui-shell="app"] .muted,
body[data-ui-shell="app"] .row-note,
body[data-ui-shell="app"] .ui-help {  }
body[data-ui-shell="app"] .eyebrow {
  
  font-weight: 800;
  letter-spacing: .12em;
}

/* Ambient workspace */
body[data-ui-shell="app"].portal-body .portal-workspace,
body[data-ui-shell="app"].portal-body .portal-workspace {
  position: relative;
  
}
body[data-ui-shell="app"].portal-body .portal-workspace::before,
body[data-ui-shell="app"].portal-body .portal-workspace::before {
  content: "";
  position: fixed;
  inset: 0 0 0 var(--portal-sidebar-width,232px);
  z-index: 0;
  pointer-events: none;
  opacity: .28;
  
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg,rgba(0,0,0,.85),transparent 68%);
  mask-image: linear-gradient(180deg,rgba(0,0,0,.85),transparent 68%);
}
body[data-ui-shell="app"].portal-body .portal-workspace > * { position: relative; z-index: 1; }
body[data-ui-shell="app"] .portal-workspace .app-main {
  width: min(100%, 1760px);
  padding-top: clamp(22px,2vw,34px);
}

/* Heroic navigation shell */
body[data-ui-shell="app"].portal-body .portal-sidebar {
  
  
  
}
body[data-ui-shell="app"].portal-body .portal-sidebar::before {
  opacity: .30;
  background-size: 52px 52px;
}
body[data-ui-shell="app"].portal-body .portal-brand {
  min-height: 86px;
  padding: 16px 16px 15px;
  gap: 12px;
  
  
}
body[data-ui-shell="app"] .portal-brand-mark.portal-brand-mark-hero,
body[data-ui-shell="app"] .login-brand .portal-brand-mark.portal-brand-mark-hero {
  width: 48px;
  height: 42px;
  flex: 0 0 48px;
}
body[data-ui-shell="app"] .portal-brand-mark.portal-brand-mark-hero::before,
body[data-ui-shell="app"] .login-brand .portal-brand-mark.portal-brand-mark-hero::before {
  inset: -5px -10px -7px;
  
  filter: blur(10px);
}
body[data-ui-shell="app"] .portal-brand-mark.portal-brand-mark-hero img,
body[data-ui-shell="app"] .login-brand .portal-brand-mark.portal-brand-mark-hero img {
  filter: drop-shadow(0 0 10px rgba(70,153,255,.36)) drop-shadow(0 8px 12px rgba(0,31,89,.36));
}
body[data-ui-shell="app"].portal-body .portal-brand > span:last-child strong {
  
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .165em;
  
}
body[data-ui-shell="app"].portal-body .portal-brand > span:last-child small {
  
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .205em;
}
body[data-ui-shell="app"].portal-body .portal-nav-group > span {
  
  font-weight: 800;
}
body[data-ui-shell="app"].portal-body .portal-nav a,
body[data-ui-shell="app"].portal-body .portal-nav-featured a {
  
  
  
}
body[data-ui-shell="app"].portal-body .portal-nav a .nav-icon,
body[data-ui-shell="app"].portal-body .portal-nav-featured a .nav-icon {
  
  
  
}
body[data-ui-shell="app"].portal-body .portal-nav a:hover,
body[data-ui-shell="app"].portal-body .portal-nav-featured a:hover {
  
  
  
}
body[data-ui-shell="app"].portal-body .portal-nav a.active,
body[data-ui-shell="app"].portal-body .portal-nav-featured a.active {
  
  
  
}
body[data-ui-shell="app"].portal-body .portal-nav a.active::before,
body[data-ui-shell="app"].portal-body .portal-nav-featured a.active::before {
  top: 7px;
  bottom: 7px;
  width: 3px;
  
  
}
body[data-ui-shell="app"].portal-body .portal-nav a.active .nav-icon,
body[data-ui-shell="app"].portal-body .portal-nav-featured a.active .nav-icon {
  
  
  
  
}
body[data-ui-shell="app"].portal-body .portal-sidebar-status {
  
  
}
body[data-ui-shell="app"].portal-body .portal-sidebar-status > span {  }
body[data-ui-shell="app"].portal-body .portal-sidebar-status .status-dot {  }
body[data-ui-shell="app"].portal-body .portal-sidebar-foot > small {  }

/* Glass top bar */
body[data-ui-shell="app"].portal-body .portal-topbar,
body[data-ui-shell="app"].portal-body .portal-topbar {
  min-height: 70px;
  
  
  
  
  backdrop-filter: blur(24px) saturate(1.18);
}
body[data-ui-shell="app"].portal-body .portal-topbar-context > strong,
body[data-ui-shell="app"].portal-body .portal-topbar-context > strong {  }
body[data-ui-shell="app"].portal-body .portal-topbar-context > small,
body[data-ui-shell="app"].portal-body .portal-topbar-context > small {  }
body[data-ui-shell="app"].portal-body .topbar-icon-action,
body[data-ui-shell="app"].portal-body .topbar-command-button,
body[data-ui-shell="app"].portal-body .automation-bell,
body[data-ui-shell="app"].portal-body .topbar-icon-action,
body[data-ui-shell="app"].portal-body .topbar-command-button,
body[data-ui-shell="app"].portal-body .automation-bell {
  
  
  
  
}
body[data-ui-shell="app"].portal-body .topbar-icon-action:hover,
body[data-ui-shell="app"].portal-body .topbar-command-button:hover,
body[data-ui-shell="app"].portal-body .automation-bell:hover,
body[data-ui-shell="app"].portal-body .topbar-icon-action:hover,
body[data-ui-shell="app"].portal-body .topbar-command-button:hover,
body[data-ui-shell="app"].portal-body .automation-bell:hover {
  
  
  
}
body[data-ui-shell="app"].portal-body .topbar-command-button kbd,
body[data-ui-shell="app"].portal-body .topbar-command-button kbd {
  
  
  
}
body[data-ui-shell="app"].portal-body .topbar-global-search input,
body[data-ui-shell="app"].portal-body .topbar-global-search input {
  
  
  
  
}
body[data-ui-shell="app"].portal-body .topbar-global-search input::placeholder {  }
body[data-ui-shell="app"].portal-body .topbar-global-search input:focus,
body[data-ui-shell="app"].portal-body .topbar-global-search input:focus {
  
  
  
}
body[data-ui-shell="app"].portal-body .portal-admin,
body[data-ui-shell="app"].portal-body .portal-admin {  }
body[data-ui-shell="app"].portal-body .portal-admin strong,
body[data-ui-shell="app"].portal-body .portal-admin strong {  }
body[data-ui-shell="app"].portal-body .portal-admin small,
body[data-ui-shell="app"].portal-body .portal-admin small {  }
body[data-ui-shell="app"].portal-body .portal-admin .avatar,
body[data-ui-shell="app"].portal-body .portal-admin .avatar {
  
  
  
  
}
body[data-ui-shell="app"].portal-body .logout-button,
body[data-ui-shell="app"].portal-body .logout-button {
  
  
  
}

/* Page typography */
body[data-ui-shell="app"] .ui-scope :is(.page-heading,.ui-page-header) h1,
body[data-ui-shell="app"] .ui-scope :is(.page-heading,.ui-page-header) h2,
body[data-ui-shell="app"] .ui-scope .dashboard-heading h1,
body[data-ui-shell="app"] .ui-scope .dashboard-heading h2 {
  
  font-weight: 800;
  letter-spacing: -.045em;
  
}
body[data-ui-shell="app"] .ui-scope :is(.page-heading,.ui-page-header) p {  }
body[data-ui-shell="app"] .ui-scope :is(h3,h4,strong) {  }

/* Canonical surfaces */
body[data-ui-shell="app"] .ui-scope :is(.surface,.card,.ui-card,.ui-section,.table-wrap,.table-surface,.table-scroll,.panel) {
  
  
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.surface,.card,.ui-card,.ui-section):hover {
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.section-heading,.panel-heading,.ui-section-header) {
  
}
body[data-ui-shell="app"] .ui-scope :is(.section-heading,.panel-heading,.ui-section-header) h2,
body[data-ui-shell="app"] .ui-scope :is(.section-heading,.panel-heading,.ui-section-header) h3 {  }
body[data-ui-shell="app"] .ui-scope :is(.section-heading,.panel-heading,.ui-section-header) p {  }
body[data-ui-shell="app"] .ui-scope .ui-section > .ui-section-header,
body[data-ui-shell="app"] .ui-scope .ui-section > .section-heading {  }
body[data-ui-shell="app"] .ui-scope .ui-action-bar,
body[data-ui-shell="app"] .ui-scope .sticky-actions {
  
  
  backdrop-filter: blur(18px);
}

/* Buttons and icon actions */
body[data-ui-shell="app"] .ui-scope .button,
body[data-ui-shell="app"] .ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out),
body[data-ui-shell="app"] .ui-scope .icon-button {
  
  
  
  
}
body[data-ui-shell="app"] .ui-scope .button:hover,
body[data-ui-shell="app"] .ui-scope button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):hover,
body[data-ui-shell="app"] .ui-scope .icon-button:hover {
  
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.button.primary,button.primary,.primary) {
  
  
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.button.primary,button.primary,.primary):hover {
  
  
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.button.danger,button.danger,.danger) {
  
  
  
}
body[data-ui-shell="app"] .ui-scope .danger.ghost {
  
  
  
}
body[data-ui-shell="app"] .ui-scope :focus-visible,
body[data-ui-shell="app"].portal-body :focus-visible {
  
  outline-offset: 2px;
}

/* Forms */
body[data-ui-shell="app"] .portal-workspace input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
body[data-ui-shell="app"] .portal-workspace select,
body[data-ui-shell="app"] .portal-workspace textarea,
body[data-ui-shell="app"] .ui-scope input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
body[data-ui-shell="app"] .ui-scope select,
body[data-ui-shell="app"] .ui-scope textarea {
  
  
  
  
}
body[data-ui-shell="app"] .portal-workspace input::placeholder,
body[data-ui-shell="app"] .ui-scope input::placeholder,
body[data-ui-shell="app"] .portal-workspace textarea::placeholder {  }
body[data-ui-shell="app"] .portal-workspace input:focus,
body[data-ui-shell="app"] .portal-workspace select:focus,
body[data-ui-shell="app"] .portal-workspace textarea:focus,
body[data-ui-shell="app"] .ui-scope input:focus,
body[data-ui-shell="app"] .ui-scope select:focus,
body[data-ui-shell="app"] .ui-scope textarea:focus {
  
  
  
}
body[data-ui-shell="app"] .portal-workspace input:disabled,
body[data-ui-shell="app"] .portal-workspace select:disabled,
body[data-ui-shell="app"] .portal-workspace textarea:disabled {   }
body[data-ui-shell="app"] .ui-scope :is(.ui-field>span,.field-label,.form-grid label>span,.billing-form-grid label>span,.manual-line-grid label>span) {  }
body[data-ui-shell="app"] .portal-workspace form label:not(.toggle-row):not(.checkbox-line):not(.option-card):not(.port-choice):not(.segmented-control) > span:first-child {  }
body[data-ui-shell="app"] .ui-scope :is(.option-card,.option-panel,.form-section-title,.filter-bar,.interface-facts) {
  
  
}
body[data-ui-shell="app"] .ui-scope .form-section-title {  }
body[data-ui-shell="app"] .ui-scope .form-section-title > span {   }

/* Status language */
body[data-ui-shell="app"] .ui-scope .badge,
body[data-ui-shell="app"] .ui-scope .status-pill {
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.badge.good,.status-pill.active,.status-pill.good) {    }
body[data-ui-shell="app"] .ui-scope :is(.badge.warning,.status-pill.warning) {    }
body[data-ui-shell="app"] .ui-scope :is(.badge.danger-badge,.status-pill.danger,.status-pill.failed) {    }
body[data-ui-shell="app"] .ui-scope :is(.badge.neutral,.status-pill.neutral) {    }
body[data-ui-shell="app"] .ui-scope .status-dot.online {  }
body[data-ui-shell="app"] .ui-scope .status-dot.online::before {   }
body[data-ui-shell="app"] .ui-scope .status-dot.offline {  }

/* Notices */
body[data-ui-shell="app"] .ui-scope .notice {
  
  
  
  
}
body[data-ui-shell="app"] .ui-scope .notice.subtle {    }
body[data-ui-shell="app"] .ui-scope .notice.success {    }
body[data-ui-shell="app"] .ui-scope .notice.warning {    }
body[data-ui-shell="app"] .ui-scope .notice.error,
body[data-ui-shell="app"] .ui-scope .notice.danger {    }

/* Tables */
body[data-ui-shell="app"] .ui-scope .data-table-toolbar {
  
  
}
body[data-ui-shell="app"] .ui-scope .data-table-search input {  }
body[data-ui-shell="app"] .ui-scope :is(.table-wrap,.table-surface,.table-scroll) {  }
body[data-ui-shell="app"] .ui-scope table th {
  
  
  
}
body[data-ui-shell="app"] .ui-scope table td {
  
  
  
}
body[data-ui-shell="app"] .ui-scope table tbody tr:hover,
body[data-ui-shell="app"] .ui-scope table tbody tr:hover td {  }
body[data-ui-shell="app"] .ui-scope table a {  }
body[data-ui-shell="app"] .ui-scope .data-table-column-menu,
body[data-ui-shell="app"] .ui-scope .action-menu-floating,
body[data-ui-shell="app"] .ui-scope .inventory-action-menu > nav,
body[data-ui-shell="app"] .ui-scope .service-action-menu > nav {
  
  
  
  
  backdrop-filter: blur(20px);
}
body[data-ui-shell="app"] .ui-scope :is(.data-table-column-menu,.action-menu-floating,.inventory-action-menu>nav,.service-action-menu>nav) :is(a,label,button):hover {   }

/* Metrics, quick actions and generic content rows */
body[data-ui-shell="app"] .ui-scope :is(.metric-card,.ui-stat,.dashboard-kpis article,.compact-metrics>div,.billing-metric,.supplier-status-metric,.automation-attention-card) {
  
  
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.metric-card,.ui-stat,.dashboard-kpis article) :is(span,small) {  }
body[data-ui-shell="app"] .ui-scope :is(.metric-card,.ui-stat,.dashboard-kpis article) strong {  }
body[data-ui-shell="app"] .ui-scope .dashboard-quick-action {
  
  
  
}
body[data-ui-shell="app"] .ui-scope .dashboard-quick-action:hover {   }
body[data-ui-shell="app"] .ui-scope .dashboard-quick-action.primary-action {   }
body[data-ui-shell="app"] .ui-scope .dashboard-quick-icon,
body[data-ui-shell="app"] .ui-scope .dashboard-kpi-icon,
body[data-ui-shell="app"] .ui-scope .billing-control-icon,
body[data-ui-shell="app"] .ui-scope .panel-heading-icon {    }
body[data-ui-shell="app"] .ui-scope :is(.resource-list article,.customer-activity-event,.ui-activity-row,.attention-list>a,.customer-footprint-location-card,.billing-service-row,.peering-request-group,.sflow-enabled-port) {
  
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.resource-list article,.attention-list>a,.ui-activity-row,.customer-footprint-location-card):hover {   }

/* Service and inventory surfaces */
body[data-ui-shell="app"] .ui-scope .service-inventory-header,
body[data-ui-shell="app"] .ui-scope .service-identity-panel > div,
body[data-ui-shell="app"] .ui-scope .service-chip,
body[data-ui-shell="app"] .ui-scope .device-facts > div,
body[data-ui-shell="app"] .ui-scope .compact-definition div,
body[data-ui-shell="app"] .ui-scope .inventory-panel,
body[data-ui-shell="app"] .ui-scope .port-card,
body[data-ui-shell="app"] .ui-scope .billing-control-card,
body[data-ui-shell="app"] .ui-scope .manual-invoice-line,
body[data-ui-shell="app"] .ui-scope .billing-activation-box,
body[data-ui-shell="app"] .ui-scope .peering-settings-summary,
body[data-ui-shell="app"] .ui-scope .sflow-scope-note {
  
  
  
}
body[data-ui-shell="app"] .ui-scope .service-overview-location {  }
body[data-ui-shell="app"] .ui-scope .service-type.bgp {   }
body[data-ui-shell="app"] .ui-scope .service-type.dia {   }
body[data-ui-shell="app"] .ui-scope .service-type.l2vpn {   }
body[data-ui-shell="app"] .ui-scope .service-type.ix {   }

/* Device cards retain realistic hardware but sit in the new dark context. */
body[data-ui-shell="app"] .ui-scope .device-country-heading {  }
body[data-ui-shell="app"] .ui-scope .device-country-heading h3 {  }
body[data-ui-shell="app"] .ui-scope .device-country-count {  }
body[data-ui-shell="app"] .ui-scope .device-card {
  
  
  
}
body[data-ui-shell="app"] .ui-scope .device-card:hover {   }
body[data-ui-shell="app"] .ui-scope .device-card-head h3 a {  }
body[data-ui-shell="app"] .ui-scope .device-visual-wrap {
  
  
  
}
body[data-ui-shell="app"] .ui-scope .device-fact-icon {   }
body[data-ui-shell="app"] .ui-scope .device-facts dt {  }
body[data-ui-shell="app"] .ui-scope .device-facts dd {  }
body[data-ui-shell="app"] .ui-scope :is(.device-hardware-panel,.device-stencil) {  }

/* Racks, infrastructure and IPAM */
body[data-ui-shell="app"] .ui-scope :is(.rack-summary-grid>article,.rack-gallery-shell,.rack-visual-card,.rack-card-header,.rack-management,.rack-resource-columns>section,.rack-mount-disclosure,.dc-rack-inventory,.dc-rack-inventory-head,.dc-integrated-room-body,.dc-integrated-rack,.ipam-pool) {
  
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.rack-gallery-grid,.rack-management-body,.rack-visual-mount-form) {  }
body[data-ui-shell="app"] .ui-scope :is(.dc-integrated-room,.dc-integrated-rack)[open] > summary {   }
body[data-ui-shell="app"] .ui-scope .utilization-row {    }
body[data-ui-shell="app"] .ui-scope .utilization-track {  }
body[data-ui-shell="app"] .ui-scope .utilization-track span {   }
body[data-ui-shell="app"] .ui-scope .ipam-prefix {  }

/* Peering, supplier and billing refinement */
body[data-ui-shell="app"] .ui-scope :is(.peering-control-card,.peering-recent-requests,.peering-intelligence-bar,.peering-proposals-surface,.peering-exchanges-surface,.supplier-cost-share-panel,.supplier-status-panel,.partner-overview-card,.billing-control-panel,.billing-ledger-panel,.billing-service-disclosure) {
  
}
body[data-ui-shell="app"] .ui-scope :is(.peering-template-fields,.peering-settings-inline,.billing-disclosure-body,.billing-control-layout,.billing-form-grid,.manual-invoice-line-list) {  }
body[data-ui-shell="app"] .ui-scope .traffic-donut-track {  }
body[data-ui-shell="app"] .ui-scope .traffic-share-row {  }

/* Dashboard topology / maps */
body[data-ui-shell="app"] .ui-scope :is(.dashboard-map-shell,.dashboard-table-panel,.dashboard-network-pulse,.attention-card) {  }
body[data-ui-shell="app"] .ui-scope :is(.dashboard-map-head,.map-detail-panel,.map-topology-summary) {   }
body[data-ui-shell="app"] .ui-scope .dashboard-link-pulse {
  
  
  
}
body[data-ui-shell="app"] .ui-scope .dashboard-link-pulse:hover {  }
body[data-ui-shell="app"] .ui-scope .leaflet-tile-pane {  }
body[data-ui-shell="app"] .ui-scope .leaflet-control,
body[data-ui-shell="app"] .ui-scope .leaflet-popup-content-wrapper,
body[data-ui-shell="app"] .ui-scope .leaflet-popup-tip {    }

/* Monitoring gauges */
body[data-ui-shell="app"] .ui-scope :is(.monitoring-legend,.monitoring-section,.monitor-gauge-card,.monitor-direction,.monitor-gauge-foot,.monitor-member-list>div) {
  
  
  
}
body[data-ui-shell="app"] .ui-scope .monitor-gauge-card {  }
body[data-ui-shell="app"] .ui-scope .gauge-track {  }
body[data-ui-shell="app"] .ui-scope .gauge-needle.rx {   }
body[data-ui-shell="app"] .ui-scope .gauge-needle.tx {   }
body[data-ui-shell="app"] .ui-scope .gauge-hub {  }
body[data-ui-shell="app"] .ui-scope .gauge-scale-label,
body[data-ui-shell="app"] .ui-scope .gauge-threshold-label {  }

/* Modern bandwidth telemetry — dark editorial chart surface. */
body[data-ui-shell="app"] .telemetry-graph-shell.telemetry-graph-modern {
  overflow: hidden;
  
  border-radius: 17px;
  
  
}
body[data-ui-shell="app"] .telemetry-summary-strip {
  
  
}
body[data-ui-shell="app"] .telemetry-summary-card {
  
  
}
body[data-ui-shell="app"] .telemetry-summary-card > span,
body[data-ui-shell="app"] .telemetry-summary-card > small {  }
body[data-ui-shell="app"] .telemetry-summary-card > strong {  }
body[data-ui-shell="app"] .telemetry-summary-card.in {  }
body[data-ui-shell="app"] .telemetry-summary-card.out {  }
body[data-ui-shell="app"] .telemetry-graph-canvas {
  min-height: 390px;
  
}
body[data-ui-shell="app"] .telemetry-grid-y {  }
body[data-ui-shell="app"] .telemetry-grid-y.zero {  }
body[data-ui-shell="app"] .telemetry-axis-tick {  }
body[data-ui-shell="app"] .telemetry-axis-y,
body[data-ui-shell="app"] .telemetry-axis-x {  }
body[data-ui-shell="app"] .telemetry-line.in.modern {   }
body[data-ui-shell="app"] .telemetry-line.out.modern {   }
body[data-ui-shell="app"] .telemetry-p95.in.modern {  opacity: .48; }
body[data-ui-shell="app"] .telemetry-p95.out.modern {  opacity: .43; }
body[data-ui-shell="app"] .telemetry-hover-line {  opacity: .65; }
body[data-ui-shell="app"] .telemetry-hover-dot {  }
body[data-ui-shell="app"] .telemetry-hover-dot.in {  }
body[data-ui-shell="app"] .telemetry-hover-dot.out {  }
body[data-ui-shell="app"] .telemetry-hover-tooltip {
  
  
  
  
}
body[data-ui-shell="app"] .telemetry-hover-tooltip > strong {   }
body[data-ui-shell="app"] .telemetry-hover-tooltip em {  }
body[data-ui-shell="app"] .telemetry-hover-tooltip b {  }
body[data-ui-shell="app"] .traffic-key.in {   }
body[data-ui-shell="app"] .traffic-key.out {   }
body[data-ui-shell="app"] .telemetry-legend-row {
  
  
  
}
body[data-ui-shell="app"] .telemetry-graph-footer {
  
  
  
}
body[data-ui-shell="app"] .telemetry-graph-footer strong {  }
body[data-ui-shell="app"] .ui-scope .range-buttons {
  
  
  
}
body[data-ui-shell="app"] .ui-scope .range-buttons .button,
body[data-ui-shell="app"] .ui-scope .range-buttons a.button {     }
body[data-ui-shell="app"] .ui-scope .range-buttons .button:hover,
body[data-ui-shell="app"] .ui-scope .range-buttons a.button:hover {   }
body[data-ui-shell="app"] .ui-scope .range-buttons .button.primary,
body[data-ui-shell="app"] .ui-scope .range-buttons a.button.primary {
  
  
  
}

/* Legacy bandwidth chart fallback gets the same language. */
body[data-ui-shell="app"] .ui-scope .bandwidth-chart {
  
  
}
body[data-ui-shell="app"] .ui-scope .grid-line {  }
body[data-ui-shell="app"] .ui-scope .traffic-line.rx {  }
body[data-ui-shell="app"] .ui-scope .traffic-line.tx {  }
body[data-ui-shell="app"] .ui-scope .chart-y,
body[data-ui-shell="app"] .ui-scope .chart-legend {  }

/* Customer portal and account hero */
body[data-ui-shell="app"][data-portal-mode="customer"] .customer-account-hero {
  border-color: rgba(120,169,219,.20);
  background:
    radial-gradient(circle at 100% 0%,rgba(61,139,255,.18),transparent 22rem),
    linear-gradient(135deg,var(--surface-2),var(--surface-base));
  box-shadow: 0 22px 58px rgba(0,4,14,.22);
}
body[data-ui-shell="app"][data-portal-mode="customer"] .customer-account-avatar {
  border-color: rgba(116,179,242,.30);
  background: linear-gradient(145deg,#1f5aae,#15376b);
  color: var(--text-on-accent);
  box-shadow: 0 10px 28px rgba(22,92,204,.24),0 0 25px rgba(51,137,255,.07);
}
body[data-ui-shell="app"] .assume-customer-banner {
  
  
  
}

/* Command palette / modal / overlays */
body[data-ui-shell="app"] :is(.command-palette,.modal,.dialog,.popover,.dropdown-menu) {
  
  
  
  
  backdrop-filter: blur(22px);
}
body[data-ui-shell="app"] .command-palette-backdrop { background: var(--surface-sunken); backdrop-filter: blur(7px); }

/* Scrollbars */
body[data-ui-shell="app"] * { scrollbar-color: rgba(83,126,169,.48) rgba(4,18,35,.42); }
body[data-ui-shell="app"] *::-webkit-scrollbar { width: 10px; height: 10px; }
body[data-ui-shell="app"] *::-webkit-scrollbar-track { background: var(--surface-inset); }
body[data-ui-shell="app"] *::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgba(83,126,169,.48); background-clip: padding-box; }
body[data-ui-shell="app"] *::-webkit-scrollbar-thumb:hover { background: var(--accent); background-clip: padding-box; }

/* Authentication receives the same brand system instead of a separate light UI. */
body.login-body[data-ui-shell="app"] {
  min-height: 100vh;
  
  
}
body.login-body[data-ui-shell="app"]::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .31;
  
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%,#000,transparent 76%);
  mask-image: radial-gradient(circle at 50% 40%,#000,transparent 76%);
}
body.login-body[data-ui-shell="app"] .login-panel {
  
  
  
  
  backdrop-filter: blur(24px);
}
body.login-body[data-ui-shell="app"] .login-brand strong {  letter-spacing: .17em; }
body.login-body[data-ui-shell="app"] .login-brand small {  }
body.login-body[data-ui-shell="app"] .login-heading :is(h1,h2,h3) {  }
body.login-body[data-ui-shell="app"] .login-heading p {  }
body.login-body[data-ui-shell="app"] .login-panel input,
body.login-body[data-ui-shell="app"] .login-panel select,
body.login-body[data-ui-shell="app"] .login-panel textarea {
  
  
  
}
body.login-body[data-ui-shell="app"] .login-panel label > span {  }
body.login-body[data-ui-shell="app"] .login-panel .button {    }
body.login-body[data-ui-shell="app"] .login-panel .button.primary {     }

/* Large displays: the heroic shell should feel intentional rather than tiny. */
@media (min-width: 1800px) {
  body[data-ui-shell="app"].portal-body .portal-topbar { min-height: 78px; }
  body[data-ui-shell="app"].portal-body .portal-topbar-context > strong { font-size: 14.5px; }
  body[data-ui-shell="app"].portal-body .portal-topbar-context > small { font-size: 10.75px; }
  body[data-ui-shell="app"].portal-body .portal-brand { min-height: 96px; }
  body[data-ui-shell="app"] .portal-brand-mark.portal-brand-mark-hero { width: 54px; height: 47px; flex-basis: 54px; }
  body[data-ui-shell="app"].portal-body .portal-brand > span:last-child strong { font-size: 22px; }
  body[data-ui-shell="app"].portal-body .portal-nav a,
  body[data-ui-shell="app"].portal-body .portal-nav-featured a { font-size: 13.75px; }
  body[data-ui-shell="app"] .telemetry-graph-canvas { height: 445px; }
}
@media (min-width: 2500px) {
  body[data-ui-shell="app"].portal-body .portal-topbar { min-height: 84px; }
  body[data-ui-shell="app"].portal-body .portal-brand { min-height: 104px; }
  body[data-ui-shell="app"] .portal-brand-mark.portal-brand-mark-hero { width: 58px; height: 51px; flex-basis: 58px; }
  body[data-ui-shell="app"].portal-body .portal-brand > span:last-child strong { font-size: 24px; }
  body[data-ui-shell="app"].portal-body .portal-nav a,
  body[data-ui-shell="app"].portal-body .portal-nav-featured a { font-size: 14.75px; }
  body[data-ui-shell="app"] .telemetry-graph-canvas { height: 500px; }
}

/* Mobile keeps the same aesthetic without sacrificing usable hit targets. */
@media (max-width: 900px) {
  body[data-ui-shell="app"].portal-body .portal-workspace::before { left: 0; }
  body[data-ui-shell="app"].portal-body .portal-sidebar {  }
  body[data-ui-shell="app"].portal-body .portal-topbar { min-height: 62px; }
  body[data-ui-shell="app"] .telemetry-graph-canvas { min-height: 300px; }
}

/* Print remains paper-safe even though the application is dark by default. */
@media print {
  body[data-ui-shell="app"],
  body[data-ui-shell="app"].portal-body .portal-workspace { color: #172033; background: var(--surface-1); }
  body[data-ui-shell="app"].portal-body .portal-sidebar,
  body[data-ui-shell="app"].portal-body .portal-topbar,
  body[data-ui-shell="app"].portal-body .portal-workspace::before { display: none !important; }
  body[data-ui-shell="app"] .portal-workspace .app-main { width: 100% !important; max-width: none !important; padding: 0 !important; }
  body[data-ui-shell="app"] .ui-scope :is(.surface,.card,.ui-card,.ui-section,.table-wrap,.table-surface,.table-scroll,.panel,.metric-card,.ui-stat) { border-color: var(--border-subtle); background: var(--surface-1); color: #172033; box-shadow: none; }
  body[data-ui-shell="app"] .ui-scope :is(h1,h2,h3,h4,strong,td) { color: #172033; }
  body[data-ui-shell="app"] .ui-scope :is(.muted,.row-note,p,small,span) { color: var(--text-subtle); }
  body[data-ui-shell="app"] .ui-scope table th { background: var(--surface-1); color: var(--text-faint); }
}

/* ========================================================================== */
/* v10.47.33 — Heroic Dashboard fidelity pass                                */
/* The dashboard is the first screen rebuilt to the actual UI 4 mockup bar.  */
/* ========================================================================== */
body[data-ui-shell="app"] .hero-dashboard {
  --hero-blue:var(--accent);
  --hero-cyan:var(--data-2);
  --hero-violet:var(--data-6);
  --hero-green:var(--success);
  --hero-amber:var(--warning);
  --hero-red:var(--danger);
  --hero-line:var(--border);
  --hero-line-strong:var(--border-strong);
  --hero-panel:linear-gradient(155deg,var(--surface-1),var(--surface-base));
  width:min(100%,1840px);
  margin:0 auto;
  padding:4px 0 36px;
  
}
body[data-ui-shell="app"] .hero-dashboard :is(h1,h2,h3,strong,b){}
body[data-ui-shell="app"] .hero-dashboard .eyebrow{letter-spacing:.16em;font-size:9px;font-weight:800;}
body[data-ui-shell="app"] .hero-dashboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:2px 0 18px}
body[data-ui-shell="app"] .hero-dashboard-title h1{margin:5px 0 4px;font-size:clamp(25px,2.1vw,36px);line-height:1.04;letter-spacing:-.045em}
body[data-ui-shell="app"] .hero-dashboard-title p{margin:0;font-size:11.5px;}

body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-actions{display:flex;grid-template-columns:none;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action{display:flex;grid-template-columns:none;align-items:center;gap:8px;min-height:42px;padding:7px 11px;border-radius:10px;transform:none;}
body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action:hover{transform:translateY(-1px);}
body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action .dashboard-quick-icon{width:27px;height:27px;border-radius:8px;}
body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action .dashboard-quick-icon .ui-icon{width:14px;height:14px}
body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action strong{font-size:10.5px;line-height:1.1}
body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action small{margin-top:2px;font-size:8px;}
body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action.primary-action{}
body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action.primary-action .dashboard-quick-icon{}
body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action.primary-action small{}

body[data-ui-shell="app"] .hero-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
body[data-ui-shell="app"] .hero-kpi-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;min-height:104px;padding:15px 16px;overflow:hidden;border-radius:14px;}
body[data-ui-shell="app"] .hero-kpi-card::before{content:"";position:absolute;inset:0 auto 0 0;width:2px;opacity:.75;}
body[data-ui-shell="app"] .hero-kpi-card::after{content:"";position:absolute;right:-45px;top:-55px;width:150px;height:150px;border-radius:50%;pointer-events:none;}
body[data-ui-shell="app"] .hero-kpi-card .dashboard-kpi-icon{width:42px;height:42px;border-radius:11px;}
body[data-ui-shell="app"] .hero-kpi-card .dashboard-kpi-icon .ui-icon{width:18px;height:18px}
body[data-ui-shell="app"] .hero-kpi-copy{min-width:0}
body[data-ui-shell="app"] .hero-kpi-copy>span{display:block;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;}
body[data-ui-shell="app"] .hero-kpi-copy>strong{display:block;margin-top:3px;font-size:23px;line-height:1.08;letter-spacing:-.04em}
body[data-ui-shell="app"] .hero-kpi-copy>small{display:block;margin-top:5px;font-size:8.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body[data-ui-shell="app"] .hero-kpi-spark{position:absolute;right:14px;bottom:13px;display:flex;align-items:flex-end;gap:3px;height:24px;opacity:.5}
body[data-ui-shell="app"] .hero-kpi-spark i{display:block;width:3px;border-radius:9px 9px 2px 2px;}
body[data-ui-shell="app"] .hero-kpi-spark i:nth-child(1){height:25%}body[data-ui-shell="app"] .hero-kpi-spark i:nth-child(2){height:42%}body[data-ui-shell="app"] .hero-kpi-spark i:nth-child(3){height:36%}body[data-ui-shell="app"] .hero-kpi-spark i:nth-child(4){height:63%}body[data-ui-shell="app"] .hero-kpi-spark i:nth-child(5){height:55%}body[data-ui-shell="app"] .hero-kpi-spark i:nth-child(6){height:82%}body[data-ui-shell="app"] .hero-kpi-spark i:nth-child(7){height:100%}
body[data-ui-shell="app"] .hero-kpi-ring{position:absolute;right:15px;bottom:14px;width:39px;height:39px;border-radius:50%;display:grid;place-items:center;}
body[data-ui-shell="app"] .hero-kpi-ring::after{content:"";position:absolute;width:29px;height:29px;border-radius:50%;}
body[data-ui-shell="app"] .hero-kpi-ring span{position:relative;z-index:1;font-size:7.5px;font-weight:800;}
body[data-ui-shell="app"] .hero-live-pill{position:absolute;right:15px;bottom:16px;display:inline-flex;align-items:center;gap:5px;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;}
body[data-ui-shell="app"] .hero-live-pill i{width:6px;height:6px;border-radius:50%;}
body[data-ui-shell="app"] .hero-kpi-progress{position:absolute;left:69px;right:16px;bottom:12px;height:3px;border-radius:999px;overflow:hidden;}
body[data-ui-shell="app"] .hero-kpi-progress span{display:block;height:100%;border-radius:inherit;}

body[data-ui-shell="app"] .hero-dashboard-primary-grid{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(290px,.75fr);gap:12px;margin-bottom:12px}
body[data-ui-shell="app"] .hero-dashboard-secondary-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.72fr) minmax(0,1.08fr);gap:12px;margin-bottom:12px;align-items:stretch}
body[data-ui-shell="app"] .hero-panel{position:relative;min-width:0;overflow:hidden;border-radius:14px;}
body[data-ui-shell="app"] .hero-panel::after{content:"";position:absolute;inset:0;pointer-events:none;}
body[data-ui-shell="app"] .hero-panel-head{position:relative;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-height:59px;padding:14px 16px 10px;}
body[data-ui-shell="app"] .hero-panel-head h2{display:flex;align-items:center;gap:7px;margin:3px 0 0;font-size:15px;letter-spacing:-.025em}
body[data-ui-shell="app"] .hero-panel-head>a,body[data-ui-shell="app"] .hero-panel-head>small{margin-top:11px;font-size:8.5px;font-weight:800;text-decoration:none;}
body[data-ui-shell="app"] .hero-panel-head>a:hover{}
body[data-ui-shell="app"] .hero-period-pill{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:6px;font-size:8px;letter-spacing:.02em;}

body[data-ui-shell="app"] .hero-traffic-now{display:flex;align-items:center;gap:16px;padding-top:3px}
body[data-ui-shell="app"] .hero-traffic-now>span{display:grid;grid-template-columns:7px auto;column-gap:5px;align-items:center}
body[data-ui-shell="app"] .hero-traffic-now i{grid-row:1/3;width:6px;height:6px;border-radius:50%;}
body[data-ui-shell="app"] .hero-traffic-now .out i{}
body[data-ui-shell="app"] .hero-traffic-now small{font-size:7.5px;line-height:1;}
body[data-ui-shell="app"] .hero-traffic-now strong{margin-top:2px;font-size:10.5px;line-height:1.1}
body[data-ui-shell="app"] .hero-chart-wrap{position:relative;height:330px;padding:2px 10px 0;}
body[data-ui-shell="app"] .hero-traffic-svg{display:block;width:100%;height:100%;overflow:visible}
body[data-ui-shell="app"] .hero-chart-grid{stroke-width:1;vector-effect:non-scaling-stroke;}
body[data-ui-shell="app"] .hero-chart-grid.vertical{stroke-opacity:.55}
body[data-ui-shell="app"] .hero-chart-axis{font-size:9px;font-family:ui-sans-serif,system-ui,-apple-system,sans-serif;font-weight:700;}
body[data-ui-shell="app"] .hero-chart-area.in{}body[data-ui-shell="app"] .hero-chart-area.out{}
body[data-ui-shell="app"] .hero-chart-line{stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
body[data-ui-shell="app"] .hero-chart-line.in{}body[data-ui-shell="app"] .hero-chart-line.out{}
body[data-ui-shell="app"] .hero-chart-hover line{stroke-width:1;stroke-dasharray:4 4;vector-effect:non-scaling-stroke;}
body[data-ui-shell="app"] .hero-chart-hover circle{stroke-width:2.5;vector-effect:non-scaling-stroke;}body[data-ui-shell="app"] .hero-chart-hover circle.in{}body[data-ui-shell="app"] .hero-chart-hover circle.out{}
body[data-ui-shell="app"] .hero-chart-tooltip{position:absolute;z-index:5;width:190px;padding:10px 11px;border-radius:10px;backdrop-filter:blur(12px);pointer-events:none;}
body[data-ui-shell="app"] .hero-chart-tooltip>strong{display:block;padding-bottom:7px;margin-bottom:7px;font-size:8.5px;}
body[data-ui-shell="app"] .hero-chart-tooltip>span{display:grid;grid-template-columns:7px 1fr auto;align-items:center;gap:6px;min-height:22px;font-size:8.5px;}
body[data-ui-shell="app"] .hero-chart-tooltip>span i{width:6px;height:6px;border-radius:50%;}body[data-ui-shell="app"] .hero-chart-tooltip>span.out i{}body[data-ui-shell="app"] .hero-chart-tooltip b{font-size:9px}
body[data-ui-shell="app"] .hero-chart-empty{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:7px;text-align:center;}body[data-ui-shell="app"] .hero-chart-empty[hidden]{display:none}body[data-ui-shell="app"] .hero-chart-empty strong{font-size:12px}body[data-ui-shell="app"] .hero-chart-empty small{font-size:9px}
body[data-ui-shell="app"] .hero-chart-foot{display:grid;grid-template-columns:auto auto 1fr;gap:0;}
body[data-ui-shell="app"] .hero-chart-foot>div{min-width:138px;padding:10px 15px;}body[data-ui-shell="app"] .hero-chart-foot span{display:block;font-size:7.5px;text-transform:uppercase;letter-spacing:.05em;}body[data-ui-shell="app"] .hero-chart-foot strong{display:block;margin-top:2px;font-size:10px}
body[data-ui-shell="app"] .hero-chart-foot>a{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:10px 15px;font-size:8.5px;font-weight:800;text-decoration:none;}body[data-ui-shell="app"] .hero-chart-foot>a .ui-icon{width:12px;height:12px}

body[data-ui-shell="app"] .hero-donut-wrap{display:grid;align-content:center;justify-items:center;gap:19px;min-height:322px;padding:18px}
body[data-ui-shell="app"] .hero-donut{position:relative;width:154px;height:154px;border-radius:50%;display:grid;place-items:center;transform:rotate(-90deg);}
body[data-ui-shell="app"] .hero-donut::after{content:"";position:absolute;width:116px;height:116px;border-radius:50%;}
body[data-ui-shell="app"] .hero-donut>div{position:relative;z-index:1;display:grid;text-align:center;transform:rotate(90deg)}body[data-ui-shell="app"] .hero-donut strong{font-size:18px;letter-spacing:-.04em}body[data-ui-shell="app"] .hero-donut span{margin-top:2px;font-size:7.5px;text-transform:uppercase;letter-spacing:.06em;}
body[data-ui-shell="app"] .hero-mix-legend{width:100%;display:grid;gap:6px}
body[data-ui-shell="app"] .hero-mix-legend>div{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:8px;padding:7px 8px;border-radius:8px;}
body[data-ui-shell="app"] .hero-mix-dot{width:7px;height:7px;border-radius:50%;}body[data-ui-shell="app"] .hero-mix-dot.peering{}body[data-ui-shell="app"] .hero-mix-dot.pni{}
body[data-ui-shell="app"] .hero-mix-legend strong,body[data-ui-shell="app"] .hero-mix-legend small{display:block}body[data-ui-shell="app"] .hero-mix-legend strong{font-size:9px}body[data-ui-shell="app"] .hero-mix-legend small{margin-top:2px;font-size:7.5px;}body[data-ui-shell="app"] .hero-mix-legend b{font-size:9px;}
body[data-ui-shell="app"] .hero-panel-link{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:10px 14px;border-top:1px solid rgba(115,164,214,.10);font-size:8.5px;font-weight:800;text-decoration:none;}body[data-ui-shell="app"] .hero-panel-link .ui-icon{width:12px;height:12px}

body[data-ui-shell="app"] .hero-upstream-list{display:grid;padding:5px 10px 9px}
body[data-ui-shell="app"] .hero-upstream-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto 86px 36px;align-items:center;gap:9px;min-height:48px;padding:6px;text-decoration:none;border-radius:8px;transition:background .14s ease;}body[data-ui-shell="app"] .hero-upstream-row:last-child{}body[data-ui-shell="app"] .hero-upstream-row:hover{}
body[data-ui-shell="app"] .hero-provider-mark{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;font-size:11px;font-weight:800;}body[data-ui-shell="app"] .hero-provider-mark.peering{}body[data-ui-shell="app"] .hero-provider-mark.pni{}
body[data-ui-shell="app"] .hero-provider-copy{min-width:0}body[data-ui-shell="app"] .hero-provider-copy strong,body[data-ui-shell="app"] .hero-provider-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-ui-shell="app"] .hero-provider-copy strong{font-size:9.5px}body[data-ui-shell="app"] .hero-provider-copy small{margin-top:2px;font-size:7.5px;}
body[data-ui-shell="app"] .hero-provider-rate{text-align:right}body[data-ui-shell="app"] .hero-provider-rate strong{display:block;font-size:9px}body[data-ui-shell="app"] .hero-provider-rate small{display:block;margin-top:2px;font-size:7px;}
body[data-ui-shell="app"] .hero-util-bar{height:4px;border-radius:999px;overflow:hidden;}body[data-ui-shell="app"] .hero-util-bar i{display:block;height:100%;border-radius:inherit;}body[data-ui-shell="app"] .hero-upstream-row>b{font-size:8px;text-align:right;}
body[data-ui-shell="app"] .hero-visual-empty{display:grid;place-items:center;min-height:120px;font-size:9px;text-align:center;}

body[data-ui-shell="app"] .hero-health-state{display:inline-flex;align-items:center;gap:5px;margin-top:10px;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;}body[data-ui-shell="app"] .hero-health-state i{width:6px;height:6px;border-radius:50%;}body[data-ui-shell="app"] .hero-health-state.warning{}body[data-ui-shell="app"] .hero-health-state.warning i{}
body[data-ui-shell="app"] .hero-health-score{display:grid;place-items:center;padding:13px 0 8px}
body[data-ui-shell="app"] .hero-health-orbit{position:relative;width:112px;height:112px;border-radius:50%;display:grid;place-items:center;align-content:center;}body[data-ui-shell="app"] .hero-health-orbit::before{content:"";position:absolute;inset:8px;border-radius:50%;}body[data-ui-shell="app"] .hero-health-orbit::after{content:"";position:absolute;inset:-7px;border-radius:50%;}
body[data-ui-shell="app"] .hero-health-orbit strong,body[data-ui-shell="app"] .hero-health-orbit span{position:relative;z-index:1}body[data-ui-shell="app"] .hero-health-orbit strong{font-size:23px;letter-spacing:-.04em}body[data-ui-shell="app"] .hero-health-orbit span{font-size:7px;text-transform:uppercase;letter-spacing:.08em;}
body[data-ui-shell="app"] .hero-health-list{display:grid;padding:2px 12px 12px}
body[data-ui-shell="app"] .hero-health-list>a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;padding:7px 5px;text-decoration:none;border-bottom:1px solid rgba(113,162,211,.07);}body[data-ui-shell="app"] .hero-health-list>a:last-child{border-bottom:0}body[data-ui-shell="app"] .hero-health-list>a>span{display:flex;align-items:center;gap:7px;font-size:8px;font-weight:700}body[data-ui-shell="app"] .hero-health-list>a>span .ui-icon{width:12px;height:12px;}body[data-ui-shell="app"] .hero-health-list>a>strong{font-size:8.5px}body[data-ui-shell="app"] .hero-health-list>a>i{grid-column:1/-1;height:3px;border-radius:999px;overflow:hidden;}body[data-ui-shell="app"] .hero-health-list>a>i b{display:block;height:100%;border-radius:inherit;}body[data-ui-shell="app"] .hero-health-list>a>i.attention b{}

body[data-ui-shell="app"] .hero-map-stage{position:relative;height:212px;overflow:hidden;}
body[data-ui-shell="app"] .hero-map-stage .network-map{height:100%;min-height:0;border-radius:0;}
body[data-ui-shell="app"] .hero-map-panel .leaflet-tile-pane{}
body[data-ui-shell="app"] .hero-map-panel .leaflet-map-pane{}
body[data-ui-shell="app"] .hero-map-panel .leaflet-control-zoom a{}body[data-ui-shell="app"] .hero-map-panel .leaflet-control-attribution{font-size:6px;}body[data-ui-shell="app"] .hero-map-panel .leaflet-control-attribution a{}
body[data-ui-shell="app"] .hero-backbone-line{filter:drop-shadow(0 0 3px rgba(54,145,255,.65))}
body[data-ui-shell="app"] .hero-dc-marker-wrap{background:transparent;border:0}
body[data-ui-shell="app"] .hero-dc-marker{display:flex;align-items:center;gap:5px;height:27px;padding:0 7px;border-radius:8px;white-space:nowrap;}body[data-ui-shell="app"] .hero-dc-marker strong{font:800 7.5px ui-monospace,SFMono-Regular,Menlo,monospace}body[data-ui-shell="app"] .hero-dc-marker .map-inline-flag{width:18px;height:12px;border-radius:2px;}
body[data-ui-shell="app"] .hero-map-overlay{position:absolute;left:10px;top:10px;z-index:500;display:flex;gap:5px;padding:5px;border-radius:9px;backdrop-filter:blur(9px);}body[data-ui-shell="app"] .hero-map-overlay>span{min-width:50px;padding:3px 6px;text-align:center;border-right:1px solid rgba(116,169,224,.10)}body[data-ui-shell="app"] .hero-map-overlay>span:last-child{border-right:0}body[data-ui-shell="app"] .hero-map-overlay strong,body[data-ui-shell="app"] .hero-map-overlay small{display:block}body[data-ui-shell="app"] .hero-map-overlay strong{font-size:9px}body[data-ui-shell="app"] .hero-map-overlay small{margin-top:1px;font-size:6.5px;text-transform:uppercase;letter-spacing:.05em;}
body[data-ui-shell="app"] .hero-map-popup-shell .leaflet-popup-content-wrapper,body[data-ui-shell="app"] .hero-map-popup-shell .leaflet-popup-tip{background:var(--surface-1);color:var(--text-strong);border:1px solid rgba(109,165,224,.20)}body[data-ui-shell="app"] .hero-map-popup-shell .leaflet-popup-content{margin:10px 11px}.hero-map-popup{display:flex;gap:9px;min-width:185px}.hero-map-popup>.map-inline-flag{width:28px;height:19px;flex:0 0 28px}.hero-map-popup strong,.hero-map-popup small,.hero-map-popup span,.hero-map-popup a{display:block}.hero-map-popup strong{font-size:10px}.hero-map-popup small,.hero-map-popup span{margin-top:2px;font-size:7.5px;}.hero-map-popup a{margin-top:7px;font-size:8px;font-weight:800;text-decoration:none;}
body[data-ui-shell="app"] .hero-map-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(115,164,214,.10)}
body[data-ui-shell="app"] .hero-map-panel .dashboard-link-pulse{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:9px 10px;text-decoration:none;}body[data-ui-shell="app"] .hero-map-panel .dashboard-link-pulse:last-child{}body[data-ui-shell="app"] .hero-map-panel .dashboard-link-pulse:hover{}body[data-ui-shell="app"] .hero-map-panel .dashboard-link-pulse strong{font-size:8.5px}body[data-ui-shell="app"] .hero-map-panel .dashboard-link-pulse small{margin-top:2px;font-size:6.7px;}body[data-ui-shell="app"] .hero-map-panel .dashboard-link-pulse>b{font-size:8px}body[data-ui-shell="app"] .hero-map-panel .dashboard-link-pulse>i{grid-column:1/-1;height:3px;overflow:hidden;border-radius:999px;}body[data-ui-shell="app"] .hero-map-panel .dashboard-link-pulse>i em{display:block;height:100%;border-radius:inherit;}body[data-ui-shell="app"] .hero-map-panel .dashboard-link-pulse.warning>i em{}body[data-ui-shell="app"] .hero-map-panel .dashboard-link-pulse.critical>i em{}

body[data-ui-shell="app"] .hero-dashboard-attention{overflow:hidden;border-radius:14px;}
body[data-ui-shell="app"] .hero-attention-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 15px;}body[data-ui-shell="app"] .hero-attention-head h2{margin:3px 0 0;font-size:13px}body[data-ui-shell="app"] .hero-attention-head>span{font-size:8px;font-weight:700;}
body[data-ui-shell="app"] .hero-attention-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-ui-shell="app"] .hero-attention-grid>a{display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:66px;padding:10px 12px;text-decoration:none;}body[data-ui-shell="app"] .hero-attention-grid>a:last-child{}body[data-ui-shell="app"] .hero-attention-grid>a:hover{}
body[data-ui-shell="app"] .hero-attention-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;}body[data-ui-shell="app"] .hero-attention-icon .ui-icon{width:14px;height:14px}body[data-ui-shell="app"] .hero-attention-grid strong,body[data-ui-shell="app"] .hero-attention-grid small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-ui-shell="app"] .hero-attention-grid strong{font-size:9px}body[data-ui-shell="app"] .hero-attention-grid small{margin-top:3px;font-size:7.2px;}body[data-ui-shell="app"] .hero-attention-grid>a>b{display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border-radius:8px;font-size:8px;}
body[data-ui-shell="app"] .hero-compatibility-token{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}

@media (min-width:1800px){
  body[data-ui-shell="app"] .hero-dashboard{width:min(100%,2050px)}
  body[data-ui-shell="app"] .hero-kpi-card{min-height:116px;padding:17px 18px}.hero-kpi-copy>strong{font-size:26px}
  body[data-ui-shell="app"] .hero-chart-wrap{height:390px}
  body[data-ui-shell="app"] .hero-map-stage{height:248px}
  body[data-ui-shell="app"] .hero-upstream-row{min-height:55px}
}
@media (min-width:2600px){
  body[data-ui-shell="app"] .hero-dashboard{width:min(100%,2360px)}
  body[data-ui-shell="app"] .hero-dashboard-title h1{font-size:40px}
  body[data-ui-shell="app"] .hero-dashboard-title p{font-size:13px}
  body[data-ui-shell="app"] .hero-kpi-card{min-height:128px;border-radius:16px}.hero-kpi-copy>strong{font-size:29px}
  body[data-ui-shell="app"] .hero-panel{border-radius:16px}.hero-panel-head{padding:17px 19px 12px}.hero-panel-head h2{font-size:17px}
  body[data-ui-shell="app"] .hero-chart-wrap{height:455px}
  body[data-ui-shell="app"] .hero-map-stage{height:285px}
  body[data-ui-shell="app"] .hero-upstream-row{min-height:62px;grid-template-columns:36px minmax(0,1fr) auto 118px 42px}.hero-provider-mark{width:34px;height:34px}.hero-provider-copy strong{font-size:10.5px}.hero-provider-copy small{font-size:8.5px}
  body[data-ui-shell="app"] .hero-health-orbit{width:132px;height:132px}.hero-health-orbit strong{font-size:27px}
}
@media (max-width:1260px){
  body[data-ui-shell="app"] .hero-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-ui-shell="app"] .hero-dashboard-primary-grid{grid-template-columns:minmax(0,1.6fr) minmax(270px,.7fr)}
  body[data-ui-shell="app"] .hero-dashboard-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-ui-shell="app"] .hero-map-panel{grid-column:1/-1}
}
@media (max-width:900px){
  body[data-ui-shell="app"] .hero-dashboard-head{align-items:flex-start;flex-direction:column}.hero-dashboard .dashboard-quick-actions{justify-content:flex-start}
  body[data-ui-shell="app"] .hero-dashboard-primary-grid,body[data-ui-shell="app"] .hero-dashboard-secondary-grid{grid-template-columns:1fr}
  body[data-ui-shell="app"] .hero-map-panel{grid-column:auto}
  body[data-ui-shell="app"] .hero-attention-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-attention-grid>a:nth-child(2){}.hero-attention-grid>a:nth-child(-n/**/+2){}
}
@media (max-width:620px){
  body[data-ui-shell="app"] .hero-kpi-grid{grid-template-columns:1fr}.hero-dashboard .dashboard-quick-action small{display:none}.hero-dashboard .dashboard-quick-action{padding:7px 9px}
  body[data-ui-shell="app"] .hero-traffic-now{gap:8px}.hero-traffic-now small{display:none}.hero-chart-wrap{height:270px}.hero-chart-foot{grid-template-columns:1fr 1fr}.hero-chart-foot>a{grid-column:1/-1;justify-content:center;}
  body[data-ui-shell="app"] .hero-donut-wrap{min-height:300px}.hero-map-links{grid-template-columns:1fr}.hero-map-panel .dashboard-link-pulse{}
  body[data-ui-shell="app"] .hero-attention-grid{grid-template-columns:1fr}.hero-attention-grid>a{}.hero-attention-grid>a:last-child{}
}

/* ========================================================================== */
/* v10.47.34 — UI 4.2 Heroic core workflow fidelity pass                     */
/* Device inventory/detail · Datacenters/racks · Services/detail · Ordering */
/* ========================================================================== */
body[data-ui-shell="app"] .hero42-page{--h42-line:var(--border);--h42-line-strong:var(--border-strong);--h42-panel:linear-gradient(155deg,var(--surface-1),var(--surface-base));--h42-panel-soft:linear-gradient(155deg,var(--surface-2),var(--surface-1));--h42-blue:var(--accent);--h42-cyan:var(--data-2);--h42-green:var(--success);--h42-amber:var(--warning);--h42-text:var(--text-strong);--h42-muted:var(--text-muted);display:grid;gap:15px;width:min(100%,2200px);margin:0 auto;}
body[data-ui-shell="app"] .hero42-page :is(h1,h2,h3,h4){letter-spacing:-.025em}
body[data-ui-shell="app"] .hero42-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:2px 1px 4px;}
body[data-ui-shell="app"] .hero42-title-block h1{margin:4px 0 3px;font-size:30px;line-height:1.06;}
body[data-ui-shell="app"] .hero42-title-block p{max-width:760px;margin:0;font-size:10.5px;line-height:1.55;}
body[data-ui-shell="app"] .hero42-title-line{display:flex;align-items:center;gap:10px}.hero42-context-pill{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:999px;font-size:8px;font-weight:800;letter-spacing:.04em;}
body[data-ui-shell="app"] .hero42-panel{overflow:hidden;border-radius:15px;}
body[data-ui-shell="app"] .hero42-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px 11px;}
body[data-ui-shell="app"] .hero42-panel-head h2{margin:3px 0 0;font-size:14px;}.hero42-panel-head h2 small{font-size:8px;font-weight:700;}.hero42-panel-head small{font-size:8px;}
body[data-ui-shell="app"] .hero42-inline-status{display:flex;align-items:center;gap:9px;font-size:8px;}
body[data-ui-shell="app"] .hero42-kpi-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
body[data-ui-shell="app"] .hero42-kpi-row>article{position:relative;display:flex;align-items:center;gap:12px;min-height:86px;padding:13px 14px;overflow:hidden;border-radius:13px;}
body[data-ui-shell="app"] .hero42-kpi-row>article:after{content:"";position:absolute;left:13px;right:13px;bottom:0;height:2px;border-radius:999px;opacity:.9;}
body[data-ui-shell="app"] .hero42-kpi-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px;}.hero42-kpi-icon.good{}.hero42-kpi-icon.warning{}.hero42-kpi-icon .ui-icon{width:17px;height:17px}
body[data-ui-shell="app"] .hero42-kpi-row small,body[data-ui-shell="app"] .hero42-kpi-row span{display:block;font-size:7.5px;}.hero42-kpi-row strong{display:block;margin:2px 0 1px;font-size:20px;line-height:1.05;}
body[data-ui-shell="app"] .hero42-country-stack{display:grid;gap:13px}.hero42-country-panel{overflow:hidden;border-radius:14px;}
body[data-ui-shell="app"] .hero42-country-bar{display:flex;align-items:center;justify-content:space-between;min-height:47px;padding:9px 13px;}.hero42-country-name{display:flex;align-items:center;gap:10px}.hero42-country-name .country-flag-vector{width:29px;height:20px;border-radius:4px;overflow:hidden;}.hero42-country-name strong,.hero42-country-name small{display:block}.hero42-country-name strong{font-size:10px}.hero42-country-name small{margin-top:1px;font-size:7px;}.hero42-country-health,.hero42-country-code{font-size:8px;font-weight:800;letter-spacing:.05em;}

/* Device inventory */
body[data-ui-shell="app"] .hero42-device-list{display:grid}.hero42-device-row{display:grid;grid-template-columns:minmax(205px,.8fr) minmax(360px,1.55fr) minmax(260px,.9fr) 92px;align-items:center;gap:13px;min-height:118px;padding:11px 13px;transition:.18s ease;}.hero42-device-row:last-child{}.hero42-device-row:hover{}
body[data-ui-shell="app"] .hero42-device-identity{display:grid;grid-template-columns:9px minmax(0,1fr);gap:10px;align-items:start;text-decoration:none;}.hero42-device-status{width:8px;height:8px;margin-top:4px;border-radius:50%;}.hero42-device-status.online{}.hero42-device-status.offline{}.hero42-device-identity strong,.hero42-device-identity small,.hero42-device-identity span{display:block}.hero42-device-identity strong{font-size:12px;}.hero42-device-identity small{margin-top:3px;font-size:7.5px;}.hero42-device-identity span{margin-top:7px;font-size:8px;}
body[data-ui-shell="app"] .hero42-device-stencil-mini{height:86px;overflow:hidden;border-radius:10px;}.hero42-device-stencil-mini .device-stencil{transform:scale(.76);transform-origin:center center;margin:-8px -14%}.hero42-device-stencil-mini :is(.device-stencil-header,.device-stencil-legend,.device-stencil-face-toggle){display:none!important}
body[data-ui-shell="app"] .hero42-device-facts{display:grid;grid-template-columns:1fr 72px;gap:8px}.hero42-device-facts>div{min-width:0;padding:8px 9px;border-radius:9px;}.hero42-device-facts>div:first-child{grid-column:1/-1}.hero42-device-facts small,.hero42-device-facts strong{display:block}.hero42-device-facts small{font-size:6.5px;text-transform:uppercase;letter-spacing:.07em;}.hero42-device-facts strong{margin-top:3px;overflow:hidden;font-size:8.2px;text-overflow:ellipsis;white-space:nowrap;}.hero42-device-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}

/* Device detail */
body[data-ui-shell="app"] .hero42-device-title{display:flex;align-items:center;gap:12px}.hero42-device-flag{display:grid;place-items:center;width:39px;height:28px;overflow:hidden;border-radius:6px;}.hero42-device-flag svg{display:block;width:100%;height:100%}.hero42-device-title p span{padding:0 4px;}
body[data-ui-shell="app"] .hero42-device-overview-grid{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(280px,.72fr);gap:12px}.hero42-hardware-card{min-width:0;}.hero42-device-hardware{display:grid;place-items:center;min-height:188px;padding:15px 18px;}.hero42-device-hardware .device-stencil{width:min(100%,1180px)}.hero42-hardware-legend{display:flex;gap:18px;padding:9px 15px;font-size:7.5px;}.hero42-hardware-legend span{display:flex;align-items:center;gap:5px}.hero42-hardware-legend i{width:6px;height:6px;border-radius:50%;}.hero42-hardware-legend i.good{}.hero42-hardware-legend i.warning{}
body[data-ui-shell="app"] .hero42-info-list{margin:0;padding:5px 14px 10px}.hero42-info-list>div{display:grid;grid-template-columns:92px 1fr;gap:10px;padding:10px 0;}.hero42-info-list>div:last-child{}.hero42-info-list dt{display:flex;align-items:center;gap:6px;font-size:7.5px;}.hero42-info-list dt .ui-icon{width:12px;height:12px;}.hero42-info-list dd{margin:0;font-size:8.5px;font-weight:800;}.hero42-info-list dd small{display:block;margin-top:3px;font-size:7px;font-weight:600;}
body[data-ui-shell="app"] .hero42-device-traffic .telemetry-graph-shell{border-radius:0;}.hero42-device-traffic .telemetry-summary-strip{display:none}.hero42-device-traffic .telemetry-graph-canvas{min-height:330px}.hero42-traffic-now{display:flex;gap:15px}.hero42-traffic-now span{font-size:7px;}.hero42-traffic-now strong{display:block;margin-top:2px;font-size:11px;}.hero42-traffic-now span:first-child strong{}.hero42-traffic-now span:last-child strong{}
body[data-ui-shell="app"] .hero42-chart-empty{display:grid;place-items:center;min-height:240px;padding:30px;text-align:center;}.hero42-chart-empty>span{display:grid;place-items:center;width:42px;height:42px;margin-bottom:10px;border-radius:12px;}.hero42-chart-empty strong{font-size:11px;}.hero42-chart-empty small{max-width:460px;margin-top:4px;font-size:8px;line-height:1.5}
body[data-ui-shell="app"] .hero42-section-tabs{display:flex;align-items:center;gap:3px;min-height:42px;padding:4px;border-radius:12px;}.hero42-section-tabs a{display:flex;align-items:center;gap:6px;padding:8px 11px;border-radius:8px;font-size:8px;font-weight:800;text-decoration:none;}.hero42-section-tabs a.active,.hero42-section-tabs a:hover{}.hero42-section-tabs a span{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;font-size:6.5px;}
body[data-ui-shell="app"] .hero42-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}.hero42-link-grid>a{display:grid;grid-template-columns:31px 1fr auto;align-items:center;gap:8px;padding:9px;border-radius:10px;text-decoration:none;}.hero42-link-grid>a:hover{}.hero42-link-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;}.hero42-link-grid strong,.hero42-link-grid small{display:block}.hero42-link-grid strong{font-size:8.5px}.hero42-link-grid small{margin-top:2px;font-size:7px;}.hero42-proposal-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 12px}.hero42-proposal-row article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:9px;}.hero42-proposal-row strong,.hero42-proposal-row small{display:block;margin-top:3px;font-size:7.5px}.hero42-proposal-row small{}
body[data-ui-shell="app"] .hero42-interface-panel>.table-surface{margin:0;border-radius:0;}.hero42-interface-panel .data-table{font-size:8px}.hero42-interface-panel .data-table thead th{}.hero42-interface-panel .data-table tbody tr:hover{}.hero42-interface-filters{display:flex;gap:5px}

/* Datacenters */
body[data-ui-shell="app"] .hero42-dc-overview-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.95fr);gap:12px}.hero42-dc-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}.hero42-dc-card{position:relative;display:block;min-height:118px;padding:11px;border:1px solid rgba(110,164,217,.11);border-radius:11px;background:radial-gradient(circle at 100% 0%,rgba(46,132,240,.11),transparent 8rem),var(--surface-1);color:inherit;text-decoration:none;transition:.18s ease}.hero42-dc-card:hover{transform:translateY(-2px);border-color:rgba(74,148,231,.3);box-shadow:0 14px 28px rgba(0,5,18,.2)}.hero42-dc-card-top{display:flex;align-items:center;gap:7px}.hero42-dc-flag{width:23px;height:16px;overflow:hidden;border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.13)}.hero42-dc-flag svg{width:100%;height:100%;display:block}.hero42-dc-code{color:var(--accent-text);font:800 7.5px ui-monospace,SFMono-Regular,Menlo,monospace}.hero42-dc-card-top .status-dot{margin-left:auto;font-size:6.5px}.hero42-dc-card>strong{display:block;margin-top:10px;color:var(--text-strong);font-size:9px}.hero42-dc-card>small{display:block;margin-top:2px;color:var(--text-muted);font-size:6.8px}.hero42-dc-card-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-top:10px}.hero42-dc-card-metrics span{padding:5px 4px;border-radius:6px;background:rgba(89,135,182,.07);color:var(--text-muted);font-size:6.2px;text-align:center}.hero42-dc-card-metrics b{display:block;color:var(--text-body);font-size:8px}
body[data-ui-shell="app"] .hero42-dc-map{height:390px;background:var(--surface-1)}.hero42-dc-map-panel .leaflet-tile-pane{filter:var(--map-filter)}.hero42-dc-map-panel .leaflet-map-pane{background:var(--surface-sunken)}.hero42-dc-map-marker-wrap{background:transparent;border:0}.hero42-dc-map-marker{position:relative;display:flex;align-items:center;gap:5px;width:max-content;height:27px;padding:0 7px;border-radius:8px;}.hero42-dc-map-marker img{width:17px;height:12px;border-radius:2px;object-fit:cover}.hero42-dc-map-marker strong{font:800 7px ui-monospace,SFMono-Regular,Menlo,monospace}.hero42-dc-map-marker i{position:absolute;left:50%;bottom:-8px;width:8px;height:8px;transform:translateX(-50%) rotate(45deg);}.hero42-dc-map-panel .leaflet-popup-content-wrapper,.hero42-dc-map-panel .leaflet-popup-tip{background:var(--surface-1);color:var(--text-strong)}.hero42-dc-popup strong,.hero42-dc-popup span,.hero42-dc-popup small,.hero42-dc-popup a{display:block}.hero42-dc-popup strong{font-size:10px}.hero42-dc-popup span,.hero42-dc-popup small{margin-top:3px;font-size:7.5px;}.hero42-dc-popup a{margin-top:8px;font-size:8px;text-decoration:none;}.hero42-map-foot{display:flex;justify-content:space-between;padding:8px 12px;font-size:7px;}.hero42-map-foot i{display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;}
body[data-ui-shell="app"] .hero42-physical-inventory>.hero42-panel-head{padding-bottom:13px;}.hero42-dc-country-stack{padding:12px}.hero42-dc-detail-list{display:grid}.hero42-dc-detail{border-bottom:1px solid rgba(109,163,216,.085)}.hero42-dc-detail:last-child{border-bottom:0}.hero42-dc-detail>summary{display:grid;grid-template-columns:68px minmax(0,1fr) auto 62px;align-items:center;gap:12px;min-height:64px;padding:9px 12px;cursor:pointer;list-style:none}.hero42-dc-detail>summary::-webkit-details-marker{display:none}.hero42-dc-detail[open]>summary{background:linear-gradient(90deg,rgba(29,80,132,.18),transparent)}.hero42-dc-code-chip{display:grid;place-items:center;height:29px;border:1px solid rgba(63,143,237,.28);border-radius:8px;background:linear-gradient(145deg,#1566d9,#2584ff);box-shadow:0 8px 20px rgba(17,95,198,.15);color:white;font:800 7.5px ui-monospace,SFMono-Regular,Menlo,monospace}.hero42-dc-main strong,.hero42-dc-main small{display:block}.hero42-dc-main strong{font-size:9px}.hero42-dc-main small{margin-top:3px;color:var(--text-muted);font-size:7px}.hero42-dc-summary-metrics{display:grid;grid-template-columns:repeat(6,auto);align-items:center;gap:3px 5px;color:var(--text-subtle)}.hero42-dc-summary-metrics b{color:var(--text-body);font-size:8px}.hero42-dc-summary-metrics small{font-size:6px}.hero42-dc-expanded{padding:13px;border-top:1px solid rgba(110,164,216,.08);background:var(--surface-inset)}.hero42-dc-expanded-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:10px}.hero42-dc-expanded-head h3{margin:3px 0;font-size:13px}.hero42-dc-expanded-head p{margin:0;color:var(--text-muted);font-size:7.5px}.hero42-dc-stat-row{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:10px}.hero42-dc-stat-row article{padding:8px 10px;border:1px solid rgba(109,163,216,.1);border-radius:9px;background:var(--surface-1)}.hero42-dc-stat-row small,.hero42-dc-stat-row strong{display:block}.hero42-dc-stat-row small{color:var(--text-subtle);font-size:6.5px}.hero42-dc-stat-row strong{margin-top:2px;font-size:13px}

/* Rack gallery fidelity */
body[data-ui-shell="app"] .hero42-racks .rack-page-heading{padding:0;}.hero42-racks .rack-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.hero42-racks .rack-summary-grid>article{min-height:82px;border-radius:12px;}.hero42-racks .rack-gallery-shell{border-radius:15px;}.hero42-racks .rack-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:10px;padding:11px;}.hero42-racks .rack-visual-card{border-radius:12px;overflow:hidden;}.hero42-racks .rack-card-header{}.hero42-racks .rack-cabinet{filter:drop-shadow(0 12px 20px rgba(0,3,11,.28))}

/* Services */
body[data-ui-shell="app"] .hero42-service-type-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:11px}.hero42-service-type-card{position:relative;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;min-height:66px;padding:9px 10px;overflow:hidden;border-radius:10px;text-decoration:none;}.hero42-service-type-card:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;}.hero42-service-type-card.dia:after{}.hero42-service-type-card.l2vpn:after{}.hero42-service-type-card.ix:after{}.hero42-service-type-card.colocation:after{}.hero42-service-type-card:hover{}.hero42-service-type-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;}.hero42-service-type-icon .ui-icon{width:17px;height:17px}.hero42-service-type-card strong,.hero42-service-type-card small{display:block}.hero42-service-type-card strong{font-size:9px}.hero42-service-type-card small{margin-top:3px;font-size:6.7px;}.hero42-service-type-card>b{font-size:16px;}
body[data-ui-shell="app"] .hero42-filter-bar{display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(3,minmax(130px,.55fr)) auto auto;gap:7px;padding:8px;}.hero42-filter-bar :is(input,select){height:34px;border-radius:8px;font-size:8px;}.hero42-search-field{position:relative;display:flex;align-items:center;}.hero42-search-field .ui-icon{position:absolute;left:10px;width:13px;height:13px;z-index:1;}.hero42-search-field input{width:100%;padding-left:31px}
.hero42-data-table{width:100%;}.hero42-data-table thead th{height:38px;font-size:6.7px;text-transform:uppercase;letter-spacing:.07em;}.hero42-data-table tbody td{padding:10px 11px;font-size:8px;}.hero42-data-table tbody tr:hover{}.hero42-table-primary{display:flex;align-items:center;gap:8px;text-decoration:none;}.hero42-table-primary strong,.hero42-table-primary small{display:block}.hero42-table-primary strong{font-size:8.5px;}.hero42-table-primary small{margin-top:2px;font-size:6.6px;}.hero42-service-dot{width:9px;height:9px;border-radius:3px;}.hero42-service-dot.dia{}.hero42-service-dot.l2vpn{}.hero42-service-dot.ix{}.hero42-service-dot.colocation{}.hero42-badge-row{display:flex;gap:4px;margin-top:6px}.hero42-term-line{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:6.4px;}.hero42-term-line i{width:25px;height:1px;}

/* Service detail: turn the legacy data-rich page into a deliberate bento layout. */
body[data-ui-shell="app"] .hero42-service-detail>.service-hero{position:relative;padding:16px 17px;border-radius:15px;}.hero42-service-detail .service-hero:after{content:"";position:absolute;left:17px;right:17px;bottom:0;height:2px;opacity:.75;}.hero42-service-detail .service-hero h2{font-size:24px}.hero42-service-detail .service-hero-meta{margin-top:7px}.hero42-service-detail .service-tabs{position:sticky;top:calc(var(--portal-topbar-height,52px) + 5px);z-index:20;padding:4px;border-radius:11px;backdrop-filter:blur(16px);}.hero42-service-detail .service-tabs a{border-radius:7px;}.hero42-service-detail .service-tabs a.active{}
body[data-ui-shell="app"] .hero42-service-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hero42-service-summary-grid .metric-card{min-height:82px;border-radius:11px!important;}.hero42-service-summary-grid .metric-card:nth-child(n/**/+9){display:none}.hero42-service-summary-grid .metric-card strong{font-size:15px}.hero42-service-summary-grid .metric-card:before{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;border-radius:999px;}
body[data-ui-shell="app"] .hero42-service-traffic-panel{overflow:hidden;border-radius:15px!important;}.hero42-service-traffic-panel>.panel-heading{padding:14px 16px 10px;}.hero42-service-traffic-panel .traffic-metrics{display:none}.hero42-service-traffic-panel .telemetry-graph-shell{border-radius:0;}.hero42-service-traffic-panel .telemetry-summary-strip{grid-template-columns:repeat(4,1fr);}.hero42-service-traffic-panel .telemetry-graph-canvas{min-height:350px}.hero42-service-detail :is(.service-map-panel,.service-identity-panel,.service-readiness-panel,.child-panel,.contract-date-admin-panel,.service-cancellation-panel,.service-support-panel,.service-activity-panel){border-radius:14px;}

/* Ordering */
body[data-ui-shell="app"] .hero42-order-progress{display:grid;grid-template-columns:auto minmax(30px,1fr) auto minmax(30px,1fr) auto minmax(30px,1fr) auto;align-items:center;gap:7px;padding:9px 13px;border-radius:12px;}.hero42-order-progress span{display:flex;align-items:center;gap:6px;}.hero42-order-progress b{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;font-size:7px;}.hero42-order-progress em{font-size:7.5px;font-style:normal;font-weight:800}.hero42-order-progress span.active{}.hero42-order-progress span.active b{}.hero42-order-progress>i{height:1px;}
body[data-ui-shell="app"] .hero42-order-wizard{overflow:hidden;border-radius:15px!important;}.hero42-order-wizard .wizard-section{display:grid;grid-template-columns:42px 1fr;gap:0;}.hero42-order-wizard .wizard-step{display:grid;place-items:start center;padding-top:18px;font-size:12px;}.hero42-order-wizard .wizard-section-body{padding:16px}.hero42-order-wizard .service-type-choice-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.hero42-order-wizard .service-type-choice{min-height:84px;border-radius:11px;}.hero42-order-wizard .service-type-choice:has(input:checked){}.hero42-order-wizard .catalog-offering-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.hero42-order-wizard .catalog-offering-card{min-height:205px;border-radius:12px;}.hero42-order-wizard .catalog-offering-card:has(input:checked){}.hero42-order-wizard .catalog-card-title{font-size:12px}.hero42-order-wizard .catalog-card-commercial>div{border-radius:8px;}.hero42-order-wizard .datacenter-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hero42-order-wizard .datacenter-card{border-radius:11px;}.hero42-order-wizard .wizard-submit-bar{}

/* Orders */
body[data-ui-shell="app"] .hero42-order-pipeline .hero42-pipeline-rail{display:grid;grid-template-columns:auto minmax(30px,1fr) auto minmax(30px,1fr) auto minmax(30px,1fr) auto;align-items:center;gap:10px;padding:15px 17px}.hero42-pipeline-rail>span{display:grid;grid-template-columns:27px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center}.hero42-pipeline-rail>span b{grid-row:1/3;display:grid;place-items:center;width:27px;height:27px;border-radius:8px;font-size:8px;}.hero42-pipeline-rail>span strong{font-size:8.5px}.hero42-pipeline-rail>span small{font-size:6.7px;}.hero42-pipeline-rail>i{height:1px;}.hero42-order-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;}.hero42-order-icon .ui-icon{width:13px;height:13px}.hero42-orders-panel .hero42-data-table td{height:57px}.hero42-empty-panel{display:grid;place-items:center;min-height:190px;padding:26px;text-align:center;}.hero42-empty-panel>span{display:grid;place-items:center;width:42px;height:42px;margin-bottom:9px;border-radius:12px;}.hero42-empty-panel strong{font-size:11px;}.hero42-empty-panel small{margin:3px 0 10px;font-size:7.5px}
body[data-ui-shell="app"] .hero42-order-detail>.page-heading{border-radius:14px;padding:14px 16px;}.hero42-order-detail>.surface{border-radius:14px;}

@media (min-width:1800px){body[data-ui-shell="app"] .hero42-page{gap:18px;}.hero42-title-block h1{font-size:34px}.hero42-kpi-row>article{min-height:98px;padding:15px 17px}.hero42-kpi-row strong{font-size:23px}.hero42-device-row{min-height:136px;grid-template-columns:minmax(235px,.8fr) minmax(440px,1.7fr) minmax(300px,.9fr) 108px}.hero42-device-stencil-mini{height:100px}.hero42-dc-map{height:450px}.hero42-device-traffic .telemetry-graph-canvas,.hero42-service-traffic-panel .telemetry-graph-canvas{min-height:420px}}
@media (min-width:2600px){body[data-ui-shell="app"] .hero42-page{width:min(100%,2500px);gap:22px;}.hero42-title-block h1{font-size:42px}.hero42-title-block p{font-size:13px}.hero42-kpi-row>article{min-height:118px;border-radius:16px}.hero42-kpi-icon{width:48px;height:48px;flex-basis:48px;}.hero42-kpi-row strong{font-size:28px}.hero42-kpi-row small,.hero42-kpi-row span{font-size:9px}.hero42-panel{border-radius:18px;}.hero42-panel-head{padding:18px 20px 14px;}.hero42-panel-head h2{font-size:18px}.hero42-device-row{min-height:158px;grid-template-columns:minmax(275px,.78fr) minmax(520px,1.75fr) minmax(340px,.9fr) 125px}.hero42-device-stencil-mini{height:116px}.hero42-device-identity strong{font-size:15px}.hero42-device-facts strong{font-size:10.5px}.hero42-device-overview-grid{grid-template-columns:minmax(0,2.5fr) minmax(360px,.7fr)}.hero42-device-hardware{min-height:250px}.hero42-device-traffic .telemetry-graph-canvas,.hero42-service-traffic-panel .telemetry-graph-canvas{min-height:500px}.hero42-dc-map{height:530px}.hero42-dc-card{min-height:145px}.hero42-racks .rack-gallery-grid{grid-template-columns:repeat(5,minmax(280px,1fr));}}
@media (max-width:1350px){body[data-ui-shell="app"] .hero42-device-row{grid-template-columns:minmax(190px,.8fr) minmax(300px,1.25fr) minmax(230px,.8fr) 80px}.hero42-device-overview-grid,.hero42-dc-overview-grid{grid-template-columns:1fr}.hero42-dc-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero42-racks .rack-gallery-grid{grid-template-columns:repeat(3,minmax(230px,1fr));}.hero42-filter-bar{grid-template-columns:minmax(230px,1fr) repeat(3,minmax(120px,.6fr));}.hero42-filter-bar .button{grid-row:2;}.hero42-order-wizard .datacenter-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1050px){body[data-ui-shell="app"] .hero42-kpi-row{grid-template-columns:repeat(2,1fr);}.hero42-device-row{grid-template-columns:1fr 1.5fr}.hero42-device-facts{grid-column:1}.hero42-device-actions{grid-column:2;grid-row:2;flex-direction:row;justify-content:flex-end}.hero42-dc-card-grid{grid-template-columns:repeat(3,1fr)}.hero42-racks .rack-gallery-grid{grid-template-columns:repeat(2,minmax(230px,1fr));}.hero42-service-type-grid{grid-template-columns:repeat(3,1fr)}.hero42-service-summary-grid{grid-template-columns:repeat(2,1fr)}.hero42-order-wizard .catalog-offering-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){body[data-ui-shell="app"] .hero42-page-head{align-items:flex-start;flex-direction:column;}.hero42-page-head .heading-actions{width:100%}.hero42-kpi-row{grid-template-columns:1fr;}.hero42-device-row{grid-template-columns:1fr}.hero42-device-stencil-mini{height:95px}.hero42-device-facts{grid-column:auto}.hero42-device-actions{grid-column:auto;grid-row:auto;justify-content:flex-start}.hero42-device-overview-grid{grid-template-columns:1fr}.hero42-link-grid,.hero42-proposal-row{grid-template-columns:1fr}.hero42-dc-card-grid{grid-template-columns:1fr 1fr}.hero42-dc-detail>summary{grid-template-columns:58px 1fr auto}.hero42-dc-summary-metrics{display:none}.hero42-dc-stat-row{grid-template-columns:repeat(3,1fr)}.hero42-racks .rack-summary-grid{grid-template-columns:1fr 1fr}.hero42-racks .rack-gallery-grid{grid-template-columns:1fr;}.hero42-service-type-grid{grid-template-columns:1fr 1fr}.hero42-filter-bar{grid-template-columns:1fr;}.hero42-filter-bar .button{grid-row:auto;}.hero42-service-summary-grid{grid-template-columns:1fr 1fr}.hero42-order-progress,.hero42-pipeline-rail{overflow:auto;grid-template-columns:auto 40px auto 40px auto 40px auto!important}.hero42-order-wizard .service-type-choice-grid,.hero42-order-wizard .catalog-offering-grid,.hero42-order-wizard .datacenter-card-grid{grid-template-columns:1fr}.hero42-order-wizard .wizard-section{grid-template-columns:32px 1fr}}

/* ========================================================================== */
/* v10.47.35 — UI 4.3 Network Operations fidelity pass                       */
/* Backbone · Upstreams · IPAM · Automation · Monitoring · 4K readability    */
/* ========================================================================== */
body[data-ui-shell="app"] .hero43-page{
  --h43-line:var(--border);--h43-line-strong:var(--border-strong);
  --h43-panel:linear-gradient(155deg,var(--surface-1),var(--surface-base));
  --h43-panel-soft:linear-gradient(155deg,var(--surface-2),var(--surface-1));
  --h43-blue:var(--accent);--h43-cyan:var(--data-2);--h43-green:var(--success);--h43-amber:var(--warning);--h43-red:var(--danger);
  --h43-text:var(--text-strong);--h43-muted:var(--text-muted);
  display:grid;gap:16px;width:min(100%,2260px);margin:0 auto;font-size:13px
;}
body[data-ui-shell="app"] .hero43-page :is(h1,h2,h3,h4,strong){text-rendering:optimizeLegibility}
body[data-ui-shell="app"] .hero43-page :is(h1,h2,h3,h4){letter-spacing:-.025em}
body[data-ui-shell="app"] .hero43-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:3px 1px 5px;}
.hero43-title-block h1{margin:4px 0 4px;font-size:32px;line-height:1.05;}
.hero43-title-block p{max-width:860px;margin:0;font-size:12px;line-height:1.55;}
.hero43-page .eyebrow{font-size:8.5px;letter-spacing:.12em;}
.hero43-page .heading-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.hero43-page .button{font-size:10px;}

body[data-ui-shell="app"] .hero43-panel{overflow:hidden;border-radius:16px;}
body[data-ui-shell="app"] .hero43-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px 12px;}
.hero43-panel-head h2{margin:3px 0 0;font-size:16px;line-height:1.15;}.hero43-panel-head small{display:block;margin-top:3px;font-size:9px;line-height:1.45;}
.hero43-panel-metric{font-size:10px;font-weight:800;white-space:nowrap;}
.hero43-empty{display:grid;place-items:center;min-height:100px;padding:24px;font-size:10px;text-align:center;}

.hero43-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.hero43-kpi-grid>article{position:relative;display:flex;align-items:center;gap:13px;min-height:92px;padding:14px 15px;overflow:hidden;border-radius:14px;}
.hero43-kpi-grid>article:after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:2px;border-radius:999px;opacity:.9;}
.hero43-kpi-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:11px;}.hero43-kpi-icon.good{}.hero43-kpi-icon.warning{}.hero43-kpi-icon .ui-icon{width:18px;height:18px}
.hero43-kpi-grid small,.hero43-kpi-grid span{display:block;font-size:8.5px;}.hero43-kpi-grid strong{display:block;margin:2px 0 1px;font-size:21px;line-height:1.06;}

/* Backbone */
.hero43-backbone-overview{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.72fr);gap:12px}
.hero43-topology-map{height:520px;}.hero43-topology-panel .leaflet-container{}.hero43-topology-panel .leaflet-tile-pane{}.hero43-topology-panel .leaflet-control-attribution{}.hero43-topology-panel .leaflet-control-attribution a{}.hero43-topology-panel .leaflet-bar a{}
.hero43-map-legend{display:flex;align-items:center;gap:18px;min-height:40px;padding:0 16px;font-size:8.5px;}.hero43-map-legend span{display:flex;align-items:center;gap:6px}.hero43-map-legend i{width:18px;height:3px;border-radius:99px;}.hero43-map-legend i.good{}.hero43-map-legend i.warning{}.hero43-map-legend i.critical{}.hero43-map-empty{display:grid;place-items:center;height:100%;font-size:11px;}
.hero43-corridor-list{display:grid;padding:6px 0}.hero43-corridor-row{display:grid;gap:8px;padding:12px 14px;text-decoration:none;transition:.15s;}.hero43-corridor-row:last-child{}.hero43-corridor-row:hover{}
.hero43-corridor-title{display:flex;align-items:center;gap:7px}.hero43-site-code{display:grid;place-items:center;min-width:47px;height:25px;padding:0 7px;border-radius:7px;font:800 8px ui-monospace,SFMono-Regular,Menlo,monospace;}.hero43-corridor-title>i{width:24px;height:1px;}.hero43-corridor-title>strong{margin-left:auto;font-size:9px;}
.hero43-corridor-values{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;font-size:8px;}.hero43-corridor-values b{margin-left:4px;font-weight:800;}.hero43-corridor-values em{font-size:10px;font-style:normal;font-weight:800;}.hero43-util-track{height:4px;overflow:hidden;border-radius:99px;}.hero43-util-track span{display:block;width:var(--value,0%);height:100%;border-radius:inherit;}
.hero43-link-table-wrap{overflow:auto}.hero43-table{width:100%;border-collapse:collapse;}.hero43-table th{height:40px;padding:0 13px;font-size:7.5px;text-transform:uppercase;letter-spacing:.075em;}.hero43-table td{padding:11px 13px!important;font-size:9px;vertical-align:middle;}.hero43-table tr:last-child td{}.hero43-table tbody tr:hover{}.hero43-table td strong,.hero43-table td a{}.hero43-table td small{display:block;margin-top:3px;font-size:7.5px;}.hero43-table-util{display:grid;grid-template-columns:auto minmax(70px,1fr);align-items:center;gap:6px;max-width:230px}.hero43-table-util>span{height:4px;border-radius:99px;overflow:hidden;}.hero43-table-util>span i{display:block;width:var(--value);height:100%;}.hero43-table-util small{grid-column:1/-1}
.hero43-proposal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:10px}.hero43-proposal-grid>article{padding:12px;border-radius:11px;}.hero43-proposal-head{display:flex;align-items:center;gap:8px}.hero43-proposal-head strong{font-size:9px;}.hero43-proposal-path{display:grid;grid-template-columns:1fr 18px 1fr;align-items:center;gap:7px;margin:12px 0;padding:8px;border-radius:8px;}.hero43-proposal-path>span b,.hero43-proposal-path>span small{display:block}.hero43-proposal-path b{font-size:8px;}.hero43-proposal-path small{margin-top:2px;font-size:6.8px;}.hero43-proposal-path .ui-icon{width:13px;}.hero43-proposal-grid p{min-height:32px;font-size:7.5px;line-height:1.45;}.hero43-proposal-grid footer{display:flex;gap:6px}.hero43-ignored{padding:10px 13px;}.hero43-ignored summary{cursor:pointer;font-size:8.5px;font-weight:800;}.hero43-ignored>div article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;}.hero43-ignored strong,.hero43-ignored small{display:block}.hero43-ignored strong{font-size:8px}.hero43-ignored small{margin-top:2px;font-size:7px;}

/* Upstreams */
.hero43-upstream-overview{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(350px,.8fr);gap:12px}.hero43-donut-layout{display:grid;grid-template-columns:270px 1fr;gap:18px;align-items:center;padding:18px}.hero43-donut-wrap{position:relative;width:230px;height:230px;margin:auto}.hero43-donut{display:block;width:100%;height:100%;overflow:visible}.hero43-donut-track{stroke-width:5;}.hero43-donut-segment{stroke-width:5;stroke-linecap:round;}.hero43-donut-segment.pie-0{}.hero43-donut-segment.pie-1{}.hero43-donut-segment.pie-2{}.hero43-donut-segment.pie-3{}.hero43-donut-segment.pie-4{}.hero43-donut-segment.pie-5{}.hero43-donut-segment.pie-6{}.hero43-donut-segment.pie-7{}.hero43-donut-wrap>div{position:absolute;inset:0;display:grid;place-content:center;text-align:center;pointer-events:none}.hero43-donut-wrap>div strong{font-size:18px;}.hero43-donut-wrap>div span{margin-top:2px;font-size:8px;text-transform:uppercase;letter-spacing:.08em;}
.hero43-share-list{display:grid;align-content:center}.hero43-share-list>a{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:8px;padding:9px 2px;text-decoration:none;}.hero43-share-list>a:last-child{}.hero43-share-list i{width:7px;height:7px;border-radius:50%;}.hero43-share-list i.pie-1{}.hero43-share-list i.pie-2{}.hero43-share-list i.pie-3{}.hero43-share-list i.pie-4{}.hero43-share-list i.pie-5{}.hero43-share-list i.pie-6{}.hero43-share-list i.pie-7{}.hero43-share-list strong,.hero43-share-list small{display:block}.hero43-share-list strong{font-size:9px;}.hero43-share-list small{margin-top:2px;font-size:7.5px;}.hero43-share-list>b{font-size:10px;}
.hero43-provider-rank-list{display:grid;padding:6px 0}.hero43-provider-rank-list>a{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:10px 13px;text-decoration:none;}.hero43-provider-rank-list>a:last-child{}.hero43-provider-rank-list>a:hover{}.hero43-provider-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;font-size:13px;font-weight:800;}.hero43-provider-avatar.peering{}.hero43-provider-avatar.pni{}.hero43-provider-rank-list strong,.hero43-provider-rank-list small{display:block}.hero43-provider-rank-list strong{font-size:9px;}.hero43-provider-rank-list small{margin-top:2px;font-size:7px;}.hero43-provider-rank-list>a>div>i{display:block;height:3px;margin-top:6px;border-radius:99px;}.hero43-provider-rank-list>a>div>i b{display:block;width:var(--value);height:100%;border-radius:inherit;}.hero43-provider-rank-list>a>span:last-child{text-align:right}
.hero43-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:10px}.hero43-provider-card{position:relative;display:grid;gap:12px;padding:13px;border-radius:12px;}.hero43-provider-card:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;border-radius:99px;}.hero43-provider-card.peering:after{}.hero43-provider-card.pni:after{}.hero43-provider-card>header{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:9px}.hero43-provider-card>header strong,.hero43-provider-card>header small{display:block}.hero43-provider-card>header strong{font-size:10px}.hero43-provider-card>header small{margin-top:2px;font-size:7px;}.hero43-provider-traffic{display:grid;grid-template-columns:1fr 64px;align-items:center;gap:10px;padding:9px;border-radius:9px;}.hero43-provider-traffic>div:first-child span,.hero43-provider-traffic>div:first-child strong,.hero43-provider-traffic>div:first-child small{display:block}.hero43-provider-traffic>div:first-child span{font-size:7px;}.hero43-provider-traffic>div:first-child strong{margin-top:2px;font-size:17px;}.hero43-provider-traffic>div:first-child small{margin-top:2px;font-size:7px;}.hero43-radial-mini{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;}.hero43-radial-mini:before{content:"";grid-area:1/1;width:47px;height:47px;border-radius:50%;}.hero43-radial-mini>strong,.hero43-radial-mini>span{position:relative;grid-area:1/1}.hero43-radial-mini>strong{margin-top:-5px;font-size:10px;}.hero43-radial-mini>span{margin-top:14px;font-size:6px;text-transform:uppercase;}.hero43-provider-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.hero43-provider-facts>span{padding:6px;border-radius:7px;}.hero43-provider-facts small,.hero43-provider-facts strong{display:block}.hero43-provider-facts small{font-size:6.5px;}.hero43-provider-facts strong{margin-top:2px;font-size:8px;}.hero43-provider-card>footer{display:flex;gap:6px}

/* IPAM */
.hero43-ipam-family-grid{display:grid;grid-template-columns:minmax(260px,.65fr) minmax(260px,.65fr) minmax(480px,1.7fr);gap:10px;padding:11px}.hero43-ip-family{display:grid;grid-template-columns:105px 1fr;align-items:center;gap:14px;padding:14px;border-radius:12px;}.hero43-ip-ring{display:grid;place-items:center;width:96px;height:96px;border-radius:50%;}.hero43-ip-family.ipv6 .hero43-ip-ring{}.hero43-ip-ring:before{content:"";grid-area:1/1;width:78px;height:78px;border-radius:50%;}.hero43-ip-ring>div{position:relative;grid-area:1/1;text-align:center}.hero43-ip-ring strong,.hero43-ip-ring span{display:block}.hero43-ip-ring strong{font-size:14px;}.hero43-ip-ring span{margin-top:2px;font-size:9px;}.hero43-ip-family>div:last-child>strong,.hero43-ip-family>div:last-child>small{display:block}.hero43-ip-family>div:last-child>strong{font-size:11px}.hero43-ip-family>div:last-child>small{margin-top:3px;font-size:8px;}.hero43-ip-family>div:last-child>i{display:block;height:4px;margin-top:9px;border-radius:99px;}.hero43-ip-family>div:last-child>i b{display:block;width:var(--value);height:100%;border-radius:inherit;}
.hero43-ipam-filter-card{display:grid;grid-template-columns:40px 1fr;gap:10px;padding:14px;border-radius:12px;}.hero43-ipam-filter-card>div>strong,.hero43-ipam-filter-card>div>small{display:block}.hero43-ipam-filter-card>div>strong{font-size:10px}.hero43-ipam-filter-card>div>small{margin-top:3px;font-size:7.5px;}.hero43-ipam-filter-card form{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr auto auto;gap:7px;align-items:end}.hero43-ipam-filter-card label span{display:block;margin-bottom:4px;font-size:7px;}.hero43-ipam-filter-card :is(select,.button){height:34px;font-size:8.5px}
.hero43-ipam-pool-list{display:grid}.hero43-ipam-pool{}.hero43-ipam-pool:last-child{}.hero43-ipam-pool>summary{display:grid;grid-template-columns:42px minmax(260px,1.2fr) minmax(240px,.8fr) auto 24px;align-items:center;gap:12px;padding:12px 14px;cursor:pointer;list-style:none}.hero43-ipam-pool>summary::-webkit-details-marker{display:none}.hero43-ipam-pool[open]>summary{}.hero43-ipam-afi{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;font-weight:800;font-size:10px;}.hero43-ipam-afi.ipv6{}.hero43-ipam-pool>summary>div:nth-child(2) strong,.hero43-ipam-pool>summary>div:nth-child(2) code{display:block}.hero43-ipam-pool>summary>div:nth-child(2) strong{margin:2px 0;font-size:10px;}.hero43-ipam-pool>summary>div:nth-child(2) code{font-size:8px;}.hero43-pool-usage{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px}.hero43-pool-usage strong{font-size:10px;}.hero43-pool-usage>span{height:4px;border-radius:99px;overflow:hidden;}.hero43-pool-usage>span i{display:block;width:var(--value);height:100%;}.hero43-pool-usage small{grid-column:1/-1;font-size:7px;}.hero43-chevron{display:grid;place-items:center;}.hero43-ipam-pool[open] .hero43-chevron{transform:rotate(180deg)}.hero43-ipam-pool-body{padding:0 14px 12px}.hero43-pool-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:10px 0}.hero43-pool-meta>span{padding:7px 8px;border-radius:7px;}.hero43-pool-meta small,.hero43-pool-meta strong{display:block}.hero43-pool-meta small{font-size:6.5px;}.hero43-pool-meta strong{margin-top:2px;font-size:8px;}.hero43-ipam-pool-body>footer{display:flex;align-items:center;gap:6px;margin-top:10px}

/* Automation */
.hero43-automation-pipeline .hero43-panel-head{}.hero43-pipeline{display:grid;grid-template-columns:auto minmax(40px,1fr) auto minmax(40px,1fr) auto minmax(40px,1fr) auto minmax(40px,1fr) auto;align-items:center;gap:9px;padding:12px 18px 18px}.hero43-pipeline>div{display:grid;justify-items:center;min-width:92px;text-align:center;}.hero43-pipeline-icon{display:grid;place-items:center;width:38px;height:38px;margin-bottom:7px;border-radius:10px;}.hero43-pipeline-icon .ui-icon{width:17px;height:17px}.hero43-pipeline>div strong{font-size:9px;}.hero43-pipeline>div small{margin-top:2px;font-size:7px}.hero43-pipeline>div.active .hero43-pipeline-icon{}.hero43-pipeline>div.ready .hero43-pipeline-icon{}.hero43-pipeline>i{height:1px;}
.hero43-automation-groups{display:grid}.hero43-automation-group{}.hero43-automation-group:last-child{}.hero43-automation-group>summary{display:grid;grid-template-columns:42px minmax(220px,1fr) auto auto 24px;align-items:center;gap:11px;padding:12px 14px;cursor:pointer;list-style:none}.hero43-automation-group>summary::-webkit-details-marker{display:none}.hero43-automation-group[open]>summary{}.hero43-device-orbit{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;}.hero43-device-orbit .ui-icon{width:17px}.hero43-automation-group>summary>div:nth-child(2) strong,.hero43-automation-group>summary>div:nth-child(2) small{display:block}.hero43-automation-group>summary>div:nth-child(2) strong{font-size:10px}.hero43-automation-group>summary>div:nth-child(2) small{margin-top:2px;font-size:7.5px;}.hero43-group-stats{display:flex;gap:5px}.hero43-group-stats>span{min-width:58px;padding:6px 8px;border-radius:7px;text-align:center;}.hero43-group-stats b,.hero43-group-stats small{display:block}.hero43-group-stats b{font-size:10px;}.hero43-group-stats small{font-size:6px;text-transform:uppercase;}.hero43-automation-group[open] .hero43-chevron{transform:rotate(180deg)}

/* Monitoring: remove industrial needle gauges in favor of editorial telemetry. */
.hero43-refresh-status{display:block;margin-top:7px;font-size:8px;}.hero43-monitor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:10px}.hero43-monitor-grid.top{grid-template-columns:repeat(3,minmax(0,1fr))}.hero43-monitor-card{display:grid;gap:10px;padding:12px;border-radius:12px;transition:.15s;}.hero43-monitor-card:hover{}.hero43-monitor-card.warning{}.hero43-monitor-card.critical{}.hero43-monitor-card.is-ignored{opacity:.55}.hero43-monitor-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.hero43-monitor-card>header h3{margin:3px 0 0;font-size:11px}.hero43-monitor-card>header h3 a{text-decoration:none;}.hero43-monitor-card>header small{display:block;margin-top:2px;font-size:7px;line-height:1.4;}.hero43-monitor-body{display:grid;grid-template-columns:88px 1fr;align-items:center;gap:12px}.hero43-monitor-radial{display:grid;place-items:center;width:82px;height:82px;border-radius:50%;}.hero43-monitor-card.warning .hero43-monitor-radial{}.hero43-monitor-card.critical .hero43-monitor-radial{}.hero43-monitor-radial:before{content:"";grid-area:1/1;width:67px;height:67px;border-radius:50%;}.hero43-monitor-radial>div{position:relative;grid-area:1/1;text-align:center}.hero43-monitor-radial strong,.hero43-monitor-radial span{display:block}.hero43-monitor-radial strong{font-size:15px;}.hero43-monitor-radial span{margin-top:1px;font-size:6px;text-transform:uppercase;}.hero43-monitor-directions{display:grid;gap:9px}.hero43-monitor-directions>div{display:grid;grid-template-columns:1fr auto;gap:2px 8px}.hero43-monitor-directions>div>span{display:flex;align-items:center;gap:5px;font-size:7px;}.hero43-monitor-directions>div>span i{width:6px;height:6px;border-radius:50%;}.hero43-monitor-directions>div.tx>span i{}.hero43-monitor-directions strong{font-size:11px;}.hero43-monitor-directions small{grid-column:2;font-size:7px;text-align:right;}.hero43-monitor-directions b{grid-column:1/-1;height:4px;border-radius:99px;overflow:hidden;}.hero43-monitor-directions b i{display:block;width:var(--value);height:100%;border-radius:inherit;}.hero43-monitor-directions .tx b i{}.hero43-monitor-capacity{display:flex;justify-content:space-between;gap:10px;padding:7px 8px;border-radius:7px;font-size:7px;}.hero43-monitor-capacity strong{}.hero43-monitor-card>footer{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:28px}.hero43-monitor-card>footer details{max-width:75%}.hero43-monitor-card .monitor-members summary{font-size:7.5px}.hero43-monitor-card .monitor-member-list{z-index:10}.hero43-monitor-card .monitor-member-list>div{font-size:7.5px}

/* Flat country flags: one optical baseline everywhere, no emoji-like variants. */
body[data-ui-shell="app"] :is(.country-flag-vector,.hero42-dc-flag,.hero42-device-flag,.rack-card-country,.service-location-country-flag,.customer-list-country-flag,.country-select-flat-flag){display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:0;vertical-align:middle;overflow:hidden;border-radius:3px;}
body[data-ui-shell="app"] :is(.country-flag-vector,.hero42-dc-flag,.hero42-device-flag){width:30px;height:20px;aspect-ratio:3/2}
body[data-ui-shell="app"] :is(.country-flag-vector,.hero42-dc-flag,.hero42-device-flag,.rack-card-country,.service-location-country-flag,.customer-list-country-flag,.country-select-flat-flag)>.country-flag-svg,
body[data-ui-shell="app"] :is(.country-flag-vector,.hero42-dc-flag,.hero42-device-flag,.rack-card-country,.service-location-country-flag,.customer-list-country-flag,.country-select-flat-flag) img.country-flag-svg{display:block;width:100%;height:100%;min-width:0;max-width:none;margin:0;object-fit:fill;border-radius:0;transform:none;}
body[data-ui-shell="app"] .hero42-country-name{align-items:center}.hero42-country-name>div{display:grid;align-content:center;min-height:28px}
body[data-ui-shell="app"] .hero42-dc-card-top{min-height:22px;align-items:center!important}

/* 4K / high-DPI readability. Existing 6–9px microcopy was too small on 4K. */
@media (min-width:1800px){
  body[data-ui-shell="app"] .portal-workspace .app-main{width:min(100%,2240px);padding-inline:26px}
  body[data-ui-shell="app"] .hero43-page{gap:19px;font-size:14px;}.hero43-title-block h1{font-size:38px}.hero43-title-block p{font-size:14px}.hero43-page .eyebrow{font-size:10px}.hero43-page .button{font-size:11.5px;}
  .hero43-kpi-grid>article{min-height:108px;padding:17px 18px}.hero43-kpi-icon{width:46px;height:46px;flex-basis:46px;}.hero43-kpi-icon .ui-icon{width:20px;height:20px}.hero43-kpi-grid small,.hero43-kpi-grid span{font-size:10.5px}.hero43-kpi-grid strong{font-size:25px}
  .hero43-panel-head{padding:18px 20px 15px!important;}.hero43-panel-head h2{font-size:19px}.hero43-panel-head small{font-size:11px}.hero43-panel-metric{font-size:12px;}
  .hero43-table th{height:46px;font-size:9px}.hero43-table td{padding:13px 15px!important;font-size:11px}.hero43-table td small{font-size:9px}.hero43-topology-map{height:610px}.hero43-corridor-row{padding:15px 17px}.hero43-site-code{min-width:54px;height:29px;font-size:9.5px}.hero43-corridor-title>strong{font-size:11px}.hero43-corridor-values{font-size:10px}.hero43-corridor-values em{font-size:12px}
  .hero43-donut-layout{grid-template-columns:310px 1fr}.hero43-donut-wrap{width:270px;height:270px}.hero43-donut-wrap>div strong{font-size:22px}.hero43-share-list strong{font-size:11px}.hero43-share-list small{font-size:9px}.hero43-share-list>b{font-size:12px}.hero43-provider-rank-list>a{padding:13px 16px}.hero43-provider-avatar{width:40px;height:40px}.hero43-provider-rank-list strong{font-size:11px}.hero43-provider-rank-list small{font-size:9px}.hero43-provider-card>header strong{font-size:12px}.hero43-provider-card>header small{font-size:9px}.hero43-provider-traffic>div:first-child span{font-size:9px}.hero43-provider-traffic>div:first-child strong{font-size:21px}.hero43-provider-traffic>div:first-child small{font-size:9px}.hero43-provider-facts small{font-size:8px}.hero43-provider-facts strong{font-size:10px}
  .hero43-ip-family>div:last-child>strong{font-size:13px}.hero43-ip-family>div:last-child>small{font-size:10px}.hero43-ipam-filter-card>div>strong{font-size:12px}.hero43-ipam-filter-card>div>small{font-size:9px}.hero43-ipam-filter-card label span{font-size:9px}.hero43-ipam-filter-card :is(select,.button){height:39px;font-size:10.5px}.hero43-ipam-pool>summary>div:nth-child(2) strong{font-size:12px}.hero43-ipam-pool>summary>div:nth-child(2) code{font-size:10px}.hero43-pool-usage strong{font-size:12px}.hero43-pool-usage small{font-size:9px}.hero43-pool-meta small{font-size:8px}.hero43-pool-meta strong{font-size:10px}
  .hero43-pipeline>div{min-width:110px}.hero43-pipeline-icon{width:44px;height:44px}.hero43-pipeline>div strong{font-size:11px}.hero43-pipeline>div small{font-size:9px}.hero43-automation-group>summary>div:nth-child(2) strong{font-size:12px}.hero43-automation-group>summary>div:nth-child(2) small{font-size:9px}.hero43-group-stats b{font-size:12px}.hero43-group-stats small{font-size:8px}
  .hero43-monitor-card{padding:15px;}.hero43-monitor-card>header h3{font-size:13px}.hero43-monitor-card>header small{font-size:9px}.hero43-monitor-radial{width:96px;height:96px}.hero43-monitor-radial:before{width:78px;height:78px}.hero43-monitor-radial strong{font-size:18px}.hero43-monitor-radial span{font-size:8px}.hero43-monitor-directions>div>span{font-size:9px}.hero43-monitor-directions strong{font-size:13px}.hero43-monitor-directions small{font-size:9px}.hero43-monitor-capacity{font-size:9px}.hero43-refresh-status{font-size:10px}
  /* UI 4.2 pages must remain readable on the same screens. */
  body[data-ui-shell="app"] .hero42-title-block h1{font-size:38px}.hero42-title-block p{font-size:14px}.hero42-context-pill{height:29px;font-size:10px}.hero42-kpi-row small,.hero42-kpi-row span{font-size:10px}.hero42-kpi-row strong{font-size:25px}.hero42-panel-head h2{font-size:18px}.hero42-panel-head small{font-size:10.5px}.hero42-country-name strong{font-size:12.5px}.hero42-country-name small{font-size:9.5px}.hero42-country-health,.hero42-country-code{font-size:10px}.hero42-dc-code{font-size:9.5px}.hero42-dc-card-top .status-dot{font-size:8.5px}.hero42-dc-card>strong{font-size:11.5px}.hero42-dc-card>small{font-size:9px}.hero42-dc-card-metrics span{font-size:8px}.hero42-dc-card-metrics b{font-size:10.5px}.hero42-service-type-card strong{font-size:11px}.hero42-service-type-card small{font-size:9px}.hero42-service-type-card>b{font-size:20px}.hero42-filter-bar :is(input,select){height:40px;font-size:10.5px}.hero42-data-table thead th{height:44px;font-size:8.8px}.hero42-data-table tbody td{padding:12px 13px!important;font-size:10.5px}.hero42-table-primary strong{font-size:11px}.hero42-table-primary small{font-size:8.8px}.hero42-term-line{font-size:8.5px}.hero42-service-summary-grid .metric-card strong{font-size:19px}.hero42-order-progress em{font-size:10px}.hero42-pipeline-rail>span strong{font-size:10.5px}.hero42-pipeline-rail>span small{font-size:8.5px}
}
@media (min-width:2500px){
  body[data-ui-shell="app"] .portal-workspace .app-main{width:min(100%,2740px);padding-inline:34px}.hero43-page{width:min(100%,2660px)!important;gap:22px!important;}.hero43-title-block h1{font-size:46px}.hero43-title-block p{font-size:16px}.hero43-page .eyebrow{font-size:11px}.hero43-kpi-grid>article{min-height:124px}.hero43-kpi-grid small,.hero43-kpi-grid span{font-size:12px}.hero43-kpi-grid strong{font-size:29px}.hero43-panel-head h2{font-size:22px}.hero43-panel-head small{font-size:12.5px}.hero43-panel-metric{font-size:13px;}.hero43-table th{font-size:10px}.hero43-table td{font-size:12px}.hero43-table td small{font-size:10px}.hero43-topology-map{height:690px}.hero43-monitor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero43-monitor-card>header h3{font-size:14px}.hero43-monitor-card>header small{font-size:10px}
  body[data-ui-shell="app"] .hero42-page{width:min(100%,2660px)!important;}.hero42-title-block h1{font-size:46px}.hero42-title-block p{font-size:16px}.hero42-kpi-row small,.hero42-kpi-row span{font-size:11.5px}.hero42-kpi-row strong{font-size:29px}.hero42-panel-head h2{font-size:21px}.hero42-panel-head small{font-size:12px}.hero42-country-name strong{font-size:14px}.hero42-country-name small{font-size:10.5px}.hero42-dc-card>strong{font-size:13px}.hero42-dc-card>small{font-size:10px}.hero42-dc-card-metrics span{font-size:9px}.hero42-dc-card-metrics b{font-size:12px}.hero42-data-table thead th{font-size:10px}.hero42-data-table tbody td{font-size:12px}.hero42-table-primary strong{font-size:12.5px}.hero42-table-primary small{font-size:10px}

}
@media (max-width:1400px){.hero43-backbone-overview,.hero43-upstream-overview{grid-template-columns:1fr}.hero43-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero43-ipam-family-grid{grid-template-columns:1fr 1fr}.hero43-ipam-filter-card{grid-column:1/-1;}.hero43-monitor-grid,.hero43-monitor-grid.top{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:980px){.hero43-page-head{align-items:flex-start!important;flex-direction:column;}.hero43-page-head .heading-actions{justify-content:flex-start}.hero43-kpi-grid{grid-template-columns:repeat(2,1fr);}.hero43-proposal-grid,.hero43-provider-grid{grid-template-columns:1fr 1fr}.hero43-donut-layout{grid-template-columns:1fr}.hero43-ipam-family-grid{grid-template-columns:1fr}.hero43-ipam-filter-card{grid-column:auto;}.hero43-ipam-filter-card form{grid-template-columns:1fr 1fr}.hero43-ipam-pool>summary{grid-template-columns:42px 1fr auto 24px}.hero43-pool-usage{grid-column:2/-1}.hero43-pipeline{overflow:auto;min-width:850px}.hero43-monitor-grid,.hero43-monitor-grid.top{grid-template-columns:1fr 1fr}}
@media (max-width:680px){.hero43-kpi-grid,.hero43-proposal-grid,.hero43-provider-grid,.hero43-monitor-grid,.hero43-monitor-grid.top{grid-template-columns:1fr}.hero43-ipam-filter-card form{grid-template-columns:1fr}.hero43-ipam-pool>summary{grid-template-columns:38px 1fr auto}.hero43-ipam-pool>summary>.badge{display:none;}.hero43-pool-meta{grid-template-columns:1fr 1fr}.hero43-automation-group>summary{grid-template-columns:38px 1fr auto}.hero43-group-stats{grid-column:2}.hero43-automation-group>summary>.badge{display:none;}.hero43-monitor-body{grid-template-columns:76px 1fr}.hero43-topology-map{height:380px}.hero43-map-legend{flex-wrap:wrap;padding-block:8px}}
/* Country/map flag alignment follow-up for UI 4.3. */
body[data-ui-shell="app"] .hero42-dc-map-marker{align-items:center}
body[data-ui-shell="app"] .hero42-dc-map-marker img{display:block;width:18px;height:12px;flex:0 0 18px;margin:0;object-fit:fill;border-radius:2px;}
body[data-ui-shell="app"] .map-inline-flag{display:inline-block;width:24px;height:16px;vertical-align:middle;object-fit:fill;line-height:0;border-radius:2px;}
@media (min-width:1800px){
  body[data-ui-shell="app"] .hero42-country-bar{min-height:58px!important;padding:12px 16px!important}
  body[data-ui-shell="app"] .hero42-dc-map-marker{height:32px;padding-inline:9px;gap:6px}
  body[data-ui-shell="app"] .hero42-dc-map-marker img{width:21px;height:14px;flex-basis:21px}
  body[data-ui-shell="app"] .hero42-dc-map-marker strong{font-size:9px}
}
@media (min-width:2500px){
  body[data-ui-shell="app"] .hero42-country-bar{min-height:66px!important;padding:14px 18px!important}
  body[data-ui-shell="app"] .hero42-dc-map-marker{height:36px}
  body[data-ui-shell="app"] .hero42-dc-map-marker img{width:24px;height:16px;flex-basis:24px}
  body[data-ui-shell="app"] .hero42-dc-map-marker strong{font-size:10.5px}
}

/* ========================================================================== */
/* v10.47.36 — UI 4.4 Intelligence + Business + Customer Portal fidelity      */
/* Mockup-led composition for analytics, threat, peering and commercial UX.   */
/* ========================================================================== */

body[data-ui-shell="app"] .hero44-page{width:min(100%,1760px);margin:0 auto;display:grid;gap:18px;}
body[data-ui-shell="app"] .hero44-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:2px 0 4px;}
body[data-ui-shell="app"] .hero44-title-block{min-width:0;}
body[data-ui-shell="app"] .hero44-title-block h1{margin:4px 0 7px;font-size:clamp(30px,2.15vw,42px);line-height:1.02;letter-spacing:-.04em;font-weight:800;}
body[data-ui-shell="app"] .hero44-title-block p{margin:0;max-width:920px;font-size:13px;line-height:1.55;}
body[data-ui-shell="app"] .hero44-page-head .heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}

/* Shared luminous panels and KPI tiles */
body[data-ui-shell="app"] .hero44-panel{position:relative;overflow:hidden;border-radius:16px;}
body[data-ui-shell="app"] .hero44-panel:before{content:"";position:absolute;inset:0;pointer-events:none;}
body[data-ui-shell="app"] .hero44-panel>*{position:relative}
body[data-ui-shell="app"] .hero44-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px 15px;}
body[data-ui-shell="app"] .hero44-panel-head h2{margin:3px 0 2px;font-size:17px;letter-spacing:-.022em;}
body[data-ui-shell="app"] .hero44-panel-head small{font-size:10px;line-height:1.45;}
body[data-ui-shell="app"] .hero44-panel-metric{font-size:11px;font-weight:800;white-space:nowrap;}
body[data-ui-shell="app"] .hero44-kpi-grid{display:grid;gap:12px;}
body[data-ui-shell="app"] .hero44-kpi-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-ui-shell="app"] .hero44-kpi-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}
body[data-ui-shell="app"] .hero44-kpi-grid-six{grid-template-columns:repeat(6,minmax(0,1fr))}
body[data-ui-shell="app"] .hero44-kpi-grid>article{position:relative;overflow:hidden;display:flex;align-items:center;gap:13px;min-width:0;min-height:96px;padding:14px 15px;border-radius:14px;}
body[data-ui-shell="app"] .hero44-kpi-grid>article:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;opacity:.86;}
body[data-ui-shell="app"] .hero44-kpi-grid>article.danger:after{}
body[data-ui-shell="app"] .hero44-kpi-grid>article.warning:after{}
body[data-ui-shell="app"] .hero44-kpi-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:11px;}
body[data-ui-shell="app"] .hero44-kpi-icon .ui-icon{width:19px;height:19px}
body[data-ui-shell="app"] .hero44-kpi-icon.cyan{}
body[data-ui-shell="app"] .hero44-kpi-icon.violet{}
body[data-ui-shell="app"] .hero44-kpi-icon.good{}
body[data-ui-shell="app"] .hero44-kpi-icon.warning{}
body[data-ui-shell="app"] .hero44-kpi-icon.danger{}
body[data-ui-shell="app"] .hero44-kpi-grid>article>div{min-width:0;display:grid;gap:2px}
body[data-ui-shell="app"] .hero44-kpi-grid small{font-size:8.5px;text-transform:uppercase;letter-spacing:.09em;font-weight:800;}
body[data-ui-shell="app"] .hero44-kpi-grid strong{overflow:hidden;text-overflow:ellipsis;font-size:21px;line-height:1.05;letter-spacing:-.035em;white-space:nowrap;}
body[data-ui-shell="app"] .hero44-kpi-grid span:not(.hero44-kpi-icon){overflow:hidden;text-overflow:ellipsis;font-size:9px;white-space:nowrap;}

/* Filters */
body[data-ui-shell="app"] .hero44-filterbar{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:14px;}
body[data-ui-shell="app"] .hero44-filterbar>form{display:flex;align-items:end;gap:9px;min-width:0;flex-wrap:wrap}
body[data-ui-shell="app"] .hero44-filterbar label{display:grid;gap:5px}
body[data-ui-shell="app"] .hero44-filterbar label>span{font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;}
body[data-ui-shell="app"] .hero44-filterbar :is(input,select){height:36px;min-width:145px;font-size:10px;}
body[data-ui-shell="app"] .hero44-search-field{position:relative;display:flex!important;align-items:center!important;gap:8px;min-width:min(420px,40vw);height:38px;padding:0 10px;border-radius:9px;}
body[data-ui-shell="app"] .hero44-search-field>span{display:grid;}.hero44-search-field .ui-icon{width:16px;height:16px}
body[data-ui-shell="app"] .hero44-search-field input{min-width:0!important;width:100%;height:34px!important;padding:0!important;}
body[data-ui-shell="app"] .hero44-filterbar>span{font-size:10px;}
body[data-ui-shell="app"] .hero44-engine-state{display:flex;align-items:center;gap:9px;min-width:220px}
body[data-ui-shell="app"] .hero44-engine-state>div{display:grid}.hero44-engine-state strong{font-size:10px;}.hero44-engine-state small{font-size:8.5px;}.hero44-live-dot{width:9px;height:9px;border-radius:50%;}

/* sFlow */
body[data-ui-shell="app"] .hero44-analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body[data-ui-shell="app"] .hero44-rank-visual{padding:6px 12px 12px}
body[data-ui-shell="app"] .hero44-rank-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:8px 8px;text-decoration:none;}
body[data-ui-shell="app"] .hero44-rank-row:hover{}
body[data-ui-shell="app"] .hero44-rank-number{font-size:9px;font-weight:800;}
body[data-ui-shell="app"] .hero44-rank-copy{display:grid;gap:2px;min-width:0}.hero44-rank-copy>strong{overflow:hidden;text-overflow:ellipsis;font-size:10.5px;white-space:nowrap;}.hero44-rank-copy>small{overflow:hidden;text-overflow:ellipsis;font-size:8.5px;white-space:nowrap;}
body[data-ui-shell="app"] .hero44-rank-track{height:3px;margin-top:4px;border-radius:9px;overflow:hidden;}.hero44-rank-track i{display:block;height:100%;border-radius:9px;}
body[data-ui-shell="app"] .hero44-rank-visual.destination .hero44-rank-track i{}
body[data-ui-shell="app"] .hero44-rank-value{display:grid;justify-items:end;gap:1px}.hero44-rank-value strong{font-size:10.5px;}.hero44-rank-value small{font-size:8px;}
body[data-ui-shell="app"] .hero44-upstream-intelligence{overflow:visible}
body[data-ui-shell="app"] .hero44-upstream-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px}
body[data-ui-shell="app"] .hero44-upstream-card{border-radius:13px;overflow:hidden;}
body[data-ui-shell="app"] .hero44-upstream-card>header{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px;}
.hero44-provider-orb{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;font-size:12px;font-weight:800;}
body[data-ui-shell="app"] .hero44-upstream-card>header>div:nth-child(2){display:grid}.hero44-upstream-card header strong{font-size:10px;}.hero44-upstream-card header small{font-size:8px;}.hero44-upstream-card header>a{font-size:8.5px;font-weight:800}
body[data-ui-shell="app"] .hero44-upstream-sides{display:grid;grid-template-columns:1fr 1fr}.hero44-upstream-sides>div{padding:10px}.hero44-upstream-sides>div+div{}.hero44-upstream-sides>div>span{display:block;margin-bottom:6px;font-size:7.5px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;}.hero44-upstream-sides a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 0;text-decoration:none;}.hero44-upstream-sides a strong{overflow:hidden;text-overflow:ellipsis;font-size:8.5px;font-weight:700;white-space:nowrap;}.hero44-upstream-sides a b{font-size:8px;white-space:nowrap;}
body[data-ui-shell="app"] .hero44-technical-disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;cursor:pointer}.hero44-technical-disclosure>summary::-webkit-details-marker{display:none}.hero44-technical-disclosure>summary>span:first-child{display:grid;gap:3px}.hero44-technical-disclosure>summary strong{font-size:12px;}.hero44-technical-disclosure>summary small{font-size:9px;}.hero44-technical-disclosure>summary>span:last-child{}.hero44-technical-disclosure[open]>summary{}
.hero44-tech-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding:12px}.hero44-tech-grid article{display:grid;gap:3px;padding:11px;border-radius:10px;}.hero44-tech-grid small{font-size:8px;text-transform:uppercase;}.hero44-tech-grid strong{font-size:10px;}.hero44-tech-grid span{font-size:8.5px;}
.hero44-port-chip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:0 12px 12px}.hero44-port-chip-grid a{display:grid;grid-template-columns:auto 1fr;gap:1px 7px;padding:9px 10px;border-radius:9px;text-decoration:none;}.hero44-port-chip-grid a strong{font-size:8.5px;}.hero44-port-chip-grid a span{font-size:8.5px;}.hero44-port-chip-grid a small{grid-column:1/-1;font-size:7.5px;}
.hero44-empty-visual{min-height:120px;display:grid;place-items:center;align-content:center;gap:6px;padding:24px;text-align:center;font-size:10px;}.hero44-empty-visual>span .ui-icon,.hero44-empty-visual>.ui-icon{width:28px;height:28px;}.hero44-empty-visual strong{font-size:12px;}.hero44-empty-visual small{max-width:430px;font-size:9px;}

/* DDoS */
body[data-ui-shell="app"] .hero44-threat-overview{display:grid;grid-template-columns:260px 1fr;gap:12px}
body[data-ui-shell="app"] .hero44-threat-shield{position:relative;overflow:hidden;display:flex;align-items:center;gap:16px;padding:15px 17px;border-radius:15px;}.hero44-threat-shield.disabled{}.hero44-threat-shield>div:last-child{display:grid;gap:2px}.hero44-threat-shield>div:last-child>strong{font-size:23px;}.hero44-threat-shield>div:last-child>small{font-size:8.5px;}
.hero44-shield-orbit{position:relative;display:grid;place-items:center;width:72px;height:72px;flex:0 0 72px;border-radius:50%;}.hero44-shield-orbit>span{display:grid;}.hero44-shield-orbit .ui-icon{width:32px;height:32px}.hero44-shield-orbit i{position:absolute;width:7px;height:7px;border-radius:50%;}.hero44-shield-orbit i:nth-child(2){top:5px;left:33px}.hero44-shield-orbit i:nth-child(3){right:4px;bottom:19px}.hero44-shield-orbit i:nth-child(4){left:7px;bottom:12px}
body[data-ui-shell="app"] .hero44-ddos-kpis{grid-template-columns:repeat(4,1fr)}
body[data-ui-shell="app"] .hero44-ddos-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.65fr);gap:14px}.hero44-ddos-side{display:grid;gap:14px;align-content:start}
.hero44-incident-list{padding:6px 10px 11px}.hero44-incident-card{position:relative;display:grid;grid-template-columns:165px 1fr 180px 150px 115px;align-items:center;gap:12px;min-height:68px;padding:9px 9px 9px 14px;text-decoration:none;}.hero44-incident-card:hover{}.hero44-incident-accent{position:absolute;left:0;top:12px;bottom:12px;width:2px;border-radius:4px;}.hero44-incident-card.active .hero44-incident-accent{}.hero44-incident-card.suspected .hero44-incident-accent,.hero44-incident-card.cooldown .hero44-incident-accent{}.hero44-incident-id,.hero44-incident-target,.hero44-incident-rate,.hero44-incident-vector,.hero44-incident-verdict{display:grid;gap:2px;min-width:0}.hero44-incident-id>strong{font-size:9px;}.hero44-incident-id>small,.hero44-incident-target>small,.hero44-incident-rate>small,.hero44-incident-vector>small{font-size:7.5px;text-transform:uppercase;letter-spacing:.07em;}.hero44-incident-target>strong,.hero44-incident-rate>strong,.hero44-incident-vector>strong{overflow:hidden;text-overflow:ellipsis;font-size:9.5px;white-space:nowrap;}.hero44-incident-target>span,.hero44-incident-rate>span,.hero44-incident-vector>span,.hero44-incident-verdict>small{overflow:hidden;text-overflow:ellipsis;font-size:8px;white-space:nowrap;}.hero44-threat-track{position:relative;height:3px;margin-top:3px;border-radius:9px;}.hero44-threat-track i{display:block;height:100%;border-radius:9px;}.hero44-threat-track b{position:absolute;top:-2px;width:1px;height:7px;}.hero44-incident-verdict{justify-items:start}
.hero44-detector-visual{display:grid;grid-template-columns:115px 1fr;align-items:center;gap:14px;padding:16px}.hero44-detector-ring{--p:50;position:relative;display:grid;place-items:center;align-content:center;width:104px;height:104px;border-radius:50%;}.hero44-detector-ring:before{content:"";position:absolute;width:82px;height:82px;border-radius:50%;}.hero44-detector-ring>*{position:relative}.hero44-detector-ring strong{font-size:20px;}.hero44-detector-ring span{font-size:7.5px;text-transform:uppercase;}.hero44-detector-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hero44-detector-facts span{display:grid;gap:1px;padding:7px;border-radius:8px;}.hero44-detector-facts small{font-size:7px;}.hero44-detector-facts strong{font-size:9.5px;}.hero44-ai-state{display:flex;align-items:center;gap:11px;padding:14px 16px}.hero44-ai-orb{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;font-size:12px;font-weight:800;}.hero44-ai-state>div{display:grid}.hero44-ai-state strong{font-size:10px;}.hero44-ai-state small{font-size:8px;}.hero44-tech-list{display:grid;padding:0 15px 15px}.hero44-tech-list>span{display:grid;grid-template-columns:1fr auto;gap:2px 9px;padding:8px 0;}.hero44-tech-list small{font-size:8px;}.hero44-tech-list strong{font-size:8.5px;text-align:right;}.hero44-tech-list b{grid-column:1/-1;font-size:7.5px;font-weight:600;}
.ddos-health-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px}.ddos-health-grid>span{display:grid;gap:3px;min-height:66px;padding:10px;border-radius:9px}.ddos-health-grid small{font-size:7px;text-transform:uppercase;letter-spacing:.06em}.ddos-health-grid strong{font-size:9px;overflow-wrap:anywhere}.ddos-health-grid em{font-size:7.5px;font-style:normal;opacity:.72;overflow-wrap:anywhere}.ddos-health-panel>.notice{margin:0 12px 12px}.ddos-campaign-list{display:grid;gap:6px;padding:10px}.ddos-campaign-card{display:grid;grid-template-columns:180px minmax(190px,1fr) 170px minmax(190px,1fr);align-items:center;gap:12px;padding:11px}.ddos-campaign-card>div{display:grid;gap:2px;min-width:0}.ddos-campaign-card small{font-size:7.5px;text-transform:uppercase}.ddos-campaign-card strong{font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ddos-campaign-card span{font-size:8px}.ddos-profile-list{display:grid;gap:7px;padding:10px}.ddos-profile-card{padding:0;overflow:hidden}.ddos-profile-card>summary{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,1fr) auto;align-items:center;gap:12px;padding:12px;cursor:pointer;list-style:none}.ddos-profile-card>summary::-webkit-details-marker{display:none}.ddos-profile-card>summary>span:first-child{display:grid;gap:2px}.ddos-profile-card>summary strong{font-size:10px}.ddos-profile-card>summary small,.ddos-profile-card>summary>span:nth-child(2){font-size:8px}.ddos-managed-profile{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px}.ddos-managed-profile>span{display:grid;gap:3px}.ddos-managed-profile small{font-size:7px;text-transform:uppercase;letter-spacing:.05em}.ddos-managed-profile strong{font-size:8.5px}.ddos-profile-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:12px}.ddos-profile-form label{display:grid;align-content:start;gap:4px;font-size:8px;font-weight:700}.ddos-profile-form label small{font-size:7px;font-weight:400}.ddos-profile-form :is(input,select,textarea){width:100%;font-size:8.5px}.ddos-profile-form :is(input,select){height:34px}.ddos-profile-enabled{display:flex!important;align-items:center;align-self:end;height:34px}.ddos-profile-enabled input{width:auto;height:auto}.ddos-profile-notes{grid-column:1/-1}.ddos-profile-actions{grid-column:1/-1;display:flex;justify-content:flex-end}.ddos-delete-form{display:flex;justify-content:flex-end;padding:0 12px 12px}

/* Peering */
body[data-ui-shell="app"] .hero44-peering-overview{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.55fr);gap:14px}.hero44-exchange-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px}.hero44-exchange-card{position:relative;display:grid;grid-template-columns:48px 1fr;gap:9px;padding:12px;border-radius:12px;text-decoration:none!important;}.hero44-exchange-card:hover{transform:translateY(-1px);}.hero44-exchange-orb{position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;font-size:9px;font-weight:800;}.hero44-exchange-orb i{position:absolute;inset:6px;border-radius:50%;transform:rotate(45deg) scaleY(.48);}.hero44-exchange-copy{display:grid;min-width:0}.hero44-exchange-copy strong{overflow:hidden;text-overflow:ellipsis;font-size:10px;white-space:nowrap;}.hero44-exchange-copy small{font-size:8px;}.hero44-exchange-copy span{overflow:hidden;text-overflow:ellipsis;font-size:7.5px;white-space:nowrap;}.hero44-exchange-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.hero44-exchange-stats span{display:grid;justify-items:center;padding:5px;border-radius:7px;}.hero44-exchange-stats b{font-size:10px;}.hero44-exchange-stats small{font-size:7px;}.hero44-exchange-health{grid-column:1/-1;height:2px;border-radius:9px;overflow:hidden;}.hero44-exchange-health i{display:block;height:100%;}
.hero44-peering-intel{align-self:start}.hero44-intel-orbit{position:relative;display:grid;place-items:center;width:130px;height:130px;margin:18px auto 10px;border-radius:50%;}.hero44-intel-orbit>div{display:grid;justify-items:center}.hero44-intel-orbit strong{font-size:22px;}.hero44-intel-orbit span{font-size:7.5px;}.hero44-intel-orbit i{position:absolute;inset:14px;border-radius:50%;transform:rotate(28deg) scaleY(.4);}.hero44-intel-orbit i:last-child{inset:26px;transform:rotate(-34deg) scaleY(.56);}.hero44-peering-intel>form{padding:0 15px 15px}.hero44-peering-intel>form .button{width:100%;}
.hero44-outreach-timeline{padding:6px 12px 12px}.hero44-outreach-row{position:relative;display:grid;grid-template-columns:10px minmax(160px,.8fr) 1fr 170px;align-items:center;gap:12px;min-height:58px;padding:7px 7px;text-decoration:none!important;}.hero44-outreach-row:hover{}.hero44-outreach-node{width:8px;height:8px;border-radius:50%;}.hero44-outreach-node.good{}.hero44-outreach-node.warning{}.hero44-outreach-node.danger{}.hero44-outreach-row>div:nth-child(2){display:grid}.hero44-outreach-row>div:nth-child(2) strong{font-size:9.5px;}.hero44-outreach-row>div:nth-child(2) small{font-size:7.5px;}.hero44-outreach-ix{display:flex;flex-wrap:wrap;gap:5px}.hero44-outreach-ix span{padding:3px 7px;border-radius:7px;font-size:7.5px;}.hero44-outreach-row>div:last-child{display:grid;justify-items:end;gap:3px}.hero44-outreach-row>div:last-child small{font-size:7.5px;}
.hero44-opportunity-shell .peering-proposals-loading{min-height:110px;}.hero44-config-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:12px;padding:14px}.hero44-config-grid>section{padding:13px;border-radius:11px;}.hero44-config-grid h3{margin:0 0 12px;font-size:11px;}.hero44-settings-inline{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.hero44-nested-disclosure{margin:10px 0}.hero44-nested-disclosure>summary{cursor:pointer;font-size:9px;}.hero44-nested-disclosure[open]>summary{margin-bottom:8px}

/* Customer / supplier business analytics */
body[data-ui-shell="app"] .hero44-business-analytics,body[data-ui-shell="app"] .hero44-supplier-analytics{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hero44-donut-layout{display:grid;grid-template-columns:210px 1fr;align-items:center;gap:14px;padding:16px}.hero44-donut-wrap{position:relative;width:180px;height:180px;margin:auto}.hero44-donut-wrap svg{width:100%;height:100%;transform:rotate(0)}.hero44-donut-wrap circle{stroke-width:5;}.hero44-donut-wrap .track{}.hero44-donut-wrap .seg{}.hero44-donut-wrap>div{position:absolute;inset:0;display:grid;place-content:center;justify-items:center}.hero44-donut-wrap>div strong{max-width:120px;overflow:hidden;text-overflow:ellipsis;font-size:15px;white-space:nowrap;}.hero44-donut-wrap>div span{font-size:7.5px;text-transform:uppercase;}.hero44-donut-legend{display:grid}.hero44-donut-legend>a,.hero44-donut-legend>div{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:8px;padding:7px 3px;text-decoration:none;}.hero44-donut-legend i{width:7px;height:7px;border-radius:50%;}.hero44-donut-legend span{display:grid}.hero44-donut-legend strong{overflow:hidden;text-overflow:ellipsis;font-size:9px;white-space:nowrap;}.hero44-donut-legend small{font-size:7.5px;}.hero44-donut-legend b{font-size:8.5px;}
body[data-ui-shell="app"] .hero44-customer-grid,body[data-ui-shell="app"] .hero44-supplier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hero44-customer-card,.hero44-supplier-card{overflow:hidden;border-radius:14px;}.hero44-customer-card>header,.hero44-supplier-card>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:13px;}.hero44-customer-flag{display:grid;place-items:center;width:34px;height:24px;overflow:hidden;border-radius:4px;}.hero44-customer-card>header img,.hero44-customer-flag img{display:block;width:32px;height:21px;margin:0;object-fit:fill;border-radius:3px}.hero44-customer-card>header>div:nth-child(2),.hero44-supplier-card>header>div:nth-child(2){display:grid;min-width:0}.hero44-customer-card header strong,.hero44-supplier-card header strong{overflow:hidden;text-overflow:ellipsis;font-size:10.5px;white-space:nowrap;}.hero44-customer-card header small,.hero44-supplier-card header small{font-size:8px;}.hero44-customer-card header .status-dot,.hero44-supplier-card header .status-dot{font-size:7.5px}
.hero44-customer-value,.hero44-supplier-commercial{display:grid;grid-template-columns:1.35fr .65fr .8fr;gap:6px;padding:10px 12px}.hero44-customer-value>div,.hero44-supplier-commercial>span{display:grid;gap:2px;padding:8px;border-radius:8px;}.hero44-customer-value small,.hero44-supplier-commercial small{font-size:7px;text-transform:uppercase;}.hero44-customer-value strong,.hero44-supplier-commercial strong{overflow:hidden;text-overflow:ellipsis;font-size:10px;white-space:nowrap;}.hero44-service-chip-row{display:grid;gap:4px;padding:2px 12px 11px}.hero44-service-chip-row>a{display:grid;grid-template-columns:8px 1fr;align-items:center;gap:8px;padding:6px 7px;border-radius:8px;text-decoration:none;}.hero44-service-chip-row>a>span:last-child{display:grid}.hero44-service-chip-row strong{font-size:8.5px;}.hero44-service-chip-row small{font-size:7.5px;}.hero44-customer-card>footer,.hero44-supplier-card>footer{display:flex;gap:6px;padding:10px 12px;}
.hero44-contract-stack{display:grid;gap:4px;padding:2px 12px 11px}.hero44-contract-stack>a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:6px 7px;border-radius:8px;text-decoration:none;}.hero44-contract-stack>a>div{display:grid;min-width:0}.hero44-contract-stack strong{overflow:hidden;text-overflow:ellipsis;font-size:8.5px;white-space:nowrap;}.hero44-contract-stack small{overflow:hidden;text-overflow:ellipsis;font-size:7.5px;white-space:nowrap;}.hero44-contract-stack b{font-size:8px;white-space:nowrap;}.hero44-renewal-list{padding:6px 12px 12px}.hero44-renewal-list>a{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:7px 4px;text-decoration:none;}.hero44-renewal-date{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;}.hero44-renewal-date.warning{}.hero44-renewal-date.danger{}.hero44-renewal-date strong{font-size:10px;}.hero44-renewal-date small{font-size:6.5px;text-transform:uppercase;}.hero44-renewal-list>a>div{display:grid}.hero44-renewal-list>a>div strong{font-size:9px;}.hero44-renewal-list>a>div small{font-size:7.5px;}.hero44-renewal-list>a>b{font-size:8.5px;}

/* Billing */
body[data-ui-shell="app"] .hero44-billing-overview{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.55fr);gap:14px}.hero44-billing-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:14px}.hero44-toggle-card{position:relative;display:grid!important;grid-template-columns:36px 1fr auto;align-items:center;gap:9px;padding:11px;border-radius:11px;cursor:pointer;}.hero44-toggle-card input{position:absolute;opacity:0;pointer-events:none}.hero44-toggle-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;}.hero44-toggle-card>span:nth-child(3){display:grid}.hero44-toggle-card strong{font-size:9px;}.hero44-toggle-card small{font-size:7.5px;}.hero44-toggle-card>i{position:relative;width:28px;height:16px;border-radius:20px;}.hero44-toggle-card>i:before{content:"";position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:50%;transition:.2s;}.hero44-toggle-card:has(input:checked){}.hero44-toggle-card:has(input:checked)>i{}.hero44-toggle-card:has(input:checked)>i:before{left:14px;}.hero44-billing-dates{display:flex;align-items:end;gap:9px;padding:0 14px 14px}.hero44-billing-dates label{display:grid;gap:4px;flex:1}.hero44-billing-dates label span,.hero44-billing-run label span{font-size:7.5px;text-transform:uppercase;}.hero44-billing-dates input{height:36px}.hero44-billing-run{padding-bottom:14px}.hero44-billing-orbit{position:relative;display:grid;place-items:center;width:84px;height:84px;margin:17px auto;border-radius:50%;}.hero44-billing-orbit .ui-icon{width:30px;height:30px}.hero44-billing-orbit i{position:absolute;inset:10px;border-radius:50%;transform:rotate(35deg) scaleY(.42);}.hero44-billing-orbit i:last-child{inset:22px;transform:rotate(-30deg) scaleY(.55)}.hero44-billing-run>form{display:grid;gap:8px;padding:0 14px}.hero44-billing-run>form label{display:grid;gap:4px}.hero44-billing-run>a{margin:8px 14px 0;width:calc(100% - 28px);justify-content:center}.hero44-ledger-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.hero44-ledger-actions .inline-form{display:flex;gap:6px}.hero44-ledger-actions select{height:32px;font-size:8.5px}.hero44-table{width:100%;}.hero44-table th{height:40px;font-size:7.5px;text-transform:uppercase;letter-spacing:.07em;}.hero44-table td{padding:10px 12px!important;font-size:9px;}.hero44-table-primary{display:flex;align-items:center;gap:8px;text-decoration:none;}.hero44-table-primary>span:last-child{display:grid}.hero44-table-primary strong{font-size:9px;}.hero44-table-primary small{font-size:7px;}.hero44-order-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;}.hero44-order-icon .ui-icon{width:15px;height:15px}.hero44-schedule-body{padding:12px}.hero44-activation-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:10px;}.hero44-activation-bar>div{display:grid}.hero44-activation-bar strong{font-size:9px;}.hero44-activation-bar small{font-size:7.5px;}.hero44-activation-bar form{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.hero44-activation-bar form :is(input,select){height:32px;font-size:8px}.hero44-activation-bar form label{font-size:7.5px;}.hero44-schedule-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:10px}.hero44-schedule-card{overflow:hidden;border-radius:10px;}.hero44-schedule-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;}.hero44-schedule-card>header>div{display:grid}.hero44-schedule-card header strong{font-size:9px;}.hero44-schedule-card header small{font-size:7.5px;}.hero44-schedule-value{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px 10px}.hero44-schedule-value>span{display:grid}.hero44-schedule-value small{font-size:7px;}.hero44-schedule-value strong{font-size:9px;}.hero44-schedule-card form{padding:0 10px 10px}.hero44-schedule-card .hero44-settings-inline{grid-template-columns:repeat(3,1fr);gap:6px}.hero44-schedule-card label{display:grid;gap:3px}.hero44-schedule-card label span{font-size:6.8px;}.hero44-schedule-card :is(input,select){height:31px;font-size:7.5px}.hero44-checkbox-row{display:flex;align-items:center;gap:10px;margin-top:7px}.hero44-checkbox-row label{display:flex!important;align-items:center;gap:5px;font-size:7.5px;}.hero44-checkbox-row .button{margin-left:auto;}

/* Settings */
.hero44-settings-launcher{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.hero44-settings-launcher>a{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;min-height:76px;padding:11px;border-radius:12px;text-decoration:none;}.hero44-settings-launcher>a:hover{transform:translateY(-1px);}.hero44-settings-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;}.hero44-settings-launcher>a>div{display:grid;min-width:0}.hero44-settings-launcher strong{font-size:9px;}.hero44-settings-launcher small{overflow:hidden;text-overflow:ellipsis;font-size:7px;white-space:nowrap;}.hero44-settings-launcher>a>i{display:grid;}.hero44-settings-launcher>a>i .ui-icon{width:14px;height:14px}
.hero44-email-layout{display:grid;grid-template-columns:240px 1fr 330px;align-items:center;gap:16px;padding:15px}.hero44-email-visual{display:grid;justify-items:center;gap:4px;padding:10px;}.hero44-mail-orbit{position:relative;display:grid;place-items:center;width:74px;height:74px;margin-bottom:4px;border-radius:50%;}.hero44-mail-orbit .ui-icon{width:28px;height:28px}.hero44-email-visual.ready .hero44-mail-orbit{}.hero44-mail-orbit i{position:absolute;inset:10px;border-radius:50%;opacity:.12;transform:rotate(40deg) scaleY(.45);}.hero44-mail-orbit i:last-child{inset:22px;transform:rotate(-35deg) scaleY(.6)}.hero44-email-visual>strong{font-size:9px;}.hero44-email-visual>small{font-size:7.5px;}.hero44-email-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.hero44-email-facts>span{display:grid;gap:2px;padding:9px;border-radius:9px;}.hero44-email-facts small{font-size:7px;text-transform:uppercase;}.hero44-email-facts strong{overflow:hidden;text-overflow:ellipsis;font-size:9px;white-space:nowrap;}.hero44-email-facts b{overflow:hidden;text-overflow:ellipsis;font-size:7px;font-weight:600;white-space:nowrap;}.hero44-email-test{display:grid;grid-template-columns:1fr auto;align-items:end;gap:7px}.hero44-email-test label{display:grid;gap:4px}.hero44-email-test label span{font-size:7.5px;}.hero44-email-test input{height:36px}.hero44-settings-groups{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.hero44-settings-group>.hero44-panel-head{justify-content:flex-start;}.hero44-settings-group-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:10px;}.hero44-settings-field-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;padding:13px}.hero44-settings-field{display:grid;align-content:start;gap:4px;min-width:0;padding:9px;border-radius:9px;}.hero44-settings-field>span{font-size:8.5px;font-weight:700;}.hero44-settings-field :is(input,select){height:34px;font-size:8.5px}.hero44-settings-field textarea{font-size:8.5px}.hero44-settings-field small{font-size:7px;line-height:1.45;}.hero44-settings-field:has(textarea){grid-column:1/-1}.hero44-savebar{position:sticky;bottom:14px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:11px 13px;margin-top:2px;border-radius:12px;backdrop-filter:blur(15px);}.hero44-savebar>div{display:grid}.hero44-savebar strong{font-size:9px;}.hero44-savebar small{font-size:7.5px;}

/* Customer Portal — same Heroic DNA, calmer customer-facing density */
body[data-ui-shell="app"][data-portal-mode="customer"] .portal-sidebar{}
body[data-ui-shell="app"][data-portal-mode="customer"] .portal-brand>span:last-child small{}
body[data-ui-shell="app"][data-portal-mode="customer"] .portal-workspace{}
body[data-portal-mode="customer"] .hero44-page{width:min(100%,1640px);}
.hero44-customer-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-radius:16px;}.hero44-customer-identity{display:flex;align-items:center;gap:13px}.hero44-customer-avatar{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;font-size:18px;font-weight:800;letter-spacing:.04em;}.hero44-customer-identity>div{display:grid}.hero44-customer-identity h1{margin:3px 0;font-size:26px;letter-spacing:-.035em;}.hero44-customer-meta{display:flex;align-items:center;gap:8px;font-size:8.5px;}.hero44-flat-flag{display:inline-grid;place-items:center}.hero44-flat-flag img{display:block;width:24px;height:16px;margin:0;object-fit:fill;border-radius:2px}
.hero44-customer-main-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.55fr);gap:14px}.hero44-customer-service-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:12px}.hero44-customer-service-card{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px;border-radius:10px;text-decoration:none;}.hero44-customer-service-card:hover{}.hero44-customer-service-card>div:nth-child(2){display:grid;min-width:0}.hero44-customer-service-card>div:nth-child(2) strong{font-size:9px;}.hero44-customer-service-card>div:nth-child(2) small{overflow:hidden;text-overflow:ellipsis;font-size:7.5px;white-space:nowrap;}.hero44-service-card-state{display:grid;justify-items:end;gap:3px}.hero44-service-card-commercial{grid-column:2/-1;display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding-top:6px;}.hero44-service-card-commercial strong{font-size:9px;}.hero44-service-card-commercial small{font-size:7px;}.hero44-account-orbit{position:relative;display:grid;place-items:center;width:120px;height:120px;margin:16px auto;border-radius:50%;}.hero44-account-orbit>div{display:grid;justify-items:center}.hero44-account-orbit strong{font-size:24px;}.hero44-account-orbit span{font-size:7.5px;}.hero44-account-orbit i{position:absolute;inset:12px;border-radius:50%;transform:rotate(35deg) scaleY(.43);}.hero44-account-orbit i:last-child{inset:27px;transform:rotate(-32deg) scaleY(.57)}
.hero44-footprint-layout{display:grid;grid-template-columns:1fr 350px;min-height:430px}.hero44-footprint-layout .network-map{height:430px;border-radius:0;}.hero44-footprint-list{padding:10px;overflow:auto;max-height:430px;}.hero44-footprint-list article{display:grid;grid-template-columns:48px 1fr;align-items:start;gap:9px;padding:9px;}.hero44-site-code{display:grid;place-items:center;min-height:28px;padding:0 7px;border-radius:8px;font-size:7.5px;font-weight:800;}.hero44-footprint-list article>div{display:grid;gap:2px}.hero44-footprint-list strong{font-size:9px;}.hero44-footprint-list small{font-size:7.5px;}.hero44-footprint-list article>div>span{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}
.hero44-customer-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hero44-activity-timeline,.hero44-order-stack{padding:6px 12px 12px}.hero44-activity-timeline>a{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:7px 3px;text-decoration:none;}.hero44-activity-timeline time{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;}.hero44-activity-timeline time strong{font-size:9px;}.hero44-activity-timeline time small{font-size:6.5px;text-transform:uppercase;}.hero44-activity-timeline>a>div{display:grid}.hero44-activity-timeline>a>div strong{font-size:8.5px;}.hero44-activity-timeline>a>div small{font-size:7.5px;}.hero44-order-stack>a{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:9px;padding:7px 2px;text-decoration:none;}.hero44-order-stack>a>div{display:grid}.hero44-order-stack strong{font-size:8.5px;}.hero44-order-stack small{font-size:7.5px;}.hero44-order-stack time{font-size:8px;}

/* Elevate existing UI 4.2 customer workflows into UI 4.4 without changing logic */
body[data-portal-mode="customer"] .hero44-customer-workflow.hero42-page{gap:16px!important;}
body[data-portal-mode="customer"] .hero44-customer-workflow .hero42-page-head{padding:2px 0 4px;}
body[data-portal-mode="customer"] .hero44-customer-workflow .hero42-title-block h1{font-size:32px;letter-spacing:-.04em;}
body[data-portal-mode="customer"] .hero44-customer-workflow .hero42-title-block p{font-size:11px;}
body[data-portal-mode="customer"] .hero44-customer-workflow :is(.hero42-panel,.surface){}
body[data-portal-mode="customer"] .hero44-customer-workflow .hero42-kpi-row article{min-height:98px;}
body[data-portal-mode="customer"] .hero44-customer-workflow .hero42-service-type-card{}
body[data-portal-mode="customer"] .hero44-customer-workflow .hero42-service-type-card:hover{}
body[data-portal-mode="customer"] .hero44-customer-workflow .hero42-data-table tbody tr:hover{}
body[data-portal-mode="customer"] .hero44-customer-workflow .hero42-order-progress,body[data-portal-mode="customer"] .hero44-customer-workflow .hero42-pipeline-rail{}

/* Remaining customer forms / directories */
body[data-portal-mode="customer"] .hero44-page :is(.ui-section,.surface,.account-card,.account-aside){}
body[data-portal-mode="customer"] .hero44-page .page-heading h2{font-size:28px;letter-spacing:-.035em;}
body[data-portal-mode="customer"] .hero44-page .page-heading p{font-size:10.5px;}
body[data-portal-mode="customer"] .hero44-page :is(.ui-section-header,.panel-heading,.account-section-heading) h3{}
body[data-portal-mode="customer"] .hero44-page :is(.profile-info-grid>div,.user-summary-card,.support-toolbar){}
body[data-portal-mode="customer"] .hero44-page :is(.data-table,.user-table,.customer-invoice-table) thead th{}
body[data-portal-mode="customer"] .hero44-page :is(.data-table,.user-table,.customer-invoice-table) tbody tr:hover{}
body[data-portal-mode="customer"] .hero44-page :is(.data-table,.user-table,.customer-invoice-table) td{}
body[data-portal-mode="customer"] .hero44-page :is(input,select,textarea){}

/* Customer invoices */
.hero44-invoice-cards{padding:7px 12px 12px}.hero44-invoice-card{display:grid;grid-template-columns:36px minmax(150px,1fr) 90px 170px auto;align-items:center;gap:11px;min-height:62px;padding:8px 4px;}.hero44-invoice-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;}.hero44-invoice-card>div:nth-child(2){display:grid}.hero44-invoice-card>div:nth-child(2) strong{font-size:9.5px;}.hero44-invoice-card>div:nth-child(2) small{font-size:7.5px;}.hero44-invoice-money{display:grid;justify-items:end}.hero44-invoice-money strong{font-size:10px;}.hero44-invoice-money small{font-size:7.5px;}

/* Flat graphical flags: hard alignment contract for every UI 4.x consumer. */
body[data-ui-shell="app"] :is(.country-flag-vector,.customer-list-country-flag img,.customer-account-country img,.customer-profile-country-display img,.datacenter-flag img,.hero42-dc-flag,.hero42-device-flag){display:block;width:30px;height:20px;max-width:none;margin:0;object-fit:fill;border-radius:3px;vertical-align:middle;}
body[data-ui-shell="app"] :is(.customer-list-country-flag,.customer-account-country,.customer-profile-country-display,.datacenter-country,.hero42-country-name,.hero44-customer-flag,.hero44-flat-flag){align-items:center;line-height:1}
body[data-ui-shell="app"] .customer-account-country{display:inline-flex;gap:6px}
body[data-ui-shell="app"] .customer-profile-country-display{display:inline-flex;gap:7px}
body[data-ui-shell="app"] .customer-list-country-flag{display:inline-flex;width:30px;height:20px;overflow:hidden;border-radius:3px}

/* 4K / large-display readability: no microtext. */
@media (min-width:1800px){
  body[data-ui-shell="app"] .hero44-page{width:min(100%,2280px);gap:22px;}
  body[data-ui-shell="app"] .hero44-title-block h1{font-size:42px}.hero44-title-block p{font-size:15px}.hero44-page .eyebrow{font-size:10.5px}
  body[data-ui-shell="app"] .hero44-panel-head{padding:20px 22px 17px;}.hero44-panel-head h2{font-size:20px}.hero44-panel-head small{font-size:11.5px}.hero44-panel-metric{font-size:12px;}
  body[data-ui-shell="app"] .hero44-kpi-grid>article{min-height:112px;padding:17px 18px;gap:15px}.hero44-kpi-icon{width:46px;height:46px;flex-basis:46px;}.hero44-kpi-icon .ui-icon{width:21px;height:21px}.hero44-kpi-grid small{font-size:10px}.hero44-kpi-grid strong{font-size:25px}.hero44-kpi-grid span:not(.hero44-kpi-icon){font-size:10.5px}
  body[data-ui-shell="app"] .hero44-filterbar{padding:14px 16px;}.hero44-filterbar label>span{font-size:9px}.hero44-filterbar :is(input,select){height:40px;font-size:11px}.hero44-search-field{height:42px;}.hero44-engine-state strong{font-size:11.5px}.hero44-engine-state small{font-size:9.5px}
  .hero44-rank-row{min-height:62px;grid-template-columns:32px 1fr auto}.hero44-rank-number{font-size:10px}.hero44-rank-copy>strong{font-size:12px}.hero44-rank-copy>small{font-size:9.5px}.hero44-rank-value strong{font-size:12px}.hero44-rank-value small{font-size:9px}
  .hero44-upstream-card>header{grid-template-columns:42px 1fr auto;padding:13px}.hero44-provider-orb{width:42px;height:42px;font-size:14px}.hero44-upstream-card header strong{font-size:11.5px}.hero44-upstream-card header small{font-size:9px}.hero44-upstream-sides>div>span{font-size:8.5px}.hero44-upstream-sides a strong{font-size:9.5px}.hero44-upstream-sides a b{font-size:9px}
  .hero44-incident-card{grid-template-columns:185px 1fr 205px 170px 125px;min-height:78px;}.hero44-incident-id>strong{font-size:10.5px}.hero44-incident-target>strong,.hero44-incident-rate>strong,.hero44-incident-vector>strong{font-size:11px}.hero44-incident-target>span,.hero44-incident-rate>span,.hero44-incident-vector>span{font-size:9px}
  .hero44-exchange-copy strong{font-size:11.5px}.hero44-exchange-copy small{font-size:9px}.hero44-exchange-copy span{font-size:8.5px}.hero44-exchange-stats b{font-size:11.5px}.hero44-exchange-stats small{font-size:8px}.hero44-outreach-row>div:nth-child(2) strong{font-size:10.5px}.hero44-outreach-row>div:nth-child(2) small{font-size:8.5px}.hero44-outreach-ix span{font-size:8.5px}
  .hero44-donut-layout{grid-template-columns:250px 1fr}.hero44-donut-wrap{width:210px;height:210px}.hero44-donut-wrap>div strong{font-size:17px}.hero44-donut-legend strong{font-size:10.5px}.hero44-donut-legend small{font-size:8.5px}.hero44-donut-legend b{font-size:9.5px}
  .hero44-customer-card header strong,.hero44-supplier-card header strong{font-size:12px}.hero44-customer-card header small,.hero44-supplier-card header small{font-size:9px}.hero44-customer-value small,.hero44-supplier-commercial small{font-size:8px}.hero44-customer-value strong,.hero44-supplier-commercial strong{font-size:11.5px}.hero44-service-chip-row strong,.hero44-contract-stack strong{font-size:9.5px}.hero44-service-chip-row small,.hero44-contract-stack small{font-size:8.5px}
  .hero44-table th{height:46px;font-size:9px}.hero44-table td{padding:13px 14px!important;font-size:10.5px}.hero44-table-primary strong{font-size:10.5px}.hero44-table-primary small{font-size:8.5px}
  .hero44-settings-launcher>a{min-height:92px;padding:14px}.hero44-settings-launcher strong{font-size:10.5px}.hero44-settings-launcher small{font-size:8.5px}.hero44-settings-field>span{font-size:10px}.hero44-settings-field :is(input,select,textarea){font-size:10px}.hero44-settings-field small{font-size:8.5px}
  body[data-portal-mode="customer"] .hero44-customer-identity h1{font-size:31px}.hero44-customer-meta{font-size:10px}.hero44-customer-service-card>div:nth-child(2) strong{font-size:10.5px}.hero44-customer-service-card>div:nth-child(2) small{font-size:9px}.hero44-service-card-commercial strong{font-size:10.5px}.hero44-service-card-commercial small{font-size:8.5px}.hero44-footprint-list strong{font-size:10.5px}.hero44-footprint-list small{font-size:8.5px}.hero44-activity-timeline>a>div strong,.hero44-order-stack strong{font-size:10px}.hero44-activity-timeline>a>div small,.hero44-order-stack small{font-size:8.5px}
  body[data-portal-mode="customer"] .hero44-page .page-heading h2{font-size:34px}.hero44-page .page-heading p{font-size:12px}
}
@media (min-width:2500px){
  body[data-ui-shell="app"] .hero44-page{width:min(100%,2700px);}.hero44-title-block h1{font-size:48px}.hero44-title-block p{font-size:17px}.hero44-page .eyebrow{font-size:12px}
  body[data-ui-shell="app"] .hero44-kpi-grid>article{min-height:128px}.hero44-kpi-grid small{font-size:11.5px}.hero44-kpi-grid strong{font-size:30px}.hero44-kpi-grid span:not(.hero44-kpi-icon){font-size:12px}.hero44-kpi-icon{width:52px;height:52px;flex-basis:52px;}.hero44-kpi-icon .ui-icon{width:23px;height:23px}
  .hero44-panel-head h2{font-size:23px}.hero44-panel-head small{font-size:13px}.hero44-panel-metric{font-size:13.5px;}
  .hero44-rank-row{min-height:70px}.hero44-rank-copy>strong{font-size:13.5px}.hero44-rank-copy>small{font-size:10.5px}.hero44-rank-value strong{font-size:13.5px}.hero44-rank-value small{font-size:10px}
  .hero44-customer-grid,.hero44-supplier-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.hero44-settings-launcher{grid-template-columns:repeat(6,1fr)}.hero44-settings-groups{grid-template-columns:repeat(2,1fr)}

}
@media (max-width:1400px){.hero44-kpi-grid-six{grid-template-columns:repeat(3,1fr)}.hero44-kpi-grid-five{grid-template-columns:repeat(3,1fr)}.hero44-upstream-grid,.hero44-customer-grid,.hero44-supplier-grid{grid-template-columns:repeat(2,1fr)}.hero44-settings-launcher{grid-template-columns:repeat(3,1fr)}.hero44-ddos-grid,.hero44-peering-overview,.hero44-billing-overview,.hero44-customer-main-grid{grid-template-columns:1fr}.hero44-ddos-side{grid-template-columns:1fr 1fr}.hero44-email-layout{grid-template-columns:200px 1fr}.hero44-email-test{grid-column:1/-1}.hero44-footprint-layout{grid-template-columns:1fr 300px}}
@media (max-width:980px){.hero44-page-head{align-items:flex-start!important;flex-direction:column;}.hero44-kpi-grid-four,.hero44-kpi-grid-five,.hero44-kpi-grid-six,.hero44-ddos-kpis{grid-template-columns:repeat(2,1fr)}.hero44-analytics-grid,.hero44-business-analytics,.hero44-supplier-analytics,.hero44-customer-bottom-grid,.hero44-settings-groups{grid-template-columns:1fr}.hero44-upstream-grid,.hero44-customer-grid,.hero44-supplier-grid{grid-template-columns:1fr}.hero44-threat-overview{grid-template-columns:1fr}.hero44-incident-card{grid-template-columns:130px 1fr 145px;}.hero44-incident-vector,.hero44-incident-verdict{display:none}.hero44-exchange-grid{grid-template-columns:repeat(2,1fr)}.hero44-outreach-row{grid-template-columns:10px 1fr auto}.hero44-outreach-ix{display:none}.hero44-config-grid{grid-template-columns:1fr}.hero44-settings-inline{grid-template-columns:1fr 1fr}.hero44-settings-launcher{grid-template-columns:repeat(2,1fr)}.hero44-email-layout{grid-template-columns:1fr}.hero44-email-visual{}.hero44-footprint-layout{grid-template-columns:1fr}.hero44-footprint-list{max-height:240px;}.hero44-schedule-grid{grid-template-columns:1fr}}
@media (max-width:680px){.hero44-kpi-grid-four,.hero44-kpi-grid-five,.hero44-kpi-grid-six,.hero44-ddos-kpis,.hero44-exchange-grid,.hero44-settings-launcher,.hero44-email-facts{grid-template-columns:1fr}.hero44-filterbar{align-items:stretch;flex-direction:column;}.hero44-filterbar>form{align-items:stretch;flex-direction:column}.hero44-search-field{min-width:0;width:100%;}.hero44-filterbar :is(input,select){width:100%}.hero44-upstream-sides{grid-template-columns:1fr}.hero44-upstream-sides>div+div{}.hero44-tech-grid,.hero44-port-chip-grid{grid-template-columns:1fr 1fr}.hero44-ddos-side{grid-template-columns:1fr}.hero44-incident-card{grid-template-columns:1fr auto;}.hero44-incident-target{grid-column:1}.hero44-incident-rate{grid-column:1/-1}.hero44-donut-layout{grid-template-columns:1fr}.hero44-billing-mode-grid{grid-template-columns:1fr}.hero44-billing-dates{align-items:stretch;flex-direction:column}.hero44-activation-bar{align-items:flex-start;flex-direction:column}.hero44-settings-field-grid,.hero44-settings-inline{grid-template-columns:1fr}.hero44-customer-hero{align-items:flex-start;flex-direction:column}.hero44-customer-service-cards{grid-template-columns:1fr}.hero44-invoice-card{grid-template-columns:36px 1fr auto;}.hero44-invoice-money{grid-column:2;justify-items:start}.hero44-invoice-card>.actions{grid-column:2/-1}.hero44-savebar{align-items:flex-start;flex-direction:column}}

/* ========================================================================== */
/* v10.47.37 — UI 5.0 / Mockup Fidelity System                                */
/*                                                                            */
/* UI 5.0 is a convergence layer, not another cosmetic theme. It deliberately */
/* overrides residual light-era component contracts so every operational,     */
/* commercial and customer workflow shares the same dark Heroic vocabulary.   */
/* ========================================================================== */

body[data-ui-shell="app"] {
  color-scheme: dark;
  background: var(--surface-sunken);
  color: var(--text);
}

/* Shell fidelity — stronger hierarchy, premium navigation and more breathing room. */
body[data-ui-shell="app"].portal-body .portal-workspace,
body[data-ui-shell="app"].portal-body .portal-workspace {
  
}
body[data-ui-shell="app"].portal-body .portal-workspace::before {
  opacity: .20;
  background-size: 64px 64px;
  
}
body[data-ui-shell="app"] .portal-workspace .app-main { width:min(100%,1880px); padding-bottom:90px; }
body[data-ui-shell="app"].portal-body .portal-sidebar {
  
  
  
}
body[data-ui-shell="app"].portal-body .portal-brand { min-height:94px; padding:17px 18px; gap:14px; }
body[data-ui-shell="app"] .portal-brand-mark.portal-brand-mark-hero { width:55px;height:48px;flex-basis:55px; }
body[data-ui-shell="app"].portal-body .portal-brand>span:last-child strong { font-size:22px;letter-spacing:.18em; }
body[data-ui-shell="app"].portal-body .portal-brand>span:last-child small { font-size:9px;letter-spacing:.22em; }
body[data-ui-shell="app"].portal-body .portal-nav { padding:11px 9px 18px; }
body[data-ui-shell="app"].portal-body .portal-nav-group { margin-top:12px; }
body[data-ui-shell="app"].portal-body .portal-nav-group>span { padding:0 11px 7px;font-size:9.5px;letter-spacing:.14em; }
body[data-ui-shell="app"].portal-body .portal-nav a,
body[data-ui-shell="app"].portal-body .portal-nav-featured a {
  min-height:43px;padding:6px 9px;border-radius:10px;font-size:13px;font-weight:700;gap:9px;
}
body[data-ui-shell="app"].portal-body .portal-nav a .nav-icon,
body[data-ui-shell="app"].portal-body .portal-nav-featured a .nav-icon { width:31px;height:31px;flex-basis:31px;border-radius:9px; }
body[data-ui-shell="app"].portal-body .portal-nav a.active,
body[data-ui-shell="app"].portal-body .portal-nav-featured a.active {
  
  
  
  
}
body[data-ui-shell="app"].portal-body .portal-topbar,
body[data-ui-shell="app"].portal-body .portal-topbar {
  min-height:72px;backdrop-filter:blur(28px) saturate(1.22);
}
body[data-ui-shell="app"].portal-body .portal-topbar-context>strong { font-size:14px; }
body[data-ui-shell="app"].portal-body .portal-topbar-context>small { font-size:10.5px; }
body[data-ui-shell="app"].portal-body .portal-admin .avatar {  }

/* Typography — remove the microtext feel while preserving operational density. */
body[data-ui-shell="app"] .ui-scope {  font-size:13px; }
body[data-ui-shell="app"] .ui-scope :is(h1,h2,h3,h4,h5,h6,strong,b) {  }
body[data-ui-shell="app"] .ui-scope :is(p,small,.muted,.row-note,.ui-help,.field-note,.help,.description,.meta,.subtle) {  }
body[data-ui-shell="app"] .ui-scope .eyebrow {  font-size:9.5px;letter-spacing:.12em;font-weight:800; }
body[data-ui-shell="app"] .ui-scope .page-heading h2,
body[data-ui-shell="app"] .ui-scope .ui-page-header h1,
body[data-ui-shell="app"] .ui-scope .ui-page-header h2 {  }
body[data-ui-shell="app"] .ui-scope a { text-underline-offset:2px; }
body[data-ui-shell="app"] .ui-scope a:not(.button):not(.portal-nav a) {  }
body[data-ui-shell="app"] .ui-scope code,
body[data-ui-shell="app"] .ui-scope pre {  }

/* Canonical surfaces. This explicitly wins over legacy #fff and #fbfcfe cards. */
body[data-ui-shell="app"] .ui-scope :is(
  .surface,.card,.ui-card,.ui-section,.panel,.metric-card,.ui-stat,
  .table-wrap,.table-surface,.table-scroll,.inventory-panel,.filter-bar,
  .option-panel,.subform,.service-panel,.customer-card,.product-card,
  .port-card,.prefix-input,.proposal-chip,.scope-route-map,.policy-direction-card,
  .automation-attention-card,.service-type-choice,.billing-model-choice,.traffic-share-row,
  .sflow-enabled-port,.sflow-uplink-card,.catalog-offering-card,.admin-catalog-card,
  .catalog-source-card,.addressing-card,.datacenter-card,.interface-order-panel,
  .admin-service-notes,.interface-option-card,.order-detail-section,.ticket-message,
  .ticket-composer,.attention-summary-row span,.rack-visual-card,.rack-resource-columns>section,
  .rack-mount-disclosure,.dc-rack-inventory,.dc-integrated-rack,.security-status-list,
  .mfa-action-card,.mfa-setup-confirm,.invoice-import-card,.invoice-import-transactions,
  .readiness-step,.customer-service-footprint-list,.service-map-locations,
  .billing-control-card,.billing-service-commercial,.billing-service-enabled,
  .billing-activation-box,.billing-service-row,.manual-invoice-line,
  .supplier-disclosure,.contract-lifecycle-grid>div,.contract-commercial-summary,
  .contract-edit-disclosure,.contract-drop-upload,.attachment-card,.analysis-meta>span,
  .detected-review-form,.supplier-status-grid,.ddos-ai-evidence-card,.ddos-profile-kpi,
  .ddos-profile-card,.peering-request-group,.peering-request-groups-more,
  .peering-request-agreement-row,.maintenance-check,.maintenance-recipient-row,
  .email-readiness-item,.update-version-grid,.update-dropzone,.update-failed-toggle,
  .customer-profile-panel .profile-info-grid>div,.catalog-commercial-cards>div,
  .sof-contact-grid article,.sof-service-card,.customer-order-wizard,.endpoint-preview,
  .monitor-direction,.monitor-member-list>div,.monitor-wall-tile,.peering-local-grid article,
  .ddos-status-grid article,.ddos-empty-state,.supplier-heading-stats>div,
  .dc-reference-list article,.dc-stat-grid article,.dc-stat-grid a,.automation-step
) {
  
  
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.surface,.card,.ui-card,.ui-section,.panel,.metric-card,.ui-stat):hover {  }
body[data-ui-shell="app"] .ui-scope :is(.section-heading,.panel-heading,.ui-section-header,.card-header,.table-heading) {  }
body[data-ui-shell="app"] .ui-scope :is(.section-heading,.panel-heading,.ui-section-header) :is(p,small) {  }
body[data-ui-shell="app"] .ui-scope :is(.sticky-actions,.ui-action-bar,.invite-submit-bar,.billing-control-layout,.billing-form-grid,.billing-disclosure-body,.rack-gallery-grid,.rack-management-body,.rack-visual-mount-form) {
  
}

/* Forms and interaction surfaces. */
body[data-ui-shell="app"] .portal-workspace input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
body[data-ui-shell="app"] .portal-workspace select,
body[data-ui-shell="app"] .portal-workspace textarea,
body[data-ui-shell="app"] .ui-scope :is(.standalone-field input,.standalone-field select,.standalone-field textarea,.bgp-change-fields input,.peering-agreement-form input,.peering-agreement-form select,.peering-email-form input,.peering-email-form select,.peering-email-form textarea,.ticket-composer textarea,.ticket-control-form select,.map-filter-row input,.map-filter-row select,.endpoint-row select,.proposal-fields select,.proposal-fields input,.inline-add-form select) {
  
}
body[data-ui-shell="app"] .portal-workspace :is(input,textarea)::placeholder { opacity:1; }
body[data-ui-shell="app"] .portal-workspace :is(input,select,textarea):focus {  }
body[data-ui-shell="app"] .portal-workspace :is(input,select,textarea):disabled {  }
body[data-ui-shell="app"] .ui-scope :is(.ui-field>span,.field-label,.filter-bar label>span,.billing-form-grid label>span,.manual-line-grid label>span,.standalone-field>span) {  }
body[data-ui-shell="app"] .ui-scope :is(.option-card,.toggle-row,.segmented-control label,.checkbox-chip,.segmented-choice span,.route-scope-choice>span,.invite-role-card>span,.port-choice) {
  
}
body[data-ui-shell="app"] .ui-scope :is(.option-card,.segmented-control label,.port-choice):has(input:checked),
body[data-ui-shell="app"] .ui-scope :is(.segmented-choice span,.route-scope-choice>span):has(input:checked) {
  
}

/* Buttons follow the mockup: quiet glass by default, luminous blue when primary. */
body[data-ui-shell="app"] .ui-scope .button,
body[data-ui-shell="app"] .portal-workspace button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out),
body[data-ui-shell="app"] .ui-scope .icon-button {
  
}
body[data-ui-shell="app"] .ui-scope .button:hover,
body[data-ui-shell="app"] .portal-workspace button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):hover,
body[data-ui-shell="app"] .ui-scope .icon-button:hover { transform:translateY(-1px); }
body[data-ui-shell="app"] .ui-scope :is(.primary,.button.primary,button.primary) {  }
body[data-ui-shell="app"] .ui-scope :is(.danger,.button.danger,button.danger) {  }

/* Tables — no more white sticky action column or light column menus. */
body[data-ui-shell="app"] .ui-scope :is(.table-wrap,.table-surface,.table-scroll) { overflow:auto; }
body[data-ui-shell="app"] .ui-scope table {  }
body[data-ui-shell="app"] .ui-scope table th { font-weight:800; }
body[data-ui-shell="app"] .ui-scope table td {  }
body[data-ui-shell="app"] .ui-scope table tbody tr:hover,
body[data-ui-shell="app"] .ui-scope table tbody tr:hover td {  }
body[data-ui-shell="app"] .ui-scope table tbody tr.is-traffic-selected,
body[data-ui-shell="app"] .ui-scope table tbody tr.is-traffic-selected td {  }
body[data-ui-shell="app"] .ui-scope :is(.data-table-column-menu,.action-menu-floating,.inventory-action-menu>nav,.service-action-menu>nav,.data-table-columns,.global-search-result,.command-palette) {
  backdrop-filter:blur(22px);
}
body[data-ui-shell="app"] .ui-scope .is-enhanced-table.has-sticky-actions :is(th,td):last-child {  }
body[data-ui-shell="app"] .ui-scope .data-table-search input {  }

/* Notices, badges and status preserve semantics without reverting to pastel/light UI. */
body[data-ui-shell="app"] .ui-scope .notice {  }
body[data-ui-shell="app"] .ui-scope .notice.good {  }
body[data-ui-shell="app"] .ui-scope .notice.warning {  }
body[data-ui-shell="app"] .ui-scope .notice.error {  }
body[data-ui-shell="app"] .ui-scope .badge {  }
body[data-ui-shell="app"] .ui-scope .badge.good {  }
body[data-ui-shell="app"] .ui-scope .badge.warning {  }
body[data-ui-shell="app"] .ui-scope .badge.danger {  }
body[data-ui-shell="app"] .ui-scope .danger-zone {  }

/* UI 5.0 sFlow Sankey: remove the giant white island and make it part of the NOC canvas. */
body[data-ui-shell="app"] .ui-scope .sflow-sankey-panel,
body[data-ui-shell="app"] .ui-scope .customer-sflow-sankey { overflow:hidden; }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-heading {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-heading h3 {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-heading small {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-heading-meta span {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-heading-meta strong {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-summary {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-summary>div:nth-child(2) {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-summary span {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-summary strong {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-scroll {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-side-label {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-data-through {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-arrow-label {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-ribbon { opacity:.77; }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-ribbon:hover,
body[data-ui-shell="app"] .ui-scope .sflow-sankey-ribbon:focus { opacity:1; }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-center-shell {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-center-card {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-center-eyebrow {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-center-asn {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-center-name {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-center-rule {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-center-direction {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-center-rate {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-node-card {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-network-node:hover .sflow-sankey-node-card,
body[data-ui-shell="app"] .ui-scope .sflow-sankey-network-node:focus .sflow-sankey-node-card {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-node-title {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-node-name {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-node-upstream {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-tooltip {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-legend {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-legend-item {  }
body[data-ui-shell="app"] .ui-scope .sflow-sankey-legend-note {  }

/* Device overview — ports become the primary telemetry navigation surface. */
body[data-ui-shell="app"] .ui-scope .device-port-tooltip,
body[data-ui-shell="app"] .ui-scope .floating-port-tooltip {
  backdrop-filter:blur(20px);
}
body[data-ui-shell="app"] .ui-scope .device-port-tooltip::after {  }
body[data-ui-shell="app"] .ui-scope .device-port-tooltip :is(strong,dd) {  }
body[data-ui-shell="app"] .ui-scope .device-port-tooltip :is(small,dt) {  }
body[data-ui-shell="app"] .ui-scope .device-port-tooltip em {  }
body[data-ui-shell="app"] .ui-scope .device-stencil-port.is-selected { z-index:5;box-shadow:0 0 0 2px #78dfff,0 0 0 5px rgba(42,136,255,.22),0 0 24px rgba(56,178,255,.78);animation:ui50-port-pulse 1.8s ease-in-out infinite; }
@keyframes ui50-port-pulse { 0%,100%{filter:brightness(1)} 50%{filter:brightness(1.22)} }
body[data-ui-shell="app"] .ui-scope .hero50-device-traffic { scroll-margin-top:92px; }
body[data-ui-shell="app"] .ui-scope .hero50-traffic-head { align-items:flex-start; }
body[data-ui-shell="app"] .ui-scope .hero50-traffic-context { margin:5px 0 0;font-size:10.5px; }
body[data-ui-shell="app"] .ui-scope .hero50-traffic-actions { display:grid;justify-items:end;gap:9px; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-actions { display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card {
  display:grid;grid-template-columns:42px minmax(180px,1fr) minmax(0,2.3fr);align-items:center;gap:14px;padding:11px 18px;
}
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-icon { display:grid;place-items:center;width:38px;height:38px;border-radius:10px; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-icon .ui-icon { width:18px;height:18px; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card>div:nth-child(2) { display:grid;gap:2px; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card>div:nth-child(2)>span { font-size:8.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card>div:nth-child(2)>strong { font-size:14px; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card>div:nth-child(2)>small { font-size:10px; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card dl { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card dl>div { min-width:0;padding:7px 10px;border-radius:9px; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card dt { font-size:8px;text-transform:uppercase;letter-spacing:.07em;font-weight:800; }
body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card dd { overflow:hidden;margin:3px 0 0;font-size:10.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap; }
body[data-ui-shell="app"] .ui-scope .hero50-chart-empty { min-height:260px!important;gap:8px; }
body[data-ui-shell="app"] .ui-scope .hero50-chart-empty form { margin-top:8px; }

/* Telemetry charts and analytics should look editorial, never like industrial NMS chrome. */
body[data-ui-shell="app"] .telemetry-graph-shell.telemetry-graph-modern,
body[data-ui-shell="app"] .ui-scope .telemetry-graph-shell {  }
body[data-ui-shell="app"] .ui-scope :is(.telemetry-summary-card,.telemetry-legend-row,.telemetry-graph-footer) {  }
body[data-ui-shell="app"] .ui-scope .telemetry-graph-tooltip {  }

/* Leaflet maps adopt the same atmosphere; map content remains legible and real. */
body[data-ui-shell="app"] .ui-scope .leaflet-tile-pane {  }
body[data-ui-shell="app"] .ui-scope :is(.leaflet-control,.leaflet-control a,.leaflet-popup-content-wrapper,.leaflet-popup-tip,.leaflet-control-attribution) {  }
body[data-ui-shell="app"] .ui-scope .leaflet-control-attribution a {  }

/* Flat flags — the bundled assets are a 4:3 canvas. Never stretch them to 3:2. */
body[data-ui-shell="app"] :is(.country-flag-svg,.country-flag-img,.country-flag-flat,.country-flag-vector img,.hero42-dc-flag img,.hero42-device-flag img,.hero44-customer-flag img,.hero44-flat-flag img,.rack-card-country img,.service-location-country-flag img,.customer-list-country-flag img,.customer-account-country img,.customer-profile-country-display img,.datacenter-flag img,.datacenter-table-flag img,.country-select-flat-flag img,.map-inline-flag img) {
  display:block;width:32px;height:24px;min-width:32px;max-width:32px;flex:0 0 32px;margin:0;object-fit:contain;border-radius:3px;vertical-align:middle;
}
body[data-ui-shell="app"] :is(.country-flag-vector,.hero42-dc-flag,.hero42-device-flag,.hero44-customer-flag,.hero44-flat-flag,.rack-card-country,.service-location-country-flag,.customer-list-country-flag,.customer-account-country,.customer-profile-country-display,.datacenter-flag,.datacenter-table-flag,.country-select-flat-flag,.map-inline-flag,.hero42-country-name) {
  display:inline-flex;align-items:center;justify-content:center;line-height:0;vertical-align:middle;flex-shrink:0;
}
body[data-ui-shell="app"] .hero42-country-name { justify-content:flex-start;line-height:1.1; }
body[data-ui-shell="app"] .hero42-country-name>div { line-height:1.25; }
body[data-ui-shell="app"] .customer-list-country-flag { width:32px;height:24px;overflow:visible; }
body[data-ui-shell="app"] .hero42-dc-map-marker img { width:28px;height:21px;min-width:28px;max-width:28px;flex-basis:28px; }

/* Customer portal gets the same fidelity but slightly calmer density. */
body[data-ui-shell="app"][data-portal-mode="customer"] .portal-workspace .app-main { width:min(100%,1720px); }
body[data-ui-shell="app"][data-portal-mode="customer"] .customer-portal-hero,
body[data-ui-shell="app"][data-portal-mode="customer"] .customer-dashboard-hero { border-color:rgba(113,171,226,.17);background:radial-gradient(circle at 82% -20%,rgba(51,137,255,.16),transparent 26rem),linear-gradient(150deg,var(--surface-2),var(--surface-base)); }
body[data-ui-shell="app"][data-portal-mode="customer"] :is(.customer-service-card,.hero44-customer-service-card,.hero44-invoice-card,.customer-order-card) {  }

/* Authentication follows the product identity rather than a separate white form language. */
body.login-body[data-ui-shell="app"] {  }
body.login-body[data-ui-shell="app"] .login-panel {  }

/* Large-display density. Previous Heroic passes still left 8–10px secondary text on 4K. */
@media (min-width:1800px) {
  body[data-ui-shell="app"].portal-body .portal-shell { --portal-sidebar-width:292px; }
  body[data-ui-shell="app"].portal-body .portal-sidebar { width:var(--portal-sidebar-width); }
  body[data-ui-shell="app"].portal-body .portal-brand { min-height:104px;padding-inline:20px; }
  body[data-ui-shell="app"] .portal-brand-mark.portal-brand-mark-hero { width:62px;height:54px;flex-basis:62px; }
  body[data-ui-shell="app"].portal-body .portal-brand>span:last-child strong { font-size:24px; }
  body[data-ui-shell="app"].portal-body .portal-brand>span:last-child small { font-size:10px; }
  body[data-ui-shell="app"].portal-body .portal-nav { padding-inline:11px; }
  body[data-ui-shell="app"].portal-body .portal-nav-group>span { font-size:11px;padding:0 12px 8px; }
  body[data-ui-shell="app"].portal-body .portal-nav a,
  body[data-ui-shell="app"].portal-body .portal-nav-featured a { min-height:48px;padding:7px 10px;font-size:15px;gap:10px; }
  body[data-ui-shell="app"].portal-body .portal-nav a .nav-icon,
  body[data-ui-shell="app"].portal-body .portal-nav-featured a .nav-icon { width:34px;height:34px;flex-basis:34px; }
  body[data-ui-shell="app"].portal-body .portal-topbar { min-height:82px; }
  body[data-ui-shell="app"].portal-body .portal-topbar-context>strong { font-size:16px; }
  body[data-ui-shell="app"].portal-body .portal-topbar-context>small { font-size:12px; }
  body[data-ui-shell="app"] .portal-workspace .app-main { width:min(100%,2320px);padding-inline:38px; }
  body[data-ui-shell="app"] .ui-scope { font-size:14px; }
  body[data-ui-shell="app"] .ui-scope :is(p,.muted,.row-note,.ui-help,.field-note,.help,.description,.meta,.subtle) { font-size:12.5px;line-height:1.5; }
  body[data-ui-shell="app"] .ui-scope small { font-size:12px;line-height:1.4; }
  body[data-ui-shell="app"] .ui-scope .eyebrow { font-size:11px; }
  body[data-ui-shell="app"] .ui-scope :is(.button,button,.icon-button) { min-height:42px;font-size:13.5px;padding-inline:14px; }
  body[data-ui-shell="app"] .ui-scope :is(.button.small,button.small) { min-height:36px;font-size:12.5px; }
  body[data-ui-shell="app"] .portal-workspace :is(input,select,textarea) { min-height:44px;font-size:13.5px; }
  body[data-ui-shell="app"] .ui-scope table th { height:46px;font-size:11px; }
  body[data-ui-shell="app"] .ui-scope table td { padding:13px 14px;font-size:13px; }
  body[data-ui-shell="app"] .ui-scope :is(.badge,.status-dot) { font-size:11.5px; }
  body[data-ui-shell="app"] .ui-scope :is(.hero42-panel-head small,.hero43-panel-head small,.hero44-panel-head small,.hero44-rank-copy>small,.hero44-rank-value small,.hero44-upstream-card header small,.hero44-exchange-copy small,.hero44-outreach-row small,.hero44-customer-card header small,.hero44-supplier-card header small,.hero44-service-chip-row small,.hero44-contract-stack small,.hero44-table-primary small,.hero44-settings-field small,.hero44-customer-meta,.hero44-customer-service-card small,.hero44-footprint-list small,.hero44-activity-timeline small,.hero44-order-stack small) { font-size:11.5px; }
  body[data-ui-shell="app"] .ui-scope :is(.hero44-kpi-grid small,.hero44-filterbar label>span,.hero44-rank-number,.hero44-upstream-sides>div>span,.hero44-exchange-stats small,.hero44-customer-value small,.hero44-supplier-commercial small) { font-size:10.5px; }
  body[data-ui-shell="app"] .ui-scope .hero44-table td { font-size:12.5px; }
  body[data-ui-shell="app"] .ui-scope .hero44-table th { font-size:10.5px; }
  body[data-ui-shell="app"] .hero50-port-focus-card { grid-template-columns:48px minmax(220px,1fr) minmax(0,2.4fr);padding:14px 22px; }
  body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card>div:nth-child(2)>span { font-size:10px; }
  body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card>div:nth-child(2)>strong { font-size:16px; }
  body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card>div:nth-child(2)>small { font-size:12px; }
  body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card dt { font-size:9.5px; }
  body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card dd { font-size:12.5px; }
}
@media (min-width:2500px) {
  body[data-ui-shell="app"].portal-body .portal-shell { --portal-sidebar-width:324px; }
  body[data-ui-shell="app"].portal-body .portal-brand { min-height:112px; }
  body[data-ui-shell="app"] .portal-brand-mark.portal-brand-mark-hero { width:68px;height:59px;flex-basis:68px; }
  body[data-ui-shell="app"].portal-body .portal-brand>span:last-child strong { font-size:27px; }
  body[data-ui-shell="app"].portal-body .portal-brand>span:last-child small { font-size:11px; }
  body[data-ui-shell="app"].portal-body .portal-nav-group>span { font-size:12px; }
  body[data-ui-shell="app"].portal-body .portal-nav a,
  body[data-ui-shell="app"].portal-body .portal-nav-featured a { min-height:52px;font-size:16.5px; }
  body[data-ui-shell="app"].portal-body .portal-nav a .nav-icon,
  body[data-ui-shell="app"].portal-body .portal-nav-featured a .nav-icon { width:37px;height:37px;flex-basis:37px; }
  body[data-ui-shell="app"].portal-body .portal-topbar { min-height:88px; }
  body[data-ui-shell="app"] .portal-workspace .app-main { width:min(100%,2780px);padding-inline:46px; }
  body[data-ui-shell="app"] .ui-scope { font-size:15px; }
  body[data-ui-shell="app"] .ui-scope :is(p,.muted,.row-note,.ui-help,.field-note,.help,.description,.meta,.subtle) { font-size:13.5px; }
  body[data-ui-shell="app"] .ui-scope small { font-size:13px; }
  body[data-ui-shell="app"] .ui-scope .eyebrow { font-size:12px; }
  body[data-ui-shell="app"] .ui-scope table th { height:50px;font-size:12px; }
  body[data-ui-shell="app"] .ui-scope table td { padding:14px 16px;font-size:14px; }
  body[data-ui-shell="app"] .ui-scope :is(.button,button,.icon-button) { min-height:45px;font-size:14.5px; }
  body[data-ui-shell="app"] .portal-workspace :is(input,select,textarea) { min-height:46px;font-size:14.5px; }
}
@media (min-width:3400px) {
  body[data-ui-shell="app"].portal-body .portal-shell { --portal-sidebar-width:354px; }
  body[data-ui-shell="app"].portal-body .portal-nav a,
  body[data-ui-shell="app"].portal-body .portal-nav-featured a { min-height:56px;font-size:18px; }
  body[data-ui-shell="app"].portal-body .portal-nav-group>span { font-size:13px; }
  body[data-ui-shell="app"] .portal-workspace .app-main { width:min(100%,3260px);padding-inline:58px; }
  body[data-ui-shell="app"] .ui-scope { font-size:16px; }
  body[data-ui-shell="app"] .ui-scope small { font-size:14px; }
  body[data-ui-shell="app"] .ui-scope table td { font-size:15.5px; }
  body[data-ui-shell="app"] .ui-scope table th { font-size:13px; }
  body[data-ui-shell="app"] .ui-scope :is(.button,button,.icon-button) { font-size:15.5px; }
}

@media (max-width:900px) {
  body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card { grid-template-columns:38px 1fr; }
  body[data-ui-shell="app"] .ui-scope .hero50-port-focus-card dl { grid-column:1/-1;grid-template-columns:repeat(2,1fr); }
  body[data-ui-shell="app"] .ui-scope .hero50-traffic-actions { justify-items:start; }
  body[data-ui-shell="app"] .ui-scope .hero50-port-focus-actions { justify-content:flex-start; }
}

@media (prefers-reduced-motion:reduce) {
  body[data-ui-shell="app"] .device-stencil-port.is-selected { animation:none!important; }
  body[data-ui-shell="app"] .ui-scope :is(.button,button,.icon-button) { transition:none!important;transform:none!important; }
}

/* Print is intentionally paper-safe. Raster mockup styling never leaks to PDFs. */
@media print {
  body[data-ui-shell="app"],
  body[data-ui-shell="app"].portal-body .portal-workspace { color:#172033;background:var(--surface-1); }
  body[data-ui-shell="app"] .ui-scope :is(.surface,.card,.ui-card,.ui-section,.table-wrap,.table-surface,.table-scroll,.panel,.metric-card,.ui-stat) { border-color:var(--border-subtle);background:var(--surface-1);color:#172033;box-shadow:none; }
  body[data-ui-shell="app"] .ui-scope table th { background:var(--surface-1);color:var(--text-faint); }
  body[data-ui-shell="app"] .ui-scope table td { color:#172033; }
}

/* UI 5.0 residual light-era component cleanup discovered by the full stylesheet audit. */
body[data-ui-shell="app"] .ui-scope :is(
  .metric,.country-group>summary,.input-prefix,.peering-refresh-meta,
  .billing-settings-nav a,.billing-template-help code,.billing-disclosure-state i,
  .attachment-head,.peering-request-document,.peering-request-document .peering-request-body,
  .proposal-fields,.endpoint-row,.demarcation-preview,.prefix-preview,.address-preview,
  .customer-service-filter,.profitability-customer-metrics article,.account-form-grid,
  .invite-fields-grid,.peering-agreement-options-grid select,.peering-agreement-options-grid input,
  .readiness-step,.readiness-panel-v2,.service-readiness-panel,.service-map-location,
  .customer-footprint-location-card,.billing-service-disclosure,.detected-review-form,
  .maintenance-check,.maintenance-recipient-row,.sflow-scope-note,.peering-settings-summary
) {
  
  
  
}
body[data-ui-shell="app"] .ui-scope :is(.peering-request-document,.peering-request-document .peering-request-body) :is(h1,h2,h3,h4,strong,p,span,li,td,th) {  }
body[data-ui-shell="app"] .ui-scope .peering-request-document {  }
body[data-ui-shell="app"] .ui-scope :is(.billing-settings-nav a.active,.billing-settings-nav a:hover) {  }
body[data-ui-shell="app"] .ui-scope :is(.demarcation-preview,.prefix-preview,.address-preview) dl dt {  }
body[data-ui-shell="app"] .ui-scope :is(.demarcation-preview,.prefix-preview,.address-preview) dl dd {  }

/* Deliberate light exceptions: physical/paper artifacts where white is functional. */
body[data-ui-shell="app"] .ui-scope :is(.signature-box canvas,.mfa-qr-wrap img,.customer-pdf-viewer iframe,.customer-pdf-viewer object) { background:var(--surface-1); }

/* Floating chassis tooltip is cloned onto <body>, outside .ui-scope. */
body[data-ui-shell="app"] .floating-port-tooltip {
  backdrop-filter:blur(20px);
}
body[data-ui-shell="app"] .floating-port-tooltip::after {  }
body[data-ui-shell="app"] .floating-port-tooltip :is(strong,dd) {  }
body[data-ui-shell="app"] .floating-port-tooltip :is(small,dt) {  }
body[data-ui-shell="app"] .floating-port-tooltip em {  }
body[data-ui-shell="app"] .ui-scope .device-port-tooltip::after {  }

/* Explicit coverage for the final light-era selectors found by the UI 5.0 audit. */
body[data-ui-shell="app"] .ui-scope .dashboard-kpis article,
body[data-ui-shell="app"] .ui-scope .map-detail-panel,
body[data-ui-shell="app"] .ui-scope .backbone-line span,
body[data-ui-shell="app"][data-portal-mode="customer"] .address-suggestion-list,
body[data-ui-shell="app"][data-portal-mode="customer"] .address-suggestion {
  
  
  
}
body[data-ui-shell="app"].portal-body .topbar-global-search input,
body[data-ui-shell="app"] .ui-scope .sflow-filter-form select,
body[data-ui-shell="app"] .ui-scope .form-grid :is(input,select,textarea),
body.login-body[data-ui-shell="app"] .login-form input {
  
}

/* Large-screen readability for the Dashboard and the UI 4.2/4.3 composition families. */
@media (min-width:1800px) {
  body[data-ui-shell="app"] .hero-dashboard { width:min(100%,2320px); }
  body[data-ui-shell="app"] .hero-dashboard .eyebrow { font-size:11px; }
  body[data-ui-shell="app"] .hero-dashboard-title h1 { font-size:42px; }
  body[data-ui-shell="app"] .hero-dashboard-title p { font-size:14px; }
  body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action { min-height:48px;padding:9px 13px; }
  body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action strong { font-size:13px; }
  body[data-ui-shell="app"] .hero-dashboard .dashboard-quick-action small { font-size:11px; }
  body[data-ui-shell="app"] .hero-kpi-card { min-height:124px;padding:18px 19px; }
  body[data-ui-shell="app"] .hero-kpi-copy>span { font-size:11.5px; }
  body[data-ui-shell="app"] .hero-kpi-copy>strong { font-size:29px; }
  body[data-ui-shell="app"] .hero-kpi-copy>small { font-size:11.5px; }
  body[data-ui-shell="app"] .hero-kpi-ring { width:46px;height:46px; }
  body[data-ui-shell="app"] .hero-kpi-ring::after { width:34px;height:34px; }
  body[data-ui-shell="app"] .hero-kpi-ring span { font-size:10px; }
  body[data-ui-shell="app"] .hero-panel-head h2 { font-size:19px; }
  body[data-ui-shell="app"] .hero-panel-head>a,
  body[data-ui-shell="app"] .hero-panel-head>small,
  body[data-ui-shell="app"] .hero-panel-link { font-size:11.5px; }
  body[data-ui-shell="app"] :is(.hero-provider-copy strong,.hero-provider-rate strong,.hero-health-list strong,.hero-attention-grid strong) { font-size:12.5px; }
  body[data-ui-shell="app"] :is(.hero-provider-copy small,.hero-provider-rate small,.hero-health-list span,.hero-attention-grid small) { font-size:11px; }
  body[data-ui-shell="app"] :is(.hero42-page,.hero43-page) { width:min(100%,2320px)!important; }
  body[data-ui-shell="app"] :is(.hero42-page,.hero43-page) :is(.eyebrow) { font-size:11px; }
  body[data-ui-shell="app"] :is(.hero42-panel-head,.hero43-panel-head) h2 { font-size:20px; }
  body[data-ui-shell="app"] :is(.hero42-panel-head,.hero43-panel-head) small { font-size:12px; }
  body[data-ui-shell="app"] :is(.hero42-data-table,.hero43-table) th { font-size:11px; }
  body[data-ui-shell="app"] :is(.hero42-data-table,.hero43-table) td { font-size:13px; }
}
@media (min-width:2500px) {
  body[data-ui-shell="app"] .hero-dashboard { width:min(100%,2780px); }
  body[data-ui-shell="app"] .hero-dashboard-title h1 { font-size:48px; }
  body[data-ui-shell="app"] .hero-dashboard-title p { font-size:15.5px; }
  body[data-ui-shell="app"] .hero-kpi-copy>span { font-size:12.5px; }
  body[data-ui-shell="app"] .hero-kpi-copy>strong { font-size:33px; }
  body[data-ui-shell="app"] .hero-kpi-copy>small { font-size:12.5px; }
  body[data-ui-shell="app"] .hero-panel-head h2 { font-size:21px; }
  body[data-ui-shell="app"] :is(.hero42-page,.hero43-page) { width:min(100%,2780px)!important; }
}

/* ========================================================================== */
/* v10.47.38 — UI 5.1 Adaptive Day / Night                                   */
/*                                                                            */
/* Auto mode follows the browser's local clock: day 07:00–19:00, night       */
/* 19:00–07:00. A local manual preference can override either mode. NOC mode */
/* is retired; the night theme is now the canonical low-light experience.     */
/* ========================================================================== */

.theme-toggle { position:relative; }
.theme-toggle[data-theme-preference="auto"]::after {
  content:"A";position:absolute;right:3px;bottom:2px;display:grid;place-items:center;width:12px;height:12px;border-radius:50%;font-size:7px;font-weight:800;line-height:1;
}
.theme-picker {
  position:fixed;z-index:10020;padding:8px;border-radius:14px;backdrop-filter:blur(24px) saturate(1.2);
}
.theme-picker[hidden]{display:none!important}
.theme-picker-head{display:grid;gap:3px;padding:8px 9px 10px;}
.theme-picker-head strong{font-size:12px;}.theme-picker-head small{font-size:9.5px;line-height:1.4;}
.theme-picker-option{display:grid!important;grid-template-columns:34px 1fr 20px;align-items:center;gap:9px;width:100%;min-height:50px!important;margin:4px 0!important;padding:7px 9px!important;border-radius:10px!important;text-align:left!important;}
.theme-picker-option:hover{transform:none!important;}
.theme-picker-option.is-selected{}
.theme-picker-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;}.theme-picker-icon svg{width:17px;height:17px}
.theme-picker-copy{display:grid;gap:2px}.theme-picker-copy strong{font-size:11px;}.theme-picker-copy small{font-size:9px;}.theme-picker-check{font-size:13px;opacity:0;}.theme-picker-option.is-selected .theme-picker-check{opacity:1}
.auth-theme-toggle{position:fixed;z-index:50;top:18px;right:18px;display:flex;align-items:center;gap:8px;min-height:38px;padding:7px 11px;border-radius:10px;backdrop-filter:blur(18px);cursor:pointer;}.auth-theme-toggle .ui-icon{width:16px;height:16px}.auth-theme-toggle>span{font-size:11px;font-weight:700}.theme-light .sflow-sankey-center-eyebrow{}.theme-light .sflow-sankey-center-direction{}.theme-light .sflow-sankey-center-rate{}.theme-light .sflow-sankey-node-name{}.theme-light .sflow-sankey-node-upstream{}.theme-light .sflow-sankey-legend-item{}.theme-light .sflow-sankey-legend-note{}

@media print{.theme-toggle,.theme-picker,.auth-theme-toggle{display:none!important}}

/* ==========================================================================
 * v10.47.39 — UI 5.2 / Canonical shell binding
 *
 * The navigation rail, brand block and hardware renderings use the FIXED
 * (--fx-*) tokens so they stay dark in Day mode, per the Heroic brand. This
 * block is authoritative: it is the last word in the cascade for the shell.
 * ========================================================================== */
html[data-ui-theme] body.portal-body .portal-sidebar {
  
  
  
  
}
html[data-ui-theme] body.portal-body .portal-brand,
html[data-ui-theme] body.portal-body .portal-brand:hover {  }
html[data-ui-theme] body.portal-body .portal-brand > span:last-child strong {  }
html[data-ui-theme] body.portal-body .portal-brand > span:last-child small {  }
html[data-ui-theme] body.portal-body .portal-nav-group > span {  }
html[data-ui-theme] body.portal-body .portal-nav a,
html[data-ui-theme] body.portal-body .portal-nav-featured a {  }
html[data-ui-theme] body.portal-body .portal-nav a .nav-icon,
html[data-ui-theme] body.portal-body .portal-nav-featured a .nav-icon {
  
  
}
html[data-ui-theme] body.portal-body .portal-nav a:hover,
html[data-ui-theme] body.portal-body .portal-nav-featured a:hover {
  
  
}
html[data-ui-theme] body.portal-body .portal-nav a:hover .nav-icon,
html[data-ui-theme] body.portal-body .portal-nav-featured a:hover .nav-icon {
  
  
}
html[data-ui-theme] body.portal-body .portal-nav a.active,
html[data-ui-theme] body.portal-body .portal-nav-featured a.active {
  
  
  
  
}
html[data-ui-theme] body.portal-body .portal-nav a.active .nav-icon,
html[data-ui-theme] body.portal-body .portal-nav-featured a.active .nav-icon {
  
  
}
html[data-ui-theme] body.portal-body .portal-sidebar-foot,
html[data-ui-theme] body.portal-body .portal-sidebar-status {  }
html[data-ui-theme] body.portal-body .portal-sidebar-foot small {  }
html[data-ui-theme] body.portal-body .portal-sidebar-status > span {  }
html[data-ui-theme] body.portal-body .portal-sidebar-status strong {  }
html[data-ui-theme] body.portal-body .portal-sidebar .status-dot.online {  }

/* Any text inside an accent-filled control stays on-accent in both themes. */
html[data-ui-theme] .ui-scope :is(.primary,.primary-action,.button.primary,button.primary) :is(small,span,strong,b,.ui-icon) {
  
}


/* ==========================================================================
 * v10.48.0 — Datacenter operations, flag geometry and multi-RU hardware
 *
 * Merged from the parallel 10.47.39 line. Colors were authored there against a
 * separate --theme-* namespace layered over the old cascade; they are mapped
 * onto the canonical contract here so these components theme like everything
 * else. The remaining !important flags are geometry fighting legacy sizing
 * rules, not color, and are tracked for a later structural pass.
 * ========================================================================== */
/* Device chassis presentation deliberately remains a physical silver/graphite
 * object. Only its surrounding inspection canvas follows the theme. */
body[data-ui-shell="app"] .ui-scope :is(.device-hardware-panel,.hero42-device-hardware,.hero42-device-stencil-mini) {
  
  
}

/* Flat country flags: small optical UI assets, never oversized and never emoji.
 * Bundled flag SVGs use a 4:3 viewBox. */
body[data-ui-shell="app"] :is(.country-flag-vector,.hero42-dc-flag,.hero42-device-flag,.hero44-customer-flag,.hero44-flat-flag,.rack-card-country,.service-location-country-flag,.customer-list-country-flag,.customer-account-country,.datacenter-flag,.datacenter-table-flag,.country-select-flat-flag,.map-inline-flag) {
  display:inline-flex;align-items:center;justify-content:center;
  width:24px;height:18px;min-width:24px;min-height:18px;max-width:24px;max-height:18px;
  flex:0 0 24px;overflow:hidden;border-radius:3px;line-height:0;vertical-align:middle;
}
body[data-ui-shell="app"] .customer-profile-country-display { display:inline-flex;align-items:center;gap:7px; }
body[data-ui-shell="app"] .customer-profile-country-display>.country-flag-svg { flex:0 0 24px; }
body[data-ui-shell="app"] :is(.country-flag-svg,.country-flag-img,.country-flag-flat,
  .country-flag-vector img,.hero42-dc-flag img,.hero42-device-flag img,.hero44-customer-flag img,.hero44-flat-flag img,
  .rack-card-country img,.service-location-country-flag img,.customer-list-country-flag img,.customer-account-country img,
  .customer-profile-country-display img,.datacenter-flag img,.datacenter-table-flag img,.country-select-flat-flag img,.map-inline-flag img) {
  display:block;width:24px;height:18px;min-width:24px;min-height:18px;max-width:24px;max-height:18px;
  object-fit:contain;object-position:center;margin:0;border-radius:2px;transform:none;
}
body[data-ui-shell="app"] .hero42-dc-map-marker img { width:22px;height:16.5px;min-width:22px;max-width:22px; }
body[data-ui-shell="app"] .hero42-country-name { align-items:center;gap:9px;line-height:1.15; }

/* Device Inventory: render every chassis at its physical RU aspect ratio.
 * The old fixed-height + transform crop was only safe for 1U hardware. */
body[data-ui-shell="app"] .hero42-device-stencil-mini {
  display:grid!important;place-items:center start!important;height:auto!important;min-height:88px!important;padding:8px 10px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-gutter:stable;
}
body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil {
  width:100%!important;height:auto!important;margin:0!important;padding:0!important;border:0;background:transparent;transform:none!important;
}
body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil-stage {
  display:block!important;width:100%!important;height:auto!important;min-width:0!important;max-width:100%!important;margin:0 auto!important;
}
body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil[data-rack-units="1"] .device-stencil-stage { aspect-ratio:10.857 / 1!important; }
body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil[data-rack-units="2"] .device-stencil-stage { aspect-ratio:5.429 / 1!important; }
body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil[data-rack-units="3"] .device-stencil-stage { width:min(100%,620px)!important;aspect-ratio:3.619 / 1!important; }
body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil[data-rack-units="4"] .device-stencil-stage { width:min(100%,560px)!important;aspect-ratio:2.714 / 1!important; }
body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil[data-rack-units="5"] .device-stencil-stage { width:min(100%,500px)!important;aspect-ratio:2.171 / 1!important; }
body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil[data-rack-units="6"] .device-stencil-stage { width:min(100%,460px)!important;aspect-ratio:1.810 / 1!important; }
body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil[data-rack-units="7"] .device-stencil-stage { width:min(100%,620px)!important;aspect-ratio:1.551 / 1!important; }
body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil-controls { display:none!important; }
body[data-ui-shell="app"] .hero42-device-row:has(.device-stencil[data-rack-units="2"]) { min-height:150px!important; }
body[data-ui-shell="app"] .hero42-device-row:has(.device-stencil[data-rack-units="3"]),
body[data-ui-shell="app"] .hero42-device-row:has(.device-stencil[data-rack-units="4"]) { min-height:190px!important; }
body[data-ui-shell="app"] .hero42-device-row:has(.device-stencil[data-rack-units="5"]),
body[data-ui-shell="app"] .hero42-device-row:has(.device-stencil[data-rack-units="6"]),
body[data-ui-shell="app"] .hero42-device-row:has(.device-stencil[data-rack-units="7"]) { min-height:300px!important; }

/* v10.52.0 — retain readable physical cage geometry below the full operations
   canvas. These are structural overrides of historical !important geometry,
   not theme appearance ownership. */
@media (max-width:2150px) {
  body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil {
    width:max(100%,900px)!important;
    min-width:900px!important;
  }
  body[data-ui-shell="app"] .hero42-device-stencil-mini .device-stencil-stage {
    width:100%!important;
    min-width:900px!important;
    max-width:none!important;
  }
}
@media (max-width:980px) {
  body[data-ui-shell="app"] .hero42-device-hardware {
    place-items:center start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-gutter:stable;
  }
  body[data-ui-shell="app"] .hero42-device-hardware .device-stencil,
  body[data-ui-shell="app"] .hero42-device-hardware .device-stencil-stage {
    width:900px!important;
    min-width:900px!important;
    max-width:none!important;
  }
}

/* Datacenter UI 5.2 */
.dc52-index-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(380px,.8fr);gap:14px}.dc52-site-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px}.dc52-card{display:grid;gap:12px;min-height:178px;padding:15px;border-radius:15px;text-decoration:none!important;}.dc52-card:hover{transform:translateY(-2px);}.dc52-card-head{display:flex;align-items:center;gap:9px}.dc52-site-code{padding:5px 7px;border-radius:7px;font:800 9px ui-monospace,SFMono-Regular,Menlo,monospace;}.dc52-card-head .status-dot{margin-left:auto}.dc52-card h3{margin:0;font-size:16px}.dc52-card-address{min-height:35px;font-size:10px;line-height:1.45;}.dc52-card-gps{color:var(--text-subtle);font-size:.9em}.dc52-card-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.dc52-card-metrics span{display:grid;gap:2px;padding:7px;border-radius:8px;text-align:center;}.dc52-card-metrics b{font-size:13px}.dc52-card-metrics small{font-size:8px}.dc52-map{height:100%;min-height:430px}.dc52-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dc52-detail-identity{display:flex;gap:12px;align-items:center}.dc52-detail-identity .country-flag-vector{width:24px;height:18px;max-width:24px;max-height:18px;flex-basis:24px}.dc52-detail-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.dc52-detail-kpis article{padding:13px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface-1);box-shadow:var(--shadow)}.dc52-detail-kpis small{display:block}.dc52-detail-kpis strong{display:block;margin-top:4px;font-size:22px}.dc52-detail-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(360px,.7fr);gap:14px}.dc52-room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}.dc52-room-card{padding:13px;border:1px solid var(--border);border-radius:12px;background:var(--surface-1)}.dc52-room-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}.dc52-rack-list{display:grid;gap:6px;margin-top:10px}.dc52-rack-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);text-decoration:none}.dc52-connectivity-list{display:grid;gap:7px;padding:14px}.dc52-connectivity-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2)}.dc52-connectivity-row small{display:block;margin-top:2px}.dc52-wizard{max-width:1180px;margin:0 auto}.dc52-wizard-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:0 0 14px}.dc52-wizard-step{display:flex;align-items:center;gap:8px;padding:10px 11px;border-radius:10px;font-weight:800;}.dc52-wizard-step b{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;}.dc52-wizard-step.is-active{}.dc52-wizard-card{padding:18px;}.dc52-wizard-panel[hidden]{display:none!important}.dc52-wizard-actions{display:flex;justify-content:space-between;gap:10px;margin-top:18px;padding-top:14px;}.dc52-profile-grid{padding:14px}

@media (max-width:1200px){.dc52-index-grid,.dc52-detail-grid{grid-template-columns:1fr}.dc52-site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dc52-detail-kpis{grid-template-columns:repeat(3,1fr)}}
@media (max-width:720px){.dc52-site-grid,.dc52-room-grid{grid-template-columns:1fr}.dc52-detail-kpis{grid-template-columns:repeat(2,1fr)}.dc52-wizard-rail{grid-template-columns:1fr 1fr}.dc52-detail-head{flex-direction:column}}

/* Large screens: scale text and hit areas, not flags or physical-device aspect. */
@media (min-width:1800px){
  body[data-ui-shell="app"] .ui-scope .dc52-card h3{font-size:18px}.dc52-card-address{font-size:12px}.dc52-card-metrics small{font-size:10px}.dc52-card-metrics b{font-size:15px}.dc52-detail-kpis strong{font-size:26px}.dc52-room-card h3{font-size:16px}
}
@media (min-width:2500px){
  body[data-ui-shell="app"] .ui-scope .dc52-card h3{font-size:20px}.dc52-card-address{font-size:13px}.dc52-site-grid{gap:14px}.dc52-card{min-height:205px;padding:18px;}.dc52-map{min-height:520px}
}


/* Facility identity sits in a narrow sidebar column; four rigid columns force
   values like an email address to break mid-word. Let the cells find their own
   width and break only between words. */
.dc52-profile-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.dc52-profile-grid > div { overflow-wrap: break-word; word-break: normal; }
.dc52-profile-grid > div > strong { overflow-wrap: anywhere; }

/* ==========================================================================
 * v10.49.0 — Facility-centric datacenter operations
 *
 * Photographic portfolio cards, the facility hero, the tab bar and the room
 * filter. Colors come from the contract; imagery is served from the
 * application data volume, never hotlinked.
 * ========================================================================== */

/* ----- Portfolio card ----- */
.dc52-card { overflow: hidden; padding: 0;   }
.dc52-card.has-image { min-height: 300px; }
.dc52-card-media {
  position: relative; display: block; height: 148px; overflow: hidden;
  /* An image well: dark in both appearances so the overlay text stays readable
     even if the photograph is missing or fails to load. */
  background: var(--fx-media-bg); border-bottom: 1px solid var(--border);
}
.dc52-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* No photograph yet: a deterministic plate derived from the site code, so the
   grid stays even without pulling a placeholder from an external service. */
/* The plate stands in for a photograph, so it lives in the on-image world and
   stays dark in both appearances — the white overlay text must stay readable
   whether or not an administrator has uploaded an image yet. */
.dc52-card-plate, .dc-hero-plate {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--fx-media-plate-bg);
}
.dc52-card-plate::after, .dc-hero-plate::after {
  content: attr(data-site-code);
  font: 800 34px/1 var(--font-mono, ui-monospace), monospace;
  letter-spacing: .16em; color: var(--fx-media-plate-text);
}
.dc-hero-plate::after { font-size: 76px; }
.dc52-card-veil, .dc-hero-veil {
  position: absolute; inset: 0;
  background: var(--fx-media-card-veil);
}
.dc52-card-city {
  position: absolute; left: 14px; bottom: 10px; z-index: 1;
  color: var(--fx-media-text); font-size: 19px; font-weight: 800; letter-spacing: -.02em;
  text-shadow: var(--fx-media-city-shadow);
}
.dc52-card-body { display: grid; gap: 10px; padding: 14px 15px 15px; }
.dc52-card-head { display: flex; align-items: center; gap: 9px; }
.dc52-card-title { display: block; }
.dc52-card-title h3 { margin: 0; font-size: 16px; }
.dc52-card-title small {  }
.dc52-card-address { display: block; min-height: 30px;  font-size: 10.5px; line-height: 1.45; }

/* ----- Facility hero ----- */
.dc-hero {
  position: relative; overflow: hidden; min-height: 260px;
  display: flex; align-items: flex-end;
   border-radius: var(--radius-lg);
  /* Same reasoning as the card media well: the hero always carries light text. */
   
}
.dc-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dc-hero-body { position: relative; z-index: 1; padding: 26px 28px; }
.dc-hero-city { margin: 0 0 4px; color: var(--fx-media-eyebrow); font-size: 13px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; }
.dc-hero h1 { margin: 0 0 10px;  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.03; letter-spacing: -.03em;  }
.dc-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 0;  font-size: 12.5px; }
.dc-hero-code { padding: 3px 8px; border-radius: 6px;   font-weight: 800; }
.dc-hero-meta .status-dot {  }
.dc-hero-actions { position: absolute; z-index: 1; top: 18px; right: 18px; display: flex; gap: 8px; }
.dc-hero-actions .button {    backdrop-filter: blur(14px); }
.dc-hero-actions .button:hover {   }

/* ----- KPIs ----- */
.dc-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.dc-kpis article { padding: 13px 15px;  border-radius: var(--radius-md);   }
.dc-kpis small { display: block;  font-size: 10.5px; }
.dc-kpis strong { display: block; margin: 4px 0 2px; font-size: 24px; letter-spacing: -.03em; }
.dc-kpis span {  font-size: 10px; }

/* ----- Tab bar ----- */
.dc-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 14px; padding-bottom: 2px; }
.dc-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
   font-size: 13px; font-weight: 700; text-decoration: none;
}
.dc-tab:hover {   }
.dc-tab.is-active {     }
.dc-tab-count { padding: 1px 7px; border-radius: var(--radius-pill);   font-size: 10.5px; font-weight: 700; }
.dc-tab.is-active .dc-tab-count {   }

/* ----- Tab bodies ----- */
.dc-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dc-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dc-two-col > .wide { grid-column: 1 / -1; }
.dc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; padding: 15px; }
.dc-facts > div { padding: 11px 12px;  border-radius: var(--radius-sm);  overflow-wrap: break-word; }
.dc-facts > div.wide { grid-column: 1 / -1; }
.dc-facts small { display: block;  font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.dc-facts strong { display: block; margin-top: 4px; }
.dc-map { height: 100%; min-height: 300px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.dc-map .leaflet-tile-pane {  }
.dc-room-usage, .dc-list, .dc-health { display: grid; gap: 8px; padding: 15px; }
.dc-room-usage article, .dc-list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px;  border-radius: var(--radius-sm);
    text-decoration: none;
}
a.dc-list-row:hover, .dc-room-usage article:hover {   }
.dc-list-row small, .dc-room-usage small { display: block; margin-top: 2px;  font-size: 11px; }
.dc-health > div { padding: 9px 12px;  border-radius: var(--radius-sm);  }

/* ----- Racks tab ----- */
.dc-racks-panel > .panel-heading { padding: 16px 18px 12px; }
.dc-room-filter { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 18px; }
.dc-room-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px;  border-radius: var(--radius-pill);
    font-size: 12px; font-weight: 700; text-decoration: none;
}
.dc-room-chip:hover {    }
.dc-room-chip.is-active {    }
.dc-room-chip span { padding: 0 6px; border-radius: var(--radius-pill);  font-size: 10.5px; }
.dc-rack-gallery { padding: 16px 18px 20px; }

/* ----- Gallery and media management ----- */
.dc-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; padding: 15px; }
.dc-gallery figure { margin: 0; overflow: hidden;  border-radius: var(--radius-sm);  }
.dc-gallery img { display: block; width: 100%; height: 128px; object-fit: cover; }
.dc-gallery figcaption { display: grid; gap: 2px; padding: 9px 11px; font-size: 11.5px; }
.dc-gallery figcaption small {  }
.dc-media-form { padding: 15px; }
.dc-media-list { display: grid; gap: 12px; padding: 15px; }
.dc-media-item {
  display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding: 12px;  border-radius: var(--radius-md); 
}
.dc-media-item img { width: 168px; height: 106px; object-fit: cover; border-radius: var(--radius-xs); }
.dc-media-item form { display: grid; gap: 7px; }
.dc-media-focal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dc-media-delete { align-self: end; }

@media (max-width: 1200px) {
  .dc-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dc-overview-grid, .dc-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .dc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-hero-actions { position: static; padding: 0 20px 16px; }
  .dc-media-item { grid-template-columns: 1fr; }
  .dc-media-item img { width: 100%; }
}

/* ----- Setup wizard: hero preview and review ----- */
.dc-hero-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dc-hero-preview {
  position: relative; margin: 0; height: 168px; overflow: hidden;
   border-radius: var(--radius-md);
}
/* The two previews deliberately pin their own appearance so an administrator
   can see the hero in Day and Night without switching the whole interface. */
.dc-hero-preview[data-preview-theme="light"] {  }
.dc-hero-preview[data-preview-theme="dark"] {  }
.dc-hero-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dc-hero-preview-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,12,24,.08), rgba(3,12,24,.72)); }
.dc-hero-preview-label {
  position: absolute; z-index: 2; top: 9px; left: 10px;
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: rgba(6, 18, 34, .66); color: #eaf3fd;
  font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.dc-hero-preview-title { position: absolute; z-index: 2; left: 12px; bottom: 10px; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.dc52-review { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
.dc52-review-card { display: block; overflow: hidden;  border-radius: var(--radius-lg);   }
.dc52-review-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.dc52-review-facts > div { padding: 11px 12px;  border-radius: var(--radius-sm);  }
.dc52-review-facts > div.wide { grid-column: 1 / -1; }
.dc52-review-facts dt {  font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.dc52-review-facts dd { margin: 4px 0 0; overflow-wrap: break-word; }
.dc52-wizard-step.is-done b {   }
@media (max-width: 900px) {
  .dc52-review { grid-template-columns: 1fr; }
  .dc-hero-preview-grid { grid-template-columns: 1fr; }
}

/* The facility hero and portfolio card sit on a photograph in BOTH themes, so
   their text is an on-image context: always light, never theme-flipped. These
   selectors outrank the generic .ui-scope heading colors on purpose. */
html[data-ui-theme] .ui-scope .dc-hero :is(h1, h2, h3, strong, b) {  }
html[data-ui-theme] .ui-scope .dc-hero :is(p, small, span) {  }
html[data-ui-theme] .ui-scope .dc-hero .dc-hero-city { color: var(--fx-media-eyebrow); }
html[data-ui-theme] .ui-scope .dc-hero .dc-hero-code {  }
html[data-ui-theme] .ui-scope .dc-hero .status-dot {  }
html[data-ui-theme] .ui-scope .dc52-card-city,
html[data-ui-theme] .ui-scope .dc-hero-preview-title { color: var(--fx-media-text); }
html[data-ui-theme] .ui-scope .dc-hero-actions .button {  }
html[data-ui-theme] .ui-scope .dc-hero-actions .button:hover {  }
html[data-ui-theme] .ui-scope .dc-hero code.dc-hero-code {
  
  
  
}
/* Site-code chip: --accent on --accent-soft only reaches 4.43:1 in Night. */
html[data-ui-theme] .ui-scope .dc52-site-code {  }
@media (max-width: 1180px) { .dc52-wizard-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .dc52-wizard-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width:1400px){
  .ddos-health-grid{grid-template-columns:repeat(3,1fr)}
  .ddos-campaign-card{grid-template-columns:1fr 1fr}
  .ddos-profile-form,.ddos-managed-profile{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .ddos-health-grid,.ddos-campaign-card,.ddos-profile-form,.ddos-managed-profile{grid-template-columns:1fr}
  .ddos-profile-card>summary{grid-template-columns:1fr auto}
  .ddos-profile-card>summary>span:nth-child(2){grid-column:1/-1}
}

}


/* v11.2.25 shared readability. Scope prose separately from compact identities;
   intentional technical wrap rules elsewhere continue to own their contexts. */
body[data-ui-shell="app"] .ui-scope :is(.data-table, .hero42-data-table) :is(td, th) { font-size: 13px; line-height: 1.5; overflow-wrap: normal; }
body[data-ui-shell="app"] .ui-scope :is(.data-table, .hero42-data-table) th { font-size: 11.5px; }
body[data-ui-shell="app"] .ui-scope :is(.data-table, .hero42-data-table) :is(small, .row-note, .service-overview-location, .hero42-term-line) { font-size: 12px; line-height: 1.5; }
body[data-ui-shell="app"] .ui-scope :is(.data-table, .hero42-data-table) strong { font-size: 13px; overflow-wrap:break-word; }
body[data-ui-shell="app"] .ui-scope :is(.badge, .ticket-status, .support-attachment-chip, .hero42-table-primary .mono) { overflow-wrap: normal; word-break: normal; }
body[data-ui-shell="app"] .ui-scope :is(.badge, .ticket-status, .hero42-table-primary .mono) { white-space: nowrap; font-size: 12px; }
body[data-ui-shell="app"] .ui-scope .data-table td :is(p, .row-note, .block) { overflow-wrap: break-word; }
body[data-ui-shell="app"] .ui-scope .data-table td code { overflow-wrap: anywhere; }
body[data-ui-shell="app"] .ui-scope :is(.ui-search-field,.data-table-search,.hero42-search-field) input { padding-left: 40px; }
body[data-ui-shell="app"] .ui-scope :is(.ui-stat,.hero42-kpi-row article,.hero-kpi-card,.metric-card) :is(small,.hero-kpi-copy>small) { font-size:12.5px; line-height:1.5; }
body[data-ui-shell="app"] .ui-scope :is(.ui-stat>span,.hero42-kpi-row article small,.hero-kpi-copy>span,.metric-card>span) { font-size:12px; }
body[data-ui-shell="app"] .ui-scope :is(.ui-stat>strong,.hero42-kpi-row article strong,.metric-card>strong) { font-size:24px; font-variant-numeric:tabular-nums; line-height:1.2; }
body[data-ui-shell="app"] .ui-scope :is(.hero42-filter-bar,.ui-filter-bar) { display:grid; grid-template-columns:minmax(220px,2fr) repeat(3,minmax(120px,1fr)) auto auto; gap:10px; align-items:center; }
body[data-ui-shell="app"] .ui-scope :is(.hero42-filter-bar,.ui-filter-bar) :is(input:not([type=hidden]),select,.button) { min-height:40px; font-size:13px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-types { display:flex; flex-wrap:wrap; gap:8px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-types>a { flex:0 1 auto; min-height:0; padding:10px 14px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-types :is(strong,small) { font-size:12.5px; }
body[data-ui-shell="app"] .ui-scope :is(.empty-state,.ui-empty-state,.catalog-empty-state .empty) { padding:24px; min-height:0; }
body[data-ui-shell="app"] .ui-scope :is(.empty-state,.ui-empty-state) h3 { font-size:16px; }
body[data-ui-shell="app"] .ui-scope :is(input,textarea)::placeholder { color:var(--text-subtle); opacity:1; font-weight:400; }
body[data-ui-shell="app"] .portal-account-menu { position:relative; }
body[data-ui-shell="app"] .portal-account-menu>summary { list-style:none; cursor:pointer; border-radius:var(--radius-sm); padding:4px; }
body[data-ui-shell="app"] .portal-account-menu>summary::-webkit-details-marker { display:none; }
body[data-ui-shell="app"] .portal-account-menu>summary::after { content:'⌄'; color:var(--text-muted); }
body[data-ui-shell="app"] .portal-account-options { position:absolute; z-index:120; right:0; top:100%; min-width:220px; padding:12px; background:var(--surface-1); border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow); }
body[data-ui-shell="app"] .portal-account-options>a { display:block; padding:10px; color:var(--text-body); }
body[data-ui-shell="app"] .portal-admin strong { white-space:nowrap; }
body[data-ui-shell="app"] .portal-admin .avatar { display:inline-flex; width:34px; height:34px; flex:0 0 34px; align-items:center; justify-content:center; background:var(--accent-soft); color:var(--accent-text); border:1px solid var(--accent); font-size:12px; }
body[data-ui-shell="app"] .settings-workspace-ready { display:grid; grid-template-columns:230px minmax(0,1fr); gap:20px; align-items:start; }
body[data-ui-shell="app"] .settings-section-nav { display:flex; flex-direction:column; gap:6px; position:sticky; top:20px; max-height:calc(100vh - 40px); overflow:auto; padding:14px; background:var(--surface-1); border:1px solid var(--border); border-radius:12px; }
body[data-ui-shell="app"] .settings-section-nav .button { white-space:normal; text-align:left; justify-content:flex-start; }
body[data-ui-shell="app"] .settings-section-nav [aria-current=true] { background:var(--accent-soft); color:var(--accent-text); border-color:var(--accent); }
body[data-ui-shell="app"] .settings-section-search { display:grid; gap:8px; font-size:12px; }
body[data-ui-shell="app"] .settings-search-results:empty { display:none; }
body[data-ui-shell="app"] .settings-workspace-ready .hero44-savebar { grid-column:1 / -1; position:sticky; bottom:12px; z-index:20; background:var(--surface-1); border:1px solid var(--border); }
body[data-ui-shell="app"] .settings-dirty { font-size:13px; color:var(--text-muted); }
body[data-ui-shell="app"] .settings-workspace-ready [hidden] { display:none; }
body[data-ui-shell="app"] .customer-record-actions { display:flex; gap:10px; flex-wrap:wrap; }
body[data-ui-shell="app"] .customer-record-actions details { position:relative; }
body[data-ui-shell="app"] .customer-record-actions details>div { position:absolute; right:0; z-index:30; min-width:230px; background:var(--surface-1); border:1px solid var(--border); padding:12px; border-radius:12px; display:grid; gap:8px; }
@media(max-width:1100px) {
 body[data-ui-shell="app"] .ui-scope :is(.hero42-filter-bar,.ui-filter-bar) { grid-template-columns:repeat(3,minmax(0,1fr)); }
 body[data-ui-shell="app"] .ui-scope .hero42-filter-bar .ui-search-field { grid-column:1 / -1; }
}
@media(max-width:760px) {
 body[data-ui-shell="app"] .settings-workspace-ready { grid-template-columns:minmax(0,1fr); }
 body[data-ui-shell="app"] .settings-section-nav { position:static; max-height:240px; }
 body[data-ui-shell="app"] .ui-scope :is(.metric-grid,.ui-stat-grid,.hero42-kpi-row,.hero-kpi-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body[data-ui-shell="app"] .ui-scope :is(.hero42-filter-bar,.ui-filter-bar) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body[data-ui-shell="app"] .portal-account-menu .portal-admin>span:not(.avatar) { display:none; }
 body[data-ui-shell="app"] .ui-scope table[data-mobile-cards] { display:block; min-width:0; width:100%; }
 body[data-ui-shell="app"] .ui-scope table[data-mobile-cards] thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 body[data-ui-shell="app"] .ui-scope table[data-mobile-cards] tbody { display:grid; gap:12px; }
 body[data-ui-shell="app"] .ui-scope table[data-mobile-cards] tbody tr:not([hidden]):not(.ui-row-filtered) { display:grid; background:var(--surface-1); border:1px solid var(--border); border-radius:12px; padding:8px; }
 body[data-ui-shell="app"] .ui-scope table[data-mobile-cards] tbody tr.ui-row-filtered { display:none; }
 body[data-ui-shell="app"] .ui-scope table[data-mobile-cards] td { display:block; padding:8px; min-width:0; border:0; overflow-wrap:break-word; }
 body[data-ui-shell="app"] .ui-scope table[data-mobile-cards] td[data-label]::before { content:attr(data-label); display:block; color:var(--text-subtle); font-size:11px; margin-bottom:4px; }
 body[data-ui-shell="app"] .ui-scope table[data-mobile-cards] [hidden] { display:none; }
}



body[data-ui-shell="app"] .ui-scope .hero42-kpi-row article>div>span { font-size:12.5px; line-height:1.5; }
body[data-ui-shell="app"] .ui-scope .hero42-table-primary strong.mono { font-size:13px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-type-panel .hero42-panel-head { padding:12px 16px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-type-panel .hero42-panel-head>div { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-type-panel .eyebrow { display:none; }
body[data-ui-shell="app"] .ui-scope .hero42-service-type-panel h2 { margin:0; font-size:15px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-type-grid { display:flex; flex-wrap:wrap; gap:8px; padding:12px 16px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-type-card { flex:1 1 190px; min-height:0; padding:10px 12px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-type-card strong { font-size:13px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-type-card small { font-size:12px; }
body[data-ui-shell="app"] .ui-scope .hero42-service-type-card b { font-size:18px; }
body[data-ui-shell="app"] .portal-account-menu>summary { display:flex; align-items:center; gap:4px; }
body[data-ui-shell="app"] .portal-account-menu .portal-admin { display:inline-flex; align-items:center; gap:8px; }
body[data-ui-shell="app"] .ui-scope .ddos-health-grid :is(small,em) { font-size:12px; line-height:1.5; }
body[data-ui-shell="app"] .ui-scope .ddos-health-grid strong { font-size:16px; }
@media(max-width:760px) {
 body[data-ui-shell="app"] .portal-top-actions { gap:6px; }
 body[data-ui-shell="app"] .ui-scope .hero42-kpi-row article .ui-kpi-icon { display:none; }
 body[data-ui-shell="app"] .ui-scope .hero42-kpi-row article { grid-template-columns:minmax(0,1fr); }
 body[data-ui-shell="app"] .ui-scope .hero42-kpi-row article>div>strong { font-size:20px; overflow-wrap:normal; word-break:normal; }
 body[data-ui-shell="app"] .portal-topbar-context { min-width:0; flex:1; }
 body[data-ui-shell="app"] .portal-topbar-context strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
 body[data-ui-shell="app"] .ui-scope .data-table-toolbar { flex-wrap:wrap; }
 body[data-ui-shell="app"] .ui-scope .data-table-view-controls { flex-wrap:wrap; }
}


/* Match the existing Hero 44 stat markup to the shared readable scale. */
body[data-ui-shell="app"] .ui-scope .hero44-kpi-grid small { font-size:12px; line-height:1.5; white-space:normal; }
body[data-ui-shell="app"] .ui-scope .hero44-kpi-grid strong { font-size:24px; line-height:1.2; font-variant-numeric:tabular-nums; }
body[data-ui-shell="app"] .ui-scope .hero44-kpi-grid span:not(.hero44-kpi-icon) { font-size:12.5px; line-height:1.5; white-space:normal; }
body[data-ui-shell="app"] .ui-scope .hero44-customer-dashboard .hero44-customer-service-card strong { font-size:13px; }
body[data-ui-shell="app"] .ui-scope .hero44-customer-dashboard .hero44-customer-service-card small { font-size:12px; }
body[data-ui-shell="app"] .ui-scope .hero44-customer-dashboard .hero44-tech-list :is(small,strong) { font-size:12px; }
@media(max-width:760px) {
 body[data-ui-shell="app"] .ui-scope .hero44-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body[data-ui-shell="app"] .ui-scope .hero44-kpi-grid>article { grid-template-columns:minmax(0,1fr); padding:14px; }
 body[data-ui-shell="app"] .ui-scope .hero44-kpi-grid .hero44-kpi-icon { display:none; }
 body[data-ui-shell="app"] .ui-scope .hero44-kpi-grid strong { font-size:20px; }
}
