/* ============================================================
   PRACTICALX — AI SERIES TOOLKIT STYLES
   Shared CSS for all 30 Learning AI Out Loud toolkit pages.
   Change here → updates all 30 toolkits instantly.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=DM+Mono:wght@400;500&display=swap');

/* ── TOKENS ── */
:root {
  --bg:             #FAFAF8;
  --surface:        #FFFFFF;
  --surface-alt:    #F4F3F0;
  --accent:         #5B3FBF;
  --accent-light:   #EDE9FA;
  --accent2:        #00B4CC;
  --accent2-light:  #E6F8FB;
  --green:          #1A7F5A;
  --green-light:    #E6F5EF;
  --blue:           #1A4F9F;
  --blue-light:     #E6EEFA;
  --amber:          #B45A00;
  --amber-light:    #FEF3E6;
  --red:            #9B1C1C;
  --red-light:      #FEE2E2;
  --text:           #1A1A2E;
  --text-muted:     #6B6B80;
  --text-light:     #9999AA;
  --border:         #E2E2E8;
  --border-strong:  #C8C8D8;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent2); }
img { display: block; max-width: 100%; }

/* ── PRINT ── */
@media print {
  body { background: white; font-size: 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .no-print { display: none !important; }
  .page { box-shadow: none; margin: 0; border-radius: 0; max-width: 100%; }
  .header { background: white !important; border-bottom: 3px solid var(--accent); padding: 32px 40px 28px; }
  .header::before, .header::after { display: none; }
  .brand-name { color: var(--text) !important; }
  .brand-mark { background: var(--accent) !important; }
  .brand-series, .header-arc { color: var(--text-muted) !important; }
  .header-day { color: var(--accent) !important; }
  .header-title { color: var(--text) !important; }
  .header-quote { color: var(--text-muted) !important; border-left-color: var(--accent) !important; }
  .footer { background: white !important; border-top: 2px solid var(--border); padding: 24px 40px; }
  .footer-brand-name { color: var(--text) !important; }
  .footer-series, .footer-day { color: var(--text-muted) !important; }
  .footer-link { color: var(--accent) !important; text-decoration: underline !important; }
  .body { padding: 24px 40px; gap: 28px; }
  .section, .exercise, .prompt-box, .challenge,
  .arch-block, .privacy, .resources, .notice,
  .core-idea, .disclaimer, .series-connect { break-inside: avoid; page-break-inside: avoid; }
  .exercise-header, .section-header { break-after: avoid; page-break-after: avoid; }
}

/* ── ANIMATIONS ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* ── BACK NAV ── */
.back-nav {
  max-width: 860px;
  margin: 24px auto 0;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}

.back-link:hover { gap: 12px; color: var(--accent); }

.back-arrow { font-size: 16px; transition: transform 0.2s; }
.back-link:hover .back-arrow { transform: translateX(-3px); }

.back-home {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.back-home:hover { color: var(--accent); }

/* ── PAGE ── */
.page {
  max-width: 860px;
  margin: 24px auto 40px;
  width: 100%;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  flex: 1;
}

/* ── HEADER ── */
.header {
  background: var(--text);
  padding: 48px 56px 40px;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(91,63,191,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), transparent);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.brand-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: white;
  flex-shrink: 0;
}

.brand-meta { display: flex; flex-direction: column; gap: 1px; }

.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: white;
  letter-spacing: -0.2px;
}

.brand-name span { color: var(--accent2); }

.brand-series {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1px;
}

.header-day {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--accent2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.header-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  color: white;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.header-quote {
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.header-arc {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

/* ── INTRO BAND ── */
.intro-band {
  background: var(--accent-light);
  padding: 20px 56px;
  border-bottom: 1px solid var(--border);
}

.intro-band p { font-size: clamp(13px, 1.4vw, 15px); color: var(--accent); }
.intro-band strong { font-weight: 600; }

/* ── SERIES CONNECT ── */
.series-connect {
  background: var(--surface-alt);
  border-left: 3px solid var(--accent2);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ── BODY ── */
.body {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ── SECTION ── */
.section { display: flex; flex-direction: column; gap: 20px; }

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-badge {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-green  { background: var(--green-light); }
.badge-blue   { background: var(--blue-light); }
.badge-purple { background: var(--accent-light); }
.badge-amber  { background: var(--amber-light); }
.badge-red    { background: var(--red-light); }

.section-title-block { display: flex; flex-direction: column; gap: 3px; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: -0.3px;
  color: var(--text);
}

.section-title.green { color: var(--green); }
.section-title.blue  { color: var(--blue); }
.section-title.red   { color: var(--red); }

.section-meta { display: flex; gap: 20px; flex-wrap: wrap; }

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--text-muted);
  font-weight: 300;
}

.meta-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-light);
  flex-shrink: 0;
}

/* ── CORE IDEA ── */
.core-idea {
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
}

.core-idea p { font-size: clamp(14px, 1.5vw, 16px); line-height: 1.7; color: var(--text); }

.core-idea .pullquote {
  margin-top: 14px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--accent);
  letter-spacing: -0.2px;
}

/* ── DISCLAIMER ── */
.disclaimer {
  background: var(--amber-light);
  border: 1px solid rgba(180,90,0,0.2);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.disclaimer-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.disclaimer-content { display: flex; flex-direction: column; gap: 8px; }

.disclaimer-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--amber);
}

.disclaimer-text { font-size: clamp(12px, 1.3vw, 14px); color: #5C3A00; line-height: 1.65; }
.disclaimer-text p + p { margin-top: 8px; }

/* ── EXERCISE ── */
.exercise {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.exercise-header {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.exercise-header.green { background: var(--green-light); }
.exercise-header.blue  { background: var(--blue-light); }
.exercise-header.red   { background: var(--red-light); }

.exercise-number {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.exercise-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text);
}

.exercise-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.exercise-body p { font-size: clamp(13px, 1.4vw, 15px); color: var(--text-muted); }

/* ── PROMPT BOX ── */
.prompt-box {
  background: #F8F7FF;
  border: 1px solid #DDD8F8;
  border-radius: 8px;
  padding: 16px 18px;
}

.prompt-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  opacity: 0.7;
}

.prompt-text {
  font-family: 'DM Mono', monospace;
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
}

.prompt-text .placeholder {
  background: rgba(91,63,191,0.12);
  border-radius: 3px;
  padding: 0 3px;
  color: var(--accent);
  font-weight: 500;
}

/* ── NOTICE ── */
.notice {
  background: var(--surface-alt);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--text-muted);
  font-style: italic;
}

.notice strong { color: var(--text); font-style: normal; font-weight: 500; }

/* ── CHALLENGE ── */
.challenge {
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.challenge.green { background: var(--green-light); border: 1px solid rgba(26,127,90,0.2); }
.challenge.blue  { background: var(--blue-light);  border: 1px solid rgba(26,79,159,0.2); }

.challenge-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.challenge-content { display: flex; flex-direction: column; gap: 4px; }

.challenge-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.challenge-text { font-size: clamp(13px, 1.4vw, 15px); line-height: 1.6; }
.challenge-text.green { color: var(--green); font-weight: 500; }
.challenge-text.blue  { color: var(--blue);  font-weight: 500; }

/* ── ARCH BLOCK ── */
.arch-block {
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text);
  margin-bottom: 4px;
}

.arch-step { display: flex; gap: 14px; align-items: flex-start; }

.arch-step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.arch-step-content { display: flex; flex-direction: column; gap: 2px; }
.arch-step-title { font-weight: 600; font-size: clamp(13px, 1.4vw, 15px); color: var(--text); }
.arch-step-desc  { font-size: clamp(12px, 1.3vw, 14px); color: var(--text-muted); line-height: 1.6; }

/* ── PRIVACY ── */
.privacy {
  background: #FFF8E6;
  border: 1px solid #F5D87A;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  gap: 14px;
}

.privacy-icon { font-size: 20px; flex-shrink: 0; }
.privacy-content { display: flex; flex-direction: column; gap: 8px; }

.privacy-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 15px);
  color: #7A5500;
}

.privacy-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.privacy-list li {
  font-size: clamp(12px, 1.3vw, 14px);
  color: #5C4000;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.privacy-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7A5500;
  opacity: 0.4;
}

/* ── RESOURCES ── */
.resources {
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 20px 24px;
}

.resources-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text);
  margin-bottom: 12px;
}

.resource-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.resource-list li {
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.resource-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
  top: 1px;
}

/* ── COMING SOON SPECIFIC ── */
.coming-body {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.coming-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 8px;
}

.coming-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text);
  letter-spacing: -0.5px;
}

.coming-desc {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.75;
}

.coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  border: 1px solid rgba(91,63,191,0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.coming-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

.coming-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ── PROGRESS BAR ── */
.progress-section {
  margin: 0 56px 48px;
  padding: 24px 28px;
  background: var(--surface-alt);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.progress-header { display: flex; justify-content: space-between; align-items: center; }

.progress-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.progress-count {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--accent2);
  letter-spacing: 1px;
}

.progress-bar {
  height: 3px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 100px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4A2FAF);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(91,63,191,0.25);
  display: inline-block;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(91,63,191,0.35); color: white; }

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: inline-block;
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── FOOTER ── */
.footer {
  background: var(--text);
  padding: 32px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.footer-brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 15px);
  color: white;
}

.footer-brand-name span { color: var(--accent2); }

.footer-series {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}

.footer-links { display: flex; flex-direction: column; gap: 6px; text-align: right; }

.footer-link {
  font-size: clamp(11px, 1.2vw, 13px);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--accent2); }
.footer-link span { color: var(--accent2); }

.footer-day {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
  text-align: right;
  margin-top: 4px;
}

/* ── PRINT BUTTON ── */
.print-btn {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(91,63,191,0.3);
  transition: all 0.2s;
  z-index: 100;
}

.print-btn:hover { background: #4A2FAF; transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header { padding: 32px 24px 28px; }
  .intro-band { padding: 16px 24px; }
  .body { padding: 32px 24px; gap: 28px; }
  .progress-section { margin: 0 24px 32px; }
  .footer { padding: 24px; flex-direction: column; align-items: flex-start; }
  .footer-links { text-align: left; }
  .coming-body { padding: 40px 24px; }
  .back-nav { padding: 0 16px; }
  .coming-actions { flex-direction: column; width: 100%; }
  .coming-actions .btn-primary,
  .coming-actions .btn-secondary { text-align: center; width: 100%; }
}


/* ============================================================
   PHASE STRUCTURE — Day 7 and human-centered toolkits
   Before / During / After phase layout with interactive elements
   ============================================================ */

/* ── PHASE CONTAINER ── */
.phase {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.phase-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}

.phase-header.before { background: #F0FDF8; border-bottom-color: rgba(26,127,90,0.15); }
.phase-header.during { background: #EDE9FA; border-bottom-color: rgba(91,63,191,0.15); }
.phase-header.after  { background: #E6EEFA; border-bottom-color: rgba(26,79,159,0.15); }

/* ── PHASE CHECKBOX ── */
.phase-checkbox {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 2px solid var(--border-strong);
  background: white;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 14px;
  color: transparent;
}

.phase-checkbox.checked {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.phase-header.before .phase-checkbox:hover { border-color: var(--green); }
.phase-header.during .phase-checkbox:hover { border-color: var(--accent); }
.phase-header.after  .phase-checkbox:hover { border-color: var(--blue); }

/* ── PHASE TITLE BLOCK ── */
.phase-title-block { display: flex; flex-direction: column; gap: 2px; flex: 1; }

.phase-timing {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.phase-header.before .phase-timing { color: var(--green); }
.phase-header.during .phase-timing { color: var(--accent); }
.phase-header.after  .phase-timing { color: var(--blue); }

.phase-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: -0.3px;
}

.phase-header.before .phase-title { color: var(--green); }
.phase-header.during .phase-title { color: var(--accent); }
.phase-header.after  .phase-title { color: var(--blue); }

.phase-subtitle {
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 300;
  color: var(--text-muted);
  font-style: italic;
}

.phase-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── REFLECTION QUESTIONS ── */
.reflection-question {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: var(--surface-alt);
  border-radius: 8px;
  border-left: 3px solid var(--border-strong);
}

.reflection-question.before { border-left-color: var(--green); }
.reflection-question.during { border-left-color: var(--accent); }
.reflection-question.after  { border-left-color: var(--blue); }

.question-num {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

.question-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.4;
}

.question-subtext {
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* ── SCORE DIMENSIONS ── */
.score-dimension {
  background: var(--surface-alt);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.score-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 15px);
  color: var(--text);
}

.score-anchors { display: flex; flex-direction: column; gap: 4px; }

.score-anchor {
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.score-anchor::before {
  position: absolute;
  left: 0;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
}

.score-anchor.low::before  { content: '1 —'; color: var(--red); }
.score-anchor.high::before { content: '5 —'; color: var(--green); }

.score-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.score-input-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.score-boxes { display: flex; gap: 6px; }

.score-box {
  width: 32px; height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 500;
}

.score-box:hover { border-color: var(--accent); color: var(--accent); }
.score-box.selected { background: var(--accent); border-color: var(--accent); color: white; }

/* ── OUTPUT BOX ── */
.output-box {
  background: white;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.output-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

.output-prompt {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
}

.output-prompt span {
  display: inline-block;
  min-width: 200px;
  border-bottom: 1px solid var(--border-strong);
  margin: 0 4px;
}

/* ── COMMITMENT BLOCKS ── */
.commitment {
  background: var(--blue-light);
  border: 1px solid rgba(26,79,159,0.2);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.commitment-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
}

.commitment-text {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text);
  line-height: 1.7;
}

.commitment-text span {
  display: inline-block;
  min-width: 180px;
  border-bottom: 1px solid rgba(26,79,159,0.3);
  margin: 0 4px;
}

/* ── OUTCOMES BOX ── */
.outcomes-box {
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
}

.outcomes-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text);
  margin-bottom: 14px;
}

.outcomes-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.outcomes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text-muted);
  line-height: 1.5;
}

.outcomes-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── FINAL NOTE ── */
.final-note {
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.final-note-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text);
}

.final-note p {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}

.final-note p + p { margin-top: 8px; }

/* ── PROGRESS TRACKER ── */
.progress-tracker {
  background: var(--green-light);
  border: 1px solid rgba(26,127,90,0.2);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tracker-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tracker-time {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--green);
  letter-spacing: -0.5px;
}

.tracker-desc {
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--green);
  font-weight: 300;
  opacity: 0.8;
}

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 560px) {
  .score-boxes { flex-wrap: wrap; }
  .phase-body { padding: 20px 16px; }
}


/* ============================================================
   EXPERIMENT TEMPLATE — Day 8 and task-design toolkits
   Centaur experiment fields, handoff blocks, question blocks
   ============================================================ */

/* ── EXPERIMENT FIELDS ── */
.experiment-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.field-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text);
  letter-spacing: -0.2px;
}

.field-example {
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--text-light);
  font-style: italic;
  line-height: 1.5;
  padding: 8px 12px;
  background: var(--surface-alt);
  border-radius: 6px;
  border-left: 2px solid var(--border-strong);
}

.field-example strong { color: var(--text-muted); font-style: normal; }

.field-input {
  min-height: 80px;
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text);
  line-height: 1.6;
  width: 100%;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.field-input::placeholder { color: var(--text-muted); font-style: italic; }
.field-input:focus { border-color: var(--accent); border-style: solid; }

.field-desc {
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ── HANDOFF BLOCKS ── */
.handoff-list { display: flex; flex-direction: column; gap: 12px; }

.handoff-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--surface-alt);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.handoff-item.green { border-left-color: var(--green); }
.handoff-item.blue  { border-left-color: var(--blue); }
.handoff-item.amber { border-left-color: var(--amber); }

.handoff-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
}

.handoff-num.green { background: var(--green); }
.handoff-num.blue  { background: var(--blue); }
.handoff-num.amber { background: var(--amber); }

.handoff-content { display: flex; flex-direction: column; gap: 6px; flex: 1; }

.handoff-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 14px);
  color: var(--text);
}

.handoff-input {
  min-height: 56px;
  background: white;
  border: 1px dashed var(--border-strong);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--text);
  width: 100%;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.handoff-input::placeholder { color: var(--text-muted); font-style: italic; }
.handoff-input:focus { border-color: var(--accent); border-style: solid; }

/* ── QUESTION BLOCKS ── */
.question-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  background: var(--surface-alt);
  border-radius: 10px;
  border-left: 3px solid var(--blue);
}

.question-block-num {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
}

.question-block-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text);
  line-height: 1.3;
}

.question-block-desc {
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

.question-block-input {
  min-height: 80px;
  background: white;
  border: 1px dashed var(--border-strong);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--text);
  width: 100%;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.question-block-input::placeholder { color: var(--text-muted); font-style: italic; }
.question-block-input:focus { border-color: var(--accent); border-style: solid; }


/* ── TEXTAREA PRINT STYLES ── */
@media print {
  textarea.field-input,
  textarea.handoff-input,
  textarea.question-block-input {
    border: 1px solid var(--border-strong) !important;
    border-style: solid !important;
    background: white !important;
    color: var(--text) !important;
    resize: none !important;
    min-height: 60px !important;
  }
}
