.tonight-page { min-height: 100vh; background: radial-gradient(ellipse at 80% 0%, #F7F4EC 0, transparent 34rem), #f6f7fb; }
.night-main { width: min(100% - 2rem, 920px); margin: 0 auto; padding: 1.5rem 0 4rem; }
.night-intro { max-width: 700px; margin: 0 auto 1.4rem; }
.back-link, .lab-return { display: inline-flex; align-items: center; gap: .4rem; color: #34445a; font-weight: 700; text-decoration: none; }
.night-intro .eyebrow { margin: 1.6rem 0 .4rem; color: #17324D; font-size: .75rem; font-weight: 800; letter-spacing: .13em; }
.night-intro h1 { margin: 0; color: #24323F; font: 700 clamp(2rem, 5vw, 3.3rem)/1.07 Georgia, serif; letter-spacing: -.035em; }
.night-description { max-width: 620px; margin: .8rem 0 0; color: #596178; font-size: 1.08rem; line-height: 1.6; }
.night-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin: 1.4rem auto; padding: .9rem; border: 1px solid #F7F4EC; border-radius: 20px; background: rgb(255 255 255 / 88%); box-shadow: 0 12px 35px rgb(38 39 76 / 6%); }
.night-step { display: flex; align-items: center; gap: .55rem; min-width: 0; padding: .55rem .5rem; border: 0; border-radius: 12px; background: transparent; color: #71758a; text-align: left; font: inherit; }
.night-step[aria-current="step"] { background: #F7F4EC; color: #17324D; }
.night-step[data-done="true"] { color: #176948; }
.night-step-number { display: grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center; border: 1px solid #F7F4EC; border-radius: 50%; background: #fff; font-size: .86rem; font-weight: 800; }
.night-step[data-done="true"] .night-step-number { border-color: #b8ddca; background: #e9f7ef; }
.night-step-label { overflow: hidden; font-size: .8rem; font-weight: 700; line-height: 1.15; text-overflow: ellipsis; }
.night-panel { min-height: 340px; padding: clamp(1.2rem, 4vw, 2.2rem); border: 1px solid #F7F4EC; border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgb(36 38 77 / 8%); }
.stage-eyebrow { margin: 0 0 .4rem; color: #17324D; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.night-panel h2 { margin: 0; color: #24323F; font: 700 clamp(1.5rem, 4vw, 2.3rem)/1.15 Georgia, serif; }
.stage-copy { max-width: 680px; color: #62687c; font-size: 1.04rem; line-height: 1.6; }
.night-goal { display: inline-flex; gap: .5rem; align-items: center; margin: .3rem 0 1rem; padding: .55rem .8rem; border-radius: 999px; background: #F7F4EC; color: #17324D; font-size: .9rem; font-weight: 700; }
.night-question { margin: 1rem 0; padding: 1.2rem; border-radius: 18px; background: #f7f8fc; }
.night-question p { margin: 0 0 1rem; color: #24323F; font-size: clamp(1.25rem, 4vw, 1.8rem); font-weight: 750; line-height: 1.4; }
.night-question form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.night-question input { min-height: 3.1rem; width: min(100%, 18rem); padding: .65rem .8rem; border: 2px solid #17324D; border-radius: 11px; color: #24323F; background: #fff; font: inherit; font-size: 1.15rem; }
.night-feedback { min-height: 1.5rem; margin: .8rem 0 0; color: #4e5870; font-weight: 650; }
.night-feedback[data-kind="good"] { color: #176948; }
.night-feedback[data-kind="hint"] { color: #8a5100; }
.night-hint { display: inline-block; margin: .6rem 0; color: #24323F; font-weight: 700; }
.night-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-top: 1.25rem; }
.night-actions .button { min-height: 2.9rem; }
.night-turn { display: flex; flex-wrap: wrap; gap: .55rem; margin: .9rem 0; }
.night-turn button { border: 1px solid #24323F; border-radius: 999px; padding: .65rem .9rem; background: white; color: #41465c; font: inherit; font-weight: 700; }
.night-turn button[aria-pressed="true"] { border-color: #1FA6A2; background: #F7F4EC; color: #17324D; }
.strategy-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .65rem; margin: 1rem 0; padding: 0; border: 0; }
.strategy-options label { display: flex; align-items: flex-start; gap: .55rem; padding: .85rem; border: 1px solid #24323F; border-radius: 14px; color: #3d4259; line-height: 1.35; }
.strategy-options input { accent-color: #1FA6A2; margin-top: .2rem; }
.night-complete { padding: 1rem 0; }
.night-complete h3 { color: #276d4e; font: 700 1.6rem Georgia, serif; }
.night-next-copy { padding: 1rem; border-radius: 16px; background: #f2f7ff; color: #384467; line-height: 1.5; }
.visual-host { margin-top: 1rem; }
.visual-host .conclusion-actions { display: none; }
.night-footer-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; max-width: 700px; margin: 1rem auto; }
.night-footer-actions a { min-height: 2.5rem; align-content: center; }
.night-panel :focus-visible, .night-progress :focus-visible, .night-footer-actions a:focus-visible { outline: 3px solid #e28a42; outline-offset: 3px; }
@media (max-width: 640px) {
  .night-main { width: min(100% - 1.15rem, 920px); padding-top: .75rem; }
  .night-progress { gap: .25rem; padding: .45rem; border-radius: 15px; }
  .night-step { display: grid; justify-items: center; gap: .3rem; padding: .45rem .15rem; }
  .night-step-number { width: 1.75rem; height: 1.75rem; }
  .night-step-label { max-width: 4.4rem; font-size: .65rem; text-align: center; }
  .night-panel { border-radius: 18px; }
  .night-question { padding: .9rem; }
  .night-question form { align-items: stretch; }
  .night-question input { flex: 1 1 10rem; }
  .night-question form button { flex: 1 1 100%; }
  .top-actions { gap: .35rem; }
  .top-actions select { max-width: 7.4rem; }
}
@media (prefers-reduced-motion: reduce) { .tonight-page *, .tonight-page *::before, .tonight-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
