/* PerimetroX client dashboard — page-scoped visual system.
   This stylesheet intentionally leaves portal.css and portal.js untouched. */

html.px-portal-root {
  zoom: 1;
  color-scheme: dark;
  background: #0a121d;
  scroll-behavior: smooth;
}

html.px-portal-root body[data-px-page="portal"] {
  --bg-0: #09121d;
  --bg-1: #0d1723;
  --bg-2: #121e2c;
  --panel: #101b28;
  --panel-2: #142130;
  --panel-solid: #111d2a;
  --line: rgba(164, 186, 207, 0.19);
  --line-soft: rgba(164, 186, 207, 0.11);
  --line-strong: rgba(91, 203, 220, 0.36);
  --text: #e7eff7;
  --text-muted: #b1bfce;
  --text-dim: #93a3b4;
  --cyan: #61d2e2;
  --teal: #55c9c5;
  --brand: #c05a72;
  --brand-dark: #87364b;
  --indigo: #8fc8e9;
  --violet: #73c4d5;
  --crit: #ff7687;
  --high: #ff9d66;
  --med: #f2cc69;
  --low: #78c9e6;
  --ok: #6dd3a7;
  --grad-brand: linear-gradient(90deg, #c05a72, #61d2e2);
  --grad-text: none;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --maxw: 1660px;
  --gutter: clamp(16px, 2.4vw, 36px);
  --nav-h: 58px;
  --shadow-card: 0 16px 42px -34px rgba(0, 0, 0, .72);
  --shadow-glow: 0 0 0 1px rgba(97, 210, 226, .17), 0 18px 40px -34px rgba(97, 210, 226, .4);
  color: var(--text);
  background: #0a121d;
  font-size: 15px;
  line-height: 1.55;
  isolation: isolate;
}

html.px-portal-root body[data-px-page="portal"]::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(70rem 35rem at 18% -18%, rgba(37, 109, 130, .16), transparent 67%),
    radial-gradient(54rem 36rem at 100% 24%, rgba(94, 42, 62, .13), transparent 70%),
    linear-gradient(180deg, #0a121d 0%, #0c1621 48%, #0a121b 100%);
}

html.px-portal-root body[data-px-page="portal"] .bg-layers {
  width: 100vw;
  height: 100vh;
  inset: 0 auto auto 0;
  overflow: clip;
  opacity: .24;
}

html.px-portal-root body[data-px-page="portal"] .bg-mesh {
  inset: 0;
  background:
    radial-gradient(38% 34% at 16% 10%, rgba(79, 189, 205, .10), transparent 62%),
    radial-gradient(40% 36% at 86% 4%, rgba(150, 67, 88, .09), transparent 64%),
    radial-gradient(46% 46% at 82% 86%, rgba(4, 110, 157, .08), transparent 62%),
    linear-gradient(180deg, #0a121d, #0c1621 58%, #0a121b);
}

html.px-portal-root body[data-px-page="portal"] .bg-grid {
  opacity: .18;
  background-image:
    linear-gradient(to right, rgba(153, 181, 204, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(153, 181, 204, .055) 1px, transparent 1px);
}

html.px-portal-root body[data-px-page="portal"] .bg-noise { opacity: .018; }
html.px-portal-root body[data-px-page="portal"] .scroll-progress {
  height: 2px;
  background: linear-gradient(90deg, #8c3c53, #57cbdc 72%, #84d8d9);
  box-shadow: none;
}
html.px-portal-root body[data-px-page="portal"] .scroll-progress::after { display: none; }

/* Compact two-level application header: brand/actions, then the existing
   destination links. No menu item or route is removed. */
html.px-portal-root body[data-px-page="portal"] .site-header {
  position: sticky;
  inset: 0 0 auto;
  display: block;
  padding: 10px clamp(12px, 2vw, 28px) 0;
  pointer-events: auto;
  z-index: 100;
}

html.px-portal-root body[data-px-page="portal"] .site-header .nav-inner {
  width: min(1660px, 100%);
  min-height: 0;
  height: auto;
  margin-inline: auto;
  padding: 9px 16px 8px;
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(0, 1fr) auto;
  grid-template-areas: "brand . actions" "links links links";
  align-items: center;
  gap: 6px 18px;
  border: 1px solid rgba(164, 186, 207, .15);
  border-radius: 13px;
  background: rgba(13, 23, 35, .96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .21);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  transition: border-color .2s ease, background .2s ease;
}

html.px-portal-root body[data-px-page="portal"] .site-header.is-scrolled .nav-inner {
  background: rgba(11, 20, 31, .98);
  border-color: rgba(164, 186, 207, .2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .27);
}

html.px-portal-root body[data-px-page="portal"] .site-header .brand { grid-area: brand; min-width: 0; }
html.px-portal-root body[data-px-page="portal"] .site-header .brand-logo {
  width: clamp(176px, 16vw, 226px);
  max-height: 42px;
  filter: none;
}

html.px-portal-root body[data-px-page="portal"] .site-header .px-head-id {
  grid-area: identity;
  justify-self: end;
  max-width: min(36vw, 380px);
  color: #b9c6d4;
  font: 500 12px/1.35 "JetBrains Mono", monospace;
}
html.px-portal-root body[data-px-page="portal"] .site-header .px-head-id strong { color: #eef4fa; }

html.px-portal-root body[data-px-page="portal"] .site-header .nav-cta {
  grid-area: actions;
  display: flex;
  margin: 0;
  gap: 8px;
}

html.px-portal-root body[data-px-page="portal"] .site-header .nav-links {
  grid-area: links;
  order: initial;
  flex: initial;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px;
  margin: 2px 0 0;
  padding: 7px 0 0;
  border-top: 1px solid rgba(164, 186, 207, .12);
}

html.px-portal-root body[data-px-page="portal"] .site-header .nav-links > a {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #aab9c8;
  font-size: 13px;
  font-weight: 550;
  text-align: left;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

html.px-portal-root body[data-px-page="portal"] .site-header .nav-links > a:hover,
html.px-portal-root body[data-px-page="portal"] .site-header .nav-links > a:focus-visible {
  color: #ecf5fa;
  background: rgba(115, 194, 209, .08);
  border-color: rgba(115, 194, 209, .16);
}

html.px-portal-root body[data-px-page="portal"] .site-header .nav-links > a.is-active {
  color: #d9f6fa;
  background: rgba(76, 168, 184, .12);
  border-color: rgba(97, 210, 226, .2);
  box-shadow: inset 2px 0 #61d2e2;
}

html.px-portal-root body[data-px-page="portal"] .site-header .nav-cta .btn,
html.px-portal-root body[data-px-page="portal"] .btn {
  min-height: 40px;
  border-radius: 7px;
  font-weight: 600;
  box-shadow: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

html.px-portal-root body[data-px-page="portal"] .site-header .btn-primary,
html.px-portal-root body[data-px-page="portal"] .btn-primary {
  color: #07151a;
  background: #65d1dd;
  border: 1px solid #65d1dd;
  box-shadow: none;
}
html.px-portal-root body[data-px-page="portal"] .btn-primary:hover {
  color: #07151a;
  background: #81dce4;
  transform: translateY(-1px);
  box-shadow: none;
}
html.px-portal-root body[data-px-page="portal"] .btn-secondary {
  color: #d1dbe4;
  background: #172331;
  border: 1px solid rgba(164, 186, 207, .23);
}
html.px-portal-root body[data-px-page="portal"] .btn-secondary:hover {
  color: #f4f8fb;
  background: #1d2c3b;
  border-color: rgba(164, 186, 207, .4);
  transform: translateY(-1px);
}
html.px-portal-root body[data-px-page="portal"] .btn-danger {
  background: #7d3547;
  border-color: #a54b60;
  box-shadow: none;
}

/* Working area: wider, legible, and with editorial rhythm instead of the
   public landing's oversized section spacing. */
html.px-portal-root body[data-px-page="portal"] .px-main {
  padding: 28px 0 64px;
  min-width: 0;
}
html.px-portal-root body[data-px-page="portal"] .px-main > .shell {
  width: 100%;
  max-width: 1660px;
  padding-inline: clamp(16px, 2.5vw, 38px);
  gap: 15px;
}
html.px-portal-root body[data-px-page="portal"] main section { padding-block: 0; }
html.px-portal-root body[data-px-page="portal"] section[id] { scroll-margin-top: 126px; }
html.px-portal-root body[data-px-page="portal"] .px-page-head {
  gap: 5px;
  padding: 4px 2px 8px;
}
html.px-portal-root body[data-px-page="portal"] .px-h1 {
  color: #f0f5fa;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.15;
}
html.px-portal-root body[data-px-page="portal"] .px-lead { color: #acbac9; font-size: 14px; }
html.px-portal-root body[data-px-page="portal"] .px-muted,
html.px-portal-root body[data-px-page="portal"] .px-card-sub { color: #9eafbf; }
html.px-portal-root body[data-px-page="portal"] .px-mono,
html.px-portal-root body[data-px-page="portal"] .mono { color: #c7d5e1; }

/* Main dashboard is the visual anchor; following modules use quieter surfaces. */
html.px-portal-root body[data-px-page="portal"] .px-card {
  min-width: 0;
  padding: clamp(17px, 1.8vw, 24px);
  overflow: hidden;
  color: var(--text);
  background: rgba(15, 26, 39, .88);
  border: 1px solid rgba(164, 186, 207, .14);
  border-radius: 11px;
  box-shadow: 0 12px 34px -31px rgba(0, 0, 0, .8);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html.px-portal-root body[data-px-page="portal"] .px-card::after { display: none; }
html.px-portal-root body[data-px-page="portal"] .px-card.card-hover:hover {
  transform: none;
  border-color: rgba(164, 186, 207, .2);
  box-shadow: 0 15px 38px -32px rgba(0, 0, 0, .82);
}
html.px-portal-root body[data-px-page="portal"] #pxDashboardSection {
  padding: clamp(19px, 2.2vw, 30px);
  background: linear-gradient(120deg, rgba(18, 34, 49, .98), rgba(14, 25, 38, .93) 58%, rgba(19, 29, 42, .9));
  border-color: rgba(104, 177, 192, .2);
  box-shadow: 0 20px 52px -46px rgba(26, 130, 149, .48);
}
html.px-portal-root body[data-px-page="portal"] .px-card-head {
  margin: 0 0 13px;
  padding: 0 0 12px;
  background: transparent;
  border-bottom: 1px solid rgba(164, 186, 207, .12);
}
html.px-portal-root body[data-px-page="portal"] .px-card-title { gap: 10px; }
html.px-portal-root body[data-px-page="portal"] .px-card-title .icon-badge {
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 7px;
  color: #75d4df;
  background: rgba(89, 187, 201, .1);
}
html.px-portal-root body[data-px-page="portal"] .px-card-title .icon-badge.indigo,
html.px-portal-root body[data-px-page="portal"] .px-card-title .icon-badge.violet {
  color: #9fcbe8;
  background: rgba(100, 164, 201, .1);
}
html.px-portal-root body[data-px-page="portal"] .px-card-title .icon-badge svg { width: 17px; height: 17px; }
html.px-portal-root body[data-px-page="portal"] .px-card-title h2,
html.px-portal-root body[data-px-page="portal"] .px-card-head h2 {
  color: #e6eef5;
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -.01em;
}
html.px-portal-root body[data-px-page="portal"] .px-card-sub { font-size: 13px; line-height: 1.55; }
html.px-portal-root body[data-px-page="portal"] .px-findings-open,
html.px-portal-root body[data-px-page="portal"] .px-recommendations-open {
  width: auto;
  min-width: 168px;
  justify-self: start;
  justify-content: center;
  padding-inline: 16px;
}
html.px-portal-root body[data-px-page="portal"] .px-grid--3 {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(164, 186, 207, .14);
  border-radius: 11px;
  background: rgba(15, 26, 39, .8);
}
html.px-portal-root body[data-px-page="portal"] .px-grid--3 > .px-card {
  padding: 17px 19px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html.px-portal-root body[data-px-page="portal"] .px-grid--3 > .px-card + .px-card {
  border-left: 1px solid rgba(164, 186, 207, .13);
}
html.px-portal-root body[data-px-page="portal"] .px-grid--3 .px-card-head { margin-bottom: 12px; }

/* Dashboard charts and charts generated by the existing renderer. */
html.px-portal-root body[data-px-page="portal"] .px-dash-panel {
  min-width: 0;
  padding: 16px 17px;
  color: var(--text);
  background: rgba(8, 17, 27, .43);
  border: 1px solid rgba(164, 186, 207, .12);
  border-radius: 8px;
}
html.px-portal-root body[data-px-page="portal"] .px-dash-panel--wide { margin-top: 14px; }
html.px-portal-root body[data-px-page="portal"] .px-h3 { color: #dce6ee; font-size: 13px; font-weight: 620; }
html.px-portal-root body[data-px-page="portal"] .px-skel { color: #97a8b8; }
html.px-portal-root body[data-px-page="portal"] .px-dash-hero { padding: 16px 18px; }
html.px-portal-root body[data-px-page="portal"] .px-dash-panel svg text { fill: #adbac7; }
html.px-portal-root body[data-px-page="portal"] .px-dash-panel svg .grid-line { stroke: rgba(164, 186, 207, .16); }

/* Report selector and severity markers retain their data and behavior. */
html.px-portal-root body[data-px-page="portal"] .px-report-tab-group {
  background: rgba(8, 17, 27, .38);
  border-color: rgba(164, 186, 207, .14);
  border-radius: 8px;
}
html.px-portal-root body[data-px-page="portal"] .px-report-tab-group-label { color: #9eafbf; }
html.px-portal-root body[data-px-page="portal"] .px-report-tab {
  min-height: 42px;
  color: #c8d4df;
  background: #121f2d;
  border-color: rgba(164, 186, 207, .19);
  border-radius: 7px;
}
html.px-portal-root body[data-px-page="portal"] .px-report-tab:hover { border-color: rgba(97, 210, 226, .42); }
html.px-portal-root body[data-px-page="portal"] .px-report-tab.is-active {
  color: #e8fbfd;
  background: rgba(70, 159, 174, .14);
  border-color: rgba(97, 210, 226, .42);
  box-shadow: inset 0 -2px #61d2e2;
}
html.px-portal-root body[data-px-page="portal"] .px-report-tab .meta { color: #95a9b8; }
html.px-portal-root body[data-px-page="portal"] .px-inventory-tab {
  min-height: 34px;
  padding: 6px 9px;
  color: #b9c7d3;
  background: rgba(14, 25, 37, .75);
  border: 1px solid rgba(164, 186, 207, .16);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 560;
}
html.px-portal-root body[data-px-page="portal"] .px-inventory-tab:hover {
  color: #e2f3f5;
  background: rgba(80, 165, 180, .09);
  border-color: rgba(97, 210, 226, .28);
}
html.px-portal-root body[data-px-page="portal"] .px-inventory-tab.is-active {
  color: #dff9fb;
  background: rgba(76, 159, 174, .14);
  border-color: rgba(97, 210, 226, .36);
}
html.px-portal-root body[data-px-page="portal"] .px-sevgrid { gap: 0; }
html.px-portal-root body[data-px-page="portal"] .px-sevtile {
  padding: 9px 14px;
  border: 0;
  border-top: 0;
  border-left: 1px solid rgba(164, 186, 207, .13);
  border-radius: 0;
  background: transparent;
  transition: background .15s ease;
}
html.px-portal-root body[data-px-page="portal"] .px-sevtile:first-child { border-left: 0; }
html.px-portal-root body[data-px-page="portal"] .px-sevtile:hover { transform: none; box-shadow: none; background: rgba(255,255,255,.025); }
html.px-portal-root body[data-px-page="portal"] .px-sevtile .count { font-size: 25px; }

/* Values, tables, controls and dynamically rendered findings. */
html.px-portal-root body[data-px-page="portal"] .px-score .val {
  color: #8fdee5;
  background: none;
  -webkit-text-fill-color: currentColor;
}
html.px-portal-root body[data-px-page="portal"] .px-meter { background: rgba(164, 186, 207, .15); }
html.px-portal-root body[data-px-page="portal"] .px-exposure { font-family: "Inter", sans-serif; letter-spacing: .015em; }
html.px-portal-root body[data-px-page="portal"] .px-exposure--critico { background: rgba(255, 118, 135, .1); }
html.px-portal-root body[data-px-page="portal"] .px-exposure--alto { background: rgba(255, 157, 102, .1); }
html.px-portal-root body[data-px-page="portal"] .px-exposure--medio { background: rgba(242, 204, 105, .1); }
html.px-portal-root body[data-px-page="portal"] .px-exposure--bajo { background: rgba(120, 201, 230, .1); }
html.px-portal-root body[data-px-page="portal"] .px-score .max { color: #9eb0c1; }
html.px-portal-root body[data-px-page="portal"] .px-stat .num { color: #eff5fa; }
html.px-portal-root body[data-px-page="portal"] .px-stat .lbl { color: #9baebe; font-size: 11px; letter-spacing: .02em; }
html.px-portal-root body[data-px-page="portal"] .px-selected-report,
html.px-portal-root body[data-px-page="portal"] .px-selected-report-meta-item { color: #c4d1dc; }
html.px-portal-root body[data-px-page="portal"] .px-selected-report {
  background: rgba(8, 17, 27, .54);
  border-color: rgba(164, 186, 207, .16);
  box-shadow: none;
}
html.px-portal-root body[data-px-page="portal"] .px-selected-report-meta-item {
  background: rgba(20, 34, 49, .78);
  border-color: rgba(164, 186, 207, .12);
}
html.px-portal-root body[data-px-page="portal"] .px-selected-report-kicker,
html.px-portal-root body[data-px-page="portal"] .px-selected-report-ref { color: #9bdce4; }
html.px-portal-root body[data-px-page="portal"] .px-selected-report-meta-label { font-size: 10px; }
html.px-portal-root body[data-px-page="portal"] .px-selected-report-meta-value { color: #d4dfe8; font-size: 12.5px; }
html.px-portal-root body[data-px-page="portal"] .px-selected-report-meta-label { color: #95a7b8; }
html.px-portal-root body[data-px-page="portal"] .px-table-wrap { scrollbar-color: #425565 #121d29; }
html.px-portal-root body[data-px-page="portal"] .px-table { color: #c9d5df; font-size: 13px; }
html.px-portal-root body[data-px-page="portal"] .px-table th {
  color: #9eb1c1;
  background: rgba(7, 15, 24, .62);
  font-size: 11px;
  letter-spacing: .045em;
}
html.px-portal-root body[data-px-page="portal"] .px-table th,
html.px-portal-root body[data-px-page="portal"] .px-table td { border-color: rgba(164, 186, 207, .12); }
html.px-portal-root body[data-px-page="portal"] .px-table tbody tr:hover { background: rgba(97, 210, 226, .045); }
html.px-portal-root body[data-px-page="portal"] .px-table tr.px-block-head td { color: #aebdca; background: rgba(6, 14, 23, .58); }
html.px-portal-root body[data-px-page="portal"] .px-table tr.px-block-head td strong { color: #e1e9f0; }
html.px-portal-root body[data-px-page="portal"] input,
html.px-portal-root body[data-px-page="portal"] select,
html.px-portal-root body[data-px-page="portal"] textarea {
  color: #e2ebf3;
  background-color: #0c1722;
  border-color: rgba(164, 186, 207, .25);
  border-radius: 7px;
}
html.px-portal-root body[data-px-page="portal"] input::placeholder,
html.px-portal-root body[data-px-page="portal"] textarea::placeholder { color: #8194a5; }
html.px-portal-root body[data-px-page="portal"] select option { color: #e2ebf3; background: #101b28; }
html.px-portal-root body[data-px-page="portal"] .px-finding-toolbar,
html.px-portal-root body[data-px-page="portal"] .px-inventory-search,
html.px-portal-root body[data-px-page="portal"] .px-compare-pickers {
  color: #c7d3de;
  background: rgba(8, 17, 27, .36);
  border-color: rgba(164, 186, 207, .15);
}
html.px-portal-root body[data-px-page="portal"] .px-finding,
html.px-portal-root body[data-px-page="portal"] .px-recommendation,
html.px-portal-root body[data-px-page="portal"] .px-comparison-impact-card,
html.px-portal-root body[data-px-page="portal"] .px-detail-quicknav {
  color: #d6e0e8;
  background: rgba(13, 24, 36, .82);
  border-color: rgba(164, 186, 207, .16);
  box-shadow: none;
}
html.px-portal-root body[data-px-page="portal"] .px-comparison-risk,
html.px-portal-root body[data-px-page="portal"] .px-comparison-risk.is-empeoro,
html.px-portal-root body[data-px-page="portal"] .px-comparison-risk.is-mejoro {
  color: #dce7ef;
  background: rgba(16, 29, 43, .88);
  border-color: rgba(164, 186, 207, .17);
}
html.px-portal-root body[data-px-page="portal"] .px-comparison-risk-score,
html.px-portal-root body[data-px-page="portal"] .px-recommendation-text strong { color: #e2f5f7; }
html.px-portal-root body[data-px-page="portal"] .px-recommendation-number {
  color: #a8e2e7;
  background: rgba(74, 159, 174, .13);
  border-color: rgba(97, 210, 226, .25);
}
html.px-portal-root body[data-px-page="portal"] .px-recommendation-asset,
html.px-portal-root body[data-px-page="portal"] .px-recommendation-code {
  color: #b5e1e7;
  background: rgba(71, 153, 168, .11);
  border-color: rgba(97, 210, 226, .18);
}
html.px-portal-root body[data-px-page="portal"] .px-finding-title { color: #e2ebf2; }
html.px-portal-root body[data-px-page="portal"] .px-filter span,
html.px-portal-root body[data-px-page="portal"] .px-inventory-search span { color: #b0bfcc; }
html.px-portal-root body[data-px-page="portal"] .px-notice {
  color: #a9bac8;
  background: rgba(115, 194, 209, .045);
  border-color: rgba(115, 194, 209, .25);
}
html.px-portal-root body[data-px-page="portal"] .px-banner {
  color: #d1dde7;
  background: #122130;
  border-color: rgba(164, 186, 207, .17);
}
html.px-portal-root body[data-px-page="portal"] .px-banner .bd { color: #d3dee7; }
html.px-portal-root body[data-px-page="portal"] .px-banner--info { color: #8edce5; background: rgba(67, 156, 171, .1); border-color: rgba(97, 210, 226, .25); }
html.px-portal-root body[data-px-page="portal"] .px-banner--warn { color: #ffbf85; background: rgba(255, 157, 102, .085); border-color: rgba(255, 157, 102, .27); }
html.px-portal-root body[data-px-page="portal"] .px-banner--ok { color: #87dfb5; background: rgba(109, 211, 167, .08); border-color: rgba(109, 211, 167, .24); }
html.px-portal-root body[data-px-page="portal"] a { color: #7dd4e3; }
html.px-portal-root body[data-px-page="portal"] a:hover { color: #b5f0f4; }

/* The help widget stays fixed as before; only its visual language changes. */
html.px-portal-root body[data-px-page="portal"] .px-help-fab {
  width: 48px;
  height: 48px;
  color: #0a1820;
  background: #67d0dc;
  border: 1px solid rgba(213, 250, 252, .7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
html.px-portal-root body[data-px-page="portal"] .px-help-panel {
  color: #dce6ee;
  background: #101c29;
  border: 1px solid rgba(164, 186, 207, .2);
  border-radius: 11px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
html.px-portal-root body[data-px-page="portal"] .px-help-tab { color: #a8b8c7; }
html.px-portal-root body[data-px-page="portal"] .px-help-tab.is-active { color: #9ee4ea; border-bottom-color: #61d2e2; }
html.px-portal-root body[data-px-page="portal"] .px-help-message--client { background: #182636; }
html.px-portal-root body[data-px-page="portal"] .px-help-message--admin { background: rgba(192, 90, 114, .12); }
html.px-portal-root body[data-px-page="portal"] .px-help-ticket-row { color: #dce6ee; }
html.px-portal-root body[data-px-page="portal"] .px-help-ticket-row:hover { background: rgba(97, 210, 226, .06); }

/* Footer remains available but no longer resembles a second marketing hero. */
html.px-portal-root body[data-px-page="portal"] .site-footer {
  padding: 22px 0 18px;
  color: #a8b7c5;
  background: rgba(7, 14, 22, .76);
  border-top: 1px solid rgba(164, 186, 207, .13);
}
html.px-portal-root body[data-px-page="portal"] .site-footer .shell { max-width: 1660px; padding-inline: clamp(16px, 2.5vw, 38px); }
html.px-portal-root body[data-px-page="portal"] .footer-panel { padding: 0; background: transparent; border: 0; box-shadow: none; }
html.px-portal-root body[data-px-page="portal"] .footer-panel::after { display: none; }
html.px-portal-root body[data-px-page="portal"] .footer-top { grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(140px, .7fr)); gap: 22px; }
html.px-portal-root body[data-px-page="portal"] .footer-brand p { max-width: 42ch; color: #95a6b5; font-size: 12px; }
html.px-portal-root body[data-px-page="portal"] .footer-col h4 { color: #d7e1e9; }
html.px-portal-root body[data-px-page="portal"] .footer-col a { color: #a5b5c3; }
html.px-portal-root body[data-px-page="portal"] .footer-bottom { margin-top: 16px; padding-top: 12px; border-color: rgba(164, 186, 207, .12); color: #91a1af; }

html.px-portal-root body[data-px-page="portal"] :focus-visible {
  outline: 2px solid #80dce6;
  outline-offset: 3px;
}
html.px-portal-root body[data-px-page="portal"] ::selection { color: #06151a; background: #85dce5; }

@media (max-width: 1180px) {
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-inner {
    grid-template-columns: minmax(160px, auto) minmax(0, 1fr);
    grid-template-areas: "brand actions" "links links";
    gap: 5px 12px;
  }
  html.px-portal-root body[data-px-page="portal"] .site-header .px-head-id { justify-self: start; max-width: 100%; }
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-links { margin-top: 2px; }
}

@media (max-width: 900px) {
  html.px-portal-root body[data-px-page="portal"] .px-grid--3 { grid-template-columns: 1fr 1fr; }
  html.px-portal-root body[data-px-page="portal"] .px-grid--3 > .px-card + .px-card { border-left: 0; }
  html.px-portal-root body[data-px-page="portal"] .px-grid--3 > .px-card:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(164, 186, 207, .13); }
  html.px-portal-root body[data-px-page="portal"] .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  html.px-portal-root body[data-px-page="portal"] .site-header { padding: 8px 9px 0; }
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-inner {
    padding: 8px 10px 7px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions" "links links";
    gap: 5px 8px;
    border-radius: 10px;
  }
  html.px-portal-root body[data-px-page="portal"] .site-header .brand-logo { width: clamp(138px, 42vw, 180px); max-height: 34px; }
  html.px-portal-root body[data-px-page="portal"] .site-header .px-head-id { display: none; }
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-cta { gap: 5px; }
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-cta .btn { min-height: 36px; padding: 6px 9px; font-size: 12px; }
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-cta .btn-primary { display: none; }
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-links {
    justify-content: flex-start;
    gap: 2px;
    margin-top: 2px;
    padding-top: 6px;
  }
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-links > a {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 12px;
  }
  html.px-portal-root body[data-px-page="portal"] .px-main { padding: 19px 0 42px; }
  html.px-portal-root body[data-px-page="portal"] .px-main > .shell { gap: 12px; padding-inline: 13px; }
  html.px-portal-root body[data-px-page="portal"] .px-page-head { padding: 0 2px 4px; }
  html.px-portal-root body[data-px-page="portal"] .px-h1 { font-size: 27px; }
  html.px-portal-root body[data-px-page="portal"] .px-lead { font-size: 13px; }
  html.px-portal-root body[data-px-page="portal"] .px-card,
  html.px-portal-root body[data-px-page="portal"] #pxDashboardSection { padding: 15px; border-radius: 9px; }
  html.px-portal-root body[data-px-page="portal"] .px-dash-grid--2 { grid-template-columns: 1fr; gap: 9px; }
  html.px-portal-root body[data-px-page="portal"] .px-dash-panel { padding: 13px; }
  html.px-portal-root body[data-px-page="portal"] .px-grid--3 { grid-template-columns: 1fr; }
  html.px-portal-root body[data-px-page="portal"] .px-grid--3 > .px-card,
  html.px-portal-root body[data-px-page="portal"] .px-grid--3 > .px-card:last-child { grid-column: auto; padding: 15px; border-top: 1px solid rgba(164, 186, 207, .13); }
  html.px-portal-root body[data-px-page="portal"] .px-grid--3 > .px-card:first-child { border-top: 0; }
  html.px-portal-root body[data-px-page="portal"] .px-sevgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.px-portal-root body[data-px-page="portal"] .px-sevtile { padding: 10px 12px; border-bottom: 1px solid rgba(164, 186, 207, .12); }
  html.px-portal-root body[data-px-page="portal"] .px-sevtile:nth-child(odd) { border-left: 0; }
  html.px-portal-root body[data-px-page="portal"] .px-table { min-width: max-content; }
  html.px-portal-root body[data-px-page="portal"] .px-help-widget { right: 12px; bottom: 12px; }
  html.px-portal-root body[data-px-page="portal"] .px-help-panel { right: -4px; width: min(380px, calc(100vw - 24px)); }
  html.px-portal-root body[data-px-page="portal"] .px-findings-open,
  html.px-portal-root body[data-px-page="portal"] .px-recommendations-open { width: 100%; }
  html.px-portal-root body[data-px-page="portal"] .footer-top { grid-template-columns: 1fr; gap: 16px; }
  html.px-portal-root body[data-px-page="portal"] .footer-panel { padding: 0; }
}

@media (max-width: 360px) {
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-links > a { padding-inline: 7px; font-size: 11px; }
  html.px-portal-root body[data-px-page="portal"] .site-header .px-head-id { overflow-wrap: anywhere; white-space: normal; }
  html.px-portal-root body[data-px-page="portal"] .px-report-tab { width: 100%; justify-content: flex-start; }
  html.px-portal-root body[data-px-page="portal"] .px-sevgrid { grid-template-columns: 1fr 1fr; }
  html.px-portal-root body[data-px-page="portal"] .px-scope-add-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }
  html.px-portal-root body[data-px-page="portal"] .px-scope-add-row input[type="text"] { width: 100%; min-width: 0; }
}

/* Barra de secciones del cliente: una fila desplazable conserva cada destino
   en tablet y móvil sin convertir la navegación privada en un menú público. */
@media (max-width: 1180px) {
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-color: rgba(118, 186, 199, .38) transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  html.px-portal-root body[data-px-page="portal"] .site-header .nav-links > a {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-margin-inline: 12px;
  }

  html.px-portal-root body[data-px-page="portal"] .site-header .nav-links:focus-visible {
    outline: 2px solid #80dce6;
    outline-offset: 3px;
  }
}

@media (max-width: 640px) {
  html.px-portal-root body[data-px-page="portal"] .site-header .nav-links {
    max-width: calc(100vw - 52px);
    padding: 6px 0 8px;
    border-top-color: rgba(164, 186, 207, .14);
  }

  html.px-portal-root body[data-px-page="portal"] .site-header .nav-links > a {
    min-height: 40px;
    padding: 8px 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.px-portal-root { scroll-behavior: auto; }
  html.px-portal-root body[data-px-page="portal"] .bg-layers,
  html.px-portal-root body[data-px-page="portal"] .bg-mesh,
  html.px-portal-root body[data-px-page="portal"] .bg-grid { animation: none !important; transform: none !important; }
}

/* Selected report: reading refinements. These rules are limited to the
   report modules below the approved dashboard overview. */
html.px-portal-root body[data-px-page="portal"] section[aria-labelledby="px-cur-h"] {
  background: linear-gradient(145deg, rgba(17, 31, 46, .96), rgba(13, 23, 35, .94));
  border-color: rgba(111, 171, 187, .22);
}
html.px-portal-root body[data-px-page="portal"] section[aria-labelledby="px-cur-h"] [data-fill="reportTitle"] {
  color: #f0f5fa;
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.28;
}
html.px-portal-root body[data-px-page="portal"] section[aria-labelledby="px-cur-h"] [data-fill="reportDate"] {
  color: #c0ccd7;
}
html.px-portal-root body[data-px-page="portal"] section[aria-labelledby="px-cur-h"] [data-fill="execSummary"] {
  max-width: 92ch;
  margin-top: 18px;
  padding: 2px 0 2px 14px;
  border-left: 2px solid rgba(97, 210, 226, .48);
  color: #bfccd7;
  font-size: 14px;
  line-height: 1.72;
}
html.px-portal-root body[data-px-page="portal"] section[aria-labelledby="px-cur-h"] .tag {
  min-height: 28px;
  padding: 6px 10px;
  color: #c4d3df;
  background: rgba(8, 17, 27, .52);
  border: 1px solid rgba(164, 186, 207, .18);
  font-size: 11px;
}
html.px-portal-root body[data-px-page="portal"] #pxDownloads {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 12px 20px;
  margin-top: 21px;
  padding-top: 15px;
  border-color: rgba(164, 186, 207, .15);
}
html.px-portal-root body[data-px-page="portal"] #pxDownloads[hidden] { display: none; }
html.px-portal-root body[data-px-page="portal"] #pxDownloads .px-downloads-head {
  margin: 0;
  color: #b8c7d3;
  font-size: 12.5px;
}
html.px-portal-root body[data-px-page="portal"] #pxDownloads .px-downloads-actions {
  justify-content: flex-end;
}
html.px-portal-root body[data-px-page="portal"] #pxDownloads .btn {
  min-height: 40px;
  background: rgba(21, 36, 51, .92);
}

html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-findings-list { gap: 9px; }
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-finding {
  padding: 15px 17px;
  background: rgba(10, 21, 33, .78);
  border-radius: 9px;
  transition: background .16s ease, border-color .16s ease;
}
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-finding[open] {
  background: rgba(13, 25, 38, .96);
}
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-finding > summary:focus-visible,
html.px-portal-root body[data-px-page="portal"] #pxComparisonSection .px-comparison-detail > summary:focus-visible {
  border-radius: 5px;
  outline: 2px solid #80dce6;
  outline-offset: 4px;
}
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-finding .fid {
  color: #b3c1cd;
  font-size: 11.5px;
}
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-finding .ft {
  flex-basis: 360px;
  color: #edf3f8;
  font-size: 15px;
  line-height: 1.4;
}
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-finding .fasset {
  color: #b9c8d4;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-finding-detail {
  margin-top: 7px;
  padding-top: 14px;
}
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-detail-grid { gap: 0; }
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-detail-row {
  grid-template-columns: minmax(150px, .24fr) minmax(0, 1fr);
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid rgba(164, 186, 207, .09);
}
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-detail-row dt {
  padding-top: 2px;
  color: #a9b9c7;
  font-size: 12.5px;
}
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-detail-row dd {
  line-height: 1.65;
}
html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-detail-row.evidence dd {
  color: #c5d3de;
  background: rgba(6, 15, 24, .76);
  border: 1px solid rgba(164, 186, 207, .12);
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

html.px-portal-root body[data-px-page="portal"] #pxRecommendationsSection .px-recommendation {
  padding: 15px 17px;
  border-left: 2px solid rgba(97, 210, 226, .42);
  border-radius: 8px;
  background: rgba(11, 23, 35, .76);
  box-shadow: none;
}
html.px-portal-root body[data-px-page="portal"] #pxRecommendationsSection .px-recommendation-number {
  width: 30px;
  height: 30px;
  color: #a8e2e7;
  background: rgba(54, 121, 133, .16);
  border-color: rgba(97, 210, 226, .18);
  border-radius: 7px;
}
html.px-portal-root body[data-px-page="portal"] #pxRecommendationsSection .px-recommendation-text {
  font-size: 14.5px;
  line-height: 1.65;
}

html.px-portal-root body[data-px-page="portal"] #pxComparisonSection .px-comparison-risk-score { color: #e0f3f5; }
html.px-portal-root body[data-px-page="portal"] #pxComparisonSection .px-comparison-impact-card.is-new .px-comparison-impact-number { color: #ffb278; }
html.px-portal-root body[data-px-page="portal"] #pxComparisonSection .px-comparison-impact-card.is-persisting .px-comparison-impact-number { color: #d9879a; }
html.px-portal-root body[data-px-page="portal"] #pxComparisonSection .px-comparison-impact-card.is-gone .px-comparison-impact-number { color: #7ddab1; }
html.px-portal-root body[data-px-page="portal"] #pxComparisonSection .px-comparison-impact-copy { font-size: 12px; line-height: 1.5; }
html.px-portal-root body[data-px-page="portal"] #pxComparisonSection .px-comparison-detail {
  background: rgba(12, 23, 35, .86);
  border-color: rgba(164, 186, 207, .14);
}
html.px-portal-root body[data-px-page="portal"] #pxComparisonSection .px-comparison-detail:hover {
  border-color: rgba(97, 210, 226, .26);
}
html.px-portal-root body[data-px-page="portal"] #pxCompareTool .px-comparison-risk-score { color: #e0f3f5; }
html.px-portal-root body[data-px-page="portal"] #pxCompareTool .px-comparison-impact-card.is-new .px-comparison-impact-number { color: #ffb278; }
html.px-portal-root body[data-px-page="portal"] #pxCompareTool .px-comparison-impact-card.is-persisting .px-comparison-impact-number { color: #d9879a; }
html.px-portal-root body[data-px-page="portal"] #pxCompareTool .px-comparison-impact-card.is-gone .px-comparison-impact-number { color: #7ddab1; }
html.px-portal-root body[data-px-page="portal"] #pxCompareTool .px-comparison-impact-copy { font-size: 12px; line-height: 1.5; }
html.px-portal-root body[data-px-page="portal"] #pxCompareTool .px-comparison-detail {
  background: rgba(12, 23, 35, .86);
  border-color: rgba(164, 186, 207, .14);
}

html.px-portal-root body[data-px-page="portal"] #pxInventorySection .px-inventory-tabs {
  gap: 7px;
  margin-bottom: 16px;
}
html.px-portal-root body[data-px-page="portal"] #pxInventorySection .px-inventory-tab {
  min-height: 37px;
  padding-inline: 10px;
  font-size: 12px;
}
html.px-portal-root body[data-px-page="portal"] #pxInventorySection .px-inventory-search {
  max-width: min(560px, 100%);
  margin-bottom: 14px;
}
html.px-portal-root body[data-px-page="portal"] #pxInventorySection .px-inventory-search input { min-height: 42px; }
html.px-portal-root body[data-px-page="portal"] #pxInventorySection .px-inventory-panel > .px-inventory-filter {
  width: min(260px, 100%);
}
html.px-portal-root body[data-px-page="portal"] #pxInventorySection .px-inventory-panel .px-inventory-filters {
  gap: 10px;
  margin: 0 0 6px;
}
html.px-portal-root body[data-px-page="portal"] #pxInventorySection .px-inventory-panel .px-inventory-filter {
  flex: 0 1 260px;
  min-width: 210px;
}
html.px-portal-root body[data-px-page="portal"] #pxInventorySection .px-inventory-panel .px-inventory-filter select {
  width: 100%;
  min-height: 42px;
}
html.px-portal-root body[data-px-page="portal"] section:has(> .px-table-wrap #pxHistory) #pxHistory td:first-child,
html.px-portal-root body[data-px-page="portal"] section:has(> .px-table-wrap #pxHistory) #pxHistory td:nth-child(3),
html.px-portal-root body[data-px-page="portal"] section:has(> .px-table-wrap #pxHistory) #pxHistory td:nth-child(4),
html.px-portal-root body[data-px-page="portal"] section:has(> .px-table-wrap #pxHistory) #pxHistory td:nth-child(5),
html.px-portal-root body[data-px-page="portal"] section:has(> .px-table-wrap #pxHistory) #pxHistory td:nth-child(6),
html.px-portal-root body[data-px-page="portal"] section:has(> .px-table-wrap #pxHistory) #pxHistory td:nth-child(7) {
  white-space: nowrap;
}
html.px-portal-root body[data-px-page="portal"] section:has(> .px-table-wrap #pxHistory) #pxHistory td:nth-child(2) { min-width: 230px; }

@media (max-width: 680px) {
  html.px-portal-root body[data-px-page="portal"] section[aria-labelledby="px-cur-h"] [data-fill="reportTitle"] { font-size: 21px; }
  html.px-portal-root body[data-px-page="portal"] #pxDownloads {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  html.px-portal-root body[data-px-page="portal"] #pxDownloads .px-downloads-actions { justify-content: flex-start; }
  html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-finding { padding: 13px 13px; }
  html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-finding .ft { flex-basis: 100%; }
  html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
  html.px-portal-root body[data-px-page="portal"] #pxInventorySection .px-inventory-panel .px-inventory-filter {
    flex: 1 1 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  html.px-portal-root body[data-px-page="portal"] #pxComparisonSection,
  html.px-portal-root body[data-px-page="portal"] #pxFindingsSection,
  html.px-portal-root body[data-px-page="portal"] #pxRecommendationsSection,
  html.px-portal-root body[data-px-page="portal"] #pxInventorySection,
  html.px-portal-root body[data-px-page="portal"] #pxCompareTool {
    scroll-margin-top: 176px;
  }
}

@media (max-width: 360px) {
  html.px-portal-root body[data-px-page="portal"] #pxComparisonSection,
  html.px-portal-root body[data-px-page="portal"] #pxFindingsSection,
  html.px-portal-root body[data-px-page="portal"] #pxRecommendationsSection,
  html.px-portal-root body[data-px-page="portal"] #pxInventorySection,
  html.px-portal-root body[data-px-page="portal"] #pxCompareTool {
    scroll-margin-top: 208px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.px-portal-root body[data-px-page="portal"] #pxFindingsSection .px-finding { transition: none; }
  html.px-portal-root body[data-px-page="portal"] #pxComparisonSection .px-comparison-detail > summary::before { transition: none; }
}

/* Global help access lives in the application header so it never covers
   charts, filters, report tables, or the footer while the page is scrolled. */
html.px-portal-root body[data-px-page="portal"] .site-header .nav-inner { position: relative; }
html.px-portal-root body[data-px-page="portal"] .site-header .px-help-widget {
  position: static;
  right: auto;
  bottom: auto;
  z-index: auto;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}
html.px-portal-root body[data-px-page="portal"] .site-header .px-help-fab {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(213, 250, 252, .64);
  border-radius: 50%;
  box-shadow: none;
}
html.px-portal-root body[data-px-page="portal"] .site-header .px-help-fab:focus-visible {
  outline: 2px solid #a5edf1;
  outline-offset: 3px;
}
html.px-portal-root body[data-px-page="portal"] .site-header .px-help-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 12px;
  bottom: auto;
  z-index: 1;
  width: min(380px, calc(100vw - 32px));
  max-height: min(600px, calc(100vh - 210px));
  max-height: min(600px, calc(100dvh - 210px));
}

/* The ranked asset chart keeps complete host names in the label column.
   Labels may wrap; value and bar remain on the same row and retain their
   original DOM order, values, and ranking. */
html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-list { gap: 12px; }
html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-list.is-ranked .px-hbar-row {
  grid-template-columns: 22px minmax(170px, 1.05fr) minmax(100px, 1.8fr) auto;
  gap: 12px;
  align-items: center;
}
html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-rank {
  align-self: start;
  margin-top: 2px;
}
html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-label {
  min-width: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.45;
}
html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-track {
  min-width: 0;
  align-self: center;
}
html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-value {
  min-width: 30px;
  align-self: start;
  margin-top: 1px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-list.is-ranked .px-hbar-row {
    grid-template-columns: 20px minmax(110px, 1fr) minmax(70px, .95fr) auto;
    gap: 9px;
  }
}

@media (max-width: 640px) {
  html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-list.is-ranked .px-hbar-row {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    grid-template-rows: auto 10px;
    gap: 8px;
  }
  html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-rank {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-label { grid-area: 1 / 2 / 2 / 3; }
  html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-value { grid-area: 1 / 3 / 2 / 4; }
  html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-track {
    grid-area: 2 / 2 / 3 / 4;
    width: 100%;
  }
  html.px-portal-root body[data-px-page="portal"] .site-header .px-help-fab {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  html.px-portal-root body[data-px-page="portal"] .site-header .px-help-panel {
    right: 10px;
    width: min(380px, calc(100vw - 32px));
  }
}

@media (max-width: 360px) {
  html.px-portal-root body[data-px-page="portal"] #pxDashTopAssetsChart .px-hbar-list.is-ranked .px-hbar-row {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 6px;
  }
}
