/* Career Pathways Workshop — Sunrise Theme */

:root {
  --bg:           #fdf6ef;
  --surface:      #ffffff;
  --primary:      #d4541c;
  --primary-dark: #b03d10;
  --primary-light:#fae8df;
  --accent:       #e09b2d;
  --accent-light: #fdf3d6;
  --text:         #2a1810;
  --text-sub:     #7a4830;
  --border:       #f0d4c0;
  --shadow:       0 2px 12px rgba(212,84,28,0.10);
  --font-zh: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-en: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --radius-card:     10px;
  --radius-activity: 14px;
  --radius-btn:      8px;
  --t: 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-zh);
}

body {
  display: flex;
  flex-direction: column;
}

/* ── Language visibility ─────────────────────────────── */
body.zh .en      { display: none !important; }
body:not(.zh) .zh { display: none !important; }

/* ── Language toggle button ──────────────────────────── */
.lang-toggle {
  position: fixed;
  top: 0.85rem;
  right: 1rem;
  z-index: 200;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: var(--t);
  font-family: var(--font-en);
  line-height: 1;
  touch-action: manipulation;
}
.lang-toggle:hover { background: var(--primary-light); border-color: var(--primary); }

/* ── Slides area ─────────────────────────────────────── */
.slides-area {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  padding: 1.5rem 3rem 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  background: var(--bg);
  overflow: hidden;
}
.slide.active { display: flex; }

.slide-content {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* ── Footer: progress + nav ──────────────────────────── */
.slide-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  min-height: 48px;
}

.progress-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--primary);
  transition: width 250ms ease;
}

.progress-label {
  font-size: 13px;
  color: var(--text-sub);
  font-family: var(--font-en);
  flex-shrink: 0;
  min-width: 40px;
  text-align: right;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-sub);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
  font-family: var(--font-en);
}
.nav-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.nav-btn:disabled { opacity: 0.25; cursor: default; }
.nav-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.lang-toggle:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.nav-btn { touch-action: manipulation; }

/* Programmatic focus target for screen reader slide announcements — no visible ring */
[tabindex="-1"]:focus { outline: none; }

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--primary);
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font-family: var(--font-zh);
  transition: var(--t);
  touch-action: manipulation;
}
.btn-primary:hover  { background: var(--primary-dark); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.4; cursor: default; }
.btn-primary:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 3px; }

/* ── Typography ──────────────────────────────────────── */
.heading-zh {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  font-family: var(--font-zh);
  margin-bottom: 0.15rem;
}

.heading-en {
  font-size: clamp(16px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--text-sub);
  font-family: var(--font-en);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.body-zh {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  font-family: var(--font-zh);
  color: var(--text);
}

.body-en {
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  font-family: var(--font-en);
  color: var(--text-sub);
}

.note-block {
  margin-top: 0.7rem;
  padding: 0.6rem 1rem;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: clamp(14px, 1.7vw, 19px);
  font-family: var(--font-zh);
  color: var(--text);
  line-height: 1.5;
}

/* ── Title slide ─────────────────────────────────────── */
.slide--title { background: var(--bg); }

.title-arc {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(224,155,45,0.28) 0%,
    rgba(212,84,28,0.14) 55%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 0;
}

.slide--title .slide-content { position: relative; z-index: 1; }

.title-main {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.05;
  font-family: var(--font-zh);
  margin-bottom: 0.3rem;
}

.title-en-line {
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 600;
  color: var(--text-sub);
  font-family: var(--font-en);
  margin-bottom: 1rem;
}

.title-sub-zh {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-zh);
}

.title-sub-en {
  font-size: clamp(13px, 1.5vw, 18px);
  color: var(--text-sub);
  font-family: var(--font-en);
  margin-bottom: 1.5rem;
}

.start-hint {
  display: inline-block;
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--primary);
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1.4rem;
  font-family: var(--font-en);
  animation: pulse 2.2s ease-in-out infinite;
  margin-top: 1.5rem;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .start-hint { animation: none; }
}

/* ── Agenda cards ────────────────────────────────────── */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.agenda-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary);
}

.agenda-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.65rem;
  font-family: var(--font-en);
}

.agenda-icon { font-size: 3rem; display: block; margin-bottom: 0.6rem; }

.agenda-zh {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.15rem;
}

.agenda-en {
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--accent);
  font-family: var(--font-en);
  font-weight: 600;
}

/* ── Career ladder ───────────────────────────────────── */
.ladder {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.25rem;
}

.rung {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.rung-level {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-en);
  margin-bottom: 0.2rem;
}

.rung-zh {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.1rem;
}

.rung-en {
  font-size: clamp(12px, 1.4vw, 16px);
  color: var(--text-sub);
  font-family: var(--font-en);
}

.rung--accent { border-left-color: var(--accent); }
.rung--muted  { border-left-color: var(--primary-light); }

.rung-title-en {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-en);
  margin-bottom: 0.1rem;
}

.rung-connector {
  text-align: left;
  padding-left: 1.4rem;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1.2;
}

/* ── Industry grid (2×3) ─────────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.industry-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.industry-zh {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.05rem;
}

.industry-en {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  font-family: var(--font-en);
  margin-bottom: 0.2rem;
}

.industry-desc {
  font-size: 11px;
  color: var(--text-sub);
  font-family: var(--font-en);
  font-style: italic;
  line-height: 1.4;
}

/* ── Activity slide (slide 5) ────────────────────────── */
.slide--activity { background: var(--accent-light) !important; }

.activity-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.activity-option {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-activity);
  padding: 0.8rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.option-text { flex: 1; }

.option-zh {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-zh);
}

.option-en {
  font-size: clamp(12px, 1.3vw, 15px);
  color: var(--text-sub);
  font-family: var(--font-en);
}

.option-match {
  display: none;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-zh);
  text-align: right;
  min-width: 120px;
}

/* Activity reveal phase */
.slide--activity[data-phase="revealed"] .option-match { display: block; }
.slide--activity[data-phase="revealed"] .reveal-btn   { display: none !important; }

/* ── Education pathways (2×2) ────────────────────────── */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 0.65rem;
}

.pathway-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}

.pathway-zh {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.05rem;
}

.pathway-en {
  font-size: clamp(12px, 1.3vw, 15px);
  color: var(--text-sub);
  font-family: var(--font-en);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.pathway-desc-zh {
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--text);
  font-family: var(--font-zh);
  line-height: 1.45;
}

.pathway-desc-en {
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--text-sub);
  font-family: var(--font-en);
  line-height: 1.4;
}

.pathway-footer-note {
  margin-top: 0.65rem;
  padding: 0.55rem 1rem;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: clamp(14px, 1.7vw, 20px);
  font-family: var(--font-zh);
  color: var(--primary);
  font-weight: 600;
}

/* ── Quiz slide (slide 7) ────────────────────────────── */
.slide--quiz { background: var(--accent-light) !important; }

.quiz-block {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-activity);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow);
  margin-bottom: 0.5rem;
}

.quiz-statement-zh {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.quiz-statement-en {
  font-size: clamp(13px, 1.5vw, 17px);
  color: var(--text-sub);
  font-family: var(--font-en);
  font-style: italic;
}

.quiz-prompt {
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--text-sub);
  font-family: var(--font-en);
  margin: 0.3rem 0 0.5rem;
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 900;
  margin-bottom: 0.35rem;
}
.verdict-true  { background: rgba(22,163,74,0.12);  color: #16a34a; border: 2px solid rgba(22,163,74,0.4); }
.verdict-false { background: rgba(220,38,38,0.12);  color: #dc2626; border: 2px solid rgba(220,38,38,0.4); }

.quiz-explanation-zh {
  font-size: clamp(14px, 1.7vw, 19px);
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.1rem;
}

.quiz-explanation-en {
  font-size: clamp(11px, 1.3vw, 14px);
  color: var(--text-sub);
  font-family: var(--font-en);
}

/* Quiz multi-phase */
.slide--quiz .q1-answer { display: none; }
.slide--quiz .q2-block  { display: none; }
.slide--quiz .q2-answer { display: none; }
.slide--quiz .reveal-q2 { display: none; }

.slide--quiz[data-phase="a1"] .q1-answer  { display: block; }
.slide--quiz[data-phase="a1"] .q2-block   { display: block; }
.slide--quiz[data-phase="a1"] .reveal-q1  { display: none !important; }
.slide--quiz[data-phase="a1"] .reveal-q2  { display: inline-flex !important; }

.slide--quiz[data-phase="done"] .q1-answer { display: block; }
.slide--quiz[data-phase="done"] .q2-block  { display: block; }
.slide--quiz[data-phase="done"] .q2-answer { display: block; }
.slide--quiz[data-phase="done"] .reveal-q1 { display: none !important; }
.slide--quiz[data-phase="done"] .reveal-q2 { display: none !important; }

/* ── SMART goal card ─────────────────────────────────── */
.smart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 0.6rem;
}

.smart-row {
  display: flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-left: 5px solid var(--primary);
  border-bottom: 1px solid var(--border);
  gap: 0.85rem;
}
.smart-row:last-child { border-bottom: none; }

.smart-letter {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-en);
}

.smart-zh {
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
}

.smart-en {
  font-size: clamp(11px, 1.3vw, 14px);
  color: var(--text-sub);
  font-family: var(--font-en);
}

.example-goal-card {
  background: var(--accent-light);
  border: 2px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow);
  margin-top: 0.6rem;
}

.example-goal-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-en);
  margin-bottom: 0.3rem;
}

.example-goal-zh {
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-zh);
  line-height: 1.45;
  margin-bottom: 0.2rem;
}

.example-goal-en {
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--text-sub);
  font-family: var(--font-en);
  font-style: italic;
  line-height: 1.4;
}

/* ── Steps to move up ────────────────────────────────── */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-en);
}

.step-zh {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.05rem;
}

.step-en-label {
  font-size: clamp(12px, 1.3vw, 15px);
  color: var(--text-sub);
  font-family: var(--font-en);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.step-desc-zh {
  font-size: clamp(13px, 1.5vw, 17px);
  color: var(--text);
  font-family: var(--font-zh);
}

.step-desc-en {
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--text-sub);
  font-family: var(--font-en);
}

/* ── Training org cards (2×2) ────────────────────────── */
.training-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 0.65rem;
}

.training-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 0.95rem 1.2rem;
  box-shadow: var(--shadow);
}

.training-org {
  font-size: clamp(15px, 1.9vw, 21px);
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-en);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.training-zh {
  font-size: clamp(14px, 1.6vw, 19px);
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-zh);
}

.training-en {
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--text-sub);
  font-family: var(--font-en);
  margin-bottom: 0.25rem;
}

.training-url {
  display: block;
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--primary);
  font-family: var(--font-en);
  font-weight: 700;
  text-decoration: none;
}
.training-url:hover { text-decoration: underline; }

/* ── CSC services (5 cards — 6-col grid 3+2) ─────────── */
.services-6col {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.services-6col .service-card:nth-child(1) { grid-column: 1 / span 2; }
.services-6col .service-card:nth-child(2) { grid-column: 3 / span 2; }
.services-6col .service-card:nth-child(3) { grid-column: 5 / span 2; }
.services-6col .service-card:nth-child(4) { grid-column: 2 / span 2; }
.services-6col .service-card:nth-child(5) { grid-column: 4 / span 2; }

.service-zh {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.15rem;
}

.service-en {
  font-size: clamp(11px, 1.3vw, 14px);
  color: var(--text-sub);
  font-family: var(--font-en);
}

.csc-cta {
  margin-top: 0.75rem;
  padding: 0.8rem 1.2rem;
  background: var(--primary-light);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.csc-address-zh {
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--text);
  font-family: var(--font-zh);
  font-weight: 600;
}

.csc-address-en {
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--text-sub);
  font-family: var(--font-en);
}

/* ── Action plan slide ───────────────────────────────── */
.action-plan-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.action-row {
  background: var(--surface);
  border: 2px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow);
}

.action-label-zh {
  font-size: clamp(17px, 2.1vw, 24px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.05rem;
}

.action-label-en {
  font-size: clamp(12px, 1.3vw, 15px);
  color: var(--text-sub);
  font-family: var(--font-en);
  margin-bottom: 0.5rem;
}

.writing-line {
  height: 2px;
  background: #c9a888;
  border-radius: 1px;
  margin-top: 1rem;
}

.action-badge {
  display: inline-block;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-zh);
  margin-top: 0.65rem;
}

/* ── Resources / QR slide ────────────────────────────── */
.resource-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.65rem;
  margin-bottom: 0.75rem;
}

.res-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 0.9rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.res-org {
  font-size: clamp(14px, 1.7vw, 20px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.1rem;
}

.res-org-en {
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--text-sub);
  font-family: var(--font-en);
  margin-bottom: 0.25rem;
}

.res-contact {
  font-size: clamp(14px, 1.7vw, 19px);
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-en);
}

.qr-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1rem 1.5rem;
}

#qr-container { flex-shrink: 0; }
#qr-container canvas,
#qr-container img { border-radius: 6px; display: block; }

.qr-info-zh {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.2rem;
}

.qr-info-en {
  font-size: clamp(12px, 1.3vw, 15px);
  color: var(--text-sub);
  font-family: var(--font-en);
  margin-bottom: 0.2rem;
}

.qr-url {
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--primary);
  font-family: monospace;
  word-break: break-all;
  text-decoration: underline;
  cursor: pointer;
}
.qr-url:hover { color: var(--primary-dark); }

/* ── Resources page (resources.html) ─────────────────── */
html:has(body.res-page),
body.res-page {
  overflow: auto;
  font-family: var(--font-zh);
  background: var(--bg);
  color: var(--text);
  display: block;
  height: auto;
}

.res-page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.res-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.res-page-title-zh {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-zh);
}

.res-page-title-en {
  font-size: clamp(13px, 1.5vw, 17px);
  color: var(--text-sub);
  font-family: var(--font-en);
}

.print-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 0.5rem 1.25rem;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-en);
  transition: var(--t);
  white-space: nowrap;
}
.print-btn:hover { background: var(--primary-dark); }

.res-section { margin-bottom: 2rem; }

.res-section-title-zh {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.15rem;
  border-left: 5px solid var(--primary);
  padding-left: 0.75rem;
}

.res-section-title-en {
  font-size: clamp(12px, 1.3vw, 15px);
  color: var(--text-sub);
  font-family: var(--font-en);
  margin-left: calc(0.75rem + 5px);
  margin-bottom: 0.75rem;
}

.res-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(13px, 1.5vw, 16px);
}
.res-table th,
.res-table td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.85rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}
.res-table th {
  background: var(--primary-light);
  font-weight: 700;
  color: var(--text);
}
.res-table td:first-child { font-weight: 600; white-space: nowrap; }

.org-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.org-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
}

.org-card-name {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.1rem;
}

.org-card-zh {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.1rem;
}

.org-card-detail {
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--text-sub);
  font-family: var(--font-en);
  line-height: 1.45;
}

.org-card-detail a {
  color: var(--primary);
  font-weight: 600;
}

.worksheet-box {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.worksheet-field { margin-bottom: 1.5rem; }

.ws-label-zh {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-zh);
  margin-bottom: 0.15rem;
}

.ws-label-en {
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--text-sub);
  font-family: var(--font-en);
  margin-bottom: 0.35rem;
}

.ws-line {
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  margin-top: 1.25rem;
}

.ws-line + .ws-line {
  margin-top: 1.75rem;
}

.qr-back-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

#qr-back-container canvas,
#qr-back-container img { border-radius: 6px; display: block; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .slide { padding: 1.75rem 2rem 0; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .agenda-grid   { grid-template-columns: repeat(2, 1fr); }
  .services-6col .service-card:nth-child(4) { grid-column: 1 / span 3; }
  .services-6col .service-card:nth-child(5) { grid-column: 4 / span 3; }
}

@media (max-width: 700px) {
  .slide         { padding: 1.25rem 1.25rem 0; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .pathway-grid  { grid-template-columns: 1fr; }
  .training-grid { grid-template-columns: 1fr; }
  .agenda-grid   { grid-template-columns: 1fr; }
  .resource-cards-grid { grid-template-columns: 1fr; }
  .qr-row        { flex-direction: column; text-align: center; }
  .org-cards-grid { grid-template-columns: 1fr; }
  .services-6col .service-card:nth-child(1) { grid-column: 1 / span 3; }
  .services-6col .service-card:nth-child(2) { grid-column: 4 / span 3; }
  .services-6col .service-card:nth-child(3) { grid-column: 1 / span 3; }
  .services-6col .service-card:nth-child(4) { grid-column: 4 / span 3; }
  .services-6col .service-card:nth-child(5) { grid-column: 1 / span 6; }
}
