/* Course homepage additions. Loaded only by the public homepage. */
.course-home {
  --course-green: #234b38;
  --course-green-light: #edf4e8;
  --course-yellow: #f5d66f;
  --course-border: #dfe7dc;
  --course-muted: #5d7064;
  background: #f7f9f4;
}
.course-home *, .course-home *::before, .course-home *::after { box-sizing: border-box; }
.course-home [hidden] { display: none !important; }
.course-home h2, .course-home h3, .course-home p { overflow-wrap: anywhere; }
.course-home a, .course-home button, .course-home summary, .course-home input { -webkit-tap-highlight-color: transparent; }
.course-home :is(a, button, summary, input):focus-visible {
  outline: 3px solid #977000;
  outline-offset: 4px;
}
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 100; transform: translateY(-200%); border-radius: 8px; padding: 10px 16px; background: var(--course-green); color: #fff; font-weight: 700; font-size: 14px; }
.skip-link:focus { transform: translateY(0); }
.course-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(5%, calc((100vw - 1200px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--course-border);
}
.course-brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 17px; font-weight: 750; line-height: 1.4; }
.course-brand img { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; border-radius: 12px; }
.course-brand span { display: block; }
.course-brand small { display: block; margin-top: 3px; font-size: 11px; font-weight: 500; letter-spacing: .07em; color: var(--course-muted); }
.course-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.course-nav a { padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.course-nav a:hover { color: var(--course-green); background: var(--course-green-light); }
.course-home .login { min-height: 600px; }
.course-home .login-story { gap: 20px; padding: 36px 8%; }
.course-home .login-panel { padding: 46px 8% 68px; }
.course-home .logo-stage img { width: 220px; max-width: 100%; height: auto; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 25px; }
.course-home .hero-actions .button { justify-content: center; gap: 8px; flex: 1 1 140px; padding: 13px 16px; text-align: center; font-size: 15px; }
.course-home .button.primary { color: #fff; background: var(--course-green); }
.course-home .button.primary:hover { background: #183c2a; }
.course-home .button.secondary { color: var(--course-green); border: 1px solid #a8bda9; background: #fff; }
.course-home .button.secondary:hover { background: var(--course-green-light); }
.course-home .login-features { margin-top: 26px; margin-bottom: 26px; }
.course-home .material-download-cta { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 74px; margin-top: 16px; padding: 14px 16px; border: 2px solid #a38425; border-radius: 12px; background: var(--course-yellow); color: var(--course-green); text-align: left; text-decoration: none; line-height: 1.4; }
.course-home .material-download-cta svg { display: block; flex-shrink: 0; }
.material-download-copy { display: block; min-width: 0; }
.material-download-label { display: block; font-size: 17px; font-weight: 750; }
.material-download-copy small { display: block; margin-top: 3px; color: #3f572e; font-size: 12px; font-weight: 550; }
.course-home .material-download-cta:hover { background: #f2cc4f; border-color: #806813; color: #193d2a; text-decoration: none; }
.course-home .material-download-cta:focus-visible { outline: 3px solid #315e45; outline-offset: 4px; border-color: #315e45; background: #ffe394; text-decoration: none; }
.course-content { max-width: 1200px; margin: 0 auto; padding: 0 32px 64px; }
.course-section { padding-top: 64px; scroll-margin-top: 24px; }
.course-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.course-section-heading .eyebrow, .selected-day-card .eyebrow { margin: 0 0 6px; color: #557448; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.course-section-heading h2 { margin: 0; font-size: clamp(25px, 3.5vw, 34px); line-height: 1.4; font-weight: 750; color: var(--course-green); }
.course-section-heading .muted { margin-top: 12px; font-size: 15px; }
.course-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.course-topic-card { min-width: 0; padding: 24px; border: 1px solid var(--course-border); border-top: 4px solid #829d6b; border-radius: 14px; background: #fff; }
.course-topic-card:nth-child(2) { background: var(--course-green-light); }
.course-topic-card:nth-child(3) { border-top-color: #cfac3f; background: #fff9e7; }
.course-topic-card h3 { margin: 0; color: var(--course-green); font-size: 20px; font-weight: 750; line-height: 1.65; overflow-wrap: anywhere; }
.course-home .muted { color: var(--course-muted); }
.section-tag { flex-shrink: 0; margin-top: 10px; border: 1px solid #d1dfc8; border-radius: 999px; padding: 7px 13px; background: #edf3e6; color: #47673b; font-size: 12px; font-weight: 650; }
.course-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.course-facts > span { display: inline-block; max-width: 100%; padding: 6px 12px; border: 1px solid #d8e3d0; border-radius: 999px; background: #eef4e8; color: #416334; font-size: 13px; font-weight: 600; }
.outline-intro { padding: 15px 18px; margin: 0 0 22px; border-left: 3px solid #d5b75a; border-radius: 0 10px 10px 0; background: #fff9e7; font-size: 14px; line-height: 1.8; }
.outline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.outline-card { min-width: 0; border: 1px solid var(--course-border); border-radius: 18px; background: #fff; overflow: hidden; scroll-margin-top: 24px; }
.outline-card[open] { border-color: #adc49c; box-shadow: 0 5px 22px #234b3808; }
.outline-featured { grid-column: 1 / -1; }
.outline-summary { display: flex; align-items: center; gap: 16px; min-height: 118px; padding: 23px; cursor: pointer; list-style: none; }
.outline-summary::-webkit-details-marker { display: none; }
.outline-summary:hover { background: #f7faf3; }
.outline-summary:focus-visible { outline-offset: -5px; }
.outline-week { flex-shrink: 0; display: grid; place-items: center; align-self: flex-start; min-width: 64px; padding: 11px 8px; border-radius: 12px; background: #eef4e8; color: #416334; font-size: 13px; font-weight: 750; line-height: 1.5; text-align: center; }
.outline-featured .outline-week { background: #faedbc; color: #775b16; }
.outline-copy { display: block; flex: 1; min-width: 0; }
.outline-source { color: var(--course-muted); font-size: 12px; }
.outline-title { display: block; margin: 4px 0 6px; color: var(--course-green); font-size: 20px; font-weight: 700; line-height: 1.5; }
.outline-subtitle { display: block; margin: 0; color: var(--course-muted); font-size: 14px; line-height: 1.7; }
.outline-toggle { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #dce5d7; border-radius: 50%; color: #547443; font-size: 19px; line-height: 1; }
.outline-card[open] .outline-toggle { font-size: 0; background: #edf4e8; }
.outline-card[open] .outline-toggle::after { content: "−"; font-size: 20px; }
.outline-body { padding: 0 23px 24px; border-top: 1px solid #edf1e8; }
.outline-body > p { margin: 18px 0; color: var(--course-muted); font-size: 14px; }
.outline-points { display: grid; gap: 15px; margin: 20px 0; padding-left: 22px; }
.outline-points li { padding-left: 6px; font-size: 14px; }
.outline-points li::marker { color: #71965d; font-weight: 700; }
.outline-points strong { color: #304c39; }
.outline-points p { margin: 4px 0; color: var(--course-muted); font-size: 14px; }
.slide-source { color: #637360; font-size: 12px; }
.outline-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0; padding: 0; list-style: none; color: var(--course-muted); font-size: 12px; }
.outline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; padding-top: 17px; border-top: 1px solid #e8ede3; font-size: 14px; }
.outline-actions a { color: var(--course-green); font-weight: 650; text-underline-offset: 4px; }
.outline-actions a:hover { text-decoration: underline; }
.outline-actions .button { padding: 10px 16px; border: 1px solid #c6d6bb; border-radius: 9px; background: #f2f6ed; }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 22px; }
.calendar-card { min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--course-border); border-radius: 20px; box-shadow: 0 5px 22px #234b3805; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.calendar-toolbar h3 { margin: 0; color: var(--course-green); font-size: 21px; font-weight: 750; line-height: 1.5; }
.calendar-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.calendar-control {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px; margin: 0;
  border: 1px solid #dbe4d6; border-radius: 9px; background: #fff;
  color: var(--course-green); font-family: inherit; font-size: 14px;
  font-weight: 650; line-height: 1; cursor: pointer;
}
.calendar-control:hover { border-color: #afc49c; background: #edf4e8; }
.calendar-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; font-size: 13px; color: var(--course-muted); }
.calendar-picker label { flex-shrink: 0; }
.calendar-picker input {
  min-width: 0; width: 165px; min-height: 39px; padding: 7px 10px;
  border: 1px solid #dbe4d6; border-radius: 8px; background: #fff;
  color: var(--course-green); font-family: inherit; font-size: 13px;
  color-scheme: light;
}
.calendar-weekdays, #calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar-weekdays { margin-bottom: 8px; color: #667960; font-size: 12px; font-weight: 650; text-align: center; }
.calendar-weekdays > * { padding: 7px 0; }
.calendar-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; width: 100%; min-width: 0; height: auto; min-height: 44px; aspect-ratio: 1;
  padding: 4px; margin: 0; border: 1px solid transparent; border-radius: 10px;
  background: #f7f9f3; color: #304a37; font-family: inherit; font-size: 15px;
  font-weight: 600; line-height: 1.2; cursor: pointer;
}
.calendar-day:hover { background: #eaf2e4; border-color: #c0d4b2; }
.calendar-day.is-today { border: 2px solid #c89b29; background: #fff8df; }
.calendar-day.is-selected { border-color: var(--course-green); background: var(--course-green); color: #fff; }
.calendar-day.is-selected.is-today { box-shadow: inset 0 0 0 2px var(--course-yellow); }
.calendar-day.has-course::after { content: ""; position: absolute; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: #588640; }
.calendar-day.has-course.is-selected::after { background: var(--course-yellow); }
.calendar-day.has-course .day-marker { display: none; }
.calendar-day.has-course .day-number { transform: translateY(-3px); }
.day-number { display: block; }
.day-marker { margin-top: 4px; font-size: 9px; line-height: 1.1; }
.calendar-spacer { display: block; min-width: 0; aspect-ratio: 1; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 20px; font-size: 12px; color: var(--course-muted); }
.calendar-legend > * { display: inline-flex; align-items: center; gap: 7px; }
.legend-today, .legend-selected, .legend-course { display: inline-block; flex-shrink: 0; width: 10px; height: 10px; border-radius: 3px; }
.legend-today { border: 2px solid #c89b29; background: #fff8df; }
.legend-selected { background: var(--course-green); }
.legend-course { width: 6px; height: 6px; border-radius: 50%; background: #588640; }
#calendar-status { margin: 14px 0 0; font-size: 12px; line-height: 1.7; color: var(--course-muted); }
.calendar-sidebar { display: grid; gap: 18px; min-width: 0; }
.selected-day-card, .pending-card, .semester-card { min-width: 0; padding: 25px; border: 1px solid var(--course-border); border-radius: 18px; background: #fff; }
.selected-day-card { background: #eef4e8; border-color: #d7e4ce; }
#selected-date { margin: 5px 0 18px; font-size: 23px; font-weight: 750; line-height: 1.5; color: var(--course-green); }
.empty-day { margin: 0; color: #55694f; font-size: 14px; line-height: 1.8; }
.day-course { padding-top: 14px; margin-top: 14px; border-top: 1px solid #d3dfc9; }
.day-course:first-child { margin-top: 0; }
.day-course h4 { margin: 0 0 5px; color: var(--course-green); font-size: 15px; font-weight: 700; line-height: 1.6; }
.day-course-meta { margin: 0 0 12px; color: #566950; font-size: 12px; }
.text-link { display: inline-block; padding: 3px 0; color: var(--course-green); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: #618348; }
.pending-card h3 { margin: 0 0 6px; color: var(--course-green); font-size: 17px; font-weight: 700; }
.pending-card > p { color: var(--course-muted); font-size: 13px; margin: 0 0 16px; }
.semester-card h3 { margin: 0 0 14px; color: var(--course-green); font-size: 17px; font-weight: 700; }
.semester-card p { margin: 0 0 15px; color: #405841; font-size: 14px; line-height: 1.9; }
.semester-card .muted { color: var(--course-muted); font-size: 13px; }
.semester-card .text-link { margin-top: 2px; }
.pending-course { display: flex; align-items: flex-start; gap: 11px; padding: 13px 0; border-top: 1px solid #e7ecdf; }
.pending-course p { margin: 0; font-size: 13px; line-height: 1.7; }
.pending-course h4 { margin: 0 0 3px; color: #304b38; font-size: 14px; font-weight: 650; line-height: 1.6; }
.pending-week { flex-shrink: 0; display: inline-block; padding: 3px 7px; border-radius: 6px; color: #6b581e; background: #fff1c4; font-size: 11px; font-weight: 650; white-space: nowrap; }
.course-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--course-border); color: var(--course-muted); font-size: 12px; }
.course-footer p { margin: 0; }
.course-footer a { color: var(--course-green); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 901px) {
  .outline-featured .outline-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 42px; }
}
@media (max-width: 900px) {
  .course-topic-grid { grid-template-columns: minmax(0, 1fr); }
  .course-topbar { padding: 14px 4%; gap: 14px; }
  .course-nav a { padding: 9px 10px; font-size: 13px; }
  .course-home .login-story { padding: 32px 8%; }
  .course-home .login-panel { padding: 40px 7% 66px; }
  .calendar-layout { grid-template-columns: minmax(0, 1fr); }
  .calendar-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 680px) {
  .course-topbar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 20px; }
  .course-brand { font-size: 16px; gap: 10px; }
  .course-brand img { width: 42px; height: 42px; }
  .course-nav { width: 100%; justify-content: flex-start; gap: 2px; }
  .course-nav a { padding: 8px 10px; font-size: 12px; }
  .course-home .login { min-height: 0; }
  .course-home .login-story { gap: 18px; padding: 25px 8%; }
  .course-home .login-story .eyebrow { margin-top: 8px; }
  .course-home .logo-stage { position: static; align-self: center; padding: 0; }
  .course-home .logo-stage img { width: 140px; }
  .course-home .login-panel { padding: 36px 8% 68px; }
  .course-home .hero-actions .button { flex-basis: 120px; padding: 12px; font-size: 14px; }
  .course-content { padding: 0 20px 36px; }
  .course-section { padding-top: 44px; }
  .course-section-heading { flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .section-tag { margin-top: 0; }
  .outline-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .outline-summary { min-height: 108px; gap: 12px; padding: 18px; }
  .outline-week { min-width: 54px; padding: 9px 6px; font-size: 12px; }
  .outline-title { font-size: 17px; }
  .outline-subtitle { font-size: 13px; }
  .outline-toggle { width: 24px; height: 24px; }
  .outline-body { padding: 0 18px 20px; }
  .calendar-card { padding: 18px; border-radius: 18px; }
  .calendar-toolbar { gap: 9px; }
  .calendar-toolbar h3 { font-size: 19px; }
  .calendar-control { min-width: 36px; height: 38px; padding: 0 8px; font-size: 12px; }
  .calendar-controls { gap: 4px; }
  .calendar-sidebar { grid-template-columns: minmax(0, 1fr); }
  .selected-day-card, .pending-card, .semester-card { padding: 21px; }
  .course-footer { margin-top: 36px; }
}
@media (max-width: 400px) {
  .course-nav a { padding: 8px; }
  .calendar-card { margin-inline: -12px; padding: 12px; }
  .calendar-weekdays, #calendar-grid { gap: 2px; }
  .calendar-toolbar { padding: 3px 2px 0; }
  .calendar-day { border-radius: 8px; font-size: 14px; }
  .calendar-day.has-course::after { bottom: 6px; }
  .calendar-legend { gap: 8px 13px; }
  .outline-summary { padding: 16px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .course-home *, .course-home *::before, .course-home *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Finished dates stay interactive, with an explicit grayscale selection state. */
.calendar-day.is-past { background: #eef0f2; color: #646d74; border-color: #e0e3e6; }
.calendar-day.is-past:hover { background: #e2e6e9; border-color: #a9b0b6; }
.calendar-day.is-past.has-course::after { background: #747d84; }
.calendar-day.is-past.is-selected { background: #525d66; border-color: #525d66; color: #fff; }
.calendar-day.is-past.is-selected::after { background: #f1f3f5; }
.calendar-day.is-past.is-today { border-color: #c89b29; }
.legend-past { display: inline-block; flex-shrink: 0; width: 10px; height: 10px; border-radius: 3px; background: #d2d7dc; border: 1px solid #747d84; }
.course-time-status { display: inline-block; margin: 0 0 5px 8px; padding: 2px 7px; border-radius: 5px; background: #dfe3e7; color: #48535c; font-size: 11px; font-weight: 700; line-height: 1.5; vertical-align: middle; }
.day-course > .course-time-status { margin-left: 0; }
.outline-card.is-past { background: #f1f3f4; border-color: #d8dde1; }
.outline-card.is-past .outline-summary:hover { background: #e8ecef; }
.outline-card.is-past .outline-week, .outline-card.is-past .outline-meta span, .outline-card.is-past .outline-toggle { background: #e1e5e8; color: #535e67; }
.outline-card.is-past .outline-title, .outline-card.is-past .outline-points strong { color: #46515a; }
.outline-card.is-past :is(.outline-source, .outline-subtitle, .outline-body, .slide-source, .outline-points p) { color: #626c74; }
.outline-card.is-past .text-link, .day-course.is-past .text-link { color: #46535e; }
.course-home .outline-card.is-past .button.primary { background: #525d66; }
.course-home .outline-card.is-past .button.primary:hover { background: #3d4851; }
.selected-day-card.is-past { background: #f0f2f4; border-color: #d6dce1; }
.selected-day-card.is-past :is(.eyebrow, #selected-date, .empty-day), .day-course.is-past :is(h4, .day-course-meta) { color: #505c66; }
.day-course.is-past { border-color: #cdd4d9; }

/* Integrated public classroom: school -> course -> semester -> week. */
.integrated-home { font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif; }
.integrated-home .course-topbar { padding:16px max(4%,calc((100vw - 1200px)/2)); }
.integrated-home .course-nav .nav-download { background:#f5d66f; color:#234b38; }
.classroom-hero { max-width:1200px; margin:28px auto 0; display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); gap:44px; padding:44px 48px; border-radius:24px; background:#234b38; color:#fff; }
.hero-copy { min-width:0; }
.classroom-hero .eyebrow { color:#f5d66f; font-size:14px; letter-spacing:.08em; margin:0 0 16px; }
.classroom-hero h1 { color:#fff; font-size:clamp(32px,4vw,48px); font-weight:750; line-height:1.4; margin:0 0 18px; }
.hero-lead { color:#e0eadf; font-size:16px; line-height:1.85; margin:0; }
.classroom-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; margin-top:26px; }
.classroom-hero-actions a { color:#fff; font-size:14px; }
.classroom-hero-actions .hero-download { padding:15px 22px; min-height:52px; background:#f5d66f; color:#234b38; border-radius:12px; font-size:16px; font-weight:750; gap:16px; }
.hero-access-note { margin:12px 0 0; color:#dbe8d4; font-size:12px; }
.hero-guide { min-width:0; align-self:center; border:1px solid #ffffff2b; border-radius:18px; padding:26px; background:#ffffff0a; }
.hero-guide img { width:64px; height:64px; object-fit:contain; border-radius:50%; background:#fff; float:right; }
.hero-guide h2 { font-size:20px; line-height:1.5; margin:4px 0 22px; color:#fff; }
.hero-guide ol { list-style:none; margin:0; padding:0; display:grid; gap:16px; font-size:14px; clear:both; }
.hero-guide li { display:flex; align-items:center; gap:14px; }
.hero-guide li span { color:#f5d66f; font-weight:700; font-size:12px; }
.current-week-link { display:block; padding-top:18px; border-top:1px solid #ffffff2b; margin-top:22px; color:#f5d66f; font-size:13px; line-height:1.7; }
.integrated-home .course-section { padding-top:46px; }
.school-course-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.school-course-card { min-width:0; display:flex; flex-direction:column; padding:25px; border:1px solid #dfe7dc; border-radius:18px; background:#fff; }
.school-huwei { background:#eef4e8; }.school-hai { background:#fff8e4; }
.school-label { display:flex; align-items:center; gap:10px; color:#234b38; font-weight:750; font-size:15px; margin:0 0 17px; }
.school-mark { display:grid; place-items:center; width:34px; height:34px; border:1px solid #cfdcc9; border-radius:10px; background:#f2f6ed; font-size:15px; }
.school-hai .school-mark { background:#f5d66f; border-color:#dfc05c; }
.school-course-card h3 { margin:0; font-size:20px; line-height:1.65; color:#234b38; font-weight:700; }
.school-course-description { font-size:14px; line-height:1.8; color:#5d7064; margin:14px 0 24px; }
.school-course-link { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px; margin-top:auto; padding:11px 14px; border:1px solid #bacdac; border-radius:10px; background:#fff; color:#234b38; font-size:14px; font-weight:700; text-decoration:none; }
.school-course-link:hover { background:#f5d66f; border-color:#cfac3f; }
.school-schedule-link { font-size:12px; color:#5d7064; margin-top:12px; }
.hai-course h3 { font-size:16px; }.hai-course .school-course-link { margin-top:12px; padding:8px 12px; }
.hai-course + .hai-course { margin-top:20px; padding-top:20px; border-top:1px solid #e7ddc0; }
.classroom-library { margin-top:10px; }.library-all-link { font-size:14px; margin-top:14px; color:#234b38; font-weight:650; }
.integrated-home .classroom-library .public-filters { grid-template-columns:repeat(3,minmax(0,1fr)); padding:24px; border-radius:16px; border:1px solid #dfe7dc; background:#fff; margin-bottom:24px; }
.integrated-home .filters .filter-search { grid-column:auto; }.integrated-home .filters select { max-width:100%; }
.library-context { font-size:17px; line-height:1.7; color:#234b38; margin:0 0 8px; }.library-note { font-size:13px; color:#5d7064; line-height:1.8; margin-top:20px; }
.schedule-scope { display:flex; align-items:center; gap:20px; border-top:1px solid #dfe7dc; margin-top:52px; padding-top:22px; }.schedule-scope p { font-size:13px; line-height:1.8; color:#5d7064; }.schedule-scope .section-tag { margin:0; }
.integrated-home .course-footer { gap:14px 24px; flex-wrap:wrap; padding:28px 24px; font-size:13px; }
@media(max-width:1240px) { .classroom-hero { margin:24px 32px 0; } }
@media(max-width:900px) { .classroom-hero { grid-template-columns:minmax(0,1fr); padding:32px; gap:26px; }.hero-guide { display:none; }.school-course-grid { grid-template-columns:minmax(0,1fr); }.integrated-home .classroom-library .public-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }.school-course-card { padding:22px; }.school-course-description { margin-bottom:18px; } }
@media(max-width:560px) { .classroom-hero { margin:18px 18px 0; padding:26px 22px; border-radius:18px; }.classroom-hero h1 { color:#fff; font-size:32px; }.hero-lead { font-size:14px; }.classroom-hero-actions { gap:14px; }.classroom-hero-actions .hero-download { width:100%; justify-content:center; padding:14px 10px; font-size:15px; }.integrated-home .course-topbar { padding:14px 18px; gap:12px; }.integrated-home .course-brand { font-size:16px; }.integrated-home .course-nav { justify-content:flex-start; gap:3px; }.integrated-home .course-nav a { padding:8px 9px; font-size:12px; }.integrated-home .course-content { padding:0 18px 44px; }.integrated-home .course-section { padding-top:36px; }.integrated-home .course-section-heading { gap:12px; }.school-course-card h3 { font-size:20px; }.hai-course h3 { font-size:17px; }.integrated-home .classroom-library .public-filters { padding:16px; gap:16px 12px; }.integrated-home .filters .filter-search,.integrated-home .filters>div:nth-child(2) { grid-column:1 / -1; }.schedule-scope { flex-direction:column; align-items:flex-start; gap:10px; }.schedule-scope p { margin:0; } }
