/* Q4 surface; body/label roles match Exit, display type is reserved for the intro. */
:root { --experience-body: 14px; --experience-micro: 13px; --experience-value: 17px; --experience-heading: 32px; --experience-ink: #10223a; --experience-muted: #5a708c; }
.exit-intro, .exit-workspace { margin: 0; font: var(--experience-body)/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; isolation: isolate; }
.exit-intro *, .experience-header *, .exit-dock, .exit-dock * { box-sizing: border-box; }
[data-exit-theme] { --scene-glow: #789eac; --scene-deep: #1e3c4b; }
[data-exit-theme="ember"] { --scene-glow: #dbad90; --scene-deep: #543f3b; }
[data-exit-theme="violet"] { --scene-glow: #a3a2d6; --scene-deep: #303955; }
[data-exit-theme="sage"] { --scene-glow: #a2c1b0; --scene-deep: #294e4c; }
[data-exit-theme="gold"] { --scene-glow: #d8c78f; --scene-deep: #4d4933; }
.experience-backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(ellipse at 68% 46%, var(--scene-glow) 0%, transparent 56%), linear-gradient(150deg, #152b38 5%, var(--scene-deep) 58%, #0b1823); }
.experience-backdrop::before { content: ''; position: absolute; inset: 48% -20% -45%; border-radius: 50%; background: linear-gradient(170deg, rgba(243,234,216,.12), rgba(11,24,35,.5) 48%); transform: rotate(-9deg); }
.experience-media, .experience-media > *, .experience-backdrop > img, .experience-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.experience-media img, .experience-media video, .experience-backdrop > img { object-fit: cover; }
.experience-shade { background: linear-gradient(90deg, rgba(8,20,31,.5), rgba(8,20,31,.08) 50%, rgba(8,20,31,.24)); }
.experience-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding: 0 40px; z-index: 15; }
.experience-wordmark { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; font-size: 24px; font-weight: 500; letter-spacing: -.8px; }
.experience-wordmark-dot { width: 6px; height: 6px; border-radius: 50%; background: #c8e5db; margin-top: 12px; }
.experience-season { font-size: var(--experience-micro); letter-spacing: .13em; color: #d8e1e8; }
.exit-intro { min-height: 100svh; background: #11242e; color: #f6f8fa; }
.intro-layout { width: min(1200px, 100%); min-height: calc(100svh - 176px); display: grid; grid-template-columns: 1fr 360px; align-items: center; gap: 64px; margin: 0 auto; padding: 48px 40px; }
.intro-title { display: grid; font-size: clamp(48px, 6.7vw, 92px); font-weight: 400; letter-spacing: -.065em; line-height: 1.02; }
.intro-title span + span { color: #e7eeeae0; }
.intro-login { padding: 32px; border: 1px solid rgba(255,255,255,.19); border-radius: 24px; background: rgba(12,27,39,.65); backdrop-filter: blur(24px); }
.intro-login h1 { margin: 0 0 26px; font-size: var(--experience-heading); font-weight: 500; letter-spacing: -.7px; }
.intro-form { display: grid; }
.intro-form label { font-size: var(--experience-micro); color: #d8e1e8; margin: 0 0 8px; }
.intro-form input:not([type="hidden"]) { width: 100%; min-height: 48px; margin: 0 0 20px; border: 1px solid rgba(235,242,248,.24); border-radius: 10px; padding: 11px 13px; background: rgba(4,18,28,.22); color: #fff; font: inherit; }
.intro-submit { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border: 0; border-radius: 10px; background: #edf4f1; color: #142b31; font: inherit; font-weight: 500; cursor: pointer; }
.intro-submit:hover { background: #fff; }
.intro-submit span { font-size: 20px; }
.intro-forgot { justify-self: start; margin-top: 20px; color: #d8e1e8; font-size: var(--experience-micro); text-decoration: none; }
.intro-forgot:hover { text-decoration: underline; }
.intro-error { margin: 0 0 20px; color: #ffd4c7; }
.intro-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 40px max(24px, env(safe-area-inset-bottom)); min-height: 92px; }
.intro-chapters { display: flex; flex-wrap: wrap; gap: 4px; }
.intro-chapters button { width: 28px; height: 44px; padding: 12px 4px; border: 0; background: transparent; cursor: pointer; }
.intro-chapters .chapter-end { margin-right: 10px; }
.intro-chapters span { display: block; height: 2px; border-radius: 2px; background: rgba(237,244,241,.3); }
.intro-chapters [aria-pressed="true"] span { background: #edf4f1; }
.intro-pause { min-width: 52px; min-height: 44px; padding: 8px 0; border: 0; background: transparent; font: inherit; color: #edf4f1; cursor: pointer; }
.exit-workspace { color: var(--experience-ink); background: #eef3f6; }
.exit-workspace .experience-backdrop { opacity: .68; }
.exit-workspace .experience-shade { background: linear-gradient(180deg, rgba(239,245,247,.82), rgba(239,245,247,.94) 75%); }
.exit-workspace .experience-header { position: sticky; top: 0; min-height: 72px; background: rgba(246,250,252,.83); backdrop-filter: blur(24px); border-bottom: 1px solid rgba(16,34,58,.06); }
.exit-workspace .experience-wordmark-dot { background: #57958b; }
.workspace-actions { display: flex; align-items: center; gap: 22px; }
.workspace-actions a { color: inherit; text-decoration: none; }
.workspace-search, .workspace-logout { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0; background: none; border: 0; font: inherit; color: var(--experience-ink); cursor: pointer; }
.workspace-search svg, .workspace-logout svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.workspace-user { font-size: var(--experience-micro); color: var(--experience-muted); }
.workspace-logout { min-width: 36px; }
.exit-workspace .exit-shell { margin-left: 0; padding-top: 0; }
.exit-workspace .stats-shell::before { display: none; }
.exit-workspace .stats-page { padding-top: 48px; padding-bottom: calc(156px + env(safe-area-inset-bottom)); }
.exit-workspace .stats-title { font-weight: 500; color: var(--experience-ink); letter-spacing: -1px; }
.exit-workspace .exit-group { background: rgba(251,253,254,.9); box-shadow: 0 8px 26px rgba(23,51,65,.035); }
.exit-workspace .exit-filters { background: rgba(251,253,254,.84); }
.exit-workspace .company-search-modal { z-index: 60; padding: 24px; }
.exit-workspace .company-search-card { transform: none; }
.exit-dock { position: fixed; z-index: 30; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 6px; width: max-content; max-width: calc(100% - 32px); padding: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: linear-gradient(135deg, rgba(30,48,60,.97), rgba(16,32,46,.96)); backdrop-filter: blur(24px); box-shadow: 0 14px 38px rgba(12,29,42,.2), 0 3px 10px rgba(12,29,42,.08); font: var(--experience-micro)/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.dock-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 78px; height: 58px; padding: 8px 10px; border: 0; border-radius: 17px; background: none; color: #c8d5df; text-decoration: none; font: inherit; cursor: pointer; transition: background-color .18s, color .18s, transform .18s; }
.dock-item svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.dock-item:hover, .dock-item[aria-expanded="true"] { color: #fff; background: rgba(225,239,244,.08); transform: translateY(-2px); }
.dock-item.is-current { color: #1a434a; background: #e4eee9; }
.dock-item.is-current:hover { background: #edf5f1; }
.dock-divider { height: 26px; width: 1px; background: rgba(220,233,243,.15); margin: 0 2px; }
.dock-more { position: relative; }
.dock-panel { position: absolute; bottom: calc(100% + 20px); right: -7px; width: 228px; padding: 7px; border: 1px solid rgba(218,232,241,.2); border-radius: 20px; background: #1b2e3d; box-shadow: 0 14px 36px rgba(12,29,42,.18); }
.dock-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 10px 13px; border-radius: 13px; color: #e3ebf0; text-decoration: none; font-size: var(--experience-body); }
.dock-panel a:hover { background: rgba(225,239,244,.08); color: #fff; }
.dock-panel a span { color: #92adb9; }
.exit-intro [hidden], .exit-dock [hidden] { display: none !important; }
@media (max-width: 767px) {
  .experience-header { min-height: 72px; padding: 0 24px; }
  .intro-layout { min-height: calc(100svh - 164px); grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 24px; }
  .intro-title { font-size: 48px; }
  .intro-login { width: 100%; max-width: 420px; justify-self: end; padding: 26px; }
  .intro-form input:not([type="hidden"]) { font-size: 16px; }
  .intro-controls { padding-left: 24px; padding-right: 24px; gap: 8px; }
  .intro-chapters { gap: 2px; }
  .intro-chapters button { width: 24px; }
  .intro-chapters .chapter-end { margin-right: 6px; }
  .exit-workspace .experience-header { padding: 0 20px; }
  .experience-wordmark { font-size: 20px; }
  .workspace-actions { gap: 12px; }
  .workspace-search span, .workspace-user { display: none; }
  .workspace-search { min-width: 36px; }
  .exit-workspace .stats-page { padding: 28px 16px calc(136px + env(safe-area-inset-bottom)); }
  .exit-dock { bottom: calc(16px + env(safe-area-inset-bottom)); width: 390px; gap: 3px; padding: 6px; border-radius: 22px; }
  .dock-item, .dock-more { flex: 1; width: auto; min-width: 0; }
  .dock-more .dock-item { width: 100%; }
  .dock-item { padding: 8px 3px; height: 56px; }
  .dock-divider { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dock-item { transition: none; }
  .dock-item:hover { transform: none; }
}
