/* ============================================
   Style 3: Warm Healing (温暖治愈)
   Palette: Warm cream, soft coral, sage green, gentle tones
   ============================================ */

html {
  scroll-behavior: smooth;
}

:root {
  --bg-primary: #ffffff;
  --bg-warm: #fff8f0;
  --card-bg: #ffffff;
  --text-primary: rgba(0, 0, 0, 0.87);
  --text-secondary: #666666;
  --text-muted: #999999;

  /* Color schemes: main → tag-bg → tag-text */
  --coral: #e8846b;
  --coral-light: #f4a89a;
  --coral-tag-bg: #fff5f0;
  --coral-tag-text: #d4725a;

  --sage: #7aab8e;
  --sage-light: #a3c9b3;
  --sage-tag-bg: #f0f9f2;
  --sage-tag-text: #5a9a6e;

  --lavender: #9a8bc4;
  --lavender-light: #c4b8e0;
  --lavender-tag-bg: #eee8f5;
  --lavender-tag-text: #7a6ba8;

  /* Blue scheme: Morandi/candy style */
  --blue: #89aed6;
  --blue-light: #b4d0eb;
  --blue-tag-bg: rgba(137, 174, 214, 0.15);
  --blue-tag-text: #89aed6;

  /* Red scheme: Warm red */
  --red: #d4726a;
  --red-light: #e8a09a;
  --red-tag-bg: rgba(212, 114, 106, 0.15);
  --red-tag-text: #d4726a;

  /* Legacy aliases */
  --accent-coral: var(--coral);
  --accent-coral-light: var(--coral-light);
  --accent-sage: var(--sage);
  --accent-sage-light: var(--sage-light);
  --accent-peach: #f5c5a3;
  --accent-lavender: var(--lavender);
  --accent-sky: var(--blue-light);

  --shadow-soft: 0 8px 24px -2px rgba(0,0,0,0.06), 0 16px 56px -8px rgba(18,100,230,0.16);
  --shadow-hover: 0 10px 40px -6px rgba(0,0,0,0.1), 0 24px 80px -16px rgba(18,100,230,0.27);
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.06);
  --card-radius: 16px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-coral: 0 8px 24px rgba(232, 132, 107, 0.3);
  --shadow-sage: 0 8px 24px rgba(122, 171, 142, 0.3);
  --shadow-blue: 0 8px 24px rgba(137, 174, 214, 0.3);
  --shadow-lavender: 0 8px 24px rgba(154, 139, 196, 0.3);
  --shadow-red: 0 8px 24px rgba(212, 114, 106, 0.3);
  --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-dropdown: 0 8px 24px -4px rgba(0,0,0,0.1), 0 16px 48px -12px rgba(0,0,0,0.08);

  /* Hover backgrounds */
  --coral-bg-subtle: rgba(232, 132, 107, 0.05);
  --coral-bg-light: rgba(232, 132, 107, 0.08);
  --coral-bg-hover: rgba(232, 132, 107, 0.1);
  --sage-bg-subtle: rgba(122, 171, 142, 0.1);
  --sage-border: rgba(122, 171, 142, 0.2);

  /* Glass backgrounds */
  --glass-bg-subtle: rgba(255, 255, 255, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.66);
  --glass-bg-medium: rgba(255, 255, 255, 0.7);
  --glass-bg-strong: rgba(255, 255, 255, 0.8);
  --glass-bg-opaque: rgba(255, 255, 255, 0.9);

  /* Overlay */
  --overlay-dark: rgba(0, 0, 0, 0.66);
  --text-on-dark: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans SC', 'Nunito', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.7;
}

.modules-section {
  padding: 0 24px;
  max-width: 1440px;
  margin: -32px auto 40px;
}

/* Module */
.module {
  margin-bottom: 48px;
  padding-top: 32px;
}

.module-head {
  text-align: center;
  margin-bottom: 20px;
  --module-accent: var(--red);
}

.mod-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 4px;
}

.module-body {
  display: flex;
}

.module-body .card {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-main {
  grid-column: 1;
  grid-row: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 260px;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-title-row .icon-ph {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title-row .icon-ph svg {
  width: 48px;
  height: 48px;
  color: var(--accent-coral);
}

.card-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.card-slogan {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 16px 0 0;
  line-height: 1.6;
}

.card-link {
  position: absolute;
  left: 32px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.card-link:hover {
  box-shadow: var(--shadow-coral);
  transform: translateY(-2px);
}

.card-link svg {
  width: 18px;
  height: 18px;
}

.card-arrows {
  position: absolute;
  right: 24px;
  bottom: 20px;
  display: flex;
  gap: 12px;
}

.card-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--glass-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

#cat-1-1 .card-arrow:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: white;
}

#cat-1-1 .card-arrow:disabled,
#cat-1-1 .card-arrow:disabled:hover {
  background: var(--glass-bg);
  border-color: transparent;
  color: var(--text-muted);
  cursor: default;
}

.assess-zone .card-arrow:hover {
  background: var(--lavender);
  color: white;
}

.assess-zone .card-arrow:disabled,
.assess-zone .card-arrow:disabled:hover {
  background: var(--glass-bg);
  color: var(--text-muted);
  cursor: default;
}

.card-arrow svg {
  width: 18px;
  height: 18px;
}

.card-cover-ph {
  grid-column: 2;
  grid-row: 1;
  height: 260px;
  overflow: hidden;
}

.card-detail {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 16px 32px 32px;
  position: relative;
}

.scroll-x {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 4px 4px;
}

.scroll-x::-webkit-scrollbar {
  display: none;
}

.card-item {
  flex: 0 0 auto;
  width: 144px;
  height: 144px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  transition: var(--transition);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.card-item:hover {
  border-color: var(--coral);
  transform: translateY(-4px);
}

.card-item-label {
  font-size: 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

/* Stats Module (智力评估) */
.module-body .card.card-stats {
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 1fr);
  grid-template-rows: 1fr;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  gap: 16px;
  overflow: visible;
}

.card-stats .card-cover-ph {
  grid-column: 1;
  grid-row: 1;
  height: 100%;
  min-height: 360px;
  min-width: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-stats .card-main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 16px 0 0;
  line-height: 1.6;
}

.card-numbers {
  display: flex;
  gap: 52px;
  margin: 24px 0;
}

.num-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.num-val {
  font-family: 'Archivo Black', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 80px;
  display: inline-block;
  color: var(--blue);
}

.num-label {
  display: inline-block;
  vertical-align: bottom;
  margin-left: 4px;
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 8px;
}

.card-units {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 144px));
  gap: 12px;
  margin-top: auto;
}

.card-unit {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  transition: var(--transition);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.card-unit:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.card-unit-label {
  font-size: 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

.card-link-top {
  position: absolute;
  top: 32px;
  right: 32px;
  left: auto;
  bottom: auto;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}

.card-link-top:hover {
  box-shadow: var(--shadow-blue);
}

/* Course Module */
.course-layout {
  display: flex;
  gap: 24px;
}

.course-content {
  flex: 1;
  min-width: 0;
  position: sticky;
  top: 92px;
  height: calc(100vh - 112px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.course-content-head {
  display: flex;
  flex-direction: column;
}

.course-content-head .premium-tags {
  margin-top: 16px;
}

.course-title-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.course-title-row span[data-icon] {
  width: 32px;
  height: 32px;
  color: var(--sage);
}

.course-title-row span[data-icon] svg {
  width: 100%;
  height: 100%;
}

.course-media {
  flex: 1;
  min-height: 0;
  position: relative;
}

.course-media-track {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  display: flex;
}

.course-media-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.course-media-track::-webkit-scrollbar {
  display: none;
}

.course-media-arrows {
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.course-media-arrow {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.course-media-arrow:hover {
  background: var(--coral);
  color: white;
}

.course-media-arrow:disabled {
  color: var(--text-muted);
  cursor: default;
}

.course-media-arrow:disabled:hover {
  background: var(--glass-bg);
}

.course-media-ph {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-tag-bg);
  border-radius: 12px;
  color: var(--sage-tag-text);
  font-size: 14px;
}

.course-content .card-link {
  position: absolute;
  top: 32px;
  right: 32px;
  left: auto;
  bottom: auto;
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
}

.course-content .card-link:hover {
  box-shadow: var(--shadow-coral);
}

.course-cards {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.course-card {
  flex: 0 0 auto;
  display: flex;
  gap: 24px;
  height: 180px;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.course-card-ph {
  flex: 0 0 200px;
  width: 200px;
  align-self: stretch;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-tag-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--sage-tag-text);
  font-size: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.course-card:hover .course-card-ph {
  border-color: var(--coral);
}

.course-card-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  overflow: hidden;
}

.course-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
}

.course-card-desc {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 92%, transparent);
  mask-image: linear-gradient(to bottom, #000 92%, transparent);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.course-card-link {
  flex-shrink: 0;
  margin-top: auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 14px;
  color: var(--coral);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: var(--transition);
}

.course-card:hover .course-card-link {
  background: var(--coral);
  color: white;
}

.course-card-link:hover {
  background: var(--coral);
  color: white;
}

.course-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.course-card-link:hover svg {
  transform: translateX(4px);
}

/* Premium Module */
.premium-content {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.premium-bookmark {
  position: absolute;
  top: 16px;
  right: 6px;
  width: 120px;
  height: 120px;
  z-index: 2;
}

.premium-badge {
  position: absolute;
  top: 72px;
  right: 66px;
  z-index: 3;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 0.5px;
  pointer-events: none;
  transform: translate(50%, -50%);
}

.premium-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.premium-header .card-slogan {
  margin-top: 0;
}

.premium-title-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.premium-title-row span[data-icon] {
  width: 32px;
  height: 32px;
  color: var(--coral);
}

.premium-title-row span[data-icon] svg {
  width: 100%;
  height: 100%;
}

.premium-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.premium-tags .tag {
  padding: 4px 12px;
  font-size: 12px;
  color: var(--coral-tag-text);
  background: var(--coral-tag-bg);
  border-radius: 999px;
}

.card-main .premium-tags {
  margin-top: 16px;
}

.premium-numbers {
  display: flex;
  gap: 32px;
}

.premium-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.premium-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.premium-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.premium-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.premium-tab:hover {
  color: var(--sage);
}

.premium-tab.active {
  color: var(--sage);
}

.premium-tab::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--sage);
  transition: left 0.25s ease, right 0.25s ease;
}

.premium-tab.active::after {
  left: 10%;
  right: 10%;
}

.premium-tab span[data-icon] {
  width: 20px;
  height: 20px;
}

.premium-tab span[data-icon] svg {
  width: 100%;
  height: 100%;
}

.premium-shots {
  flex: 1;
  position: relative;
}

.premium-shot-track {
  display: flex;
  gap: 24px;
  height: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
}

.premium-shot-track::-webkit-scrollbar {
  display: none;
}

.premium-shot-ph {
  flex: 0 0 600px;
  height: 338px;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-tag-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--coral-tag-text);
  font-size: 14px;
  overflow: hidden;
}

.premium-shot-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.premium-arrows {
  display: flex;
  gap: 12px;
}

.premium-arrow {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.premium-arrow:hover {
  background: var(--sage);
  color: white;
}

.premium-arrow:disabled,
.premium-arrow:disabled:hover {
  background: var(--glass-bg);
  color: var(--text-muted);
  cursor: default;
}

.premium-content .card-link {
  position: absolute;
  bottom: 32px;
  right: 32px;
  left: auto;
  top: auto;
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
}

.premium-content .card-link:hover {
  box-shadow: var(--shadow-sage);
}

/* Course Assess Module */
.assess-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.assess-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.assess-card-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}

.assess-card-main .card-slogan {
  margin: 0;
}

.assess-title-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.assess-title-row span[data-icon] {
  width: 32px;
  height: 32px;
  color: var(--lavender);
}

.assess-title-row span[data-icon] svg {
  width: 100%;
  height: 100%;
}

.assess-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assess-tags .tag {
  padding: 4px 12px;
  font-size: 12px;
  color: var(--lavender-tag-text);
  background: var(--lavender-tag-bg);
  border-radius: 999px;
}

.assess-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.assess-level-drop {
  position: relative;
}

.assess-level-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.assess-level-tab:hover {
  color: var(--lavender);
}

.assess-level-tab.active {
  color: var(--lavender);
}

.assess-level-tab::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--lavender);
  transition: left 0.25s ease, right 0.25s ease;
}

.assess-level-tab.active::after {
  left: 10%;
  right: 10%;
}

.assess-level-tab span[data-icon] {
  width: 20px;
  height: 20px;
}

.assess-level-tab span[data-icon] svg {
  width: 100%;
  height: 100%;
}

.assess-level-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 20;
  min-width: 140px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-dropdown);
  padding: 8px;
}

.assess-level-drop:hover .assess-level-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.assess-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border-radius: 8px;
}

.assess-menu-item:hover {
  background: var(--lavender-tag-bg);
  color: var(--lavender-tag-text);
}

.assess-menu-item.active {
  background: var(--lavender);
  color: white;
}

.assess-menu-item span[data-icon] {
  width: 16px;
  height: 16px;
}

.assess-menu-item span[data-icon] svg {
  width: 100%;
  height: 100%;
}

.assess-subjects {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.assess-subject-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.assess-subject-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.assess-subject-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.assess-detail-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.assess-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
}

.assess-detail-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--lavender);
  border-radius: 50%;
  flex-shrink: 0;
}

.assess-card .card-link {
  position: absolute;
  top: 32px;
  right: 32px;
  left: auto;
  bottom: auto;
  background: linear-gradient(135deg, var(--lavender), var(--lavender-light));
}

.assess-card .card-link:hover {
  box-shadow: var(--shadow-lavender);
}

.assess-icon-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.assess-icon-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.assess-icon-card-head {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.assess-points-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.assess-point-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
}

.assess-point-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--lavender);
  border-radius: 50%;
  flex-shrink: 0;
}

.assess-col-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.assess-col-tags .tag {
  padding: 4px 12px;
  font-size: 12px;
  color: var(--lavender-tag-text);
  background: var(--lavender-tag-bg);
  border-radius: 999px;
}

/* Organic background shapes */
.organic-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  display: none;
}

.organic-bg.show {
  display: block;
}

.organic-shape {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.3;
  filter: blur(52px);
  will-change: transform;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--accent-peach), var(--accent-coral-light));
  top: -150px;
  right: -100px;
  animation: morph 8s ease-in-out infinite, drift 24s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--accent-sage-light), var(--accent-sky));
  bottom: -100px;
  left: -80px;
  animation: morph 10s ease-in-out infinite reverse, drift 30s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-lavender);
  opacity: 0.2;
  top: 40%;
  left: calc(50% - 150px);
  animation: morph 6s ease-in-out infinite 2s, drift 18s ease-in-out infinite 2s;
}

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75% { border-radius: 60% 30% 60% 40% / 70% 40% 50% 60%; }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(70px, -90px); }
  50% { transform: translate(-80px, 60px); }
  75% { transform: translate(50px, 80px); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg-medium);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-mark {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 4px;
  align-self: center;
}

.mark-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-coral);
}

.mark-dot:nth-child(2) {
  background: var(--accent-sage);
}

.mark-dot:nth-child(3) {
  background: var(--accent-peach);
}

.mark-dot:nth-child(4) {
  background: var(--accent-lavender);
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  transform: translateY(-1px);
}

.nav {
  display: flex;
  gap: 4px;
}

.nav-item {
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-item:not(.has-dropdown) {
  cursor: pointer;
}

.nav-item:not(.has-dropdown):hover {
  color: var(--accent-coral);
}

.nav-item:not(.has-dropdown)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--accent-coral);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-item:not(.has-dropdown):hover::after {
  transform: scaleX(1);
}

.nav-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.has-dropdown {
  cursor: pointer;
  position: relative;
}

.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
}

.has-dropdown:hover .nav-link,
.has-dropdown.is-open .nav-link {
  color: var(--accent-coral);
}

.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--accent-coral);
  transform: scaleX(0);
  transition: var(--transition);
}

.has-dropdown:hover::after,
.has-dropdown.is-open::after {
  transform: scaleX(1);
}

.dropdown-menus {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 200;
}

.dropdown-menu {
  position: fixed;
  transform: translateY(16px);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-dropdown);
  padding: 8px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: auto;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(8px);
}

.arrow-icon {
  width: 16px;
  height: 16px;
  margin-left: 4px;
  transition: transform 0.2s ease;
  vertical-align: middle;
}

.has-dropdown:hover .arrow-icon,
.has-dropdown.is-open .arrow-icon {
  transform: rotate(180deg);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  border-radius: 8px;
}

.dropdown-item:hover {
  background: var(--coral-bg-light);
  color: var(--accent-coral);
}

/* Main */
.main {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 24px 60px;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 0;
}

.hero-section .section-header {
  margin-bottom: 18px;
  margin-top: 4px;
}

.section-eyebrow {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-indent: 3px;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: 4px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* Product Cards */
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 0;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-illustration {
  width: 100%;
  aspect-ratio: 940 / 528;
  position: relative;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-illustration-1 {
  background: linear-gradient(135deg, #e8f5ec, #d4eddb);
}

.card-illustration-2 {
  background: linear-gradient(135deg, #fef0e8, #fce4d8);
}

.card-illustration-3 {
  background: linear-gradient(135deg, #ede8f5, #e0d8f0);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--glass-bg-opaque);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
}

.card-illustration-1 .card-icon {
  top: 16px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-illustration-1 .card-icon svg { color: var(--sage); }
.card-illustration-2 .card-icon svg { color: var(--coral); }
.card-illustration-3 .card-icon svg { color: var(--accent-lavender); }

.card-bookmark {
  position: absolute;
  top: 8px;
  right: 2px;
  width: 80px;
  height: 80px;
  z-index: 2;
}

.card-badge {
  position: absolute;
  top: 46px;
  right: 42px;
  z-index: 3;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 0.5px;
  pointer-events: none;
  transform: translate(50%, -50%);
}

.card-body {
  padding: 16px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: var(--border);
  display: none;
}

body.show-divider .card-body::before {
  display: block;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  padding: 0 20px;
  color: var(--text-primary);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
  padding: 0;
}

.tag {
  padding: 4px 12px;
  background: var(--bg-warm);
  border-radius: 20px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  font-weight: 500;
}

.card-illustration-1 + .card-body .tag { background: var(--sage-tag-bg); color: var(--sage-tag-text); }
.card-illustration-2 + .card-body .tag { background: var(--coral-tag-bg); color: var(--coral-tag-text); }
.card-illustration-3 + .card-body .tag { background: var(--lavender-tag-bg); color: var(--lavender-tag-text); }

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-on-dark);
  background: linear-gradient(135deg, var(--accent-coral), var(--accent-coral-light));
  border: none;
  transition: var(--transition);
  margin-top: auto;
  margin-bottom: 8px;
}

.card-btn:hover {
  box-shadow: var(--shadow-coral);
}

.card-illustration-1 + .card-body .card-btn { background: linear-gradient(135deg, var(--sage), var(--sage-light)); }
.card-illustration-1 + .card-body .card-btn:hover { box-shadow: var(--shadow-sage); }

.card-illustration-2 + .card-body .card-btn { background: linear-gradient(135deg, var(--coral), var(--coral-light)); }
.card-illustration-2 + .card-body .card-btn:hover { box-shadow: var(--shadow-coral); }

.card-illustration-3 + .card-body .card-btn { background: linear-gradient(135deg, var(--lavender), var(--lavender-light)); }
.card-illustration-3 + .card-body .card-btn:hover { box-shadow: var(--shadow-lavender); }

/* Carousel */
.carousel-section {
  max-width: 1440px;
  margin: -32px auto 0;
  padding: 0 0 0 0;
}

.carousel-container {
  display: flex;
  align-items: stretch;
  gap: 12px;
  position: relative;
  z-index: 5;
  margin-top: -16px;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  color: var(--text-secondary);
  position: relative;
  z-index: 10;
  align-self: center;
  margin-top: -40px;
}

.carousel-arrow:hover {
  background: var(--accent-coral);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-coral);
  transform: scale(1.05);
}

.carousel-arrow:active {
  transform: scale(0.95);
}

.carousel-wrapper {
  overflow: hidden;
  padding: 40px 40px 60px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  margin: 0 -40px;
  margin-top: -12px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 5;
  pointer-events: auto;
}

.carousel-edge-left {
  left: 0;
}

.carousel-edge-right {
  right: 0;
}

.carousel-track {
  display: flex;
  gap: 16px;
  padding-left: 0;
  will-change: transform;
}

.carousel-item {
  flex-shrink: 0;
  width: calc((100% - 48px) / 4);
  min-width: 150px;
  padding: 28px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.carousel-item:has(.carousel-img) {
  background: var(--card-bg);
}

.carousel-item:has(.carousel-img)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--glass-bg-subtle);
  z-index: 1;
  pointer-events: none;
}

.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  z-index: 0;
}

.carousel-item:hover {
  box-shadow: 0 8px 24px -2px rgba(0,0,0,0.08), 0 16px 56px -8px rgba(18,100,230,0.2);
}

.carousel-item:hover .carousel-icon {
  background: var(--accent-coral);
}

.carousel-item:hover .carousel-icon svg {
  color: var(--text-on-dark);
}

.carousel-icon {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  transition: all 0.3s ease;
}

.carousel-item:hover .carousel-icon {
  top: 16px;
  left: 16px;
}

.carousel-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-coral);
  transition: all 0.3s ease;
}

.carousel-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark);
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  padding: 4px 12px;
  background: var(--overlay-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
}

/* Skeleton placeholders - framework shown while JS content is rendering */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-bar {
  display: block;
  width: 55%;
  height: 12px;
  border-radius: 999px;
  background: var(--border);
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}

.skeleton-card .skeleton-title {
  width: 55%;
  height: 34px;
  margin-bottom: 14px;
}

.skeleton-card .card-tags .skeleton-pill {
  width: 72px;
  height: 26px;
  border-radius: 20px;
  background: var(--border);
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}

.skeleton-card .skeleton-btn {
  width: 130px;
  height: 42px;
  margin-top: auto;
  margin-bottom: 8px;
}

.carousel-item.skeleton-card {
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}

.modules-skeleton {
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}

.skeleton-eyebrow {
  width: 180px;
  height: 19px;
  margin: 0 auto 4px;
}

.skeleton-module-title {
  width: 240px;
  height: 48px;
  margin: 0 auto 8px;
}

.skeleton-block {
  display: block;
  height: 50vh;
  min-height: 360px;
  border-radius: var(--card-radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

/* Data Overview */
.data-section {
  margin-bottom: 40px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.data-map-wrap {
  position: relative;
}

.data-map-stack {
  position: relative;
}

.data-map {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: transparent;
}

.data-map .china-dots-wrap {
  position: absolute;
  inset: 0;
  transform-origin: top right;
  will-change: transform;
  transform: translateZ(0);
}

.data-map .china-dots {
  position: absolute;
  left: 75%;
  top: 50%;
  width: 80%;
  height: auto;
  display: block;
  opacity: 0.1;
  transform: translate(-50%, -50%) scale(1);
}

.map-effect .data-map {
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

.map-effect .data-map .china-dots-wrap {
  transform: scale(1.86);
}

.data-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
}

.map-header {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 100%;
  text-align: center;
  z-index: 10;
}

.map-header .section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: 8px;
}

.map-header .map-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.map-header .map-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.map-header .tag {
  padding: 4px 12px;
  background: var(--blue-tag-bg);
  border-radius: 20px;
  font-size: 12px;
  color: var(--blue-tag-text);
  font-weight: 500;
}

.data-layer .layer-features {
  position: absolute;
  top: 220px;
  left: 32px;
}

.data-layer .detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
  margin-left: -8px;
}

.data-layer .detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.data-layer .icon-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.data-layer .layer-numbers {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 12px;
  display: flex;
  gap: 52px;
}

.data-layer .layer-num {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-secondary);
}

.data-layer .layer-num-icon {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
}

.data-layer .layer-num-icon svg {
  width: 100%;
  height: 100%;
  color: var(--blue);
}

.data-layer .layer-num-title {
  margin-left: 8px;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  vertical-align: middle;
}

.data-layer .num-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 8px;
}

.data-layer .num-val {
  font-family: 'Archivo Black', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 80px;
  display: inline-block;
  color: var(--blue);
}

.data-layer .num-label {
  display: inline-block;
  vertical-align: bottom;
  margin-left: 4px;
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 8px;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--card-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.float-btn:has(.float-icon:empty) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.float-btn:hover {
  transform: scale(1.1);
  background: var(--accent-coral);
  box-shadow: var(--shadow-coral);
}

#scrollTopBtn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#scrollTopBtn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.float-btn:hover .float-icon svg {
  color: var(--text-on-dark);
}

.float-btn:hover .float-text {
  color: var(--text-on-dark);
}

.float-icon {
  width: 22px;
  height: 22px;
}

.float-btn.show-text .float-icon {
  width: 18px;
  height: 18px;
}

.float-icon svg {
  width: 100%;
  height: 100%;
  color: var(--text-secondary);
  transition: var(--transition);
}

.float-text {
  display: none;
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 2px;
  transition: var(--transition);
}

.float-tooltip {
  display: none;
  position: absolute;
  right: calc(100% + 10px);
  font-size: 12px;
  color: var(--text-primary);
  background: var(--card-bg);
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.float-btn:hover .float-tooltip {
  display: block;
}

.float-btn.show-text {
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}

.float-btn.show-text .float-text {
  display: block;
}

.float-btn.show-text .float-tooltip {
  display: none;
}

.float-btn.show-text:hover .float-tooltip {
  display: block;
}

.float-btn.show-text:hover .float-text {
  color: var(--text-on-dark);
}

/* Panels */
.support-overlay,
.notice-overlay,
.app-overlay,
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: transparent;
}

.support-panel,
.notice-panel,
.app-panel,
.menu-drawer {
  position: fixed;
  right: 92px;
  z-index: 130;
  width: 320px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-dropdown);
  border-radius: 16px;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: visibility 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.support-panel.open,
.notice-panel.open,
.app-panel.open,
.menu-drawer.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 16px 20px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.panel-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.panel-close {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.panel-close:hover {
  background: var(--border-light);
  color: var(--text-primary);
}

/* Support Panel */
.support-panel {
  bottom: 140px;
}

.support-panel-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.support-links {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.support-link:hover {
  background: rgba(232, 132, 107, 0.06);
  border-color: var(--accent-coral);
  color: var(--accent-coral);
}

.support-link-label {
  color: var(--text-secondary);
}

.support-link-value {
  color: var(--text-primary);
}

.support-qr-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
}

.support-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.support-qr-placeholder {
  width: 127px;
  height: 127px;
  background: var(--sage-bg-subtle);
  border: 1px solid var(--sage-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sage);
  font-size: 12px;
}

.support-qr-label {
  font-size: 12px;
  color: var(--text-secondary);
}

/* APP Panel */
.app-panel {
  bottom: 200px;
}

.app-panel .app-panel-body {
  padding: 24px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.app-qr-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.app-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.app-panel-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.app-banner-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}

.app-banner-carousel {
  width: 100%;
  height: 260px;
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.app-banner-carousel::-webkit-scrollbar {
  display: none;
}

.app-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}

.app-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.app-banner-arrows {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.app-banner-arrows .card-arrow {
  pointer-events: auto;
  position: relative;
  width: 36px;
  height: 36px;
  color: var(--text-secondary);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.app-banner-arrows .card-arrow::after {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
}

.app-banner-arrows .card-arrow:disabled,
.app-banner-arrows .card-arrow:disabled:hover {
  background: var(--glass-bg);
  color: var(--text-muted);
  box-shadow: none;
  cursor: default;
}

.app-banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.app-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s ease;
}

.app-banner-dot.active {
  background: var(--sage);
}

/* Image Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

body.lightbox-open .floating-buttons {
  right: calc(24px + var(--scrollbar-width, 0px));
}

body.lightbox-open .support-panel,
body.lightbox-open .notice-panel,
body.lightbox-open .app-panel,
body.lightbox-open .menu-drawer {
  right: calc(92px + var(--scrollbar-width, 0px));
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow-dropdown);
  cursor: default;
}

.lightbox-ph {
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-tag-bg);
  border: 1px solid var(--sage-border);
  border-radius: 12px;
  color: var(--accent-sage);
  font-size: 16px;
  cursor: default;
}

.lightbox-ph[hidden] {
  display: none;
}

.app-qr-item,
.support-qr-item,
.qr-ph {
  cursor: zoom-in;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--accent-coral);
  color: var(--text-on-dark);
}

.app-qr-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.app-qr-placeholder {
  width: 127px;
  height: 127px;
  background: var(--sage-bg-subtle);
  border: 1px solid var(--sage-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sage);
  font-size: 12px;
}

/* Notice Panel */
.notice-panel {
  bottom: 82px;
  height: 480px;
  overflow: hidden;
  overscroll-behavior: none;
  display: flex;
  flex-direction: column;
}

.notice-panel-body {
  flex: 1;
  min-height: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.notice-panel-body > .notice-date-picker {
  position: relative;
  margin-top: 0;
}

.notice-time {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  line-height: 1;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.notice-time:hover {
  border-color: var(--accent-coral);
}

.notice-time span {
  flex: 1;
  text-align: left;
}

.notice-time-icon {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.notice-time[aria-expanded="true"] .notice-time-icon {
  transform: rotate(180deg);
}

.notice-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 1;
  padding: 12px;
  background: var(--glass-bg-opaque);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.notice-calendar.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notice-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notice-cal-nav {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.notice-cal-nav:hover {
  background: var(--border-light);
}

.notice-cal-title {
  flex: 1;
  padding: 4px 8px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition);
}

.notice-cal-title:hover {
  background: var(--border-light);
}

.notice-cal-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.notice-cal-wk {
  padding: 4px 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.notice-cal-day,
.notice-cal-month {
  position: relative;
  padding: 4px 0;
  border: 1px dashed transparent;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: var(--transition);
}

.notice-cal-day:hover,
.notice-cal-month:hover {
  background: var(--border-light);
}

.notice-cal-day.active,
.notice-cal-month.active {
  background: var(--accent-coral);
  color: var(--text-on-dark);
}

.notice-cal-day.today,
.notice-cal-month.today {
  border-color: var(--accent-coral);
}

.notice-cal-day.has-update::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-sage);
}

.notice-cal-day.active.has-update::after {
  background: var(--text-on-dark);
}

.notice-cal-months {
  gap: 4px;
  grid-template-columns: repeat(6, 1fr);
}

.notice-cal-foot {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}

.notice-cal-all,
.notice-cal-today {
  padding: 4px 8px;
  border: none;
  background: transparent;
  font-size: 12px;
  color: var(--accent-coral);
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.notice-cal-all:hover,
.notice-cal-today:hover {
  background: var(--coral-bg-hover);
}

.notice-list {
  flex: 1;
  min-height: 0;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.notice-list::-webkit-scrollbar {
  display: none;
}

.notice-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.notice-panel-body:has(.notice-empty:not([hidden])) .notice-list {
  display: none;
}

.notice-empty[hidden] {
  display: none;
}

.notice-item {
  display: flex;
  gap: 12px;
}

.notice-item[hidden] {
  display: none;
}

.notice-dot {
  width: 3px;
  align-self: stretch;
  margin-bottom: 4px;
  border-radius: 2px;
  background: var(--coral);
  flex-shrink: 0;
  margin-top: 4px;
  transform-origin: top;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.notice-item:hover .notice-dot {
  transform: scaleY(0);
  opacity: 0;
}

.notice-item:nth-child(4n+1) .notice-dot { background: var(--coral); }
.notice-item:nth-child(4n+2) .notice-dot { background: var(--sage); }
.notice-item:nth-child(4n+3) .notice-dot { background: var(--lavender); }
.notice-item:nth-child(4n+4) .notice-dot { background: var(--blue); }

.notice-item:hover {
  background: var(--border-light);
  border-radius: 8px;
}

.notice-content {
  flex: 1;
}

.notice-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}

.notice-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Menu Drawer */
.menu-drawer {
  bottom: 24px;
  width: 180px;
  height: auto;
  max-height: calc(100vh - 92px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.menu-drawer-body {
  flex: 1;
  min-height: 0;
  padding: 16px;
}

.menu-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-nav-item {
  margin: 0;
  padding: 0;
}

.menu-nav-item:last-child {
  border-bottom: 0;
}

.menu-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  padding: 0 8px;
  box-sizing: border-box;
  border-radius: 8px;
  background: transparent;
  border: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-primary);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.menu-nav-link:hover {
  background: var(--coral-bg-light);
  color: var(--accent-coral);
}

.menu-nav-link:hover .menu-nav-caret {
  color: var(--accent-coral);
}

.menu-nav-caret {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.menu-nav-toggle[aria-expanded="true"] .menu-nav-caret {
  transform: rotate(180deg);
}

.menu-nav-sub {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 6px 28px;
}

.menu-nav-sub::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 14px;
  width: 0;
  border-left: 1px dashed var(--border);
  pointer-events: none;
}

.menu-nav-child {
  display: flex;
  align-items: center;
  height: 40px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-secondary);
  padding: 0 8px;
}

.menu-nav-child:hover {
  background: var(--coral-bg-light);
  color: var(--accent-coral);
}


/* No select */
.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-primary);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 0 40px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(200px, 1fr);
  gap: 32px;
  flex: 1;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-coral);
}

.qr-group {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.qr-ph {
  width: 100px;
  height: 100px;
  font-size: 12px;
  line-height: 1.4;
  background: var(--sage-bg-subtle);
  border: 1px solid var(--sage-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sage);
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
}

/* Visit Module */
.visit-grid {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: start;
}

.visit-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  min-width: 0;
  min-height: 0;
  align-self: start;
}

.visit-panel .card-link {
  position: absolute;
  top: 32px;
  right: 32px;
  left: auto;
  bottom: auto;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}

.visit-panel .card-link:hover {
  box-shadow: var(--shadow-blue);
}

.visit-panel .card-item:hover {
  border-color: var(--blue);
}

.visit-panel .card-item-label {
  color: var(--blue);
}

.visit-image {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.visit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.card-grid-4col .card-item {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.num-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.num-card {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  box-sizing: border-box;
}

.num-card-header {
  position: relative;
  margin-bottom: auto;
}

.num-card-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.num-card-title {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue);
}

.num-card .num-item {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.num-card .num-val {
  font-family: 'Archivo Black', sans-serif;
  font-size: 80px;
  line-height: 80px;
  font-weight: 400;
  color: var(--blue);
}

.num-card .num-label {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-muted);
}

/* Autism Module */
.content-block {
  flex: 1;
  min-width: 0;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.content-head {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-title-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.content-block .card-link {
  position: absolute;
  top: 32px;
  right: 32px;
  left: auto;
  bottom: auto;
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
}

.content-block .card-link:hover {
  box-shadow: var(--shadow-sage);
}

#cat-4-1 .card-link {
  background: linear-gradient(135deg, var(--lavender), var(--lavender-light));
}

#cat-4-1 .card-link:hover {
  box-shadow: var(--shadow-lavender);
}

#cat-4-3 .card-link {
  background: linear-gradient(135deg, var(--red), var(--red-light));
}

#cat-4-3 .card-link:hover {
  box-shadow: var(--shadow-red);
}

.content-row {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.table-zone {
  flex: 1;
  min-width: 640px;
  display: flex;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.scale-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.scale-table-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.scale-table-group {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.scale-table-group:last-child .scale-table-row {
  border-bottom: none;
}

.scale-table-head {
  background: transparent;
}

.scale-table-col {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.scale-table-col:last-child {
  border-right: none;
}

.scale-table-group:last-child .scale-table-col {
  border-bottom: none;
}

.scale-table-row:not(.scale-table-head) {
  cursor: pointer;
  transition: var(--transition);
}

.scale-table-row:not(.scale-table-head):hover {
  background: var(--border-light);
}

#cat-4-1 .scale-table-row:not(.scale-table-head):hover {
  border-radius: 0;
}

#cat-4-3 .scale-table-row:not(.scale-table-head):hover {
  border-radius: 8px;
}

.scale-table-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 8px;
  transition: color 0.2s ease;
}

.scale-table-icon[hidden] {
  display: none !important;
}

.scale-table-row:hover .scale-table-icon {
  color: var(--red);
}

.scale-table-icon svg {
  width: 24px;
  height: 24px;
}

.scale-table-row.active {
  background: transparent;
}

.scale-table-expand {
  padding: 16px;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.scale-table-group:last-child .scale-table-expand {
  border-bottom: none;
  border-top: 1px solid var(--border);
}

#cat-4-1 .scale-table-expand {
  max-height: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 16px;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: none;
  transition: height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

#cat-4-1 .scale-table-expand.is-open {
  max-height: 200px;
  height: auto;
  opacity: 1;
  padding: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.scale-table-expand-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#cat-4-1 .scale-table-expand-inner {
  overflow: hidden;
}

#cat-4-1 .detail-item .icon-dot {
  width: 6px;
  height: 6px;
  background: var(--lavender);
  border-radius: 50%;
  flex-shrink: 0;
}

.detail-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.scale-table-wrap .detail-item .icon-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 12px;
  font-size: 12px;
  color: var(--lavender-tag-text);
  background: var(--lavender-tag-bg);
  border-radius: 999px;
}

.aside {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  gap: 24px;
}

/* Neuromuscular Module */
.tab-zone {
  flex: 0 0 490px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.scale-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.scale-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.scale-tab:hover {
  color: var(--sage);
}

.scale-tab.active {
  color: var(--sage);
}

.scale-tab::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--sage);
  transition: left 0.25s ease, right 0.25s ease;
}

.scale-tab.active::after {
  left: 10%;
  right: 10%;
}

.zone-panel {
  flex: 1;
  min-height: 0;
  margin-top: 24px;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.zone-panel .detail-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zone-panel .detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  padding: 4px 12px 4px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.detail-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.iep-cell .detail-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.zone-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  color: var(--sage);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 24px;
}

.zone-count {
  margin-left: auto;
  font-size: 14px;
  color: var(--text-muted);
}

.zone-number {
  position: absolute;
  right: 32px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.zone-number .num-item {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
}

.zone-number .num-val {
  font-family: 'Archivo Black', sans-serif;
  font-size: 80px;
  line-height: 80px;
  font-weight: 400;
  color: var(--sage);
}

.zone-number .num-label {
  transform: translateY(-10px);
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
}

.feature-panel {
  flex: 0 0 240px;
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.feature-panel .detail-title {
  font-size: 20px;
  margin-bottom: 0;
}

.feature-panel .detail-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-panel .detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: none;
  height: 38px;
  padding: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-panel .detail-item .icon-dot {
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

.aside-ph {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 16px;
}

/* Psychology Module */
.scale-table-wrap {
  flex: 0 1 500px;
  width: 500px;
  min-width: 420px;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.scale-panel {
  flex: 2;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  border: none;
  border-radius: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}

#cat-4-3-main {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#cat-4-3-main .scale-gap {
  transition: none;
}

#cat-4-3-main .scale-gap-img {
  transition: none;
}

.scale-gap {
  flex: 1 500 300px;
  width: 300px;
  min-width: 0;
  position: relative;
  border: none;
  border-radius: 16px;
  align-self: stretch;
  overflow: hidden;
}

.scale-gap-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1480px) {
  .scale-gap {
    display: none;
  }

  .scale-panel {
    flex: 0 0 456px;
  }

  .scale-table-wrap {
    flex: 1 1 500px;
  }
}

.scale-count {
  position: absolute;
  right: 10px;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.scale-count .num-item {
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
}

.scale-count .num-label {
  transform: translateY(-10px);
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
}

.scale-count .num-val {
  font-family: 'Archivo Black', sans-serif;
  font-size: 80px;
  line-height: 80px;
  font-weight: 400;
  color: var(--text-primary);
}

.scale-code {
  position: absolute;
  bottom: 0;
  left: 8px;
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.scale-name {
  margin-left: 12px;
  display: inline;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--text-muted);
}

.scale-minis {
  flex: 1 1 613px;
  max-width: 456px;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scale-mini {
  position: relative;
  width: 144px;
  height: 144px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 0;
  transition: var(--transition);
  background-size: cover;
  background-position: center;
  background-clip: padding-box;
}

.scale-mini:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.scale-mini .scale-mini-label {
  font-size: 12px;
  color: var(--red);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

.scale-mini.wide {
  width: calc(144px * 2 + 12px);
  max-width: 100%;
}

.scale-table-wrap .scale-table {
  border: 0;
  background: transparent;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: visible;
}

.scale-table-wrap .scale-table-group {
  display: contents;
}

.scale-table-wrap .scale-table-group:nth-child(2) .scale-table-row {
  position: relative;
}

.scale-table-wrap .scale-table-group:nth-child(2) .scale-table-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--border);
  transition: opacity 0.2s ease;
}

.scale-table-wrap .scale-table.hide-divider .scale-table-group:nth-child(2) .scale-table-row::before {
  opacity: 0;
}

.scale-table-wrap .scale-table-group:not(:last-child) .scale-table-row {
  border-bottom: none;
}

.scale-table-wrap .scale-table-row {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.scale-table-wrap .scale-table-col {
  flex: 1;
  min-width: 0;
  height: 60px;
  display: flex;
  align-items: center;
  font-size: 28px;
  line-height: 40px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: none;
}

.scale-table-name {
  line-height: 48px;
  font-size: 36px;
  font-weight: 700;
  font-family: 'Archivo Black', sans-serif;
}

.scale-table-note {
  margin-left: 12px;
  align-self: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--text-muted);
}

.scale-table-wrap .scale-table-expand {
  flex: 1;
  min-height: 0;
  padding: 0 16px 0 20px;
  position: relative;
  border-bottom: none;
  border-top: none;
  overflow: hidden;
}

#cat-4-3 .scale-table-wrap .scale-table-expand {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

#cat-4-3 .scale-table-wrap .scale-table-expand.is-open {
  max-height: 336px;
  opacity: 1;
  padding-top: 0;
  padding-bottom: 0;
}

.scale-table-wrap .scale-table-group:last-child .scale-table-expand {
  border-top: none;
}

.scale-table-wrap .scale-table-expand[hidden] {
  display: none;
}

.scale-table-wrap .scale-table-expand-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scale-table-wrap .detail-subtitle {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
}

.scale-table-wrap .detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scale-table-wrap .detail-item {
  max-width: 220px;
}

.zone-numbers {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: flex;
  gap: 48px;
  align-items: flex-end;
}

#cat-4-3 .detail-subtitle,
#cat-4-3 .detail-list,
#cat-4-3 .zone-numbers {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

#cat-4-3 .scale-table-expand.is-open .detail-subtitle,
#cat-4-3 .scale-table-expand.is-open .detail-list,
#cat-4-3 .scale-table-expand.is-open .zone-numbers {
  opacity: 1;
  transform: translateY(0);
}

.zone-number-item {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
}

.zone-number-val {
  font-family: 'Archivo Black', sans-serif;
  font-size: 80px;
  line-height: 80px;
  font-weight: 400;
  color: var(--red);
}

.zone-number-label {
  transform: translateY(-10px);
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
}

/* ============================================================
   Resource Room Module (cat-5)
   ============================================================ */

.assess-zone {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.assess-scroll {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 888px;
  flex-shrink: 1;
  min-width: 0;
}

.assess-scroll::-webkit-scrollbar {
  display: none;
}

.assess-card {
  width: 280px;
  height: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: none;
  overflow: hidden;
  transition: var(--transition);
}

.assess-card:hover {
  border-color: var(--lavender);
}

.assess-img {
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.assess-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  padding: 16px;
}

.assess-name {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.assess-desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
}

.assess-side {
  flex: 1;
  min-width: 320px;
  height: 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.assess-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.assess-title {
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
}

.assess-subtitle {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
  width: 100%;
}

.assess-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assess-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.assess-list-item .icon-dot {
  width: 6px;
  height: 6px;
  background: var(--lavender);
  border-radius: 50%;
  flex-shrink: 0;
}

.assess-arrows {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 12px;
}

.assess-zone .card-link {
  position: absolute;
  right: 0;
  bottom: 0;
  left: auto;
  width: auto;
  background: linear-gradient(135deg, var(--lavender), var(--lavender-light));
}

.assess-zone .card-link:hover {
  box-shadow: var(--shadow-lavender);
}

/* ============================================================
   IEP Module (cat-6)
   ============================================================ */

.iep-grid {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(clamp(320px, 30vw, 420px), 1fr) minmax(300px, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 24px;
}

.iep-cell {
  border: none;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 24px;
}

.iep-grid .iep-cell:nth-child(2) {
  border: 1px solid var(--border);
}

.iep-cell-image {
  padding: 0;
  border: none;
}

.iep-cell-left {
  padding: 0;
}

.iep-cell-left .card-item-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  width: 100%;
  height: 100%;
}

.iep-cell-left .card-item-wide {
  grid-column: 1 / -1;
}

.iep-cell-left .card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border);
  padding: 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--glass-bg);
  border-radius: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.iep-cell-left .card-item:hover {
  border-color: var(--sage);
  transform: translateY(-4px);
}

.iep-cell-left .card-item:nth-child(1):hover { border-color: var(--red); }
.iep-cell-left .card-item:nth-child(2):hover { border-color: var(--sage); }
.iep-cell-left .card-item:nth-child(3):hover { border-color: var(--blue); }

.iep-cell-left .card-item:nth-child(1) .card-item-label,
.iep-cell-left .card-item:nth-child(1) .iep-big-number-val { color: var(--red); }

.iep-cell-left .card-item:nth-child(2) .card-item-label,
.iep-cell-left .card-item:nth-child(2) .iep-big-number-val { color: var(--sage); }

.iep-cell-left .card-item:nth-child(3) .card-item-label,
.iep-cell-left .card-item:nth-child(3) .iep-big-number-val { color: var(--blue); }

.iep-cell .card-item-label {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-align: center;
}

.iep-big-numbers {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  align-items: flex-end;
}

.iep-big-number-item {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 4px;
}

.iep-big-number-val {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(56px, 5vw, 80px);
  line-height: 1;
  font-weight: 400;
  color: var(--sage);
}

.iep-big-number-plus {
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1;
  vertical-align: top;
}

.iep-cell-left .card-item-label {
  font-size: 20px;
  line-height: 28px;
  position: absolute;
  top: 16px;
  left: 16px;
  text-align: left;
  color: var(--sage);
}

.iep-big-number-label {
  transform: translateY(-6px);
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
}

.iep-cell .card-item-desc {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-muted);
  text-align: center;
}

.iep-cell-mid {
  grid-column: 2;
  border: 1px solid var(--border);
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px;
}

.iep-cell .detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 4px;
}

.iep-cell .detail-item {
  max-width: none;
  height: 38px;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
}

.iep-cell .detail-item .icon-dot {
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

.iep-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

/* ============================================================
   Cloud Platform Module (cat-8)
   ============================================================ */

.promo-banner {
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 680px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.promo-title-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.promo-subtitle {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
}

.promo-banner .card-link {
  position: absolute;
  top: 32px;
  right: 32px;
  left: auto;
  width: auto;
  background: linear-gradient(135deg, var(--lavender), var(--lavender-light));
}

.promo-banner .card-link:hover {
  box-shadow: var(--shadow-lavender);
}

.promo-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.promo-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 8px;
  padding: 8px;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.promo-tab:hover {
  color: var(--lavender);
}

.promo-tab.active {
  color: var(--lavender);
}

.promo-tab::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--lavender);
  transition: left 0.25s ease, right 0.25s ease;
}

.promo-tab.active::after {
  left: 10%;
  right: 10%;
}

.shot-split {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 3.2fr;
  gap: 24px;
}

.shot-detail {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.shot-detail .detail-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0;
}

.shot-detail .detail-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shot-detail .detail-item {
  max-width: none;
  height: 38px;
  padding: 0;
  box-sizing: border-box;
}

.shot-detail .detail-item .icon-dot {
  width: 6px;
  height: 6px;
  background: var(--lavender);
  border-radius: 50%;
  flex-shrink: 0;
}

.shot-ph {
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

/* Notice Detail Modal */
.notice-modal-overlay {
  position: fixed;
  right: 430px;
  top: calc(100vh - 562px);
  z-index: 140;
  width: 400px;
  max-height: 480px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-dropdown);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.notice-modal-overlay.open {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.notice-modal-body {
  padding: 24px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-secondary);
  overflow-y: auto;
  flex: 1;
}

/* Scroll Reveal Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Upper-limb training product features */
#cat-9 .card {
  grid-template-columns: minmax(380px, 1fr) minmax(0, 0.8fr);
}

#cat-9 .card-cover-ph {
  min-width: 0;
}

#cat-1-1 .card {
  grid-template-columns: minmax(380px, 1fr) minmax(0, 0.8fr);
}

#cat-1-1 .card-cover-ph {
  min-width: 0;
}

.training-product-features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 32px 32px;
  background: var(--glass-bg-subtle);
}

.training-product-feature {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--card-bg);
  transition: var(--transition);
}

.training-product-feature:hover {
  border-color: var(--coral);
  transform: translateY(-4px);
}

.training-product-feature-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--coral);
  background: var(--coral-tag-bg);
}

.training-product-feature-icon svg {
  width: 20px;
  height: 20px;
}

.training-product-feature h4 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text-primary);
}

.training-product-feature p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Module cards: opaque white instead of translucent glass */
.content-block,
.premium-content,
.course-content,
.visit-panel,
.assess-zone,
.promo-banner {
  background: var(--card-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
