.learn-setup {
  min-height: 100svh;
  background: #f7f8f4;
  color: var(--ink);
  padding: max(20px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(30px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));
}
.learn-setup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(960px,100%);
  margin: 0 auto;
}
.learn-setup-top .minor { min-height: 44px; }
.learn-setup-body {
  max-width: 670px;
  margin: clamp(20px,5vh,64px) auto 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px,4vw,48px);
}
.learn-step { display: grid; grid-template-columns: auto minmax(30px,1fr); gap: 18px; align-items: center; }
.learn-step span { font-size: .88rem; color: #465f50; font-weight: 700; }
.learn-step progress { appearance: none; border: 0; border-radius: 12px; height: 7px; width: 100%; background: #e5ece2; }
.learn-step progress::-webkit-progress-bar { border-radius: 12px; background: #e5ece2; }
.learn-step progress::-webkit-progress-value { border-radius: 12px; background: #477649; }
.learn-step progress::-moz-progress-bar { border-radius: 12px; background: #477649; }
.learn-setup-body h1 { margin: 22px 0 8px; font-size: clamp(1.85rem,4vw,2.7rem); line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; }
.learn-setup-body > p { margin: 0 0 22px; color: #526558; }
.learn-form fieldset,.learn-group { min-width: 0; padding: 0; margin: 0; border: 0; }
.learn-group legend { margin: 6px 0 9px; font-weight: 700; }
.learn-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.learn-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.learn-choice input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; z-index:1; cursor:pointer; }
.learn-choice { position: relative; display: block; cursor: pointer; }
.learn-choice-face {
  height: 100%; min-height: 48px; display: flex; align-items: center; gap: 9px;
  padding: 10px 12px; background: #fff; border: 1px solid #bfcdbf;
  border-radius: 10px; color: #294534; font-weight: 650; font-size: .94rem; line-height: 1.25; overflow-wrap: anywhere;
}
.learn-choice-face>svg { flex: 0 0 20px; }
.learn-choice-face small { display: block; font-weight: 500; font-size: .74rem; color:#516455; margin-top: 4px; }
.learn-tick { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #92a491; margin-left:auto; flex: 0 0 18px; display: grid; place-items: center; }
.learn-tick svg { visibility: hidden; }
.learn-choice input:checked+.learn-choice-face { border-color: #457044; background:#ecf5e5; }
.learn-choice input:checked+.learn-choice-face .learn-tick { background:#2e603b; border-color:#2e603b; color:white; }
.learn-choice input:checked+.learn-choice-face .learn-tick svg { visibility: visible; }
.learn-choice input:focus-visible+.learn-choice-face { outline: 3px solid #315fb1; outline-offset: 2px; }
.learn-disclosure { border-bottom: 1px solid var(--line); padding: 2px 0 5px; }
.learn-disclosure summary { color:var(--green); font-size: .91rem; font-weight: 650; cursor: pointer; padding: 12px 2px; min-height:44px; }
.learn-extras { margin-top: 9px; }
.learn-disclosure .learn-choices { padding-bottom: 8px; }
.learn-other { margin-top: 18px; }
.learn-other small { color:var(--muted); font-size: .76rem; font-weight: 500; }
.learn-academics { display:grid; gap:16px; }
.learn-error:empty { display: none; }
.learn-error { color:#873b2a; margin: 14px 0; }
.learn-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.learn-actions .btn { min-height: 46px; }
.hero.personal-hero { background: var(--theme-bg, #234752); }
.personal-hero .hero-interest-mark {
  position: absolute; top: 50%; right: -2%; width: clamp(96px,15vw,175px); height: auto; aspect-ratio: 1;
  border-radius: 28%; display: grid; place-items: center;
  background: var(--theme-accent, #c8dfc7); color: var(--theme-bg, #234752); transform: translateY(-50%) rotate(-9deg);
  box-shadow: 0 0 0 17px #ffffff14, 0 0 0 35px #ffffff0a; z-index:-1;
}
.personal-hero .hero-interest-mark svg { width: 55%; height: 55%; }
.personal-hero h2 { max-width: 76%; overflow-wrap: anywhere; }
.personal-hero h2 span { font-size: .77em; line-height: 1.05; }
.theme-golf { --theme-bg:#1c5046; --theme-accent:#d3eab0; }
.theme-minecraft { --theme-bg:#383b70; --theme-accent:#ccda99; }
.theme-music,.theme-drawing,.theme-dance { --theme-bg:#533d64; --theme-accent:#f6d7e9; }
.theme-basketball,.theme-baseball { --theme-bg:#713f35; --theme-accent:#ffdbad; }
.theme-gaming { --theme-bg:#363a6a; --theme-accent:#d8cdf4; }
.playbook-locker { text-align:left; width:100%; display:flex; align-items:center; gap:12px; margin-top:14px; }
.playbook-locker > span:nth-child(2) { flex:1; }
.playbook-locker small { display:block; color:var(--muted); }
@media (max-width:620px) {
  .learn-setup { background:#fff; }
  .learn-setup-body { padding: 8px 0; margin-top:20px; border:0; }
  .learn-choices { gap:7px; }
  .learn-choice-face { padding:10px 8px; gap:6px; font-size:.89rem; }
  .learn-step { gap:12px; }
  .personal-hero .hero-interest-mark { right:-6%; }
}
@media (max-width:360px) {
  .learn-choice-face>svg { display:none; }
}
.personal-hero:before { background: linear-gradient(95deg,#071b171f,transparent 76%); }
.settings-editor {border:0;margin:0;padding:0;min-width:0;display:grid;gap:20px}
.settings-save-error {border-left:4px solid #98432d;padding:12px 15px;background:#fff1e9;color:#642f22;border-radius:6px}
.settings-receipt {margin:0 0 20px;padding:18px clamp(16px,3vw,26px);display:flex;align-items:flex-start;gap:14px;border:1px solid #96b49c;border-left:5px solid #346944;border-radius:12px;background:#edf6eb;color:#193c29;overflow-wrap:anywhere}
.settings-receipt h2 {font-size:1.22rem}.settings-receipt p {margin:5px 0 10px}
.settings-saved-icon {flex:none;display:grid;place-items:center;background:#316844;color:white;width:36px;height:36px;border-radius:50%}
.settings-receipt dl {display:grid;gap:3px;margin:7px 0 12px;font-size:.9rem}
.settings-receipt dl div {display:flex;gap:8px;flex-wrap:wrap}.settings-receipt dt {font-weight:700}.settings-receipt dd {margin:0;min-width:0}
.settings-receipt a {font-weight:700;text-underline-offset:3px}
@media(max-width:420px){.settings-receipt {gap:10px}.settings-saved-icon {width:28px;height:28px}}
