.ed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.ed-note { background: var(--ice); border-radius: 10px; padding: 12px 16px; color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.ed-box { max-width: 520px; }
.ed-box form, .ed-form { display: grid; gap: 14px; }
.ed-form label { font-weight: 600; display: grid; gap: 6px; }
.ed-form input, .ed-form select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 8px; background: #fff; color: var(--ink); min-height: 46px; }
.ed-form .chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.ed-form .chk input { min-height: 0; margin-top: 4px; }
.ed-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ed-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ed-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.ed-tabs button { font: inherit; border: 1.5px solid var(--rule); background: #fff; border-radius: 99px; padding: 8px 18px; cursor: pointer; }
.ed-tabs button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.ed-kid { border: 1px solid var(--rule); border-radius: 12px; padding: 18px; margin-bottom: 14px; background: #fff; }
.ed-kid h3 { margin: 0 0 4px; font-family: var(--display); }
.ed-kid p { margin: 2px 0; color: var(--muted); }
.ed-bar { height: 8px; background: var(--ice); border-radius: 99px; overflow: hidden; margin: 8px 0; }
.ed-bar i { display: block; height: 100%; background: var(--mint); }
.ed-subj { margin-bottom: 28px; }
.ed-chap { display: flex; gap: 12px; align-items: center; justify-content: space-between; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 16px; margin-bottom: 8px; background: #fff; text-decoration: none; color: var(--ink); }
.ed-chap.off { opacity: .55; }
a.ed-chap:hover { border-color: var(--blue); }
.ed-chap .n { color: var(--muted); min-width: 28px; }
.ed-chap .t { flex: 1; }
.ed-tag { font-size: 13px; padding: 3px 10px; border-radius: 99px; background: var(--ice); color: var(--muted); white-space: nowrap; }
.ed-tag.done { background: #e6f5ef; color: #166548; }
.ed-banner { background: #fff7e0; border: 1px solid #ecd48a; color: #6b5200; border-radius: 10px; padding: 10px 14px; font-size: 15px; margin: 0 0 18px; }
.ed-chapter { max-width: 760px; }
.ed-chapter h2 { margin-top: 34px; }
.ed-chapter p { white-space: pre-line; }
.ed-eg { background: var(--ice); border-radius: 10px; padding: 14px 16px; margin: 12px 0; }
.ed-terms span { display: inline-block; background: var(--ice); border-radius: 99px; padding: 3px 12px; margin: 0 6px 6px 0; font-size: 14px; }
.ed-q { border: 1px solid var(--rule); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.ed-q button.opt { display: block; width: 100%; text-align: left; font: inherit; padding: 10px 14px; margin: 6px 0; border: 1.5px solid var(--rule); background: #fff; border-radius: 8px; cursor: pointer; }
.ed-q button.opt.right { background: #e6f5ef; border-color: #2E9E7A; }
.ed-q button.opt.wrong { background: #fdecec; border-color: #b3261e; }
.ed-q .why { color: var(--muted); margin: 6px 0 0; }
.ed-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.ed-small { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .ed-chap { flex-wrap: wrap; } }
