:root {
  --white: #ffffff;
  --cream: #fff8ee;
  --blush: #fdebed;
  --teal: #8bd2ce;
  --teal-deep: #277d81;
  --mint: #d9f3e5;
  --coral: #ee8d7a;
  --coral-deep: #c65e52;
  --navy: #17324d;
  --ink-soft: #566b78;
  --line: rgba(23, 50, 77, 0.12);
  --shadow: 0 22px 60px rgba(23, 50, 77, 0.12);
  --radius: 28px;
  --touch: 68px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 210, 206, 0.36), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(238, 141, 122, 0.2), transparent 28rem),
    linear-gradient(135deg, #fffdf8 0%, #f5fbf8 52%, #fff4f1 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 50, 77, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 50, 77, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 72%);
}

button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.kiosk-shell {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  min-height: 100vh;
  align-content: center;
  gap: 24px;
  margin: 0 auto;
  padding: 28px 0 36px;
}

.welcome-panel,
.menu-section,
.foundation-note,
.disclaimer-panel,
.app-topbar,
.quiz-panel,
.result-panel,
.question-card,
.qr-placeholder {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.welcome-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 62px);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal), var(--mint));
  box-shadow: 0 12px 28px rgba(39, 125, 129, 0.18);
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--teal-deep);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-subtitle {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 800;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(3.25rem, 7vw, 6.6rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.welcome-copy p,
.section-heading p,
.disclaimer-panel p,
.foundation-note p {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  line-height: 1.5;
}

.welcome-copy p {
  max-width: 740px;
  margin-bottom: 0;
}

.menu-section {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
}

.section-heading {
  display: grid;
  gap: 2px;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.menu-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(23, 50, 77, 0.1);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.menu-card:hover,
.menu-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.menu-card:focus-visible,
.home-button:focus-visible,
.nav-button:focus-visible,
.answer-button:focus-visible,
.age-tab:focus-visible,
.prompt-category:focus-visible,
.prompt-question-card:focus-visible,
.name-style-button:focus-visible,
.week-button:focus-visible,
.bag-category-card:focus-visible {
  outline: 4px solid rgba(39, 125, 129, 0.34);
  outline-offset: 4px;
}

.menu-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 900;
}

.pregnancy .menu-number {
  background: #e4f6f2;
}

.wellness .menu-number {
  background: #fff0dc;
  color: #9d6330;
}

.intimate .menu-number {
  background: var(--blush);
  color: var(--coral-deep);
}

.postpartum .menu-number {
  background: #edf1ff;
  color: #4a5f99;
}

.calm .menu-number {
  background: #e8f8df;
  color: #557b35;
}

.baby .menu-number {
  background: #fff0f5;
  color: #a94d75;
}

.size .menu-number {
  background: #edf8dc;
  color: #5d7f2f;
}

.bag .menu-number {
  background: #fff1e9;
  color: #b45f4d;
}

.doctor .menu-number {
  background: #eef7ff;
  color: #3c6f91;
}

.menu-text strong,
.menu-text small {
  display: block;
}

.menu-text strong {
  margin-bottom: 8px;
  font-size: 1.24rem;
  line-height: 1.15;
}

.menu-text small {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.35;
}

.foundation-note {
  display: none;
  gap: 10px;
  padding: clamp(22px, 4vw, 36px);
}

.foundation-note.is-visible {
  display: grid;
  animation: softRise 240ms ease both;
}

.home-button,
.nav-button {
  min-height: var(--touch);
  width: fit-content;
  min-width: 150px;
  margin-top: 6px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 16px 34px rgba(23, 50, 77, 0.22);
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-button:hover,
.nav-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.app-shell {
  align-content: start;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.nav-actions,
.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-button,
.secondary-action {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.08);
  color: var(--navy);
}

.quiz-panel,
.result-panel {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 46px);
}

.section-heading > p:last-child,
.result-panel > p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  line-height: 1.5;
}

.quiz-progress {
  width: fit-content;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 900;
}

.question-card {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.68);
}

.question-card h2 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

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

.answer-button {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(23, 50, 77, 0.08);
  cursor: pointer;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.answer-button:hover,
.answer-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.answer-button.is-selected {
  border-color: rgba(39, 125, 129, 0.42);
  background: #e4f6f2;
}

.answer-feedback {
  display: none;
  margin-bottom: 0;
  padding: 18px 20px;
  border-left: 6px solid var(--teal);
  border-radius: 18px;
  background: rgba(217, 243, 229, 0.68);
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.5;
}

.answer-feedback.is-visible {
  display: block;
  animation: softRise 220ms ease both;
}

.result-panel {
  display: none;
}

.result-panel.is-visible {
  display: grid;
  animation: softRise 240ms ease both;
}

.result-disclaimer {
  background: rgba(253, 235, 237, 0.72);
  box-shadow: none;
}

.qr-placeholder {
  display: grid;
  min-height: 132px;
  place-items: center;
  border: 2px dashed rgba(23, 50, 77, 0.22);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  font-weight: 750;
  text-align: center;
}

.age-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.age-tab {
  min-height: var(--touch);
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.08);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.age-tab:hover,
.age-tab:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.age-tab.is-active {
  border-color: rgba(39, 125, 129, 0.42);
  background: var(--mint);
  color: var(--teal-deep);
}

.guide-card {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 44px rgba(23, 50, 77, 0.08);
}

.guide-card h2,
.guide-card p {
  margin-bottom: 0;
}

.guide-card h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.guide-card p:not(.eyebrow) {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.5;
}

.guide-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.guide-list li {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(217, 243, 229, 0.5);
  color: var(--navy);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.42;
}

.calm-panel {
  overflow: hidden;
}

.calm-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.58fr) minmax(300px, 0.42fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.breathing-stage {
  display: grid;
  min-height: 430px;
  place-items: center;
}

.breath-circle {
  display: grid;
  width: min(52vw, 360px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 34%, rgba(139, 210, 206, 0.52) 35% 67%, rgba(238, 141, 122, 0.22) 68% 100%);
  box-shadow: 0 28px 76px rgba(39, 125, 129, 0.24);
  transform: scale(0.92);
  transition: transform 1800ms ease-in-out;
}

.breath-circle.is-inhale,
.breath-circle.is-hold {
  transform: scale(1.08);
}

.breath-circle.is-exhale {
  transform: scale(0.88);
}

.breath-text {
  max-width: 220px;
  padding: 0 24px;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.calm-status {
  display: grid;
  gap: 18px;
}

.timer-card,
.affirmation,
.music-note {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 38px rgba(23, 50, 77, 0.08);
}

.timer-card {
  display: grid;
  gap: 2px;
  padding: 24px;
}

.timer-card strong {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
}

.timer-label,
.timer-card span:last-child {
  color: var(--ink-soft);
  font-weight: 800;
}

.soft-progress {
  overflow: hidden;
  height: 18px;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.1);
}

.soft-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--mint), var(--coral));
  transition: width 900ms linear;
}

.affirmation {
  min-height: 124px;
  margin: 0;
  padding: 24px;
  color: var(--navy);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.35;
}

.calm-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.music-note {
  display: none;
  margin: 0;
  padding: 16px 18px;
  color: var(--ink-soft);
  font-weight: 750;
}

.music-note.is-visible {
  display: block;
  animation: softRise 180ms ease both;
}

.prompt-wall {
  gap: 24px;
}

.prompt-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.prompt-category,
.prompt-question-card {
  min-height: var(--touch);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.08);
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.prompt-category {
  padding: 14px 16px;
  border-radius: 22px;
}

.prompt-category:hover,
.prompt-category:focus-visible,
.prompt-question-card:hover,
.prompt-question-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.prompt-category.is-active {
  border-color: rgba(39, 125, 129, 0.42);
  background: var(--mint);
  color: var(--teal-deep);
}

.prompt-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.prompt-question-card {
  display: flex;
  align-items: center;
  min-height: 126px;
  padding: 22px;
  border-radius: 24px;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.3;
  text-align: left;
}

.prompt-detail-card {
  display: none;
  gap: 14px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(23, 50, 77, 0.1);
}

.prompt-detail-card.is-visible {
  display: grid;
  animation: softRise 220ms ease both;
}

.prompt-detail-card h2,
.prompt-detail-card p {
  margin-bottom: 0;
}

.prompt-detail-card h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.75rem);
}

.prompt-detail-card p:not(.eyebrow) {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.5;
}

.prompt-confirmation {
  display: none;
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(217, 243, 229, 0.72);
  color: var(--teal-deep);
  font-weight: 850;
}

.prompt-confirmation.is-visible {
  display: block;
  animation: softRise 180ms ease both;
}

.baby-name-panel {
  gap: 24px;
}

.name-style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.name-style-button {
  min-height: var(--touch);
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.08);
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.name-style-button:hover,
.name-style-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.name-style-button.is-active {
  border-color: rgba(238, 141, 122, 0.46);
  background: var(--blush);
  color: var(--coral-deep);
}

.name-results {
  display: none;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(23, 50, 77, 0.1);
}

.name-results.is-visible {
  display: grid;
  animation: softRise 220ms ease both;
}

.name-results h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.name-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.name-card {
  display: grid;
  gap: 10px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(253, 235, 237, 0.58));
  box-shadow: 0 12px 30px rgba(23, 50, 77, 0.08);
}

.name-card strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.name-tag {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.name-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.4;
}

.name-actions {
  margin-top: 4px;
}

.size-week-panel {
  gap: 24px;
}

.week-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.week-selector-wrap,
.size-result-card,
.size-note {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(23, 50, 77, 0.1);
}

.week-selector-wrap {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
}

.week-selector-wrap h2 {
  margin-bottom: 0;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.week-button {
  min-height: 62px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(217, 243, 229, 0.55));
  box-shadow: 0 10px 24px rgba(23, 50, 77, 0.07);
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.week-button:hover,
.week-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.week-button.is-active {
  border-color: rgba(238, 141, 122, 0.46);
  background: linear-gradient(145deg, #fff0dc, var(--blush));
  color: var(--coral-deep);
}

.size-result-card {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
}

.size-result-card::before {
  position: absolute;
  right: -58px;
  top: -58px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(238, 141, 122, 0.16);
  content: "";
}

.produce-icon {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(217, 243, 229, 0.48));
  box-shadow: 0 18px 44px rgba(198, 94, 82, 0.18);
}

.produce-icon svg {
  display: block;
  width: 88px;
  height: 88px;
}

.size-result-card h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.size-comparison {
  margin-bottom: 0;
  color: var(--coral-deep);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.18;
}

.size-result-card p:not(.eyebrow):not(.size-comparison) {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.48;
}

.provider-prompt {
  padding: 18px 20px;
  border-left: 6px solid var(--teal);
  border-radius: 18px;
  background: rgba(217, 243, 229, 0.68);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.45;
}

.size-note {
  padding: 18px 20px;
  color: var(--teal-deep);
  font-size: 1.04rem;
  line-height: 1.45;
}

.maternity-bag-panel {
  gap: 24px;
}

.bag-highlight-card,
.tips-panel,
.safety-note,
.bag-checklist-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 48px rgba(23, 50, 77, 0.1);
}

.bag-highlight-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  background: linear-gradient(145deg, rgba(255, 241, 233, 0.86), rgba(217, 243, 229, 0.58));
}

.bag-highlight-card h2,
.bag-highlight-card p {
  margin-bottom: 0;
}

.bag-highlight-card p {
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.8vw, 1.26rem);
  line-height: 1.5;
}

.bag-icon {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.76), transparent 28%),
    linear-gradient(145deg, var(--coral), #ffd6a6);
  box-shadow: 0 16px 38px rgba(198, 94, 82, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 2rem;
}

.bag-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.bag-category-card {
  display: grid;
  gap: 14px;
  min-height: 168px;
  padding: 22px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(23, 50, 77, 0.08);
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.bag-category-card:hover,
.bag-category-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.bag-category-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: var(--blush);
  color: var(--coral-deep);
  font-size: 1.3rem;
}

.bag-category-card small {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.35;
}

.bag-checklist-panel {
  display: none;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
}

.bag-checklist-panel.is-visible {
  display: grid;
  animation: softRise 220ms ease both;
}

.bag-checklist-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bag-checklist-heading h2 {
  margin-bottom: 0;
}

.checklist-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  cursor: pointer;
  font-weight: 750;
  line-height: 1.35;
}

.checklist-item input {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  accent-color: var(--teal-deep);
}

.checklist-item:has(input:checked) {
  background: rgba(217, 243, 229, 0.72);
  color: var(--teal-deep);
}

.tips-panel {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
}

.tips-panel h2 {
  margin-bottom: 0;
}

.tips-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tips-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 241, 233, 0.72);
  color: var(--ink-soft);
  font-weight: 750;
  line-height: 1.4;
}

.safety-note {
  padding: 18px 20px;
  border-left: 6px solid var(--coral);
  background: rgba(253, 235, 237, 0.78);
  color: var(--navy);
  font-weight: 850;
  line-height: 1.45;
}

.disclaimer-panel {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 3vw, 32px);
}

.disclaimer-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.disclaimer-panel p {
  margin-bottom: 0;
  font-size: 1rem;
}

.privacy-note {
  padding-top: 4px;
  font-weight: 750;
}

.reset-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  max-width: 340px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-weight: 750;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.reset-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1040px) {
  .welcome-panel {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-card {
    min-height: 170px;
  }

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

  .breathing-stage {
    min-height: 360px;
  }

  .prompt-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .name-style-grid,
  .name-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .week-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .size-result-card {
    position: static;
  }

  .bag-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .kiosk-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 16px;
  }

  .welcome-panel,
  .menu-section,
  .foundation-note,
  .disclaimer-panel,
  .app-topbar,
  .quiz-panel,
  .result-panel,
  .question-card,
  .qr-placeholder,
  .timer-card,
  .affirmation,
  .music-note,
  .bag-highlight-card,
  .tips-panel,
  .safety-note,
  .bag-checklist-panel {
    border-radius: 22px;
  }

  .app-topbar,
  .nav-actions,
  .quiz-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .brand-row {
    align-items: flex-start;
  }

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

  .menu-card {
    min-height: 148px;
  }

  .home-button,
  .nav-button {
    width: 100%;
  }

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

  .age-tabs {
    grid-template-columns: 1fr;
  }

  .prompt-category-grid,
  .prompt-question-grid,
  .name-style-grid,
  .name-card-grid,
  .week-layout,
  .bag-categories,
  .checklist-items {
    grid-template-columns: 1fr;
  }

  .bag-highlight-card {
    grid-template-columns: 1fr;
  }

  .bag-checklist-heading {
    display: grid;
  }

  .week-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
  }

  .breathing-stage {
    min-height: 300px;
  }

  .breath-circle {
    width: min(78vw, 300px);
  }
}
