*{box-sizing:border-box}body{margin:0;background:#f0f3f6;color:#263343;font:16px/1.6 system-ui,sans-serif}header,main,footer{width:min(100% - 32px,900px);margin:auto}header{padding:24px 0}header>a{font-weight:750}h1{font-size:clamp(1.5rem,5vw,2.2rem);margin:8px 0}a{color:#284e9b}h2{font-size:1.25rem;line-height:1.5;margin:24px 0}button,select,textarea{font:inherit}button,select{min-height:44px;border:1px solid #748094;border-radius:8px;padding:9px 14px}button{background:#3447a0;color:#fff;cursor:pointer}button:hover{background:#26367f}select{background:#fff;color:#263343;max-width:100%}:focus-visible{outline:3px solid #9b3e00;outline-offset:3px}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.toolbar label{font-weight:700}.intro{max-width:75ch}.card-navigation{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:24px 0 8px}#question-count{font-size:.9rem}#carousel{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:20px;padding:8px 0 20px}.learning-card{flex:0 0 100%;min-width:0;scroll-snap-align:start;background:#fff;border:1px solid #c3cbd6;border-radius:16px;padding:clamp(18px,4vw,36px);box-shadow:0 4px 12px #2633430d}.learning-card.mastered{border:2px solid #236441}.question-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:#475569;font-size:.8rem;font-weight:650}.learning-card label{display:block;font-weight:650;margin-bottom:6px}textarea{display:block;width:100%;max-width:100%;padding:12px;border:1px solid #748094;border-radius:8px;color:#263343;background:#fff;resize:vertical;line-height:1.5}textarea::placeholder{color:#556176}.copy-button{width:100%;margin:16px 0;background:#263343}.result-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.correct-button{background:#236441}.correct-button:hover{background:#194a30}.incorrect-button{background:#a83030}.incorrect-button:hover{background:#842424}.card-status{margin:16px 0 0;min-height:26px;color:#334155}footer{display:flex;gap:24px;padding:30px 0;flex-wrap:wrap}.skip{position:absolute;left:16px;top:-100px;background:#fff;padding:12px}.skip:focus{top:8px;z-index:2}@media(max-width:440px){.card-navigation{justify-content:flex-start}.card-navigation span{order:3;width:100%}.card-navigation button{font-size:.875rem;padding:9px 10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
