:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --ink: #202124;
  --muted: #5d6268;
  --line: #ddd7cc;
  --accent: #2f6f5e;
  --accent-strong: #194f43;
  --warm: #a8512e;
  --shadow: 0 16px 40px rgba(32, 33, 36, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 280px),
    var(--bg);
}

.private-index {
  width: min(720px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) 0 4rem;
}

.private-header {
  padding-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.site-mark {
  position: absolute;
  top: clamp(2rem, 6vh, 4rem);
  right: max(20px, calc((100% - 720px) / 2));
  z-index: 2;
  display: block;
  width: clamp(3.9rem, 9vw, 5.25rem);
  height: clamp(3.9rem, 9vw, 5.25rem);
  line-height: 0;
}

.site-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.site-mark:focus-visible {
  outline: 3px solid rgba(47, 111, 94, 0.28);
  outline-offset: 4px;
}

.private-header.has-site-mark h1 {
  max-width: calc(100% - 6.5rem);
}

.private-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.private-header h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(2rem, 7vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  white-space: nowrap;
}

.private-header p:not(.private-label) {
  max-width: 560px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.private-links {
  display: grid;
  gap: 0;
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.private-links a {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.private-links a:hover span {
  color: var(--accent-strong);
}

.private-links a.is-summary {
  margin: 0.35rem -0.75rem;
  padding-inline: 0.75rem;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(47, 111, 94, 0.1), rgba(47, 111, 94, 0));
}

.private-links span {
  font-size: 1.05rem;
  transition: color 0.18s ease;
}

.private-links small {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-tree {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.site-tree ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.site-tree ul ul {
  margin-top: 0.35rem;
  padding-left: 1.45rem;
}

.site-tree li {
  position: relative;
  padding: 0.22rem 0 0.22rem 1.2rem;
  color: var(--muted);
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-tree li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.65rem;
  border-top: 1px solid var(--line);
}

.site-tree a,
.site-tree span {
  color: var(--ink);
  text-decoration: none;
}

.site-tree a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

code {
  padding: 0.08rem 0.3rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.72);
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.92);
}

.site-nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent-strong);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 0 4rem;
}

.intro {
  max-width: 760px;
  padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(2.25rem, 5vw, 4rem);
}

.intro.compact {
  max-width: 700px;
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

.eyebrow,
.card-kicker,
.breadcrumb {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--warm);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.25rem, 7vw, 5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.intro p:not(.eyebrow),
.content-page p {
  max-width: 680px;
  color: var(--muted);
}

.intro p:not(.eyebrow) {
  margin: 1.2rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.section {
  border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.section-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

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

.link-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
}

.link-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.link-card:hover {
  border-color: rgba(47, 111, 94, 0.45);
  color: var(--accent-strong);
  transform: translateY(-2px);
}

.link-card strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.15;
}

.link-card span:last-child {
  color: var(--muted);
}

.card-kicker {
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--muted);
}

.content-page {
  max-width: 760px;
}

.content-page h1 {
  margin-bottom: 1.2rem;
}

.content-page h2 {
  margin-top: 2.25rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-nav,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .link-card {
    min-height: 150px;
  }

  .private-index {
    width: min(100% - 32px, 720px);
  }

  .site-mark {
    right: 16px;
  }

  .private-links a {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .private-header h1 {
    font-size: clamp(1.85rem, 10vw, 3.2rem);
    white-space: normal;
  }
}

/* AI project field notes */

.ai-project-page,
.ai-index-page {
  --ai-bg: #eef1f3;
  --ai-paper: #fbfcfd;
  --ai-ink: #19202a;
  --ai-muted: #626d7a;
  --ai-rule: #cbd2d9;
  --ai-blue: #4056d6;
  --ai-blue-dark: #273796;
  --ai-coral: #f06449;
  margin: 0;
  color: var(--ai-ink);
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--ai-bg);
  background-image:
    linear-gradient(rgba(25, 32, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 32, 42, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.ai-project-page a,
.ai-index-page a {
  color: inherit;
}

.ai-project-topbar {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--ai-rule);
}

.ai-project-topbar > p {
  margin: 0;
  color: var(--ai-muted);
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-project-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ai-ink);
  text-decoration: none;
}

.ai-project-mark span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ai-blue);
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.ai-project-mark strong {
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.ai-project-shell {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) 0 5rem;
}

.ai-project-intro {
  max-width: 1040px;
}

.ai-project-breadcrumb {
  display: flex;
  gap: 0.55rem;
  margin-bottom: clamp(2.5rem, 7vw, 5rem);
  color: var(--ai-muted);
  font-size: 0.8rem;
}

.ai-project-breadcrumb a {
  text-underline-offset: 0.2em;
}

.ai-project-kicker,
.ai-note-label {
  margin: 0;
  color: var(--ai-coral);
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-project-intro h1,
.ai-index-header h1 {
  max-width: 980px;
  margin: 0.85rem 0 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.ai-project-lede,
.ai-index-lede {
  max-width: 720px;
  margin: 1.7rem 0 0;
  color: var(--ai-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.ai-route {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--ai-rule);
  border-bottom: 1px solid var(--ai-rule);
}

.ai-route ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-route li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.8rem 1rem 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.ai-route li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 1rem;
  width: 1px;
  height: 100%;
  transform: skewX(-18deg);
  background: var(--ai-rule);
}

.ai-route span {
  color: var(--ai-blue);
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.72rem;
}

.ai-project-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(3.5rem, 8vw, 7rem);
}

.ai-project-notes {
  display: grid;
  gap: 3rem;
}

.ai-project-notes section {
  padding-top: 1rem;
  border-top: 1px solid var(--ai-rule);
}

.ai-project-notes h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.ai-project-notes p:not(.ai-note-label) {
  margin: 0.9rem 0 0;
  color: var(--ai-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.prompt-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #aeb8c2;
  border-radius: 14px;
  background: var(--ai-paper);
  box-shadow: 10px 12px 0 rgba(64, 86, 214, 0.16);
}

.prompt-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid #c6ccd3;
  background: rgba(251, 252, 253, 0.96);
}

.prompt-toolbar p,
.prompt-toolbar h2 {
  margin: 0;
}

.prompt-toolbar p {
  color: var(--ai-blue);
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt-toolbar h2 {
  margin-top: 0.25rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: -0.02em;
}

.copy-prompt {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--ai-blue);
  border-radius: 8px;
  color: #fff;
  background: var(--ai-blue);
  font: 700 0.82rem/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.copy-prompt:hover {
  border-color: var(--ai-blue-dark);
  background: var(--ai-blue-dark);
}

.copy-prompt:active {
  transform: translateY(1px);
}

.copy-prompt:focus-visible {
  outline: 3px solid rgba(240, 100, 73, 0.42);
  outline-offset: 3px;
}

.copy-prompt.is-copied {
  border-color: #177458;
  background: #177458;
}

.copy-icon {
  position: relative;
  width: 0.8rem;
  height: 0.8rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.copy-icon::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 0.66rem;
  height: 0.66rem;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  border-radius: 2px 0 0;
}

.prompt-text {
  max-height: 70vh;
  margin: 0;
  overflow: auto;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  color: #25303c;
  background: var(--ai-paper);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

.prompt-text code {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-family: "Courier New", Consolas, monospace;
  font-size: clamp(0.76rem, 1.1vw, 0.88rem);
  line-height: 1.65;
}

.copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ai-project-footer {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--ai-rule);
  color: var(--ai-muted);
  font-size: 0.82rem;
}

.ai-project-footer p {
  margin: 0;
}

.ai-section-index {
  width: min(1120px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 0 3rem;
}

.ai-index-header {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.ai-index-header .ai-project-mark {
  margin-bottom: clamp(4rem, 10vw, 8rem);
}

.ai-index-header h1 {
  font-size: clamp(4rem, 12vw, 9rem);
}

.ai-project-list {
  border-top: 1px solid var(--ai-rule);
}

.ai-project-list > a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  border-bottom: 1px solid var(--ai-rule);
  text-decoration: none;
}

.ai-project-list > a:hover .ai-project-list-copy strong {
  color: var(--accent-strong);
}

.ai-project-number {
  align-self: start;
  color: var(--ai-coral);
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.ai-project-list-copy strong,
.ai-project-list-copy small {
  display: block;
}

.ai-project-list-copy strong {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  transition: color 0.16s ease;
}

.ai-project-list-copy small {
  max-width: 620px;
  margin-top: 0.7rem;
  color: var(--ai-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ai-project-arrow {
  color: var(--ai-blue);
  font-size: 1.7rem;
}

.ai-index-footer {
  padding-top: 2rem;
  color: var(--ai-muted);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .ai-project-topbar,
  .ai-project-shell,
  .ai-project-footer,
  .ai-section-index {
    width: min(100% - 32px, 1400px);
  }

  .ai-project-intro h1,
  .ai-index-header h1 {
    font-size: clamp(3rem, 15vw, 5.4rem);
    letter-spacing: -0.055em;
  }

  .ai-route {
    overflow-x: auto;
  }

  .ai-route ol {
    min-width: 560px;
  }

  .ai-project-layout {
    grid-template-columns: 1fr;
  }

  .ai-project-notes {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .prompt-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-prompt {
    width: 100%;
    justify-content: center;
  }

  .prompt-text {
    max-height: 62vh;
  }

  .ai-project-footer {
    flex-direction: column;
  }

  .ai-project-list > a {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .copy-prompt,
  .ai-project-list-copy strong {
    transition: none;
  }
}

/* Homepage-aligned prompt pages */

.prompt-page {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(3rem, 9vh, 6rem) 0 4rem;
}

.prompt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
}

.prompt-breadcrumb a {
  color: var(--muted);
}

.prompt-header h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  white-space: normal;
}

.prompt-overview {
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
}

.prompt-overview h2,
.prompt-explanation h2,
.prompt-toolbar h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.prompt-overview h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.prompt-overview > p {
  max-width: 650px;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
}

.prompt-stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.prompt-stages li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0.5rem 0.9rem 0;
  color: var(--ink);
  font-size: 0.92rem;
}

.prompt-stages li + li {
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
}

.prompt-stages span {
  color: var(--warm);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
}

.prompt-page .prompt-card {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.prompt-page .prompt-toolbar {
  position: static;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.prompt-page .prompt-toolbar p {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
}

.prompt-page .prompt-toolbar h2 {
  font-size: 1.25rem;
}

.prompt-page .copy-prompt {
  border-color: var(--accent);
  border-radius: 5px;
  background: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
}

.prompt-page .copy-prompt:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.prompt-page .copy-prompt:focus-visible {
  outline-color: rgba(168, 81, 46, 0.38);
}

.prompt-page .copy-prompt.is-copied {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.prompt-page .prompt-text {
  max-height: 68vh;
  color: var(--ink);
  background: var(--surface);
}

.prompt-explanation {
  display: grid;
  gap: 0;
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
}

.prompt-explanation article {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(180px, 0.65fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.prompt-explanation .private-label,
.prompt-explanation h2,
.prompt-explanation p {
  margin: 0;
}

.prompt-explanation h2 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.prompt-explanation p:not(.private-label) {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
}

.prompt-back {
  margin-top: clamp(3rem, 7vw, 5rem);
}

@media (max-width: 720px) {
  .prompt-page {
    width: min(100% - 32px, 820px);
  }

  .prompt-stages {
    grid-template-columns: 1fr;
  }

  .prompt-stages li,
  .prompt-stages li + li {
    flex-direction: row;
    gap: 0.7rem;
    padding: 0.65rem 0;
    border-left: 0;
  }

  .prompt-stages li + li {
    border-top: 1px solid var(--line);
  }

  .prompt-toolbar {
    align-items: stretch;
  }

  .prompt-explanation article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

