/* Shared public student theme; admin controls keep their existing layout. */
body.student-theme{--surface:#fff;--border:#dce7f3;--muted:#52677d;--brand:#008e83;--link:#0665ec;background:#f4f8fd;color:#14243b;font-family:system-ui,-apple-system,"Segoe UI","Nirmala UI",sans-serif;font-size:15px;line-height:1.55}
.student-theme .wrap{width:min(1280px,calc(100% - 32px))}
.student-theme main{padding-top:22px;padding-bottom:36px}
.student-theme h1{font-size:28px;line-height:1.25;font-weight:750}.student-theme h2{font-size:20px}.student-theme h3{font-size:16px}
.student-theme .site-header,.student-theme .site-menu-shell{background:#fff;border-color:var(--border)}
.student-theme .primary-menu a{border-radius:6px;background:#f1f6fc;border:1px solid var(--border);padding:7px 12px;color:#214e80}
.student-theme .primary-menu a[aria-current],.student-theme .class-menu a[aria-current]{background:#0665ec;color:#fff;border-color:#0665ec}
.student-theme .header-search-form input{background:#f7faff;border-color:#d1e1f2}.student-theme .header-search-form button{background:#0665ec}
.student-theme .class-grid{gap:12px}.student-theme .class-card{padding:18px;background:#fff;border:1px solid var(--border);border-top:3px solid var(--accent)}
.student-theme .class-card.c9{--accent:#0665ec}.student-theme .class-card.c10{--accent:#009e91}.student-theme .class-card.c11{--accent:#e75d52}.student-theme .class-card.c12{--accent:#7b4ee4}
.student-theme .class-card>strong{font-size:30px}.student-theme .class-card h3{margin:8px 0}.student-theme .class-card p{margin-bottom:14px}.student-theme .card-action{padding-top:10px}
.student-theme .list{border:0;display:grid;gap:8px;margin:16px 0}
.student-theme .list-item,.student-theme .question-link{background:#fff;border:1px solid var(--border);border-radius:8px;padding:14px;gap:12px}
.student-theme .list-item h2,.student-theme .question-link h2{font-size:17px;line-height:1.45}
.student-theme .list-item:hover,.student-theme .question-link:hover{background:#eef6ff;border-color:#98c4fc}
.student-theme .number{background:#e6f1ff;color:#0665ec;border-radius:8px}
.student-theme .breadcrumb-bar{background:#eaf3ff;border-color:#d3e4f9;padding:8px 10px;margin-bottom:18px;gap:10px}
.student-theme .question-shell{gap:20px}.student-theme .question-panel{padding:16px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:none}
.student-theme .question-title{font-size:22px;line-height:1.55}.student-theme .question-panel .options{margin-top:16px;gap:10px}
.student-theme .question-panel .option,.student-theme .option{min-height:54px;padding:12px;box-shadow:none;border-color:#d2e2f6;border-radius:8px;line-height:1.5}
.student-theme .question-panel .option:hover:not(:disabled){transform:none;background:#edf5ff;border-color:#0665ec;box-shadow:none}
.student-theme .option>span:first-child{border-radius:50%;background:#e8f2ff;color:#0665ec}
.student-theme .explanation{border-top-color:#009e91}.student-theme .explanation p{line-height:1.75}
.student-theme .profile-hero{background:#eaf4ff;border-color:#cfe0f6;border-left-color:#0665ec;padding:18px}.student-theme .profile-hero h1{font-size:25px}
.student-theme .profile-avatar{background:#0665ec}.student-theme .profile-stats article{min-height:94px;padding:14px}
.student-theme .profile-section,.student-theme .profile-settings,.student-theme .related{border-color:var(--border);padding:16px}
.student-theme .home-intro{max-width:none;padding-bottom:24px}
.student-theme .learning-banner{position:relative;min-height:240px;display:flex;align-items:center;margin-bottom:20px;background:#f4f9ff;overflow:hidden}
.student-theme .learning-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:right center}
.student-theme .learning-banner-copy{position:relative;width:52%;padding:22px 0;background:#f4f9fff2}
.student-theme .learning-banner-copy h1{font-size:34px;margin:6px 0 10px;color:#073669}
.student-theme .learning-banner-copy p{max-width:42ch;margin:8px 0 16px;color:#365b7c}
.student-theme .home-highlights{gap:12px;margin-top:14px}.student-theme .home-highlights>div{padding:12px;background:#fff;border:1px solid var(--border);border-radius:8px}
.student-theme footer{border-color:var(--border);background:#fff}.student-theme button,.student-theme .button{border-radius:6px}
.student-theme :focus-visible{outline:3px solid #009e91;outline-offset:3px}
body.student-theme[data-theme="dark"]{--surface:#182635;--border:#31465b;--muted:#b5c7d7;background:#101c28;color:#e7f0f9}
.student-theme[data-theme="dark"] .site-menu-shell,.student-theme[data-theme="dark"] .question-panel,.student-theme[data-theme="dark"] .list-item,.student-theme[data-theme="dark"] .question-link,.student-theme[data-theme="dark"] .home-highlights>div{background:#182635;color:#e7f0f9}
.student-theme[data-theme="dark"] .primary-menu a,.student-theme[data-theme="dark"] .breadcrumb-bar,.student-theme[data-theme="dark"] .profile-hero{background:#21374b;color:#dcecff;border-color:#36516c}
@media(max-width:700px){.student-theme .wrap{width:calc(100% - 20px)}.student-theme main{padding-top:14px}.student-theme h1{font-size:24px}.student-theme .class-card{padding:12px}.student-theme .class-grid{gap:8px}.student-theme .question-panel{padding:12px}.student-theme .question-title{font-size:19px}.student-theme .options{grid-template-columns:1fr}.student-theme .learning-banner{min-height:220px}.student-theme .learning-banner>img{object-fit:cover;object-position:center}.student-theme .learning-banner-copy{width:65%;background:#f4f9ffe8;padding:18px 10px}.student-theme .learning-banner-copy h1{font-size:26px}.student-theme .learning-banner-copy p{color:#153750;font-size:14px}.student-theme .home-highlights{grid-template-columns:1fr}.student-theme .list-item{padding:12px}.student-theme .profile-layout{gap:12px}}
@media(prefers-reduced-motion:reduce){.student-theme *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Shared compact study surfaces across the public directory and practice pages. */
.student-theme .section-heading{margin:0 0 12px;padding:0 0 8px;border-bottom:1px solid var(--border)}
.student-theme .section-heading h2{font-size:19px;color:#123f77}
.student-theme .taxonomy-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.student-theme .taxonomy-list-row{border:0;min-width:0}
.student-theme .taxonomy-list .list-item{height:100%;padding:12px;gap:11px;border:1px solid var(--border);border-left:3px solid #0665ec;border-radius:8px;align-items:center}
.student-theme .taxonomy-list .list-item:nth-child(4n+2){border-left-color:#009e91}
.student-theme .taxonomy-list .list-item:nth-child(4n+3){border-left-color:#e75d52}
.student-theme .taxonomy-list .list-item:nth-child(4n){border-left-color:#7b4ee4}
.student-theme .taxonomy-list .list-item>div{min-width:0}
.student-theme .taxonomy-list h2{font-size:16px;line-height:1.3;color:#173452}
.student-theme .taxonomy-list p{font-size:12px;line-height:1.45;color:var(--muted);margin-top:3px}
.student-theme .taxonomy-list .content-counts{font-size:12px;font-weight:700;color:#087c75;margin-top:6px}
.student-theme .taxonomy-symbol{width:42px;flex-basis:42px;min-height:46px;background:#e9f2ff;color:#0665ec}
.student-theme .subject-pictogram{font-size:23px;line-height:1}
.student-theme .taxonomy-symbol small{font-size:10px}
.student-theme .directory-class{padding-top:16px;border-color:var(--border)}
.student-theme .directory-intro{margin-bottom:18px}
.student-theme .lead{line-height:1.55;margin-top:4px}
.student-theme .advanced-search-panel,.student-theme .quiz-panel,.student-theme .student-feedback,.student-theme .report-form{background:#fff;border-color:var(--border);border-radius:8px}
.student-theme .advanced-search-panel{padding:16px}
.student-theme .advanced-search-form{gap:10px}
.student-theme input,.student-theme select,.student-theme textarea{border-color:#c9daeb;border-radius:6px}
.student-theme .practice-question-list .question-link,.student-theme .tag-question-card{background:#fff;border:1px solid var(--border);border-left:3px solid #0665ec;border-radius:8px;box-shadow:none;transform:none}
.student-theme .practice-question-list .question-link:nth-child(even){border-left-color:#009e91}
.student-theme .practice-question-list .question-link:hover{transform:none;box-shadow:none;background:#edf5ff}
.student-theme .quiz-choice,.student-theme .quiz-jump{border-radius:8px}
.student-theme .profile-layout{gap:16px}
.student-theme .profile-stats{gap:9px}
.student-theme .learning-banner-copy{border-left:4px solid #0665ec;padding-left:18px}
body.student-theme[data-theme="dark"] .taxonomy-list .list-item,body.student-theme[data-theme="dark"] .advanced-search-panel,body.student-theme[data-theme="dark"] .quiz-panel,body.student-theme[data-theme="dark"] .student-feedback,body.student-theme[data-theme="dark"] .report-form,body.student-theme[data-theme="dark"] .practice-question-list .question-link,body.student-theme[data-theme="dark"] .tag-question-card{background:#182635;color:#e7f0f9;border-color:#36516c}
body.student-theme[data-theme="dark"] .taxonomy-list h2,body.student-theme[data-theme="dark"] .section-heading h2{color:#dcecff}
@media(max-width:700px){.student-theme .taxonomy-list{grid-template-columns:1fr}.student-theme .taxonomy-list .list-item{padding:10px}.student-theme .section-heading h2{font-size:18px}.student-theme .advanced-search-panel{padding:12px}.student-theme .learning-banner-copy{padding-left:10px}}
