.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.program-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));margin:24px 0}.program-card{display:flex;flex-direction:column;gap:10px}.program-card h2,.program-card h3{margin:0;color:var(--blue-dark);font-size:21px}.program-card p{margin:4px 0}.program-card form,.program-card>.button{margin-top:auto}.program-card details{margin:12px 0;line-height:1.8}.program-card summary{cursor:pointer;color:var(--blue-dark)}.progress-copy{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:14px}.progress-copy strong{font-size:24px;color:var(--blue-dark)}.progress-copy span{color:var(--muted)}.card-action{margin-top:auto;color:var(--blue-dark);font-weight:700}.enrolled-badge{color:#13795b;font-weight:700}.curriculum-section{border:1px solid var(--line);border-radius:10px;margin:18px 0;padding:18px}.curriculum-section>summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer;font-size:18px;font-weight:700;list-style:revert}.curriculum-section>summary strong{color:var(--blue-dark);white-space:nowrap}.lesson-list{list-style:none;padding:0}.lesson-list li{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);padding:18px 0}.lesson-list small{display:block;color:var(--muted);margin-top:8px}.lesson-list .button{flex-shrink:0}.program-detail{scroll-margin-top:20px}.admin-progress-table{width:100%;border-collapse:collapse}.admin-progress-table th,.admin-progress-table td{text-align:left;padding:16px;vertical-align:top}.admin-progress-table .progress-copy{min-width:180px}.table-scroll{overflow-x:auto}.empty-state{text-align:center;padding:50px 24px}@media(max-width:760px){.page-heading{display:block}.page-heading>.button{margin-top:14px}.topbar{height:auto;flex-wrap:wrap;gap:14px}.nav{flex-wrap:wrap}.lesson-list li{align-items:flex-start;flex-direction:column}.curriculum-section{padding:14px}.program-card,.page{min-width:0;overflow-wrap:anywhere}.progress-copy{flex-wrap:wrap}}
.genre-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;margin:24px 0}.genre-button{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:22px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-decoration:none;transition:.15s}.genre-button:hover,.genre-button.active{border-color:var(--blue);box-shadow:0 5px 18px #185b9015}.genre-button.active{background:#f1f8fd}.genre-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:11px;background:#e8f4fd;color:var(--blue-dark);font-weight:900}.genre-button strong,.genre-button small{display:block}.genre-button strong{font-size:18px;color:var(--blue-dark)}.genre-button small{margin-top:5px;color:var(--muted);line-height:1.45}.genre-button>b{color:var(--muted);font-size:13px;white-space:nowrap}.genre-guide{text-align:center;padding:42px 20px}.curriculum-results{scroll-margin-top:18px}.results-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:30px}.results-heading p,.results-heading h2{margin:4px 0}@media(max-width:760px){.genre-grid{grid-template-columns:1fr}.genre-button{grid-template-columns:44px minmax(0,1fr) auto;padding:17px}.genre-icon{width:44px;height:44px}.results-heading{display:block}.results-heading>a{display:inline-block;margin-top:8px}}
.tag-filter{margin:24px 0}.tag-filter h2{margin:0 0 5px}.tag-options{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.tag-chip{position:relative}.tag-chip input{position:absolute;opacity:0;pointer-events:none}.tag-chip span{display:inline-block;padding:9px 15px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--blue-dark);font-weight:700;cursor:pointer}.tag-chip input:checked+span{border-color:var(--blue);background:var(--blue);color:#fff}.tag-chip input:focus-visible+span{outline:3px solid #e9b051;outline-offset:2px}.tag-actions{display:flex;gap:18px;align-items:center}.program-tags{display:flex;flex-wrap:wrap;gap:6px}.program-tags span{padding:5px 9px;border-radius:999px;background:#eef5fa;color:#48657a;font-size:12px}@media(max-width:760px){.tag-actions{align-items:stretch;flex-direction:column}.tag-actions button{width:100%}}
.stat-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.stat-card{display:flex;gap:14px;align-items:center}.stat-icon{font-size:28px;line-height:1}.stat-card strong{display:block;font-size:22px;color:var(--blue-dark)}.donut-card{flex-direction:column;text-align:center;gap:10px}.donut{width:120px;height:120px;border-radius:50%;display:grid;place-items:center;margin:0 auto}.donut::before{content:'';width:76px;height:76px;border-radius:50%;background:var(--white)}.donut span{position:relative;z-index:1;font-weight:800;font-size:20px;color:var(--blue-dark)}.donut span small{display:block;font-size:11px;font-weight:600;color:var(--muted)}.donut-legend{list-style:none;padding:0;margin:0;display:flex;gap:12px;flex-wrap:wrap;justify-content:center;font-size:12px;color:var(--muted)}.donut-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px;vertical-align:middle}
.hero-next{background:linear-gradient(135deg,#eef6fd,#ffffff)}.hero-next h2{color:var(--blue-dark);margin:2px 0 8px}.last-studied{font-size:12px}.completed-card{border-color:#bfe3d0}.completed-badge{color:var(--ok);font-weight:700;margin:0 0 4px}
.side-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.achievement-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}.achievement-list li{display:flex;gap:12px;align-items:flex-start}.achievement-check{width:22px;height:22px;flex:none;border-radius:50%;background:#e8f6ef;color:var(--ok);display:grid;place-items:center;font-size:13px;font-weight:800}.achievement-list small{display:block;color:var(--muted);margin-top:2px}
.calendar-strip{display:flex;gap:8px;justify-content:space-between}.calendar-day{display:flex;flex-direction:column;align-items:center;gap:6px}.calendar-label{font-size:11px;color:var(--muted)}.calendar-cell{width:22px;height:22px;border-radius:6px;background:var(--line);display:inline-block}.calendar-cell.level-1{background:#a9d3ef}.calendar-cell.level-2{background:#4fa3dd}.calendar-cell.level-3{background:var(--blue-dark)}.calendar-cell.today{outline:2px solid var(--blue);outline-offset:2px}.calendar-legend{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted);margin-top:14px}.calendar-legend .calendar-cell{width:14px;height:14px;border-radius:4px}
@media(max-width:760px){.stat-grid,.side-grid{grid-template-columns:1fr}}
