:root {
  --sky: #bfe9df;
  --sky-deep: #8fd6c6;
  --sand: #fff3cf;
  --sand-strong: #ffe6a7;
  --cream: #fffaf0;
  --cream-soft: rgba(255, 250, 240, 0.88);
  --leaf: #74b779;
  --leaf-deep: #4f945c;
  --peach: #ff9f75;
  --peach-deep: #e66f4c;
  --berry: #d95f72;
  --honey: #f7c95f;
  --ink: #3b3027;
  --muted: #7e7063;
  --line: rgba(95, 72, 45, 0.16);
  --error: #b34436;
  --shadow: 0 18px 0 rgba(117, 90, 54, 0.12), 0 24px 48px rgba(70, 55, 34, 0.12);
  --shadow-soft: 0 12px 30px rgba(70, 55, 34, 0.1);
  --button-shadow: inset 0 -5px 0 rgba(82, 48, 30, 0.18), 0 8px 0 rgba(117, 90, 54, 0.14);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --font-display: "Cooper Black", "Avenir Next Rounded", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "Avenir Next Rounded", "Nunito", "Trebuchet MS", sans-serif;
  --font-mono: "SF Mono", "Monaco", "Cascadia Code", monospace;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.78) 0 8%, transparent 9%),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.64) 0 7%, transparent 8%),
    radial-gradient(circle at 22% 82%, rgba(116, 183, 121, 0.18) 0 18%, transparent 19%),
    linear-gradient(180deg, #bfe9df 0%, #dff4df 42%, #fff1c8 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

body::before {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -210px;
  border-radius: 45% 55% 48% 52%;
  background:
    radial-gradient(circle at 36% 34%, rgba(255, 255, 255, 0.28) 0 7%, transparent 8%),
    linear-gradient(135deg, rgba(116, 183, 121, 0.52), rgba(79, 148, 92, 0.32));
}

body::after {
  width: 430px;
  height: 330px;
  right: -150px;
  top: 130px;
  border-radius: 56% 44% 50% 50%;
  background:
    radial-gradient(circle at 65% 38%, rgba(255, 255, 255, 0.4) 0 7%, transparent 8%),
    linear-gradient(135deg, rgba(247, 201, 95, 0.46), rgba(255, 159, 117, 0.32));
}

.shell {
  width: min(1440px, calc(100% - 32px));
  margin: 24px auto 56px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  min-height: 360px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 3px solid rgba(94, 72, 45, 0.14);
  border-radius: 44px;
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.72) 0 9%, transparent 10%),
    radial-gradient(circle at 62% 68%, rgba(255, 230, 167, 0.72) 0 16%, transparent 17%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(255, 232, 180, 0.84) 55%, rgba(191, 233, 223, 0.86));
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 150px;
  right: 20px;
  bottom: -34px;
  border-radius: 55% 45% 0 0;
  background: linear-gradient(180deg, var(--leaf), var(--leaf-deep));
  opacity: 0.82;
}

.hero::after {
  content: "";
  position: absolute;
  width: 118px;
  height: 118px;
  right: 112px;
  bottom: 54px;
  border-radius: 36% 64% 45% 55%;
  background:
    radial-gradient(circle at 38% 36%, #fff8dc 0 8%, transparent 9%),
    linear-gradient(135deg, var(--peach), var(--berry));
  box-shadow: inset 0 -10px 0 rgba(90, 45, 32, 0.12);
}

.hero__copy,
.hero__stats {
  position: relative;
  z-index: 1;
}

.hero__copy {
  display: grid;
  align-content: center;
  justify-items: start;
}

.hero__kicker,
.flow-step__eyebrow,
.summary-card__label,
.panel__eyebrow,
.panel__header p,
.artifact-row__meta,
.stack-card p,
.status,
label span,
.worker-strip span,
.asset-preview__header span,
.history-card__meta,
.job-line__meta {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero__kicker {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 9px 14px;
  border: 2px solid rgba(94, 72, 45, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.hero h1,
.panel h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
}

.hero__lede {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero__actions,
.controls__actions,
.worker-strip__actions,
.stage-card__actions,
.history-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bridge-status {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border: 2px dashed rgba(94, 72, 45, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
  color: var(--muted);
}

.bridge-status strong {
  display: block;
  color: var(--ink);
}

.bridge-status p {
  margin: 6px 0 0;
}

.advanced-config {
  display: grid;
  gap: 14px;
  padding: 12px;
  border: 2px dashed rgba(94, 72, 45, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.34);
}

.advanced-config summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.advanced-config[open] summary {
  margin-bottom: 4px;
}

.storage-panel {
  margin-top: 18px;
}

.storage-panel__warning {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.local-storage-view {
  max-height: 520px;
}

.hero__actions {
  margin-top: 28px;
}

.hero__stats {
  display: grid;
  gap: 14px;
  align-content: center;
}

.hero__stats article,
.summary-card,
.flow-step,
.panel,
.status {
  border: 3px solid rgba(94, 72, 45, 0.13);
  background: var(--cream-soft);
  box-shadow: var(--shadow-soft);
}

.hero__stats article {
  padding: 18px 20px;
  border-radius: 24px 30px 22px 34px;
  transform: rotate(-1deg);
}

.hero__stats article:nth-child(2) {
  transform: rotate(1.2deg);
}

.hero__stats article:nth-child(3) {
  transform: rotate(-0.4deg);
}

.hero__stats span,
.summary-card__label {
  display: block;
  margin-bottom: 7px;
}

.hero__stats strong {
  display: block;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px 5px;
  color: #fff8ec;
  cursor: pointer;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, var(--peach), var(--peach-deep));
  box-shadow: var(--button-shadow);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

.button:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow: inset 0 -2px 0 rgba(82, 48, 30, 0.18), 0 3px 0 rgba(117, 90, 54, 0.14);
}

.button--ghost {
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf3, #f7ddb2);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.status {
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.82);
}

.status[data-tone="success"] {
  color: #245c35;
  border-color: rgba(79, 148, 92, 0.34);
  background: rgba(230, 248, 211, 0.82);
}

.status[data-tone="error"] {
  color: var(--error);
  border-color: rgba(179, 68, 54, 0.28);
  background: rgba(255, 232, 219, 0.86);
}

.summary,
.pipeline,
.workbench,
.grid,
.section-grid {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.section-tabs {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 3px solid rgba(94, 72, 45, 0.13);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.84);
  box-shadow: var(--shadow-soft);
  scrollbar-width: thin;
}

.section-tab {
  flex: 0 0 auto;
  min-height: 44px;
  border: 2px solid rgba(94, 72, 45, 0.14);
  border-radius: 999px;
  padding: 0 18px 4px;
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 253, 245, 0.86);
  box-shadow: inset 0 -4px 0 rgba(117, 90, 54, 0.08);
  font: inherit;
  font-family: var(--font-display);
}

.section-tab[data-active="true"] {
  color: #fff8ec;
  border-color: transparent;
  background: linear-gradient(180deg, var(--leaf), var(--leaf-deep));
  box-shadow: inset 0 -5px 0 rgba(38, 82, 48, 0.2), 0 6px 0 rgba(117, 90, 54, 0.1);
}

.section-page[hidden] {
  display: none !important;
}

.summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card {
  min-height: 104px;
  padding: 18px;
  border-radius: 26px;
}

.summary-card:nth-child(odd) {
  background: rgba(255, 250, 240, 0.9);
}

.summary-card:nth-child(even) {
  background: rgba(232, 248, 222, 0.82);
}

.summary-card strong {
  display: block;
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.pipeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.flow-step {
  position: relative;
  min-height: 156px;
  padding: 20px;
  overflow: hidden;
  border-radius: 34px 24px 32px 24px;
}

.flow-step::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: 92px;
  height: 92px;
  border-radius: 38% 62% 45% 55%;
  background: rgba(247, 201, 95, 0.34);
}

.flow-step[data-tone="done"] {
  border-color: rgba(79, 148, 92, 0.26);
}

.flow-step[data-tone="done"]::after {
  background: rgba(116, 183, 121, 0.34);
}

.flow-step p,
.panel__header p,
.stack-card p,
.artifact-row p,
.history-card p,
.stage-card p,
.asset-preview__footer,
.agent-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.workbench {
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  align-items: start;
}

.preview-panel {
  grid-column: 1 / -1;
}

.preview-panel__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1.22fr);
  gap: 16px;
}

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

.grid {
  display: block;
}

.section-page {
  margin-top: 20px;
}

.panel {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 10px 12px auto auto;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.panel--wide {
  grid-column: 1 / -1;
}

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

.panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.panel__eyebrow {
  margin: 0 0 6px;
  color: var(--leaf-deep);
}

label,
.brief-panel__form,
.brief-panel__preview,
.runtime-panel__grid,
.config-form,
.batch-controls,
.worker-strip,
.stage-board,
.stack,
.steps,
.asset-preview__grid,
.agent-panel__grid,
.config-grid,
.agent-workspace,
.agent-workspace__controls,
.agent-workspace__grid,
.history-list {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  min-width: 0;
  width: 100%;
  border: 2px solid rgba(94, 72, 45, 0.14);
  border-radius: 18px;
  background: rgba(255, 253, 245, 0.94);
  color: var(--ink);
  box-shadow: inset 0 3px 0 rgba(117, 90, 54, 0.05);
  font-size: 0.96rem;
}

input,
select {
  min-height: 50px;
  padding: 0 14px;
  font-family: var(--font-mono);
}

textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
  font-family: var(--font-body);
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  outline: 4px solid rgba(247, 201, 95, 0.38);
  border-color: rgba(230, 111, 76, 0.34);
}

.runtime-panel {
  background: rgba(231, 248, 223, 0.86);
}

.runtime-panel__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.brief-panel {
  background: rgba(255, 250, 240, 0.9);
}

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

.preview-panel {
  background: rgba(255, 240, 208, 0.82);
}

.batch-controls {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) auto;
  align-items: end;
  margin-bottom: 16px;
}

.worker-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  align-items: end;
  margin-bottom: 16px;
  padding: 16px;
  border: 2px solid rgba(94, 72, 45, 0.12);
  border-radius: 26px;
  background: rgba(255, 253, 245, 0.72);
}

.worker-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.worker-strip__actions .button,
.stage-board__toolbar .button,
.stage-card__actions .button,
.history-card__actions .button {
  min-height: 40px;
  padding: 0 16px 4px;
}

.stack-card,
.artifact-row,
.step-row,
.stage-card,
.history-card,
.diff-card,
.asset-preview__card,
.agent-panel__card,
.agent-panel__notes,
.asset-preview__empty {
  border: 2px solid rgba(94, 72, 45, 0.11);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 245, 0.72);
  box-shadow: 0 8px 0 rgba(117, 90, 54, 0.06);
}

.stack-card,
.artifact-row,
.step-row,
.stage-card,
.history-card,
.diff-card,
.asset-preview__card,
.agent-panel__card,
.agent-panel__notes,
.asset-preview__empty {
  padding: 16px 18px;
}

.stack-card[data-selected="true"],
.artifact-row[data-exists="true"],
.stage-card[data-stage-status="completed"] {
  border-color: rgba(79, 148, 92, 0.28);
  background: rgba(239, 250, 222, 0.76);
}

.stack-card__header,
.artifact-row,
.asset-preview__header,
.history-card__meta,
.job-line__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.stack-card code,
.artifact-row p,
.inspector,
.asset-preview__code,
.agent-line code {
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.artifact-row__meta {
  display: grid;
  gap: 6px;
  text-align: right;
}

.step-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
}

.step-row__index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff8ec;
  background: linear-gradient(180deg, var(--peach), var(--peach-deep));
  box-shadow: inset 0 -5px 0 rgba(82, 48, 30, 0.16);
  font-family: var(--font-display);
}

.step-row__body {
  display: grid;
  gap: 4px;
}

.step-row__body span {
  color: var(--muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.asset-preview__grid,
.agent-panel__grid,
.diff-grid,
.job-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.asset-preview__header {
  align-items: baseline;
  margin-bottom: 14px;
}

.asset-preview__image {
  display: block;
  width: 100%;
  min-height: 180px;
  object-fit: contain;
  border: 2px solid rgba(94, 72, 45, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(45deg, rgba(95, 72, 45, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(95, 72, 45, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(95, 72, 45, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(95, 72, 45, 0.08) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}

.asset-preview__code,
.inspector,
.agent-line code {
  margin: 0;
  overflow: auto;
  max-width: 100%;
  border-radius: 22px;
  background: #3f342b;
  color: #fff3cf;
  line-height: 1.5;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.asset-preview__code {
  max-height: 340px;
  padding: 16px;
  font-size: 0.84rem;
}

.inspector {
  min-height: 340px;
  padding: 18px;
  font-size: 0.9rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tab {
  border: 2px solid rgba(94, 72, 45, 0.14);
  border-radius: 999px;
  padding: 10px 17px 13px;
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 253, 245, 0.78);
  box-shadow: inset 0 -4px 0 rgba(117, 90, 54, 0.08);
  font-family: var(--font-display);
}

.tab[data-active="true"] {
  color: #fff8ec;
  background: linear-gradient(180deg, var(--leaf), var(--leaf-deep));
}

.stage-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stage-board__toolbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 2px solid rgba(94, 72, 45, 0.12);
  border-radius: 26px;
  background: rgba(255, 253, 245, 0.72);
}

.stage-card[data-stage-status="running"] {
  border-color: rgba(230, 111, 76, 0.32);
  background: rgba(255, 242, 222, 0.82);
}

.stage-card[data-stage-status="blocked"] {
  border-color: rgba(247, 201, 95, 0.5);
  background: rgba(255, 247, 214, 0.9);
}

.history-card[data-active="true"] {
  border-color: rgba(230, 111, 76, 0.42);
  background: rgba(255, 239, 228, 0.88);
}

.diff-card {
  display: grid;
  gap: 10px;
}

.diff-card ul,
.job-line ul,
.agent-panel__notes ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.job-line,
.agent-line {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-top: 2px dashed rgba(94, 72, 45, 0.12);
}

.job-line:first-of-type,
.agent-line:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.agent-workspace__controls {
  grid-template-columns: minmax(180px, 0.9fr) minmax(180px, 0.75fr) minmax(140px, 0.55fr) minmax(260px, 1.35fr) auto;
  align-items: end;
}

.agent-workspace__prompt {
  min-width: 0;
}

.agent-line code {
  display: block;
  padding: 12px 14px;
  font-size: 0.84rem;
}

.generation-result-card {
  grid-column: 1 / -1;
}

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

.generation-result .diff-card:nth-child(4),
.generation-result .diff-card:nth-child(5),
.generation-result .diff-card:nth-child(6) {
  grid-column: 1 / -1;
}

@media (max-width: 1180px) {
  .hero,
  .workbench,
  .preview-panel__grid,
  .summary,
  .pipeline,
  .section-grid,
  .asset-preview__grid,
  .job-review,
  .diff-grid,
  .generation-result,
  .config-grid,
  .stage-board,
  .batch-controls,
  .worker-strip,
  .agent-panel__grid,
  .agent-workspace__controls,
  .agent-workspace__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before,
  .hero::after {
    opacity: 0.28;
  }

  .panel__header {
    align-items: start;
  }

  .worker-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .worker-strip__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1440px);
    margin-top: 12px;
  }

  .hero,
  .panel,
  .section-tabs {
    border-radius: 28px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero__lede {
    font-size: 0.98rem;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .summary,
  .brief-panel__row,
  .runtime-panel__grid,
  .config-grid,
  .worker-strip {
    grid-template-columns: 1fr;
  }

  .panel__header,
  .asset-preview__header,
  .stack-card__header,
  .artifact-row {
    display: grid;
  }

  .hero__actions,
  .controls__actions,
  .worker-strip__actions,
  .stage-card__actions,
  .history-card__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section-tabs {
    position: static;
    margin-left: -2px;
    margin-right: -2px;
    padding: 10px;
  }

  .section-tab {
    min-height: 40px;
    padding-inline: 14px;
  }

  .panel {
    padding: 16px;
  }

  .summary-card,
  .flow-step {
    min-height: auto;
  }

  .asset-preview__image {
    min-height: 120px;
  }

  .inspector,
  .asset-preview__code {
    max-height: 280px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(100% - 12px, 1440px);
  }

  .hero {
    padding: 18px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero__kicker,
  .flow-step__eyebrow,
  .summary-card__label,
  .panel__eyebrow,
  .panel__header p,
  .artifact-row__meta,
  .stack-card p,
  .status,
  label span,
  .worker-strip span,
  .asset-preview__header span,
  .history-card__meta,
  .job-line__meta {
    font-size: 0.66rem;
  }

  .button {
    min-height: 46px;
  }

  input,
  select {
    min-height: 46px;
  }
}
