.dashboard-demo-shell {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-width: 0;
  border: 1px solid #cbdace;
  border-radius: 17px;
  background: #f4f7f1;
  box-shadow: 0 15px 36px #132e2713;
  overflow: clip;
}

.dash-sidebar {
  min-width: 0;
  padding: 19px 13px;
  border-inline-end: 1px solid #d7e3d8;
  background: #edf3eb;
}

.dash-project { display: flex; align-items: center; gap: 9px; padding: 0 5px; }
.dash-project > div { min-width: 0; }
.dash-project strong { display: block; font: 800 15px/1.25 var(--display); color: var(--ink); }
.dash-project small { display: block; color: var(--muted); font: 11px/1.35 var(--mono); overflow-wrap: anywhere; }
.dash-app-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #dcecd5;
  color: #295742;
}

.dash-app-icon i {
  width: 13px;
  height: 17px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  background: linear-gradient(currentColor,currentColor) center 36% / 7px 1px no-repeat,
    linear-gradient(currentColor,currentColor) center 65% / 7px 1px no-repeat;
}

.dash-nav-caption {
  display: block;
  margin-block: 25px 6px;
  padding-inline: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.dash-nav { display: grid; gap: 4px; }
.dash-nav button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  min-width: 0;
  width: 100%;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  text-align: start;
  overflow-wrap: anywhere;
}

.dash-nav button:hover { border-color: #cfddcf; background: #f8fbf6; color: var(--blue-deep); }
.dash-nav button[aria-selected="true"] { border-color: #164b3b; background: #185c48; color: #fff; }
.dash-nav button:focus-visible, .dash-day-buttons button:focus-visible, .dash-action:focus-visible, .dash-finding summary:focus-visible {
  outline: 2px solid #246f54;
  outline-offset: 2px;
}

.dash-nav-icon { position: relative; flex: 0 0 15px; width: 15px; height: 15px; }
.dash-nav-icon:not(.dash-icon-retest) { border: 1px solid currentColor; border-radius: 3px; }
.dash-icon-overview { background: linear-gradient(currentColor,currentColor) center / 1px 100% no-repeat, linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat; }
.dash-icon-timeline { background: linear-gradient(currentColor,currentColor) center 36% / 100% 1px no-repeat; }
.dash-nav-icon.dash-icon-devices { width: 11px; flex-basis: 11px; margin-inline: 2px; border-radius: 2px; background: linear-gradient(currentColor,currentColor) center 80% / 5px 1px no-repeat; }
.dash-icon-feedback::after { content: ""; position: absolute; inset-inline-start: 2px; inset-block-end: -3px; width: 4px; height: 4px; border-inline-start: 1px solid currentColor; transform: skew(-15deg); }
.dash-icon-console { background: linear-gradient(currentColor,currentColor) center 36% / 8px 1px no-repeat, linear-gradient(currentColor,currentColor) center 63% / 8px 1px no-repeat; }
.dash-icon-retest { display: grid; place-items: center; font: 500 18px/15px var(--sans); }

.dash-content { min-width: 0; }
.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-height: 49px;
  padding: 7px clamp(13px, 2.3vw, 26px);
  border-block-end: 1px solid #dbe5d9;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.dash-demo-tag, .dash-state, .dash-severity {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid #cbdacf;
  border-radius: 5px;
  background: #edf5e9;
  color: #315f47;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dash-demo-tag { background: #e3efd9; color: #254e39; }
.dash-state[data-state="current"], .dash-severity[data-severity="medium"] { border-color: #ead9a9; background: #fbf2d8; color: #694e14; }
.dash-state[data-state="planned"] { border-color: #dce3dc; background: #f1f4ef; color: #4d6257; }
.dash-severity[data-severity="high"] { border-color: #e7c9bf; background: #f8e9e4; color: #78392d; }

.dash-panel {
  min-width: 0;
  min-height: 348px;
  padding: clamp(13px, 2.3vw, 26px);
}

.dash-panel[hidden] { display: none; }
.dash-panel:focus-visible { outline-offset: -4px; }
.dash-panel-heading, .dash-card-title { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: start; gap: 7px 14px; margin-block-end: 13px; }
.dash-panel-heading h3 { color: var(--ink); font: 800 clamp(19px, 2.5vw, 28px)/1.2 var(--display); letter-spacing: -.035em; }
.dash-panel-heading p { margin-block-start: 3px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.dash-panel-heading .dash-state { margin-block-start: 3px; }

.dash-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0 0 10px; }
.dash-metric, .dash-card, .dash-calendar, .dash-finding, .dash-guidance > div, .dash-retest-steps li {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe4da;
  border-radius: 9px;
  background: #fff;
}

.dash-metric dt { color: var(--muted); font-size: 12px; font-weight: 750; overflow-wrap: anywhere; }
.dash-metric dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.dash-metric dd strong { color: var(--ink); font: 800 clamp(24px, 4vw, 38px)/1.08 var(--display); letter-spacing: -.045em; }
.dash-metric .dash-metric-note { margin-block-start: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.dash-metric progress { display: block; width: 100%; height: 5px; margin-block-start: 8px; border: 0; border-radius: 5px; background: #e9f1e5; accent-color: #498060; }
.dash-metric progress::-webkit-progress-bar { border-radius: 5px; background: #e9f1e5; }
.dash-metric progress::-webkit-progress-value { border-radius: 5px; background: #498060; }
.dash-metric progress::-moz-progress-bar { border-radius: 5px; background: #498060; }
.dash-overview-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dash-card h4 { margin: 0; color: var(--ink); font: 800 15px/1.3 var(--display); }
.dash-card p { margin-block-start: 5px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.dash-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  margin-block-start: 5px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}
[dir="rtl"] .dash-action [aria-hidden] { transform: scaleX(-1); }

.dash-day-buttons { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.dash-day-buttons button {
  min-width: 0;
  min-height: 42px;
  padding: 5px 2px;
  border: 1px solid #d6e1d6;
  border-radius: 6px;
  background: #f4f6f1;
  color: #4a6255;
  font-size: 14px;
  font-weight: 750;
}
.dash-day-buttons button[data-state="recorded"] { border-color: #c9ddcd; background: #e9f4e8; color: #2b654b; }
.dash-day-buttons button[data-state="current"] { border-color: #e6d4a0; background: #fcf1d1; color: #694e14; }
.dash-day-buttons button:hover { border-color: #185c48; }
.dash-day-buttons button[aria-pressed="true"] { border-color: #185c48; box-shadow: inset 0 0 0 1px #185c48; }
.dash-calendar-key { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0; margin-block-start: 10px; color: var(--muted); font-size: 11px; list-style: none; }
.dash-calendar-key li { display: inline-flex; align-items: center; gap: 4px; }
.dash-state-dot { width: 8px; height: 8px; flex: 0 0 8px; border: 1px solid #bed0bf; border-radius: 50%; background: #edf0ea; }
.dash-state-dot[data-state="recorded"] { border-color: #72a687; background: #72a687; }
.dash-state-dot[data-state="current"] { border-color: #d0aa4c; background: #ead188; }
.dash-day-detail { margin-block-start: 9px; }
.dash-card-title { margin: 0; align-items: center; }

.dash-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dash-table { width: 100%; border: 1px solid #dbe4da; border-collapse: separate; border-spacing: 0; border-radius: 9px; background: #fff; font-size: 13px; overflow: hidden; }
.dash-table th, .dash-table td { padding: 10px 12px; text-align: start; overflow-wrap: anywhere; }
.dash-table thead th { border-block-end: 1px solid #dbe4da; background: #edf3ec; color: var(--muted); font-size: 12px; }
.dash-table tbody tr + tr > * { border-block-start: 1px solid #e3ebe2; }
.dash-table tbody th > * { display: block; }
.dash-table tbody th small { color: var(--muted); font-size: 11px; }
.dash-table tbody th strong { color: var(--ink); font-weight: 750; }

.dash-findings, .dash-guidance { display: grid; gap: 7px; margin: 0; }
.dash-finding { padding: 0; }
.dash-finding summary {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 6px;
  min-height: 45px;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.dash-finding summary::-webkit-details-marker { display: none; }
.dash-finding summary::after { content: "+"; color: var(--blue-deep); font-size: 17px; line-height: 1; }
.dash-finding[open] summary::after { content: "−"; }
.dash-finding[open] summary { border-block-end: 1px solid #e3ebe2; border-end-start-radius: 0; border-end-end-radius: 0; }
.dash-finding dl { display: grid; gap: 8px; margin: 0; padding: 10px 11px; }
.dash-finding dt, .dash-guidance dt { color: var(--ink); font-size: 13px; font-weight: 750; }
.dash-finding dd, .dash-guidance dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.dash-console-note { margin-block-start: 11px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.dash-retest-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; list-style-position: inside; }
.dash-retest-steps li::marker { color: var(--blue-deep); font-weight: 800; }
.dash-retest-steps strong { font-size: 14px; }
.dash-retest-steps p { margin-block-start: 5px; color: var(--muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 820px) {
  .dashboard-demo-shell { grid-template-columns: minmax(0, 1fr); }
  .dash-sidebar { padding: 11px; border-inline-end: 0; border-block-end: 1px solid #d7e3d8; }
  .dash-project { padding: 0 3px; }
  .dash-nav-caption { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dash-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block-start: 9px; }
  .dash-nav button { min-height: 42px; border-color: #d8e4d8; background: #f8fbf6; }
  .dash-panel { min-height: 329px; }
}

@media (max-width: 480px) {
  .dash-nav button { gap: 4px; padding-inline: 4px; font-size: 12px; }
  .dash-nav-icon:not(.dash-icon-retest) { flex-basis: 11px; width: 11px; height: 11px; }
  .dash-nav-icon.dash-icon-devices { width: 8px; flex-basis: 8px; margin-inline: 1px; }
  .dash-icon-retest { flex-basis: 11px; width: 11px; height: 11px; font-size: 14px; line-height: 11px; }
  .dash-overview-cards, .dash-retest-steps { grid-template-columns: minmax(0, 1fr); }
  .dash-metrics { gap: 4px; }
  .dash-metric { padding: 6px; }
  .dash-metric dt { font-size: 11px; line-height: 1.35; }
  .dash-metric .dash-metric-note { font-size: 10px; }
  .dash-day-buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dash-table th, .dash-table td { padding: 6px 5px; font-size: 12px; }
  .dash-table .dash-state { padding-inline: 4px; }
}
