* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px var(--font);
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: var(--accent);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: #171717;
  border-right: 1px solid #2b2b2b;
  display: flex;
  flex-direction: column;
  padding: 29px 18px;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--text);
  font-weight: 700;
  font-size: var(--fs-2xl);
  letter-spacing: 2px;
  padding: 0 10px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 39px;
  background: var(--accent);
  color: #1a1a1a;
  border-radius: 10px;
  font-size: 36px;
  line-height: 1;
  font-family: Arial;
  font-weight: 800;
  letter-spacing: -4px;
  padding-right: 4px;
  padding-bottom: 4px;
}
.brand-soc {
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  color: var(--accent);
  margin-left: 6px;
}
.brand small {
  font-size: var(--fs-xs);
  display: block;
  color: var(--muted);
  letter-spacing: 2.2px;
  margin-top: -2px;
}
.workspace {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 34px 0 26px;
  padding: 12px 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  background: #1e1e1e;
}
.workspace-icon {
  font-size: 22px;
  color: #b5b5b5;
}
.workspace small {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.workspace-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
}
.nav-label {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 1.8px;
  color: #838383;
  margin: 0 14px 12px;
}
nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  border: 0;
  background: transparent;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #adadad;
  padding: 12px 14px;
  border-radius: 7px;
  text-align: left;
  font-size: var(--fs-xs);
  width: 100%;
  transition: background 0.15s;
}
.nav-item:hover {
  background: #272727;
  color: white;
}
.nav-item.active {
  background: #292929;
  color: #c0c0c0;
}
.nav-item svg {
  width: 17px;
  height: 17px;
  opacity: 0.9;
  stroke-width: 1.6;
}
.nav-item .nav-count {
  margin-left: auto;
  border-radius: 4px;
  background: #533040;
  color: #f7a2b2;
  font-size: var(--fs-xs);
  font-weight: 650;
  min-width: 20px;
  text-align: center;
}
.nav-divider {
  height: 1px;
  background: #2e2e2e;
  margin: 18px 10px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #2e2e2e;
  padding: 22px 10px 0;
}
.integration-symbol {
  color: #acacac;
  font-size: var(--fs-2xl);
  line-height: 1;
  margin-bottom: 12px;
}
.sidebar-bottom strong {
  font-size: var(--fs-xs);
  font-weight: 550;
}
.sidebar-bottom small {
  font-size: var(--fs-xs);
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.local-note {
  font-size: var(--fs-xs);
  letter-spacing: 1.1px;
  margin-top: 21px;
  color: #686868;
}
main {
  margin-left: 238px;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid #2d2d2d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  background: var(--raise);
}
.breadcrumb {
  display: flex;
  gap: 14px;
  color: #c5c5c5;
  font-size: var(--fs-xs);
}
.breadcrumb > span:first-child {
  color: #888888;
}
.slash {
  color: #494949;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
#clock {
  color: #969696;
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
}
.avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #353535;
  color: #cdcdcd;
  font-size: var(--fs-xs);
  font-weight: 600;
  border: 1px solid #464646;
}
.pill {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 1.1px;
  border-radius: 20px;
  padding: 4px 9px;
  border: 1px solid #474747;
  color: #b8b8b8;
  background: #292929;
}
.pill.demo {
  color: #e9bb72;
  border-color: #61502f;
  background: #302619;
}
.demo-banner {
  padding: 8px 34px;
  background: #211e18;
  border-bottom: 1px solid #3e3527;
  color: #cbb285;
  font-size: var(--fs-xs);
  letter-spacing: 0.1px;
}
.demo-banner strong {
  color: #e6c48d;
  font-weight: 650;
  margin-right: 9px;
}
.live-banner {
  padding: 8px 34px;
  background: #1e1e1e;
  color: var(--muted);
  border-bottom: 1px solid #373737;
  font-size: var(--fs-xs);
}
.page-wrap {
  padding: 30px 34px 16px;
  max-width: 1860px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.eyebrow {
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 1.8px;
  margin: 0 0 6px;
}
h1 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  font-weight: 600;
  margin: 0 0 7px;
}
.page-heading p:not(.eyebrow) {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin: 0;
}
.toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
}
select,
input {
  background: var(--line-soft);
  border: 1px solid #3b3b3b;
  border-radius: 6px;
  padding: 9px 12px;
  color: #d4d4d4;
  font-size: var(--fs-xs);
  min-height: 36px;
}
select {
  padding-right: 26px;
}
.button {
  border: 1px solid #464646;
  border-radius: 6px;
  padding: 8px 14px;
  background: #363636;
  font-size: var(--fs-xs);
  font-weight: 550;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.button.secondary {
  background: #252525;
  color: #dadada;
}
.button.primary {
  background: var(--accent);
  color: #202020;
  border-color: var(--accent);
}
.icon-button {
  border: 1px solid #3b3b3b;
  border-radius: 6px;
  background: #222222;
  width: 36px;
  height: 36px;
  font-size: var(--fs-xl);
  display: grid;
  place-items: center;
  color: #bdbdbd;
}
.icon-button:hover,
.button.secondary:hover {
  background: #353535;
}
.text-button {
  background: none;
  border: 0;
  color: #b2b2b2;
  padding: 0;
  font-size: inherit;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 21px;
}
.kpi {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  padding: 17px 18px 14px;
  overflow: hidden;
}
.kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #bababa;
  font-size: var(--fs-xs);
  gap: 8px;
}
.kpi-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--accent);
  background: #2d2d2d;
}
.kpi-icon svg {
  width: 14px;
  height: 14px;
}
.kpi-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 34px;
  font-weight: 580;
  letter-spacing: -1.2px;
  font-variant-numeric: tabular-nums;
  margin: 8px 0 5px;
}
.kpi-value em {
  font-size: var(--fs-lg);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  color: #b1b1b1;
}
.kpi-note {
  font-size: var(--fs-xs);
  color: #939393;
  min-height: 14px;
}
.critical .kpi-value {
  color: #f69ba8;
}
.critical .kpi-icon {
  color: #f49ca8;
  background: #33232e;
}
.warning .kpi-value {
  color: #f5c083;
}
.warning .kpi-icon {
  background: #332c22;
  color: #efbd7e;
}
.positive .kpi-value {
  color: #c6c6c6;
}
.kpi-note b {
  color: #bcbcbc;
  font-weight: 500;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 19px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 13px;
  gap: 12px;
}
.panel-heading h2 {
  font-size: var(--fs-sm);
  font-weight: 580;
  letter-spacing: 0.1px;
  margin: 0;
}
.panel-heading p {
  color: var(--muted);
  font-size: var(--fs-xs);
  margin: 3px 0 0;
}
.panel-heading .meta {
  font-size: var(--fs-xs);
  color: #939393;
  text-align: right;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 19px;
}
.grid-half {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}
.chart-area {
  padding: 9px 22px 18px;
}
.chart-legend {
  display: flex;
  gap: 17px;
  align-items: center;
  font-size: var(--fs-xs);
  color: #a6a6a6;
  margin: 0 0 20px 27px;
}
.legend-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  margin-right: 5px;
}
.histogram {
  height: 161px;
  position: relative;
  padding-left: 29px;
}
.gridlines {
  position: absolute;
  inset: 0 0 19px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gridline {
  height: 1px;
  background: #363636;
  position: relative;
}
.gridline span {
  position: absolute;
  right: calc(100% + 9px);
  top: -7px;
  font-size: var(--fs-xs);
  color: #7f7f7f;
}
.bars {
  height: 100%;
  display: flex;
  gap: 15px;
  position: relative;
  align-items: end;
}
.bar-column {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  min-width: 0;
}
.bar-stack {
  width: 100%;
  max-width: 30px;
  border-radius: 3px 3px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 1px;
  filter: saturate(0.8);
}
.bar-stack:hover {
  filter: brightness(1.2);
}
.bar-segment {
  width: 100%;
  min-height: 0;
}
.bar-label {
  height: 20px;
  font-size: var(--fs-xs);
  color: #949494;
  white-space: nowrap;
  padding-top: 7px;
}
.distribution {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 20px 24px;
  min-height: 202px;
}
.donut {
  width: 137px;
  height: 137px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transform: rotate(-90deg);
}
.donut:before {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: var(--panel);
}
.donut-inner {
  z-index: 1;
  text-align: center;
  transform: rotate(90deg);
}
.donut-inner strong {
  display: block;
  font-size: 27px;
  font-weight: 550;
  line-height: 1.1;
}
.donut-inner span {
  font-size: var(--fs-xs);
  color: #a0a0a0;
}
.dist-legend {
  flex: 1;
  display: grid;
  gap: 14px;
  min-width: 100px;
}
.dist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  font-size: var(--fs-xs);
  color: #b8b8b8;
}
.dist-row strong {
  font-size: var(--fs-xs);
  font-weight: 550;
  color: #e6e6e6;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  font-weight: 550;
  color: #858585;
  padding: 10px 19px;
  border-bottom: 1px solid #363636;
  background: #1b1b1b;
  white-space: nowrap;
  text-transform: uppercase;
}
td {
  padding: 14px 19px;
  border-bottom: 1px solid #2e2e2e;
  font-size: var(--fs-xs);
  color: #c8c8c8;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
tr[data-detail-source] {
  cursor: pointer;
}
tr[data-detail-source]:hover {
  background: #282828;
}
td strong {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #e2e2e2;
  display: block;
}
td small {
  font-size: var(--fs-xs);
  display: block;
  color: #898989;
  margin-top: 4px;
}
.mono {
  font-family: Consolas, "Courier New", monospace;
  font-size: var(--fs-xs);
}
.badge {
  font-size: var(--fs-xs);
  font-weight: 550;
  letter-spacing: 0.2px;
  padding: 3px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 4px;
}
.badge.critical {
  background: #3b2531;
  color: #f7a0ad;
  border: 1px solid #5b3341;
}
.badge.high {
  background: #382e24;
  color: #efbc80;
  border: 1px solid #56422c;
}
.badge.medium {
  background: #313131;
  color: #c6c6c6;
  border: 1px solid #424242;
}
.badge.low,
.badge.info {
  background: var(--line-strong);
  color: #bebebe;
  border: 1px solid #484848;
}
.badge.good {
  background: #2e2e2e;
  color: #bababa;
  border: 1px solid #434343;
}
.badge.neutral,
.badge.unknown {
  background: #353535;
  color: #bababa;
  border: 1px solid #444444;
}
.badge.warn {
  background: #382f22;
  color: #ecc58e;
  border: 1px solid #4d402b;
}
.overdue {
  color: #ee9e9e;
  font-size: var(--fs-xs);
  white-space: nowrap;
}
.muted {
  color: var(--muted);
}
.empty {
  padding: 36px 24px;
  color: var(--quiet);
  font-size: var(--fs-xs);
  text-align: center;
  line-height: 1.8;
}
.empty strong {
  display: block;
  font-size: 15px;
  color: #d5d5d5;
  font-weight: 500;
  margin-bottom: 7px;
}
.panel-bottom {
  padding: 12px 20px;
  border-top: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: #939393;
}
.list-body {
  padding: 5px 20px 18px;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: var(--fs-xs);
}
.rank-index {
  font-family: Consolas, monospace;
  font-size: var(--fs-xs);
  color: #6b6b6b;
  min-width: 16px;
}
.rank-label {
  flex: 1;
  color: #c4c4c4;
  min-width: 0;
}
.rank-label strong {
  font-weight: 450;
  font-size: var(--fs-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.rank-bar {
  height: 3px;
  background: #393939;
  border-radius: 3px;
  margin-top: 7px;
}
.rank-bar span {
  height: 100%;
  display: block;
  background: #a2a2a2;
  border-radius: 3px;
}
.rank-count {
  font-family: Consolas, monospace;
  font-size: var(--fs-xs);
  color: #dadada;
}
.techniques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 20px 20px;
}
.technique {
  border: 1px solid #3e3e3e;
  background: #282828;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
.technique strong {
  color: #c7c7c7;
  font-size: var(--fs-xs);
  font-family: Consolas, monospace;
  font-weight: 500;
}
.technique span {
  font-size: var(--fs-xs);
  color: #8f8f8f;
}
.insight {
  border-left: 2px solid #9f9f9f;
  margin: 0 20px 18px;
  padding: 3px 0 3px 12px;
  color: #999999;
  font-size: var(--fs-xs);
  line-height: 1.7;
}
.source-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px 18px;
  background: #1c1c1c;
  border: 1px solid #363636;
  border-radius: 8px;
  margin-bottom: 16px;
}
.source-strip .strip-label {
  font-size: var(--fs-xs);
  color: #888888;
  margin-right: 8px;
}
.source-chip {
  font-size: var(--fs-xs);
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--line);
  color: #b4b4b4;
  display: flex;
  gap: 5px;
  align-items: center;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a3a3a3;
  display: inline-block;
}
.dot.demo {
  background: #d4ae6b;
}
.dot.error,
.dot.stale,
.dot.missing_token {
  background: #ef8290;
}
.dot.waiting,
.dot.collecting {
  background: #a2a2a2;
}
.risk-score {
  display: flex;
  align-items: center;
  gap: 7px;
}
.risk-score span {
  width: 45px;
  height: 3px;
  background: #373737;
  border-radius: 2px;
}
.risk-score i {
  display: block;
  height: 100%;
  background: #f0b57d;
}
.panel-intro {
  font-size: var(--fs-xs);
  color: #acacac;
  padding: 0 20px 16px;
  margin: 0;
  line-height: 1.7;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 20px 17px;
}
.search {
  flex: 1;
  min-width: 180px;
}
.filters select {
  min-width: 128px;
}
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pagination button {
  background: #272727;
  border: 1px solid #444444;
  border-radius: 4px;
  color: #bebebe;
  font-size: var(--fs-xs);
  padding: 4px 9px;
}
.status-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.status-card {
  padding: 19px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.status-card h3 {
  font-weight: 550;
  font-size: var(--fs-xs);
  margin: 10px 0;
}
.status-card .route {
  color: #909090;
  font-size: var(--fs-xs);
  overflow-wrap: anywhere;
  font-family: Consolas, monospace;
}
.status-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 10px;
}
.status-detail small {
  display: block;
  color: #909090;
  font-size: var(--fs-xs);
}
.status-detail strong {
  color: #cfcfcf;
  font-size: var(--fs-xs);
  font-weight: 500;
}
.status-message {
  font-size: var(--fs-xs);
  color: #939393;
  line-height: 1.6;
  margin: 15px 0 0;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #363636;
  padding: 14px 0;
  color: #b2b2b2;
  font-size: var(--fs-xs);
}
.stat-row strong {
  font-size: 15px;
  font-weight: 500;
  color: #dfdfdf;
}
.stat-row:last-child {
  border: 0;
}
.large-risk {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 10px 0;
}
.large-risk strong {
  font-size: 60px;
  font-weight: 500;
  letter-spacing: -3px;
  color: #e9b278;
}
.large-risk span {
  font-size: var(--fs-lg);
  color: #919191;
}
.method-item {
  padding: 18px 22px;
  border-bottom: 1px solid #333333;
}
.method-item h3 {
  font-size: var(--fs-xs);
  margin: 0 0 6px;
  font-weight: 550;
  color: #d7d7d7;
}
.method-item p {
  font-size: var(--fs-xs);
  margin: 0;
  color: #adadad;
  line-height: 1.85;
}
.code-block {
  background: var(--raise);
  border: 1px solid #3b3b3b;
  padding: 17px;
  border-radius: 7px;
  font:
    11px/1.8 Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #bdbdbd;
}
.error-banner {
  padding: 12px 16px;
  border: 1px solid #65404a;
  background: #321f2b;
  color: #eea9b6;
  border-radius: 7px;
  margin-bottom: 18px;
  font-size: var(--fs-xs);
}
.notice {
  padding: 14px 18px;
  border: 1px solid #434343;
  border-radius: 7px;
  background: #242424;
  color: #b7b7b7;
  font-size: var(--fs-xs);
  margin-bottom: 20px;
  line-height: 1.8;
}
.notice.warning {
  background: #272219;
  border-color: #4e402d;
  color: #d4bb91;
}
.loading {
  padding: 90px;
  text-align: center;
  color: #aeaeae;
  font-size: var(--fs-xs);
}
.spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid #3c3c3c;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 9px;
  vertical-align: middle;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
footer {
  font-size: var(--fs-xs);
  color: #7b7b7b;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid #2f2f2f;
}
.footer-dot {
  margin: 0 8px;
  color: #5d5d5d;
}
.mobile-brand {
  display: none;
}
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
dialog {
  max-width: 800px;
  width: calc(100% - 36px);
  max-height: 88vh;
  border: 1px solid #4e4e4e;
  border-radius: 12px;
  padding: 0;
  background: var(--line-soft);
  color: var(--text);
  box-shadow: 0 35px 110px #0009;
}
dialog::backdrop {
  background: #050b16cc;
  backdrop-filter: blur(5px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 25px;
  border-bottom: 1px solid #3e3e3e;
}
.dialog-top h2 {
  font-size: var(--fs-xl);
  font-weight: 550;
  margin: 0;
}
#detail-body {
  padding: 23px 25px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.detail-grid small {
  display: block;
  font-size: var(--fs-xs);
  color: #9e9e9e;
}
.detail-grid strong {
  font-size: var(--fs-xs);
  font-weight: 500;
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
details {
  margin-top: 20px;
}
summary {
  cursor: pointer;
  color: #b4b4b4;
  font-size: var(--fs-xs);
}
pre {
  font-size: var(--fs-xs);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 350px;
  overflow: auto;
  background: var(--panel2);
  padding: 15px;
  border-radius: 6px;
}
.dialog-description {
  font-size: var(--fs-xs);
  color: #afafaf;
  line-height: 1.8;
}
.event-link {
  color: #b5b5b5;
  font-size: var(--fs-xs);
}
.source-select {
  max-width: 240px;
}
.critical-row {
  box-shadow: inset 2px 0 #d57385;
}
@media (min-width: 1650px) {
  .kpi-value {
    font-size: 40px;
  }
  .kpi {
    padding: 21px;
  }
  .histogram {
    height: 190px;
  }
  .distribution {
    min-height: 235px;
    justify-content: center;
  }
  .donut {
    width: 157px;
    height: 157px;
  }
  .dist-legend {
    max-width: 180px;
  }
  td {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 207px;
    padding: 25px 12px;
  }
  main {
    margin-left: 207px;
  }
  .page-wrap {
    padding: 25px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .page-heading {
    align-items: start;
  }
  .toolbar {
    flex-wrap: wrap;
    justify-content: end;
  }
  .kpi {
    padding: 14px 12px;
  }
  .kpi-value {
    font-size: 30px;
  }
  .kpi-top {
    font-size: var(--fs-xs);
  }
  .distribution {
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .donut {
    width: 110px;
    height: 110px;
  }
  .donut:before {
    inset: 12px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  }
  .techniques {
    grid-template-columns: repeat(2, 1fr);
  }
  .bars {
    gap: 10px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 180px;
  }
  .brand {
    font-size: var(--fs-xl);
    padding-left: 5px;
  }
  .workspace {
    padding: 10px 8px;
  }
  .nav-item {
    font-size: var(--fs-xs);
    padding: 12px 10px;
    gap: 8px;
  }
  main {
    margin-left: 180px;
  }
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-main {
    grid-template-columns: 1fr;
  }
  .grid-half {
    grid-template-columns: 1fr;
  }
  .status-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-heading {
    flex-direction: column;
    align-items: stretch;
  }
  .toolbar {
    justify-content: start;
  }
  .distribution {
    justify-content: center;
  }
  .dist-legend {
    max-width: 220px;
  }
  .donut {
    width: 140px;
    height: 140px;
  }
  .topbar-right {
    gap: 10px;
  }
  #clock {
    display: none;
  }
  .topbar {
    height: 60px;
  }
  .chart-area {
    padding-bottom: 23px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px;
    display: block;
    border-right: none;
    border-bottom: 1px solid #3e3e3e;
  }
  .brand {
    font-size: var(--fs-xl);
  }
  .brand small {
    font-size: var(--fs-xs);
  }
  .brand-mark {
    height: 32px;
    width: 32px;
    font-size: 29px;
  }
  .workspace,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
    margin-top: 17px;
    gap: 7px;
    padding-bottom: 4px;
  }
  .nav-item {
    white-space: nowrap;
    width: auto;
    flex-shrink: 0;
    padding: 9px 11px;
  }
  .nav-item svg {
    width: 14px;
    height: 14px;
  }
  .nav-divider {
    display: none;
  }
  main {
    margin-left: 0;
  }
  .topbar {
    padding: 0 17px;
    height: 48px;
  }
  .breadcrumb {
    font-size: var(--fs-xs);
    gap: 9px;
  }
  .topbar-right {
    gap: 7px;
  }
  .avatar {
    display: none;
  }
  .page-wrap {
    padding: 22px 16px 17px;
  }
  .demo-banner,
  .live-banner {
    padding: 9px 17px;
    font-size: var(--fs-xs);
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .kpi-grid .kpi:last-child {
    grid-column: span 2;
  }
  .kpi-value {
    font-size: 33px;
  }
  .toolbar {
    gap: 6px;
  }
  .toolbar select {
    max-width: 180px;
  }
  .status-card-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    gap: 16px;
    margin-bottom: 20px;
  }
  .panel-heading {
    padding: 16px;
  }
  .grid-main,
  .grid-half {
    gap: 0;
  }
  .techniques {
    grid-template-columns: repeat(3, 1fr);
  }
  td,
  th {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: var(--fs-xs);
    line-height: 1.8;
  }
  footer {
    flex-direction: column;
    gap: 8px;
  }
  .loading {
    padding: 50px 10px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .bar-label {
    font-size: var(--fs-xs);
  }
  .bars {
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
