/* Content stays readable when scripts or motion are unavailable. */
.scene-replay {
  margin-left: auto; padding: 7px 8px; min-height: 32px;
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--edge, #d2dcea); border-radius: 5px;
  background: transparent; color: var(--quiet, #5e718d);
  font-size: 10px; letter-spacing: 0; white-space: nowrap;
}
.scene-replay svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.scene-replay:hover { color: var(--text, #eef3fc); background: var(--raised, #15243a); }
.turning-point .problem-cards article { transition: border-color .25s, box-shadow .25s; }
.turning-point .problem-cards article:focus-within { border-color: #6e90cb; }
.theme-preview .scene-alert .old-feature,
.theme-preview .scene-alert .intent-change,
.theme-preview .scene-alert .rebuild-note { border-color: #b79c76; }
.theme-preview .scene-alert .old-feature .paper-status { color: #ead0a4; }
.theme-cool .scene-alert .old-feature .paper-status,
.theme-spotlight .scene-alert .old-feature .paper-status { color: #7d531d; }
.turning-point-close .close-lead { display: inline-block; }
.turning-point-close em { display: inline-block; position: relative; padding-bottom: 8px; }
.close-underline { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .65; transform-origin: left; }
.pillar-card { transition: border-color .25s, box-shadow .25s, background-color .25s; }
.pillar-card:hover, .pillar-card:focus-within { border-color: #6e90cb; box-shadow: 0 8px 28px #02071420; }
.pillar-icon-button { display: grid; place-items: center; border: 0; border-radius: 6px; padding: 4px; margin: -4px; background: transparent; color: inherit; flex-shrink: 0; }
.pillar-icon-button:hover { background: #86a8ee14; }
.pillar-icon-button .pillar-icon { display: block; }
.icon-draw { stroke-dasharray: 150; stroke-dashoffset: 0; }
.icon-light { fill: currentColor; stroke: none; }
.project-choices { border: 0; padding: 0; margin: 28px auto 0; max-width: 760px; min-width: 0; }
.project-choices legend { width: 100%; font-size: 13px; color: var(--secondary, #52647d); margin-bottom: 15px; }
.project-options { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.project-option { min-height: 44px; padding: 11px 17px; border: 1px solid var(--edge, #d2dcea); border-radius: 6px; color: var(--secondary, #52647d); background: var(--surface, #f9fbff); font-size: 13px; transition: border-color .2s, background-color .2s, color .2s; }
.project-option:hover { border-color: var(--accent, #365dc4); color: var(--text, #15243b); }
.project-option[aria-pressed=true] { background: #223c65; border-color: #96b7ff; color: #f2f6ff; box-shadow: 0 0 0 1px #96b7ff30; }
.theme-cool .project-option[aria-pressed=true] { background: #dfe9ff; border-color: #365dc4; color: #193d99; }
.project-next { min-height: 60px; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 17px; }
.project-choice-status { color: var(--quiet, #5e718d); font-size: 12px; line-height: 1.7; }
.project-continue { color: var(--accent, #365dc4); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; padding: 8px 2px; }
.theme-preview .access-form { transition: border-color .3s, box-shadow .3s; }
.theme-preview .access-form:focus-within { border-color: #83a7f2; box-shadow: 0 0 0 1px #91b4f828, 0 0 46px #4a7bd526; }
.theme-preview .access-form input:focus,
.theme-preview .access-form textarea:focus { border-color: #91b4f8; background: #10213a; outline: 2px solid #91b4f840; outline-offset: 2px; }
.theme-preview .access-form .button.dark { min-height: 48px; font-size: 12px; border-color: #9ab7ff; box-shadow: 0 4px 16px #152a6a30; }
.theme-preview .access-form .button.dark:focus-visible { outline-color: #b3caff; }
.form-project-type { color: var(--accent, #a1bdff); font-size: 11px; line-height: 1.7; margin: -10px 0 17px; }
.form-project-type[hidden] { display: none; }
@media (max-width: 760px) {
  .turning-point-close em { display: block; }
  .scene-replay { min-height: 36px; padding: 7px; }
  .project-choices { margin-top: 23px; }
  .project-options { gap: 8px; }
  .project-option { font-size: 12px; padding: 11px 13px; }
  .project-next { gap: 0; flex-direction: row; min-height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-replay { display: none; }
  .pillar-card, .access-form, .project-option { transition: none !important; }
}
