.learn-shell{max-width:1080px;margin:auto;padding:24px clamp(16px,4vw,40px) 60px}.learn-shell h1,.learn-shell h2,.learn-shell h3{font-family:Georgia,serif;font-weight:500;line-height:1.2}.learn-shell h1{font-size:clamp(2rem,5vw,3rem);margin-bottom:16px}.learn-shell p{line-height:1.6;max-width:75ch}.learn-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px}.learn-shell .learn-brand{font:600 1.25rem var(--serif);color:var(--ink);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.learn-shell a{text-decoration:underline;text-underline-offset:4px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.learn-hero{padding:28px 0 8px}.learn-hero h1{margin:0 0 10px}.learn-shell .learn-lead{font-size:1.08rem;margin:0 0 8px}.learn-stats{color:var(--muted);font-size:.92rem;margin:0 0 18px}.learn-search input{width:100%;max-width:560px;min-height:50px;font-size:1rem;border-radius:999px;padding:12px 20px;background:var(--bg-soft)}.learn-entry-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.learn-shell a.learn-chip{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:var(--bg-soft);color:var(--ink);text-decoration:none;font-size:.95rem}.learn-shell a.learn-chip:hover{border-color:var(--accent-strong)}.learn-shell a.learn-chip-primary{background:var(--green);border-color:var(--green);color:var(--bg-soft);font-weight:600}.learn-shell a.learn-chip-primary:hover{background:#3c5238}.learn-featured-section{margin-top:28px}.learn-featured-section h2,.learn-subject-heading h2{font-size:clamp(1.6rem,4vw,2.1rem);margin:0 0 14px}.learn-subject{margin-top:44px;padding-top:20px;border-top:1px solid var(--line)}.learn-subject-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.learn-subject-heading h2{margin:0}.learn-subject-heading a{min-height:44px;display:inline-flex;align-items:center;color:var(--accent-strong)}.learn-subject[hidden],.learn-featured-section[hidden]{display:none}#quiz-search-empty{margin-top:28px}.learn-shell a.learn-back{display:inline-flex;align-items:center;min-height:44px;color:var(--accent-strong)}.learn-result-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}.learn-shell .learn-result-actions button{margin:0;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.2;padding:12px 20px}#breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 20px}.learn-filters{display:flex;flex-wrap:wrap;gap:16px}.learn-filters label{display:grid;gap:8px;flex:1;min-width:200px}.learn-shell button,.learn-shell select,.learn-shell input{font:inherit;color:var(--ink);background:var(--bg);border:1px solid #77796a;border-radius:4px;min-height:46px;padding:10px 14px;max-width:100%}.learn-shell button{cursor:pointer;text-align:left}.learn-shell button:disabled{cursor:default;opacity:.75}.learn-shell :focus-visible{outline:3px solid var(--accent-strong);outline-offset:3px}.learn-shell button:not(:disabled){transition:background-color .14s,border-color .14s,box-shadow .14s}.learn-shell button:not(:disabled):hover{background:var(--bg-soft);border-color:var(--accent-strong);box-shadow:inset 0 0 0 1px var(--accent-strong)}.learn-shell button:not(:disabled):active{box-shadow:inset 0 2px 3px #29352f30}.learn-shell .learn-primary{background:var(--green);color:var(--bg-soft);border-color:var(--green);margin-top:16px;font-weight:600}.learn-shell .learn-primary:not(:disabled):hover{background:#3c5238;border-color:#3c5238}#learn-topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px}.learn-topic{display:grid;gap:12px;border:1px solid var(--line);padding:18px}.learn-topic strong{font-family:Georgia,serif;font-size:1.3rem;font-weight:500}.learn-topic small{line-height:1.5}.learn-topic progress{width:100%;accent-color:#53684c}#learn-session{margin-top:12px}#learn-session h1{margin:4px 0 6px}#learn-counter{color:var(--muted);margin:0}.learn-options{max-width:760px}.learn-session-progress{display:grid;grid-template-columns:auto minmax(80px,1fr);align-items:center;gap:12px;color:var(--muted);font-size:.85rem;margin:8px 0 24px}.learn-session-progress progress{width:100%;height:8px;accent-color:var(--green)}.learn-result-counts{display:flex;gap:24px;flex-wrap:wrap;margin:24px 0}.learn-result-counts div{min-width:130px}.learn-result-counts dt{color:var(--muted);font-size:.9rem}.learn-result-counts dd{margin:8px 0 0;font-family:var(--serif);font-size:2rem}#learn-question{font-size:clamp(1.4rem,4vw,2rem);scroll-margin-top:24px}.learn-options{display:grid;gap:10px}.learn-option{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--bg-soft)!important}.learn-option span{font-size:.85rem;font-weight:600;flex-shrink:0}.learn-shell .learn-option[data-result]{opacity:1;border-width:2px;padding:9px 13px}.learn-shell .learn-option[data-result=correct]{border-color:var(--green);background:#e7eddf!important;color:#31472c}.learn-shell .learn-option[data-result=wrong]{border-color:var(--red);border-style:dashed;background:#f4e5df!important;color:#733b2b}.learn-visual{display:grid;place-items:center;margin:0 0 20px;padding:24px;background:var(--bg-soft);border:1px solid var(--line)}.learn-visual img{display:block;width:auto;max-width:min(100%,360px);height:150px;object-fit:contain;filter:drop-shadow(0 2px 2px #29352f20)}#learn-answer form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}#learn-answer label{display:grid;gap:8px}#learn-feedback:not(:empty){margin-top:20px;border-left:4px solid var(--green);padding:4px 16px;background:var(--bg-soft)}#learn-feedback[data-result=wrong]{border-color:var(--red);border-left-style:dashed}#learn-feedback h3{font-size:1.35rem;margin:12px 0}#learn-feedback a{overflow-wrap:anywhere}.learn-map{width:100%;min-height:260px}.atlas-question-controls{margin:8px 0;font-size:14px}.atlas-question-controls>summary{cursor:pointer;padding:8px 0;width:max-content}.learn-periodic-scroll{overflow-x:auto}.learn-periodic{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;max-width:560px}.learn-periodic small{text-align:center}.learn-shell .learn-periodic .learn-option{display:grid;gap:2px;min-width:0;min-height:44px;padding:3px 1px;text-align:center;justify-content:stretch}.learn-periodic .learn-option strong{font-size:clamp(.85rem,3.6vw,1.1rem)}.learn-shell .learn-periodic .learn-option[data-result]{padding:2px 0}.learn-periodic .learn-option[data-result]:after{content:"✓"}.learn-periodic .learn-option[data-result=wrong]:after{content:"×"}.learn-shell [hidden]{display:none!important}@media(max-width:540px){.learn-option{flex-wrap:wrap}.learn-option span{flex-basis:100%}.learn-session-progress{grid-template-columns:1fr;gap:6px}}@media(prefers-reduced-motion:no-preference){#learn-session[data-state=question] #learn-answer{animation:learn-turn .16s ease-out}@keyframes learn-turn{0%{opacity:.45}to{opacity:1}}}
