:root {
  --rd-bg: #f3f6fb;
  --rd-panel: rgba(255, 255, 255, 0.78);
  --rd-panel-strong: rgba(255, 255, 255, 0.92);
  --rd-panel-border: rgba(18, 27, 45, 0.08);
  --rd-panel-shadow: 0 24px 60px rgba(21, 31, 54, 0.09);
  --rd-text: #132033;
  --rd-text-soft: #51627b;
  --rd-text-faint: #8090a6;
  --rd-accent: #f28b2c;
  --rd-accent-soft: rgba(242, 139, 44, 0.13);
  --rd-blue: #2a73ff;
  --rd-blue-soft: rgba(42, 115, 255, 0.12);
  --rd-teal: #0f8f83;
  --rd-teal-soft: rgba(15, 143, 131, 0.12);
  --rd-red: #c74e48;
  --rd-red-soft: rgba(199, 78, 72, 0.12);
  --rd-good: #157a66;
  --rd-good-soft: rgba(21, 122, 102, 0.12);
  --rd-harm: #b54f54;
  --rd-harm-soft: rgba(181, 79, 84, 0.12);
  --rd-body-accent-a: rgba(242, 139, 44, 0.14);
  --rd-body-accent-b: rgba(42, 115, 255, 0.11);
  --rd-body-gradient: linear-gradient(180deg, #f7f9fd 0%, #eff4fb 100%);
  --rd-topbar-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.84));
  --rd-brand-gradient: linear-gradient(135deg, #17263a, #2c4361);
  --rd-brand-text: #fff;
  --rd-link-surface: rgba(255, 255, 255, 0.72);
  --rd-switch-surface: rgba(19, 32, 51, 0.05);
  --rd-view-active-gradient: linear-gradient(135deg, #1f3149, #345378);
  --rd-view-active-text: #fff;
  --rd-hero-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.82));
  --rd-inline-surface: rgba(255, 255, 255, 0.88);
  --rd-inline-surface-strong: rgba(255, 255, 255, 0.9);
  --rd-inline-surface-soft: rgba(255, 255, 255, 0.82);
  --rd-row-surface: rgba(19, 32, 51, 0.035);
  --rd-soft-surface: rgba(19, 32, 51, 0.05);
  --rd-chip-protect-text: #a65413;
  --rd-decrease: #754db2;
  --rd-radius-lg: 28px;
  --rd-radius-md: 18px;
  --rd-radius-sm: 12px;
}

:root[data-theme="dark"] {
  --rd-bg: #0c1423;
  --rd-panel: rgba(12, 20, 35, 0.82);
  --rd-panel-strong: rgba(14, 24, 41, 0.94);
  --rd-panel-border: rgba(148, 163, 184, 0.16);
  --rd-panel-shadow: 0 28px 70px rgba(2, 8, 23, 0.45);
  --rd-text: #e6eefb;
  --rd-text-soft: #a9bad1;
  --rd-text-faint: #8092ab;
  --rd-accent-soft: rgba(242, 139, 44, 0.18);
  --rd-blue-soft: rgba(42, 115, 255, 0.18);
  --rd-teal-soft: rgba(15, 143, 131, 0.18);
  --rd-red-soft: rgba(199, 78, 72, 0.16);
  --rd-good-soft: rgba(21, 122, 102, 0.18);
  --rd-harm-soft: rgba(181, 79, 84, 0.18);
  --rd-body-accent-a: rgba(242, 139, 44, 0.12);
  --rd-body-accent-b: rgba(42, 115, 255, 0.14);
  --rd-body-gradient: linear-gradient(180deg, #08111f 0%, #0d1728 100%);
  --rd-topbar-gradient: linear-gradient(135deg, rgba(10, 17, 30, 0.94), rgba(15, 26, 44, 0.9));
  --rd-brand-gradient: linear-gradient(135deg, #ff9c43, #2a73ff);
  --rd-brand-text: #08111f;
  --rd-link-surface: rgba(255, 255, 255, 0.04);
  --rd-switch-surface: rgba(255, 255, 255, 0.05);
  --rd-view-active-gradient: linear-gradient(135deg, #ff9c43, #2a73ff);
  --rd-view-active-text: #08111f;
  --rd-hero-gradient: linear-gradient(135deg, rgba(10, 17, 30, 0.96), rgba(15, 26, 44, 0.88));
  --rd-inline-surface: rgba(255, 255, 255, 0.05);
  --rd-inline-surface-strong: rgba(255, 255, 255, 0.06);
  --rd-inline-surface-soft: rgba(255, 255, 255, 0.04);
  --rd-row-surface: rgba(255, 255, 255, 0.03);
  --rd-soft-surface: rgba(255, 255, 255, 0.06);
  --rd-chip-protect-text: #ffbf7a;
  --rd-decrease: #bf9aff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  color: var(--rd-text);
  font-family: "Space Grotesk", sans-serif;
  overflow: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, var(--rd-body-accent-a), transparent 28%),
    radial-gradient(circle at top right, var(--rd-body-accent-b), transparent 30%),
    var(--rd-body-gradient);
}

button,
input,
a {
  font: inherit;
}

a {
  color: inherit;
}

.rd-shell {
  max-width: 1780px;
  margin: 0 auto;
  padding: 18px;
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}

.rd-topbar,
.rd-panel,
.rd-hero,
.rd-workbench-block {
  backdrop-filter: blur(20px);
}

.rd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border: 1px solid var(--rd-panel-border);
  border-radius: var(--rd-radius-lg);
  background: var(--rd-topbar-gradient);
  box-shadow: var(--rd-panel-shadow);
}

.rd-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rd-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--rd-brand-gradient);
  color: var(--rd-brand-text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 32px rgba(22, 38, 58, 0.2);
}

.rd-eyebrow,
.rd-panel-kicker,
.rd-guide-kicker,
.rd-hero-kicker,
.rd-metric-label,
.rd-chip-block-label {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--rd-text-faint);
}

.rd-brand-name {
  font-size: 1.35rem;
  font-weight: 700;
}

.rd-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rd-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--rd-panel-border);
  background: var(--rd-link-surface);
  color: var(--rd-text-soft);
  cursor: pointer;
  transition: 160ms ease;
}

.rd-theme-toggle:hover {
  border-color: rgba(42, 115, 255, 0.25);
  color: var(--rd-blue);
}

.rd-theme-toggle-kicker {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  color: var(--rd-text-faint);
}

.rd-theme-toggle strong {
  font-size: 0.94rem;
  color: var(--rd-text);
}

.rd-analytics-btn {
  border: 1px solid rgba(42, 115, 255, 0.22);
  background: var(--rd-blue-soft);
  color: var(--rd-blue);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: 160ms ease;
}

.rd-analytics-btn:hover {
  border-color: rgba(42, 115, 255, 0.35);
  color: var(--rd-text);
}

.rd-classic-link {
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(19, 32, 51, 0.09);
  color: var(--rd-text-soft);
  background: var(--rd-link-surface);
}

.rd-classic-link:hover {
  border-color: rgba(42, 115, 255, 0.25);
  color: var(--rd-blue);
}

.rd-view-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--rd-switch-surface);
}

.rd-view-switch button {
  border: none;
  background: transparent;
  color: var(--rd-text-soft);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: 160ms ease;
}

.rd-view-switch button.is-active {
  background: var(--rd-view-active-gradient);
  color: var(--rd-view-active-text);
  box-shadow: 0 12px 24px rgba(29, 48, 74, 0.24);
}

.rd-community-strip {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 22px;
  border: 1px solid var(--rd-panel-border);
  background: var(--rd-panel);
  box-shadow: var(--rd-panel-shadow);
}

.rd-community-copy {
  display: grid;
  gap: 5px;
  color: var(--rd-text-soft);
  line-height: 1.6;
}

.rd-community-copy strong {
  color: var(--rd-text);
  font-size: 1rem;
}

.rd-community-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(88, 101, 242, 0.28);
  background: rgba(88, 101, 242, 0.16);
  color: #5865f2;
  font-weight: 700;
  white-space: nowrap;
}

.rd-community-link:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.22);
}

.rd-hero {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(520px, 1.2fr);
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--rd-radius-lg);
  border: 1px solid var(--rd-panel-border);
  background:
    var(--rd-hero-gradient),
    linear-gradient(135deg, rgba(242, 139, 44, 0.08), transparent 35%);
  box-shadow: var(--rd-panel-shadow);
}

.rd-hero-copy h1 {
  margin: 8px 0 8px;
  max-width: 18ch;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.05;
}

.rd-hero-copy p {
  margin: 0;
  max-width: 60ch;
  color: var(--rd-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.rd-hero-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.rd-hero-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.rd-hero-steps span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--rd-soft-surface);
  color: var(--rd-text-soft);
  font-size: 0.9rem;
}

.rd-hero-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--rd-panel-border);
  background: var(--rd-inline-surface-soft);
}

.rd-hero-support-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rd-hero-support-copy strong {
  color: var(--rd-text);
  font-size: 0.96rem;
}

.rd-hero-support-copy span {
  color: var(--rd-text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rd-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rd-metric-card {
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(20, 33, 53, 0.97), rgba(29, 45, 72, 0.96));
  color: #f4f8ff;
  box-shadow: 0 18px 36px rgba(21, 31, 54, 0.18);
}

.rd-metric-value {
  margin-top: 8px;
  font-size: clamp(1.15rem, 1.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.rd-main,
.rd-stage {
  min-width: 0;
  min-height: 0;
}

.rd-stage {
  height: 100%;
}

.rd-shell[data-view="guide"] .rd-guide-layout {
  grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
}

.rd-stage-view {
  display: none;
  min-height: 0;
  height: 100%;
}

.rd-stage-view.is-active {
  min-height: 0;
}

#setup-view.is-active {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}

#guide-view.is-active {
  display: block;
}

.rd-panel {
  border: 1px solid var(--rd-panel-border);
  border-radius: var(--rd-radius-lg);
  background: var(--rd-panel);
  box-shadow: var(--rd-panel-shadow);
  padding: 18px;
}

.rd-workbench {
  padding: 14px 16px;
}

.rd-workbench-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(0, 1.28fr) minmax(340px, 1fr);
  gap: 12px;
  align-items: start;
}

.rd-workbench-block {
  min-width: 0;
  border: 1px solid var(--rd-panel-border);
  border-radius: 22px;
  background: var(--rd-inline-surface-soft);
  box-shadow: var(--rd-panel-shadow);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rd-workbench-block-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.rd-workbench-block-title {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.rd-workbench-note {
  color: var(--rd-text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rd-workbench-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rd-workbench-tools {
  gap: 12px;
}

.rd-workbench-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.rd-metric-chip {
  padding: 8px 10px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(20, 33, 53, 0.96), rgba(31, 47, 74, 0.94));
  color: #f4f8ff;
  box-shadow: 0 14px 28px rgba(21, 31, 54, 0.14);
}

.rd-metric-chip .rd-metric-value {
  margin-top: 6px;
  font-size: clamp(0.98rem, 1.1vw, 1.2rem);
  font-weight: 700;
  line-height: 1.1;
}

.rd-panel-head,
.rd-panel-headline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.rd-panel-head h2,
.rd-panel-headline h2 {
  margin: 4px 0 0;
  font-size: 1.18rem;
}

.rd-panel-head-tight {
  margin-bottom: 8px;
}

.rd-panel-copy {
  margin-top: 8px;
  color: var(--rd-text-soft);
  line-height: 1.55;
  font-size: 0.9rem;
}

.rd-category-groups {
  display: grid;
  gap: 10px;
}

.rd-category-group-label {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--rd-text-faint);
}

.rd-category-group {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.rd-category-group .rd-category-group-label {
  padding-top: 7px;
}

.rd-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rd-category-btn {
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 999px;
  background: var(--rd-inline-surface);
  color: var(--rd-text-soft);
  padding: 8px 12px;
  cursor: pointer;
  transition: 160ms ease;
  font-size: 0.95rem;
}

.rd-category-btn:hover,
.rd-category-btn.is-active {
  border-color: rgba(42, 115, 255, 0.25);
  background: var(--rd-blue-soft);
  color: var(--rd-blue);
}

.rd-chip-block + .rd-chip-block {
  margin-top: 0;
}

.rd-chip-block {
  min-height: 88px;
  padding: 10px 12px;
  border-radius: 18px;
  background: var(--rd-row-surface);
}

.rd-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.rd-workbench-snapshot .rd-chip-cloud {
  max-height: 84px;
  overflow: auto;
  padding-right: 4px;
}

.rd-chip-empty {
  color: var(--rd-text-faint);
  font-size: 0.94rem;
}

.rd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  line-height: 1.2;
  font-size: 0.86rem;
}

.rd-chip.fix {
  background: var(--rd-blue-soft);
  color: var(--rd-blue);
  border-color: rgba(42, 115, 255, 0.15);
}

.rd-chip.protect {
  background: var(--rd-accent-soft);
  color: var(--rd-chip-protect-text);
  border-color: rgba(242, 139, 44, 0.16);
}

.rd-chip button {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.82rem;
  padding: 0;
}

.rd-reset-btn {
  border: 1px solid rgba(19, 32, 51, 0.08);
  background: var(--rd-inline-surface-strong);
  color: var(--rd-text-soft);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.rd-reset-btn:hover {
  border-color: rgba(199, 78, 72, 0.2);
  color: var(--rd-red);
}

.rd-setup-overview {
  display: grid;
  grid-template-columns: minmax(290px, 1.15fr) minmax(340px, 1.25fr) minmax(250px, 0.92fr);
  gap: 14px;
  margin-bottom: 14px;
  align-items: start;
}

.rd-overview-panel {
  min-width: 0;
}

.rd-overview-snapshot .rd-chip-cloud {
  max-height: 82px;
  overflow: auto;
  padding-right: 4px;
}

.rd-quick-guide {
  display: grid;
  gap: 8px;
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rd-quick-guide button {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  border: 1px solid rgba(19, 32, 51, 0.08);
  background: var(--rd-inline-surface-soft);
  border-radius: var(--rd-radius-sm);
  padding: 9px 10px;
  color: var(--rd-text);
  cursor: pointer;
  min-height: 42px;
  text-align: left;
  font-size: 0.95rem;
}

.rd-quick-guide button:hover {
  border-color: rgba(42, 115, 255, 0.25);
  color: var(--rd-blue);
}

.rd-preview-note {
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(15, 143, 131, 0.08);
  color: var(--rd-text-soft);
  line-height: 1.55;
  font-size: 0.86rem;
}

.rd-setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(390px, 0.94fr);
  gap: 14px;
  align-items: stretch;
  min-height: 0;
}

.rd-panel-symptoms,
.rd-panel-results {
  padding: 0;
  min-height: 0;
  overflow: hidden;
}

.rd-workpane {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.rd-workpane-top {
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--rd-panel-border);
  flex-shrink: 0;
}

.rd-panel-scroll {
  min-height: 0;
  overflow: auto;
  padding: 0 16px 16px;
}

.rd-panel-scroll-symptoms,
.rd-panel-scroll-results {
  height: 100%;
}

.rd-search {
  display: grid;
  gap: 6px;
  min-width: 240px;
  color: var(--rd-text-faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rd-search input {
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 16px;
  background: var(--rd-inline-surface-strong);
  color: var(--rd-text);
  padding: 11px 13px;
  outline: none;
}

.rd-search input:focus {
  border-color: rgba(42, 115, 255, 0.25);
  box-shadow: 0 0 0 4px rgba(42, 115, 255, 0.08);
}

.rd-symptom-jump-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 12px;
  overflow: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.rd-symptom-jump-list button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 16px;
  border: 1px solid rgba(19, 32, 51, 0.07);
  background: var(--rd-inline-surface);
  color: var(--rd-text-soft);
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  flex-shrink: 0;
}

.rd-symptom-jump-list button:hover {
  border-color: rgba(42, 115, 255, 0.22);
  color: var(--rd-blue);
}

.rd-symptom-jump-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: rgba(42, 115, 255, 0.08);
  color: var(--rd-blue);
  flex-shrink: 0;
}

.rd-symptom-jump-copy {
  display: grid;
  gap: 3px;
}

.rd-symptom-jump-copy strong {
  font-size: 0.84rem;
  font-weight: 600;
}

.rd-symptom-jump-copy small {
  color: var(--rd-text-faint);
  font-size: 0.74rem;
}

.rd-groups-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  align-content: start;
}

.rd-group-card {
  border: 1px solid rgba(19, 32, 51, 0.06);
  border-radius: 20px;
  background: var(--rd-panel-strong);
  overflow: hidden;
  scroll-margin-top: 14px;
  animation: rd-card-in 240ms ease;
}

.rd-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(19, 32, 51, 0.05);
  background: linear-gradient(135deg, var(--group-surface), var(--rd-panel-strong));
}

.rd-group-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rd-group-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--group-accent);
  background: var(--rd-inline-surface);
}

.rd-group-title {
  font-weight: 700;
}

.rd-group-count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  color: var(--group-accent);
  background: var(--rd-inline-surface-soft);
  padding: 5px 9px;
  border-radius: 999px;
}

.rd-group-body {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.rd-symptom-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 11px;
  border-radius: 16px;
  background: var(--rd-row-surface);
  border: 1px solid transparent;
  transition: 160ms ease;
}

.rd-symptom-row.fix {
  border-color: rgba(42, 115, 255, 0.14);
  background: rgba(42, 115, 255, 0.08);
}

.rd-symptom-row.protect {
  border-color: rgba(242, 139, 44, 0.18);
  background: rgba(242, 139, 44, 0.09);
}

.rd-symptom-row.is-help {
  box-shadow: inset 4px 0 0 rgba(21, 122, 102, 0.52);
}

.rd-symptom-row.is-help-strong {
  box-shadow: inset 4px 0 0 rgba(21, 122, 102, 0.92);
  background: linear-gradient(135deg, rgba(21, 122, 102, 0.1), var(--rd-panel-strong));
}

.rd-symptom-row.is-harm {
  box-shadow: inset 4px 0 0 rgba(181, 79, 84, 0.52);
}

.rd-symptom-row.is-harm-strong {
  box-shadow: inset 4px 0 0 rgba(181, 79, 84, 0.92);
  background: linear-gradient(135deg, rgba(181, 79, 84, 0.09), var(--rd-panel-strong));
}

.rd-symptom-row.is-neutral {
  box-shadow: inset 4px 0 0 rgba(128, 144, 166, 0.5);
}

.rd-symptom-title {
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.45;
}

.rd-symptom-controls {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.rd-state-btn {
  border: 1px solid rgba(19, 32, 51, 0.08);
  background: var(--rd-inline-surface);
  color: var(--rd-text-soft);
  border-radius: 999px;
  padding: 7px 10px;
  min-width: 66px;
  cursor: pointer;
  transition: 160ms ease;
}

.rd-state-btn:hover {
  color: var(--rd-text);
  border-color: rgba(19, 32, 51, 0.12);
}

.rd-state-btn.is-active.fix {
  color: var(--rd-blue);
  background: var(--rd-blue-soft);
  border-color: rgba(42, 115, 255, 0.18);
}

.rd-state-btn.is-active.protect {
  color: var(--rd-chip-protect-text);
  background: var(--rd-accent-soft);
  border-color: rgba(242, 139, 44, 0.2);
}

.rd-empty-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--rd-row-surface);
  color: var(--rd-text-soft);
  line-height: 1.7;
}

.rd-empty-card h3 {
  margin: 0 0 8px;
  color: var(--rd-text);
}

.rd-recommendation-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.rd-recommendation-card {
  border: 1px solid rgba(19, 32, 51, 0.06);
  border-radius: 18px;
  background: var(--rd-panel-strong);
  padding: 13px;
  transition: 160ms ease;
}

.rd-recommendation-card.is-active {
  border-color: rgba(42, 115, 255, 0.18);
  box-shadow: 0 18px 34px rgba(42, 115, 255, 0.12);
}

.rd-recommendation-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rd-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.rd-action-pill.increase {
  background: rgba(15, 143, 131, 0.12);
  color: var(--rd-teal);
}

.rd-action-pill.decrease {
  background: rgba(117, 77, 178, 0.12);
  color: var(--rd-decrease);
}

.rd-strength {
  display: inline-flex;
  gap: 4px;
}

.rd-strength i {
  display: block;
  width: 5px;
  border-radius: 999px;
  background: rgba(19, 32, 51, 0.12);
}

.rd-strength i:nth-child(1) {
  height: 10px;
}

.rd-strength i:nth-child(2) {
  height: 16px;
}

.rd-strength i:nth-child(3) {
  height: 22px;
}

.rd-strength.s1 i:nth-child(1),
.rd-strength.s2 i:nth-child(1),
.rd-strength.s3 i:nth-child(1) {
  background: #8ea4bf;
}

.rd-strength.s2 i:nth-child(2),
.rd-strength.s3 i:nth-child(2) {
  background: var(--rd-blue);
}

.rd-strength.s3 i:nth-child(3) {
  background: var(--rd-accent);
}

.rd-rec-param {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.rd-rec-meta {
  margin-top: 5px;
  color: var(--rd-text-soft);
  line-height: 1.55;
  font-size: 0.92rem;
}

.rd-rec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.rd-rec-badges span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--rd-soft-surface);
  color: var(--rd-text-soft);
  font-size: 0.86rem;
}

.rd-rec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.rd-rec-actions button {
  border: 1px solid rgba(19, 32, 51, 0.08);
  background: var(--rd-inline-surface-strong);
  color: var(--rd-text-soft);
  border-radius: 999px;
  padding: 10px 13px;
  cursor: pointer;
}

.rd-rec-actions button:hover {
  border-color: rgba(42, 115, 255, 0.24);
  color: var(--rd-blue);
}

.rd-impact-panel {
  margin-top: 12px;
  padding: 16px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(19, 32, 51, 0.96), rgba(25, 40, 63, 0.98));
  color: #edf3ff;
  box-shadow: 0 24px 48px rgba(20, 31, 51, 0.2);
}

.rd-impact-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.rd-impact-head h3 {
  margin: 6px 0 0;
  font-size: 1.3rem;
}

.rd-impact-clear {
  border: 1px solid rgba(237, 243, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #d7e5ff;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.rd-impact-summary {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rd-impact-summary span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d7e5ff;
}

.rd-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.rd-impact-column {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.rd-impact-column h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.rd-impact-list {
  display: grid;
  gap: 10px;
}

.rd-impact-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.rd-impact-token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 6px 8px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.rd-impact-item.good .rd-impact-token {
  background: rgba(25, 199, 148, 0.14);
  color: #5df2c9;
}

.rd-impact-item.harm .rd-impact-token {
  background: rgba(239, 112, 112, 0.14);
  color: #ffb2b2;
}

.rd-impact-item p {
  margin: 0;
  color: #d5e0f5;
  line-height: 1.5;
}

.rd-impact-empty {
  color: #b8caea;
  line-height: 1.6;
}

.rd-guide-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  height: 100%;
  min-height: 0;
}

.rd-guide-sidebar,
.rd-guide-article {
  border: 1px solid var(--rd-panel-border);
  border-radius: var(--rd-radius-lg);
  background: var(--rd-panel);
  box-shadow: var(--rd-panel-shadow);
}

.rd-guide-sidebar {
  padding: 22px;
}

.rd-guide-sidebar,
.rd-guide-article {
  min-height: 0;
  overflow: auto;
}

.rd-guide-nav {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.rd-guide-nav button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 1px solid rgba(19, 32, 51, 0.07);
  border-radius: 18px;
  background: var(--rd-inline-surface);
  padding: 12px 14px;
  color: var(--rd-text-soft);
  cursor: pointer;
}

.rd-guide-nav button.is-active,
.rd-guide-nav button:hover {
  border-color: rgba(42, 115, 255, 0.22);
  background: var(--rd-blue-soft);
  color: var(--rd-blue);
}

.rd-guide-nav-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rd-guide-nav-icon .gico-svg,
.rd-guide-nav-icon .gico-png,
.rd-guide-nav-icon .gico-png-cool,
.rd-guide-nav-icon .gico-png-warm {
  width: 22px;
  height: 22px;
}

.rd-guide-nav-title {
  font-weight: 500;
}

.rd-guide-empty {
  margin-top: 18px;
  color: var(--rd-text-faint);
  line-height: 1.6;
}

.rd-guide-article {
  padding: 28px;
  min-width: 0;
  height: 100%;
}

.rd-shell[data-view="guide"] .rd-guide-article {
  padding: 32px;
}

.rd-guide-header {
  display: flex;
  align-items: start;
  gap: 18px;
  margin-bottom: 18px;
}

.rd-guide-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(42, 115, 255, 0.12), rgba(242, 139, 44, 0.12));
  color: var(--rd-blue);
  flex-shrink: 0;
}

.rd-guide-icon .gico-svg,
.rd-guide-icon .gico-png,
.rd-guide-icon .gico-png-cool,
.rd-guide-icon .gico-png-warm,
.rd-guide-icon .gico {
  width: 28px;
  height: 28px;
  font-size: 28px;
}

.rd-guide-header h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
}

.rd-guide-header p {
  margin: 0;
  max-width: 70ch;
  color: var(--rd-text-soft);
  line-height: 1.7;
}

.rd-guide-body {
  min-height: 360px;
}

.rd-guide-body .gpage-intro,
.rd-guide-body .exp-body,
.rd-guide-body .rule-box {
  color: var(--rd-text-soft);
  line-height: 1.8;
}

.rd-guide-body .guide-section + .guide-section {
  margin-top: 14px;
}

.rd-guide-body .exp-block {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(19, 32, 51, 0.06);
  background: var(--rd-inline-surface);
}

.rd-guide-body .exp-title {
  margin-bottom: 12px;
  font-size: 1.08rem;
  font-weight: 700;
}

.rd-guide-body p {
  margin: 0;
}

.rd-guide-body p + p {
  margin-top: 12px;
}

.rd-guide-body .effect-row {
  display: grid;
  gap: 10px;
}

.rd-guide-body .eff {
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.6;
}

.rd-guide-body .eff.up {
  background: var(--rd-good-soft);
  color: var(--rd-good);
}

.rd-guide-body .eff.down {
  background: var(--rd-red-soft);
  color: var(--rd-red);
}

.rd-guide-body .eff.neutral {
  background: var(--rd-soft-surface);
  color: var(--rd-text-soft);
}

.rd-guide-body .diagram-wrap {
  overflow: auto;
  border-radius: 18px;
  background: var(--rd-row-surface);
  padding: 14px;
}

.rd-guide-body .diagram-wrap svg {
  max-width: 100%;
  height: auto;
}

.rd-guide-body .diagram-caption {
  margin-top: 10px;
  color: var(--rd-text-faint);
}

.rd-guide-body .info-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.rd-guide-body .info-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--rd-row-surface);
}

.rd-guide-body .ic-title {
  margin-bottom: 10px;
  font-weight: 700;
}

.rd-guide-body .rule-box {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(42, 115, 255, 0.08);
}

.rd-guide-body .surf-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
}

.rd-guide-body .surf-table th,
.rd-guide-body .surf-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(19, 32, 51, 0.06);
  text-align: left;
  vertical-align: top;
}

.rd-guide-body .surf-table th {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--rd-text-faint);
}

.rd-guide-body .surf-val {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--rd-soft-surface);
}

.rd-guide-body .sv-note {
  color: var(--rd-text-soft);
}

.rd-guide-body .surf-icon {
  margin-right: 8px;
}

.rd-guide-loading {
  padding: 22px;
  border-radius: 22px;
  background: var(--rd-row-surface);
  color: var(--rd-text-soft);
}

#analytics-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 18, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#analytics-modal {
  background: var(--rd-panel-strong);
  border: 1px solid var(--rd-panel-border);
  border-radius: 24px;
  width: 980px;
  max-width: calc(100vw - 32px);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--rd-panel-shadow);
}

#analytics-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rd-panel-border);
  font-weight: 700;
  color: var(--rd-text);
}

#analytics-hdr button {
  background: transparent;
  border: none;
  color: var(--rd-text-soft);
  cursor: pointer;
  font-size: 16px;
}

.an-reset-btn {
  font-size: 11px !important;
  color: var(--rd-red) !important;
  border: 1px solid rgba(199, 78, 72, 0.25) !important;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(199, 78, 72, 0.08) !important;
}

#analytics-body {
  padding: 20px 22px;
  overflow-y: auto;
  font-size: 13px;
}

.an-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.an-card {
  background: var(--rd-row-surface);
  border: 1px solid var(--rd-panel-border);
  border-radius: 18px;
  padding: 14px 12px;
  text-align: center;
}

.an-card .an-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--rd-blue);
}

.an-card .an-lbl {
  font-size: 10px;
  color: var(--rd-text-faint);
  margin-top: 3px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.an-section {
  margin-bottom: 16px;
}

.an-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rd-text-faint);
  margin-bottom: 8px;
}

.an-session {
  background: var(--rd-row-surface);
  border: 1px solid var(--rd-panel-border);
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 8px;
}

.an-session-hdr {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 12px;
}

.an-user {
  color: var(--rd-text);
  font-weight: 700;
}

.an-app {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.an-app-classic {
  background: var(--rd-soft-surface);
  color: var(--rd-text-soft);
  border: 1px solid var(--rd-panel-border);
}

.an-app-redesign {
  background: var(--rd-blue-soft);
  color: var(--rd-blue);
  border: 1px solid rgba(42, 115, 255, 0.22);
}

.an-ip {
  color: var(--rd-text-faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.an-time {
  color: var(--rd-text-soft);
}

.an-del-wrap {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.an-del-btn,
.an-del-user-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--rd-text-faint);
  cursor: pointer;
  border-radius: 8px;
  transition: 160ms ease;
  opacity: 0.6;
}

.an-del-btn {
  font-size: 11px;
  padding: 2px 6px;
}

.an-del-user-btn {
  font-size: 10px;
  padding: 2px 8px;
}

.an-del-btn:hover,
.an-del-user-btn:hover {
  opacity: 1;
  color: var(--rd-red);
  border-color: rgba(199, 78, 72, 0.25);
}

.an-dur {
  color: var(--rd-blue);
  font-weight: 700;
}

.an-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.an-tag {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: var(--rd-soft-surface);
  color: var(--rd-text-soft);
  border: 1px solid var(--rd-panel-border);
}

.an-login {
  background: var(--rd-blue-soft);
  color: var(--rd-blue);
  border-color: rgba(42, 115, 255, 0.25);
}

.an-cat {
  background: var(--rd-accent-soft);
  color: var(--rd-accent);
  border-color: rgba(242, 139, 44, 0.24);
}

.an-sym {
  background: var(--rd-good-soft);
  color: var(--rd-good);
  border-color: rgba(21, 122, 102, 0.22);
}

.an-guide {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border-color: rgba(139, 92, 246, 0.28);
}

.an-view {
  background: var(--rd-soft-surface);
  color: var(--rd-text-soft);
  border-color: var(--rd-panel-border);
}

.an-theme {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.24);
}

.an-bridge {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.24);
}

.an-empty {
  font-size: 11px;
  color: var(--rd-text-faint);
  font-style: italic;
}

.an-user-manager {
  background: var(--rd-row-surface);
  border: 1px solid var(--rd-panel-border);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 16px;
}

.an-user-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  margin-bottom: 8px;
}

.an-user-form input {
  background: var(--rd-inline-surface-strong);
  border: 1px solid var(--rd-panel-border);
  border-radius: 12px;
  color: var(--rd-text);
  padding: 10px 12px;
  font-size: 12px;
  outline: none;
}

.an-user-form input:focus {
  border-color: rgba(42, 115, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(42, 115, 255, 0.08);
}

.an-user-form button {
  background: var(--rd-blue);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
}

.an-user-form button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.an-user-msg {
  min-height: 16px;
  font-size: 11px;
  color: var(--rd-text-faint);
  margin-bottom: 8px;
}

.an-user-msg.ok {
  color: var(--rd-good);
}

.an-user-msg.err {
  color: var(--rd-red);
}

.an-user-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.an-user-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rd-soft-surface);
  border: 1px solid var(--rd-panel-border);
  color: var(--rd-text-soft);
  font-size: 11px;
  font-weight: 700;
}

:root[data-theme="dark"] .rd-theme-toggle,
:root[data-theme="dark"] .rd-classic-link,
:root[data-theme="dark"] .rd-category-btn,
:root[data-theme="dark"] .rd-reset-btn,
:root[data-theme="dark"] .rd-quick-guide button,
:root[data-theme="dark"] .rd-search input,
:root[data-theme="dark"] .rd-symptom-jump-list button,
:root[data-theme="dark"] .rd-state-btn,
:root[data-theme="dark"] .rd-rec-actions button,
:root[data-theme="dark"] .rd-guide-nav button,
:root[data-theme="dark"] .rd-guide-body .exp-block {
  border-color: rgba(148, 163, 184, 0.14);
}

:root[data-theme="dark"] .rd-view-switch button.is-active {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.35);
}

:root[data-theme="dark"] .rd-metric-card,
:root[data-theme="dark"] .rd-metric-chip {
  box-shadow: 0 18px 36px rgba(2, 8, 23, 0.38);
}

:root[data-theme="dark"] .rd-rec-badges span,
:root[data-theme="dark"] .rd-hero-steps span,
:root[data-theme="dark"] .rd-guide-body .surf-val {
  color: var(--rd-text-soft);
}

:root[data-theme="dark"] .rd-guide-body .surf-table th,
:root[data-theme="dark"] .rd-guide-body .surf-table td,
:root[data-theme="dark"] .rd-group-card,
:root[data-theme="dark"] .rd-group-head,
:root[data-theme="dark"] .rd-recommendation-card,
:root[data-theme="dark"] .rd-guide-body .exp-block {
  border-color: rgba(148, 163, 184, 0.12);
}

@keyframes rd-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1600px) {
  .rd-groups-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1380px) {
  .rd-workbench-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rd-workbench-tools {
    grid-column: 1 / -1;
  }

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

  .rd-guide-sidebar {
    overflow: auto;
  }
}

@media (max-width: 1180px) {
  html,
  body {
    height: auto;
    overflow: auto;
  }

  .rd-shell {
    height: auto;
    min-height: 100vh;
  }

  #setup-view.is-active {
    grid-template-rows: auto auto;
  }

  .rd-setup-grid,
  .rd-guide-layout,
  .rd-workbench-grid,
  .rd-workbench-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .rd-panel-symptoms,
  .rd-panel-results,
  .rd-guide-sidebar,
  .rd-guide-article {
    min-height: unset;
  }

  .rd-panel-scroll,
  .rd-guide-sidebar,
  .rd-guide-article {
    overflow: visible;
  }
}

@media (max-width: 980px) {
  .rd-shell {
    padding: 14px;
  }

  .rd-topbar,
  .rd-panel,
  .rd-guide-sidebar,
  .rd-guide-article {
    border-radius: 22px;
  }

  .rd-topbar,
  .rd-panel-head,
  .rd-panel-headline,
  .rd-workbench-block-head {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .rd-topbar-actions,
  .rd-workbench-metrics,
  .rd-groups-grid,
  .rd-impact-grid,
  .an-summary {
    grid-template-columns: 1fr;
  }

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

  .rd-search {
    min-width: 100%;
    width: 100%;
  }

  .rd-symptom-jump-list {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

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

  .rd-symptom-controls,
  .rd-rec-actions {
    flex-wrap: wrap;
  }

  .an-user-form {
    grid-template-columns: 1fr;
  }
}
