:root {
  --bg-1: #f4efe7;
  --bg-2: #dceff0;
  --ink-1: #12212b;
  --ink-2: #42515f;
  --ink-3: #758494;
  --line: rgba(18, 33, 43, 0.1);
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --shadow: 0 24px 60px rgba(20, 43, 67, 0.12);
  --accent: #127972;
  --accent-soft: #d7f4ee;
  --warn: #d98a2b;
  --warn-soft: #fff0dc;
  --danger: #cf4c3d;
  --danger-soft: #ffe2dd;
  --good: #198754;
  --good-soft: #dbf5e7;
  --info: #2b7fd9;
  --info-soft: #dcecff;
  --outline: rgba(18, 33, 43, 0.08);
  --mono: "JetBrains Mono", "Cascadia Code", "Fira Code", Consolas, monospace;
  --sans: "Avenir Next", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-1);
  background:
    radial-gradient(circle at top left, rgba(18, 121, 114, 0.14), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(43, 127, 217, 0.15), transparent 24%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.5;
  pointer-events: none;
}

.ambient-one {
  width: 360px;
  height: 360px;
  background: rgba(18, 121, 114, 0.2);
  top: -120px;
  right: -90px;
}

.ambient-two {
  width: 280px;
  height: 280px;
  background: rgba(217, 138, 43, 0.16);
  bottom: 80px;
  left: -70px;
}

.toast-stack {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 40;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 220px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: white;
  animation: toast-enter 180ms ease;
}

.toast-info {
  background: linear-gradient(135deg, #2b7fd9, #205ea1);
}

.toast-success {
  background: linear-gradient(135deg, #198754, #10673f);
}

.toast-danger {
  background: linear-gradient(135deg, #cf4c3d, #9d3529);
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.28s ease;
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-shell {
  width: min(1480px, calc(100% - 40px));
  margin: 20px auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 18px;
}

.sidebar-card,
.panel,
.surface-card,
.summary-card {
  background: var(--panel);
  border: 1px solid var(--outline);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.sidebar-card,
.surface-card,
.summary-card {
  border-radius: 24px;
  padding: 22px;
}

.panel {
  border-radius: 28px;
  padding: 28px;
}

.brand-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(18, 121, 114, 0.94), rgba(43, 127, 217, 0.9));
  color: white;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-card h1,
.hero-panel h2,
.section-header h2,
.surface-card h3,
.summary-card h3,
.drawer-header h2 {
  margin: 0;
  line-height: 1.15;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.nav-button {
  width: 100%;
  border: 0;
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink-2);
  padding: 14px 16px;
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nav-button:hover,
.nav-button.is-active {
  background: linear-gradient(135deg, rgba(18, 121, 114, 0.92), rgba(43, 127, 217, 0.92));
  color: white;
  transform: translateX(4px);
}

.sidebar-copy {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.65;
}

.workspace {
  display: grid;
  gap: 20px;
}

.page-shell-single {
  grid-template-columns: 1fr;
}

.view-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px;
}

.view-tab {
  border: 0;
  border-radius: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.view-tab:hover,
.view-tab.is-active {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(18, 121, 114, 0.92), rgba(43, 127, 217, 0.92));
  color: white;
}

.login-card {
  max-width: 520px;
}

[hidden] {
  display: none !important;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  overflow: hidden;
  position: relative;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 121, 114, 0.16), transparent 66%);
}

.hero-description {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--ink-2);
  line-height: 1.7;
}

.hero-actions {
  display: grid;
  gap: 16px;
  justify-items: end;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.badge,
.chip,
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-good {
  background: var(--good-soft);
  color: var(--good);
}

.badge-warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.badge-info {
  background: var(--info-soft);
  color: var(--info);
}

.badge-neutral {
  background: rgba(18, 33, 43, 0.08);
  color: var(--ink-2);
}

.badge-outline {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid rgba(18, 33, 43, 0.12);
}

.chip,
.section-pill {
  background: rgba(18, 121, 114, 0.08);
  color: var(--accent);
}

.section-panel {
  display: grid;
  gap: 22px;
}

.section-panel[hidden],
.section-panel:not(.is-active) {
  display: none;
}

.section-panel.is-active {
  display: grid;
}

.section-header,
.card-header,
.report-topline,
.drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.card-header {
  margin-bottom: 16px;
}

.stack {
  display: grid;
  gap: 16px;
}

.overview-grid,
.split-grid,
.report-grid,
.form-grid,
.info-grid,
.endpoint-grid {
  display: grid;
  gap: 16px;
}

.overview-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split-grid--analysis {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--wide {
  grid-template-columns: 1.2fr 1fr;
}

.endpoint-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.endpoint-card {
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 251, 250, 0.9));
  border: 1px solid rgba(18, 33, 43, 0.08);
  display: grid;
  gap: 10px;
}

.endpoint-card code,
.json-console pre,
.textarea-mono,
.table-secondary {
  font-family: var(--mono);
}

.endpoint-title {
  margin: 0;
  font-weight: 700;
}

.endpoint-desc,
.table-secondary,
.callout p,
.empty-state p,
.activity-item p,
.muted-copy {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
}

.form-field {
  display: grid;
  gap: 8px;
}

.field-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.input,
.textarea,
.toggle {
  width: 100%;
}

.input,
.textarea {
  border: 1px solid rgba(18, 33, 43, 0.12);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-1);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(18, 121, 114, 0.6);
  box-shadow: 0 0 0 4px rgba(18, 121, 114, 0.12);
}

.textarea {
  resize: vertical;
  min-height: 110px;
}

.toggle-field {
  align-content: end;
}

.toggle {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.icon-button {
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  font: inherit;
}

.button {
  padding: 12px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.icon-button:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #127972, #1461a2);
  box-shadow: 0 14px 24px rgba(18, 97, 162, 0.22);
}

.button-secondary {
  color: white;
  background: linear-gradient(135deg, #d98a2b, #c16017);
  box-shadow: 0 14px 24px rgba(193, 96, 23, 0.22);
}

.button-ghost {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 33, 43, 0.08);
}

.button-inline {
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(18, 121, 114, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.callout {
  border-radius: 18px;
  padding: 16px 18px;
  display: grid;
  gap: 6px;
  border: 1px solid transparent;
}

.callout-success {
  background: var(--good-soft);
  color: var(--good);
  border-color: rgba(25, 135, 84, 0.18);
}

.callout-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(207, 76, 61, 0.18);
}

.callout-info {
  background: var(--info-soft);
  color: var(--info);
  border-color: rgba(43, 127, 217, 0.18);
}

.json-console {
  background: #12212b;
  color: #d7e8f6;
  border-radius: 20px;
  padding: 16px;
  overflow: auto;
  border: 1px solid rgba(18, 33, 43, 0.08);
}

.json-console pre {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.empty-state {
  padding: 28px 20px;
  border: 1px dashed rgba(18, 33, 43, 0.16);
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.58);
}

.empty-state h3 {
  margin: 0 0 8px;
}

.empty-state-compact {
  padding: 18px;
}

.activity-feed {
  display: grid;
  gap: 12px;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(18, 33, 43, 0.08);
}

.activity-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.activity-item strong {
  display: block;
  margin-bottom: 4px;
}

.activity-item span {
  color: var(--ink-3);
  font-size: 13px;
}

.summary-card {
  display: grid;
  gap: 16px;
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 33, 43, 0.06);
  display: grid;
  gap: 8px;
}

.info-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.info-value {
  font-size: 15px;
  line-height: 1.4;
}

.report-view {
  display: grid;
  gap: 18px;
}

.report-meta-line {
  margin: 10px 0 0;
  color: var(--ink-2);
  line-height: 1.6;
}

.report-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card {
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 251, 0.92));
  border: 1px solid rgba(18, 33, 43, 0.08);
  display: grid;
  gap: 16px;
}

.detail-card h4 {
  margin: 0;
}

.detail-card--wide {
  grid-column: span 2;
}

.text-block {
  padding: 18px;
  border-radius: 18px;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 33, 43, 0.06);
}

.text-block--accent {
  background: linear-gradient(180deg, rgba(215, 244, 238, 0.88), rgba(245, 253, 250, 0.92));
  border-color: rgba(18, 121, 114, 0.16);
}

.insight-section-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.insight-section-header h4 {
  margin: 0 0 8px;
}

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

.insight-card {
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 250, 0.92));
  border: 1px solid rgba(18, 33, 43, 0.08);
  display: grid;
  gap: 12px;
}

.insight-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.insight-card-header h5 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.insight-summary,
.insight-detail,
.insight-suggestion p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.7;
}

.insight-summary {
  color: var(--ink-1);
  font-weight: 600;
}

.insight-suggestion {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(18, 121, 114, 0.08);
  display: grid;
  gap: 6px;
}

.insight-suggestion span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.radar-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.radar-graphic {
  display: grid;
  place-items: center;
}

.radar-svg {
  width: 240px;
  height: 240px;
}

.radar-grid polygon,
.radar-grid line {
  fill: none;
  stroke: rgba(18, 33, 43, 0.12);
  stroke-width: 1;
}

.radar-area {
  fill: rgba(18, 121, 114, 0.24);
  stroke: rgba(18, 121, 114, 0.88);
  stroke-width: 2;
}

.radar-labels text {
  font-size: 11px;
  fill: var(--ink-2);
  text-anchor: middle;
}

.radar-meta {
  display: grid;
  gap: 14px;
}

.score-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(18, 121, 114, 0.08);
  color: var(--accent);
}

.score-pill strong {
  font-size: 28px;
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legend-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 33, 43, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-2);
}

.table-wrap {
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(18, 33, 43, 0.08);
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.78);
}

.report-table th,
.report-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(18, 33, 43, 0.08);
  vertical-align: top;
}

.report-table th {
  background: rgba(18, 33, 43, 0.04);
  font-size: 13px;
  color: var(--ink-2);
}

.table-primary {
  font-weight: 700;
  margin-bottom: 4px;
}

.table-actions {
  white-space: nowrap;
}

.history-summary-section {
  display: grid;
  gap: 16px;
}

.history-summary-caption {
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(18, 33, 43, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.history-summary-caption h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.history-summary-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(18, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.history-summary-header,
.history-summary-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 168px;
  align-items: center;
}

.history-summary-header {
  min-height: 56px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(238, 242, 255, 0.96));
}

.history-summary-list {
  display: grid;
  max-height: none;
  overflow: visible;
}

.history-summary-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(18, 33, 43, 0.08);
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.history-summary-row:last-child {
  border-bottom: 0;
}

.history-summary-row:hover {
  background: rgba(37, 99, 235, 0.04);
}

.history-summary-row.is-active {
  background: rgba(37, 99, 235, 0.08);
  box-shadow: inset 3px 0 0 #2563eb;
}

.history-summary-row:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.28);
}

.history-summary-cell {
  min-width: 0;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  color: var(--ink-1);
}

.history-summary-header .history-summary-cell {
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
}

.history-summary-record {
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink-2);
}

.history-summary-name {
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-summary-status {
  justify-content: center;
  text-align: center;
}

.history-summary-status .badge {
  min-width: 88px;
  justify-content: center;
}

.history-report-workspace {
  display: grid;
  gap: 18px;
}

.history-report-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(18, 33, 43, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.95));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.history-report-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.history-report-panel-header h4 {
  margin: 0 0 6px;
  font-size: 20px;
}

.history-report-record {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-weight: 700;
  font-family: var(--mono);
  white-space: nowrap;
}

.history-report-panel-body {
  display: grid;
  gap: 16px;
}

.table-scroll {
  width: 100%;
  overflow: auto;
  border: 1px solid rgba(18, 33, 43, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.data-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(18, 33, 43, 0.08);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(238, 242, 255, 0.98));
  color: #1d4ed8;
  font-weight: 800;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.04);
}

.mono-cell {
  font-family: var(--mono);
  max-width: 260px;
  word-break: break-all;
  color: var(--ink-2);
}

.drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.drawer.is-open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 26, 0.46);
  backdrop-filter: blur(6px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(860px, 100%);
  height: 100%;
  background: rgba(245, 248, 249, 0.98);
  padding: 26px;
  overflow: auto;
  box-shadow: -24px 0 60px rgba(12, 25, 36, 0.18);
}

.drawer-header {
  margin-bottom: 18px;
}

.drawer-content {
  display: grid;
  gap: 18px;
}

.icon-button {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(18, 33, 43, 0.08);
  color: var(--ink-1);
}

@media (max-width: 1240px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .hero-panel,
  .overview-grid,
  .split-grid,
  .split-grid--analysis,
  .report-grid,
  .radar-layout {
    grid-template-columns: 1fr;
  }

  .detail-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    margin: 10px auto 24px;
  }

  .panel,
  .sidebar-card,
  .surface-card,
  .summary-card,
  .drawer-panel {
    padding: 18px;
  }

  .hero-panel {
    gap: 18px;
  }

  .hero-actions {
    justify-items: stretch;
  }

  .status-strip {
    justify-content: flex-start;
  }

  .button-row {
    flex-direction: column;
  }

  .form-grid,
  .form-grid--wide,
  .info-grid,
  .endpoint-grid,
  .legend-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .report-table th,
  .report-table td {
    padding: 14px 12px;
  }

  .history-summary-header,
  .history-summary-row {
    grid-template-columns: 92px minmax(0, 1fr) 128px;
  }

  .history-summary-cell {
    padding: 14px 10px;
  }

  .history-report-panel {
    padding: 18px;
  }

  .history-report-panel-header {
    flex-direction: column;
  }
}
