.slh-shell {
  --slh-ink: #19334b;
  --slh-muted: #5e7081;
  --slh-blue: #176bb2;
  --slh-border: #dfe7ee;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 64px;
  color: var(--slh-ink);
  font-size: 16px;
  line-height: 1.7;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
.slh-hub-page { background: #fafbfc; }
.slh-hub-page .xoo-wsc-basket { display: none !important; }
html.slh-learning-context .xoo-wsc-basket { display: none !important; visibility: hidden !important; pointer-events: none !important; }
body.course-item-popup #apus-header,
body.course-item-popup #apus-header-mobile { display: none !important; }
body.course-item-popup #popup-header { background: #21445a; }
body.course-item-popup #popup-header .course-title > a,
body.course-item-popup #popup-header .back-course,
body.course-item-popup #popup-header .items-progress .number { color: #fff; }
body.course-item-popup #popup-header .curriculum-info { color: #d6e5ef; }
.slh-shell *, .slh-mobile-nav *, .slh-course-entry * { box-sizing: border-box; }
.slh-shell h1, .slh-shell h2, .slh-shell h3, .slh-shell p { margin: 0; color: inherit; }
.slh-shell h1 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.45; font-weight: 700; letter-spacing: .01em; }
.slh-shell h2 { font-size: 24px; font-weight: 700; line-height: 1.5; }
.slh-shell h3 { font-size: 20px; font-weight: 700; line-height: 1.55; }
.slh-shell a { color: var(--slh-blue); text-decoration: none; transition: color .15s, background .15s, border-color .15s; }
.slh-shell a:hover { color: #104b80; }
.slh-shell a:focus-visible, .slh-shell button:focus-visible, .slh-shell input:focus-visible, .slh-mobile-nav a:focus-visible { outline: 3px solid #e9aa24; outline-offset: 4px; }
.slh-icon { flex: 0 0 auto; vertical-align: middle; }
.slh-shell a > .slh-icon { width: 19px; height: 19px; }
.slh-context-nav { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--slh-border); padding-bottom: 18px; margin-bottom: 38px; }
.slh-context-nav a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 9px; color: var(--slh-muted); font-weight: 500; }
.slh-context-nav a.is-active { color: var(--slh-blue); background: #eaf3fb; font-weight: 700; }
.slh-context-nav a:hover { background: #edf3f8; }
.slh-eyebrow { font-size: 13px; color: #526b81 !important; letter-spacing: .08em; font-weight: 600; margin-bottom: 10px !important; }
.slh-hero { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.slh-hero-copy { flex: 1; min-width: 0; }
.slh-hero-copy > p:last-child { color: var(--slh-muted); margin-top: 14px; }
.slh-student-prompt { display: flex; align-items: flex-start; gap: 14px; flex: 0 0 320px; padding: 23px; background: #fff8e7; border: 1px solid #f1e4bd; border-radius: 14px; }
.slh-student-prompt strong { font-size: 17px; }
.slh-student-prompt p { font-size: 13px; color: #6b6c63; margin: 5px 0 9px; }
.slh-student-prompt a { font-size: 14px; font-weight: 700; }
.slh-round-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #ffedb4; color: #856522; }
.slh-search { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: white; padding: 20px; border: 1px solid var(--slh-border); border-radius: 12px; margin: 0 0 42px; }
.slh-search > label:first-child { font-size: 15px; font-weight: 700; margin: 0; }
.slh-search-field { display: flex; flex: 1; align-items: center; min-width: 250px; border: 1px solid #cddae5; border-radius: 8px; overflow: hidden; background: #fff; }
.slh-search-field > .slh-icon { margin-left: 14px; color: #708698; width: 20px; }
.slh-search-field input { flex: 1; width: 100%; min-width: 0; height: 48px; border: 0; box-shadow: none; margin: 0; padding: 10px 12px; background: transparent; font: inherit; font-size: 14px; color: var(--slh-ink); }
.slh-search-field button { align-self: stretch; border: none; border-radius: 0; background: var(--slh-blue); color: white; padding: 0 22px; font-size: 15px; font-weight: 600; }
.slh-free-filter { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; font-size: 14px; font-weight: 400; white-space: nowrap; color: var(--slh-muted); cursor: pointer; }
.slh-free-filter input { margin: 0; width: 17px; height: 17px; accent-color: var(--slh-blue); }
.slh-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.slh-section-heading p { color: var(--slh-muted); font-size: 14px; margin-top: 6px; }
.slh-section-heading > a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.slh-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.slh-category { display: flex; flex-direction: column; padding: 25px 22px 23px; background: #fff; border: 1px solid var(--slh-border); border-radius: 14px; color: var(--slh-ink) !important; }
.slh-category:hover { border-color: #8db8dc; box-shadow: 0 7px 20px #1c5b9210; }
.slh-category-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 22px; }
.slh-category-icon { display: inline-flex; align-items: center; justify-content: center; width: 51px; height: 51px; border-radius: 13px; background: #eaf3fb; color: #246eab; }
.slh-category-icon .slh-icon { width: 27px; height: 27px; }
.slh-count { font-size: 12px; color: #6b7f8f; white-space: nowrap; }
.slh-category h3 { font-size: 22px; margin-bottom: 10px; }
.slh-category p { color: var(--slh-muted); font-size: 14px; line-height: 1.85; margin-bottom: 26px; }
.slh-category-link { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--slh-blue); font-weight: 600; margin-top: auto; }
.slh-category-link .slh-icon { width: 18px; }
.slh-tone-green .slh-category-icon { background: #e6f3ed; color: #398064; }
.slh-tone-rose .slh-category-icon { background: #faeaeb; color: #ac5c68; }
.slh-tone-gold .slh-category-icon { background: #fff0d3; color: #927327; }
.slh-free-callout { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 32px 0 0; padding: 30px; background: #eef5fa; border-radius: 14px; }
.slh-free-callout h2 { font-size: 22px; margin-bottom: 7px; }
.slh-free-callout p:last-child { color: var(--slh-muted); font-size: 14px; }
.slh-shell .slh-button, .slh-course-entry .slh-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 18px; border-radius: 8px; border: 1px solid #176bb2; background: #176bb2; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.slh-shell .slh-button:hover, .slh-course-entry .slh-button:hover { background: #12568f; color: white; }
.slh-shell .slh-button-secondary { background: #fff; color: var(--slh-blue); border-color: #c5d7e5; }
.slh-shell .slh-button-secondary:hover { background: #eaf3fb; color: #12568f; }
.slh-category-tabs { display: flex; gap: 9px; flex-wrap: wrap; margin: 0 0 30px; }
.slh-category-tabs a { border: 1px solid #d6e0e8; border-radius: 7px; padding: 8px 16px; font-size: 14px; color: var(--slh-muted); background: #fff; }
.slh-category-tabs a[aria-current] { background: #176bb2; border-color: #176bb2; color: white; }
.slh-results-heading h2 { font-size: 22px; }
.slh-results-heading > span { color: var(--slh-muted); font-size: 14px; }
.slh-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.slh-course-card { background: #fff; border: 1px solid var(--slh-border); border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.slh-course-card[hidden] { display: none; }
.slh-course-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: #eef3f7; overflow: hidden; }
.slh-course-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slh-course-image > .slh-icon { width: 54px !important; height: 54px !important; color: #7f9ab1; }
.slh-course-body { padding: 21px; display: flex; flex-direction: column; flex: 1; }
.slh-card-tags { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 12px; font-size: 12px; color: #56718a; }
.slh-course-card h3 { font-size: 19px; margin-bottom: 12px; overflow-wrap: anywhere; }
.slh-course-card h3 a { color: var(--slh-ink); }
.slh-course-summary { font-size: 14px; color: var(--slh-muted) !important; line-height: 1.85; margin-bottom: 14px !important; }
.slh-status { padding: 2px 8px; border-radius: 4px; background: #edf3f8; font-size: 11px; color: #526b81; }
.slh-status-free, .slh-status-learning { background: #e6f4ee; color: #287153; }
.slh-status-new { background: #eaf3ff; color: #2465a4; }
.slh-status-expired, .slh-status-unavailable, .slh-status-pending { background: #fff2db; color: #886223; }
.slh-duration { color: #6b7e8f !important; font-size: 12px; margin-top: auto !important; margin-bottom: 16px !important; }
.slh-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 17px; border-top: 1px solid #eef1f4; }
.slh-price { font-size: 21px; color: #19334b; font-weight: 700; }
.slh-detail-link { font-size: 13px; color: #677e91 !important; }
.slh-help { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding: 24px 0 0; border-top: 1px solid var(--slh-border); }
.slh-help .slh-round-icon { background: #edf2f6; color: #668198; }
.slh-help > div { flex: 1; }
.slh-help h2 { font-size: 16px; }
.slh-help p { color: var(--slh-muted); font-size: 13px; margin-top: 4px; }
.slh-help > a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.slh-student-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.slh-student-heading p:last-child { color: var(--slh-muted); font-size: 15px; margin-top: 10px; }
.slh-text-link { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; }
.slh-continue { display: flex; gap: 22px; align-items: center; border: 1px solid #cddfec; border-radius: 15px; background: #eef5fb; padding: 28px; margin-bottom: 40px; }
.slh-continue-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #d7e9f8; color: var(--slh-blue); flex: 0 0 64px; }
.slh-continue-icon .slh-icon { width: 30px; height: 30px; }
.slh-continue-copy { flex: 1; min-width: 0; }
.slh-continue-copy h2 { font-size: 23px; margin-bottom: 7px; }
.slh-continue-copy p:last-child { color: var(--slh-muted); font-size: 13px; overflow-wrap: anywhere; }
.slh-heading-count { display: inline-flex; justify-content: center; align-items: center; min-width: 27px; height: 27px; padding: 0 7px; border-radius: 5px; font-size: 14px; vertical-align: middle; background: #edf2f6; color: #627e94; }
.slh-learning-filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 23px; }
.slh-learning-filters button { background: white; color: var(--slh-muted); border: 1px solid #d6e0e8; border-radius: 7px; padding: 8px 15px; font-size: 14px; min-height: 42px; }
.slh-learning-filters button[aria-pressed="true"] { background: #176bb2; color: white; border-color: #176bb2; }
.slh-progress { margin: 3px 0 16px; }
.slh-progress label { display: block; font-size: 11px; color: #698194; font-weight: 400; margin-bottom: 6px; }
.slh-progress progress { appearance: none; -webkit-appearance: none; width: 100%; height: 5px; border: 0; display: block; background: #e8eff4; border-radius: 8px; overflow: hidden; }
.slh-progress progress::-webkit-progress-bar { background: #e8eff4; }
.slh-progress progress::-webkit-progress-value { background: #3683bd; border-radius: 8px; }
.slh-progress progress::-moz-progress-bar { background: #3683bd; border-radius: 8px; }
.slh-empty { padding: 44px 24px; text-align: center; border: 1px solid var(--slh-border); border-radius: 14px; background: white; }
.slh-empty > .slh-icon { width: 42px; height: 42px; color: #7a98b2; margin-bottom: 12px; }
.slh-empty p { color: var(--slh-muted); font-size: 14px; margin: 12px 0 24px; }
.slh-empty-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.slh-notice { background: #fff7e7; border: 1px solid #ead9b3; color: #785a24; border-radius: 9px; padding: 17px 20px; font-size: 14px; margin-bottom: 24px; }
.slh-filter-empty { text-align: center; color: var(--slh-muted) !important; padding: 30px; }
.slh-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.slh-pagination > * { padding: 8px 14px; background: white; border: 1px solid var(--slh-border); border-radius: 6px; }
.slh-course-entry { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border: 1px solid #cddfec; border-radius: 12px; background: #eef5fb; margin-bottom: 24px; }
.slh-course-entry p { margin: 5px 0 0; font-size: 14px; }
.slh-mobile-nav { display: none; }
.slh-home-entry .elementor-button { border-radius: 9px !important; min-width: 225px; padding: 17px 25px !important; font-size: 18px !important; line-height: 1.4; transition: background .15s; }
.slh-home-study .elementor-button { color: #19334b !important; }
.slh-my-menu > a { font-weight: 700 !important; color: #176bb2 !important; }
@media (max-width: 1000px) {
  .slh-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slh-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slh-hero { gap: 22px; }
  .slh-student-prompt { flex-basis: 285px; padding: 19px; }
}
@media (max-width: 700px) {
  html.slh-mobile-context .xoo-wsc-basket { display: none !important; visibility: hidden !important; }
  .slh-shell { padding: 18px 18px 36px; font-size: 15px; }
  .slh-context-nav { gap: 3px; margin-bottom: 27px; padding-bottom: 15px; }
  .slh-context-nav a { gap: 6px; padding: 9px 11px; font-size: 13px; }
  .slh-context-nav a > .slh-icon { width: 17px; height: 17px; }
  .slh-hero { flex-direction: column; align-items: stretch; gap: 22px; margin-bottom: 22px; }
  .slh-hero-copy h1 { font-size: 29px; }
  .slh-hero-copy > p:last-child { margin-top: 10px; font-size: 14px; }
  .slh-student-prompt { flex-basis: auto; padding: 17px; align-items: center; }
  .slh-student-prompt .slh-round-icon { width: 39px; height: 39px; flex-basis: 39px; }
  .slh-student-prompt strong { font-size: 15px; }
  .slh-student-prompt p { margin: 2px 0 4px; }
  .slh-search { padding: 15px; gap: 10px; margin-bottom: 30px; }
  .slh-search > label:first-child { width: 100%; font-size: 14px; }
  .slh-search-field { min-width: 0; flex-basis: 100%; }
  .slh-search-field input { height: 46px; font-size: 13px; padding-left: 9px; }
  .slh-search-field > .slh-icon { margin-left: 10px; width: 17px; }
  .slh-search-field button { padding: 0 17px; }
  .slh-free-filter { margin-top: 3px !important; font-size: 13px; }
  .slh-section-heading { gap: 10px; margin-bottom: 17px; }
  .slh-section-heading h2, .slh-free-callout h2 { font-size: 21px; }
  .slh-section-heading p { font-size: 12px; }
  .slh-section-heading > a { font-size: 13px; }
  .slh-category-grid { gap: 12px; }
  .slh-category { padding: 17px 14px; border-radius: 12px; }
  .slh-category-top { flex-direction: column; align-items: flex-start; gap: 11px; margin-bottom: 13px; }
  .slh-category-icon { width: 42px; height: 42px; border-radius: 11px; }
  .slh-category-icon .slh-icon { width: 24px; height: 24px; }
  .slh-category h3 { font-size: 18px; margin-bottom: 8px; }
  .slh-category p { font-size: 12px; line-height: 1.8; margin-bottom: 19px; }
  .slh-category-link { font-size: 12px; gap: 4px; }
  .slh-category-link .slh-icon { width: 15px; }
  .slh-free-callout { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 22px; padding: 22px; }
  .slh-course-grid { grid-template-columns: 1fr; gap: 19px; }
  .slh-course-body { padding: 19px; }
  .slh-category-tabs { gap: 7px; margin-bottom: 23px; }
  .slh-category-tabs a { font-size: 13px; padding: 7px 12px; }
  .slh-help { align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .slh-help .slh-round-icon { width: 35px; height: 35px; flex-basis: 35px; }
  .slh-help > div { flex-basis: calc(100% - 50px); }
  .slh-help > a { margin-left: 47px; }
  .slh-help p { font-size: 12px; }
  .slh-student-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .slh-continue { flex-wrap: wrap; padding: 22px; gap: 14px; }
  .slh-continue-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .slh-continue-icon .slh-icon { width: 23px; height: 23px; }
  .slh-continue-copy { flex-basis: calc(100% - 60px); }
  .slh-continue-copy h2 { font-size: 19px; }
  .slh-continue > .slh-button { width: 100%; margin-top: 6px; }
  .slh-learning-filters { gap: 6px; }
  .slh-learning-filters button { padding: 8px 12px; font-size: 12px; }
  .slh-course-entry { align-items: flex-start; flex-direction: column; padding: 18px; gap: 15px; }
  .slh-has-mobile-nav { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important; }
  .slh-mobile-nav { display: flex; position: fixed; z-index: 10000; bottom: 0; left: 0; right: 0; padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px)); gap: 10px; border-top: 1px solid #dfe7ee; background: #fff; box-shadow: 0 -3px 15px #14375a08; }
  .slh-mobile-nav a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border: 1px solid #cbdce9; border-radius: 8px; color: #176bb2; font-size: 13px; font-weight: 600; text-decoration: none; }
  .slh-mobile-nav a .slh-icon { width: 18px; height: 18px; }
  .slh-mobile-nav a.slh-mobile-study { flex: 1.3; background: #176bb2; color: white; border-color: #176bb2; }
  .slh-has-mobile-nav .xoo-wsc-basket { bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .slh-shell *, .slh-home-entry * { transition: none !important; animation: none !important; }
}
