.prometheus {
  --prometheus-paper: #faf8f2;
  color: var(--ink, #252b2c);
  margin-block: 2rem 4rem;
}
.prometheus *, .prometheus *::before, .prometheus *::after { box-sizing: border-box; }
.prometheus [hidden] { display: none !important; }
.prometheus-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr); gap: clamp(1.5rem, 4vw, 4rem); margin: 0; align-items: center; }
.prometheus-paper { background: var(--prometheus-paper); border: 1px solid var(--line, #d9d7cf); border-radius: .35rem; height: clamp(390px, 46vw, 590px); padding: clamp(1rem, 3vw, 2rem); display: flex; justify-content: center; align-items: center; overflow: hidden; }
.prometheus-art-image { display: block; width: min(100%, 520px); height: 100%; object-fit: contain; }
.prometheus-caption h2 { font: inherit; font-size: clamp(1.5rem, 2.7vw, 2.3rem); font-weight: 500; letter-spacing: -.035em; margin: .7rem 0 1rem; line-height: 1.12; }
.prometheus-caption p { max-width: 30ch; line-height: 1.55; }
.prometheus-eyebrow { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .875rem; color: var(--muted, #686e69); letter-spacing: .035em; }
.prometheus-eyebrow [data-prom-position] { font-variant-numeric: tabular-nums; }
.prometheus-note, .prometheus-help { font-size: .875rem; line-height: 1.5; color: var(--muted, #686e69); }
.prometheus-step-controls { display: flex; gap: .5rem; margin-block: 1.5rem 1.25rem; flex-wrap: wrap; }
.prometheus-button { font: inherit; font-size: .875rem; min-height: 44px; min-width: 44px; padding: .65rem .85rem; color: var(--ink, #252b2c); background: transparent; border: 1px solid var(--line, #d9d7cf); border-radius: .25rem; cursor: pointer; display: inline-flex; gap: .55rem; align-items: center; justify-content: center; line-height: 1.2; }
.prometheus-button:hover:not(:disabled), .prometheus-choice:hover { border-color: var(--accent, #497368); }
.prometheus-button[aria-pressed="true"] { border-color: var(--accent, #497368); box-shadow: inset 0 0 0 1px var(--accent, #497368); }
.prometheus-button [data-prom-spin-label], .prometheus-button [data-prom-stereo-label] { font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; }
.prometheus button:disabled, .prometheus input:disabled { opacity: .45; cursor: default; }
.prometheus :is(button, a, summary, input, canvas):focus-visible { outline: 3px solid var(--accent, #497368); outline-offset: 4px; }
.prometheus-sheet-link { font-size: .875rem; color: var(--ink, #252b2c); text-decoration: underline; text-underline-offset: .25em; }
.prometheus-choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin-block: 1rem 2.75rem; }
.prometheus-choice { display: flex; gap: .65rem; align-items: baseline; padding: .85rem .8rem; min-height: 48px; text-align: left; color: var(--ink, #252b2c); background: var(--panel, #f4f1e9); border: 1px solid var(--line, #d9d7cf); border-radius: .25rem; font: inherit; font-size: .875rem; line-height: 1.35; cursor: pointer; }
.prometheus-choice-number { flex: 0 0 auto; font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--muted, #686e69); }
.prometheus-choice[aria-current="true"] { border-color: var(--accent, #497368); box-shadow: inset 0 0 0 1px var(--accent, #497368); }
.prometheus-choice[aria-current="true"] .prometheus-choice-number { color: var(--ink, #252b2c); }
.prometheus-explore { border-block: 1px solid var(--line, #d9d7cf); }
.prometheus-explore summary { display: flex; align-items: center; gap: 1rem; list-style: none; cursor: pointer; padding: 1.2rem 0; font-size: .95rem; }
.prometheus-explore summary::-webkit-details-marker { display: none; }
.prometheus-summary-note { font-size: .875rem; color: var(--muted, #686e69); margin-left: auto; text-align: right; }
.prometheus-disclosure { font-size: 1.3rem; line-height: 1; font-weight: 400; }
.prometheus-explore[open] .prometheus-disclosure { transform: rotate(45deg); }
.prometheus-explore-body { padding: .5rem 0 1.4rem; }
.prometheus-model-intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: baseline; margin-bottom: 1.2rem; }
.prometheus-model-intro h3 { font: inherit; font-size: 1.1rem; font-weight: 500; margin: 0; }
.prometheus-model-intro p { font-size: .875rem; line-height: 1.6; color: var(--muted, #686e69); margin: 0; max-width: 65ch; }
.prometheus-stage { height: clamp(340px, 42vw, 530px); position: relative; overflow: hidden; background: var(--panel, #f4f1e9); border: 1px solid var(--line, #d9d7cf); border-radius: .35rem; }
.prometheus-stage canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.prometheus-stage canvas:active { cursor: grabbing; }
.prometheus-stage canvas:focus-visible { outline-offset: -6px; }
.prometheus-model-fallback { position: absolute; inset: 0; background: var(--prometheus-paper); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.2rem; gap: .6rem; }
.prometheus-model-fallback img { width: 100%; height: calc(100% - 2.5rem); display: block; object-fit: contain; }
.prometheus-model-fallback p { margin: 0; font-size: .875rem; line-height: 1.4; text-align: center; color: #62665e; }
.prometheus-stage[data-prom-ready="true"] .prometheus-model-fallback { display: none; }
.prometheus-model-controls { display: flex; gap: 1rem 2rem; justify-content: space-between; align-items: center; margin-block: 1.25rem 1rem; flex-wrap: wrap; }
.prometheus-ratio-control { flex: 1 1 240px; max-width: 350px; }
.prometheus-ratio-control label { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; font-size: .875rem; }
.prometheus-ratio-control output { font-variant-numeric: tabular-nums; }
.prometheus-ratio-control input { width: 100%; height: 32px; margin: .4rem 0 0; padding: 0; accent-color: var(--accent, #497368); cursor: pointer; }
.prometheus-ratio-control p { margin: 0; color: var(--muted, #686e69); font-size: .875rem; line-height: 1.4; }
.prometheus-model-buttons { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.prometheus-help { margin: .8rem 0 .35rem; }
.prometheus:not([data-prom-model-ready="true"]) .prometheus-model-controls,
.prometheus:not([data-prom-model-ready="true"]) .prometheus-help { display: none; }
.prometheus-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .prometheus-art { grid-template-columns: 1fr; gap: 1.3rem; }
  .prometheus-paper { height: clamp(350px, 100vw, 550px); }
  .prometheus-caption p { max-width: 48ch; }
  .prometheus-caption h2 { margin-block: .5rem .7rem; }
  .prometheus-step-controls { margin-block: 1rem; }
  .prometheus-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
  .prometheus-model-intro { grid-template-columns: 1fr; gap: .65rem; }
  .prometheus-model-controls { align-items: stretch; }
  .prometheus-ratio-control { max-width: none; flex-basis: 100%; }
  .prometheus-stage { height: 360px; }
}
@media (max-width: 430px) {
  .prometheus-summary-note { max-width: 12ch; font-size: .875rem; }
  .prometheus-choice { padding: .75rem .6rem; font-size: .875rem; }
  .prometheus-model-buttons { gap: .35rem; }
  .prometheus-button { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .prometheus *, .prometheus *::before, .prometheus *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
