.teacher-intranet { --portal-line:#dfe7e3; --portal-accent:#08796b; color:#23312f; font-family:Inter,"Segoe UI",Arial,sans-serif; }
.teacher-portal .schedule-slot:disabled { opacity:1; cursor:default; filter:none; }
.teacher-intranet * { box-sizing:border-box; }
.teacher-intranet button { font-family:inherit; transition:background 160ms,border-color 160ms,box-shadow 160ms; }
.portal-heading { padding:8px 0 24px; margin-bottom:24px; border-bottom:1px solid var(--portal-line); }
.portal-heading h2 { font-size:30px; font-weight:600; line-height:1.25; }
.portal-heading p { text-transform:none; line-height:1.7; }.portal-heading p::first-letter { text-transform:uppercase; }
.portal-eyebrow { font-weight:600; margin-bottom:10px; }
.portal-refresh { padding:10px 14px; border-color:var(--portal-line); box-shadow:0 1px 2px #17372a06; }
.portal-refresh:hover { background:#f2f8f5; border-color:#a8c9bc; }
.portal-counters { gap:16px; border:0; padding:0; margin-bottom:24px; }
.portal-counters > div,.portal-counters > div:first-child,.portal-counters > div:last-child { padding:20px; gap:16px; border:1px solid #d5e8df; border-radius:8px; background:#eff8f3; }
.portal-counters > div:nth-child(2) { background:#f0f5ff; border-color:#dce5f4; }.portal-counters > div:nth-child(3) { background:#fff8e9; border-color:#efe4c6; }
.portal-counters > div.has-unread-notices:first-child { background:#fff0ef; border-color:#e9aaa5; color:#a02b25; box-shadow:inset 3px 0 #c8443b; }
.portal-counters > div.has-unread-notices .portal-counter-icon.teal { background:#ffe0dd; color:#b1322a; }
.portal-counters > div.has-unread-notices div > span { color:#953c36; }
.teacher-intranet .portal-notice.is-unread {
 background:#fff8f7; border-color:#ebbbb6; border-left:3px solid #c8443b;
 animation:portal-unread-highlight 3s ease-in-out infinite;
}
.teacher-intranet .portal-notice.is-unread:hover { background:#fff1ef; border-color:#d37c73; }
.portal-notice.is-unread .portal-new { background:#ffe0dd; color:#a02b25; }
.portal-notice.is-unread .portal-read-button { background:#b4372f; border-color:#b4372f; color:#fff; }
.portal-notice.is-unread .portal-read-button:hover { background:#922920; border-color:#922920; }
@keyframes portal-unread-highlight {
 0%,100% { box-shadow:0 0 0 0 #c8443b00; }
 50% { box-shadow:0 0 0 3px #c8443b14; }
}
@media(prefers-reduced-motion:reduce) { .teacher-intranet .portal-notice.is-unread { animation:none; } }
.portal-counter-icon,.portal-counter-icon.teal,.portal-counter-icon.blue,.portal-counter-icon.gold { background:#ffffffa0; }
.portal-counters strong { font-size:28px; font-weight:600; }.portal-counters div div > span { display:block; margin-top:5px; color:#53665d; }
.portal-taskbar { padding-bottom:26px; margin-bottom:26px; border-bottom:1px solid var(--portal-line); }
.portal-taskbar > button { min-height:74px; padding:14px; gap:12px; box-shadow:0 2px 3px #17372a03; }
.portal-taskbar > button:hover { background:#fcfefd; border-color:#94b7a9; box-shadow:0 4px 12px #17372a09; }
.portal-task-icon { display:grid; place-items:center; flex:0 0 34px; height:34px; border-radius:6px; background:#eaf6f0; color:#14765c; }
.portal-taskbar > button:nth-child(2) .portal-task-icon { background:#f3eefb; color:#8158a7; }.portal-taskbar > button:nth-child(3) .portal-task-icon { background:#edf3ff; color:#496daf; }.portal-taskbar > button:nth-child(4) .portal-task-icon { background:#fff6df; color:#99711e; }
.portal-taskbar strong { font-weight:600; line-height:1.45; }.portal-taskbar small { font-size:10px; line-height:1.5; }.portal-taskbar > button > svg { width:13px; }
.portal-columns { grid-template-columns:minmax(0,1fr) 330px; gap:32px; align-items:start; }
.portal-side { display:flex; flex-direction:column; gap:24px; padding-left:24px; border-left:1px solid var(--portal-line); }
.portal-calendar { order:0; width:100%; padding:0; border:0; background:transparent; }
.portal-weather { order:1; width:100%; padding:18px 0; margin:0; border:0; border-block:1px solid var(--portal-line); border-radius:0; background:transparent; }
.portal-class-list { order:2; width:100%; margin:0; }
.portal-section-heading { margin-bottom:16px; }.portal-section-heading h2 { font-weight:600; }
.portal-notice { padding:22px; margin-bottom:14px; border-radius:8px; border-color:var(--portal-line); box-shadow:0 2px 5px #17372a03; }
.portal-notice.is-unread { background:#fff; border-left:3px solid #179577; }.portal-notice:hover { border-color:#a9c6b9; box-shadow:0 3px 12px #17372a06; }
.portal-notice-meta { font-size:11px; }.portal-notice-meta > span:first-child { color:#416352; font-weight:600; }.portal-new { padding:3px 7px; border-radius:4px; background:#e9f7ef; }
.portal-notice h3 { font-size:16px; font-weight:600; line-height:1.5; margin:14px 0 8px; }.portal-notice p { line-height:1.85; color:#5a6962; margin-bottom:18px; }
.portal-notice-footer { padding-top:14px; gap:12px; }.portal-read-button { background:#0b7c63; color:#fff; border-color:#0b7c63; border-radius:5px; padding:8px 11px; font-weight:600; }.portal-read-button:hover { background:#06634f; border-color:#06634f; }
.portal-text-button:hover { color:#034d43; text-decoration:underline; text-underline-offset:4px; }
.portal-calendar-head { margin-bottom:20px; }.portal-calendar-head h3 { font-size:14px; font-weight:600; }.portal-calendar-head > div { gap:6px; }
.portal-icon-button { width:30px; height:30px; border-radius:5px; }.portal-icon-button:hover { background:#edf6f1; border-color:#a9c6b9; }
.portal-day { font-size:12px; border-radius:6px; }.portal-day.is-selected { background:#11745f; border-color:#11745f; box-shadow:0 2px 4px #11745f20; }
.portal-day-events { padding-top:16px; }.portal-subhead { font-size:12px; }.portal-event { padding:12px 0; }
.portal-weather h3 { font-size:14px; font-weight:600; }.portal-weather-current { padding:18px 0; gap:20px; }.portal-weather-current > strong { font-size:42px; color:#426e8c; }.portal-weather-current span,.portal-weather-current small { font-size:11px; }
.portal-forecast { padding:12px 8px; border:0; border-radius:6px; background:#edf4fa; }.portal-forecast strong { font-size:14px; }
.portal-class-list > div { padding:12px 0; }.portal-class-list small { display:block; margin-top:4px; font-size:11px; }
.agenda-heading { margin-top:30px; }.portal-agenda-row { position:relative; padding:18px 0 18px 14px; gap:18px; }.portal-agenda-row::before { content:""; position:absolute; left:0; top:20px; bottom:20px; width:3px; background:#b8d8cb; border-radius:2px; }.portal-agenda-row strong { font-size:13px; font-weight:600; }
.portal-pending { background:#fff2f0; border:1px solid #f0c9c5; border-left:3px solid #c24c42; border-radius:6px; color:#943c34; padding:14px 16px; }.portal-pending .portal-text-button { color:#943c34; }
@media(max-width:1180px) { .portal-columns { grid-template-columns:minmax(0,1fr) 290px; gap:24px; }.portal-side { padding-left:20px; }.portal-counters > div,.portal-counters > div:first-child,.portal-counters > div:last-child { padding:16px; gap:12px; } }
@media(max-width:850px) { .portal-columns { grid-template-columns:minmax(0,1fr); }.portal-side { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; border-left:0; border-top:1px solid var(--portal-line); padding:24px 0 0; }.portal-class-list { grid-column:1 / -1; }.portal-weather { grid-column:auto; padding-top:0; border-top:0; }.portal-counters { gap:10px; }.portal-counters > div,.portal-counters > div:first-child,.portal-counters > div:last-child { padding:14px; gap:10px; }.portal-counters strong { font-size:24px; }.portal-counter-icon { width:34px; height:34px; }.portal-heading h2 { font-size:27px; } }
@media(max-width:480px) { .portal-heading h2 { font-size:25px; }.portal-heading p { font-size:12px; }.portal-refresh { padding:9px; gap:0; }.portal-counters { gap:8px; }.portal-counters > div,.portal-counters > div:first-child,.portal-counters > div:last-child { padding:12px 10px; }.portal-counter-icon { width:28px; height:28px; margin-bottom:12px; }.portal-counters div div > span { font-size:10px; line-height:1.6; }.portal-taskbar { gap:8px; }.portal-taskbar > button { padding:12px 10px; gap:8px; min-height:68px; }.portal-task-icon { flex-basis:28px; height:28px; }.portal-taskbar strong { font-size:11px; }.portal-notice { padding:18px; }.portal-notice h3 { font-size:15px; }.portal-read-button { min-height:34px; }.portal-side { grid-template-columns:minmax(0,1fr); }.portal-class-list { grid-column:auto; }.portal-weather { padding-top:20px; border-top:1px solid var(--portal-line); }.portal-pending { flex-wrap:wrap; }.portal-pending span { flex-basis:75%; }.portal-agenda-row { flex-wrap:wrap; gap:10px; }.portal-agenda-row > .portal-text-button { margin-left:90px; }.portal-day { max-height:44px; } }
@media(prefers-reduced-motion:reduce) { .teacher-intranet button,.portal-notice { transition:none; } }
@media(max-width:480px) {
 .portal-agenda-row { display:grid; grid-template-columns:80px minmax(0,1fr); align-items:start; }
 .portal-agenda-row > div { width:100%; }
 .portal-agenda-row > .portal-text-button { grid-column:2; margin:0; justify-self:start; }
}
