.feed-note{padding:14px 18px;border:1px solid #bae6fd;border-radius:12px;background:#f0f9ff;color:#075985;line-height:1.75;margin:0 0 18px;font-size:14px}
.feed-meta{font-size:12px;color:#64748b;line-height:1.7;margin:8px 0 14px}
.feed-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}
.feed-controls label{display:flex;align-items:center;gap:6px;font-size:14px}
.feed-controls select,.feed-controls input{background:#fff;color:#164e63;border:1px solid #bae6fd;border-radius:8px;padding:9px 12px;font:inherit;max-width:100%}
.feed-controls input{min-width:180px;flex:1}
.feed-button{border:1px solid #bae6fd;background:#fff;color:#075985;padding:8px 16px;border-radius:20px;cursor:pointer;font:inherit;font-size:14px}
.feed-button.active{background:#0369a1;color:#fff;border-color:#0369a1}
.feed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.feed-card{padding:22px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;min-width:0;box-shadow:0 2px 8px #0c4a6e08}
.feed-card h3{font-size:18px;color:#0c4a6e;line-height:1.55;margin:10px 0;overflow-wrap:anywhere}
.feed-card a{color:#0369a1;text-decoration:none;overflow-wrap:anywhere}
.feed-card a:hover{text-decoration:underline}
.feed-card ul{padding-left:20px;margin:10px 0;line-height:1.8;font-size:13px}
.feed-tag{display:inline-block;background:#e0f2fe;color:#075985;font-size:12px;padding:4px 9px;border-radius:6px}
.feed-empty{padding:30px;text-align:center;color:#64748b}
.feed-table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
.feed-table{border-collapse:collapse;width:100%;min-width:680px;font-size:14px}
.feed-table th,.feed-table td{text-align:left;padding:12px 14px;border-bottom:1px solid #e2e8f0;vertical-align:top;line-height:1.7}
.feed-table th{background:#f0f9ff;color:#075985;white-space:nowrap}
.feed-table tr.upcoming{background:#f0fdf4}
.schedule-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 20px;padding:14px 18px;border-radius:10px;background:#e0f2fe;color:#075985;margin:16px 0}
.schedule-period strong{font-size:20px}
.schedule-period span{font-size:13px;line-height:1.6}
body.dark .schedule-period{background:#0c4a6e;color:#e0f2fe}
.course-subject-group{margin:0 0 28px;min-width:0}
.course-subject-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px;padding:10px 14px;border-left:4px solid #0ea5e9;background:#e0f2fe;border-radius:8px;color:#075985}
.course-subject-heading h3{font-size:19px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.course-subject-heading span{font-size:13px;white-space:nowrap}
.course-subject-group .feed-table td:first-child{white-space:nowrap}
.course-subject-group .feed-table td:last-child{white-space:pre-line;min-width:220px}
.feed-honors{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:20px}
.feed-honors .honor-card{cursor:pointer;overflow:hidden}
.feed-honors img{width:100%;height:330px;object-fit:contain;background:#fff;display:block}
.feed-honors .honor-name,.feed-honors .honor-uni{padding:6px 14px}
.feed-honors .honor-uni{padding-bottom:14px}
.honor-category-title{font-size:22px;color:#075985;margin:8px 0 20px}
.feed-honors .honor-category-label{display:block;margin:0 14px 14px;padding:6px 10px;background:#e0f2fe;color:#075985;border-radius:8px;font-size:13px;font-weight:600}
body.dark .honor-category-title{color:#7dd3fc}
body.dark .feed-honors .honor-category-label{background:#0c4a6e;color:#e0f2fe}
.feed-source-panel{margin:0 0 22px;border:1px solid #bae6fd;border-radius:12px;padding:16px;background:#f8fcff}
.feed-source-panel>summary{cursor:pointer;color:#075985;font-weight:600;font-size:16px}
.feed-source-panel .feed-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));max-height:650px;overflow:auto;padding:2px}
.feed-window{font-size:13px;border-left:3px solid #38bdf8;padding-left:10px;margin:10px 0;line-height:1.8}
.feed-unavailable{color:#92400e}
#students-live{max-width:1000px}
.student-school-panel{margin-top:28px;padding:26px;background:#fff;border-radius:16px;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.student-school-panel h3{font-size:22px;color:#0c4a6e;margin-bottom:8px}
.student-schools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;list-style:none;padding:0;margin:20px 0 0}
.student-school-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px;line-height:1.6}
.student-school-label span{overflow-wrap:anywhere}
.student-school-label strong{white-space:nowrap;color:#0369a1;font-variant-numeric:tabular-nums}
.student-school-track{height:7px;border-radius:4px;background:#e0f2fe;margin-top:7px;overflow:hidden}
.student-school-track span{display:block;height:100%;background:linear-gradient(90deg,#0284c7,#0d9488);border-radius:4px}
body.dark .student-school-panel,body.dark #students-live .student-stat-card{background:#1e293b}
body.dark .student-school-panel h3,body.dark .student-school-label strong{color:#7dd3fc}
body.dark #students-live .student-stat-label{color:#e2e8f0}
@media(max-width:600px){.student-schools{grid-template-columns:1fr}.student-school-panel{padding:20px}.student-school-label{font-size:14px}#students-live .student-stat-card{padding:24px 12px}}
.annual-plan-scroll{overflow-x:auto;background:#fff}
.annual-plan-image{display:block;min-width:800px;cursor:zoom-in}
.annual-plan-image img{display:block;width:100%;height:auto}
.annual-plan-note{margin-top:12px;font-size:14px;line-height:1.8}
.annual-plan-note a{color:#0369a1;text-decoration:underline;text-underline-offset:3px}
.annual-plan-image:focus-visible{outline:3px solid #0284c7;outline-offset:-3px}
body.dark .annual-plan-note a{color:#7dd3fc}
body.dark .feed-note,body.dark .feed-source-panel{background:#0f172a;border-color:#334155;color:#bae6fd}
body.dark .feed-card,body.dark .feed-table-wrap,body.dark .feed-controls select,body.dark .feed-controls input,body.dark .feed-button{background:#1e293b;border-color:#334155;color:#e2e8f0}
body.dark .feed-card h3,body.dark .feed-source-panel>summary,body.dark .feed-card a{color:#7dd3fc}
body.dark .feed-meta{color:#94a3b8}
body.dark .feed-table th{background:#0f172a;color:#7dd3fc}
body.dark .feed-table td,body.dark .feed-table th{border-color:#334155}
body.dark .feed-table tr.upcoming{background:#13332c}
body.dark .course-subject-heading{background:#0c4a6e;color:#e0f2fe}
body.dark .feed-button.active{background:#0369a1;color:white}
@media(max-width:600px){.feed-grid{grid-template-columns:1fr}.feed-card{padding:17px}.feed-honors{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feed-honors img{height:230px}.feed-controls{gap:8px}.feed-controls input{width:100%}.feed-table-wrap{max-width:100%}}
