.edu-category-toggle{display:inline-flex;align-items:center;justify-content:center;gap:11px;flex:0 0 auto;min-height:44px;padding:11px 17px;border:0;border-radius:9px;background:var(--edu-color-primary);color:#fff;font:inherit;font-size:.85rem;font-weight:750;cursor:pointer;transition:background .18s,box-shadow .18s}
.edu-category-toggle:hover{background:color-mix(in srgb,var(--edu-color-primary) 85%,#08111f)}
.edu-category-toggle:focus-visible,.edu-category-drawer :focus-visible{outline:3px solid var(--edu-color-secondary);outline-offset:3px}
.edu-category-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.edu-category-toggle svg circle{fill:var(--edu-color-primary)}
.edu-category-toggle .edu-category-toggle__arrow{width:14px;height:14px;margin-left:12px}
.edu-category-toggle--mobile{display:none}
.edu-category-drawer{position:fixed;inset:0 auto 0 0;box-sizing:border-box;width:min(420px,calc(100vw - 24px));max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;background:#fff;color:var(--edu-color-ink);box-shadow:20px 0 80px #0b12202e;overflow:hidden}
.edu-category-drawer[open]{display:flex;flex-direction:column;animation:edu-category-enter .22s ease-out}
.edu-category-drawer::backdrop{background:rgba(8,17,31,.48);backdrop-filter:blur(2px)}
.edu-category-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:28px 24px 24px;border-bottom:1px solid var(--edu-color-line)}
.edu-category-drawer__head span{color:var(--edu-color-muted);font-size:.74rem}
.edu-category-drawer__head h2{margin:5px 0 0;font-size:1.45rem;letter-spacing:-.035em;line-height:1.2}
.edu-category-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid var(--edu-color-line);border-radius:50%;background:#fff;color:var(--edu-color-ink);font:inherit;line-height:1;cursor:pointer}
.edu-category-close svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.edu-category-close:hover{background:var(--edu-color-surface)}
.edu-category-drawer__body{flex:1;min-height:0;padding:20px 18px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.edu-category-all{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:12px 15px;margin-bottom:16px;border-radius:9px;background:var(--edu-color-surface);color:var(--edu-color-primary);font-size:.88rem;font-weight:750}
.edu-category-tree,.edu-category-tree ul{list-style:none;padding:0;margin:0}
.edu-category-tree>.edu-category-tree__item{border-bottom:1px solid var(--edu-color-line)}
.edu-category-tree__row{display:flex;align-items:center;gap:4px;border-radius:8px}
.edu-category-tree__row>a{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:15px 12px;line-height:1.4;font-size:.9rem;font-weight:650;overflow-wrap:anywhere}
.edu-category-tree__image{display:block;flex:0 0 44px;width:44px;height:44px;object-fit:contain;border-radius:8px;background:var(--edu-color-surface)}
.edu-category-tree__row>a>span{min-width:0}
.edu-category-tree ul .edu-category-tree__image{flex-basis:36px;width:36px;height:36px;border-radius:6px}
.edu-category-tree__row:hover,.edu-category-tree__row.is-current{background:var(--edu-color-surface);color:var(--edu-color-primary)}
.edu-category-branch{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:var(--edu-color-muted);cursor:pointer}
.edu-category-branch:hover{background:#e8edf6;color:var(--edu-color-primary)}
.edu-category-branch svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .18s}
.edu-category-branch[aria-expanded=true] svg{transform:rotate(90deg)}
.edu-category-tree ul{margin:0 0 10px 18px;padding-left:8px;border-left:1px solid var(--edu-color-line)}
.edu-category-tree ul[hidden]{display:none}
.edu-category-tree ul a{padding-block:12px;font-size:.83rem;font-weight:500}
.edu-category-drawer__foot{padding:16px 24px;border-top:1px solid var(--edu-color-line);background:var(--edu-color-surface);color:var(--edu-color-muted);font-size:.73rem}
.edu-category-empty{padding:8px 12px;color:var(--edu-color-muted);font-size:.9rem}
html.has-category-drawer{overflow:hidden}
@keyframes edu-category-enter{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(max-width:980px){.edu-category-toggle--desktop{display:none}.edu-category-toggle--mobile{display:grid;place-items:center;grid-column:1;grid-row:1;width:44px;height:44px;min-height:44px;gap:0;padding:0;border-radius:10px}.edu-category-toggle--mobile .edu-category-toggle__label{display:none}.edu-category-toggle--mobile>svg{width:22px;height:22px}.header-main{grid-template-columns:44px minmax(0,1fr) auto auto;column-gap:10px}.site-branding{grid-column:2;grid-row:1}.header-actions{grid-column:3;grid-row:1}.nav-toggle{grid-column:4;grid-row:1}.header-search{grid-column:1/-1}.site-branding .custom-logo{max-width:100%;height:auto}.site-branding .brand-wordmark{font-size:clamp(.85rem,2.4vw,1.4rem);line-height:1.15;overflow-wrap:anywhere}}
@media(max-width:620px){.header-main{grid-template-columns:44px minmax(0,1fr) auto 36px;column-gap:5px}.edu-category-toggle--mobile{width:44px}.header-main .nav-toggle{width:36px}.header-actions{gap:1px}.header-main .header-actions .header-action{width:36px;height:44px}.header-main .header-actions .header-action__icon{width:32px;height:36px}.edu-category-drawer__head{padding:22px 18px}.edu-category-drawer__body{padding:16px 12px}.edu-category-drawer__foot{padding:16px 20px}}
@media(prefers-reduced-motion:reduce){.edu-category-drawer[open]{animation:none}.edu-category-branch svg{transition:none}}
