.edu { color: var(--ink); padding-top: 32px; padding-bottom: 48px; }
.edu a { color: var(--mint); text-underline-offset: 3px; overflow-wrap: anywhere; }
.edu a:hover { text-decoration: underline; }
.edu :is(a,button,input,select,summary):focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.edu-heading { max-width: 94ch; margin-bottom: 28px; }
.edu-heading nav { color: var(--dim); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.edu h1 { margin: 0 0 16px; font-size: clamp(30px,3.1vw,44px); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.edu-heading > p { color: var(--dim); font-size: 17px; line-height: 1.7; max-width: 80ch; margin: 0 0 16px; }
.edu-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 13px; color: var(--dim); margin: 12px 0; }
.edu-meta a { display: inline-flex; align-items: center; min-height: 32px; }
.edu-filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 20px; }
.edu-filters > div { min-width: 0; }
.edu-filters label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.edu-filters input,.edu-filters select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; padding: 10px; color: var(--ink); background: var(--surface); font: inherit; }
.edu-filter-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.edu .research-button { min-height: 44px; }
.edu a.research-button.primary { color: white; }
.edu-alphabet { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 20px; border-bottom: 1px solid var(--line); }
.edu-alphabet :is(a,span) { display: inline-flex; min-width: 36px; min-height: 44px; align-items: center; justify-content: center; padding: 6px; font-size: 14px; }
.edu-alphabet > a:first-child { min-width: 52px; }
.edu-alphabet span { color: var(--dim); opacity: .7; }
.edu-alphabet a[aria-current] { background: var(--mint); color: white; border-radius: 4px; }
.edu-result-count { color: var(--dim); font-size: 14px; margin: 20px 0 0; }
.edu-terms { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 40px; }
.edu-term-row { min-width: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
.edu h2 { margin: 0 0 12px; font-size: 25px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.edu h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; line-height: 1.45; }
.edu-term-row h2 { font-size: 23px; margin-bottom: 8px; }
.edu-term-row h2 a { display: inline-flex; align-items: center; min-height: 44px; }
.edu-term-row > p { font-size: 16px; line-height: 1.7; color: var(--dim); margin: 0; }
.edu .edu-english { color: var(--dim); font-size: 14px; margin-bottom: 10px; }
.edu-empty { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--line); padding: 24px; margin-top: 24px; }
.edu-empty p { color: var(--dim); line-height: 1.7; }
.edu-pagination,.edu-lesson-nav { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; margin: 28px 0; font-size: 14px; }
.edu-reader-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 48px; align-items: start; }
.edu-reader { min-width: 0; max-width: 80ch; font-size: 17px; line-height: 1.85; }
.edu-reader section { margin-bottom: 32px; scroll-margin-top: 128px; }
.edu-reader p { margin: 0 0 16px; overflow-wrap: anywhere; }
.edu-reader li { margin-bottom: 10px; }
.edu-reader ul { padding-left: 24px; list-style: disc; }
.edu-definition { padding: 24px; border-left: 4px solid var(--mint); background: var(--surface); }
.edu-definition h2 { font-size: 20px; }
.edu-definition p:last-child,.edu-example p:last-child,.edu-caution p:last-child { margin-bottom: 0; }
.edu-formula { padding: 20px; background: var(--raised); border: 1px solid var(--line); font-family: inherit; font-size: 16px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.edu-example { background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.edu-caution { padding: 20px 24px; border-left: 4px solid #936117; background: #fff8e9; }
.edu-sidebar { min-width: 0; position: sticky; top: 124px; border-left: 1px solid var(--line); padding-left: 24px; font-size: 14px; line-height: 1.6; }
.edu-sidebar section,.edu-sidebar nav { margin-bottom: 24px; }
.edu-sidebar h2 { font-size: 18px; }
.edu-sidebar :is(ul,ol) { padding-left: 18px; margin: 8px 0; }
.edu-sidebar li { margin-bottom: 8px; }
.edu-sidebar li a { display: inline-flex; align-items: center; min-height: 44px; }
.edu-sidebar a[aria-current] { font-weight: 600; color: var(--ink); text-decoration: underline; }
.edu-sidebar > p { color: var(--dim); margin: 16px 0; }
.edu-notice { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 24px; max-width: 100ch; font-size: 14px; line-height: 1.7; }
.edu-notice strong { font-weight: 600; }
.edu-notice p { color: var(--dim); margin: 8px 0 0; }
.edu-footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; font-size: 14px; }
.edu-footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.edu-course-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.edu-course-card { min-width: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.edu-course-card h2 a { display: inline-flex; align-items: center; min-height: 44px; }
.edu-course-card > p { color: var(--dim); line-height: 1.7; margin: 12px 0; }
.edu-course-type { font-size: 13px; }
.edu-mini-curriculum { list-style: decimal; padding-left: 20px; margin: 16px 0; font-size: 14px; }
.edu-mini-curriculum a { display: inline-flex; min-height: 44px; align-items: center; line-height: 1.6; }
.edu-reading-note { color: var(--dim); font-size: 13px; line-height: 1.7; margin: 0 0 20px; }
.edu-curriculum { list-style: decimal; padding-left: 24px; }
.edu-curriculum > li { margin: 20px 0; border-top: 1px solid var(--line); padding-top: 20px; }
.edu-curriculum h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.edu-selfcheck { border: 1px solid var(--line); padding: 24px; background: var(--surface); }
.edu-selfcheck summary { min-height: 44px; padding: 12px 0; color: var(--mint); cursor: pointer; font-weight: 600; }
.edu-selfcheck details > p { border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 1000px) { .edu-reader-layout { grid-template-columns: minmax(0,1fr); gap: 24px; } .edu-sidebar { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; } }
@media (max-width: 640px) { .edu { padding-top: 24px; } .edu-terms,.edu-course-grid { grid-template-columns: minmax(0,1fr); } .edu-filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 16px; gap: 12px; } .edu-search { grid-column: 1 / -1; } .edu-definition,.edu-example,.edu-caution,.edu-selfcheck,.edu-course-card { padding: 18px; } .edu h1 { font-size: 30px; } .edu-reader { font-size: 16px; line-height: 1.8; } .edu-alphabet { gap: 4px; } .edu-alphabet :is(a,span) { min-width: 32px; } }
@media print { .edu-filters,.edu-alphabet,.edu-sidebar,.edu-footer-links,.edu-lesson-nav { display: none; } .edu-reader-layout { display: block; } .edu-reader { max-width: none; } .edu-selfcheck details > p { display: block; } .edu-course-card,.edu-example { break-inside: avoid; } }
