/* Identidade do painel: os seletores ficam limitados a esta página. */
.dashboard-body {
  --dashboard-navy: #123b5d;
  --dashboard-navy-2: #194c70;
  --dashboard-gold: #f2b134;
  --dashboard-gold-soft: #fff4d9;
  --dashboard-canvas: #f2f5f5;
  --dashboard-paper: #ffffff;
  --dashboard-ink: #1e2f3b;
  --dashboard-muted: #526b79;
  --dashboard-line: #dbe4e8;
  --dashboard-blue-soft: #edf5fa;
  --dashboard-mint: #e5f3ed;
  --dashboard-green: #257452;
  --dashboard-red: #a9433c;
  --dashboard-red-soft: #fff0ed;
  --dashboard-shadow: 0 14px 35px rgba(18, 59, 93, .07);
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  background: var(--dashboard-canvas);
  color: var(--dashboard-ink);
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.dashboard-body *,
.dashboard-body *::before,
.dashboard-body *::after {
  box-sizing: border-box;
}

.dashboard-body button,
.dashboard-body input,
.dashboard-body select {
  font-family: inherit;
}

.dashboard-body button,
.dashboard-body a,
.dashboard-body select,
.dashboard-body input {
  -webkit-tap-highlight-color: transparent;
}

.dashboard-body button,
.dashboard-body a {
  cursor: pointer;
}

.dashboard-body a {
  color: var(--dashboard-navy-2);
}

.dashboard-body :focus-visible {
  outline: 3px solid #1683a6;
  outline-offset: 3px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 220px;
  height: 100vh;
  padding: 26px 16px 19px;
  color: #fff;
  background: var(--dashboard-navy);
}

.sidebar-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.dashboard-brand img {
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.dashboard-brand strong,
.dashboard-brand small {
  display: block;
}

.dashboard-brand strong {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.5px;
}

.dashboard-brand small {
  margin-top: 4px;
  overflow: hidden;
  color: #c7d7df;
  font-size: 10px;
  letter-spacing: .15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-version {
  flex: none;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 5px;
  color: #d9e7ed;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .3px;
}

.sidebar-kicker {
  margin: 45px 9px 12px;
  color: #aac0cd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.dashboard-nav {
  display: grid;
  gap: 5px;
}

.dashboard-nav-button {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #d5e2e8;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.dashboard-nav-button:hover {
  border-color: rgba(255, 255, 255, .15);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.dashboard-nav-button.is-active,
.dashboard-nav-button[aria-current="page"] {
  color: var(--dashboard-navy);
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.sidebar-trust {
  margin-top: auto;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 11px;
  background: rgba(255, 255, 255, .055);
}

.sidebar-trust strong {
  display: block;
  color: #fff;
  font-size: 11px;
}

.sidebar-trust p {
  margin: 5px 0 0;
  color: #c7d7df;
  font-size: 10px;
  line-height: 1.45;
}

.dashboard-main {
  width: 100%;
  min-width: 0;
  max-width: 1220px;
  margin: 0 auto;
  padding: 37px 48px 23px;
}

.dashboard-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.topbar-heading {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--dashboard-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.topbar-heading h1 {
  margin: 0;
  color: var(--dashboard-navy);
  font-size: 31px;
  line-height: 1.05;
  letter-spacing: -.75px;
}

.topbar-controls {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}

.return-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dashboard-navy-2);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.return-link:hover {
  text-decoration: underline;
}

.run-select-label {
  display: grid;
  gap: 5px;
  min-width: 185px;
  color: var(--dashboard-muted);
  font-size: 10px;
  font-weight: 700;
}

.run-select-label select {
  min-height: 44px;
  max-width: 250px;
  padding: 0 29px 0 11px;
  border: 1px solid var(--dashboard-line);
  border-radius: 8px;
  color: var(--dashboard-navy);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.connection-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 19px;
  padding: 11px 13px;
  border: 1px solid #d4e3ea;
  border-left: 4px solid var(--dashboard-gold);
  border-radius: 9px;
  background: #fff;
}

.connection-note p {
  margin: 0;
  color: #526b79;
  font-size: 11px;
  line-height: 1.45;
}

.connection-note strong {
  color: var(--dashboard-navy);
}

.note-marker {
  display: block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--dashboard-gold);
  box-shadow: 0 0 0 3px rgba(242, 177, 52, .16);
}

.panel-view[hidden] {
  display: none;
}

.panel-view {
  min-width: 0;
  animation: dashboard-view-in .18s ease-out;
}

@keyframes dashboard-view-in {
  from { opacity: .2; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.view-lead {
  max-width: 760px;
  margin: -4px 0 19px;
  color: var(--dashboard-muted);
  font-size: 13px;
  line-height: 1.55;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 18px;
}

.metric-card,
.dashboard-card {
  min-width: 0;
  border: 1px solid var(--dashboard-line);
  border-radius: 13px;
  background: var(--dashboard-paper);
  box-shadow: 0 3px 12px rgba(18, 59, 93, .025);
}

.metric-card {
  min-height: 125px;
  padding: 16px;
}

.metric-label {
  display: block;
  color: var(--dashboard-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.metric-value {
  display: block;
  margin-top: 11px;
  color: var(--dashboard-navy);
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.7px;
}

.metric-subline {
  display: block;
  margin-top: 8px;
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.35;
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, .6fr);
  gap: 17px;
  align-items: start;
}

.dashboard-card {
  padding: 19px;
}

.dashboard-card + .dashboard-card {
  margin-top: 13px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 13px;
  margin-bottom: 14px;
}

.card-heading h2,
.dashboard-card h2 {
  margin: 0;
  color: var(--dashboard-navy);
  font-size: 17px;
  letter-spacing: -.2px;
}

.card-heading p,
.card-copy {
  margin: 5px 0 0;
  color: var(--dashboard-muted);
  font-size: 11px;
  line-height: 1.5;
}

.card-badge,
.status-badge,
.impact-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.card-badge {
  color: var(--dashboard-navy);
  background: var(--dashboard-blue-soft);
}

.status-badge.status-clean {
  color: var(--dashboard-green);
  background: var(--dashboard-mint);
}

.status-badge.status-violations {
  color: var(--dashboard-red);
  background: var(--dashboard-red-soft);
}

.status-badge.status-incomplete {
  color: #775410;
  background: var(--dashboard-gold-soft);
}

.status-badge.status-not-tested {
  color: #536875;
  background: #eef2f3;
}

.run-context {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 0 0 16px;
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.45;
}

.run-context strong {
  color: var(--dashboard-navy);
}

.run-context span {
  overflow-wrap: anywhere;
}

.chart-list {
  display: grid;
  gap: 15px;
  margin-top: 17px;
}

.chart-row {
  display: grid;
  grid-template-columns: minmax(112px, 1.1fr) minmax(100px, 2fr) 33px;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.chart-row-label {
  overflow: hidden;
  color: #38596c;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eff1;
}

.chart-bar {
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: var(--dashboard-gold);
  transition: width .2s ease;
}

.chart-value {
  color: var(--dashboard-navy);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.chart-empty,
.empty-state {
  padding: 15px;
  border: 1px dashed #bdccd3;
  border-radius: 9px;
  color: var(--dashboard-muted);
  background: #f9fbfc;
  font-size: 11px;
  line-height: 1.5;
}

.facts-list {
  display: grid;
  gap: 11px;
  margin: 0;
}

.fact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f2;
}

.fact-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-row dt {
  color: var(--dashboard-muted);
  font-size: 10px;
}

.fact-row dd {
  margin: 0;
  color: var(--dashboard-navy);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.warning-callout,
.info-callout {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.45;
}

.warning-callout {
  color: #654d1a;
  background: var(--dashboard-gold-soft);
}

.info-callout {
  color: #375769;
  background: var(--dashboard-blue-soft);
}

.warning-callout p,
.info-callout p {
  margin: 0;
}

.warning-callout strong,
.info-callout strong {
  display: block;
  margin-bottom: 2px;
}

.guide-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.guide-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid #edf1f2;
}

.guide-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.guide-row strong {
  display: block;
  color: var(--dashboard-navy);
  font-size: 12px;
}

.guide-row p {
  margin: 4px 0 0;
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.45;
}

.link-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.button {
  padding: 0 14px;
  border: 1px solid transparent;
}

.button:hover,
.link-button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--dashboard-gold);
  color: #183c55;
  background: var(--dashboard-gold);
}

.button-primary:hover {
  background: #ffc54d;
}

.button-secondary,
.link-button {
  border: 1px solid var(--dashboard-line);
  color: var(--dashboard-navy);
  background: #fff;
}

.button-secondary:hover,
.link-button:hover {
  border-color: #9db5c1;
  background: #f8fbfc;
}

.button-quiet {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #cbd9df;
  color: var(--dashboard-navy-2);
  background: var(--dashboard-blue-soft);
  font-size: 11px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.report-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px auto;
  gap: 10px;
  align-items: end;
  margin: 17px 0 13px;
  padding: 13px;
  border: 1px solid var(--dashboard-line);
  border-radius: 11px;
  background: #fff;
}

.field-label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--dashboard-muted);
  font-size: 10px;
  font-weight: 700;
}

.field-label input,
.field-label select {
  min-height: 44px;
  min-width: 0;
  width: 100%;
  padding: 0 10px;
  border: 1px solid var(--dashboard-line);
  border-radius: 8px;
  color: var(--dashboard-ink);
  background: #fff;
  font-size: 12px;
}

.field-label input::placeholder {
  color: var(--dashboard-muted);
}

.report-toolbar .button {
  white-space: nowrap;
}

.report-source-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.45;
}

.report-source-caption strong {
  color: var(--dashboard-navy);
}

.state-list {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.state-card {
  overflow: hidden;
  border: 1px solid var(--dashboard-line);
  border-radius: 11px;
  background: #fff;
}

.state-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 23px;
  gap: 10px;
  align-items: center;
  min-height: 60px;
  padding: 11px 13px;
  color: var(--dashboard-navy);
  list-style: none;
  cursor: pointer;
}

.state-card summary::-webkit-details-marker {
  display: none;
}

.state-card summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #cddbe1;
  border-radius: 50%;
  color: var(--dashboard-navy-2);
  font-size: 16px;
  font-weight: 400;
}

.state-card[open] summary::after {
  content: "−";
}

.state-card summary:hover {
  background: #fbfcfc;
}

.state-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.state-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
  color: var(--dashboard-muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.state-summary strong {
  color: var(--dashboard-navy);
}

.state-detail {
  padding: 0 13px 14px;
  border-top: 1px solid #edf1f2;
}

.state-detail-intro {
  margin: 12px 0 9px;
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.45;
}

.issue-list {
  display: grid;
  gap: 9px;
}

.issue-item {
  min-width: 0;
  padding: 11px;
  border: 1px solid #e5ebed;
  border-radius: 9px;
  background: #fbfcfc;
}

.issue-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.issue-header strong {
  color: var(--dashboard-navy);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.impact-badge {
  flex: none;
  min-height: 22px;
  color: #775410;
  background: var(--dashboard-gold-soft);
  font-size: 9px;
}

.impact-badge.impact-serious,
.impact-badge.impact-critical {
  color: var(--dashboard-red);
  background: var(--dashboard-red-soft);
}

.issue-description {
  margin: 6px 0 0;
  color: #526b79;
  font-size: 10px;
  line-height: 1.45;
}

.issue-help {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 7px;
  color: var(--dashboard-navy-2);
  font-size: 10px;
  font-weight: 700;
}

.target-list {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding: 9px;
  border-radius: 7px;
  background: #eef4f6;
}

.target-list dt {
  color: #5d7480;
  font-size: 9px;
  font-weight: 700;
}

.target-list dd {
  margin: 2px 0 0;
  color: #284a5d;
  font: 10px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.no-issues {
  padding: 10px;
  border-radius: 8px;
  color: var(--dashboard-green);
  background: var(--dashboard-mint);
  font-size: 10px;
  line-height: 1.45;
}

.extension-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 17px;
  align-items: start;
}

.extension-hero {
  padding: 21px;
  border: 1px solid #d2e3ec;
  border-radius: 14px;
  background: var(--dashboard-blue-soft);
}

.extension-hero h2 {
  margin: 0;
  color: var(--dashboard-navy);
  font-size: 21px;
}

.extension-hero p {
  max-width: 650px;
  margin: 8px 0 0;
  color: #4f6a78;
  font-size: 12px;
  line-height: 1.55;
}

.extension-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.extension-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--dashboard-navy);
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}

.hash-block {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #d6e2e7;
  border-radius: 9px;
  background: #fff;
}

.hash-block span {
  display: block;
  margin-bottom: 5px;
  color: var(--dashboard-muted);
  font-size: 10px;
  font-weight: 700;
}

.hash-value {
  display: block;
  color: var(--dashboard-navy);
  font: 11px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
  user-select: text;
}

.extension-controls {
  display: grid;
  gap: 13px;
  margin-top: 17px;
}

.extension-control {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px;
  border: 1px solid var(--dashboard-line);
  border-radius: 10px;
  background: #fff;
}

.extension-control strong {
  display: block;
  color: var(--dashboard-navy);
  font-size: 12px;
}

.extension-control p {
  margin: 4px 0 0;
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.45;
}

.demo-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  flex: none;
  color: var(--dashboard-navy);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.demo-switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--dashboard-navy);
}

.demo-state {
  display: block;
  margin-top: 6px;
  color: var(--dashboard-green);
  font-size: 10px;
  font-weight: 700;
}

.demo-state.is-paused {
  color: var(--dashboard-muted);
}

.install-options {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.install-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid var(--dashboard-line);
  border-radius: 8px;
  color: #3e5a69;
  background: #fff;
  font-size: 10px;
  line-height: 1.35;
}

.install-option input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--dashboard-navy);
}

.chrome-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: chrome-step;
}

.chrome-steps li {
  position: relative;
  min-height: 39px;
  padding-left: 35px;
  color: #526b79;
  font-size: 11px;
  line-height: 1.5;
  counter-increment: chrome-step;
}

.chrome-steps li::before {
  content: counter(chrome-step);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: var(--dashboard-navy);
  background: var(--dashboard-gold-soft);
  font-size: 11px;
  font-weight: 700;
}

.chrome-steps code {
  padding: 0;
  border-radius: 4px;
  color: var(--dashboard-navy);
  background: transparent;
  font: 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(270px, .9fr);
  gap: 17px;
  align-items: start;
}

.review-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.review-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 55px;
  padding: 11px;
  border: 1px solid var(--dashboard-line);
  border-radius: 9px;
  color: var(--dashboard-ink);
  background: #fff;
  cursor: pointer;
}

.review-item:hover {
  border-color: #9db5c1;
}

.review-item input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--dashboard-navy);
}

.review-item strong {
  display: block;
  color: var(--dashboard-navy);
  font-size: 11px;
}

.review-item span {
  display: block;
  margin-top: 3px;
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.4;
}

.review-progress {
  margin-top: 14px;
  color: var(--dashboard-navy);
  font-size: 12px;
  font-weight: 700;
}

.review-progress small {
  display: block;
  margin-top: 5px;
  color: var(--dashboard-muted);
  font-size: 10px;
  font-weight: 400;
}

.progress-track {
  height: 9px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eff1;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: var(--dashboard-gold);
  transition: width .2s ease;
}

.manual-note {
  padding: 13px;
  border-radius: 9px;
  color: #654d1a;
  background: var(--dashboard-gold-soft);
  font-size: 11px;
  line-height: 1.5;
}

.manual-note strong {
  display: block;
  margin-bottom: 3px;
}

.reset-review-button {
  margin-top: 14px;
}

.dashboard-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 27px;
  padding-top: 14px;
  border-top: 1px solid var(--dashboard-line);
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.45;
}

.panel-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 30px));
  padding: 11px 13px;
  border: 1px solid #c7d9e2;
  border-radius: 9px;
  color: var(--dashboard-navy);
  background: #fff;
  box-shadow: var(--dashboard-shadow);
  font-size: 11px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease;
}

.panel-toast.is-visible {
  opacity: 1;
  transform: none;
}

.reset-dialog {
  width: min(410px, calc(100% - 28px));
  padding: 21px;
  border: 1px solid var(--dashboard-line);
  border-radius: 13px;
  color: var(--dashboard-ink);
  background: #fff;
  box-shadow: 0 20px 60px rgba(18, 59, 93, .2);
}

.reset-dialog::backdrop {
  background: rgba(18, 59, 93, .34);
}

.reset-dialog h2 {
  margin: 0;
  color: var(--dashboard-navy);
  font-size: 18px;
}

.reset-dialog p {
  margin: 8px 0 17px;
  color: var(--dashboard-muted);
  font-size: 12px;
  line-height: 1.5;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1040px) {
  .dashboard-main {
    padding-right: 30px;
    padding-left: 30px;
  }

  .overview-layout,
  .extension-layout,
  .review-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .dashboard-shell {
    display: block;
  }

  .dashboard-sidebar {
    position: sticky;
    top: 0;
    display: block;
    width: 100%;
    height: auto;
    padding: 11px 16px 9px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
  }

  .dashboard-brand img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .dashboard-brand strong {
    font-size: 18px;
  }

  .dashboard-brand small {
    font-size: 9px;
  }

  .sidebar-kicker,
  .sidebar-trust {
    display: none;
  }

  .dashboard-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-top: 9px;
    padding-bottom: 1px;
    overflow-x: visible;
    scrollbar-width: none;
  }

  .dashboard-nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-nav-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 6px;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
  }

  .dashboard-main {
    padding: 25px 17px 18px;
  }

  .dashboard-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
  }

  .topbar-heading h1 {
    font-size: 27px;
  }

  .topbar-controls {
    align-items: stretch;
    justify-content: stretch;
    flex-direction: column-reverse;
    gap: 9px;
    width: 100%;
  }

  .run-select-label,
  .run-select-label select {
    width: 100%;
    max-width: none;
  }

  .return-link {
    min-height: 44px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .metric-card {
    min-height: 112px;
    padding: 13px;
  }

  .metric-value {
    font-size: 25px;
  }

  .dashboard-card,
  .extension-hero {
    padding: 15px;
  }

  .report-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-toolbar .button {
    width: 100%;
  }

  .chart-row {
    grid-template-columns: minmax(91px, .9fr) minmax(70px, 1.5fr) 29px;
    gap: 7px;
  }
}

@media (max-width: 460px) {
  .dashboard-sidebar {
    padding-right: 11px;
    padding-left: 11px;
  }

  .sidebar-version {
    display: none;
  }

  .dashboard-nav-button {
    padding: 0 10px;
  }

  .dashboard-main {
    padding-right: 13px;
    padding-left: 13px;
  }

  .connection-note {
    padding: 10px 11px;
  }

  .card-heading {
    flex-direction: column;
    gap: 8px;
  }

  .state-card summary {
    grid-template-columns: minmax(0, 1fr) auto 23px;
    gap: 7px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .state-detail {
    padding-right: 10px;
    padding-left: 10px;
  }

  .extension-control {
    flex-direction: column;
    gap: 7px;
  }

  .demo-switch {
    align-self: flex-start;
  }

  .guide-row {
    grid-template-columns: 1fr;
  }

  .guide-row .link-button {
    justify-self: start;
    width: auto;
  }

  .dashboard-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-body *,
  .dashboard-body *::before,
  .dashboard-body *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.dashboard-sidebar :focus-visible {
  outline-color: var(--dashboard-gold);
}
.state-name {
  white-space: normal;
  overflow-wrap: anywhere;
}
.run-context .run-scope {
  flex-basis: 100%;
}
