/*
 * PMPrep — Claude Design handoff implementation.
 * Loaded only for the local/preview `?theme=space` runtime. Production V1 is
 * explicitly excluded by app.html/runtime-safety.js.
 */

.space-only { display: none; }

.full-space-theme {
  --bg: #efeefc;
  --ink: #16161b;
  --muted: #656574;
  --muted-strong: #4a4a55;
  --card: #ffffff;
  --line: #eeeef2;
  --primary: #3b2fd4;
  --primary-strong: #2a2099;
  --primary-soft: #efeefc;
  --primary-mid: #7a6be8;
  --navy: #181a28;
  --danger: #d81f4f;
  --shadow-card: 0 1px 3px rgba(15, 11, 51, .06);
  --shadow-float: 0 4px 12px -4px rgba(24, 26, 40, .08);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.full-space-theme body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.full-space-theme .bg-shape { display: none; }
.full-space-theme .space-only { display: block; }

.full-space-theme .app-shell {
  position: relative;
  display: grid;
  width: min(1452px, calc(100% - 48px));
  min-height: calc(100dvh - 48px);
  grid-template-columns: 264px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin: 24px auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Exact handoff anchor: the bar starts in normal flow, then remains pinned. */
.full-space-theme .topbar {
  position: sticky;
  z-index: 60;
  top: 12px;
  left: auto;
  display: flex;
  width: calc(100% + 286px);
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 14px;
  margin: 0 0 0 -286px;
  padding: 8px 14px;
  border: 1px solid rgba(22, 22, 27, .06);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow-float);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
}

.full-space-theme .topbar-copy {
  display: flex;
  min-width: max-content !important;
  flex: none;
  align-items: center;
  gap: 7px;
}

.full-space-theme .topbar-pmprep-logo {
  width: 102px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
}

.full-space-theme .topbar-brand-by { color: var(--muted); font-size: 11px; }
.full-space-theme .topbar-elitek-logo { width: 39px; height: 22px; object-fit: contain; object-position: left center; }

.full-space-theme .topbar-right {
  display: flex;
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 6px;
  overflow: visible;
}

.full-space-theme .topbar-right > *,
.full-space-theme .topbar-actions > * {
  flex: none;
}

.full-space-theme .topbar-actions { display: contents; }
.full-space-theme #studyTimeToggleBtn { order: 1; }
.full-space-theme #pmbokVersionSelector { order: 2; }
.full-space-theme #langToggleBtn { order: 3; }
.full-space-theme #utilityNotificationsBtn { order: 4; }
.full-space-theme .topbar-gamif { order: 5; }
.full-space-theme .topbar-user-menu { order: 6; }

.full-space-theme .topbar-badges .badge {
  min-height: 34px;
  padding: 8px 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 600;
}

.full-space-theme .topbar-badges .badge-timer {
  min-width: 49px;
  margin-left: 0;
  padding-left: 0;
  border-radius: 0;
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.full-space-theme .utility-btn,
.full-space-theme .topbar-avatar-zone,
.full-space-theme .pmbok-version-toggle {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  color: var(--muted-strong);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
}

.full-space-theme #pmbokVersionToggleBtn {
  border: 0;
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.full-space-theme #pmbokVersionToggleBtn .pmbok-version-label { font-weight: 700; }
.full-space-theme #pmbokVersionToggleBtn .pmbok-version-caret { display: inline-flex; }
.full-space-theme #pmbokVersionMenu { display: none !important; }
.full-space-theme .pmbok-version-count,
.full-space-theme .utility-count {
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.full-space-theme #studyTimeToggleBtn { gap: 8px; padding: 5px 10px; }
.full-space-theme .study-time-copy { display: grid; grid-template-columns: auto auto; gap: 5px; align-items: baseline; }
.full-space-theme .study-time-copy span { color: var(--muted); font-size: 10px; font-weight: 600; }
.full-space-theme .study-time-copy strong { color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.full-space-theme .study-time-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #c8c8d2; }
.full-space-theme .study-time-live-dot.is-active { background: #0b9b61; box-shadow: 0 0 0 3px rgba(11,155,97,.12); }
.full-space-theme .study-time-toggle.has-sync-warning .study-time-live-dot:not(.is-active) { background: #d58a13; box-shadow: 0 0 0 3px rgba(213,138,19,.12); }
.full-space-theme .language-flag {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(23,25,40,.12);
  border-radius: 2px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 0 .5px rgba(23,25,40,.04);
}
.full-space-theme .language-flag-fr { background-image: url("./assets/flags/flag-fr.svg"); }
.full-space-theme .language-flag-en { background-image: url("./assets/flags/flag-gb.svg"); }
.full-space-theme #langToggleBtn { min-width: auto; gap: 6px; }

.full-space-theme .topbar-gamif {
  display: flex !important;
  height: 36px;
  min-height: 36px;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: none;
}

.full-space-theme .topbar-gamif-icon { color: var(--primary-mid); }
.full-space-theme .topbar-gamif-level { color: #fff; font-size: 12px; font-weight: 700; }
.full-space-theme .topbar-gamif-xpbar { width: 44px; height: 4px; background: rgba(255,255,255,.18); }
.full-space-theme .topbar-gamif-xpfill { background: var(--primary-mid); }
.full-space-theme .topbar-gamif-badges { color: #b6b0f1; font-size: 11px; }
.full-space-theme .topbar-avatar-zone { padding: 3px 10px 3px 3px; border-color: #c4c4cc; }
.full-space-theme .topbar-avatar-circle { width: 28px; height: 28px; background: var(--primary); font-size: 12px; }
.full-space-theme .topbar-greeting { color: var(--ink); font-size: 12.5px; font-weight: 600; }

/* Sidebar begins with navigation; identity now lives in the fixed top bar. */
.full-space-theme .sidebar {
  position: sticky;
  top: 76px;
  display: flex;
  width: auto;
  height: auto;
  max-height: calc(100dvh - 100px);
  margin-top: 74px;
  padding: 14px 14px 16px;
  overflow-y: auto;
  border: 1px solid rgba(22, 22, 27, .05);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
  scrollbar-width: none;
}

.full-space-theme .sidebar::-webkit-scrollbar,
.full-space-theme .side-nav::-webkit-scrollbar { display: none; }
.full-space-theme .sidebar-fixed-top { display: none; }
.full-space-theme .side-nav { padding: 0; overflow: visible; }
.full-space-theme .side-nav-divider {
  margin: 16px 10px 6px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
}

.full-space-theme .side-link {
  min-height: 35px;
  margin: 1px 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  color: var(--muted-strong);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 150ms ease, color 150ms ease;
}

.full-space-theme .side-link:hover { background: #f8f8fa; color: var(--primary-strong); transform: none; }
.full-space-theme .side-link.is-active {
  border: 0;
  background: var(--primary-soft);
  box-shadow: none;
  color: var(--primary);
  font-weight: 600;
}
.full-space-theme .side-link-icon { width: 17px; color: inherit; }
.full-space-theme .side-link-badge { margin-left: auto; border: 0; background: var(--primary-soft); color: var(--primary); }
.full-space-theme .nav-helper { display: none; }
.full-space-theme #quickStartBtn {
  min-height: 43px;
  margin: 16px 6px 0;
  border-radius: 12px;
  background: var(--danger);
  box-shadow: none;
  font-size: 13.5px;
}
.full-space-theme #quickStartBtn:hover { background: #b81642; }
.full-space-theme .sidebar-security-badge { justify-content: center; margin-top: 12px; color: var(--muted); font-size: 11px; }

.full-space-theme .workspace { display: flex; min-width: 0; flex-direction: column; gap: 20px; padding: 0; background: transparent; }
.full-space-theme .panel { border: 1px solid rgba(22,22,27,.05); border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }

/* Brand hero — exact visual language from the supplied design. */
.full-space-theme .space-brand-hero {
  position: relative;
  min-height: 178px;
  margin-bottom: 0;
  padding: 32px 32px 34px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
}
.full-space-theme .space-hero-content { position: relative; z-index: 2; }
.full-space-theme .space-hero-eyebrow { margin: 0; color: #b6b0f1; font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.full-space-theme .space-brand-hero h1 { margin: 10px 0 0; color: #fff; font-size: 34px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.full-space-theme .space-brand-hero h1 em { color: #b6b0f1; font-style: italic; }
.full-space-theme .space-brand-hero p:last-child { max-width: 560px; margin: 10px 0 0; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.6; }
.full-space-theme .space-hero-orb { position: absolute; display: block; border-radius: 50%; }
.full-space-theme .space-hero-orb-a { top: -100px; right: -70px; width: 280px; height: 280px; background: var(--primary); }
.full-space-theme .space-hero-orb-b { right: 140px; bottom: -130px; width: 210px; height: 210px; background: var(--primary-strong); }
.full-space-theme .space-hero-orb-c { top: 32px; right: 340px; width: 46px; height: 46px; border: 1.5px solid rgba(122,107,232,.45); }

.full-space-theme .dashboard-panel { display: grid; gap: 20px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.full-space-theme .dashboard-panel > .section-head { min-height: 49px; }
.full-space-theme .section-head { align-items: flex-end; margin: 0; padding: 2px 6px; }
.full-space-theme .section-head h2 { margin: 0; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.015em; }
.full-space-theme .dashboard-hint { margin-top: 4px; color: var(--muted); font-size: 12.5px; line-height: normal; }
.full-space-theme .dashboard-sync-hint { display: flex; align-items: center; gap: 6px; }
.full-space-theme .dashboard-sync-hint .ui-icon { width: 14px; height: 14px; }
.full-space-theme .section-head .actions.compact { gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(15,11,51,.04); }
.full-space-theme .section-head .actions.compact .btn { min-height: 0; padding: 8px 18px; border: 0; border-radius: 999px; box-shadow: none; font-size: 13px; }
.full-space-theme #resumeSessionBtn { position: absolute; right: 0; transform: translateY(46px); }

.full-space-theme .dashboard-quick-grid {
  display: grid;
  min-height: 329.1875px;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.full-space-theme .quick-card {
  min-height: 0;
  gap: 0;
  padding: 22px;
  border: 1px solid rgba(22,22,27,.05);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.full-space-theme .quick-card::before { display: none; }
.full-space-theme .quick-card:hover { border-color: #dad7f8; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,11,51,.08); }
.full-space-theme .quick-card h3 { display: flex; align-items: center; gap: 11px; margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; }
.full-space-theme .quick-card-icon { display: grid; width: 34px; height: 34px; flex: none; place-items: center; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }

.full-space-theme #dashboardNextActivity {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 26px 28px;
  overflow: hidden;
  border: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 12px 32px -8px rgba(59,47,212,.35);
  color: #fff;
}
.full-space-theme #dashboardNextActivity::before { content: ""; position: absolute; top: -80px; right: -80px; display: block; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.07); }
.full-space-theme #dashboardNextActivity::after { content: "01"; position: absolute; right: 20px; bottom: 58px; color: rgba(255,255,255,.08); font-size: 116px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.full-space-theme .activity-step-chip { position: relative; z-index: 1; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.full-space-theme #dashboardNextActivity h3 { position: relative; z-index: 1; max-width: none; margin-top: 14px; color: #fff; font-size: 25px; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.full-space-theme #dashboardNextActivity p { position: relative; z-index: 1; max-width: 390px; margin: 8px 0 0; color: rgba(255,255,255,.82); font-size: 13.5px; line-height: 1.6; }
.full-space-theme .activity-meta { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.full-space-theme .activity-meta span { padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 11.5px; font-weight: 600; }
.full-space-theme #dashboardNextActivity .btn { position: relative; z-index: 2; align-self: flex-start; left: auto; bottom: auto; min-height: 0; margin-top: 18px; padding: 11px 18px; border: 0; border-radius: 11px; background: #fff; box-shadow: none; color: var(--primary-strong); font-size: 13.5px; }
.full-space-theme #dashboardNextActivity .btn span { margin-left: 3px; transition: transform 160ms ease; }
.full-space-theme #dashboardNextActivity .btn:hover span { transform: translateX(3px); }
.full-space-theme .activity-journey { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 24px; padding-top: 0; }
.full-space-theme .activity-journey span { position: relative; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 8px; color: rgba(255,255,255,.5); }
.full-space-theme .activity-journey span:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: 30px; right: -4px; height: 1.5px; background: rgba(255,255,255,.22); }
.full-space-theme .activity-journey b { display: grid; width: 22px; height: 22px; place-items: center; border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 10.5px; }
.full-space-theme .activity-journey small { grid-column: 1 / -1; font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.full-space-theme .activity-journey .is-done { color: rgba(255,255,255,.8); }
.full-space-theme .activity-journey .is-done b { border: 0; background: rgba(255,255,255,.28); }
.full-space-theme .activity-journey .is-current { color: #fff; font-weight: 700; }
.full-space-theme .activity-journey .is-current b { border: 0; background: #fff; color: var(--primary-strong); }

.full-space-theme #dashboardFlashcardsDue,
.full-space-theme #dashboardDomainMastery { display: flex; flex-direction: column; }
.full-space-theme #dashboardFlashcardsDue > p,
.full-space-theme #dashboardDomainMastery > #dashboardDomainBars { margin-top: 18px; }
.full-space-theme #dashboardFlashcardsDueText {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.full-space-theme #dashboardFlashcardsDueText > strong { color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.full-space-theme #dashboardFlashcardsDueText > span { margin-top: 6px; }
.full-space-theme #dashboardFlashcardsDue .empty-icon,
.full-space-theme #dashboardDomainMastery .empty-icon { display: none; }
.full-space-theme #dashboardFlashcardsDue .empty-state-composed,
.full-space-theme #dashboardDomainMastery .empty-state-composed { align-items: flex-start; text-align: left; }
.full-space-theme #dashboardFlashcardsDue .empty-cta { width: 100%; min-height: 42px; margin-top: auto; padding-inline: 16px; border: 1.5px solid #dad7f8; border-radius: 10px; background: #fff; color: var(--primary); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.full-space-theme #dashboardDomainMastery .empty-cta { display: none; }
.full-space-theme .quick-meta { margin: 16px 0 0; }
.full-space-theme .quick-meta .badge { padding: 4px 11px; border: 0; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.full-space-theme .quick-meta .badge-success { background: #eaf9ef !important; color: #0f7538 !important; }
.full-space-theme .quick-meta .badge-warning { background: #fff7e8 !important; color: #a55c00 !important; }
.full-space-theme .quick-meta .badge-danger { background: #fff0f3 !important; color: #b81642 !important; }
.full-space-theme .domain-bar-wrap { gap: 14px; margin-top: 18px; }
.full-space-theme .domain-bar-row { grid-template-columns: 1fr auto; gap: 6px 8px; }
.full-space-theme .domain-bar-label { color: var(--muted-strong); font-size: 13px; font-weight: 600; }
.full-space-theme .domain-bar-value { color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.full-space-theme .domain-bar-track { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--line); }
.full-space-theme .domain-bar-fill { border-radius: 999px; background: var(--primary-mid) !important; }
.full-space-theme .domain-empty-hint { margin: auto 0 0; padding-top: 16px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.full-space-theme #dashboardRegistryInfo { display: none; }

.full-space-theme .resource-panel {
  margin-top: 0;
  padding: 22px 24px;
  border: 1px solid rgba(22,22,27,.05);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.full-space-theme .resource-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.full-space-theme .resource-panel-head h3 { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; }
.full-space-theme .resource-panel-head span { color: var(--muted); font-size: 12.5px; }
.full-space-theme .resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.full-space-theme .resource-grid button { display: flex; min-height: 124px; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-family: inherit; cursor: pointer; transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1), border-color 220ms cubic-bezier(.22,1,.36,1); }
.full-space-theme .resource-grid button:hover { transform: translateY(-2px); border-color: #dad7f8; box-shadow: 0 4px 12px rgba(15,11,51,.08); }
.full-space-theme .resource-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: var(--primary-soft); color: var(--primary); }
.full-space-theme .resource-grid strong { font-size: 23px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.full-space-theme .resource-grid small { color: var(--muted-strong); font-size: 12.5px; font-weight: 600; }

/* Real product data below the handoff hero. */
.full-space-theme .dashboard-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); gap: 20px; margin-top: 20px; }
.full-space-theme .dashboard-primary,
.full-space-theme .dashboard-secondary { display: flex; min-width: 0; flex-direction: column; gap: 20px; }
.full-space-theme .dashboard-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding: 18px 24px 20px; border: 1px solid rgba(22,22,27,.05); border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }
.full-space-theme .stat-card { min-height: 68px; padding: 0 18px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.full-space-theme .stat-card:first-child { padding-left: 0; border-left: 0; }
.full-space-theme .stat-card:nth-child(7) { display: none; }
.full-space-theme .stat-icon { display: none; }
.full-space-theme .stat-label { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.full-space-theme .stat-value { margin-top: 6px; color: var(--ink); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.full-space-theme .dashboard-breakdown { padding: 14px 18px; border: 1px solid rgba(22,22,27,.05); border-radius: 16px; background: #fff; }
.full-space-theme .dashboard-breakdown .badge { border-color: var(--line); background: #f8f8fa; color: var(--muted-strong); }
.full-space-theme .side-metric-card { padding: 22px 24px; border: 1px solid rgba(22,22,27,.05); border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }
.full-space-theme .side-metric-card h3 { font-size: 15px; }
.full-space-theme .history-toolbar { order: 3; justify-content: flex-end; padding: 4px; border-radius: 999px; }
.full-space-theme .history-toolbar .btn { border-radius: 999px; }
.full-space-theme #historyList { order: 4; padding: 8px 0; border: 1px solid rgba(22,22,27,.05); border-radius: 20px; background: #fff; }
.full-space-theme .history-item { margin: 0 20px; padding: 14px 4px; border: 0; border-bottom: 1px solid #f3f3f6; border-radius: 0; background: transparent; box-shadow: none; }

/* Shared component grammar for every connected PMPrep screen. */
.full-space-theme .view:not(#dashboardView) {
  display: grid;
  gap: 18px;
  align-content: start;
}
.full-space-theme .view.hidden { display: none; }
.full-space-theme .view > .panel:not(.topbar):not(.dashboard-panel) { padding: clamp(22px,3vw,38px); }
.full-space-theme .view:not(#dashboardView) > .panel {
  position: relative;
  overflow: hidden;
}
.full-space-theme .view:not(#dashboardView) > .panel.controls {
  border-top: 3px solid var(--primary);
}
.full-space-theme .view:not(#dashboardView) > .panel > h2,
.full-space-theme .view:not(#dashboardView) .section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.full-space-theme .view:not(#dashboardView) > .panel > h3,
.full-space-theme .view:not(#dashboardView) .section-subtitle,
.full-space-theme .view:not(#dashboardView) .progress-section-title {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -.015em;
}
.full-space-theme .controls > .dashboard-hint,
.full-space-theme .controls .section-head + .form-grid {
  margin-top: 18px;
}
.full-space-theme .controls > h2 + .dashboard-hint { margin-top: 8px; }
.full-space-theme .form-grid {
  gap: 16px;
  align-items: end;
}
.full-space-theme .login-overlay-card .form-grid { align-items: stretch; }
.full-space-theme #flashcardsView .flashcards-filter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.full-space-theme .field { gap: 7px; }
.full-space-theme .field > span {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .015em;
}
.full-space-theme .field input,
.full-space-theme .field select,
.full-space-theme .field textarea {
  min-height: 46px;
  padding: 11px 13px;
  border-color: #d9dae5;
  color: var(--ink);
  font-size: 14px;
}
.full-space-theme .controls > .actions {
  align-items: center;
  margin-top: 18px;
}
.full-space-theme .controls > .actions .btn { min-height: 44px; }
.full-space-theme .btn-ghost {
  border: 1px solid #e1e1e8;
  background: #fff;
  color: var(--ink);
}
.full-space-theme .btn-ghost:hover { border-color: #cfcbe8; background: #f8f7ff; color: var(--primary-strong); }
.full-space-theme .btn:disabled { cursor: not-allowed; transform: none; box-shadow: none; opacity: .46; }
.full-space-theme .btn-primary:disabled {
  border-color: #e3e2e9;
  background: #e7e6ec;
  color: #85838d;
  opacity: 1;
}
.full-space-theme .badge,
.full-space-theme .chip-filter {
  border-color: #dddce9;
  border-radius: 999px;
  background: #fff;
  color: var(--muted-strong);
}
.full-space-theme .chip-filter.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.full-space-theme .config-card,
.full-space-theme .practice-card,
.full-space-theme .flashcard-stage,
.full-space-theme .key-point-card,
.full-space-theme .scenario-card,
.full-space-theme .scenario-study-card,
.full-space-theme .formula-card,
.full-space-theme .comparison-card,
.full-space-theme .fundamental-card,
.full-space-theme .evolution-card,
.full-space-theme .account-card,
.full-space-theme .progress-card,
.full-space-theme .learning-module-card,
.full-space-theme .game-mode-card {
  border-color: var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}
.full-space-theme .key-point-card,
.full-space-theme .scenario-card,
.full-space-theme .scenario-study-card,
.full-space-theme .formula-card,
.full-space-theme .comparison-card,
.full-space-theme .fundamental-card,
.full-space-theme .learning-module-card,
.full-space-theme .game-mode-card {
  border: 1px solid var(--line);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.full-space-theme .key-point-card:hover,
.full-space-theme .scenario-card:hover,
.full-space-theme .formula-card:hover,
.full-space-theme .comparison-card:hover,
.full-space-theme .fundamental-card:hover,
.full-space-theme .learning-module-card:hover,
.full-space-theme .game-mode-card:hover {
  border-color: #d8d4f3;
  box-shadow: 0 8px 24px -18px rgba(25, 20, 75, .4);
  transform: translateY(-1px);
}

/* Learning plan: four explicit, measurable steps rather than a flat history list. */
.full-space-theme .learning-plan-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.full-space-theme .learning-plan-section-head h2 { margin: 4px 0 0; }
.full-space-theme .learning-plan-section-head > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}
.full-space-theme .learning-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.full-space-theme .learning-plan-module-card {
  display: flex;
  min-width: 0;
  min-height: 272px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px -28px rgba(26, 21, 76, .5);
}
.full-space-theme .learning-plan-module-card.is-in-progress {
  border-color: #c9c2ff;
  box-shadow: 0 16px 34px -27px rgba(67, 53, 224, .62);
}
.full-space-theme .learning-plan-module-card.is-acquired { border-color: #b8e8ce; }
.full-space-theme .learning-plan-module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.full-space-theme .learning-plan-step,
.full-space-theme .learning-plan-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.full-space-theme .learning-plan-step { color: var(--primary-strong); }
.full-space-theme .learning-plan-status {
  padding: 0 10px;
  background: #f2f1f6;
  color: #676471;
  letter-spacing: .035em;
}
.full-space-theme .is-in-progress .learning-plan-status { background: #eeebff; color: #4937d8; }
.full-space-theme .is-acquired .learning-plan-status { background: #eaf8f0; color: #197a4b; }
.full-space-theme .learning-plan-module-card h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: -.018em;
}
.full-space-theme .learning-plan-objective {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.58;
}
.full-space-theme .learning-plan-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0;
}
.full-space-theme .learning-plan-evidence span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #e4e2ee;
  border-radius: 999px;
  background: #fbfaff;
  color: #514e5d;
  font-size: 11px;
  font-weight: 650;
}
.full-space-theme .learning-plan-progress-track { height: 7px; margin-top: auto; }
.full-space-theme .learning-plan-progress-fill { background: var(--primary); }
.full-space-theme .is-acquired .learning-plan-progress-fill { background: #24a467; }
.full-space-theme .learning-plan-module-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}
.full-space-theme .learning-plan-module-meta {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}
.full-space-theme .learning-plan-module-footer .btn { flex: 0 0 auto; }

@media (max-width: 920px) {
  .full-space-theme .learning-plan-grid { grid-template-columns: 1fr; }
  .full-space-theme .learning-plan-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .full-space-theme .learning-plan-section-head > p { max-width: none; text-align: left; }
}

@media (max-width: 560px) {
  .full-space-theme .learning-plan-module-card { min-height: 0; padding: 17px; }
  .full-space-theme .learning-plan-module-footer { align-items: stretch; flex-direction: column; }
  .full-space-theme .learning-plan-module-footer .btn { width: 100%; }
}

/* Study surfaces: focused, calm and visually connected to the dashboard. */
.full-space-theme .learning-hero {
  position: relative;
  display: flex;
  min-height: 160px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px 28px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
}
.full-space-theme .learning-hero-copy { position: relative; z-index: 2; min-width: 0; }
.full-space-theme .learning-hero-kicker { margin: 0; color: #b6b0f1; font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.full-space-theme .learning-hero h1 { margin: 8px 0 0; color: #fff; font-size: clamp(26px, 2.25vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.full-space-theme .learning-hero h1 em { color: #b6b0f1; font-style: italic; }
.full-space-theme .learning-hero-copy > p:last-child { max-width: 600px; margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.6; }
.full-space-theme .learning-hero-count { position: relative; z-index: 2; display: grid; min-width: 126px; place-items: center; padding-right: 4px; text-align: center; }
.full-space-theme .learning-hero-count strong { color: #fff; font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.full-space-theme .learning-hero-count span { margin-top: 6px; color: rgba(255,255,255,.78); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.full-space-theme .learning-hero-orb,
.full-space-theme .learning-hero-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.full-space-theme .learning-hero-orb-a { top: -112px; right: -62px; width: 260px; height: 260px; background: var(--primary); }
.full-space-theme .learning-hero-orb-b { right: 148px; bottom: -142px; width: 202px; height: 202px; background: var(--primary-strong); }
.full-space-theme .learning-hero-ring { top: 26px; right: 330px; width: 42px; height: 42px; border: 1.5px solid rgba(122,107,232,.45); }

.full-space-theme .flashcards-panel { min-height: 580px; gap: 18px; }
.full-space-theme .flashcard-progress-bar { height: 6px; margin: 0; background: #ecebf5; }
.full-space-theme .flashcard-progress-fill { background: linear-gradient(90deg, var(--primary), var(--primary-mid)); }
.full-space-theme .flashcards-head { min-height: 44px; }
.full-space-theme .flashcards-head .actions.compact {
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}
.full-space-theme .flashcard-card {
  height: auto;
  min-height: 320px;
  border-radius: 18px;
  outline: none;
  perspective: none;
  isolation: isolate;
}
.full-space-theme .flashcard-card:active { transform: none; }
.full-space-theme .flashcard-card:focus-visible { box-shadow: 0 0 0 4px rgba(59,47,212,.18); }
.full-space-theme .flashcard-inner {
  display: block;
  width: 100%;
  height: auto;
  min-height: inherit;
  transform: none;
  transform-style: flat;
  transition: none;
  will-change: auto;
}
.full-space-theme .flashcard-card.is-back .flashcard-inner { transform: none; }
.full-space-theme .flashcard-front,
.full-space-theme .flashcard-back {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 320px;
  border: 1px solid #e7e5f2;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, #f7f6ff 100%);
  box-shadow: 0 14px 36px -28px rgba(24, 26, 40, .55);
  overflow: visible;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  transform: none;
  -webkit-font-smoothing: antialiased;
}
.full-space-theme .flashcard-front {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: flashcardFaceReveal 180ms cubic-bezier(.22, 1, .36, 1) both;
}
.full-space-theme .flashcard-back {
  display: none;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  background: linear-gradient(145deg, #f7f6ff 0%, #f0fbf8 100%);
}
.full-space-theme .flashcard-card.is-back .flashcard-front {
  display: none;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  animation: none;
}
.full-space-theme .flashcard-card.is-back .flashcard-back {
  display: flex;
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: flashcardFaceReveal 180ms cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes flashcardFaceReveal {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.full-space-theme .flashcard-front::after { opacity: .68; color: var(--muted); }
.full-space-theme .flashcard-content { width: 100%; margin-block: auto; color: var(--ink); font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; }
.full-space-theme .flashcard-back { align-items: stretch; justify-content: flex-start; padding: 28px 30px 42px; }
.full-space-theme .flashcard-back .flashcard-content { width: 100%; max-width: none; color: var(--ink); font-family: inherit; font-size: 14px; font-weight: 400; text-align: left; letter-spacing: 0; }
.full-space-theme .fc-back-layout { display: flex; min-height: 264px; flex-direction: column; justify-content: center; gap: 18px; }
.full-space-theme .fc-back-main {
  display: grid; width: min(100%, 760px); gap: 12px; margin-inline: auto; padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(66, 55, 196, .12); border-radius: 16px; background: rgba(255,255,255,.82); text-align: left;
}
.full-space-theme .fc-back-formula { color: var(--primary); font-size: clamp(24px, 2.5vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.full-space-theme .fc-back-answer-line { max-width: 62ch; margin: 0; color: #24242d; font-size: clamp(16px, 1.35vw, 18px); font-weight: 500; line-height: 1.68; text-align: left; }
.full-space-theme .fc-back-details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.full-space-theme .fc-back-section { min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.72); }
.full-space-theme .fc-back-section-heading { display: flex; align-items: center; gap: 7px; color: var(--muted-strong); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.full-space-theme .fc-back-section p { margin: 7px 0 0; color: var(--muted-strong); font-size: 12.5px; line-height: 1.55; }
.full-space-theme .fc-back-section--primary { border-color: #d8d4f3; background: #f5f3ff; }
.full-space-theme .fc-back-section--tip,
.full-space-theme .fc-back-section--warning { grid-column: 1 / -1; }
.full-space-theme .fc-back-section--tip { border-color: #f2ddb1; background: #fffaf0; }
.full-space-theme .fc-back-section--tip .fc-back-section-heading,
.full-space-theme .fc-back-section--tip p { color: #815416; }
.full-space-theme .fc-back-section--warning { border-color: #f0c9d2; background: #fff6f8; }
.full-space-theme .fc-back-section--warning .fc-back-section-heading,
.full-space-theme .fc-back-section--warning p { color: #9d2346; }
.full-space-theme .fc-back-list { grid-column: 1 / -1; display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.8); }
.full-space-theme .fc-back-list-row { display: grid; grid-template-columns: minmax(138px,.58fr) minmax(0,1.42fr); gap: 14px; align-items: start; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.full-space-theme .fc-back-list-row:last-child { border-bottom: 0; }
.full-space-theme .fc-back-list-row > strong { color: var(--primary-strong); font-size: 12px; line-height: 1.45; }
.full-space-theme .fc-back-list-row-details { display: flex; min-width: 0; flex-wrap: wrap; gap: 4px 12px; }
.full-space-theme .fc-back-list-row-details span { color: var(--muted-strong); font-size: 11.25px; line-height: 1.45; }
.full-space-theme .fc-back-list-row-details b { color: #30303a; font-weight: 700; }
.full-space-theme .fc-back-layout--comparison .fc-back-details { display: block; padding-right: 3px; }
.full-space-theme .flashcard-rating { margin-top: auto; padding-top: 8px; }
.full-space-theme .flashcard-rating-hint { max-width: 620px; color: var(--muted); font-size: 12.5px; }
.full-space-theme .flashcard-rate-maybe:not(:disabled) {
  border-color: #d97706 !important;
  background: #fffbeb !important;
  color: #92400e !important;
}
.full-space-theme .flashcard-rate-yes:not(:disabled) {
  border-color: #22c55e !important;
  background: #f0fdf4 !important;
  color: #166534 !important;
}

.full-space-theme .study-bookmark-btn,
.full-space-theme .study-bookmark-icon { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted-strong); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.full-space-theme .study-bookmark-icon { width: 34px; min-height: 34px; margin-left: auto; padding: 0; border-radius: 9px; }
.full-space-theme .study-bookmark-btn.is-active,
.full-space-theme .study-bookmark-icon.is-active { border-color: #cfcaf2; background: var(--primary-soft); color: var(--primary); }
.full-space-theme .study-mode-switch { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.full-space-theme .study-mode-btn { padding: 7px 13px; border: 0; border-radius: 999px; background: transparent; color: var(--muted-strong); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.full-space-theme .study-mode-btn.is-active { background: var(--primary); color: #fff; }
.full-space-theme .study-stage { min-height: 520px; }
.full-space-theme .keypoint-study-card,
.full-space-theme .mnemonic-study-card { display: flex; min-height: 470px; flex-direction: column; }
.full-space-theme .study-card-progress-row,
.full-space-theme .study-stage-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.full-space-theme .study-card-progress-row > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.full-space-theme .study-step-label { color: var(--ink); font-size: 13px; font-weight: 800; }
.full-space-theme .study-evaluated-count { color: var(--muted); font-size: 12px; }
.full-space-theme .study-card-meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.full-space-theme .study-status { padding: 4px 9px; border-radius: 999px; background: #f4f4f7; color: var(--muted-strong); font-size: 10.5px; font-weight: 800; }
.full-space-theme .study-status--review { background: #fff0f3; color: #b81642; }
.full-space-theme .study-status--learning { background: #fff7e8; color: #a55c00; }
.full-space-theme .study-status--mastered { background: #eaf9ef; color: #148543; }
.full-space-theme .study-recall-prompt,
.full-space-theme .mnemonic-recall-prompt { position: relative; display: flex; min-height: 220px; align-items: center; justify-content: center; flex: 1; flex-direction: column; margin-top: 18px; padding: 32px; overflow: hidden; border: 1px solid #e4e1f7; border-radius: 18px; background: linear-gradient(145deg, #fbfaff, #f2f0ff); text-align: center; }
.full-space-theme .study-prompt-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #fff; color: var(--primary); }
.full-space-theme .study-prompt-kicker { margin: 12px 0 0; color: var(--primary); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.full-space-theme .study-recall-prompt h3 { margin: 8px 0 0; color: var(--ink); font-size: clamp(22px,2.1vw,30px); letter-spacing: -.025em; }
.full-space-theme .study-recall-prompt > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.full-space-theme .study-answer { margin-top: 16px; padding: 26px 30px 24px; border: 1px solid #dcd8f4; border-radius: 16px; background: #fefeff; animation: studyReveal 220ms cubic-bezier(.22,1,.36,1) both; }
@keyframes studyReveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.full-space-theme .study-answer-reading { width: min(100%, 74ch); margin-inline: auto; }
.full-space-theme .study-answer-label { display: flex; align-items: center; gap: 7px; color: var(--primary); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.full-space-theme .study-answer-copy { display: grid; gap: 12px; margin-top: 14px; }
.full-space-theme .study-answer-copy p { margin: 0; color: #293145; font-size: 16px; font-weight: 450; line-height: 1.72; letter-spacing: -.004em; }
.full-space-theme .study-answer-copy p:first-child { color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.68; }
.full-space-theme .study-answer-domain { display: inline-flex; margin-top: 16px; color: var(--muted); font-size: 11.5px; }
.full-space-theme .study-card-meta .keypoint-type,
.full-space-theme .keypoint-card.type-foundation .keypoint-type,
.full-space-theme .keypoint-card.type-scenario .keypoint-type,
.full-space-theme .keypoint-card.type-cross_cutting .keypoint-type {
  display: inline-flex; align-items: center; margin: 0; padding: 4px 9px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-strong); font-size: 10.5px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
.full-space-theme .keypoint-card.type-scenario .keypoint-type { background: #eaf9ef; color: #146c38; }
.full-space-theme .keypoint-card.type-cross_cutting .keypoint-type { background: #fff5df; color: #875110; }
.full-space-theme .revision-sheet-header {
  display: flex; align-items: center; flex-direction: column; margin-top: 18px; padding: 26px 28px;
  border: 1px solid #e4e1f7; border-radius: 18px; background: linear-gradient(145deg, #fbfaff, #f2f0ff);
  text-align: center;
}
.full-space-theme .revision-sheet-header h3 { margin: 8px 0 0; color: var(--ink); font-size: clamp(22px,2.1vw,30px); letter-spacing: -.025em; }
.full-space-theme .revision-sheet-subtitle { max-width: 66ch; margin: 7px 0 0; color: var(--muted-strong); font-size: 13.5px; line-height: 1.55; }
.full-space-theme .revision-sheet-content { margin-top: 14px; }
.full-space-theme .revision-sheet-reading { display: grid; width: min(100%, 920px); gap: 14px; margin-inline: auto; }
.full-space-theme .revision-sheet-reading p { margin: 0; color: #34384a; font-size: 16px; line-height: 1.65; }
.full-space-theme .revision-sheet-outcome { padding: 16px 18px; border-left: 3px solid var(--primary); border-radius: 0 12px 12px 0; background: var(--primary-soft); }
.full-space-theme .revision-sheet-section { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.full-space-theme .revision-sheet-section-title { display: flex; align-items: flex-start; gap: 10px; color: var(--primary); }
.full-space-theme .revision-sheet-section-title > .ui-icon { margin-top: 2px; }
.full-space-theme .revision-sheet-section-title h4 { margin: 3px 0 0; color: var(--ink); font-size: 16px; letter-spacing: -.01em; }
.full-space-theme .revision-sheet-section-kicker { color: var(--primary) !important; font-size: 10px !important; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.full-space-theme .revision-decision-steps { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.full-space-theme .revision-decision-steps li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 11px; align-items: start; }
.full-space-theme .revision-decision-steps strong { display: block; color: var(--ink); font-size: 13px; }
.full-space-theme .revision-decision-steps p { margin-top: 3px; font-size: 13px; line-height: 1.55; }
.full-space-theme .revision-step-index { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; }
.full-space-theme .revision-sheet-scenario > p { margin-top: 14px; }
.full-space-theme .revision-guided-answer { margin-top: 14px; padding: 14px; border-radius: 12px; background: #f5f3ff; }
.full-space-theme .revision-guided-answer strong { color: var(--primary-strong); font-size: 12px; }
.full-space-theme .revision-guided-answer p { margin-top: 4px; font-size: 13px; }
.full-space-theme .revision-sheet-insight-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.full-space-theme .revision-sheet-insight { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.full-space-theme .revision-sheet-insight > strong { display: block; margin-top: 5px; color: var(--ink); font-size: 13px; line-height: 1.5; }
.full-space-theme .revision-sheet-insight > p:not(.revision-sheet-section-kicker) { margin-top: 6px; font-size: 13px; line-height: 1.55; }
.full-space-theme .revision-sheet-insight--trap { border-color: #efd2da; background: #fff8fa; }
.full-space-theme .revision-sheet-insight--trap .revision-sheet-section-kicker { color: #a42a4b !important; }
.full-space-theme .revision-sheet-insight--reflex { border-color: #c7e4d0; background: #f5fbf7; }
.full-space-theme .revision-sheet-insight--reflex .revision-sheet-section-kicker { color: #176b39 !important; }
.full-space-theme .study-card-actions { display: flex; justify-content: center; margin-top: 16px; }
.full-space-theme .revision-self-assessment { align-items: center; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fafafe; }
.full-space-theme .revision-self-assessment-panel { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.full-space-theme .revision-self-assessment-hint { max-width: 68ch; margin: 0; color: var(--muted-strong); font-size: 12.5px; line-height: 1.55; text-align: center; }
.full-space-theme .study-rating-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.full-space-theme .study-rating { min-height: 42px; border: 1px solid var(--line); background: #fff; }
.full-space-theme .study-rating--review { border-color: #efc1cd; color: #b81642; }
.full-space-theme .study-rating--learning { border-color: #f1d296; color: #9a5900; }
.full-space-theme .study-rating--mastered { border-color: #a9ddba; color: #137b3c; }
.full-space-theme .study-rating--review.is-active { background: #fff1f4; box-shadow: 0 0 0 2px #f7d6df; }
.full-space-theme .study-rating--learning.is-active { background: #fff8e8; box-shadow: 0 0 0 2px #f7e0b2; }
.full-space-theme .study-rating--mastered.is-active { background: #effbf3; box-shadow: 0 0 0 2px #c8ebd3; }
.full-space-theme .tools-supporting-copy { margin: -3px 0 10px; max-width: 42ch; color: var(--muted); font-size: 12px; line-height: 1.45; }
.full-space-theme .study-stage-nav { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.full-space-theme .study-stage-nav > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.full-space-theme #keyPointsLibraryStage { padding: 18px; }
.full-space-theme .keypoint-group { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.full-space-theme .keypoint-group + .keypoint-group { margin-top: 14px; }
.full-space-theme .keypoint-group-header { min-height: 52px; background: #fff; }
.full-space-theme .keypoints-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.full-space-theme .keypoint-card { min-height: 210px; padding: 18px; border-radius: 14px; background: #fbfbfe; }
.full-space-theme .keypoint-card-title { margin: 9px 0 0; color: var(--ink); font-size: 16px; line-height: 1.35; letter-spacing: -.012em; }
.full-space-theme .keypoint-text { font-size: 14px; line-height: 1.62; }
.full-space-theme .keypoint-library-controls { display: flex; align-items: center; gap: 7px; }
.full-space-theme .keypoint-focus-btn,
.full-space-theme .mn-card-review-btn { min-height: 32px; padding: 6px 10px; border: 1px solid #d8d4f3; border-radius: 8px; background: #fff; color: var(--primary); font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }

/* Mnemonics reproduce the supplied Claude Design browsing surface, then add a
   focused recall mode without changing the visual language. */
.full-space-theme .mnemoniques-controls { padding: 14px 16px !important; }
.full-space-theme .mnemoniques-controls-row,
.full-space-theme .mnemonics-domain-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}
.full-space-theme .mnemoniques-controls-row { justify-content: space-between; }
.full-space-theme .mnemonics-domain-row { flex-wrap: wrap; margin-top: 10px; }
.full-space-theme .mnemonics-search-field {
  display: flex;
  width: min(380px, 100%);
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8f8fa;
  color: var(--muted);
}
.full-space-theme .mnemonics-search-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-size: 12.5px;
}
.full-space-theme .mnemonics-review-toggle {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 6px 9px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-strong);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.full-space-theme .mnemonics-review-toggle[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: #fff; }
.full-space-theme .toggle-track { position: relative; width: 30px; height: 18px; flex: none; border-radius: 999px; background: #e5e5eb; transition: background 180ms ease; }
.full-space-theme .toggle-knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform 180ms ease; }
.full-space-theme .mnemonics-review-toggle[aria-pressed="true"] .toggle-track { background: rgba(255,255,255,.35); }
.full-space-theme .mnemonics-review-toggle[aria-pressed="true"] .toggle-knob { transform: translateX(12px); }
.full-space-theme .mnemonics-type-chips { display: flex; align-items: center; gap: 5px; }
.full-space-theme .mnemonics-filter-chip,
.full-space-theme .mnemonics-domain-chip {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-strong);
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.full-space-theme .mnemonics-filter-chip.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.full-space-theme .mnemonics-domain-chip.is-active { border-color: transparent; background: var(--primary-soft); color: var(--primary); }
.full-space-theme .mnemonics-domain-label { margin-right: 2px; color: var(--muted); font-size: 9.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.full-space-theme .mnemonics-review-progress { margin-left: auto; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.full-space-theme .mnemoniques-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.full-space-theme .mnemonic-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(22, 22, 27, .05);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.full-space-theme .mnemonic-card:hover { box-shadow: var(--shadow-card); transform: none; }
.full-space-theme .mnemonic-card-header { display: block; padding: 18px 20px 0; border-bottom: 0; }
.full-space-theme .mnemonic-card-header-left { display: flex; align-items: center; gap: 10px; margin: 0; }
.full-space-theme .mnemonic-card-header-left .study-bookmark-icon { margin-left: auto; }
.full-space-theme .mnemonic-card-heading { min-width: 0; flex: 1; }
.full-space-theme .mnemonic-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 10.5px; }
.full-space-theme .mnemonic-type-badge,
.full-space-theme :is(.mn-badge--acronym, .mn-badge--list, .mn-badge--visual, .mn-badge--story) { padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.full-space-theme .mnemonic-domain-icon { display: inline-flex; align-items: center; gap: 5px; color: #8b8b95; font-size: 11.5px; font-weight: 600; }
.full-space-theme .mnemonic-domain-icon .ui-icon { width: 12px; height: 12px; }
.full-space-theme .mnemonic-card h3 { margin: 10px 0 0; color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.full-space-theme .mnemonic-title { margin: 10px 0 0; color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.full-space-theme .mnemonic-card-body { flex: 1; padding: 14px 18px 16px; }
.full-space-theme .mnemonic-body { flex: 1; padding: 0; }
.full-space-theme .mnemonic-card:not(.mnemonic-type-acronym) .mnemonic-body { padding: 16px 20px; }
.full-space-theme .mnemonic-letters { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-bottom: 14px; }
.full-space-theme .mnemonic-letter { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 8px; background: var(--primary); box-shadow: 0 4px 9px -5px rgba(59,47,212,.7); color: #fff; font-size: 17px; font-weight: 800; }
.full-space-theme .mn-acronym-display { gap: 8px; margin: 0; padding: 16px 20px 14px; }
.full-space-theme .mn-acro-letter { width: 36px; height: 36px; border-radius: 8px; background: var(--primary); font-size: 17px; box-shadow: 0 4px 9px -5px rgba(59,47,212,.7); }
.full-space-theme .mnemonic-lines { border-top: 1px solid var(--line); }
.full-space-theme .mnemonic-line { display: grid; grid-template-columns: 26px 118px minmax(0,1fr); gap: 9px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.full-space-theme .mn-breakdown { gap: 0; padding: 0 20px 12px; border-top: 0; }
.full-space-theme .mn-letter-row { grid-template-columns: 26px 118px minmax(0,1fr); gap: 9px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.full-space-theme .mn-letter-char { width: 26px; height: 26px; border-radius: 6px; background: var(--primary-soft); color: var(--primary); font-size: 12px; }
.full-space-theme .mn-letter-word { color: var(--ink); font-size: 12px; line-height: 1.45; }
.full-space-theme .mn-letter-detail { color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.full-space-theme .mnemonic-line-key { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 6px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 800; }
.full-space-theme .mnemonic-line strong { color: var(--ink); font-size: 12px; line-height: 1.45; }
.full-space-theme .mnemonic-line span:last-child { color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.full-space-theme .mnemonic-example,
.full-space-theme .mnemonic-tip { padding: 10px 18px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.full-space-theme .mnemonic-example { border-top: 1px solid var(--line); background: #fafafd; }
.full-space-theme .mnemonic-tip { border-top: 1px solid #f3dfaa; background: #fff9e8; color: #815416; }
.full-space-theme .mnemonic-card-footer { display: flex; align-items: center; gap: 8px; padding: 10px 18px 14px; border-top: 1px solid var(--line); }
.full-space-theme .mn-example { padding: 10px 18px; border-top: 1px solid var(--line); background: #fafafd; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.full-space-theme .mn-example p,
.full-space-theme .mn-tip p { margin: 6px 0 0; }
.full-space-theme .mn-tip { padding: 10px 18px; border-top: 1px solid #f3dfaa; background: #fff9e8; color: #815416; font-size: 11.5px; line-height: 1.5; }
.full-space-theme .mn-card-footer { display: flex; align-items: center; gap: 8px; padding: 10px 18px 14px; border-top: 1px solid var(--line); }
.full-space-theme .mn-keyword { margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.01em; text-align: left; }
.full-space-theme .mnemonic-recall-prompt code { color: var(--primary); font-family: inherit; font-size: clamp(34px, 4vw, 56px); font-weight: 850; letter-spacing: .13em; }
.full-space-theme .mnemonic-recall-code { margin: 10px 0 6px; color: var(--primary); font-size: clamp(34px, 4vw, 56px); font-weight: 850; line-height: 1; letter-spacing: .13em; }
.full-space-theme .mnemonic-recall-prompt h3 { margin: 8px 0 0; color: #25334a; font-size: clamp(19px, 1.8vw, 25px); letter-spacing: -.02em; }
.full-space-theme .mnemonic-recall-prompt > p,
.full-space-theme .mnemonic-recall-prompt > span { margin: 0; color: var(--muted); font-size: 12.5px; }
.full-space-theme .mnemonic-study-answer { max-height: 420px; overflow-y: auto; }
.full-space-theme .mnemonic-study-answer .mnemonic-card-body { padding: 8px 0 0; }

.full-space-theme #practiceQuestionsStats:empty,
.full-space-theme #examTemplatesList:empty,
.full-space-theme .history-list .empty-state-composed,
.full-space-theme .progress-domain-breakdown .empty-state-composed {
  border: 1px dashed #d7d3f1;
  border-radius: 14px;
  background: #fbfaff;
}
.full-space-theme #practiceQuestionsStats .empty-state-composed,
.full-space-theme #examTemplatesList .empty-state-composed,
.full-space-theme .progress-domain-breakdown .empty-state-composed { min-height: 96px; justify-content: center; }

/* Content libraries: editorial rhythm instead of long unstructured white lists. */
.full-space-theme .evolution-version-strata {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.full-space-theme .evolution-version-card {
  position: relative;
  min-height: 210px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.full-space-theme .evolution-version-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
}
.full-space-theme .evolution-version-card.is-active {
  border-color: var(--version-accent);
  background: linear-gradient(145deg, #f8f7ff, #efedff);
}
.full-space-theme .evolution-version-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.full-space-theme .evolution-version-top strong { color: var(--version-accent); font-size: 28px; font-weight: 850; letter-spacing: -.04em; }
.full-space-theme .evolution-version-top span { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-align: right; text-transform: uppercase; }
.full-space-theme .evolution-version-card h3 { margin: 20px 0 8px; color: var(--ink); font-size: 18px; }
.full-space-theme .evolution-version-card p { margin: 0; color: var(--muted-strong); font-size: 13px; line-height: 1.55; }
.full-space-theme .evolution-version-card small { display: block; margin-top: 16px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.full-space-theme .evolution-shift-list { display: grid; gap: 0; }
.full-space-theme .evolution-shift-card {
  display: grid;
  grid-template-columns: 110px minmax(230px, .85fr) minmax(320px, 1.25fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.full-space-theme .evolution-shift-card:last-child { border-bottom: 0; }
.full-space-theme .evolution-shift-meta { display: grid; gap: 5px; }
.full-space-theme .evolution-shift-meta strong { color: var(--primary); font-size: 13px; }
.full-space-theme .evolution-shift-meta span { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.full-space-theme .evolution-shift-card h4 { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.35; }
.full-space-theme .evolution-shift-card p { margin: 7px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.full-space-theme .evolution-exam-signal { margin: 0 !important; padding: 13px 14px; border: 1px solid #e2dff7; border-radius: 10px; background: #f8f7ff; color: var(--muted-strong) !important; }
.full-space-theme .evolution-detail-controls { margin-top: 0; }
.full-space-theme .evolution-detail-section { display: grid; gap: 16px; }
.full-space-theme .evolution-detail-section.hidden { display: none; }
.full-space-theme .evolution-disclosure-actions { flex-wrap: wrap; justify-content: flex-end; }
.full-space-theme .evolution-pagination {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.full-space-theme .glossary-results-panel { padding: clamp(20px, 2.5vw, 30px); }
.full-space-theme .glossary-list { gap: 24px; }
.full-space-theme .glossary-group-title {
  position: static;
  padding: 0 0 10px;
  border-bottom: 1px solid #dcd8f4;
  background: #fff;
  color: var(--primary-strong);
}
.full-space-theme .glossary-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.full-space-theme .glossary-item:hover { border-color: #d8d4f3; box-shadow: 0 8px 22px -20px rgba(24,26,40,.6); transform: none; }
.full-space-theme .glossary-az-bar {
  top: 76px;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
}
.full-space-theme .glossary-az-btn { width: 32px; height: 32px; border-radius: 8px; }

.full-space-theme .comparisons-grid { gap: 14px; }
.full-space-theme .comparison-pagination {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}
.full-space-theme .comparison-card { overflow: hidden; }
.full-space-theme .comparison-card-header { padding: 18px 20px 14px; }
.full-space-theme .comparison-table thead th { padding: 10px 14px; background: var(--navy); }
.full-space-theme .comparison-table thead th.col-pmbok8 { background: var(--primary); }
.full-space-theme .comparison-table tbody td { padding: 10px 14px; line-height: 1.5; }
.full-space-theme #evolutionGrid .comparison-card { padding: 18px 20px; }
.full-space-theme #evolutionGrid .comparison-card + .comparison-card { margin-top: 0; }

/* PMBOK fundamentals are learned as a focused workshop, not scanned as a
   document wall. The outline provides orientation while one concept owns the
   reading surface. */
.full-space-theme .fundamentals-header { display: grid; gap: 18px; }
.full-space-theme .fundamentals-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.full-space-theme .fundamentals-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f8fb;
}
.full-space-theme .fundamentals-tab {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.full-space-theme .fundamentals-tab:hover { color: var(--primary); }
.full-space-theme .fundamentals-tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.full-space-theme .fundamentals-tab.is-active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(24, 26, 40, .08);
}
.full-space-theme .fundamentals-tab span {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.full-space-theme .fundamentals-progress-text {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.full-space-theme .fundamentals-workshop-panel { padding: 0; overflow: hidden; }
.full-space-theme .fundamentals-workshop {
  display: grid;
  min-height: 530px;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
}
.full-space-theme .fundamentals-outline {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: #fafafd;
}
.full-space-theme .fundamental-outline-item {
  display: grid;
  min-height: 56px;
  grid-template-columns: 30px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted-strong);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.full-space-theme .fundamental-outline-item:hover { background: #f1f0fb; color: var(--ink); }
.full-space-theme .fundamental-outline-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
.full-space-theme .fundamental-outline-item.is-active { background: var(--primary-soft); color: var(--primary-strong); }
.full-space-theme .fundamental-outline-index {
  color: var(--primary-mid);
  font-size: 11px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.full-space-theme .fundamental-outline-copy { display: grid; min-width: 0; gap: 3px; }
.full-space-theme .fundamental-outline-copy strong {
  overflow: visible;
  color: inherit;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.3;
  text-overflow: clip;
  white-space: normal;
}
.full-space-theme .fundamental-outline-copy small { color: var(--muted); font-size: 10.5px; }
.full-space-theme .fundamental-outline-arrow { width: 14px; color: #aaa8b4; }
.full-space-theme .fundamental-outline-item.is-active .fundamental-outline-arrow { color: var(--primary); }
.full-space-theme .fundamentals-study-stage { min-width: 0; padding: clamp(22px, 3vw, 36px); }
.full-space-theme .fundamental-study-card { display: grid; gap: 0; }
.full-space-theme .fundamental-study-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.full-space-theme .fundamental-study-topline > div { display: flex; align-items: center; gap: 10px; }
.full-space-theme .fundamental-recall-prompt {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 6px 14px;
  padding: clamp(28px, 4vw, 48px) 0 30px;
}
.full-space-theme .fundamental-recall-icon {
  display: grid;
  width: 36px;
  height: 36px;
  grid-row: 1 / span 3;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}
.full-space-theme .fundamental-recall-icon .ui-icon { width: 18px; height: 18px; }
.full-space-theme .fundamental-recall-prompt .study-prompt-kicker {
  margin: 0;
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.full-space-theme .fundamental-study-title {
  max-width: 28ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.full-space-theme .fundamental-recall-prompt > p:last-child {
  max-width: 62ch;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.full-space-theme .fundamental-study-answer {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid #ddd9f5;
  border-radius: 14px;
  background: #f8f7ff;
}
.full-space-theme .fundamental-study-answer.hidden { display: none; }
.full-space-theme .fundamental-answer-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.full-space-theme .fundamental-answer-heading span {
  color: var(--primary-strong);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.full-space-theme .fundamental-answer-heading small { color: var(--muted); font-size: 11.5px; }
.full-space-theme .fundamental-study-answer > p {
  max-width: 70ch;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}
.full-space-theme .fundamental-mapping {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid #e1def5;
  color: var(--muted-strong);
  font-size: 12.5px;
  line-height: 1.5;
}
.full-space-theme .fundamental-mapping .ui-icon { width: 16px; flex: none; color: var(--primary); }
.full-space-theme .fundamental-study-actions { display: flex; justify-content: center; padding: 24px 0; }
.full-space-theme .fundamental-rating-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.full-space-theme .fundamental-study-nav {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.full-space-theme .fundamental-study-nav > span { color: var(--muted); font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.full-space-theme .fundamental-study-nav .btn:first-child { justify-self: start; }
.full-space-theme .fundamental-study-nav .btn:last-child { justify-self: end; }

@media (max-width: 1040px) {
  .full-space-theme .fundamentals-workshop { grid-template-columns: 220px minmax(0, 1fr); }
  .full-space-theme .fundamental-outline-copy strong { font-size: 12px; }
}

@media (max-width: 760px) {
  .full-space-theme .fundamentals-toolbar { align-items: stretch; flex-direction: column; }
  .full-space-theme .fundamentals-tabs { width: 100%; }
  .full-space-theme .fundamentals-tab { flex: 1; justify-content: center; }
  .full-space-theme .fundamentals-workshop { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .fundamentals-outline {
    display: none;
  }
  .full-space-theme .fundamentals-study-stage { padding: 20px 16px; }
  .full-space-theme .fundamental-recall-prompt { padding-top: 28px; }
  .full-space-theme .fundamental-study-nav { grid-template-columns: 1fr 1fr; }
  .full-space-theme .fundamental-study-nav > span { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .full-space-theme .fundamental-study-nav .btn { grid-row: 2; }
}

/* Progress becomes a motivating destination rather than a stack of white boxes. */
.full-space-theme #progressView .progress-hero {
  min-height: 188px;
  border: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(122,107,232,.28), transparent 34%),
    linear-gradient(135deg, var(--navy), #24213f 58%, var(--primary-strong));
  box-shadow: 0 18px 42px -30px rgba(24, 26, 40, .8);
  color: #fff;
}
.full-space-theme #progressView .progress-hero h2,
.full-space-theme #progressView .progress-hero p { color: inherit; }
.full-space-theme #progressView .progress-level-badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); box-shadow: none; }
.full-space-theme #progressView .progress-hero-stat { min-height: 82px; justify-content: center; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.full-space-theme #progressView .progress-xp-bar { background: linear-gradient(90deg, #a89cff, #fff); box-shadow: none; }
.full-space-theme .progress-stats-grid { gap: 18px; }
.full-space-theme .progress-stat-row { min-height: 36px; padding: 6px 0; border-bottom-color: var(--line); }
.full-space-theme .progress-badge-filters { gap: 6px; }
.full-space-theme .progress-badge-filters .chip-filter { min-height: 36px; padding: 7px 11px; }
.full-space-theme .progress-badge-card { border: 1px solid var(--line); box-shadow: none; }
.full-space-theme .progress-badge-card.earned { border-color: #cfcaf2; background: #f8f7ff; box-shadow: none; }
.full-space-theme .progress-badge-card.locked { background: #f6f6f8; filter: grayscale(.45); opacity: .66; }

/* Learner history: a durable, readable trace of the learning journey. */
.full-space-theme .progress-learning-activity {
  border-top: 3px solid var(--primary);
}
.full-space-theme .progress-learning-activity-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.full-space-theme .progress-learning-activity-eyebrow {
  margin: 0 0 7px;
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.full-space-theme .progress-learning-activity .progress-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: clamp(19px, 2vw, 23px);
}
.full-space-theme .progress-learning-activity-intro {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.full-space-theme .progress-learning-activity-badge {
  display: inline-flex;
  min-height: 34px;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #dcd8f7;
  border-radius: 999px;
  background: #f8f7ff;
  color: var(--primary-strong);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.full-space-theme .progress-learning-activity-layout {
  display: grid;
  grid-template-columns: minmax(230px, .56fr) minmax(0, 1.44fr);
  gap: 16px;
  align-items: stretch;
}
.full-space-theme .progress-learning-summary {
  position: relative;
  min-height: 250px;
  padding: 22px;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(122,107,232,.32), transparent 42%),
    linear-gradient(145deg, var(--navy), #24213f);
  color: #fff;
}
.full-space-theme .progress-learning-summary::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -66px;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(122,107,232,.12);
  border-radius: 50%;
  pointer-events: none;
}
.full-space-theme .progress-learning-summary-mark {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 25px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px;
  background: rgba(255,255,255,.09);
  color: #b9b1ff;
}
.full-space-theme .progress-learning-summary-kicker {
  margin: 0 0 15px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.full-space-theme .progress-learning-summary-stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 15px;
  margin: 0;
}
.full-space-theme .progress-learning-summary-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.full-space-theme .progress-learning-summary-stat dt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.72);
  font-size: 11.5px;
}
.full-space-theme .progress-learning-summary-stat dd {
  margin: 0;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}
.full-space-theme .progress-learning-summary-note {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 10.5px;
  line-height: 1.5;
}
.full-space-theme .progress-learning-timeline-shell {
  min-width: 0;
  padding: 20px 20px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfbfe;
}
.full-space-theme .progress-learning-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.full-space-theme .progress-learning-timeline-head h4 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}
.full-space-theme .progress-learning-sync-status {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
}
.full-space-theme .progress-learning-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  min-height: 156px;
  align-content: start;
}
.full-space-theme .progress-learning-timeline-actions {
  display: flex;
  justify-content: center;
  padding: 14px 0 7px;
  border-top: 1px solid var(--line);
}
.full-space-theme .progress-learning-timeline-actions[hidden] { display: none; }
.full-space-theme .progress-learning-timeline-actions .btn {
  min-width: min(100%, 220px);
  justify-content: center;
}
.full-space-theme .progress-learning-day-label {
  padding: 14px 0 6px 29px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.full-space-theme .progress-learning-activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  min-height: 56px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.full-space-theme .progress-learning-activity-item:last-child { border-bottom: 0; }
.full-space-theme .progress-learning-activity-item::before {
  content: "";
  position: absolute;
  top: 31px;
  bottom: -12px;
  left: 8px;
  width: 1px;
  background: #ddd9f8;
}
.full-space-theme .progress-learning-activity-item:last-child::before { display: none; }
.full-space-theme .progress-learning-activity-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 4px solid #eeecff;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 1px #d9d4fa;
}
.full-space-theme .progress-learning-activity-copy { min-width: 0; }
.full-space-theme .progress-learning-activity-title {
  margin: 0;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}
.full-space-theme .progress-learning-activity-meta {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.full-space-theme .progress-learning-activity-time {
  padding-top: 1px;
  color: var(--muted);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.full-space-theme .progress-learning-loading {
  display: grid;
  gap: 13px;
  padding: 18px 0 10px;
}
.full-space-theme .progress-learning-loading[hidden],
.full-space-theme .progress-learning-empty[hidden] { display: none; }
.full-space-theme .progress-learning-skeleton {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 72px;
  gap: 18px;
  padding-left: 29px;
}
.full-space-theme .progress-learning-skeleton span {
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, #efeff5 25%, #f8f8fb 42%, #efeff5 60%);
  background-size: 300% 100%;
  animation: progressLearningShimmer 1.35s ease-in-out infinite;
}
.full-space-theme .progress-learning-skeleton span:last-child { opacity: .72; }
.full-space-theme .progress-learning-empty {
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: left;
}
.full-space-theme .progress-learning-empty-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border: 1px solid #dedafa;
  border-radius: 13px;
  background: #f1efff;
  color: var(--primary);
}
.full-space-theme .progress-learning-empty h4 { margin: 0 0 5px; color: var(--ink); font-size: 14px; }
.full-space-theme .progress-learning-empty p { max-width: 430px; margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }

@keyframes progressLearningShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* Question workspace: clear decision hierarchy and a stable reading column. */
.full-space-theme #examView #quizSection { border-top: 3px solid var(--primary); }
.full-space-theme .quiz-head { align-items: baseline; }
.full-space-theme .quiz-head h2 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.025em; }
.full-space-theme .exam-meta-strip {
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafd;
}
.full-space-theme .session-bar { padding-block: 14px; }
.full-space-theme .exam-shell {
  grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
  gap: 16px;
}
.full-space-theme .question-card.single {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px -26px rgba(24,26,40,.7);
}
.full-space-theme .question-card.single h3 { margin-top: 0; color: var(--ink); font-size: 18px; line-height: 1.45; }
.full-space-theme .option-item {
  min-height: 58px;
  border-color: #dedfe8;
  border-radius: 12px;
  background: #fff;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.full-space-theme .option-item:hover { border-color: #bbb5ee; background: #fbfaff; transform: translateX(2px); }
.full-space-theme .option-item.is-selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 2px rgba(59,47,212,.08); }
.full-space-theme .question-tools {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dedde9;
  border-radius: 16px;
  background: #fbfaff;
}
.full-space-theme .confidence-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}
.full-space-theme .confidence-grid .btn {
  min-width: 0;
  min-height: 44px;
  gap: 5px;
  padding: 9px 6px;
  border: 1px solid #d9d7e8;
  background: #fff;
  font-size: 12px;
  white-space: nowrap;
}
.full-space-theme .confidence-grid .ui-icon { width: 15px; height: 15px; flex: none; }
.full-space-theme .confidence-grid .btn.is-active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); }
.full-space-theme .question-source { display: none !important; }
.full-space-theme .question-tools .nav-row { gap: 8px; }
.full-space-theme .question-tools .btn-full { min-height: 46px; }
.full-space-theme .keyboard-hint { color: var(--muted); line-height: 1.55; }
.full-space-theme .keyboard-hint kbd { border: 1px solid #d8d6e5; border-bottom-width: 2px; border-radius: 5px; background: #fff; }

.full-space-theme .btn { border-radius: 11px; font-family: inherit; transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease; }
.full-space-theme .btn:active { transform: translateY(1px) scale(.985); }
.full-space-theme .btn-primary { background: var(--primary); box-shadow: none; }
.full-space-theme .btn-primary:hover { background: var(--primary-strong); }
.full-space-theme .question-release-actions .btn-primary {
  border-color: #fff;
  background: #fff;
  color: #29206f;
  box-shadow: 0 8px 22px rgba(10, 8, 35, .2);
}
.full-space-theme .question-release-actions .btn-primary:hover,
.full-space-theme .question-release-actions .btn-primary:focus-visible {
  border-color: #fff;
  background: #f3f1ff;
  color: #17134f;
}
.full-space-theme .question-release-actions .btn-ghost {
  border-color: rgba(255,255,255,.46);
  background: rgba(255,255,255,.1);
  color: #fff;
}
.full-space-theme .question-release-actions .btn-ghost:hover,
.full-space-theme .question-release-actions .btn-ghost:focus-visible {
  border-color: #fff;
  background: rgba(255,255,255,.18);
  color: #fff;
}
.full-space-theme input,
.full-space-theme select,
.full-space-theme textarea { border-color: #d7dae6; border-radius: 10px; background: #fff; font-family: inherit; }
.full-space-theme input:focus,
.full-space-theme select:focus,
.full-space-theme textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,47,212,.12); }
.full-space-theme :where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(91, 61, 245, .28);
  outline-offset: 2px;
}
.full-space-theme .cookie-banner,
.full-space-theme .rgpd-banner {
  border-top-color: #dad7f8;
  background: var(--navy);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.full-space-theme .notify-toast,
.full-space-theme .notify-toast.is-visible {
  transform: none;
  transition: opacity 180ms ease;
}

@media (max-width: 1240px) {
  .full-space-theme .app-shell { grid-template-columns: 238px minmax(0,1fr); }
  .full-space-theme .topbar { width: calc(100% + 260px); margin-left: -260px; }
  .full-space-theme .topbar-right { width: auto; align-items: center; justify-content: flex-end; overflow: visible; }
  .full-space-theme .topbar-right::-webkit-scrollbar { display: none; }
  .full-space-theme .dashboard-quick-grid { grid-template-columns: 1.4fr 1fr; }
  .full-space-theme #dashboardNextActivity { grid-row: span 2; }
  .full-space-theme #dashboardDomainMastery { grid-column: 2; }
  .full-space-theme .dashboard-stats { grid-template-columns: repeat(3, 1fr); gap: 18px 0; }
  .full-space-theme .stat-card:nth-child(4) { border-left: 0; padding-left: 0; }
}

/* Entre le desktop complet et le drawer, préserver en priorité l'identité,
   le référentiel actif et le profil. Les utilitaires secondaires disparaissent
   avant de pouvoir pousser la barre hors de son ancrage de 24 px. */
@media (min-width: 901px) and (max-width: 1100px) {
  .full-space-theme #studyTimeToggleBtn,
  .full-space-theme #langToggleBtn,
  .full-space-theme #utilityNotificationsBtn { display: none !important; }
  .full-space-theme .topbar-right { min-width: max-content; }
}

@media (max-width: 1100px) {
  .full-space-theme .exam-shell { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .question-tools { width: 100%; box-sizing: border-box; }
}

@media (max-width: 900px) {
  .full-space-theme .app-shell { display: block; width: 100%; min-height: 100dvh; margin: 0; padding: 72px 16px 24px; }
  .full-space-theme .topbar { position: fixed; top: 10px; left: 12px; width: calc(100% - 24px); margin: 0; transform: none; }
  .full-space-theme .topbar-right > #studyTimeToggleBtn,
  .full-space-theme .topbar-right > .topbar-gamif { display: none !important; }
  .full-space-theme .topbar-right > .topbar-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
  }
  .full-space-theme .topbar-actions > :not(.topbar-user-menu):not(#pmbokVersionSelector) { display: none !important; }
  .full-space-theme #pmbokVersionSelector,
  .full-space-theme .topbar-user-menu,
  .full-space-theme #pmbokVersionToggleBtn,
  .full-space-theme .topbar-avatar-zone { display: flex; }
  .full-space-theme #pmbokVersionToggleBtn .pmbok-version-label { display: inline; }
  .full-space-theme .mobile-nav-toggle { position: static; display: grid; order: -1; width: 44px; height: 44px; flex: none; place-items: center; border-radius: 12px; }
  .full-space-theme .sidebar { position: fixed; z-index: 200; top: 0; left: 0; width: min(310px, 88vw); height: 100dvh; max-height: none; margin-top: 0; border-radius: 0 20px 20px 0; transform: translateX(-105%); transition: transform .24s ease; }
  .full-space-theme .sidebar.is-open { transform: translateX(0); }
  .full-space-theme .space-brand-hero { min-height: 196px; }
  .full-space-theme .dashboard-quick-grid { grid-template-columns: 1fr 1fr; }
  .full-space-theme #dashboardNextActivity { grid-column: 1 / -1; grid-row: auto; }
  .full-space-theme .dashboard-split { grid-template-columns: 1fr; }
  .full-space-theme .view:not(#dashboardView) { gap: 14px; }
  .full-space-theme .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .full-space-theme #flashcardsView .flashcards-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .full-space-theme .field-search { grid-column: 1 / -1; }
  .full-space-theme .progress-stats-grid { grid-template-columns: 1fr; }
  .full-space-theme .progress-learning-activity-layout { grid-template-columns: 1fr; }
  .full-space-theme .progress-learning-summary { min-height: 0; }
  .full-space-theme .progress-learning-summary-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .full-space-theme .progress-learning-summary-stat { display: block; padding: 0 18px 0 0; border-right: 1px solid rgba(255,255,255,.11); border-bottom: 0; }
  .full-space-theme .progress-learning-summary-stat:last-child { padding-right: 0; border-right: 0; }
  .full-space-theme .progress-learning-summary-stat dd { margin-top: 7px; }
  .full-space-theme #progressView .progress-hero { align-items: flex-start; }
  .full-space-theme #progressView .progress-hero-right { width: 100%; }
  .full-space-theme #progressView .progress-hero-stat { flex: 1 1 120px; }
  .full-space-theme .evolution-version-strata { grid-template-columns: 1fr; }
  .full-space-theme .evolution-version-card { min-height: 0; }
  .full-space-theme .evolution-shift-card { grid-template-columns: 90px 1fr; }
  .full-space-theme .evolution-exam-signal { grid-column: 2; }
  .full-space-theme .mnemoniques-controls-row { align-items: stretch; flex-wrap: wrap; }
  .full-space-theme .mnemonics-search-field { width: 100%; }
  .full-space-theme .mnemonics-type-chips { order: 3; width: 100%; overflow-x: auto; }
  .full-space-theme .mnemonics-filter-chip { flex: none; }
  .full-space-theme .mnemoniques-grid { grid-template-columns: 1fr; }
  .full-space-theme .keypoints-grid { grid-template-columns: 1fr; }
  .full-space-theme #pmbokVersionToggleBtn,
  .full-space-theme .topbar-avatar-zone { min-height: 44px; }
  .full-space-theme :where(button, [role="button"], select, input:not([type="checkbox"]):not([type="radio"])) { min-height: 44px; }
}

@media (max-width: 680px) {
  .full-space-theme .app-shell { padding-inline: 12px; }
  .full-space-theme .topbar-copy { min-width: 0 !important; gap: 5px; }
  .full-space-theme .topbar-pmprep-logo { width: 67px; }
  .full-space-theme .topbar-brand-by,
  .full-space-theme .topbar-elitek-logo { display: none; }
  .full-space-theme #pmbokVersionToggleBtn .pmbok-version-label { display: inline; font-size: 11px; }
  .full-space-theme .space-brand-hero { min-height: 210px; padding: 28px 24px; }
  .full-space-theme .space-brand-hero h1 { max-width: 12ch; font-size: 28px; }
  .full-space-theme .space-brand-hero p:last-child { max-width: 36ch; font-size: 12.5px; }
  .full-space-theme .space-hero-orb-a { right: -150px; }
  .full-space-theme .space-hero-orb-b,
  .full-space-theme .space-hero-orb-c { display: none; }
  .full-space-theme .section-head { align-items: flex-start; flex-direction: column; }
  .full-space-theme .section-head .actions.compact { width: 100%; }
  .full-space-theme .section-head .actions.compact .btn { min-height: 44px; flex: 1; padding-inline: 10px; }
  .full-space-theme .dashboard-quick-grid { grid-template-columns: 1fr; }
  .full-space-theme #dashboardNextActivity,
  .full-space-theme #dashboardDomainMastery { grid-column: auto; grid-row: auto; }
  .full-space-theme #dashboardNextActivity { min-height: 410px; padding: 24px; }
  .full-space-theme .activity-journey small { font-size: 8px; }
  .full-space-theme .resource-panel { padding: 18px; }
  .full-space-theme .resource-panel-head { align-items: flex-start; flex-direction: column; }
  .full-space-theme .resource-grid { grid-template-columns: 1fr 1fr; }
  .full-space-theme .resource-grid button { min-height: 124px; }
  .full-space-theme .dashboard-stats { grid-template-columns: repeat(2,1fr); }
  .full-space-theme .stat-card:nth-child(3),
  .full-space-theme .stat-card:nth-child(5) { border-left: 0; padding-left: 0; }
  .full-space-theme .stat-card:nth-child(4) { border-left: 1px solid var(--line); padding-left: 18px; }
  .full-space-theme .view > .panel:not(.topbar):not(.dashboard-panel) { padding: 22px 18px; border-radius: 16px; }
  .full-space-theme .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .full-space-theme #flashcardsView .flashcards-filter-grid { grid-template-columns: 1fr; }
  .full-space-theme .field-search { grid-column: auto; }
  .full-space-theme .controls > .actions { width: 100%; }
  .full-space-theme .controls > .actions .btn { width: 100%; }
  .full-space-theme .flashcards-panel { min-height: 540px; }
  .full-space-theme .flashcards-head { align-items: stretch; flex-direction: column; }
  .full-space-theme .flashcards-head .actions.compact { width: 100%; }
  .full-space-theme .flashcards-head .actions.compact .btn { min-width: 0; flex: 1; padding-inline: 8px; }
  .full-space-theme .flashcard-card { height: auto; min-height: 280px; }
  .full-space-theme .flashcard-front,
  .full-space-theme .flashcard-back { min-height: 280px; padding: 24px 20px 42px; }
  .full-space-theme .learning-hero { min-height: 188px; padding: 24px 22px; }
  .full-space-theme .learning-hero-count { min-width: 84px; }
  .full-space-theme .learning-hero-count strong { font-size: 36px; }
  .full-space-theme .learning-hero-ring { display: none; }
  .full-space-theme .learning-hero-orb-a { right: -150px; }
  .full-space-theme .learning-hero-orb-b { display: none; }
  .full-space-theme .fc-back-details { grid-template-columns: 1fr; }
  .full-space-theme .fc-back-section--tip,
  .full-space-theme .fc-back-section--warning { grid-column: auto; }
  .full-space-theme .fc-back-list-row { grid-template-columns: 1fr; gap: 5px; }
  .full-space-theme .flashcard-rating-buttons { display: grid; grid-template-columns: 1fr; width: 100%; }
  .full-space-theme .flashcard-rating-buttons .btn { width: 100%; }
  .full-space-theme .study-stage { min-height: 0; }
  .full-space-theme .keypoint-study-card,
  .full-space-theme .mnemonic-study-card { min-height: 0; }
  .full-space-theme .study-recall-prompt,
  .full-space-theme .mnemonic-recall-prompt { min-height: 190px; padding: 24px 18px; }
  .full-space-theme .revision-sheet-header { padding: 22px 16px; }
  .full-space-theme .revision-sheet-insight-grid { grid-template-columns: 1fr; }
  .full-space-theme .revision-sheet-section,
  .full-space-theme .revision-sheet-insight,
  .full-space-theme .revision-sheet-outcome { padding: 14px; }
  .full-space-theme .study-card-meta { flex-wrap: wrap; }
  .full-space-theme .mnemonic-line { grid-template-columns: 26px minmax(90px, .7fr) minmax(0,1fr); }
  .full-space-theme .mnemonics-domain-row { flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
  .full-space-theme .mnemonics-domain-label { flex: 0 0 100%; }
  .full-space-theme .mnemonics-domain-chip { flex: 0 1 auto; max-width: 100%; }
  .full-space-theme .mnemonics-review-progress { display: none; }
  .full-space-theme .glossary-list { columns: 1; }
  .full-space-theme .glossary-group { grid-template-columns: 1fr; }
  .full-space-theme .glossary-az-bar { position: static; }
  .full-space-theme .evolution-shift-card { grid-template-columns: 1fr; gap: 10px; }
  .full-space-theme .evolution-shift-meta { display: flex; align-items: center; justify-content: space-between; }
  .full-space-theme .evolution-exam-signal { grid-column: auto; }
  .full-space-theme #progressView .progress-hero { padding: 24px 20px; }
  .full-space-theme #progressView .progress-hero-left { align-items: flex-start; min-width: 0; }
  .full-space-theme #progressView .progress-level-badge { width: 58px; height: 58px; }
  .full-space-theme #progressView .progress-hero-right { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .full-space-theme #progressView .progress-hero-stat { min-width: 0; min-height: 76px; padding: 10px; }
  .full-space-theme .progress-badge-filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .full-space-theme .progress-badge-filters .chip-filter { flex: none; }
  .full-space-theme .progress-learning-activity-head { display: grid; gap: 14px; }
  .full-space-theme .progress-learning-activity-badge { justify-self: start; }
  .full-space-theme .progress-learning-summary { padding: 20px; }
  .full-space-theme .progress-learning-timeline-shell { padding-inline: 16px; }
  .full-space-theme .progress-learning-activity-item { grid-template-columns: 18px minmax(0, 1fr); }
  .full-space-theme .progress-learning-activity-time { grid-column: 2; margin-top: -6px; }
  .full-space-theme .progress-learning-activity-meta { white-space: normal; }
  .full-space-theme .side-link,
  .full-space-theme #quickStartBtn,
  .full-space-theme .empty-cta { min-height: 44px; }
  .full-space-theme :where(button, [role="button"], select, input:not([type="checkbox"]):not([type="radio"])) { min-height: 44px; }
}

@media (max-width: 480px) {
  .full-space-theme .topbar { gap: 8px; padding-inline: 10px; }
  .full-space-theme .topbar-copy { flex: 1 1 auto; }
  .full-space-theme .topbar-right { flex: none; }
  .full-space-theme .topbar-avatar-zone { width: 44px; padding: 3px; justify-content: center; }
  .full-space-theme .topbar-greeting,
  .full-space-theme .topbar-avatar-caret { display: none; }
  .full-space-theme #pmbokVersionToggleBtn { min-width: 82px; padding-inline: 9px; }
  .full-space-theme .pmbok-version-count { display: none; }
  .full-space-theme .progress-learning-summary-stats { grid-template-columns: 1fr; gap: 13px; }
  .full-space-theme .progress-learning-summary-stat { display: grid; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
  .full-space-theme .progress-learning-summary-stat:last-child { padding-bottom: 0; border-bottom: 0; }
  .full-space-theme .progress-learning-summary-stat dd { margin-top: 0; }
  .full-space-theme .progress-learning-empty { align-items: flex-start; flex-direction: column; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .full-space-theme .side-link,
  .full-space-theme .quick-card,
  .full-space-theme .resource-grid button,
  .full-space-theme .btn { transition: none; }
  .full-space-theme .flashcard-inner,
  .full-space-theme .flashcard-card.is-back .flashcard-inner { transform: none; transform-style: flat; transition: none; }
  .full-space-theme .flashcard-front,
  .full-space-theme .flashcard-back { animation: none; transition: none; transform: none; }
  .full-space-theme .progress-learning-skeleton span { animation: none; }
  .full-space-theme .flashcard-back { display: none; }
  .full-space-theme .flashcard-card.is-back .flashcard-front { display: none; }
  .full-space-theme .flashcard-card.is-back .flashcard-back { display: flex; }
}

/* Focused formula practice and progressive disclosure. */
.full-space-theme .formula-workshop-panel { padding: 0; overflow: hidden; }
.full-space-theme .formula-workshop-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.full-space-theme .formula-study-progress { margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.full-space-theme .formula-workshop {
  display: grid; grid-template-columns: minmax(320px, 380px) minmax(0, 1fr); min-height: 560px;
}
.full-space-theme .formula-outline {
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 7px;
  max-height: none; overflow-y: visible; padding: 16px; background: color-mix(in srgb, var(--primary-soft) 38%, var(--panel)); border-right: 1px solid var(--line);
}
.full-space-theme .formula-outline-item {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px;
  min-height: 58px; padding: 9px 10px; border: 1px solid transparent; border-radius: 11px;
  background: transparent; color: var(--muted); text-align: left; cursor: pointer;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.full-space-theme .formula-outline-item:hover {
  background: color-mix(in srgb, var(--panel) 88%, var(--primary-soft)); color: var(--ink); transform: translateY(-1px);
}
.full-space-theme .formula-outline-item:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 28%, transparent); outline-offset: 2px;
}
.full-space-theme .formula-outline-item.is-active {
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line)); background: var(--panel); color: var(--primary-strong);
  box-shadow: 0 8px 20px rgba(48, 39, 155, 0.08);
}
.full-space-theme .formula-outline-index {
  display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px;
  background: color-mix(in srgb, var(--primary-soft) 78%, var(--panel)); color: var(--primary-strong); font-size: 10px; font-weight: 800;
}
.full-space-theme .formula-outline-copy { display: grid; min-width: 0; gap: 2px; }
.full-space-theme .formula-outline-copy strong {
  overflow: visible; color: inherit; font-size: 12.5px; line-height: 1.35; text-overflow: clip; white-space: normal;
}
.full-space-theme .formula-outline-copy small { color: var(--muted); font-size: 10.5px; }
.full-space-theme .formula-study-stage { position: sticky; top: 92px; min-width: 0; min-height: 720px; align-self: start; padding: clamp(20px, 3vw, 36px); }
.full-space-theme .formula-study-card { display: grid; gap: 22px; min-height: 100%; }
.full-space-theme .formula-study-topline,
.full-space-theme .formula-study-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.full-space-theme .formula-study-topline > div { display: flex; align-items: center; gap: 10px; }
.full-space-theme .formula-recall-prompt {
  display: grid; align-content: center; gap: 9px; min-height: 176px; padding: clamp(22px, 4vw, 38px);
  border-radius: 18px; background: var(--ink); color: #f8f7ff;
}
.full-space-theme .formula-category-label {
  justify-self: start; padding: 5px 9px; border-radius: 999px; background: rgba(126, 109, 255, 0.19);
  color: #c9c1ff; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.full-space-theme .formula-recall-prompt p,
.full-space-theme .formula-recall-prompt h3,
.full-space-theme .formula-recall-prompt span { margin: 0; }
.full-space-theme .formula-recall-prompt p { color: #c9c1ff; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.full-space-theme .formula-recall-prompt h3 { max-width: 25ch; color: #f8f7ff; font-size: clamp(22px, 3vw, 34px); line-height: 1.08; }
.full-space-theme .formula-recall-prompt > span:last-child { max-width: 62ch; color: #c6c4d2; font-size: 14px; line-height: 1.55; }
.full-space-theme .formula-study-answer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.full-space-theme .formula-study-answer.hidden { display: none; }
.full-space-theme .formula-study-expression {
  grid-column: 1 / -1; padding: 20px; border-radius: 15px; background: var(--primary-soft); color: var(--primary-strong);
  font-size: clamp(24px, 3vw, 36px); font-weight: 850; letter-spacing: -0.03em; text-align: center;
}
.full-space-theme .formula-study-block,
.full-space-theme .formula-study-tip {
  padding: 15px 16px; border: 1px solid var(--line); border-radius: 13px;
  background: color-mix(in srgb, var(--panel) 94%, var(--primary-soft));
}
.full-space-theme .formula-study-block h4,
.full-space-theme .formula-study-tip h4,
.full-space-theme .formula-study-block p,
.full-space-theme .formula-study-tip p { margin: 0; }
.full-space-theme .formula-study-block h4,
.full-space-theme .formula-study-tip h4 { margin-bottom: 7px; color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.full-space-theme .formula-study-block p,
.full-space-theme .formula-study-tip p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.full-space-theme .formula-variable-grid { display: grid; gap: 8px; }
.full-space-theme .formula-variable { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 8px; }
.full-space-theme .formula-variable strong { grid-row: 1 / span 2; color: var(--primary-strong); }
.full-space-theme .formula-variable span { color: var(--ink); font-size: 12px; font-weight: 700; }
.full-space-theme .formula-variable small { color: var(--muted); font-size: 11px; }
.full-space-theme .formula-study-tip { display: flex; grid-column: 1 / -1; gap: 12px; background: #fff9ed; border-color: #efd9a8; }
.full-space-theme .formula-study-tip .ui-icon { flex: 0 0 auto; color: #9a5900; }
.full-space-theme .formula-study-actions { display: flex; justify-content: center; }
.full-space-theme .formula-study-actions .btn { width: auto; min-width: 0; min-height: 42px; height: auto; flex: 0 0 auto; padding: 10px 17px; }
.full-space-theme .formula-study-nav { padding-top: 16px; border-top: 1px solid var(--line); }
.full-space-theme .formula-study-nav > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.full-space-theme .progress-badge-actions { display: flex; justify-content: center; padding-top: 16px; }
.full-space-theme .progress-xp-details > summary {
  display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; list-style: none;
}
.full-space-theme .progress-xp-details > summary::-webkit-details-marker { display: none; }
.full-space-theme .progress-xp-details[open] > summary { margin-bottom: 16px; }
.full-space-theme .pmbok-guide-details { display: grid; gap: 18px; }
.full-space-theme .pmbok-guide-details.hidden { display: none; }
.full-space-theme .pmbok-guide-disclosure { display: flex; justify-content: center; padding-top: 18px; }

@media (max-width: 1100px) {
  .full-space-theme .formula-workshop { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .formula-outline { max-height: none; overflow: visible; grid-template-columns: minmax(0, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }
  .full-space-theme .formula-study-stage { position: static; min-height: 0; }
}
@media (max-width: 760px) {
  .full-space-theme .formula-workshop-head { align-items: flex-start; flex-direction: column; }
  .full-space-theme .formula-outline { display: none; }
  .full-space-theme .formula-study-answer { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .formula-study-expression,
  .full-space-theme .formula-study-tip { grid-column: auto; }
  .full-space-theme .formula-study-nav { align-items: stretch; display: grid; grid-template-columns: 1fr 1fr; }
  .full-space-theme .formula-study-nav > span { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .full-space-theme #progressView .panel > .section-head { align-items: flex-start; flex-direction: column; }
  .full-space-theme #progressView .progress-badge-filters { width: 100%; overflow: visible; flex-wrap: wrap; padding-bottom: 0; }
  .full-space-theme #progressView .progress-badge-filters .chip-filter { flex: 0 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .full-space-theme .formula-outline-item { transition: none; }
  .full-space-theme .formula-outline-item:hover { transform: none; }
}

/* Game center — a distinct, high-energy lobby built from the dashboard visual language. */
.full-space-theme .game-lobby { display: grid; gap: 18px; }
.full-space-theme .game-center-hero { margin: 0; }
.full-space-theme .game-overview-panel { padding: 22px 24px; }
.full-space-theme .game-stats-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.full-space-theme .game-stat { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: #f6f3ff; }
.full-space-theme .game-stat:nth-child(2) { border-color: #f2dec1; background: #fff9ef; }
.full-space-theme .game-stat:nth-child(3) { border-color: #cfe8df; background: #f3fbf8; }
.full-space-theme .game-stat > svg { width: 19px; height: 19px; color: var(--primary); }
.full-space-theme .game-stat:nth-child(2) > svg { color: oklch(48% .13 58); }
.full-space-theme .game-stat:nth-child(3) > svg { color: oklch(44% .1 165); }
.full-space-theme .game-stat span { display: grid; min-width: 0; gap: 2px; }
.full-space-theme .game-stat small { overflow: hidden; color: var(--muted); font-size: 10.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.full-space-theme .game-stat strong { color: var(--ink); font-size: 15px; }
.full-space-theme .game-mode-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.full-space-theme .game-mode-card {
  --game-accent: var(--primary);
  --game-accent-soft: #eeebff;
  position: relative;
  display: grid;
  min-height: 258px;
  grid-column: span 2;
  grid-template-rows: auto 1fr auto;
  gap: 17px;
  overflow: hidden;
  padding: 23px;
  border: 1px solid #d8d3f7;
  border-radius: 18px;
  background: #fbfaff;
  box-shadow: 0 12px 30px rgba(32, 27, 72, .07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.full-space-theme .game-mode-card::after {
  position: absolute;
  right: 18px;
  top: 12px;
  color: color-mix(in oklch, var(--game-accent) 13%, transparent);
  content: attr(data-game-number);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
  pointer-events: none;
}
.full-space-theme .game-mode-card:hover { border-color: color-mix(in oklch, var(--game-accent) 48%, white); box-shadow: 0 18px 38px rgba(32, 27, 72, .12); transform: translateY(-3px); }
.full-space-theme .game-mode-card--amber { --game-accent: oklch(48% .13 58); --game-accent-soft: #fff0d7; border-color: #efd9b6; background: #fffaf1; }
.full-space-theme .game-mode-card--mint { --game-accent: oklch(43% .1 165); --game-accent-soft: #dcf4eb; border-color: #c7e4db; background: #f4fbf8; }
.full-space-theme .game-mode-card--violet { background: #f7f5ff; }
.full-space-theme .game-mode-card--wide { grid-column: span 3; }
.full-space-theme .game-mode-card--featured {
  --game-accent: #a79cff;
  grid-column: span 4;
  min-height: 298px;
  padding: 28px;
  border-color: #171827;
  background: #181a28;
  box-shadow: 0 20px 46px rgba(24, 26, 40, .19);
}
.full-space-theme .game-mode-card--featured::before {
  position: absolute;
  right: -28px;
  top: -44px;
  width: 168px;
  height: 168px;
  border-radius: 48%;
  background: #4336df;
  box-shadow: -66px 180px 0 -16px #3127a5;
  content: "";
  pointer-events: none;
}
.full-space-theme .game-mode-card--featured::after { right: 35px; top: 92px; color: rgba(255,255,255,.1); font-size: 94px; }
.full-space-theme .game-mode-icon { position: relative; z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--game-accent-soft); color: var(--game-accent); }
.full-space-theme .game-mode-icon svg { width: 20px; height: 20px; }
.full-space-theme .game-mode-copy { position: relative; z-index: 1; align-self: start; }
.full-space-theme .game-mode-kicker { margin: 0 0 7px; color: var(--game-accent, var(--primary)); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.full-space-theme .game-mode-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 19px; letter-spacing: -.025em; }
.full-space-theme .game-mode-card p:not(.game-mode-kicker) { max-width: 48ch; margin: 0; color: #555b70; font-size: 13px; line-height: 1.58; }
.full-space-theme .game-mode-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.full-space-theme .game-mode-meta span { padding: 5px 8px; border-radius: 999px; background: color-mix(in oklch, var(--game-accent-soft) 82%, white); color: var(--game-accent); font-size: 10.5px; font-weight: 800; }
.full-space-theme .game-mode-card > .btn { position: relative; z-index: 1; width: max-content; min-width: 96px; min-height: 40px; justify-self: start; padding: 9px 17px; border-color: var(--game-accent); background: var(--game-accent); }
.full-space-theme .game-mode-card--featured .game-mode-icon { background: rgba(255,255,255,.12); color: #fff; }
.full-space-theme .game-mode-card--featured .game-mode-kicker { color: #bdb5ff; }
.full-space-theme .game-mode-card--featured h3 { color: #fff; font-size: clamp(25px, 2.2vw, 32px); }
.full-space-theme .game-mode-card--featured p:not(.game-mode-kicker) { max-width: 54ch; color: #c8cad5; font-size: 14px; }
.full-space-theme .game-mode-card--featured .game-mode-meta span { background: rgba(255,255,255,.1); color: #fff; }
.full-space-theme .game-mode-card--featured > .btn { border-color: #fff; background: #fff; color: #3026ad; }
.full-space-theme .game-play-shell { overflow: hidden; padding: 0; }
.full-space-theme .game-play-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--panel); }
.full-space-theme .game-play-bar h2 { margin: 0; color: var(--ink); font-size: 20px; }
.full-space-theme .game-play-bar .game-mode-kicker { margin-bottom: 3px; }
.full-space-theme .game-play-meta { margin: 0; color: var(--muted-strong); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.full-space-theme .game-stage { display: grid; max-width: 940px; min-height: 590px; align-content: center; gap: 18px; margin: 0 auto; padding: clamp(28px, 5vw, 64px); border: 0; background: transparent; }
.full-space-theme .game-question-card { padding: clamp(22px, 3.5vw, 34px); border-radius: 18px; background: var(--ink); color: #fff; }
.full-space-theme .game-question-context { margin: 0 0 10px; color: #bcb4ff; font-size: 10.5px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.full-space-theme .game-headline { max-width: 48ch; margin: 0; color: #fff; font-size: clamp(19px, 1.85vw, 25px); font-weight: 700; line-height: 1.42; letter-spacing: -.018em; }
.full-space-theme .game-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.full-space-theme .game-option-btn { display: grid; min-height: 58px; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.35; text-align: left; box-shadow: none; }
.full-space-theme .game-option-btn:hover:not(:disabled) { border-color: #b9b0ff; background: #f8f7ff; transform: translateY(-1px); }
.full-space-theme .game-option-key { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 850; }
.full-space-theme .game-option-btn.is-good { border-color: #8ddbb1; background: #f1fff7; color: #126b40; }
.full-space-theme .game-option-btn.is-bad { border-color: #efadb9; background: #fff5f7; color: #9d2346; }
.full-space-theme .game-feedback { padding: 13px 15px; border-radius: 12px; font-weight: 750; }
.full-space-theme .game-explanation { margin: 0; padding: 16px 18px; border: 1px solid #d8d3f7; border-radius: 12px; background: #f7f6ff; color: var(--muted-strong); font-size: 13px; line-height: 1.6; }
.full-space-theme .game-next-btn { justify-self: end; min-height: 42px; }
.full-space-theme .game-result-card { display: grid; max-width: 620px; justify-items: center; gap: 10px; margin: auto; padding: 42px; text-align: center; }
.full-space-theme .game-result-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; background: var(--primary-soft); color: var(--primary); }
.full-space-theme .game-result-card h3 { margin: 0; color: var(--ink); font-size: 28px; }
.full-space-theme .game-result-card > p:not(.game-mode-kicker) { margin: 0; color: var(--muted); }

@media (max-width: 980px) {
  .full-space-theme .game-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .full-space-theme .game-mode-card, .full-space-theme .game-mode-card--wide { grid-column: span 1; }
  .full-space-theme .game-mode-card--featured { grid-column: span 2; }
}
@media (max-width: 680px) {
  .full-space-theme .game-stats-strip, .full-space-theme .game-mode-grid, .full-space-theme .game-options { grid-template-columns: 1fr; }
  .full-space-theme .game-mode-card, .full-space-theme .game-mode-card--featured, .full-space-theme .game-mode-card--wide { grid-column: auto; }
  .full-space-theme .game-mode-card { min-height: 0; }
  .full-space-theme .game-mode-card--featured { min-height: 290px; }
  .full-space-theme .game-play-bar { grid-template-columns: 1fr; align-items: start; }
  .full-space-theme .game-play-meta { grid-row: 2; }
  .full-space-theme .game-stage { min-height: 520px; padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .full-space-theme .game-mode-card { transition: none; }
  .full-space-theme .game-mode-card:hover { transform: none; }
}

/* Account, learning plan and progress — premium learner-facing polish. */
.full-space-theme .account-shell {
  overflow: hidden;
  padding: 0;
  border-top-color: var(--primary);
}
.full-space-theme .account-heading {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: #fff;
  color: var(--ink);
}
.full-space-theme .account-heading .eyebrow { color: var(--primary-strong); }
.full-space-theme .account-heading h2 { margin: 5px 0 5px; color: var(--ink); font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.full-space-theme .account-heading-copy { max-width: 650px; margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.full-space-theme .account-security-badge {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d9d4f7;
  border-radius: 999px;
  background: #f7f5ff;
  color: var(--primary-strong);
  font-size: 11.5px;
  font-weight: 750;
}
.full-space-theme .account-shell > .auth-status { margin: 0; padding: 0 32px; }
.full-space-theme .account-shell > .auth-status:not(:empty) { padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); background: #fff9ec; color: #815000; }
.full-space-theme .account-content { display: grid; gap: 0; }
.full-space-theme .account-primary-grid {
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.52fr);
  gap: 0;
}
.full-space-theme .account-identity {
  position: relative;
  display: grid;
  min-height: 370px;
  align-content: center;
  justify-items: center;
  gap: 12px;
  margin: 0;
  padding: 34px 26px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #eeebff;
  text-align: center;
}
.full-space-theme .account-identity::after {
  position: absolute;
  right: -52px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #dcd6ff;
  content: "";
  pointer-events: none;
}
.full-space-theme .account-identity-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--primary-strong); font-size: 10.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.full-space-theme .account-identity .profile-avatar-wrap { z-index: 1; }
.full-space-theme .account-identity .profile-avatar-wrap { width: auto; height: auto; padding: 0; border: 0; background: transparent; box-shadow: none; }
.full-space-theme .account-identity .profile-avatar { width: 86px; height: 86px; border: 7px solid rgba(255,255,255,.78); font-size: 24px; box-shadow: 0 16px 30px -20px rgba(48,39,155,.8); }
.full-space-theme .account-identity .profile-info { z-index: 1; min-width: 0; }
.full-space-theme .account-identity .profile-info h3 { margin: 2px 0 0; color: var(--ink); font-size: 21px; }
.full-space-theme .account-identity .profile-info .auth-user-email { overflow-wrap: anywhere; color: #66627a; }
.full-space-theme .account-identity .badge { display: inline-flex; margin-top: 5px; }
.full-space-theme .account-identity-note { z-index: 1; max-width: 28ch; margin: 5px 0 0; color: #66627a; font-size: 11.5px; line-height: 1.55; }
.full-space-theme .account-details { display: grid; align-content: center; gap: 22px; padding: 34px clamp(26px, 4vw, 48px); background: #fff; }
.full-space-theme .account-section-heading { display: flex; align-items: center; gap: 13px; }
.full-space-theme .account-section-icon,
.full-space-theme .account-data-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.full-space-theme .account-section-heading h3,
.full-space-theme .account-section-heading p { margin: 0; }
.full-space-theme .account-section-heading h3 { color: var(--ink); font-size: 19px; }
.full-space-theme .account-section-heading p { margin-top: 3px; color: var(--muted); font-size: 12.5px; }
.full-space-theme .account-details .auth-grid { gap: 15px; }
.full-space-theme .account-details .field > span:first-child { color: #474453; font-size: 11.5px; font-weight: 750; }
.full-space-theme .account-details input,
.full-space-theme .account-details select { min-height: 46px; background: #fbfbfd; }
.full-space-theme .account-profile-actions { gap: 10px; }
.full-space-theme .account-billing-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .9fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.full-space-theme .account-billing-heading { display: flex; align-items: center; gap: 13px; min-width: 0; }
.full-space-theme .account-billing-heading .eyebrow { margin: 0 0 3px; color: var(--primary-strong); }
.full-space-theme .account-billing-heading h3 { margin: 0; color: var(--ink); font-size: 19px; }
.full-space-theme .account-billing-heading p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.full-space-theme .account-billing-status-card {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid #dedaf5;
  border-radius: 13px;
  background: #f8f7ff;
}
.full-space-theme .account-billing-status-dot { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: #8c88a0; box-shadow: 0 0 0 4px rgba(140,136,160,.12); }
.full-space-theme .account-billing-status-card[data-tone="good"] .account-billing-status-dot { background: #1d8c59; box-shadow: 0 0 0 4px rgba(29,140,89,.13); }
.full-space-theme .account-billing-status-card[data-tone="warning"] { border-color: #efd49e; background: #fffaf0; }
.full-space-theme .account-billing-status-card[data-tone="warning"] .account-billing-status-dot { background: #c57a00; box-shadow: 0 0 0 4px rgba(197,122,0,.13); }
.full-space-theme .account-billing-status-card[data-tone="danger"] { border-color: #efc8d0; background: #fff7f8; }
.full-space-theme .account-billing-status-card[data-tone="danger"] .account-billing-status-dot { background: #c23b5d; box-shadow: 0 0 0 4px rgba(194,59,93,.13); }
.full-space-theme .account-billing-status-card strong { color: var(--ink); font-size: 12.5px; }
.full-space-theme .account-billing-status-card p { margin: 3px 0 0; color: var(--muted); font-size: 10.8px; line-height: 1.42; }
.full-space-theme .account-billing-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.full-space-theme .account-billing-actions .btn { min-height: 40px; white-space: nowrap; }
.full-space-theme .account-referral-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .9fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  border-top: 1px solid #dedaf5;
  background: linear-gradient(100deg, #faf9ff 0%, #fff 58%);
}
.full-space-theme .account-referral-section.hidden { display: none; }
.full-space-theme .account-referral-heading { display: flex; align-items: center; gap: 13px; min-width: 0; }
.full-space-theme .account-referral-heading .eyebrow { margin: 0 0 3px; color: var(--primary-strong); }
.full-space-theme .account-referral-heading h3 { margin: 0; color: var(--ink); font-size: 19px; }
.full-space-theme .account-referral-heading p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.full-space-theme .account-referral-code-card {
  display: grid;
  gap: 4px;
  padding: 14px 15px;
  border: 1px dashed #bcb4f5;
  border-radius: 13px;
  background: #fff;
}
.full-space-theme .account-referral-code-card span { color: var(--muted); font-size: 10.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.full-space-theme .account-referral-code-card strong { color: var(--primary-strong); font-size: 17px; letter-spacing: .035em; }
.full-space-theme .account-referral-code-card small { color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.full-space-theme .account-referral-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.full-space-theme .account-referral-actions .btn { min-height: 40px; white-space: nowrap; }
.full-space-theme .learning-growth-campaign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid #d9d4ff;
  background: linear-gradient(120deg, #f6f4ff, #fff 68%);
}
.full-space-theme .learning-growth-campaign.hidden { display: none; }
.full-space-theme .learning-growth-copy h3 { margin: 4px 0 6px; color: var(--ink); font-size: 20px; }
.full-space-theme .learning-growth-copy > p:last-child { max-width: 720px; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.full-space-theme .learning-growth-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.full-space-theme .learning-growth-actions .btn { min-height: 42px; white-space: nowrap; }
.full-space-theme .account-data-section { margin: 0; padding: 30px 32px 32px; border-top: 1px solid var(--line); background: #faf9ff; }
.full-space-theme .account-data-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.full-space-theme .account-data-heading .rgpd-section-title { margin: 4px 0 4px; color: var(--ink); font-size: 21px; }
.full-space-theme .account-data-heading .rgpd-section-desc { max-width: 690px; margin: 0; }
.full-space-theme .account-rgpd-mark { padding: 7px 10px; border: 1px solid #cac3ff; border-radius: 999px; color: var(--primary-strong); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.full-space-theme .account-data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.full-space-theme .account-data-card {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dedaf5;
  border-radius: 15px;
  background: #fff;
}
.full-space-theme .account-data-card--consent { background: #f5f2ff; }
.full-space-theme .account-data-card--export { border-color: #cfe8df; background: #f5fbf8; }
.full-space-theme .account-data-card--export .account-data-icon { background: #dff4eb; color: #197a4b; }
.full-space-theme .account-data-card strong { color: var(--ink); font-size: 13.5px; }
.full-space-theme .account-data-card .rgpd-section-desc { margin: 5px 0 0; font-size: 11.5px; }
.full-space-theme .account-data-card > .btn { grid-column: 2; justify-self: start; min-height: 36px; }
.full-space-theme .account-data-status { display: inline-flex; margin: 9px 0 0; padding: 4px 8px; border-radius: 999px; background: #fff; color: var(--primary-strong); font-size: 10.5px; font-weight: 750; }
.full-space-theme .account-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 15px 17px; border: 1px solid #f0ccd3; border-radius: 13px; background: #fff8f9; }
.full-space-theme .account-danger-zone strong { color: #8e203e; font-size: 12.5px; }
.full-space-theme .account-danger-zone p { margin: 3px 0 0; color: #85616a; font-size: 11px; line-height: 1.45; }

.full-space-theme #learningPlanView { gap: 18px; }
.full-space-theme #learningPlanView .learning-plan-overview { padding: 0; overflow: hidden; }
.full-space-theme #learningPlanView .learning-plan-overview > .section-head { margin: 0; padding: 24px 28px 20px; }
.full-space-theme #learningPlanView .learning-plan-overview > .section-head h2 { margin: 4px 0 3px; }
.full-space-theme #learningPlanView .learning-hero {
  display: grid;
  min-height: 220px;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, .62fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: var(--navy);
}
.full-space-theme #learningPlanView .learning-hero-main {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 34px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.full-space-theme #learningPlanView .learning-hero-main::before { display: none; }
.full-space-theme #learningPlanView .learning-hero-icon { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 16px; background: #4336df; color: #fff; }
.full-space-theme #learningPlanView .learning-hero-icon .ui-icon { width: 24px; height: 24px; }
.full-space-theme #learningPlanView .learning-hero-main-copy { min-width: 0; }
.full-space-theme #learningPlanView .learning-hero-main .eyebrow { color: #bbb4ff; }
.full-space-theme #learningPlanView .learning-hero-main h3 { max-width: 30ch; margin: 7px 0 8px; color: #fff; font-size: clamp(23px, 3vw, 31px); line-height: 1.18; }
.full-space-theme #learningPlanView .learning-hero-main .dashboard-hint { max-width: 62ch; margin: 0; color: #c6c4d1; line-height: 1.55; }
.full-space-theme #learningPlanView .learning-hero-stats { display: grid; align-content: center; gap: 12px; margin: 18px; padding: 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.08); box-shadow: none; }
.full-space-theme #learningPlanView .learning-hero-stats .stat-label { color: #c6c4d1; }
.full-space-theme #learningPlanView .learning-hero-stats .stat-value { color: #fff; font-size: 35px; }
.full-space-theme #learningPlanView .learning-hero-stats .progress-track { background: rgba(255,255,255,.14); }
.full-space-theme #learningPlanView .learning-hero-stats .progress-fill { background: #a89cff; }
.full-space-theme #learningPlanView .learning-hero-stats .dashboard-hint { color: #c6c4d1; }
.full-space-theme #learningPlanView .learning-plan-settings { gap: 22px; padding: 28px; }
.full-space-theme #learningPlanView .learning-plan-settings-heading h2 { color: var(--ink); font-size: 22px; }
.full-space-theme #learningPlanView .learning-plan-settings-heading > div > p:last-child { max-width: 680px; font-size: 12.5px; line-height: 1.55; }
.full-space-theme #learningPlanView .learning-plan-countdown-card { box-shadow: 0 22px 45px -34px rgba(40,32,95,.78); }
.full-space-theme #learningPlanView .learning-plan-countdown-card h3,
.full-space-theme #learningPlanView .learning-plan-countdown-card #learningPlanExamDateLabel { color: #fff; }
.full-space-theme #learningPlanView .learning-plan-settings-form { border-color: #dedaf5; background: #fbfbfe; }
.full-space-theme #learningPlanView .learning-plan-settings-form .field > span:first-child,
.full-space-theme #learningPlanView .learning-plan-days-field legend { color: #474453; font-size: 11.5px; font-weight: 750; }
.full-space-theme #learningPlanView .learning-plan-settings-form input,
.full-space-theme #learningPlanView .learning-plan-settings-form select { min-height: 46px; background: #fff; }
.full-space-theme #learningPlanView > .panel:last-child { padding: 28px; }
.full-space-theme #learningPlanView .learning-plan-grid { gap: 14px; }
.full-space-theme #learningPlanView .learning-plan-module-card { position: relative; min-height: 292px; overflow: hidden; padding: 22px; background: #f7f5ff; }
.full-space-theme #learningPlanView .learning-plan-module-card:nth-child(2) { border-color: #cce6dc; background: #f4fbf8; }
.full-space-theme #learningPlanView .learning-plan-module-card:nth-child(3) { border-color: #efdcba; background: #fffaf1; }
.full-space-theme #learningPlanView .learning-plan-module-card:nth-child(4) { background: #f7f7fa; }
.full-space-theme #learningPlanView .learning-plan-module-card::after { position: absolute; right: 18px; bottom: 0; color: rgba(56,45,197,.06); content: attr(data-step); font-size: 76px; font-weight: 900; letter-spacing: -.08em; line-height: .85; pointer-events: none; }
.full-space-theme #learningPlanView .learning-plan-module-card:nth-child(2)::after { color: rgba(25,122,75,.07); }
.full-space-theme #learningPlanView .learning-plan-module-card:nth-child(3)::after { color: rgba(154,89,0,.07); }
.full-space-theme #learningPlanView .learning-plan-module-card > * { position: relative; z-index: 1; }
.full-space-theme #learningPlanView .learning-plan-module-card h3 { max-width: 34ch; font-size: 19px; }
.full-space-theme #learningPlanView .learning-plan-evidence span { background: rgba(255,255,255,.72); }
.full-space-theme #learningPlanView .learning-plan-module-footer .btn { min-width: 96px; }

.full-space-theme .progress-badges-panel,
.full-space-theme .progress-week-panel { padding: 26px; }
.full-space-theme .progress-collection-head { align-items: flex-start; }
.full-space-theme .progress-collection-head h3 { display: flex; align-items: center; gap: 8px; margin: 4px 0; color: var(--ink); font-size: 22px; }
.full-space-theme .progress-collection-head > div:first-child > p:last-child { margin: 0; color: var(--muted); font-size: 12.5px; }
.full-space-theme .progress-collection-head .progress-badge-filters { max-width: 620px; justify-content: flex-end; }
.full-space-theme .progress-badges-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; margin-top: 20px; }
.full-space-theme .progress-badge-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 188px;
  align-content: start;
  justify-items: start;
  gap: 8px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid #ddd9f4;
  border-radius: 16px;
  background: #f8f7ff;
  text-align: left;
  filter: none;
  opacity: 1;
}
.full-space-theme .progress-badge-card.earned { border-color: #bce2cf; background: #f2fbf6; box-shadow: 0 12px 28px -24px rgba(20,100,61,.65); }
.full-space-theme .progress-badge-card.locked { border-color: #e0deeb; background: #f8f8fb; filter: none; opacity: 1; }
.full-space-theme .progress-badge-card::after { position: absolute; right: -25px; bottom: -38px; width: 92px; height: 92px; border-radius: 50%; background: #eeebff; content: ""; }
.full-space-theme .progress-badge-card.earned::after { background: #dcf4e8; }
.full-space-theme .progress-badge-icon { z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #e9e5ff; color: var(--primary); }
.full-space-theme .progress-badge-card.earned .progress-badge-icon { background: #d8f1e4; color: #197a4b; }
.full-space-theme .progress-badge-state { display: inline-flex; align-items: center; gap: 5px; color: #726f7c; font-size: 9.5px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.full-space-theme .progress-badge-card.earned .progress-badge-state { color: #197a4b; }
.full-space-theme .progress-badge-state .ui-icon { width: 13px; height: 13px; }
.full-space-theme .progress-badge-label { z-index: 1; color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.28; }
.full-space-theme .progress-badge-desc { z-index: 1; display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 10.5px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.full-space-theme .progress-week-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.full-space-theme .progress-week-head .progress-section-title { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 22px; }
.full-space-theme .progress-week-head > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; text-align: right; }
.full-space-theme .progress-week-panel .progress-leaderboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.full-space-theme .progress-weekly-row { display: grid; min-height: 122px; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 9px 11px; padding: 16px; border-color: #dad6f4; background: #f7f5ff; font-weight: 400; }
.full-space-theme .progress-weekly-row:nth-child(2) { border-color: #efdcba; background: #fffaf1; }
.full-space-theme .progress-weekly-row:nth-child(3) { border-color: #cce6dc; background: #f4fbf8; }
.full-space-theme .progress-weekly-row .progress-lb-rank { display: grid; width: 36px; height: 36px; min-width: 0; place-items: center; border-radius: 11px; background: #e7e3ff; color: var(--primary); }
.full-space-theme .progress-weekly-row:nth-child(2) .progress-lb-rank { background: #ffedcf; color: #985a00; }
.full-space-theme .progress-weekly-row:nth-child(3) .progress-lb-rank { background: #dbf2e7; color: #197a4b; }
.full-space-theme .progress-weekly-copy { display: grid; gap: 3px; min-width: 0; }
.full-space-theme .progress-weekly-copy .progress-lb-name { color: var(--ink); font-size: 12px; font-weight: 800; }
.full-space-theme .progress-weekly-copy small { color: var(--muted); font-size: 9.5px; line-height: 1.35; }
.full-space-theme .progress-weekly-row .progress-lb-xp { grid-column: 1 / -1; min-width: 0; color: var(--primary-strong); font-size: 22px; font-weight: 850; text-align: left; }
.full-space-theme .progress-weekly-row:nth-child(2) .progress-lb-xp { color: #8d5400; }
.full-space-theme .progress-weekly-row:nth-child(3) .progress-lb-xp { color: #197a4b; }

@media (max-width: 1120px) {
  .full-space-theme .progress-badges-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .full-space-theme .account-primary-grid { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .account-identity { min-height: 300px; }
  .full-space-theme .account-billing-section { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .account-billing-actions { justify-content: flex-start; }
  .full-space-theme .account-referral-section { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .account-referral-actions { justify-content: flex-start; }
  .full-space-theme .learning-growth-campaign { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .learning-growth-actions { justify-content: flex-start; }
  .full-space-theme #learningPlanView .learning-hero { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme #learningPlanView .learning-hero-stats { margin-top: 0; }
  .full-space-theme .progress-week-panel .progress-leaderboard { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .full-space-theme .account-heading { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
  .full-space-theme .account-details,
  .full-space-theme .account-billing-section,
  .full-space-theme .account-referral-section,
  .full-space-theme .account-data-section { padding: 24px 18px; }
  .full-space-theme .account-data-grid { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .account-danger-zone { align-items: stretch; flex-direction: column; }
  .full-space-theme .account-danger-zone .btn { width: 100%; }
  .full-space-theme #learningPlanView .learning-plan-overview > .section-head { align-items: stretch; flex-direction: column; padding: 22px 18px; }
  .full-space-theme #learningPlanView .learning-plan-overview > .section-head .btn { width: 100%; }
  .full-space-theme #learningPlanView .learning-hero-main { align-items: flex-start; flex-direction: column; padding: 27px 20px; }
  .full-space-theme #learningPlanView .learning-hero-stats { margin: 0 14px 14px; }
  .full-space-theme #learningPlanView .learning-plan-settings { padding: 22px 18px; }
  .full-space-theme #learningPlanView > .panel:last-child { padding: 22px 18px; }
  .full-space-theme .progress-collection-head,
  .full-space-theme .progress-week-head { align-items: flex-start; flex-direction: column; }
  .full-space-theme .progress-collection-head .progress-badge-filters { justify-content: flex-start; }
  .full-space-theme .progress-week-head > p { max-width: none; text-align: left; }
  .full-space-theme .progress-badges-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .full-space-theme .progress-badges-grid { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .progress-badge-card { min-height: 158px; }
}

/* Pack Jour J: entitlement-backed content, opened from the learner email. */
body.bonus-pack-open { overflow: hidden; }
.full-space-theme .bonus-pack-overlay {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 13, 47, .68);
  backdrop-filter: blur(8px);
}
.full-space-theme .bonus-pack-card {
  display: grid;
  width: min(720px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(101, 81, 221, .2);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(22, 14, 66, .34);
}
.full-space-theme .bonus-pack-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 30px 22px;
  border-bottom: 1px solid #ebe8f5;
  background: linear-gradient(135deg, #f2efff 0%, #fff 58%, #fff7ed 100%);
}
.full-space-theme .bonus-pack-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}
.full-space-theme .bonus-pack-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.08;
}
.full-space-theme .bonus-pack-close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dcd7ee;
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  color: #39334c;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.full-space-theme .bonus-pack-close:hover,
.full-space-theme .bonus-pack-close:focus-visible { border-color: var(--primary); color: var(--primary); outline: 3px solid rgba(91, 68, 210, .16); }
.full-space-theme .bonus-pack-body { overflow-y: auto; padding: 26px 30px; }
.full-space-theme .bonus-pack-intro { margin: 0 0 22px; color: #555065; font-size: 15px; line-height: 1.65; }
.full-space-theme .bonus-pack-checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.full-space-theme .bonus-pack-checklist li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e4e0f3;
  border-radius: 14px;
  background: #faf9ff;
  color: #3d3949;
  font-size: 13px;
  line-height: 1.52;
}
.full-space-theme .bonus-pack-check {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: #e8e3ff;
  color: var(--primary);
  font-weight: 900;
}
.full-space-theme .bonus-pack-disclaimer {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 3px solid #d6a64c;
  background: #fffaf0;
  color: #62553b;
  font-size: 11px;
  line-height: 1.55;
}
.full-space-theme .bonus-pack-footer {
  display: flex;
  justify-content: flex-end;
  padding: 18px 30px;
  border-top: 1px solid #ebe8f5;
  background: #fff;
}

@media (max-width: 680px) {
  .full-space-theme .bonus-pack-overlay { align-items: end; padding: 0; }
  .full-space-theme .bonus-pack-card { width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; }
  .full-space-theme .bonus-pack-header { padding: 23px 20px 18px; }
  .full-space-theme .bonus-pack-body { padding: 20px; }
  .full-space-theme .bonus-pack-footer { padding: 14px 20px max(14px, env(safe-area-inset-bottom)); }
  .full-space-theme .bonus-pack-footer .btn { width: 100%; }
}

/* ============================================================
   Pack Jour J — enriched (v2) content. Additive: the legacy
   flat layout above is untouched; these rules style the richer
   sectioned pack rendered by pack-jour-j-render.js.
   ============================================================ */

.full-space-theme .bonus-pack-card-rich { width: min(768px, 100%); }

.full-space-theme .bonus-pack-heading { min-width: 0; }
.full-space-theme .bonus-pack-verified {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #4a4560;
  font-size: 12px;
  line-height: 1.4;
}
.full-space-theme .bonus-pack-verified-icon { width: 15px; height: 15px; color: var(--primary); flex: 0 0 auto; }

/* Variant switcher (modality) --------------------------------- */
.full-space-theme .bonus-pack-variants-label {
  margin: 0 0 8px;
  color: #6a6580;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.full-space-theme .bonus-pack-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 5px;
  border: 1px solid #e4e0f3;
  border-radius: 14px;
  background: #f6f4ff;
}
.full-space-theme .bonus-pack-variant {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #4a4560;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.full-space-theme .bonus-pack-variant:hover { color: var(--primary-strong); }
.full-space-theme .bonus-pack-variant.is-active {
  border-color: rgba(59, 47, 212, .22);
  background: #fff;
  color: var(--primary-strong);
  box-shadow: 0 4px 12px rgba(38, 26, 92, .1);
}
.full-space-theme .bonus-pack-variant:focus-visible {
  outline: 3px solid rgba(91, 68, 210, .35);
  outline-offset: 2px;
}

/* Section shell ----------------------------------------------- */
.full-space-theme .bonus-pack-section {
  padding: 22px 0 24px;
  border-top: 1px solid #edeaf6;
}
.full-space-theme .bonus-pack-section:first-of-type { border-top: 0; padding-top: 4px; }
.full-space-theme .bonus-pack-section[hidden] { display: none; }
.full-space-theme .bonus-pack-section-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 16px;
}
.full-space-theme .bonus-pack-section-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}
.full-space-theme .bonus-pack-section-icon .ui-icon { width: 18px; height: 18px; }
.full-space-theme .bonus-pack-section-titles { flex: 1 1 200px; min-width: 0; }
.full-space-theme .bonus-pack-section-title {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}
.full-space-theme .bonus-pack-section-subtitle {
  margin: 6px 0 0;
  color: #5f5a70;
  font-size: 13px;
  line-height: 1.5;
}

/* Origin pill (official vs PMPrep) ---------------------------- */
.full-space-theme .bonus-pack-origin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.full-space-theme .bonus-pack-origin-icon { width: 13px; height: 13px; flex: 0 0 auto; }
.full-space-theme .bonus-pack-origin-official { border: 1px solid #c7d8d1; background: #edf6f2; color: #14624e; }
.full-space-theme .bonus-pack-origin-pmprep { border: 1px solid #e6dcc4; background: #fbf6ea; color: #7a5a1c; }
.full-space-theme .bonus-pack-origin-sep { opacity: .5; }
.full-space-theme .bonus-pack-origin-src {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.full-space-theme .bonus-pack-origin-src:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Per-item origin tag (mixed sections) ------------------------ */
.full-space-theme .bonus-pack-item-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.full-space-theme .bonus-pack-item-tag-official { background: #e6f1ec; color: #14624e; }
.full-space-theme .bonus-pack-item-tag-pmprep { background: #f5ecda; color: #7a5a1c; }

/* Checklist / tips rows --------------------------------------- */
.full-space-theme .bonus-pack-card-rich .bonus-pack-checklist { gap: 10px; }
.full-space-theme .bonus-pack-check-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #e7e3f4;
  border-radius: 13px;
  background: #faf9ff;
}
.full-space-theme .bonus-pack-check-row .bonus-pack-check {
  width: 26px;
  height: 26px;
  margin-top: 1px;
}
.full-space-theme .bonus-pack-check .ui-icon { width: 15px; height: 15px; }
.full-space-theme .bonus-pack-check-copy { min-width: 0; }
.full-space-theme .bonus-pack-check-text {
  margin: 0;
  color: #33303f;
  font-size: 13.5px;
  line-height: 1.5;
}
.full-space-theme .bonus-pack-check-note {
  margin: 6px 0 0;
  color: #6f6982;
  font-size: 12px;
  line-height: 1.45;
  font-style: italic;
}

/* Timeline ----------------------------------------------------- */
.full-space-theme .bonus-pack-timeline { margin: 0; padding: 0; list-style: none; }
.full-space-theme .bonus-pack-tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 18px 0;
}
.full-space-theme .bonus-pack-tl-step::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 31px;
  width: 2px;
  height: calc(100% - 20px);
  background: #e4e0f3;
}
.full-space-theme .bonus-pack-tl-step:last-child { padding-bottom: 0; }
.full-space-theme .bonus-pack-tl-step:last-child::before { display: none; }
.full-space-theme .bonus-pack-tl-marker {
  display: grid;
  place-items: center;
  height: 26px;
  padding: 0 6px;
  border: 1px solid rgba(59, 47, 212, .2);
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.full-space-theme .bonus-pack-tl-copy { min-width: 0; padding-top: 2px; }
.full-space-theme .bonus-pack-tl-title { margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.35; }
.full-space-theme .bonus-pack-tl-body { margin: 4px 0 0; color: #5a5568; font-size: 13px; line-height: 1.55; }

/* Bilingual --------------------------------------------------- */
.full-space-theme .bonus-pack-bilingual {
  display: grid;
  gap: 8px;
  border: 1px solid #e7e3f4;
  border-radius: 13px;
  overflow: hidden;
  background: #faf9ff;
  padding: 6px;
}
.full-space-theme .bonus-pack-bilingual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.full-space-theme .bonus-pack-bilingual-fr,
.full-space-theme .bonus-pack-bilingual-en {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 9px;
  background: #fff;
}
.full-space-theme .bonus-pack-bilingual-en { background: #f1eefb; }
.full-space-theme .bonus-pack-lang-flag {
  flex: 0 0 auto;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}
.full-space-theme .bonus-pack-lang-text { color: #33303f; font-size: 13px; line-height: 1.4; }

/* Branch (post-exam) ------------------------------------------ */
.full-space-theme .bonus-pack-branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.full-space-theme .bonus-pack-branch-panel {
  padding: 16px 16px 18px;
  border: 1px solid #e7e3f4;
  border-radius: 14px;
  background: #faf9ff;
}
.full-space-theme .bonus-pack-branch-success { border-color: #c7d8d1; background: #f0f7f4; }
.full-space-theme .bonus-pack-branch-retry { border-color: #d9d5ea; background: #f5f3fc; }
.full-space-theme .bonus-pack-branch-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.full-space-theme .bonus-pack-branch-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.full-space-theme .bonus-pack-branch-success .bonus-pack-branch-icon { color: #14624e; }
.full-space-theme .bonus-pack-branch-retry .bonus-pack-branch-icon { color: var(--primary); }
.full-space-theme .bonus-pack-branch-title { color: var(--ink); font-size: 14px; font-weight: 800; }
.full-space-theme .bonus-pack-branch-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.full-space-theme .bonus-pack-branch-list li { color: #43404f; font-size: 12.5px; line-height: 1.5; }

/* Callout ----------------------------------------------------- */
.full-space-theme .bonus-pack-callout {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e7e3f4;
  border-radius: 13px;
  background: #f6f4ff;
}
.full-space-theme .bonus-pack-callout-icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--primary); margin-top: 1px; }
.full-space-theme .bonus-pack-callout-body { margin: 0; color: #4a4560; font-size: 13px; line-height: 1.55; }

/* Sources (collapsible) --------------------------------------- */
.full-space-theme .bonus-pack-sources {
  margin: 22px 0 0;
  border: 1px solid #e7e3f4;
  border-radius: 12px;
  background: #fbfaff;
}
.full-space-theme .bonus-pack-sources > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.full-space-theme .bonus-pack-sources > summary::-webkit-details-marker { display: none; }
.full-space-theme .bonus-pack-sources-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.full-space-theme .bonus-pack-sources[open] > summary { border-bottom: 1px solid #edeaf6; }
.full-space-theme .bonus-pack-sources-list { margin: 0; padding: 12px 16px 14px 34px; display: grid; gap: 8px; }
.full-space-theme .bonus-pack-sources-list li { font-size: 12.5px; line-height: 1.45; }
.full-space-theme .bonus-pack-sources-list a { color: var(--primary-strong); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.full-space-theme .bonus-pack-sources-list a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Rich disclaimer (icon + text) ------------------------------- */
.full-space-theme .bonus-pack-card-rich .bonus-pack-disclaimer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.full-space-theme .bonus-pack-disclaimer-icon { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: #b98a2e; }

/* Footer print button ----------------------------------------- */
.full-space-theme .bonus-pack-footer { gap: 10px; flex-wrap: wrap; }
.full-space-theme .bonus-pack-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  padding: 10px 16px;
  border: 1px solid #d9d5ea;
  border-radius: 11px;
  background: #fff;
  color: var(--primary-strong);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.full-space-theme .bonus-pack-print-btn:hover { border-color: var(--primary); background: var(--primary-soft); }
.full-space-theme .bonus-pack-print-btn:focus-visible { outline: 3px solid rgba(91, 68, 210, .3); outline-offset: 2px; }
.full-space-theme .bonus-pack-print-btn .ui-icon { width: 16px; height: 16px; }

/* Printable condensed sheet (hidden on screen) ---------------- */
.bonus-pack-printsheet { display: none; }

@media (max-width: 680px) {
  .full-space-theme .bonus-pack-branch { grid-template-columns: 1fr; }
  .full-space-theme .bonus-pack-bilingual-row { grid-template-columns: 1fr; }
  .full-space-theme .bonus-pack-origin { margin-left: 0; }
  .full-space-theme .bonus-pack-print-btn { width: 100%; justify-content: center; margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .full-space-theme .bonus-pack-variant { transition: none; }
}

/* Print: show only the condensed fiche ------------------------ */
@media print {
  @page { size: A4; margin: 12mm; }
  body.bonus-pack-open,
  body.bonus-pack-printing { overflow: visible !important; }
  body.bonus-pack-printing > *:not(.bonus-pack-overlay) { display: none !important; }
  .bonus-pack-overlay {
    position: static !important;
    display: block !important;
    padding: 0 !important;
    background: #fff !important;
    backdrop-filter: none !important;
  }
  /* Keep the card as a block so its print-sheet child can show; hide the rest. */
  .bonus-pack-card {
    display: block !important;
    max-height: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }
  .bonus-pack-card > *:not(.bonus-pack-printsheet) { display: none !important; }
  .bonus-pack-printsheet {
    display: block !important;
    width: 100%;
    color: #16161b;
    font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

.bonus-pack-print-head { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid #3b2fd4; }
.bonus-pack-print-brand { margin: 0; color: #3b2fd4; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bonus-pack-print-title { margin: 4px 0 0; color: #16161b; font-size: 22px; font-weight: 800; }
.bonus-pack-print-meta { margin: 6px 0 0; color: #555; font-size: 11px; }
.bonus-pack-print-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.bonus-pack-print-block { break-inside: avoid; }
.bonus-pack-print-block-title { margin: 0 0 5px; color: #2a2099; font-size: 12.5px; font-weight: 800; }
.bonus-pack-print-list { margin: 0; padding-left: 15px; }
.bonus-pack-print-list li { margin: 0 0 3px; font-size: 10.8px; line-height: 1.35; color: #222; }
.bonus-pack-print-disclaimer { margin: 12px 0 0; padding-top: 8px; border-top: 1px solid #ddd; font-size: 9.5px; line-height: 1.4; color: #555; }
.bonus-pack-print-sources { margin: 6px 0 0; font-size: 9px; color: #777; overflow-wrap: anywhere; }

/* Standalone preview page can reveal the fiche on screen */
.pjj-print-preview .bonus-pack-printsheet {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 30px;
  border: 1px solid #e2dff0;
  border-radius: 12px;
  background: #fff;
  color: #16161b;
  box-shadow: 0 10px 30px rgba(22, 14, 66, .08);
}

/* ============================================================
   PACK JOUR J — PREMIUM WORKSPACE
   Permanent learner space, progress tracking and A4 studio.
   ============================================================ */

.full-space-theme .sidebar-nav-group--premium,
.full-space-theme .day-j-nav-group {
  margin: 8px 8px 4px;
  padding: 4px;
  border: 1px solid rgba(122, 110, 244, .22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(121, 104, 237, .16), transparent 54%),
    rgba(91, 79, 207, .045);
}

.full-space-theme .sidebar-nav-group--premium[hidden] { display: none !important; }
.full-space-theme .sidebar-nav-group--premium .nav-item,
.full-space-theme .day-j-nav-group .side-link { width: 100%; margin: 0; }
.full-space-theme .day-j-nav-group[data-access="locked"],
.full-space-theme .day-j-nav-group[data-access="checking"],
.full-space-theme .day-j-nav-group[data-access="error"] {
  border-color: #dedee5;
  background: #f7f7f9;
}
.full-space-theme .day-j-nav-trigger.is-locked {
  background: transparent;
  color: #686a75;
}
.full-space-theme .day-j-nav-trigger.is-locked.is-active {
  border-left-color: #8b8d97;
  background: #ededf2;
  color: #4f515d;
}
.full-space-theme .day-j-nav-trigger.is-locked:hover {
  border-color: #cacbd3;
  background: #efeff3;
  color: #444650;
}
.full-space-theme .day-j-nav-trigger.is-locked:focus-visible {
  outline: 2px solid #6257c8;
  outline-offset: 2px;
}
.full-space-theme .day-j-nav-access-icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: #747681;
}
.full-space-theme .day-j-nav-access-icon.hidden { display: none; }
.full-space-theme .day-j-nav-group[data-access="error"] .day-j-nav-access-icon { color: #9a5d23; }
.full-space-theme .nav-item--premium,
.full-space-theme .day-j-nav-trigger { position: relative; }
.full-space-theme .nav-item--premium::before,
.full-space-theme .day-j-nav-trigger::before {
  content: "";
  position: absolute;
  inset: 7px auto 7px 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8b7df0, #5244c7);
  opacity: 0;
  transform: scaleY(.3);
  transition: opacity .22s ease, transform .22s ease;
}
.full-space-theme .nav-item--premium.active::before,
.full-space-theme .day-j-nav-trigger.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}
.full-space-theme .nav-premium-badge,
.full-space-theme .day-j-nav-badge {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid #e5d197;
  border-radius: 999px;
  background: #fff7dc;
  color: #6d5411;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.full-space-theme .nav-premium-chevron,
.full-space-theme .day-j-nav-chevron {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  transition: transform .22s ease;
}
.full-space-theme #navDayJBtn[aria-expanded="true"] :is(.nav-premium-chevron, .day-j-nav-chevron) { transform: rotate(180deg); }

.full-space-theme .day-j-unavailable-card {
  width: min(100%, 650px);
  margin: 32px auto;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid #e0dfea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 52px -34px rgba(35, 29, 79, .34);
  text-align: left;
}
.full-space-theme .day-j-unavailable-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid #dddbe9;
  border-radius: 13px;
  background: #f7f6fb;
  color: #5d55a9;
}
.full-space-theme .day-j-unavailable-icon .ui-icon { width: 19px; height: 19px; }
.full-space-theme .day-j-unavailable-card h2 {
  margin: 0 0 10px;
  color: #24232d;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.full-space-theme .day-j-unavailable-card > p {
  max-width: 56ch;
  margin: 0;
  color: #5e606b;
  font-size: 15px;
  line-height: 1.65;
}
.full-space-theme .day-j-unavailable-benefits {
  display: grid;
  gap: 10px;
  margin: 24px 0 26px;
  padding: 20px 0;
  border-top: 1px solid #ecebf1;
  border-bottom: 1px solid #ecebf1;
  list-style: none;
}
.full-space-theme .day-j-unavailable-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #41434d;
  font-size: 14px;
  line-height: 1.45;
}
.full-space-theme .day-j-unavailable-benefits .ui-icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #4e9271;
  flex: 0 0 auto;
}
.full-space-theme .day-j-unavailable-card .btn { margin-top: 24px; }
.full-space-theme .day-j-unavailable-benefits + .btn { margin-top: 0; }

/* Pack Jour J locked state — commercial preview, without exposing paid content. */
.full-space-theme .day-j-commercial-gate {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-color: #dcdde7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 62px -44px rgba(25, 24, 63, .42);
  animation: day-j-gate-enter .28s cubic-bezier(.23, 1, .32, 1) both;
}
@keyframes day-j-gate-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.full-space-theme .day-j-commercial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr);
  align-items: center;
  gap: clamp(34px, 5vw, 66px);
  padding: clamp(34px, 5vw, 58px);
  background: #fff;
}
.full-space-theme .day-j-commercial-hero-copy { min-width: 0; }
.full-space-theme .day-j-commercial-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 31px;
  margin-bottom: 31px;
}
.full-space-theme .day-j-commercial-brand img:first-child { width: 92px; height: auto; }
.full-space-theme .day-j-commercial-brand img:last-child { width: 68px; height: 38px; object-fit: contain; }
.full-space-theme .day-j-commercial-brand span { color: #777b8c; font-size: 10px; }
.full-space-theme .day-j-commercial-eyebrow {
  margin: 0 0 13px;
  color: #5b3df5;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
}
.full-space-theme .day-j-commercial-gate .day-j-commercial-hero h2 {
  max-width: 680px;
  margin: 0;
  color: #15182a;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.full-space-theme .day-j-commercial-intro {
  max-width: 62ch;
  margin: 21px 0 0;
  color: #555e72;
  font-size: 16px;
  line-height: 1.62;
}
.full-space-theme .day-j-commercial-account-message {
  max-width: 62ch;
  margin: 26px 0 0;
  padding-top: 17px;
  border-top: 1px solid #e5e6ed;
  color: #34384c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.full-space-theme .day-j-commercial-account-message[data-mode="reactivation"] { color: #9b3347; }
.full-space-theme .day-j-commercial-account-message[data-mode="premium_pending"] { color: #187d65; }
.full-space-theme .day-j-commercial-plan-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4024d6;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.full-space-theme .day-j-commercial-plan-link .ui-icon { width: 16px; height: 16px; }
.full-space-theme .day-j-commercial-plan-link:focus-visible { outline: 3px solid rgba(91, 61, 245, .22); outline-offset: 4px; }
.full-space-theme .day-j-commercial-preview {
  min-width: 0;
  padding: 27px 28px 24px;
  border-radius: 21px;
  background: #1d1946;
  color: #fff;
  box-shadow: 0 23px 52px -34px rgba(17, 13, 54, .86);
}
.full-space-theme .day-j-commercial-preview-head {
  display: grid;
  gap: 7px;
  padding-bottom: 21px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.full-space-theme .day-j-commercial-preview-head span {
  color: #b9b2da;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}
.full-space-theme .day-j-commercial-preview-head strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
}
.full-space-theme .day-j-commercial-preview-timeline {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.full-space-theme .day-j-commercial-preview-timeline li {
  display: grid;
  grid-template-columns: 46px 32px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 53px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.full-space-theme .day-j-commercial-preview-timeline li > span:first-child {
  color: #d1caff;
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}
.full-space-theme .day-j-commercial-preview-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #d7d2ff;
}
.full-space-theme .day-j-commercial-preview-icon .ui-icon { width: 16px; height: 16px; }
.full-space-theme .day-j-commercial-preview-timeline strong { color: #fff; font-size: 12px; }
.full-space-theme .day-j-commercial-preview-connections {
  margin: 20px 0 0;
  color: #c7c2dd;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  text-align: center;
}
.full-space-theme .day-j-commercial-value {
  padding: 45px clamp(34px, 5vw, 58px) 51px;
  border-top: 1px solid #e5e6ed;
  background: #f7f8fa;
}
.full-space-theme .day-j-commercial-value-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.full-space-theme .day-j-commercial-value-head h3 {
  margin: 0;
  color: #15182a;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -.025em;
}
.full-space-theme .day-j-commercial-value-head p {
  max-width: 43ch;
  margin: 0;
  color: #596377;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}
.full-space-theme .day-j-commercial-deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
}
.full-space-theme .day-j-commercial-deliverable {
  display: grid;
  grid-template-columns: 27px 38px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 128px;
  padding: 24px 0;
  border-top: 1px solid #dfe1e8;
}
.full-space-theme .day-j-commercial-deliverable:last-child { grid-column: 1 / -1; min-height: auto; }
.full-space-theme .day-j-commercial-deliverable-number {
  padding-top: 9px;
  color: #757b8e;
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}
.full-space-theme .day-j-commercial-deliverable-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #4024d6;
}
.full-space-theme .day-j-commercial-deliverable-icon .ui-icon { width: 19px; height: 19px; }
.full-space-theme .day-j-commercial-deliverable h4 {
  margin: 0 0 7px;
  color: #202338;
  font-size: 15px;
  line-height: 1.3;
}
.full-space-theme .day-j-commercial-deliverable p {
  margin: 0;
  color: #596377;
  font-size: 13px;
  line-height: 1.55;
}
.full-space-theme .day-j-commercial-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  padding: 36px clamp(34px, 5vw, 58px);
  background: #19153f;
  color: #fff;
}
.full-space-theme .day-j-commercial-offer > div:first-child > p:first-child {
  margin: 0 0 10px;
  color: #c9c1ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
}
.full-space-theme .day-j-commercial-offer h3 {
  max-width: 670px;
  margin: 0;
  color: #fff;
  font-size: clamp(23px, 2.8vw, 31px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.full-space-theme .day-j-commercial-offer > div:first-child > p:last-child {
  max-width: 66ch;
  margin: 12px 0 0;
  color: #c9c7d7;
  font-size: 12px;
  line-height: 1.55;
}
.full-space-theme .day-j-commercial-offer-action {
  display: grid;
  min-width: 270px;
  justify-items: stretch;
  gap: 13px;
}
.full-space-theme .day-j-commercial-price { display: grid; justify-items: end; gap: 2px; }
.full-space-theme .day-j-commercial-price strong { color: #fff; font-size: 25px; letter-spacing: -.03em; }
.full-space-theme .day-j-commercial-price span { color: #d5cffc; font-size: 12px; font-weight: 750; }
.full-space-theme .day-j-commercial-price small { margin-top: 4px; color: #aaa7bd; font-size: 10px; }
.full-space-theme .day-j-commercial-gate .day-j-commercial-cta {
  min-height: 48px;
  margin: 0;
  padding-inline: 23px;
  border: 0;
  border-radius: 10px;
  background: #5b3df5;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background-color 160ms cubic-bezier(.23,1,.32,1), transform 160ms cubic-bezier(.23,1,.32,1);
}
.full-space-theme .day-j-commercial-gate .day-j-commercial-cta:active { transform: scale(.97); }
.full-space-theme .day-j-commercial-gate .day-j-commercial-cta:focus-visible { outline: 3px solid rgba(201,193,255,.55); outline-offset: 3px; }
.full-space-theme .day-j-commercial-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: #aaa7bd;
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}
.full-space-theme .day-j-commercial-reassurance .ui-icon { width: 13px; height: 13px; flex: 0 0 auto; }
@media (hover: hover) and (pointer: fine) {
  .full-space-theme .day-j-commercial-gate .day-j-commercial-cta:hover { background: #6b50ff; transform: translateY(-1px); }
  .full-space-theme .day-j-commercial-plan-link:hover { color: #5b3df5; }
}
@media (max-width: 860px) {
  .full-space-theme .day-j-commercial-hero { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .day-j-commercial-preview { width: 100%; }
  .full-space-theme .day-j-commercial-value-head { align-items: flex-start; flex-direction: column; gap: 11px; }
  .full-space-theme .day-j-commercial-value-head p { max-width: 60ch; text-align: left; }
  .full-space-theme .day-j-commercial-offer { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .full-space-theme .day-j-commercial-offer-action { min-width: 0; }
  .full-space-theme .day-j-commercial-price { justify-items: start; }
}
@media (max-width: 620px) {
  .full-space-theme .day-j-commercial-gate { border-radius: 18px; }
  .full-space-theme .day-j-commercial-hero { gap: 29px; padding: 28px 20px 31px; }
  .full-space-theme .day-j-commercial-brand { margin-bottom: 24px; }
  .full-space-theme .day-j-commercial-gate .day-j-commercial-hero h2 { font-size: clamp(31px, 10vw, 39px); }
  .full-space-theme .day-j-commercial-intro { font-size: 15px; }
  .full-space-theme .day-j-commercial-preview { padding: 24px 20px 21px; border-radius: 17px; }
  .full-space-theme .day-j-commercial-value { padding: 34px 20px 38px; }
  .full-space-theme .day-j-commercial-deliverables { grid-template-columns: minmax(0, 1fr); }
  .full-space-theme .day-j-commercial-deliverable,
  .full-space-theme .day-j-commercial-deliverable:last-child { grid-column: auto; min-height: auto; }
  .full-space-theme .day-j-commercial-offer { padding: 31px 20px max(31px, env(safe-area-inset-bottom)); }
  .full-space-theme .day-j-commercial-offer-action { width: 100%; }
  .full-space-theme .day-j-commercial-gate .day-j-commercial-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .full-space-theme .day-j-commercial-gate { animation: none; }
  .full-space-theme .day-j-commercial-gate .day-j-commercial-cta { transition: background-color 120ms ease; }
}
.full-space-theme .sidebar-subnav,
.full-space-theme .day-j-nav-subnav {
  display: grid;
  gap: 2px;
  margin: 2px 0 4px 30px;
  padding: 5px 0 3px 12px;
  border-left: 1px solid rgba(91, 79, 207, .22);
}
.full-space-theme .sidebar-subnav[hidden],
.full-space-theme .day-j-nav-subnav[hidden] { display: none !important; }
.full-space-theme .sidebar-subnav-button,
.full-space-theme .day-j-nav-subitem {
  width: 100%;
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-muted, #667085);
  font: inherit;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.full-space-theme .sidebar-subnav-button:hover,
.full-space-theme .day-j-nav-subitem:hover {
  background: rgba(91, 79, 207, .07);
  color: var(--primary-strong);
  transform: translateX(2px);
}
.full-space-theme .sidebar-subnav-button.is-active,
.full-space-theme .day-j-nav-subitem.is-active {
  background: #fff;
  color: var(--primary-strong);
  box-shadow: 0 4px 12px rgba(38, 28, 105, .08);
}
.full-space-theme .sidebar-subnav-button.is-complete::after,
.full-space-theme .day-j-nav-subitem.is-complete::after {
  content: "";
  float: right;
  width: 8px;
  height: 4px;
  margin: 2px 3px 0 0;
  border-left: 2px solid #16845b;
  border-bottom: 2px solid #16845b;
  transform: rotate(-45deg);
}
.full-space-theme .day-j-nav-subitem {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}
.full-space-theme .day-j-nav-subitem.is-complete { grid-template-columns: 20px minmax(0, 1fr) auto; }
.full-space-theme .day-j-nav-subitem-marker { width: 18px; height: 18px; display: grid; place-items: center; color: #8a83a3; }
.full-space-theme .day-j-nav-subitem-marker .ui-icon { width: 13px; height: 13px; }

.full-space-theme .day-j-view { padding-bottom: 72px; }
.full-space-theme .day-j-loading-panel {
  min-height: 240px;
  display: grid;
  place-items: center;
  border: 1px solid #e7e4f2;
  border-radius: 22px;
  background: #fff;
  color: var(--ink-muted, #667085);
}
.full-space-theme .day-j-experience {
  --day-j-navy: #1d174d;
  --day-j-violet: #5b4fcf;
  --day-j-lilac: #8173e7;
  --day-j-gold: #e8c569;
  --day-j-green: #16845b;
  display: grid;
  gap: 20px;
  width: min(100%, 1240px);
  margin: 0 auto;
}
.full-space-theme .day-j-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr);
  gap: 44px;
  min-height: 310px;
  padding: 46px 48px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 22%, rgba(129,115,231,.42), transparent 34%),
    radial-gradient(circle at 5% 100%, rgba(91,79,207,.42), transparent 36%),
    linear-gradient(125deg, #17113d 0%, #251b61 56%, #33277c 100%);
  color: #fff;
  box-shadow: 0 26px 70px rgba(31, 23, 81, .22);
}
.full-space-theme .day-j-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 310px;
  height: 310px;
  right: -72px;
  top: -128px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 82px rgba(255,255,255,.018);
}
.full-space-theme .day-j-hero::after {
  content: "PACK\A JOUR J";
  white-space: pre;
  position: absolute;
  z-index: -1;
  right: 34px;
  bottom: -22px;
  color: rgba(255,255,255,.035);
  font-size: clamp(70px, 9vw, 132px);
  font-weight: 900;
  line-height: .76;
  letter-spacing: -.07em;
  text-align: right;
}
.full-space-theme .day-j-hero-copy {
  align-self: center;
  max-width: 640px;
}
.full-space-theme .day-j-premium-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: #f5dfa3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.3;
}
.full-space-theme .day-j-premium-eyebrow::before {
  content: "";
  width: 27px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--day-j-gold);
}
.full-space-theme .day-j-hero h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: .99;
}
.full-space-theme .day-j-hero-copy > p {
  max-width: 600px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 16px;
  line-height: 1.65;
}
.full-space-theme .day-j-hero-stats {
  align-self: center;
  display: grid;
  grid-template-columns: 154px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.full-space-theme .day-j-hero-ring-slot { display: grid; place-items: center; }
.full-space-theme .day-j-progress-ring {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--day-j-gold) calc(var(--day-j-progress) * 1%), rgba(255,255,255,.13) 0);
  box-shadow: 0 14px 40px rgba(4, 2, 26, .23);
}
.full-space-theme .day-j-progress-ring::before {
  content: "";
  grid-area: 1 / 1;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #282064;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.full-space-theme .day-j-progress-ring-core {
  position: relative;
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
}
.full-space-theme .day-j-progress-ring-core strong { font-size: 27px; letter-spacing: -.04em; }
.full-space-theme .day-j-progress-ring-core span {
  color: rgba(255,255,255,.62);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.full-space-theme .day-j-metrics { display: grid; gap: 13px; }
.full-space-theme .day-j-metric { display: flex; gap: 11px; align-items: center; }
.full-space-theme .day-j-metric-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
}
.full-space-theme .day-j-metric-icon .ui-icon { width: 16px; height: 16px; }
.full-space-theme .day-j-metric div { display: grid; gap: 2px; min-width: 0; }
.full-space-theme .day-j-metric div span {
  color: rgba(255,255,255,.54);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.full-space-theme .day-j-metric div strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}

.full-space-theme .day-j-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid #e5e1f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 23, 81, .055);
}
.full-space-theme .day-j-command-bar > div:first-child { display: grid; gap: 3px; }
.full-space-theme .day-j-command-bar > div:first-child span {
  color: var(--ink-muted, #667085);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.full-space-theme .day-j-command-bar > div:first-child strong { color: var(--ink); font-size: 15px; }
.full-space-theme .day-j-command-status { min-height: 13px; margin: 1px 0 0; color: #716b80; font-size: 9px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.full-space-theme .day-j-command-status[data-tone="success"] { color: #126548; }
.full-space-theme .day-j-command-status[data-tone="error"] { color: #a1223d; }
.full-space-theme .day-j-variant-control {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #e8e5f3;
  border-radius: 14px;
  background: #f7f6fb;
}
.full-space-theme .day-j-variant-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6b6780;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.full-space-theme .day-j-variant-button .ui-icon { width: 16px; height: 16px; }
.full-space-theme .day-j-variant-button[aria-pressed="true"] {
  background: #fff;
  color: var(--primary-strong);
  box-shadow: 0 5px 14px rgba(47, 35, 124, .11);
}

.full-space-theme .day-j-stage {
  scroll-margin-top: 18px;
  padding: 34px;
  border: 1px solid #e7e3f1;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(31, 23, 81, .06);
}
.full-space-theme .day-j-stage [tabindex="-1"]:focus { outline: none; }
.full-space-theme .day-j-stage [tabindex="-1"]:focus-visible {
  outline: none;
  box-shadow: inset 0 -3px rgba(91, 79, 207, .24);
}
.full-space-theme .day-j-section-intro,
.full-space-theme .day-j-detail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ebe8f3;
}
.full-space-theme .day-j-section-kicker {
  margin: 0 0 7px;
  color: var(--primary-strong);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.full-space-theme .day-j-section-intro h2,
.full-space-theme .day-j-detail-header h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 830;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.full-space-theme .day-j-section-intro > div > p:last-child,
.full-space-theme .day-j-detail-header > div > p:not(.day-j-section-kicker) {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--ink-muted, #667085);
  font-size: 14px;
  line-height: 1.6;
}
.full-space-theme .day-j-overview-status,
.full-space-theme .day-j-section-score {
  flex: 0 0 auto;
  display: grid;
  min-width: 116px;
  justify-items: end;
}
.full-space-theme .day-j-overview-status strong,
.full-space-theme .day-j-section-score strong {
  color: var(--day-j-navy);
  font-size: 31px;
  letter-spacing: -.045em;
}
.full-space-theme .day-j-overview-status span,
.full-space-theme .day-j-section-score span {
  color: #686274;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.full-space-theme .day-j-next-mission {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
  padding: 20px;
  border: 1px solid #ddd7f5;
  border-radius: 19px;
  background: linear-gradient(105deg, #f5f2ff, #fbfaff 68%, #f4f1ff);
}
.full-space-theme .day-j-next-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(91, 79, 207, .24);
}
.full-space-theme .day-j-next-mark .ui-icon { width: 21px; height: 21px; }
.full-space-theme .day-j-next-mission p {
  margin: 0 0 3px;
  color: var(--primary-strong);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
}
.full-space-theme .day-j-next-mission h3 { margin: 0 0 3px; color: var(--ink); font-size: 17px; }
.full-space-theme .day-j-next-mission div > span { color: var(--ink-muted, #667085); font-size: 12px; }
.full-space-theme .day-j-next-button { white-space: nowrap; }
.full-space-theme .day-j-button-icon { display: inline-flex; }
.full-space-theme .day-j-button-icon .ui-icon { width: 15px; height: 15px; }

.full-space-theme .day-j-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.full-space-theme .day-j-module-card {
  position: relative;
  min-height: 224px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #e7e4ef;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 7px 22px rgba(31, 23, 81, .045);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s ease, box-shadow .22s ease;
}
.full-space-theme .day-j-module-card::after {
  content: "";
  position: absolute;
  inset: auto 19px 0;
  height: 3px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--primary), #8b7df0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.full-space-theme .day-j-module-card:hover {
  transform: translateY(-4px);
  border-color: #cfc8ef;
  box-shadow: 0 16px 36px rgba(31, 23, 81, .11);
}
.full-space-theme .day-j-module-card:hover::after,
.full-space-theme .day-j-module-card.is-complete::after { transform: scaleX(1); }
.full-space-theme .day-j-module-card.is-complete { border-color: #b9dfcf; background: #fbfffd; }
.full-space-theme .day-j-module-card.is-complete::after { background: var(--day-j-green); }
.full-space-theme .day-j-module-top { display: flex; align-items: center; justify-content: space-between; }
.full-space-theme .day-j-module-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f0edff;
  color: var(--primary-strong);
}
.full-space-theme .day-j-module-card.is-complete .day-j-module-icon { background: #e9f8f1; color: var(--day-j-green); }
.full-space-theme .day-j-module-icon .ui-icon { width: 19px; height: 19px; }
.full-space-theme .day-j-module-count {
  color: #c6c1d2;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.04em;
}
.full-space-theme .day-j-module-card h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}
.full-space-theme .day-j-module-card > p {
  margin: 0;
  color: var(--ink-muted, #667085);
  font-size: 12px;
  line-height: 1.55;
}
.full-space-theme .day-j-module-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  color: #8b8798;
  font-size: 10px;
  font-weight: 750;
}
.full-space-theme .day-j-module-footer span + span::before { content: "·"; margin-right: 10px; }
.full-space-theme .day-j-module-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  background: #f3f1fa;
  color: var(--primary-strong);
}
.full-space-theme .day-j-module-footer .day-j-module-arrow::before { content: none; }
.full-space-theme .day-j-module-arrow .ui-icon { width: 14px; height: 14px; }

.full-space-theme .day-j-print-promo {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 26px;
  align-items: center;
  margin-top: 25px;
  padding: 25px 28px;
  overflow: hidden;
  border: 1px solid #ddd6ef;
  border-radius: 20px;
  background: linear-gradient(115deg, #211951, #352a7a);
  color: #fff;
}
.full-space-theme .day-j-print-promo-visual { position: relative; height: 96px; }
.full-space-theme .day-j-paper {
  position: absolute;
  width: 72px;
  height: 94px;
  display: grid;
  align-content: end;
  padding: 10px;
  border-radius: 5px;
  background: #fff;
  color: var(--primary-strong);
  font-size: 9px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(3,2,20,.26);
}
.full-space-theme .day-j-paper::before {
  content: "";
  align-self: start;
  height: 4px;
  margin-bottom: auto;
  border-radius: 2px;
  background: var(--primary);
  box-shadow: 0 10px 0 #ece9f7, 0 20px 0 #ece9f7, 0 30px 0 #ece9f7;
}
.full-space-theme .day-j-paper-back { left: 24px; top: 2px; transform: rotate(-9deg); opacity: .72; }
.full-space-theme .day-j-paper-front { left: 54px; top: 0; transform: rotate(6deg); }
.full-space-theme .day-j-print-promo h3 { margin: 0 0 7px; color: #fff; font-size: 21px; }
.full-space-theme .day-j-print-promo p:not(.day-j-section-kicker) { margin: 0; color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.55; }
.full-space-theme .day-j-print-promo .day-j-section-kicker { color: #f1d88e; }
.full-space-theme .day-j-print-promo .btn-ghost { border-color: rgba(255,255,255,.28); background: #fff; color: var(--day-j-navy); white-space: nowrap; }

.full-space-theme .day-j-detail-meta { display: flex; gap: 14px; margin-top: 14px; }
.full-space-theme .day-j-detail-meta span {
  position: relative;
  color: #7f7a90;
  font-size: 11px;
  font-weight: 720;
}
.full-space-theme .day-j-detail-meta span + span::before { content: "·"; position: absolute; left: -9px; }
.full-space-theme .day-j-rich-section {
  margin: 0;
  padding: 24px;
  border: 1px solid #e6e2f0;
  border-radius: 20px;
  background: #fbfaff;
  box-shadow: none;
}
.full-space-theme .day-j-rich-section > h3:first-child { display: none; }
.full-space-theme .day-j-action-row {
  position: relative;
  transition: opacity .18s ease, background .18s ease;
}
.full-space-theme .day-j-action-row.is-complete { opacity: .68; }
.full-space-theme .day-j-action-row.is-complete :is(.bonus-pack-check-text, .bonus-pack-tl-copy, p, strong) { text-decoration-color: rgba(22,132,91,.5); }
.full-space-theme .day-j-action-toggle {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  align-self: start;
  padding: 0;
  border: 1px solid #d8d3e7;
  border-radius: 9px;
  background: #fff;
  color: #aaa4ba;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.full-space-theme .day-j-action-toggle:hover { transform: scale(1.05); border-color: var(--primary); color: var(--primary); }
.full-space-theme .day-j-action-toggle[aria-pressed="true"] { border-color: var(--day-j-green); background: var(--day-j-green); color: #fff; }
.full-space-theme .day-j-action-toggle .ui-icon { width: 15px; height: 15px; }
.full-space-theme .day-j-rich-section .bonus-pack-check-row { grid-template-columns: 34px 28px 1fr; }
.full-space-theme .day-j-rich-section .bonus-pack-tl-step { grid-template-columns: 34px 64px 1fr; }
.full-space-theme .day-j-rich-section .bonus-pack-bilingual-row { grid-template-columns: 34px 1fr 1fr; }
.full-space-theme .day-j-rich-section .bonus-pack-branch-list li { display: flex; gap: 10px; align-items: flex-start; }
.full-space-theme .day-j-rich-section .bonus-pack-callout { display: grid; grid-template-columns: 34px auto 1fr; }
.full-space-theme .day-j-detail-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #ebe8f3;
}
.full-space-theme .day-j-pager { display: flex; gap: 8px; }

.full-space-theme .day-j-print-document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.full-space-theme .day-j-print-document-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  min-height: 220px;
  padding: 20px;
  border: 1px solid #e2deed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(31,23,81,.06);
}
.full-space-theme .day-j-print-thumbnail {
  position: relative;
  aspect-ratio: 1 / 1.414;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #dcd7ea;
  border-radius: 7px;
  background: linear-gradient(145deg, #fff 0 64%, #f0edff 64%);
  color: var(--day-j-navy);
  box-shadow: 0 11px 22px rgba(31,23,81,.13);
}
.full-space-theme .day-j-print-thumbnail::before {
  content: "";
  position: absolute;
  width: 62px;
  height: 62px;
  right: -26px;
  top: -26px;
  border: 10px solid rgba(91,79,207,.15);
  border-radius: 50%;
}
.full-space-theme .day-j-print-thumbnail span { color: var(--primary); font-size: 10px; font-weight: 900; }
.full-space-theme .day-j-print-thumbnail strong { font-size: 13px; line-height: 1.15; }
.full-space-theme .day-j-print-thumbnail small { color: #807b91; font-size: 8px; font-weight: 750; }
.full-space-theme .day-j-print-document-copy { display: flex; flex-direction: column; align-items: flex-start; }
.full-space-theme .day-j-print-document-copy h3 { margin: 0 0 7px; color: var(--ink); font-size: 17px; }
.full-space-theme .day-j-print-document-copy > p:not(.day-j-section-kicker) { margin: 0 0 18px; color: var(--ink-muted, #667085); font-size: 12px; line-height: 1.55; }
.full-space-theme .day-j-print-document-copy .btn { margin-top: auto; }

/* Pack Jour J V2 — PMPrep data cockpit, calendar bridge and real brand assets. */
.full-space-theme .day-j-brand-lockup {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 11px 30px rgba(5,3,30,.16), inset 0 1px 0 #fff;
}
.full-space-theme .day-j-brand-pmprep { display: block; width: 96px; height: auto; }
.full-space-theme .day-j-brand-elitek { display: block; width: 70px; height: auto; }
.full-space-theme .day-j-brand-separator { color: #817b91; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.full-space-theme .day-j-learning-pulse {
  display: grid;
  gap: 19px;
  margin-bottom: 30px;
  padding: 7px;
  border: 1px solid #e3def0;
  border-radius: 26px;
  background: #eeebf6;
}
.full-space-theme .day-j-learning-pulse-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 25px 4px;
}
.full-space-theme .day-j-learning-pulse-head h3,
.full-space-theme .day-j-task-bridge h3 { margin: 4px 0 7px; color: var(--day-j-navy); font-size: 23px; letter-spacing: -.025em; }
.full-space-theme .day-j-learning-pulse-head p:not(.day-j-section-kicker),
.full-space-theme .day-j-task-bridge > div > p:not(.day-j-section-kicker) { max-width: 700px; margin: 0; color: #625c70; font-size: 12.5px; line-height: 1.6; }
.full-space-theme .day-j-live-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #dff6ec;
  color: #126548;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.full-space-theme .day-j-live-badge .ui-icon { width: 13px; height: 13px; }
.full-space-theme .day-j-learning-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding-inline: 7px;
}
.full-space-theme .day-j-learning-metric {
  display: grid;
  gap: 3px;
  padding: 18px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(38,29,86,.045);
}
.full-space-theme .day-j-learning-metric strong { color: var(--day-j-navy); font-size: 26px; line-height: 1; letter-spacing: -.04em; }
.full-space-theme .day-j-learning-metric span { color: #777184; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.full-space-theme .day-j-learning-priority {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(125deg, #1d174d, #2d236f);
  color: #fff;
  box-shadow: 0 18px 38px rgba(30,23,77,.16);
}
.full-space-theme .day-j-learning-priority-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 15px;
  background: rgba(255,255,255,.1);
  color: #e8c569;
}
.full-space-theme .day-j-learning-priority > div > span { color: #e8c569; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.full-space-theme .day-j-learning-priority h4 { margin: 5px 0; color: #fff; font-size: 18px; letter-spacing: -.015em; }
.full-space-theme .day-j-learning-priority p { margin: 0; color: rgba(255,255,255,.68); font-size: 11.5px; line-height: 1.55; }
.full-space-theme .day-j-learning-actions { display: flex; gap: 8px; }
.full-space-theme .day-j-learning-priority .btn-primary { background: #fff; color: #281d69; }
.full-space-theme .day-j-learning-priority .btn-ghost { border-color: rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.06); }

.full-space-theme .day-j-journey-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 17px 19px;
  border: 1px solid #ded8ef;
  border-radius: 19px;
  background: linear-gradient(115deg, #f6f3ff, #fff);
}
.full-space-theme .day-j-journey-summary-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: #ddd7fb;
  color: #4638bb;
}
.full-space-theme .day-j-journey-summary > div { display: grid; gap: 3px; }
.full-space-theme .day-j-journey-summary > div > span { color: #6255bd; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.full-space-theme .day-j-journey-summary strong { color: var(--day-j-navy); font-size: 16px; }
.full-space-theme .day-j-journey-summary p { margin: 0; color: #625c70; font-size: 10.5px; }
.full-space-theme .day-j-journey-info { display: grid; gap: 24px; }
.full-space-theme .day-j-journey-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #dff6ec;
  color: #126548;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.full-space-theme .day-j-journey-sync-badge .ui-icon { width: 14px; height: 14px; }
.full-space-theme .day-j-journey-sync-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border-radius: 19px;
  background: #1f1853;
  color: #fff;
  box-shadow: 0 14px 34px rgba(31,24,83,.14);
}
.full-space-theme .day-j-journey-sync-node {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.075);
}
.full-space-theme .day-j-journey-sync-node.is-output { background: #fff; color: #2b216c; }
.full-space-theme .day-j-journey-sync-node .ui-icon { width: 17px; height: 17px; color: #d8ccff; }
.full-space-theme .day-j-journey-sync-node.is-output .ui-icon { color: #5b4fcf; }
.full-space-theme .day-j-journey-sync-node strong { font-size: 11px; }
.full-space-theme .day-j-journey-sync-arrow { color: #d7cdfd; font-size: 17px; font-weight: 900; }
.full-space-theme .day-j-journey-form { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; }
.full-space-theme .day-j-journey-fieldset {
  min-width: 0;
  margin: 0;
  padding: 23px;
  border: 1px solid #e1ddec;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(34,26,78,.055);
}
.full-space-theme .day-j-journey-fieldset legend { padding: 0 7px; color: var(--day-j-navy); font-size: 17px; font-weight: 850; }
.full-space-theme .day-j-journey-fieldset > p { margin: 0 0 19px; color: #686275; font-size: 11px; line-height: 1.55; }
.full-space-theme .day-j-journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.full-space-theme .day-j-journey-grid.is-identity { grid-template-columns: 1fr 1fr; }
.full-space-theme .day-j-journey-form .field { display: grid; align-content: start; gap: 7px; margin: 0; }
.full-space-theme .day-j-journey-form .field > span { color: #4c465b; font-size: 10px; font-weight: 800; }
.full-space-theme .day-j-journey-form input,
.full-space-theme .day-j-journey-form select {
  width: 100%;
  min-height: 47px;
  padding: 10px 12px;
  border: 1px solid #d9d4e5;
  border-radius: 12px;
  background: #fbfaff;
  color: #29233d;
  font: inherit;
  font-size: 12px;
}
.full-space-theme .day-j-journey-form input:focus,
.full-space-theme .day-j-journey-form select:focus { outline: 3px solid rgba(91,79,207,.18); border-color: #5b4fcf; }
.full-space-theme .day-j-journey-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 2px 0;
}
.full-space-theme .day-j-journey-status { min-height: 18px; margin: 0; color: #625c70; font-size: 11px; font-weight: 700; }
.full-space-theme .day-j-journey-status[data-tone="success"] { color: #126548; }
.full-space-theme .day-j-journey-status[data-tone="error"] { color: #a1223d; }

.full-space-theme .day-j-connections { display: grid; gap: 27px; }
.full-space-theme .day-j-connection-privacy {
  max-width: 300px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f1eefb;
  color: #514a6c;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}
.full-space-theme .day-j-connection-privacy .ui-icon { flex: 0 0 auto; width: 15px; height: 15px; color: var(--primary); }
.full-space-theme .day-j-connection-empty {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f1edff, #fff);
  box-shadow: inset 0 0 0 1px #ddd6f5;
}
.full-space-theme .day-j-connection-empty-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: #5b4fcf; color: #fff; }
.full-space-theme .day-j-connection-empty h3 { margin: 0 0 5px; color: var(--day-j-navy); font-size: 19px; }
.full-space-theme .day-j-connection-empty p { margin: 0; color: #6e687a; font-size: 12px; }
.full-space-theme .day-j-connection-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px 24px;
  padding: 23px;
  border-radius: 21px;
  background: linear-gradient(125deg, #17123f, #302677);
  color: #fff;
}
.full-space-theme .day-j-connection-toolbar > div:first-child { display: grid; gap: 4px; }
.full-space-theme .day-j-connection-toolbar > div:first-child span { color: #d8d1ff; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.full-space-theme .day-j-connection-toolbar > div:first-child strong { font-size: 18px; }
.full-space-theme .day-j-connection-toolbar-actions { display: flex; gap: 8px; }
.full-space-theme .day-j-connection-toolbar .btn-primary { background: #fff; color: #281e69; }
.full-space-theme .day-j-connection-toolbar .btn-ghost { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.full-space-theme .day-j-connection-status { grid-column: 1 / -1; min-height: 14px; margin: 0; color: #d8d1ff; font-size: 10px; }
.full-space-theme .day-j-calendar-timeline { position: relative; display: grid; gap: 11px; }
.full-space-theme .day-j-calendar-timeline::before { content: ""; position: absolute; top: 35px; bottom: 35px; left: 84px; width: 2px; background: linear-gradient(#c7bef0, #5b4fcf); }
.full-space-theme .day-j-calendar-event {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 19px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e5e1ed, 0 10px 26px rgba(37,28,79,.055);
}
.full-space-theme .day-j-calendar-event.is-exam { background: linear-gradient(125deg, #f1edff, #fff); box-shadow: inset 0 0 0 1px #cfc6f3, 0 14px 30px rgba(55,41,126,.1); }
.full-space-theme .day-j-calendar-date { position: relative; z-index: 1; display: grid; justify-items: start; gap: 3px; padding: 8px 10px; border-radius: 12px; background: #f0edfa; }
.full-space-theme .day-j-calendar-date span { color: #766f8d; font-size: 7px; font-weight: 900; letter-spacing: .11em; }
.full-space-theme .day-j-calendar-date strong { color: var(--day-j-navy); font-size: 13px; text-transform: capitalize; }
.full-space-theme .day-j-calendar-event-copy h3 { margin: 0 0 5px; color: var(--day-j-navy); font-size: 16px; }
.full-space-theme .day-j-calendar-event-copy p { margin: 0 0 6px; color: #666073; font-size: 11px; line-height: 1.5; }
.full-space-theme .day-j-calendar-event-copy > span { color: #5b4fcf; font-size: 9px; font-weight: 800; }
.full-space-theme .day-j-calendar-event-actions { display: flex; gap: 7px; }
.full-space-theme .day-j-provider-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 10px;
  border: 0;
  border-radius: 12px;
  background: #f3f1f8;
  color: #353044;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 240ms cubic-bezier(.22,1,.36,1), background 240ms cubic-bezier(.22,1,.36,1);
}
.full-space-theme .day-j-provider-button:hover { transform: translateY(-2px); background: #eae6f6; }
.full-space-theme .day-j-provider-mark { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 8px; background: #fff; font-size: 11px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.full-space-theme .day-j-provider-mark.is-google { color: #4285f4; }
.full-space-theme .day-j-provider-mark.is-outlook { color: #1264a3; }
.full-space-theme .day-j-task-bridge {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
  gap: 34px;
  padding: 28px;
  border-radius: 23px;
  background: #f5f3fa;
  box-shadow: inset 0 0 0 1px #e6e1ef;
}
.full-space-theme .day-j-task-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.full-space-theme .day-j-task-list li { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; padding: 12px 14px; border-radius: 13px; background: #fff; }
.full-space-theme .day-j-task-check { width: 16px; height: 16px; margin-top: 1px; border: 1.5px solid #8c84a4; border-radius: 5px; }
.full-space-theme .day-j-task-list li div { display: grid; gap: 3px; }
.full-space-theme .day-j-task-list strong { color: #332e43; font-size: 11px; line-height: 1.35; }
.full-space-theme .day-j-task-list span:not(.day-j-task-check) { color: #817a8e; font-size: 8.5px; font-weight: 700; }

.full-space-theme .day-j-print-thumbnail-stack { position: relative; min-height: 155px; display: flex; align-items: center; justify-content: center; padding-right: 15px; }
.full-space-theme .day-j-print-thumbnail-stack .day-j-print-thumbnail { width: 104px; height: 147px; flex: 0 0 auto; }
.full-space-theme .day-j-print-thumbnail-stack .day-j-print-thumbnail + .day-j-print-thumbnail { margin-left: -72px; transform: translate(18px, 8px) rotate(2deg); }
.full-space-theme .day-j-print-thumbnail img { position: relative; z-index: 1; width: 58px; height: auto; }
.full-space-theme .day-j-print-page-proof { display: inline-flex; align-items: center; gap: 7px; margin: -7px 0 15px; color: #247355; font-size: 9.5px; font-weight: 800; }
.full-space-theme .day-j-print-page-proof .ui-icon { width: 14px; height: 14px; }
.day-j-print-frame { position: fixed; right: 0; bottom: 0; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }

/* The high-resolution sheets stay hidden until the browser print dialog opens. */
.day-j-print-suite { display: none; }

@media (max-width: 1180px) {
  .full-space-theme .day-j-hero { grid-template-columns: 1fr; gap: 30px; }
  .full-space-theme .day-j-hero-stats { grid-template-columns: 140px 1fr; }
  .full-space-theme .day-j-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .full-space-theme .day-j-print-document-grid { grid-template-columns: 1fr; }
  .full-space-theme .day-j-learning-priority { grid-template-columns: auto 1fr; }
  .full-space-theme .day-j-learning-actions { grid-column: 1 / -1; padding-left: 65px; }
  .full-space-theme .day-j-journey-form { grid-template-columns: 1fr; }
  .full-space-theme .day-j-calendar-event { grid-template-columns: 110px minmax(0, 1fr); }
  .full-space-theme .day-j-calendar-event-actions { grid-column: 2; }
}

@media (max-width: 760px) {
  .full-space-theme .day-j-view { padding-bottom: 48px; }
  .full-space-theme .day-j-experience { gap: 14px; }
  .full-space-theme .day-j-hero { min-height: 0; padding: 28px 22px; border-radius: 22px; }
  .full-space-theme .day-j-hero h2 { font-size: 37px; }
  .full-space-theme .day-j-hero-copy > p { font-size: 14px; }
  .full-space-theme .day-j-hero-stats { grid-template-columns: 1fr; padding: 18px; }
  .full-space-theme .day-j-progress-ring { width: 118px; height: 118px; }
  .full-space-theme .day-j-progress-ring::before { width: 96px; height: 96px; }
  .full-space-theme .day-j-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .full-space-theme .day-j-metric { display: grid; justify-items: center; gap: 7px; text-align: center; }
  .full-space-theme .day-j-metric div strong { font-size: 10px; }
  .full-space-theme .day-j-metric div span { font-size: 7px; }
  .full-space-theme .day-j-command-bar { align-items: stretch; flex-direction: column; padding: 17px; }
  .full-space-theme .day-j-variant-control { display: grid; grid-template-columns: 1fr 1fr; }
  .full-space-theme .day-j-variant-button { justify-content: center; padding-inline: 8px; font-size: 10px; }
  .full-space-theme .day-j-stage { padding: 21px 16px; border-radius: 21px; }
  .full-space-theme .day-j-section-intro,
  .full-space-theme .day-j-detail-header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .full-space-theme .day-j-overview-status,
  .full-space-theme .day-j-section-score { justify-items: start; }
  .full-space-theme .day-j-next-mission { grid-template-columns: auto 1fr; }
  .full-space-theme .day-j-next-button { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .full-space-theme .day-j-module-grid { grid-template-columns: 1fr; }
  .full-space-theme .day-j-module-card { min-height: 190px; }
  .full-space-theme .day-j-print-promo { grid-template-columns: 90px 1fr; padding: 22px 16px; }
  .full-space-theme .day-j-print-promo-visual { height: 82px; }
  .full-space-theme .day-j-paper { width: 57px; height: 76px; }
  .full-space-theme .day-j-paper-back { left: 5px; }
  .full-space-theme .day-j-paper-front { left: 27px; }
  .full-space-theme .day-j-print-promo .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .full-space-theme .day-j-rich-section { padding: 15px; }
  .full-space-theme .day-j-detail-actions { align-items: stretch; flex-direction: column; }
  .full-space-theme .day-j-detail-actions > .btn { width: 100%; justify-content: center; }
  .full-space-theme .day-j-pager { justify-content: space-between; }
  .full-space-theme .day-j-print-document-card { grid-template-columns: 104px 1fr; gap: 15px; padding: 15px; }
  .full-space-theme .day-j-print-document-copy .btn { width: 100%; justify-content: center; }
  .full-space-theme .day-j-brand-lockup { margin-bottom: 18px; }
  .full-space-theme .day-j-learning-pulse-head { flex-direction: column; padding: 20px 18px 0; }
  .full-space-theme .day-j-learning-metrics { grid-template-columns: 1fr 1fr; }
  .full-space-theme .day-j-learning-priority { grid-template-columns: 1fr; align-items: start; padding: 20px; }
  .full-space-theme .day-j-learning-actions { grid-column: auto; padding-left: 0; flex-direction: column; }
  .full-space-theme .day-j-learning-actions .btn { width: 100%; justify-content: center; }
  .full-space-theme .day-j-journey-summary { grid-template-columns: auto 1fr; }
  .full-space-theme .day-j-journey-summary .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .full-space-theme .day-j-journey-sync-map { grid-template-columns: 1fr; }
  .full-space-theme .day-j-journey-sync-arrow { justify-self: center; transform: rotate(90deg); }
  .full-space-theme .day-j-journey-grid,
  .full-space-theme .day-j-journey-grid.is-identity { grid-template-columns: 1fr; }
  .full-space-theme .day-j-journey-actions { align-items: stretch; flex-direction: column; }
  .full-space-theme .day-j-journey-actions .btn { width: 100%; justify-content: center; }
  .full-space-theme .day-j-connection-toolbar { grid-template-columns: 1fr; }
  .full-space-theme .day-j-connection-toolbar-actions { flex-direction: column; }
  .full-space-theme .day-j-connection-toolbar-actions .btn { width: 100%; justify-content: center; }
  .full-space-theme .day-j-calendar-timeline::before { display: none; }
  .full-space-theme .day-j-calendar-event { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .full-space-theme .day-j-calendar-date { width: fit-content; }
  .full-space-theme .day-j-calendar-event-actions { grid-column: auto; }
  .full-space-theme .day-j-task-bridge { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .full-space-theme .day-j-connection-empty { grid-template-columns: 1fr; justify-items: start; }
  .full-space-theme .day-j-rich-section .bonus-pack-tl-step { grid-template-columns: 32px 52px 1fr; }
  .full-space-theme .day-j-rich-section .bonus-pack-bilingual-row { grid-template-columns: 32px 1fr; }
  .full-space-theme .day-j-rich-section .bonus-pack-bilingual-row > :last-child { grid-column: 2; }
}

@media (max-width: 430px) {
  .full-space-theme .day-j-hero { padding: 25px 18px; }
  .full-space-theme .day-j-hero h2 { font-size: 33px; }
  .full-space-theme .day-j-metrics { grid-template-columns: 1fr; }
  .full-space-theme .day-j-metric { grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
  .full-space-theme .day-j-metric div strong { font-size: 11px; }
  .full-space-theme .day-j-variant-control { grid-template-columns: 1fr; }
  .full-space-theme .day-j-print-document-card { grid-template-columns: 1fr; }
  .full-space-theme .day-j-print-thumbnail { width: 116px; }
  .full-space-theme .day-j-learning-metrics { grid-template-columns: 1fr; }
  .full-space-theme .day-j-calendar-event-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .full-space-theme .day-j-provider-button { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .full-space-theme .day-j-module-card,
  .full-space-theme .day-j-module-card::after,
  .full-space-theme .day-j-action-toggle,
  .full-space-theme .sidebar-subnav-button { transition: none; }
}

/* Dedicated A4 sheets. Screen UI is hidden and every selected sheet becomes a real page. */
@media print {
  @page { size: A4 portrait; margin: 0; }
  body.day-j-printing { overflow: visible !important; background: #fff !important; }
  body.day-j-printing * { visibility: hidden !important; }
  body.day-j-printing .day-j-print-suite,
  body.day-j-printing .day-j-print-suite * { visibility: visible !important; }
  body.day-j-printing .day-j-print-suite {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    display: block !important;
    width: 210mm !important;
    margin: 0 !important;
    color: #17152b;
    background: #fff;
    font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.day-j-printing .day-j-print-page { display: none !important; }
  body.day-j-printing[data-day-j-print-kind="master"] .day-j-print-page[data-print-kind="master"],
  body.day-j-printing[data-day-j-print-kind="centre"] .day-j-print-page[data-print-kind="centre"],
  body.day-j-printing[data-day-j-print-kind="online"] .day-j-print-page[data-print-kind="online"],
  body.day-j-printing[data-day-j-print-kind="timing"] .day-j-print-page[data-print-kind="timing"],
  body.day-j-printing[data-day-j-print-kind="bilingual"] .day-j-print-page[data-print-kind="bilingual"] {
    position: relative;
    display: flex !important;
    flex-direction: column;
    width: 210mm;
    height: 297mm;
    padding: 14mm 15mm 12mm;
    overflow: hidden;
    page-break-after: always;
    break-after: page;
    background:
      radial-gradient(circle at 100% 0, rgba(91,79,207,.12), transparent 31%),
      #fff;
  }
  body.day-j-printing .day-j-print-page.is-print-last {
    page-break-after: auto;
    break-after: auto;
  }
  body.day-j-printing .day-j-print-page::before {
    content: "";
    position: absolute;
    width: 66mm;
    height: 66mm;
    right: -39mm;
    top: -35mm;
    border: 5mm solid rgba(91,79,207,.08);
    border-radius: 50%;
  }
  body.day-j-printing .day-j-print-masthead {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5mm;
    border-bottom: .45mm solid #302671;
  }
  body.day-j-printing .day-j-print-brand { display: flex; align-items: center; gap: 2.5mm; }
  body.day-j-printing .day-j-print-brand .day-j-brand-pmprep { display: block; width: 26mm; height: auto; }
  body.day-j-printing .day-j-print-brand .day-j-brand-elitek { display: block; width: 19mm; height: auto; }
  body.day-j-printing .day-j-print-brand .day-j-brand-separator { color: #6d687c; font-size: 6pt; font-weight: 800; text-transform: uppercase; }
  body.day-j-printing .day-j-print-document-meta { display: flex; gap: 5mm; color: #6f6a7d; font-size: 6.7pt; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  body.day-j-printing .day-j-print-hero { position: relative; z-index: 1; margin: 8mm 0 5mm; }
  body.day-j-printing .day-j-print-hero p { margin: 0 0 2mm; color: #5b4fcf; font-size: 7pt; font-weight: 900; letter-spacing: .18em; }
  body.day-j-printing .day-j-print-hero h1 { max-width: 140mm; margin: 0; color: #1d174d; font-size: 27pt; line-height: .98; letter-spacing: -.045em; }
  body.day-j-printing .day-j-print-watermark {
    position: absolute;
    right: 0;
    top: -5mm;
    color: rgba(91,79,207,.11);
    font-size: 42pt;
    font-weight: 950;
    letter-spacing: -.06em;
  }
  body.day-j-printing .day-j-print-profile {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3mm;
    margin-bottom: 7mm;
    padding: 3.2mm 4mm;
    border: .25mm solid #dfdbea;
    border-radius: 2.5mm;
    background: #f8f6ff;
    color: #514c61;
    font-size: 7pt;
    font-weight: 700;
  }
  body.day-j-printing .day-j-print-columns {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5mm;
    align-content: start;
  }
  body.day-j-printing .day-j-print-block {
    min-height: 70mm;
    display: flex;
    flex-direction: column;
    padding: 5mm;
    border: .25mm solid #ddd9e8;
    border-radius: 3mm;
    background: #fff;
    break-inside: avoid;
  }
  body.day-j-printing .day-j-print-columns.is-odd .day-j-print-block:last-child {
    grid-column: 1 / -1;
    min-height: 62mm;
  }
  body.day-j-printing .day-j-print-columns.is-odd .day-j-print-block:last-child ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 8mm;
  }
  body.day-j-printing .day-j-print-columns.is-sparse .day-j-print-block {
    min-height: 148mm;
  }
  body.day-j-printing .day-j-print-block--accent {
    border-color: #bfb6ed;
    background: linear-gradient(145deg, #f8f6ff, #fff);
    box-shadow: inset 1.2mm 0 0 #5b4fcf;
  }
  body.day-j-printing .day-j-print-block h2 { margin: 0 0 3.5mm; color: #241c5d; font-size: 10pt; line-height: 1.2; }
  body.day-j-printing .day-j-print-block ul { display: grid; gap: 2.4mm; margin: 0; padding: 0; list-style: none; }
  body.day-j-printing .day-j-print-block li { display: grid; grid-template-columns: 3.3mm 1fr; gap: 2mm; align-items: start; color: #393548; font-size: 7.4pt; line-height: 1.38; }
  body.day-j-printing .day-j-print-check { width: 3.3mm; height: 3.3mm; margin-top: .2mm; border: .35mm solid #8e87a3; border-radius: .8mm; }
  body.day-j-printing .day-j-print-notes {
    display: grid;
    gap: 3mm;
    margin-top: auto;
    padding-top: 5mm;
    color: #777184;
    font-size: 6.5pt;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
  body.day-j-printing .day-j-print-notes i { display: block; height: 1px; border-bottom: .22mm solid #ded9e9; }
  body.day-j-printing .day-j-print-footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 4mm;
    border-top: .25mm solid #e0dcea;
    color: #777184;
    font-size: 6.5pt;
    font-weight: 700;
  }
}

/* PMPrep visual harmonization — Pack Jour J
   The Pack keeps its richer content while sharing the dashboard's surfaces,
   spacing, color tokens and restrained elevation. */
.full-space-theme .day-j-experience {
  --day-j-navy: var(--navy);
  --day-j-violet: var(--primary);
  --day-j-lilac: var(--primary-mid);
  --day-j-gold: #c9c2ff;
  --day-j-green: #16845b;
  width: min(100%, 1280px);
  gap: 20px;
}

/* Locked state: three app panels instead of one long sales landing page. */
.full-space-theme .day-j-commercial-gate {
  width: min(100%, 1280px);
  display: grid;
  gap: 20px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.full-space-theme .day-j-commercial-hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: 32px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: var(--navy);
  box-shadow: var(--shadow-card);
}
.full-space-theme .day-j-commercial-hero::before,
.full-space-theme .day-j-commercial-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.full-space-theme .day-j-commercial-hero::before {
  width: 300px;
  height: 300px;
  right: -86px;
  top: -165px;
  background: var(--primary);
}
.full-space-theme .day-j-commercial-hero::after {
  width: 190px;
  height: 190px;
  right: 115px;
  bottom: -145px;
  background: var(--primary-strong);
}
.full-space-theme .day-j-commercial-brand {
  width: fit-content;
  min-height: 0;
  margin-bottom: 24px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #fff;
}
.full-space-theme .day-j-commercial-brand img:first-child { width: 83px; }
.full-space-theme .day-j-commercial-brand img:last-child { width: 61px; height: 29px; }
.full-space-theme .day-j-commercial-eyebrow {
  margin-bottom: 8px;
  color: #c9c2ff;
  font-size: 9px;
}
.full-space-theme .day-j-commercial-gate .day-j-commercial-hero h2 {
  max-width: 690px;
  color: #fff;
  font-size: clamp(29px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.full-space-theme .day-j-commercial-intro {
  margin-top: 15px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}
.full-space-theme .day-j-commercial-account-message {
  margin-top: 19px;
  padding-top: 14px;
  border-top-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-size: 12px;
}
.full-space-theme .day-j-commercial-account-message[data-mode="reactivation"] { color: #ffb8c8; }
.full-space-theme .day-j-commercial-account-message[data-mode="premium_pending"] { color: #aee8d1; }
.full-space-theme .day-j-commercial-plan-link { color: #fff; }
.full-space-theme .day-j-commercial-preview {
  padding: 23px 24px 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.075);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.full-space-theme .day-j-commercial-preview-head { padding-bottom: 16px; }
.full-space-theme .day-j-commercial-preview-head span { color: #c9c2ff; }
.full-space-theme .day-j-commercial-preview-head strong { font-size: 18px; }
.full-space-theme .day-j-commercial-preview-timeline li { min-height: 48px; }
.full-space-theme .day-j-commercial-preview-timeline li > span:first-child { color: #c9c2ff; }
.full-space-theme .day-j-commercial-preview-icon {
  border-radius: 10px;
  background: rgba(255,255,255,.08);
}
.full-space-theme .day-j-commercial-value {
  padding: 27px 28px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.full-space-theme .day-j-commercial-value-head {
  align-items: center;
  margin-bottom: 19px;
}
.full-space-theme .day-j-commercial-value-head h3 {
  color: var(--ink);
  font-size: clamp(23px, 2.4vw, 29px);
}
.full-space-theme .day-j-commercial-value-head p {
  color: var(--muted);
  font-size: 12px;
}
.full-space-theme .day-j-commercial-deliverables {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.full-space-theme .day-j-commercial-deliverable,
.full-space-theme .day-j-commercial-deliverable:last-child {
  grid-column: auto;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.full-space-theme .day-j-commercial-deliverable-number { display: none; }
.full-space-theme .day-j-commercial-deliverable-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}
.full-space-theme .day-j-commercial-deliverable-icon .ui-icon { width: 16px; height: 16px; }
.full-space-theme .day-j-commercial-deliverable h4 { margin-bottom: 5px; font-size: 13px; }
.full-space-theme .day-j-commercial-deliverable p { color: var(--muted); font-size: 11px; }
.full-space-theme .day-j-commercial-offer {
  gap: 32px;
  padding: 27px 30px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: var(--shadow-card);
}
.full-space-theme .day-j-commercial-offer h3 { font-size: clamp(22px, 2.4vw, 28px); }
.full-space-theme .day-j-commercial-offer > div:first-child > p:last-child { color: rgba(255,255,255,.72); }
.full-space-theme .day-j-commercial-price span { color: rgba(255,255,255,.82); }
.full-space-theme .day-j-commercial-price small,
.full-space-theme .day-j-commercial-reassurance { color: rgba(255,255,255,.66); }
.full-space-theme .day-j-commercial-gate .day-j-commercial-cta {
  border-radius: 11px;
  background: #fff;
  color: var(--primary-strong);
}
@media (hover: hover) and (pointer: fine) {
  .full-space-theme .day-j-commercial-gate .day-j-commercial-cta:hover { background: #f5f3ff; }
  .full-space-theme .day-j-commercial-plan-link:hover { color: #ddd8ff; }
}

/* Unlocked state: the dashboard's hero, panels and bento density. */
.full-space-theme .day-j-hero {
  min-height: 238px;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 28px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: var(--navy);
  box-shadow: var(--shadow-card);
}
.full-space-theme .day-j-hero::before {
  width: 280px;
  height: 280px;
  right: -78px;
  top: -156px;
  border: 0;
  background: var(--primary);
  box-shadow: none;
}
.full-space-theme .day-j-hero::after {
  content: "";
  width: 190px;
  height: 190px;
  right: 105px;
  bottom: -145px;
  border-radius: 50%;
  background: var(--primary-strong);
}
.full-space-theme .day-j-brand-lockup {
  width: fit-content;
  margin-bottom: 20px;
  padding: 7px 10px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}
.full-space-theme .day-j-premium-eyebrow {
  margin-bottom: 8px;
  color: #c9c2ff;
  font-size: 9px;
}
.full-space-theme .day-j-premium-eyebrow::before { width: 19px; background: #c9c2ff; }
.full-space-theme .day-j-hero h2 {
  font-size: clamp(29px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.full-space-theme .day-j-hero-copy > p {
  margin-top: 14px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}
.full-space-theme .day-j-hero-stats {
  grid-template-columns: 116px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.075);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.full-space-theme .day-j-progress-ring {
  width: 104px;
  height: 104px;
  background: conic-gradient(#c9c2ff calc(var(--day-j-progress) * 1%), rgba(255,255,255,.13) 0);
  box-shadow: none;
}
.full-space-theme .day-j-progress-ring::before {
  width: 84px;
  height: 84px;
  background: var(--navy);
}
.full-space-theme .day-j-progress-ring-core strong { font-size: 23px; }
.full-space-theme .day-j-metrics { gap: 10px; }
.full-space-theme .day-j-metric-icon { border-radius: 9px; }
.full-space-theme .day-j-command-bar {
  padding: 17px 20px;
  border-color: var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.full-space-theme .day-j-variant-control { border-color: var(--line); background: var(--primary-soft); }
.full-space-theme .day-j-variant-button[aria-pressed="true"] { box-shadow: var(--shadow-card); }
.full-space-theme .day-j-stage {
  padding: 26px;
  border-color: var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.full-space-theme .day-j-section-intro,
.full-space-theme .day-j-detail-header {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom-color: var(--line);
}
.full-space-theme .day-j-section-intro h2,
.full-space-theme .day-j-detail-header h2 { font-size: clamp(24px, 2.5vw, 31px); }
.full-space-theme .day-j-next-mission,
.full-space-theme .day-j-learning-priority,
.full-space-theme .day-j-connection-toolbar {
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: none;
}
.full-space-theme .day-j-next-mark,
.full-space-theme .day-j-learning-priority-icon { color: #fff; }
.full-space-theme .day-j-next-mark { background: rgba(255,255,255,.1); box-shadow: none; }
.full-space-theme .day-j-next-mission p { color: #d8d3ff; }
.full-space-theme .day-j-next-mission h3 { color: #fff; }
.full-space-theme .day-j-next-mission div > span { color: rgba(255,255,255,.72); }
.full-space-theme .day-j-next-mission .day-j-next-button { background: #fff; color: var(--primary-strong); }
.full-space-theme .day-j-module-grid { gap: 12px; }
.full-space-theme .day-j-module-card {
  min-height: 176px;
  padding: 17px;
  border-color: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.full-space-theme .day-j-module-card:hover {
  border-color: rgba(59,47,212,.22);
  box-shadow: var(--shadow-float);
}
.full-space-theme .day-j-module-icon { border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.full-space-theme .day-j-print-promo {
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: none;
}
.full-space-theme .day-j-print-promo .day-j-section-kicker { color: #d8d3ff; }
.full-space-theme .day-j-learning-pulse {
  border-color: var(--line);
  border-radius: 18px;
  background: var(--primary-soft);
  box-shadow: none;
}
.full-space-theme .day-j-learning-metric {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: none;
}
.full-space-theme .day-j-live-badge,
.full-space-theme .day-j-journey-sync-badge {
  border-radius: 10px;
  letter-spacing: .03em;
}
.full-space-theme .day-j-journey-summary {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--primary-soft);
}
.full-space-theme .day-j-journey-summary-icon { border-radius: 11px; background: #ddd9ff; color: var(--primary); }
.full-space-theme .day-j-journey-sync-map {
  border-radius: 18px;
  background: var(--navy);
  box-shadow: none;
}
.full-space-theme .day-j-journey-fieldset {
  padding: 20px;
  border-color: var(--line);
  border-radius: 18px;
  box-shadow: none;
}
.full-space-theme .day-j-journey-form input,
.full-space-theme .day-j-journey-form select {
  border-color: var(--line);
  background: #fff;
}
.full-space-theme .day-j-connection-privacy,
.full-space-theme .day-j-task-bridge { background: var(--primary-soft); }
.full-space-theme .day-j-connection-empty {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--primary-soft);
  box-shadow: none;
}
.full-space-theme .day-j-calendar-event {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.full-space-theme .day-j-calendar-event.is-exam {
  border-color: rgba(59,47,212,.24);
  background: var(--primary-soft);
  box-shadow: var(--shadow-card);
}
.full-space-theme .day-j-task-bridge {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: none;
}
.full-space-theme .day-j-print-document-card {
  border-color: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.full-space-theme .day-j-rich-section {
  border-color: var(--line);
  border-radius: 18px;
  box-shadow: none;
}

@media (max-width: 980px) {
  .full-space-theme .day-j-commercial-deliverables { grid-template-columns: 1fr 1fr; }
  .full-space-theme .day-j-commercial-deliverable:last-child { grid-column: 1 / -1; }
  .full-space-theme .day-j-hero { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .full-space-theme .day-j-commercial-gate,
  .full-space-theme .day-j-experience { gap: 14px; }
  .full-space-theme .day-j-commercial-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .full-space-theme .day-j-commercial-gate .day-j-commercial-hero h2 { font-size: 30px; }
  .full-space-theme .day-j-commercial-value,
  .full-space-theme .day-j-commercial-offer { padding: 21px 18px; border-radius: 18px; }
  .full-space-theme .day-j-commercial-deliverables { grid-template-columns: 1fr; }
  .full-space-theme .day-j-commercial-deliverable:last-child { grid-column: auto; }
  .full-space-theme .day-j-commercial-offer { grid-template-columns: 1fr; gap: 20px; }
  .full-space-theme .day-j-commercial-offer-action { min-width: 0; width: 100%; }
  .full-space-theme .day-j-commercial-price { justify-items: start; }
  .full-space-theme .day-j-hero {
    min-height: 0;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .full-space-theme .day-j-hero h2 { font-size: 30px; }
  .full-space-theme .day-j-hero-stats { grid-template-columns: 104px 1fr; }
  .full-space-theme .day-j-metrics { grid-template-columns: 1fr; }
  .full-space-theme .day-j-metric { grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
  .full-space-theme .day-j-stage { padding: 19px 15px; border-radius: 18px; }
  .full-space-theme .day-j-module-card { min-height: 0; }
}

@media (max-width: 430px) {
  .full-space-theme .day-j-commercial-gate .day-j-commercial-hero h2,
  .full-space-theme .day-j-hero h2 { font-size: 27px; }
  .full-space-theme .day-j-commercial-brand,
  .full-space-theme .day-j-brand-lockup { margin-bottom: 17px; }
  .full-space-theme .day-j-commercial-preview { padding: 19px 16px 17px; }
  .full-space-theme .day-j-hero-stats { grid-template-columns: 1fr; }
}
