/* Alder Learning Modules */
.learn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.learn-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 1.6rem; }
.learn-card h3 { color: #fff; margin-bottom: .5rem; }
.learn-card p { color: rgba(255,255,255,.75); }
.learn-meta { font-size: .85rem; color: rgba(255,255,255,.55); margin: .8rem 0; }
.learn-badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: rgba(217,164,65,.2); color: var(--amber-soft, #e8c87a); }
.learn-badge-lock { background: rgba(178,90,43,.25); color: #f0b08a; }
.learn-tabs { display: flex; gap: .5rem; margin: 1.2rem 0 1.6rem; flex-wrap: wrap; }
.learn-tab { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.8); border-radius: 999px; padding: .55rem 1.2rem; cursor: pointer; font-size: .95rem; }
.learn-tab.active { background: var(--amber, #d9a441); border-color: var(--amber, #d9a441); color: #1a1a1a; font-weight: 700; }
.learn-lesson-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.learn-lesson-btn { background: transparent; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; font-size: .88rem; }
.learn-lesson-btn.active { background: rgba(255,255,255,.14); color: #fff; font-weight: 700; }
.learn-notes { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.4rem 0; }
.learn-notes h4 { color: #fff; margin-bottom: .6rem; }
.learn-notes ul { margin: 0; padding-left: 1.2rem; color: rgba(255,255,255,.8); }
.learn-foot { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.learn-video { position: relative; padding-bottom: 56.25%; height: 0; margin-bottom: 1.4rem; }
.learn-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 12px; }
.learn-question { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 1.2rem 1.4rem; margin-bottom: 1rem; }
.learn-choices { display: flex; flex-direction: column; gap: .5rem; margin-top: .8rem; }
.learn-choice { text-align: left; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.9); border-radius: 10px; padding: .7rem 1rem; cursor: pointer; font-size: .95rem; }
.learn-choice:disabled { cursor: default; opacity: .85; }
.learn-choice.correct { border-color: #5da85d; background: rgba(93,168,93,.22); }
.learn-choice.wrong { border-color: #c05a4a; background: rgba(192,90,74,.22); }
.learn-explain { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: .8rem; }
.learn-score { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 1.2rem 0; }
.learn-locked { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 1.6rem; margin-top: 1.2rem; }
.learn-flashcard { perspective: 1000px; cursor: pointer; max-width: 560px; margin: 1rem 0; }
.learn-flash-inner { position: relative; width: 100%; min-height: 220px; transition: transform .5s; transform-style: preserve-3d; }
.learn-flashcard.flipped .learn-flash-inner { transform: rotateY(180deg); }
.learn-flash-front, .learn-flash-back { border-radius: 16px; padding: 2rem; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 220px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.learn-flash-front { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.learn-flash-back { background: var(--forest, #0f2e1f); border: 1px solid rgba(255,255,255,.2); color: #fff; position: absolute; top: 0; left: 0; right: 0; bottom: 0; transform: rotateY(180deg); }
.learn-dismiss { display: block; margin: .9rem auto 0; background: none; border: none; color: rgba(255,255,255,.6); font-size: .85rem; cursor: pointer; text-decoration: underline; }
.learn-dismiss:hover { color: #fff; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.8); border-radius: 999px; padding: .55rem 1.2rem; cursor: pointer; }
.suggest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.suggest-box { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid rgba(0,0,0,.15); border-radius: 12px; padding: 1rem 1.1rem; cursor: pointer; background: #fff; hyphens: none; }
.suggest-box input { margin-top: .2rem; width: 1.1rem; height: 1.1rem; flex-shrink: 0; accent-color: var(--green, #2e7d4f); }
.suggest-box span { line-height: 1.35; }
.suggest-box strong { font-size: 1rem; line-height: 1.3; text-wrap: balance; }
.suggest-box.is-checked { border-color: var(--green, #2e7d4f); background: rgba(46,125,79,.08); }
