:root {
  --copper-light: #d4956b;
  --copper: #c07a56;
  --copper-dark: #9e5a5a;
  --rose: #b06a6a;
  --cream: #faf6f2;
  --warm-white: #fefcfa;
  --warm-gray: #8a7e76;
  --text-primary: #2c2421;
  --text-secondary: #5c524a;
  --text-muted: #8a7e76;
  --muted: var(--text-muted);
  --surface: #f5efe9;
  --surface-hover: #efe7df;
  --border: #e8dfd6;
  --gradient-brand: linear-gradient(
    135deg,
    #d4956b 0%,
    #c07a56 40%,
    #b06a6a 70%,
    #9e5a5a 100%
  );
  --green: #4c745d;
  --green-soft: #edf4ef;
  --amber: #9b681e;
  --amber-soft: #fcf4e6;
  --red: #9e4b4b;
  --red-soft: #fbebea;
  --shadow: 0 12px 40px rgba(44, 36, 33, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--text-primary);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--copper-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--rose);
}

.wrap {
  width: min(100% - 3rem, 980px);
  margin-inline: auto;
}

.supportbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(232, 223, 214, 0.9);
  background: rgba(254, 252, 250, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.supportbar .wrap {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.supportbar a {
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.supportbar a:hover {
  color: var(--copper);
}

.supportbar a[aria-current="page"] {
  color: var(--copper-dark);
}

.supportbar .brandlink,
.supportbar .wrap > a:first-child {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--text-primary);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.supportbar .brandlink::after,
.supportbar .wrap > a:first-child::after {
  content: "Support.";
  color: var(--copper);
}

.supportbar .links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

header.hero {
  position: relative;
  overflow: hidden;
  padding: 6.2rem 0 7.8rem;
  background:
    radial-gradient(circle at 18% 25%, rgba(212, 149, 107, 0.16), transparent 34%),
    radial-gradient(circle at 82% 70%, rgba(176, 106, 106, 0.12), transparent 30%),
    var(--cream);
  text-align: center;
}

header.hero::before,
header.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

header.hero::before {
  width: 300px;
  height: 300px;
  top: -190px;
  right: 8%;
  border: 1px solid rgba(192, 122, 86, 0.16);
}

header.hero::after {
  width: 210px;
  height: 210px;
  bottom: -145px;
  left: 7%;
  border: 1px solid rgba(176, 106, 106, 0.13);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(254, 252, 250, 0.78);
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.kicker::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper-light);
  content: "";
}

header.hero h1 {
  max-width: 850px;
  margin: 0 auto 1.35rem;
  color: var(--text-primary);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.65rem, 6vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

header.hero p,
.lede {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.8;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.meta-pill,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.78rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(254, 252, 250, 0.82);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag.windows {
  color: var(--copper-dark);
}

main {
  padding: 0 0 5rem;
}

.chooser,
.toc,
.issue-card,
.quick,
.answer,
.compat-card,
.checklist,
.faq details {
  border: 1px solid var(--border);
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

.chooser,
.toc {
  position: relative;
  margin: -3.25rem 0 3.5rem;
  padding: 1.55rem 1.75rem;
  border-radius: var(--radius);
}

.chooser strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.02rem;
}

.chooser p,
.toc a {
  color: var(--text-secondary);
}

.toc h2 {
  margin: 0 0 0.85rem;
  color: var(--copper);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc ol {
  columns: 2;
  margin: 0;
  padding-left: 1.25rem;
}

.toc li {
  margin: 0.3rem 0;
  break-inside: avoid;
}

.toc a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.toc a:hover {
  color: var(--copper);
}

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

.section-head h2,
.quick h2,
.contact h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

.section-head h2 {
  font-size: 2rem;
}

.section-head span {
  color: var(--text-muted);
  font-size: 0.83rem;
}

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

.issue-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s;
}

.issue-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-brand);
  content: "";
}

.issue-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(192, 122, 86, 0.14);
}

.issue-card.featured-card {
  min-height: 0;
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 92% 15%, rgba(212, 149, 107, 0.18), transparent 27%),
    linear-gradient(135deg, var(--warm-white), var(--cream));
}

.issue-card.featured-card p {
  max-width: 760px;
}

.issue-card.featured-card .card-link {
  width: min(100%, 330px);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.issue-card h3 {
  margin: 0 0 0.75rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
}

.issue-card p {
  flex: 1;
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.symptoms {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.symptoms b {
  color: var(--text-primary);
}

.card-link,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: fit-content;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.card-link {
  justify-content: space-between;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.78rem 1.1rem;
}

.primary-link {
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
}

.card-link:hover,
.primary-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(192, 122, 86, 0.26);
  color: white;
  filter: brightness(1.04);
}

.quick {
  margin-top: 2.2rem;
  padding: 1.75rem;
  border-radius: var(--radius);
}

.quick h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.quick-list {
  display: grid;
  gap: 0;
}

.quick-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) 1.4fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}

.quick-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.quick-row:last-child {
  padding-bottom: 0;
}

.quick-row strong {
  font-size: 0.91rem;
}

.quick-row span {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.quick-row a,
.quick-action {
  color: var(--copper);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.contact {
  margin-top: 2.2rem;
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
}

.contact h2 {
  margin-bottom: 0.3rem;
  font-size: 1.45rem;
}

.contact p {
  margin: 0;
  color: var(--text-secondary);
}

.part {
  margin-bottom: 4rem;
  scroll-margin-top: 90px;
}

.part-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.part-num {
  display: flex;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  color: var(--copper);
  font-size: 1.1rem;
  font-weight: 800;
}

.part-head h2 {
  margin: 0.15rem 0 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
}

.part-head .sub {
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.part-body {
  padding-left: 62px;
}

.part-body > p {
  color: var(--text-secondary);
}

ol.steps {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

ol.steps > li {
  position: relative;
  margin: 0;
  padding: 0 0 1.55rem 3rem;
  border-left: 2px solid var(--border);
  counter-increment: step;
}

ol.steps > li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

ol.steps > li::before {
  position: absolute;
  top: -0.1rem;
  left: -0.95rem;
  display: flex;
  width: 1.8rem;
  height: 1.8rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 5px var(--warm-white);
  color: white;
  content: counter(step);
  font-size: 0.78rem;
  font-weight: 750;
}

.step-t {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text-primary);
  font-weight: 750;
}

ol.steps ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.ui,
code,
kbd,
.filename {
  display: inline-block;
  padding: 0.05rem 0.48rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--copper-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.filename {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}

kbd {
  font-family: inherit;
}

.path {
  margin-inline: 0.2rem;
  color: var(--text-muted);
  font-weight: 700;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid;
  border-radius: 12px;
  font-size: 0.91rem;
}

.callout .ic {
  flex: 0 0 auto;
  margin-top: 0.12rem;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.callout .cx {
  flex: 1;
}

.callout .cx strong {
  display: block;
  margin-bottom: 0.1rem;
}

.c-tip {
  border-color: #cbded1;
  background: var(--green-soft);
  color: #365541;
}

.c-tip .ic {
  color: var(--green);
}

.c-warn {
  border-color: #efd8ae;
  background: var(--amber-soft);
  color: #694b1d;
}

.c-warn .ic {
  color: var(--amber);
}

.c-imp {
  border-color: #e8c4c1;
  background: var(--red-soft);
  color: #713a3a;
}

.c-imp .ic {
  color: var(--red);
}

.answer {
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--copper);
  border-radius: var(--radius);
}

.answer h3 {
  margin: 0 0 0.35rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.answer p {
  margin: 0;
  color: var(--text-secondary);
}

.compat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.2rem 0;
}

.compat-card {
  padding: 1.25rem;
  border-radius: 13px;
}

.compat-card.supported {
  border-top: 3px solid var(--green);
}

.compat-card.unsupported {
  border-top: 3px solid var(--amber);
}

.compat-card h3 {
  margin: 0 0 0.6rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.compat-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.checklist {
  margin: 1.1rem 0;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius);
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist .box {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  border: 2px solid var(--copper);
  border-radius: 5px;
}

.errbox {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #5c3535;
  color: #fae8e6;
}

.errbox .x {
  font-size: 1.3rem;
  font-weight: 800;
}

hr.soft {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.optional-band {
  margin: 0 0 4rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--gradient-brand);
  box-shadow: var(--shadow);
  color: white;
}

.optional-band .tag {
  margin-bottom: 0.9rem;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.optional-band h2 {
  margin: 0 0 0.35rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
}

.optional-band p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.reference-list {
  margin: 0;
  padding-left: 1.25rem;
}

.reference-list li {
  margin: 0.55rem 0;
}

h3.mini {
  margin: 1.4rem 0 0.2rem;
  font-size: 1rem;
}

.faq details {
  margin-bottom: 0.75rem;
  padding: 0 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(44, 36, 33, 0.05);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  color: var(--copper);
  content: "+";
  font-size: 1.45rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.builder-wrap {
  width: min(100% - 3rem, 1180px);
}

header.prompt-hero {
  padding: 5.2rem 0 6.8rem;
}

header.prompt-hero h1 {
  max-width: 920px;
}

.privacy-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid #cbded1;
  border-radius: 999px;
  background: rgba(237, 244, 239, 0.84);
  color: #365541;
  font-size: 0.83rem;
  font-weight: 700;
}

.privacy-line span {
  color: var(--green);
}

.prompt-main {
  padding-bottom: 5rem;
}

.builder-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 2rem;
  margin: -3.4rem 0 2rem;
  padding: 1.65rem 1.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.builder-intro h2,
.panel-heading h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

.builder-intro h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.builder-intro p {
  margin: 0.5rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.ingredient-key {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.ingredient-key div {
  padding: 0.8rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
  text-align: center;
}

.ingredient-key b {
  display: block;
  color: var(--copper-dark);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.ingredient-key span {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 700;
}

.builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  align-items: start;
  gap: 1.5rem;
}

.builder-panel,
.output-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

.builder-panel {
  padding: 1.6rem;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.panel-heading h2 {
  font-size: 1.85rem;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.text-button {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
  color: var(--copper-dark);
  font-size: 0.8rem;
  font-weight: 750;
}

.text-button:hover {
  border-color: var(--copper-light);
  background: var(--surface);
}

.prompt-field {
  min-width: 0;
  margin: 0 0 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fffefd;
}

.prompt-field legend {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: calc(100% - 1rem);
  padding: 0 0.45rem;
  color: var(--text-primary);
}

.section-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.15rem;
}

.prompt-field legend b,
.prompt-field legend small {
  display: block;
}

.prompt-field legend b {
  font-size: 0.98rem;
}

.prompt-field legend small {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.field {
  margin-top: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

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

.field label {
  display: block;
  margin-bottom: 0.38rem;
  color: var(--text-primary);
  font-size: 0.79rem;
  font-weight: 750;
}

.required,
.optional {
  margin-left: 0.35rem;
  color: var(--copper);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.optional {
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dcd1c7;
  border-radius: 10px;
  outline: none;
  background: var(--warm-white);
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.5;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.field input,
.field select {
  min-height: 44px;
  padding: 0.65rem 0.75rem;
}

.field textarea {
  min-height: 76px;
  padding: 0.7rem 0.75rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper);
  background: white;
  box-shadow: 0 0 0 3px rgba(192, 122, 86, 0.13);
}

.field > small {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  cursor: pointer;
}

.check-option input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 0.1rem 0 0;
  accent-color: var(--copper);
}

.check-option b,
.check-option small {
  display: block;
}

.check-option b {
  font-size: 0.72rem;
  line-height: 1.35;
}

.check-option small {
  margin-top: 0.12rem;
  color: var(--text-muted);
  font-size: 0.64rem;
  line-height: 1.4;
}

.source-details {
  margin-top: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
}

.source-details summary {
  padding: 0.9rem 1rem;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 750;
}

.source-body {
  padding: 0 1rem 1rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.secondary-button,
.download-button {
  padding: 0.66rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--warm-white);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 750;
}

.secondary-button:hover,
.download-button:hover:not(:disabled) {
  border-color: var(--copper-light);
  color: var(--copper-dark);
}

.output-column {
  position: sticky;
  top: 86px;
}

.output-panel {
  overflow: hidden;
}

.output-heading {
  margin: 0;
  padding: 1.35rem 1.4rem 1rem;
}

.copy-button {
  padding: 0.68rem 0.95rem;
  border: 0;
  border-radius: 9px;
  background: var(--gradient-brand);
  box-shadow: 0 7px 20px rgba(192, 122, 86, 0.2);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.copy-button:hover:not(:disabled) {
  filter: brightness(1.05);
}

.coverage {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0 1.4rem 1rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.coverage [data-ingredient] {
  display: inline-flex;
  height: 25px;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 750;
  font-style: normal;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.coverage [data-ingredient].is-complete {
  border-color: var(--copper);
  background: var(--copper);
  color: white;
}

.empty-prompt {
  margin: 0 1.4rem;
  padding: 2.2rem 1.4rem;
  border: 1px dashed #d8c9bd;
  border-radius: 12px;
  background: var(--cream);
  color: var(--text-secondary);
  text-align: center;
}

.empty-prompt b {
  color: var(--text-primary);
}

.empty-prompt p {
  max-width: 360px;
  margin: 0.4rem auto 0;
  font-size: 0.8rem;
}

.prompt-output {
  max-height: calc(100vh - 330px);
  min-height: 310px;
  margin: 0;
  overflow: auto;
  padding: 1.35rem 1.4rem;
  border: 0;
  background: #292421;
  color: #f8eee7;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

.prompt-output:focus {
  outline: 3px solid rgba(212, 149, 107, 0.45);
  outline-offset: -3px;
}

.output-actions {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.4rem;
  border-top: 1px solid var(--border);
}

.copy-status {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 700;
}

.output-note {
  margin: 0;
  padding: 0 1.4rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.67rem;
  line-height: 1.5;
}

button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(192, 122, 86, 0.32);
  outline-offset: 3px;
}

footer {
  margin-top: 1.5rem;
  padding: 2.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.64);
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

footer b {
  color: white;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 500;
}

footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

footer a:hover {
  color: var(--copper-light);
}

.tiny {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 2rem, 980px);
  }

  .supportbar .wrap {
    min-height: 60px;
  }

  .supportbar .links {
    gap: 0.8rem;
  }

  header.hero {
    padding: 4.8rem 0 6.4rem;
  }

  header.hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .grid,
  .compat {
    grid-template-columns: 1fr;
  }

  .issue-card.featured-card {
    grid-column: auto;
  }

  .issue-card {
    min-height: 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .quick-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .quick-row a,
  .quick-action {
    margin-top: 0.2rem;
  }

  .toc ol {
    columns: 1;
  }

  .part-body {
    padding-left: 0;
  }

  footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .builder-wrap {
    width: min(100% - 2rem, 1180px);
  }

  .builder-intro {
    grid-template-columns: 1fr;
  }

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

  .output-column {
    position: static;
  }

  .field-grid,
  .field-grid.three,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .prompt-output {
    max-height: 680px;
  }
}

@media (max-width: 900px) and (min-width: 761px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .supportbar .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.65rem 0 0.55rem;
  }

  .supportbar .links {
    width: 100%;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .supportbar .links::-webkit-scrollbar {
    display: none;
  }

  .supportbar .links a {
    flex: 0 0 auto;
  }

  .supportbar .brandlink,
  .supportbar .wrap > a:first-child {
    font-size: 1.05rem;
  }

  .chooser,
  .toc {
    padding: 1.25rem;
  }

  .part-head {
    gap: 0.8rem;
  }

  .part-num {
    width: 40px;
    height: 40px;
  }

  .callout {
    flex-direction: column;
    gap: 0.35rem;
  }

  header.prompt-hero {
    padding: 4.3rem 0 6.1rem;
  }

  .privacy-line {
    align-items: flex-start;
    border-radius: 13px;
    text-align: left;
  }

  .builder-intro,
  .builder-panel {
    padding: 1.15rem;
  }

  .ingredient-key {
    gap: 0.35rem;
  }

  .ingredient-key div {
    padding: 0.65rem 0.2rem;
  }

  .ingredient-key span {
    font-size: 0.57rem;
  }

  .prompt-field {
    padding: 1rem;
  }

  .prompt-field legend small {
    max-width: 220px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .output-heading {
    align-items: center;
    flex-direction: row;
  }

  .copy-button {
    flex: 0 0 auto;
  }

  .prompt-output {
    min-height: 280px;
    font-size: 0.74rem;
  }
}

@media print {
  .supportbar {
    display: none;
  }

  body {
    background: white;
    font-size: 11pt;
  }

  header.hero {
    padding: 2rem 0;
    background: var(--cream) !important;
  }

  .chooser,
  .toc,
  .issue-card,
  .quick,
  .answer,
  .compat-card,
  .checklist,
  .faq details {
    box-shadow: none;
  }
}
