:root {
  color-scheme: light;
  --bg: #f4f5f2;
  --surface: #ffffff;
  --surface-2: #edf1f0;
  --ink: #111817;
  --muted: #5e6b68;
  --line: #d7dedb;
  --teal: #0e6f66;
  --teal-dark: #084c47;
  --steel: #2f3e46;
  --yellow: #e3ad27;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(17, 24, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: rgba(227, 173, 39, 0.35);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.primary-action,
.secondary-action,
.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: white;
  padding: 0 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.ghost-button,
.secondary-action {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.ghost-button.small {
  min-height: 30px;
  padding: 0 10px;
  font-size: 13px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(244, 245, 242, 0.9);
  border-bottom: 1px solid rgba(215, 222, 219, 0.85);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--teal-dark);
  color: white;
  font-size: 13px;
  letter-spacing: 0;
}

.site-nav {
  gap: clamp(14px, 3vw, 30px);
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-cta {
  justify-self: end;
  min-width: 96px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 800px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.58;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #18201f;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 17, 16, 0.92) 0%, rgba(8, 17, 16, 0.76) 42%, rgba(8, 17, 16, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 17, 16, 0.64) 0%, rgba(8, 17, 16, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  padding: clamp(72px, 10vw, 140px) clamp(20px, 6vw, 76px);
  color: white;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 660px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-note {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero .secondary-action {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.38);
}

.proof-strip,
.section-grid,
.validation-band,
.dev-hero,
.page-hero,
.validation-summary,
.test-groups,
.sample-scenarios,
.limitations,
.pilot-goal,
.validation-cta,
.workflow,
.demo-shell,
.site-footer {
  padding-inline: clamp(18px, 4vw, 56px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.proof-strip div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--surface);
}

.proof-strip strong,
.steps strong {
  font-size: 18px;
}

.proof-strip span,
.steps p {
  color: var(--muted);
  line-height: 1.55;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.25fr);
  gap: clamp(28px, 6vw, 70px);
  padding-block: clamp(72px, 10vw, 128px);
}

.section-copy {
  max-width: 620px;
}

.section-copy p:not(.eyebrow) {
  margin-top: 22px;
  font-size: 17px;
}

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

.feature-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid span {
  color: var(--teal);
  font-weight: 850;
}

.feature-grid h3 {
  margin-top: 42px;
}

.feature-grid p {
  margin-top: 12px;
}

.validation-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding-block: clamp(52px, 7vw, 86px);
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.validation-band div {
  max-width: 860px;
}

.validation-band p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  font-size: 17px;
}

.dev-page {
  background: #edf2f0;
}

.dev-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.42fr);
  gap: 24px;
  align-items: end;
  padding-block: clamp(92px, 12vw, 138px) 32px;
}

.dev-hero h1 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(42px, 7vw, 84px);
}

.dev-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.dev-note {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
}

.dev-note strong {
  color: var(--ink);
}

.dev-note code {
  color: var(--teal);
  font-weight: 800;
}

.dev-tabs {
  margin: 0 clamp(18px, 4vw, 56px) 80px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.dev-control-grid {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.dev-control-grid input,
.dev-control-grid select {
  width: 100%;
}

.quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 0 16px 16px;
}

.dev-guidance {
  display: grid;
  gap: 6px;
  margin: 0 16px 16px;
  padding: 12px 14px;
  border: 1px solid #d5e2dd;
  border-radius: 6px;
  background: #f4f8f6;
  color: var(--muted);
  line-height: 1.45;
}

.dev-guidance strong {
  color: var(--ink);
}

.inline-check {
  display: inline-flex;
  grid-template-columns: none;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  margin-left: auto;
  color: var(--ink);
}

.inline-check input {
  width: 16px;
  height: 16px;
}

.scenario-button {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #e8eeeb;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.scenario-button:hover,
.result-item:hover {
  background: #edf6f4;
}

.button-row.compact {
  padding: 0 0 12px;
}

.report-actions {
  display: flex;
  gap: 8px;
}

.report-viewer .output-header h3 {
  padding: 0;
  border: 0;
  background: transparent;
}

.dev-page input,
.dev-page select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfb;
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
}

.dev-page input:focus,
.dev-page select:focus {
  outline: 2px solid rgba(18, 120, 113, 0.24);
  border-color: var(--teal);
}

.page-hero {
  padding-block: clamp(74px, 10vw, 132px) clamp(56px, 8vw, 92px);
  background: #202b2a;
  color: white;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(40px, 6vw, 72px);
}

.page-hero p:not(.eyebrow) {
  max-width: 860px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 2vw, 21px);
}

.validation-summary,
.test-groups,
.sample-scenarios,
.pilot-goal,
.validation-cta {
  padding-block: clamp(60px, 8vw, 96px);
}

.section-copy.wide {
  max-width: 880px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.validation-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.validation-table th,
.validation-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.validation-table th {
  background: var(--surface-2);
  color: var(--steel);
  font-size: 13px;
  text-transform: uppercase;
}

.validation-table td {
  color: var(--muted);
  font-size: 14px;
}

.validation-table td:first-child {
  color: var(--ink);
  font-weight: 800;
}

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

.metric-grid,
.definition-grid,
.scenario-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.metric-grid article,
.definition-grid article,
.scenario-card-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric-intro {
  max-width: 860px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.metric-intro h3 {
  font-size: 18px;
}

.metric-intro p {
  margin-top: 8px;
  color: var(--muted);
}

.metric-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
}

.metric-grid strong {
  font-size: 15px;
}

.metric-grid span {
  color: var(--teal);
  font-size: 28px;
  font-weight: 850;
}

.metric-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.definition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.definition-grid p,
.scenario-card-grid p {
  margin-top: 10px;
  font-size: 14px;
}

.test-groups {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--steel);
  font-size: 14px;
  font-weight: 750;
}

.card-label {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-chip {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.status-chip.pass {
  background: #e6f4f1;
  color: var(--teal-dark);
}

.limitations {
  padding-block: clamp(58px, 8vw, 90px);
  background: #202b2a;
  color: white;
}

.limitations div {
  max-width: 930px;
}

.limitations p:not(.eyebrow) {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.pilot-goal {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1fr);
  gap: clamp(28px, 6vw, 70px);
}

.pilot-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pilot-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--steel);
  font-weight: 720;
}

.validation-cta {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.validation-cta h2 {
  max-width: 900px;
}

.workflow {
  padding-block: clamp(60px, 8vw, 100px);
  background: #202b2a;
  color: white;
}

.workflow .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.steps span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 50%;
  background: var(--yellow);
  color: #16120a;
  font-weight: 850;
}

.steps p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.demo-shell {
  padding-block: clamp(60px, 8vw, 96px);
}

.demo-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.status-pill {
  min-width: 90px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--teal);
  background: var(--surface);
  font-weight: 800;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(460px, 1.05fr);
  gap: 16px;
  min-height: 760px;
}

.chat-pane,
.test-pane {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}

.chat-pane {
  display: grid;
  grid-template-rows: auto auto minmax(280px, 1fr) auto;
}

.pane-header {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.pane-header.compact {
  min-height: 72px;
}

.pane-header p {
  margin-top: 4px;
  font-size: 14px;
}

.upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.file-picker {
  min-height: 42px;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 12px;
  border: 1px dashed #98a7a3;
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  overflow: hidden;
}

.file-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.file-picker span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.messages {
  overflow: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fbfcfb;
}

.message {
  width: min(100%, 820px);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  white-space: pre-wrap;
  line-height: 1.45;
  font-size: 14px;
}

.message.user {
  align-self: flex-end;
  background: #e6f4f1;
  border-color: #b5dcd5;
}

.message.system {
  background: #fff7e1;
  border-color: #efd893;
}

.message strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

.test-pane {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.current-test {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #f6f8f7;
}

.current-test strong,
.reading-preview strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
}

.current-test p,
.reading-preview p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.reading-form {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
  overflow: auto;
}

.reading-grid {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 12px;
}

.reading-grid label:nth-child(3),
.reading-grid label:nth-child(4),
.reading-grid label:nth-child(5),
.reading-grid label:nth-child(6),
.reading-grid label:nth-child(7),
.reading-grid label:nth-child(8) {
  grid-column: 1 / -1;
}

.reading-preview {
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.reading-preview p {
  white-space: pre-wrap;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
}

textarea {
  min-height: 74px;
  max-height: 180px;
  padding: 10px;
  resize: vertical;
}

input,
select {
  min-height: 42px;
  padding: 0 10px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.tab {
  border: 0;
  border-radius: 0;
  background: #e8edeb;
  color: var(--ink);
}

.tab.active {
  background: var(--surface);
  color: var(--teal);
  box-shadow: inset 0 -3px 0 var(--teal);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.control-grid {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(230px, 1.2fr) minmax(110px, 0.45fr);
  gap: 12px;
  padding: 16px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.button-row {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
}

.scenario-list {
  max-height: 180px;
  overflow: auto;
  margin: 0 16px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfb;
  font-size: 13px;
}

.scenario-item {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #e8eeeb;
}

.scenario-item:last-child {
  border-bottom: 0;
}

.scenario-item span:first-child {
  width: 46px;
  color: var(--teal);
  font-weight: 850;
  flex: 0 0 auto;
}

.job-output {
  margin: 0 16px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.output-header {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

pre {
  margin: 0;
  padding: 12px;
  white-space: pre-wrap;
  overflow: auto;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

#jobOutput {
  height: 310px;
  background: #111817;
  color: #e7ecea;
}

.reports-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(260px, 1fr);
  gap: 12px;
  padding: 16px;
}

.result-list {
  min-height: 500px;
  max-height: 560px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.result-item {
  display: block;
  width: 100%;
  min-height: 48px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
}

.result-item small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.report-viewer {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  min-width: 0;
}

.report-viewer h3 {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

#reportContent {
  height: 500px;
  background: var(--surface);
  color: var(--ink);
}

.site-footer {
  min-height: 96px;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .section-grid,
  .validation-band,
  .dev-hero,
  .workspace,
  .steps,
  .metric-grid,
  .scenario-card-grid,
  .pilot-goal {
    grid-template-columns: 1fr;
  }

  .workspace {
    min-height: 0;
  }

  .proof-strip,
  .feature-grid,
  .definition-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-width: 84px;
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 17, 16, 0.92) 0%, rgba(8, 17, 16, 0.78) 54%, rgba(8, 17, 16, 0.18) 100%),
      linear-gradient(90deg, rgba(8, 17, 16, 0.72), rgba(8, 17, 16, 0.15));
  }

  .hero-content {
    padding: 90px 18px 44px;
  }

  .hero-actions,
  .demo-heading,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .proof-strip,
  .section-grid,
  .validation-band,
  .page-hero,
  .validation-summary,
  .test-groups,
  .sample-scenarios,
  .limitations,
  .pilot-goal,
  .validation-cta,
  .workflow,
  .demo-shell,
  .site-footer {
    padding-inline: 14px;
  }

  .feature-grid article,
  .steps li {
    min-height: 0;
  }

  .feature-grid h3,
  .steps span {
    margin-top: 22px;
    margin-bottom: 18px;
  }

  .control-grid,
  .dev-control-grid,
  .reports-layout,
  .chat-form,
  .upload-row,
  .workspace,
  .reading-grid {
    grid-template-columns: 1fr;
  }

  .pane-header {
    align-items: flex-start;
    flex-direction: column;
  }

  #reportContent {
    height: 420px;
  }

  .dev-tabs {
    margin-inline: 14px;
  }

  .quick-row,
  .inline-check {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-check {
    margin-left: 0;
  }

  .output-header,
  .report-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
