@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  color-scheme: light;
  --ink: #10120f;
  --muted: #6d7468;
  --line: rgba(198, 255, 69, 0.18);
  --paper: #eef2e9;
  --panel: rgba(255, 255, 255, 0.58);
  --panel-solid: #ffffff;
  --soft: #f0f2ee;
  --accent: #00a88f;
  --accent-strong: #006f62;
  --blue: #2457ff;
  --lime: #c6ff45;
  --lime-soft: #eaff9c;
  --coral: #ff6b4a;
  --gold: #c98b1e;
  --danger: #b42318;
  --glass-edge: rgba(255, 255, 255, 0.62);
  --glass-surface: rgba(255, 255, 255, 0.48);
  --shadow: 0 24px 80px rgba(5, 5, 5, 0.13);
  --shadow-hover: 0 34px 100px rgba(5, 5, 5, 0.22);
  --radius: 8px;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(198, 255, 69, 0.34), transparent 26vw),
    radial-gradient(circle at 88% 7%, rgba(0, 168, 143, 0.26), transparent 24vw),
    radial-gradient(circle at 48% 46%, rgba(36, 87, 255, 0.1), transparent 30vw),
    radial-gradient(circle at 72% 92%, rgba(5, 5, 5, 0.1), transparent 28vw),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(233, 240, 226, 0.84)),
    var(--paper);
  font-feature-settings: "ss01" 1, "cv05" 1;
}

h1,
h2,
h3,
h4,
.brand h1,
.hero-main h3,
.login-card h3 {
  font-family: Sora, "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(5, 5, 5, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 5, 5, 0.052) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 78%);
}

body.foundergps-mode {
  background:
    linear-gradient(180deg, #f7faf5 0%, #edf4ee 52%, #e8f0ec 100%);
}

body.foundergps-mode::before {
  opacity: 0.34;
  background-size: 56px 56px;
}

a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--blue);
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid rgba(198, 255, 69, 0.2);
  background:
    radial-gradient(circle at 34% 3%, rgba(198, 255, 69, 0.22), transparent 21%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(238, 242, 233, 0.36));
  backdrop-filter: blur(30px) saturate(1.28);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.46);
}

.brand {
  display: grid;
  gap: 10px;
  align-items: start;
  margin-bottom: 24px;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(198, 255, 69, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 20%, rgba(198, 255, 69, 0.16), transparent 34%),
    linear-gradient(135deg, #050505, #111111);
  box-shadow: 0 20px 58px rgba(5, 5, 5, 0.18), 0 0 44px rgba(198, 255, 69, 0.12);
  overflow: hidden;
}

.brand-logo {
  width: min(238px, 100%);
  height: auto;
  display: block;
}

.brand-wordmark {
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 18px;
  align-content: end;
  border: 1px solid rgba(0, 111, 98, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(235, 246, 241, 0.82));
  box-shadow: 0 16px 42px rgba(5, 5, 5, 0.08);
}

.brand-wordmark span {
  color: var(--accent-strong);
  font-family: Sora, "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.brand-wordmark strong {
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand h1,
.topbar h2 {
  margin: 0;
  letter-spacing: 0;
  font-weight: 800;
}

.brand h1 {
  max-width: 240px;
  font-size: 0.98rem;
  line-height: 1.05;
  color: var(--muted);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-list {
  display: grid;
  gap: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nav-item.active {
  border-color: rgba(198, 255, 69, 0.46);
  background:
    linear-gradient(135deg, rgba(198, 255, 69, 0.24), rgba(255, 255, 255, 0.68));
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nav-item:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 168, 143, 0.22);
  background: rgba(255, 255, 255, 0.64);
}

.nav-item.locked {
  color: rgba(109, 116, 104, 0.56);
}

.nav-item.locked:hover {
  transform: none;
  border-color: rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.38);
}

.nav-lock {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: currentColor;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logged-out .mobile-nav {
  display: none;
}

.logged-out #loginButton {
  display: none;
}

.logged-out .sidebar {
  display: none;
}

.logged-out .app-shell {
  display: block;
}

.logged-out main {
  min-height: 100vh;
  padding: 0;
}

.logged-out .topbar {
  display: none;
}

.logged-out .view {
  max-width: none;
  min-height: 100vh;
}

main {
  min-width: 0;
  padding: 22px clamp(16px, 3vw, 38px) 72px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0 auto 18px;
  max-width: 1180px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.danger-lite {
  border-color: rgba(180, 35, 24, 0.18);
  color: var(--danger);
}

.danger-lite:hover {
  border-color: rgba(180, 35, 24, 0.3);
  background: rgba(255, 241, 240, 0.76);
}

.view {
  max-width: 1180px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-dashboard {
  display: grid;
  gap: 14px;
}

.workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: auto;
}

.workspace-head h3 {
  margin: 0 0 6px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 0.98;
}

.workspace-head p {
  max-width: 760px;
  margin: 0;
}

.workspace-status {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 220px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 14px;
  align-items: start;
}

.workspace-grid .notice {
  grid-column: 2;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 14px;
  align-items: start;
}

.founder-onboarding {
  gap: 16px;
}

.activation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 34px);
  border-color: rgba(0, 111, 98, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 244, 0.88));
}

.activation-hero h3 {
  max-width: 780px;
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 0.96;
  text-wrap: balance;
}

.activation-hero p {
  max-width: 680px;
  font-size: 1.03rem;
  line-height: 1.55;
}

.activation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.activation-score {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(0, 111, 98, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
}

.activation-score span {
  font-family: Sora, "Plus Jakarta Sans", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.activation-score strong {
  color: var(--ink);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activation-score small {
  color: var(--muted);
  line-height: 1.45;
}

.activation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 14px;
  align-items: start;
}

.activation-roadmap,
.locked-preview-grid {
  grid-column: 1;
}

.activation-profile {
  grid-column: 2;
  grid-row: span 2;
}

.onboarding-steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.onboarding-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(0, 111, 98, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
}

.onboarding-step > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
}

.onboarding-step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.onboarding-step p,
.onboarding-step small {
  display: block;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.onboarding-step.locked {
  background: rgba(255, 255, 255, 0.58);
}

.onboarding-step.locked > span {
  background: rgba(16, 18, 15, 0.18);
}

.startup-snapshot-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.startup-snapshot-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.startup-snapshot-list strong {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.startup-snapshot-list span {
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.locked-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.locked-preview {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(245, 248, 244, 0.68));
}

.locked-preview:not(.available) {
  opacity: 0.72;
}

.locked-preview.available {
  border-color: rgba(0, 168, 143, 0.28);
}

.unlock-modal-card {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(0, 111, 98, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.unlock-modal-card > span {
  font-family: Sora, "Plus Jakarta Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.unlock-modal-card p {
  margin: 4px 0 0;
}

.startup-summary {
  min-height: 100%;
}

.foundergps-head {
  border-color: rgba(0, 168, 143, 0.26);
  background:
    radial-gradient(circle at 92% 8%, rgba(198, 255, 69, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(238, 250, 246, 0.62));
}

.startup-portfolio-main {
  grid-column: 1 / -1;
}

.startup-portfolio-card {
  min-height: 360px;
}

.portfolio-summary {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.portfolio-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.portfolio-meta-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-meta-grid p {
  display: grid;
  gap: 4px;
  min-height: 72px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(0, 111, 98, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
}

.portfolio-meta-grid strong {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-meta-grid span {
  color: var(--ink);
  font-weight: 900;
}

.profile-progress {
  height: 9px;
  margin: 16px 0 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 111, 98, 0.1);
}

.profile-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--brand-deep), var(--brand), var(--lime));
}

.portfolio-assets {
  display: grid;
  gap: 10px;
}

.portfolio-assets a {
  color: var(--ink);
  text-decoration: none;
}

.portfolio-assets .card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.journey-steps {
  display: grid;
  gap: 10px;
  margin: 12px 0 16px;
}

.journey-steps div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(0, 111, 98, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.journey-steps div.done {
  border-color: rgba(0, 168, 143, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.7);
}

.journey-steps strong {
  color: var(--ink);
}

.journey-steps span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.event-card {
  min-height: 360px;
}

.founder-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.founder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.founder-chip {
  max-width: 100%;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(0, 111, 98, 0.16);
}

.founder-mentors {
  grid-column: 1 / -1;
}

.mentor-picks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.modal-mentor-picks {
  margin-top: 14px;
}

.extra-mentorship-panel {
  margin-top: 14px;
}

.compact-info {
  margin: 12px 0;
}

.mentor-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 320px;
  overflow: auto;
  padding: 2px;
}

.mentor-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px;
  min-height: 68px;
  padding: 10px;
  border: 1px solid rgba(0, 111, 98, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  cursor: pointer;
}

.mentor-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.mentor-checkbox small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.35;
}

.modal-actions {
  justify-content: flex-end;
  margin-top: 14px;
}

.mentorship-agenda {
  display: grid;
  gap: 12px;
  margin: 14px 0 16px;
}

.mentorship-day-group {
  display: grid;
  gap: 8px;
}

.mentorship-day-head {
  padding: 0 2px;
}

.mentorship-day-head h4 {
  margin: 0;
  font-size: 0.96rem;
}

.mentorship-day-list {
  display: grid;
  gap: 8px;
}

.empty-card {
  background: rgba(255, 255, 255, 0.36);
  border-style: dashed;
}

.confirmed-mentorship {
  border-color: rgba(0, 111, 98, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(232, 246, 241, 0.94), rgba(255, 255, 255, 0.72));
}

.confirmed-mentorship::before {
  background: linear-gradient(90deg, rgba(0, 111, 98, 0.7), rgba(198, 255, 69, 0.7));
}

.mentorship-card-closed {
  border-color: rgba(94, 100, 92, 0.18);
  background:
    linear-gradient(135deg, rgba(236, 239, 234, 0.9), rgba(255, 255, 255, 0.64));
  box-shadow: none;
  opacity: 0.68;
}

.mentorship-card-closed::before {
  background: linear-gradient(90deg, rgba(120, 128, 116, 0.45), rgba(181, 188, 176, 0.4));
}

.mentorship-card-closed .mentorship-card-action,
.mentorship-card-closed button[data-update-request] {
  display: none;
}

.mentorship-card-active {
  border-color: rgba(0, 111, 98, 0.38);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.42), transparent 38%),
    linear-gradient(135deg, rgba(221, 248, 238, 0.98), rgba(255, 255, 255, 0.82));
  box-shadow: 0 18px 44px rgba(0, 72, 62, 0.16);
}

.mentorship-card-active::before {
  background: linear-gradient(90deg, rgba(0, 92, 79, 0.9), rgba(198, 255, 69, 0.9));
}

.muted-tag {
  color: #5f665d;
  background: rgba(111, 118, 106, 0.12);
  border-color: rgba(111, 118, 106, 0.18);
}

.mentorship-card-controls {
  justify-content: flex-end;
}

.mentorship-card-action {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.mentor-choice-note {
  margin-bottom: 12px;
}

.mentor-pick {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(16, 18, 15, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
}

.mentor-pick.actionable {
  cursor: pointer;
  outline: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.mentor-pick.actionable:hover,
.mentor-pick.actionable:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 111, 98, 0.38);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(0, 111, 98, 0.14);
}

.mentor-pick-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  white-space: nowrap;
  border: 1px solid rgba(0, 111, 98, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(198, 255, 69, 0.2));
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 900;
}

.mentor-pick-cta::after {
  content: ">";
  margin-left: 8px;
}

.mentor-pick p {
  margin: 4px 0 0;
}

.match-reason {
  margin: 8px 0 0;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.recommendation-box {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(0, 111, 98, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(232, 246, 241, 0.68));
}

.recommendation-box p {
  margin: 0;
  color: var(--muted);
}

.match-matrix {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.match-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(16, 18, 15, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.match-row p {
  margin: 4px 0 0;
}

.match-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pitch-hero h3 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
}

.pitch-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.pitch-rules span {
  min-height: 64px;
  padding: 10px;
  border: 1px solid rgba(16, 18, 15, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.pitch-rules strong {
  display: block;
  color: var(--ink);
  font-size: 1.18rem;
}

.criteria-list {
  display: grid;
  gap: 10px;
}

.criteria-list div,
.ranking-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.criteria-list strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.criteria-list span,
.field-hint {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.pitch-finalist-card {
  min-height: 260px;
}

.pitch-ranking {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.ranking-row {
  grid-template-columns: 28px minmax(0, 1fr) auto auto;
  align-items: center;
}

.ranking-row span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 168, 143, 0.12);
  color: var(--brand);
  font-weight: 900;
}

.ranking-row em {
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}

.ranking-row small {
  color: var(--muted);
}

.mini-timeline {
  display: grid;
  gap: 8px;
}

.mini-timeline-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(16, 18, 15, 0.08);
}

.mini-timeline-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.mini-timeline-item strong,
.mini-timeline-item p {
  margin: 0;
}

.info-list {
  display: grid;
  gap: 10px;
}

.info-list p {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}

.info-list span {
  color: var(--muted);
}

.module-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.module-stats span {
  min-height: 58px;
  padding: 9px;
  border: 1px solid rgba(16, 18, 15, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.module-stats strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.mentor-startup-card {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.startup-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.startup-brief-grid p {
  display: grid;
  gap: 4px;
  min-height: 68px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(16, 18, 15, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
}

.startup-brief-grid span,
.mentor-context-block p {
  color: var(--muted);
}

.mentor-context-block {
  padding: 12px;
  border-left: 3px solid var(--green);
  background: rgba(246, 250, 246, 0.78);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.mentor-context-block h4,
.mentor-context-block p {
  margin: 0;
}

.mentor-context-block h4 {
  margin-bottom: 6px;
}

.mentor-feedback-form {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.hero-main,
.card,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% -8%, rgba(198, 255, 69, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.38)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(1.35);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
  overflow: hidden;
}

.hero-main {
  min-height: 276px;
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.9), rgba(0, 111, 98, 0.64)),
    radial-gradient(circle at 78% 18%, rgba(198, 255, 69, 0.48), transparent 18vw),
    radial-gradient(circle at 18% 78%, rgba(0, 168, 143, 0.5), transparent 20vw),
    radial-gradient(circle at 96% 94%, rgba(36, 87, 255, 0.34), transparent 16vw),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: white;
  overflow: hidden;
  position: relative;
}

.hero-main::after {
  position: absolute;
  inset: auto 28px 24px auto;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.36) 49%, rgba(255, 255, 255, 0.36) 51%, transparent 52%),
    linear-gradient(transparent 48%, rgba(255, 255, 255, 0.36) 49%, rgba(255, 255, 255, 0.36) 51%, transparent 52%);
  opacity: 0.72;
  animation: floatMark 8s ease-in-out infinite;
}

.hero-main h3 {
  margin: 0 0 12px;
  max-width: 780px;
  font-size: clamp(2.2rem, 6vw, 5.7rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 800;
  text-wrap: balance;
}

.hero-main p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.login-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.login-card {
  display: grid;
  gap: 14px;
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 12px;
  background:
    radial-gradient(circle at 86% -10%, rgba(198, 255, 69, 0.3), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(0, 168, 143, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.46));
  box-shadow: 0 34px 110px rgba(5, 5, 5, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(30px) saturate(1.35);
  -webkit-backdrop-filter: blur(30px) saturate(1.35);
}

.login-card h3 {
  margin: 0;
  font-size: 1.86rem;
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
}

.login-card p {
  margin: 0;
}

.login-code-step {
  display: grid;
  gap: 12px;
}

.login-code-step[hidden] {
  display: none;
}

.login-code-actions {
  align-items: center;
}

.login-logo-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 112px;
  padding: 18px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 84% 18%, rgba(198, 255, 69, 0.3), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(0, 168, 143, 0.18), transparent 30%),
    #050505;
  box-shadow: 0 20px 56px rgba(5, 5, 5, 0.22), 0 0 44px rgba(198, 255, 69, 0.12);
  overflow: hidden;
}

.login-logo {
  width: min(320px, 100%);
  height: auto;
  display: block;
}

.login-footnote {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

.hero-side {
  display: grid;
  gap: 12px;
}

.card,
.panel,
.timeline-item {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card::before,
.panel::before,
.timeline-item::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.74), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(198, 255, 69, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 42%);
  opacity: 0.68;
  mix-blend-mode: screen;
}

.card > *,
.panel > * {
  position: relative;
  z-index: 1;
}

.card:hover,
.panel:hover,
.timeline-item:hover {
  transform: translateY(-3px) scale(1.002);
  border-color: rgba(198, 255, 69, 0.42);
  box-shadow: var(--shadow-hover);
}

body.foundergps-mode .panel:hover,
body.foundergps-mode .card:hover {
  transform: none;
  border-color: rgba(0, 111, 98, 0.2);
  box-shadow: var(--shadow);
}

.card,
.panel {
  padding: 16px;
  position: relative;
}

.card.compact {
  padding: 12px;
}

.card h3,
.card h4,
.panel h3,
.section-title {
  margin: 0 0 10px;
  letter-spacing: 0;
  font-weight: 700;
}

.section-title {
  font-size: 1.18rem;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.88rem;
}

.stat {
  display: grid;
  gap: 2px;
  min-height: 104px;
}

.stat strong {
  font-size: 1.92rem;
  line-height: 1;
  font-weight: 900;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.between {
  justify-content: space-between;
}

.compact-row {
  gap: 6px;
  margin-bottom: 8px;
}

.stack-tags {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 111, 98, 0.36);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.56), transparent 32%),
    linear-gradient(135deg, #050505, var(--accent-strong) 54%, var(--accent));
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 111, 98, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-110%);
  transition: transform 360ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0, 111, 98, 0.22);
}

.button:hover::before {
  transform: translateX(110%);
}

.button.full {
  width: 100%;
}

.login-divider {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: .78rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: .08em;
  margin: 6px 0;
  text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
  background: rgba(18, 32, 29, .12);
  content: "";
  flex: 1;
  height: 1px;
}

.button.ghost {
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.46));
  color: var(--ink);
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(1.2);
}

.button.blue {
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), #00a5ff);
}

.button.warn {
  border-color: var(--gold);
  background: #fff7e6;
  color: #7a4a00;
}

.button.danger {
  border-color: #fecaca;
  background: #fff1f0;
  color: var(--danger);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46);
}

.tag.good {
  border-color: rgba(0, 168, 143, 0.22);
  background: rgba(0, 168, 143, 0.11);
  color: var(--accent-strong);
}

.tag.blue {
  border-color: rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.tabs,
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tab,
.filter {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48));
  padding: 8px 11px;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.tab:hover,
.filter:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 168, 143, 0.22);
}

.tab.active,
.filter.active {
  border-color: rgba(198, 255, 69, 0.62);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.34), transparent 34%),
    rgba(0, 168, 143, 0.12);
  color: #064f46;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.42)),
    var(--panel);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  overflow: hidden;
}

.timeline-item::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: linear-gradient(var(--lime), var(--accent), var(--blue));
}

.time {
  color: var(--accent-strong);
  font-weight: 900;
}

.speaker-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.speaker-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 5px;
  border: 1px solid rgba(16, 18, 15, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
}

.speaker-contact strong {
  padding: 0 3px;
  font-size: 0.84rem;
}

.list {
  display: grid;
  gap: 10px;
}

.profile-card {
  display: grid;
  gap: 10px;
}

.profile-card p {
  margin: 0;
}

.directory-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.material-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(0, 111, 98, 0.78)),
    radial-gradient(circle at 88% 24%, rgba(198, 255, 69, 0.42), transparent 18vw),
    radial-gradient(circle at 16% 86%, rgba(36, 87, 255, 0.24), transparent 16vw);
  color: white;
}

.material-hero .muted {
  color: rgba(255, 255, 255, 0.74);
}

.material-hero .eyebrow {
  color: var(--lime);
}

.material-stats {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.material-hero h3 {
  max-width: 780px;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1;
}

.material-card {
  min-height: 360px;
  align-content: start;
}

.material-card h3 {
  font-size: 1.42rem;
  line-height: 1.05;
}

.material-insight {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(0, 168, 143, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 96% 0%, rgba(198, 255, 69, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(198, 255, 69, 0.14), rgba(0, 168, 143, 0.08)),
    rgba(255, 255, 255, 0.6);
}

.material-insight span {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-insight strong {
  line-height: 1.25;
}

.material-insight.large {
  margin: 14px 0;
  padding: 16px;
}

.material-reader {
  display: grid;
  gap: 12px;
}

.material-reader h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.material-reader h3 {
  margin: 12px 0 0;
  font-size: 1.18rem;
}

.reader-section {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  backdrop-filter: blur(16px) saturate(1.2);
}

.reader-section h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.reader-section p {
  margin: 0;
  color: var(--muted);
}

.diagnosis-reader {
  max-width: 880px;
}

.pitch-review-reader {
  gap: 14px;
}

.plano180-reader {
  max-width: 980px;
}

.plano180-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.plano180-phase {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(0, 168, 143, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(236, 249, 245, 0.54));
}

.plano180-phase h4,
.plano180-phase p {
  margin: 0;
}

.plano180-phase h4 {
  font-size: 1rem;
}

.pitch-score-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(0, 168, 143, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(0, 168, 143, 0.13), rgba(255, 255, 255, 0.72));
}

.pitch-score-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pitch-score-card strong {
  color: var(--ink);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.9;
}

.diagnosis-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 8px;
}

.diagnosis-meta span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54));
  color: var(--muted);
  font-size: 0.86rem;
}

.diagnosis-meta strong {
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.diagnosis-section {
  display: grid;
  gap: 8px;
}

.diagnosis-section h3 {
  margin-top: 0;
}

.framework-section {
  border-color: rgba(198, 255, 69, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.54));
}

.check-list,
.prompt-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.check-list li,
.prompt-list li {
  padding-left: 4px;
}

.searchbar {
  width: 100%;
  min-height: 42px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
  backdrop-filter: blur(14px) saturate(1.16);
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
  color: var(--ink);
  padding: 10px 11px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(0, 168, 143, 0.64);
  box-shadow: 0 0 0 4px rgba(0, 168, 143, 0.12);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(23, 22, 21, 0.46);
  z-index: 20;
}

.modal.hidden {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(860px, calc(100vh - 32px));
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.52);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.44));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  padding: 22px;
}

.modal-panel:has(.diagnosis-reader) {
  width: min(940px, 100%);
}

.modal-panel:has(.gallery-lightbox) {
  width: min(1120px, 100%);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48));
  color: var(--ink);
  cursor: pointer;
  font-size: 1.3rem;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.mobile-nav {
  display: none;
}

.notice {
  border-left: 4px solid var(--accent);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 69, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(0, 168, 143, 0.1), rgba(198, 255, 69, 0.12)),
    rgba(255, 255, 255, 0.74);
}

.empty {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.admin-table {
  display: grid;
  gap: 8px;
}

.admin-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48));
  backdrop-filter: blur(14px) saturate(1.16);
}

.admin-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.admin-mini-row:last-child {
  border-bottom: 0;
}

.admin-wide {
  grid-column: 1 / -1;
}

.pending-mentor-grid {
  margin-top: 12px;
}

.stack-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.stack-list .card {
  box-shadow: none;
}

.agenda-admin-table {
  margin-top: 12px;
}

.agenda-admin-row {
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr) auto;
}

.gallery-folder {
  display: grid;
  gap: 14px;
}

.gallery-folder-switcher {
  display: grid;
  gap: 14px;
}

.gallery-folder-switcher-head {
  align-items: flex-end;
}

.gallery-folder-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 12px;
  overflow-x: auto;
  padding: 3px 3px 10px;
  scroll-snap-type: x proximity;
}

.gallery-folder-tab {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(0, 168, 143, 0.22);
  border-radius: calc(var(--radius) - 4px);
  color: var(--ink);
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52));
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.gallery-folder-tab:hover,
.gallery-folder-tab:focus-visible {
  border-color: rgba(0, 168, 143, 0.56);
  box-shadow: 0 14px 34px rgba(6, 27, 25, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.gallery-folder-tab.is-active {
  border-color: rgba(0, 168, 143, 0.86);
  background:
    radial-gradient(circle at 90% 10%, rgba(198, 255, 69, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(240, 255, 250, 0.96), rgba(255, 255, 255, 0.78));
  box-shadow: 0 16px 42px rgba(0, 168, 143, 0.18);
}

.gallery-folder-tab-cover {
  display: grid;
  place-items: center;
  width: 62px;
  height: 58px;
  overflow: hidden;
  border-radius: 10px;
  color: var(--brand-deep);
  font-weight: 900;
  background:
    radial-gradient(circle at 76% 18%, rgba(198, 255, 69, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(0, 168, 143, 0.18), rgba(255, 255, 255, 0.72));
}

.gallery-folder-tab-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-folder-tab-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.gallery-folder-tab-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-folder-tab-copy small {
  color: var(--muted);
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.gallery-photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.5));
  box-shadow: var(--shadow-soft);
}

.gallery-photo-preview {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: rgba(0, 168, 143, 0.1);
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-photo-placeholder,
.gallery-lightbox-placeholder {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 18px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  background:
    radial-gradient(circle at 85% 15%, rgba(198, 255, 69, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(226, 237, 230, 0.72));
}

.gallery-lightbox-placeholder {
  width: 100%;
  min-height: min(56vh, 540px);
}

.gallery-photo-preview:hover img,
.gallery-photo-preview:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.03);
}

.gallery-photo-meta {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.gallery-photo-meta strong {
  overflow-wrap: anywhere;
}

.gallery-download-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.gallery-lightbox {
  display: grid;
  gap: 16px;
}

.gallery-lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(68vh, 660px);
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(135deg, rgba(4, 19, 18, 0.94), rgba(10, 52, 44, 0.86));
}

.gallery-lightbox-stage img {
  width: 100%;
  height: 100%;
  max-height: min(68vh, 660px);
  object-fit: contain;
  display: block;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-50%);
  box-shadow: var(--shadow-soft);
}

.gallery-lightbox-nav.previous {
  left: 14px;
}

.gallery-lightbox-nav.next {
  right: 14px;
}

.gallery-lightbox-actions {
  display: none;
}

@keyframes floatMark {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-10px, 8px, 0) rotate(8deg);
  }
}

@media (max-width: 980px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    display: none;
  }

  main {
    padding-bottom: 112px;
  }

  .hero,
  .workspace-grid,
  .founder-grid,
  .activation-hero,
  .activation-layout,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .activation-roadmap,
  .activation-profile,
  .locked-preview-grid {
    grid-column: auto;
    grid-row: auto;
  }

  .locked-preview-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-grid .notice {
    grid-column: auto;
  }

  .founder-mentors {
    grid-column: auto;
  }

  .mentor-picks {
    grid-template-columns: 1fr;
  }

  .mentor-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .startup-brief-grid,
  .diagnosis-meta,
  .portfolio-meta-grid,
  .portfolio-meta-grid.compact,
  .plano180-timeline,
  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 242, 233, 0.72));
    backdrop-filter: blur(18px) saturate(1.25);
    z-index: 10;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav .nav-item {
    flex: 0 0 76px;
    display: grid;
    gap: 2px;
    justify-items: center;
    min-height: 52px;
    padding: 7px 4px;
    font-size: 0.7rem;
    text-align: center;
  }

  .mobile-nav .nav-icon {
    width: 22px;
    height: 22px;
  }

  .mobile-nav .nav-icon svg {
    width: 19px;
    height: 19px;
  }

  .ranking-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .ranking-row em,
  .ranking-row small {
    grid-column: 2;
  }

  .gallery-lightbox-stage {
    min-height: 360px;
  }

  .gallery-folder-tabs {
    grid-auto-columns: minmax(190px, 78vw);
  }
}

@media (max-width: 620px) {
  main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar {
    align-items: flex-start;
  }

  .account-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .topbar h2 {
    font-size: 1.35rem;
  }

  .hero-main {
    min-height: 340px;
  }

  .workspace-head,
  .info-list p,
  .mini-timeline-item {
    grid-template-columns: 1fr;
  }

  .workspace-head {
    display: grid;
  }

  .workspace-status {
    justify-content: flex-start;
    min-width: 0;
  }

  .metric-strip,
  .module-stats,
  .pitch-rules {
    grid-template-columns: 1fr;
  }

  .mentor-pick {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline-item,
  .admin-row,
  .match-row {
    grid-template-columns: 1fr;
  }

  .stack-tags {
    align-items: flex-start;
  }

  .gallery-folder-switcher-head {
    align-items: flex-start;
  }

  .gallery-folder-tab {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 70px;
  }

  .gallery-folder-tab-cover {
    width: 54px;
    height: 52px;
  }

  .gallery-lightbox-nav {
    display: none;
  }

  .gallery-lightbox-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-lightbox-stage {
    min-height: 280px;
  }

  .button {
    width: 100%;
  }
}

/* FounderGPS public diagnostic */
.public-assessment[hidden],
#appShell[hidden],
#mobileNav[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.public-diagnosis-mode,
html:has(body.public-diagnosis-mode) {
  color-scheme: dark;
  background: #202028;
}

body.public-diagnosis-mode {
  min-width: 320px;
  color: #f5f5f7;
  background: #202028;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: normal;
}

body.public-diagnosis-mode::before {
  display: none;
}

.public-assessment {
  min-height: 100vh;
  color: #f5f5f7;
  background: #202028;
}

.public-diagnosis-shell {
  min-height: 100vh;
  overflow: hidden;
  background: #202028;
}

.public-diagnosis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 18px 44px;
  border-bottom: 1px solid #383841;
  background: #202028;
}

.public-diagnosis-brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  color: #f5f5f7;
}

.public-diagnosis-brand:hover {
  color: #c8f800;
}

.public-diagnosis-brand img {
  display: block;
  width: 126px;
  height: auto;
}

.public-diagnosis-brand span {
  padding-left: 20px;
  border-left: 1px solid #4a4a53;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.public-diagnosis-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #50505a;
  border-radius: 4px;
  color: #f5f5f7;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
}

.public-diagnosis-login:hover {
  border-color: #c8f800;
  color: #c8f800;
}

.public-diagnosis-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 28px 48px 22px;
  border-bottom: 1px solid #383841;
  background: #202028;
}

.public-progress-step > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  color: #707079;
}

.public-progress-step span {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
}

.public-progress-step strong {
  overflow: hidden;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-progress-step i {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 11px;
  background: #3c3c45;
}

.public-progress-step.active > div,
.public-progress-step.complete > div {
  color: #f5f5f7;
}

.public-progress-step.active i {
  background: #c8f800;
}

.public-progress-step.complete i {
  background: #7f9d1f;
}

.public-code-label {
  margin: 0 0 18px;
  color: #c8f800;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.public-question-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(330px, 2fr);
  min-height: calc(100vh - 184px);
}

.public-question-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 52px 5.2vw 38px 4.2vw;
  border-right: 1px solid #383841;
}

.public-question-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.public-question-heading > div {
  max-width: 760px;
}

.public-question-heading h1,
.public-lead-promise h1,
.public-result-main > h1 {
  margin: 0;
  color: #f5f5f7;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.4rem, 4.7vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.public-question-heading > div > p:last-child {
  max-width: 700px;
  margin: 20px 0 0;
  color: #a8a8af;
  font-size: 1rem;
  line-height: 1.55;
}

.public-question-count {
  flex: 0 0 auto;
  padding-top: 4px;
  color: #7c7c85;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

.public-choice-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 900px;
}

.public-choice-list.dense {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-choice {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid #44444e;
  border-left: 3px solid #44444e;
  border-radius: 3px;
  color: #d8d8dc;
  background: #27272f;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.public-choice:hover {
  border-color: #797982;
  background: #2c2c35;
}

.public-choice:focus-visible,
.public-primary-action:focus-visible,
.public-back-action:focus-visible,
.public-diagnosis-login:focus-visible,
.public-lead-form input:focus-visible,
.public-text-answer-form textarea:focus-visible {
  outline: 3px solid rgba(200, 248, 0, 0.34);
  outline-offset: 2px;
}

.public-choice.selected {
  border-color: #5c6c22;
  border-left-color: #c8f800;
  color: #f5f5f7;
  background: #303428;
}

.public-choice strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.public-choice small {
  color: #6f6f78;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.68rem;
}

.public-radio {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #6d6d76;
  border-radius: 50%;
}

.public-choice.selected .public-radio {
  border-color: #c8f800;
}

.public-choice.selected .public-radio::after {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8f800;
  content: "";
}

.public-back-action {
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  padding: 20px 0 0;
  border: 0;
  color: #8e8e96;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.public-back-action:hover:not(:disabled) {
  color: #f5f5f7;
}

.public-back-action:disabled {
  opacity: 0.28;
  cursor: default;
}

.public-text-answer-form {
  max-width: 900px;
}

.public-text-answer-form textarea {
  display: block;
  width: 100%;
  min-height: 220px;
  resize: vertical;
  padding: 22px;
  border: 1px solid #55555f;
  border-radius: 3px;
  color: #f5f5f7;
  background: #27272f;
  font-size: 1.08rem;
  line-height: 1.55;
}

.public-text-answer-form textarea:focus {
  border-color: #c8f800;
}

.public-text-answer-form p {
  margin: 12px 0 0;
  color: #808089;
  font-size: 0.78rem;
  line-height: 1.5;
}

.public-diagnosis-summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 52px 4.2vw 38px;
  background: #24242c;
}

.public-diagnosis-summary h2 {
  margin: 0;
  color: #f5f5f7;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
}

.public-live-summary {
  margin: 24px 0 0;
}

.public-live-summary > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #3d3d46;
}

.public-live-summary dt,
.public-live-summary dd {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
}

.public-live-summary dt {
  color: #85858d;
}

.public-live-summary dd {
  color: #707079;
}

.public-live-summary dd.known {
  color: #f5f5f7;
  font-weight: 600;
}

.public-result-promise {
  margin-top: 48px;
}

.public-result-promise p {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 16px 0 0;
  color: #d1d1d6;
}

.public-result-promise b {
  width: 44px;
  color: #c8f800;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.public-result-promise span {
  font-size: 0.9rem;
  font-weight: 600;
}

.public-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: auto;
  padding: 14px 22px;
  border: 1px solid #ff5a1f;
  border-radius: 3px;
  color: #151519;
  background: #ff5a1f;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.public-primary-action:hover:not(:disabled) {
  border-color: #ff7948;
  background: #ff7948;
  transform: translateY(-1px);
}

.public-primary-action:disabled {
  border-color: #4b4b54;
  color: #777780;
  background: #34343d;
  cursor: not-allowed;
}

.public-summary-trust {
  margin-top: 13px;
  color: #75757e;
  font-size: 0.7rem;
  text-align: center;
}

.public-flow-error {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 3px solid #ff5a1f;
  color: #ffb69d;
  background: #332620;
  font-size: 0.8rem;
  line-height: 1.45;
}

.public-lead-layout,
.public-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(380px, 2fr);
  min-height: calc(100vh - 184px);
}

.public-lead-promise,
.public-result-main {
  min-width: 0;
  padding: 62px 6vw 54px 4.2vw;
  border-right: 1px solid #383841;
}

.public-lead-promise h1 {
  max-width: 850px;
}

.public-lead-copy,
.public-result-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: #a8a8af;
  font-size: 1.08rem;
  line-height: 1.6;
}

.public-output-sequence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin-top: 44px;
  border: 1px solid #44444e;
  background: #44444e;
}

.public-output-sequence span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 18px;
  color: #d4d4d8;
  background: #27272f;
  font-size: 0.84rem;
  font-weight: 600;
}

.public-output-sequence b {
  color: #c8f800;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2rem;
}

.public-trust-line {
  margin: 18px 0 0;
  color: #777780;
  font-size: 0.74rem;
}

.public-lead-form-wrap,
.public-result-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 62px 4.2vw 54px;
  background: #24242c;
}

.public-lead-form-wrap h2,
.public-result-side > h2 {
  margin: 0;
  color: #f5f5f7;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.public-lead-form-wrap > p:not(.public-code-label) {
  margin: 16px 0 0;
  color: #9898a0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.public-lead-form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.public-lead-form label {
  display: grid;
  gap: 8px;
  color: #b4b4ba;
  font-size: 0.75rem;
  font-weight: 600;
}

.public-lead-form input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #4e4e58;
  border-radius: 3px;
  color: #f5f5f7;
  background: #292931;
}

.public-lead-form input:focus {
  border-color: #c8f800;
}

.public-lead-form .public-primary-action {
  margin-top: 8px;
}

.public-lead-form-wrap > small,
.public-result-side > small {
  display: block;
  margin-top: 16px;
  color: #707079;
  font-size: 0.68rem;
  line-height: 1.5;
}

.public-result-main > h1 {
  max-width: 900px;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
}

.public-result-section {
  max-width: 880px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid #44444e;
}

.public-result-section h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: #f5f5f7;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.public-result-section h2 span {
  color: #c8f800;
  font-size: 1.7rem;
}

.public-result-section ol,
.public-result-section ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 22px;
  color: #d2d2d7;
}

.public-result-section li {
  padding-left: 7px;
  line-height: 1.55;
}

.public-risks h2 span {
  color: #ff5a1f;
}

.public-plan30-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: plan30;
}

.public-plan30-list li {
  position: relative;
  min-height: 66px;
  padding: 17px 16px 17px 56px;
  border: 1px solid #464650;
  border-radius: 3px;
  color: #d2d2d7;
  background: #292931;
  font-size: 0.86rem;
  line-height: 1.5;
  counter-increment: plan30;
}

.public-plan30-list li::before {
  position: absolute;
  top: 18px;
  left: 17px;
  color: #c8f800;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  content: counter(plan30, decimal-leading-zero);
}

.public-material-recommendation {
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding: 16px 0;
  border-top: 1px solid #44444e;
  border-bottom: 1px solid #44444e;
}

.public-material-recommendation strong {
  color: #85858d;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.public-material-recommendation span {
  color: #f5f5f7;
  font-size: 0.88rem;
  line-height: 1.45;
}

.public-result-side .public-primary-action {
  margin-top: auto;
}

.login-product-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 4px;
  color: #f5f5f7;
  background: #202028;
}

.login-product-brand img {
  width: 112px;
  height: auto;
}

.login-product-brand span {
  padding-left: 14px;
  border-left: 1px solid #55555e;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 1050px) {
  .public-question-layout,
  .public-lead-layout,
  .public-result-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, 1fr);
  }

  .public-choice-list.dense {
    grid-template-columns: 1fr;
  }

  .public-question-heading h1,
  .public-lead-promise h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }
}

@media (max-width: 820px) {
  .public-diagnosis-header {
    min-height: 72px;
    padding: 14px 20px;
  }

  .public-diagnosis-brand {
    gap: 12px;
  }

  .public-diagnosis-brand img {
    width: 102px;
  }

  .public-diagnosis-brand span {
    padding-left: 12px;
    font-size: 0.8rem;
  }

  .public-diagnosis-progress {
    gap: 8px;
    padding: 18px 20px 16px;
    overflow: hidden;
  }

  .public-progress-step > div {
    gap: 5px;
  }

  .public-progress-step strong {
    font-size: 0.62rem;
  }

  .public-question-layout,
  .public-lead-layout,
  .public-result-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .public-question-main,
  .public-lead-promise,
  .public-result-main {
    min-height: auto;
    padding: 40px 24px 34px;
    border-right: 0;
    border-bottom: 1px solid #383841;
  }

  .public-question-heading {
    gap: 18px;
  }

  .public-diagnosis-summary,
  .public-lead-form-wrap,
  .public-result-side {
    padding: 36px 24px 40px;
  }

  .public-diagnosis-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .public-diagnosis-summary .public-primary-action,
  .public-summary-trust,
  .public-diagnosis-summary .public-flow-error {
    grid-column: 1 / -1;
  }

  .public-result-promise {
    margin-top: 0;
  }

  .public-back-action {
    margin-top: 24px;
  }

  .public-result-side .public-primary-action {
    margin-top: 32px;
  }
}

/* Final FounderGPS dark pass: keep this after the light public-flow refinements. */
body.foundergps-mode .public-assessment,
body.foundergps-mode .public-diagnosis-shell {
  color: #f5f5f7;
  background: #202028;
}

body.foundergps-mode .public-diagnosis-header,
body.foundergps-mode .public-diagnosis-progress {
  border-color: #383841;
  background: #202028;
}

body.foundergps-mode .public-diagnosis-brand,
body.foundergps-mode .public-diagnosis-brand span,
body.foundergps-mode .public-diagnosis-login,
body.foundergps-mode .public-question-heading h1,
body.foundergps-mode .public-lead-promise h1,
body.foundergps-mode .public-result-main > h1,
body.foundergps-mode .public-diagnosis-summary h2,
body.foundergps-mode .public-lead-form-wrap h2,
body.foundergps-mode .public-result-side > h2,
body.foundergps-mode .public-result-section h2 {
  color: #f5f5f7;
}

body.foundergps-mode .public-diagnosis-brand img {
  filter: none;
}

body.foundergps-mode .public-diagnosis-brand span {
  border-left-color: #4a4a53;
}

body.foundergps-mode .public-diagnosis-login {
  border-color: #50505a;
  background: transparent;
}

body.foundergps-mode .public-progress-step > div,
body.foundergps-mode .public-question-heading > div > p:last-child,
body.foundergps-mode .public-lead-copy,
body.foundergps-mode .public-result-intro,
body.foundergps-mode .public-lead-form label,
body.foundergps-mode .public-lead-form-wrap > p:not(.public-code-label),
body.foundergps-mode .public-lead-form-wrap > small {
  color: #a8a8af;
}

body.foundergps-mode .public-progress-step i {
  background: #3c3c45;
}

body.foundergps-mode .public-progress-step.active i {
  background: #c8f800;
}

body.foundergps-mode .public-question-main,
body.foundergps-mode .public-lead-promise,
body.foundergps-mode .public-result-main {
  border-color: #383841;
}

body.foundergps-mode .public-diagnosis-summary,
body.foundergps-mode .public-lead-form-wrap,
body.foundergps-mode .public-result-side {
  background: #24242c;
}

body.foundergps-mode .public-choice,
body.foundergps-mode .public-output-sequence span,
body.foundergps-mode .public-plan30-list li {
  border-color: #44444e;
  color: #d8d8dc;
  background: #27272f;
  box-shadow: none;
}

body.foundergps-mode .public-choice.selected {
  border-color: #5c6c22;
  border-left-color: #c8f800;
  color: #f5f5f7;
  background: #303428;
}

body.foundergps-mode .public-text-answer-form textarea,
body.foundergps-mode .public-lead-form input {
  border-color: #4e4e58;
  color: #f5f5f7;
  background: #292931;
}

body.foundergps-mode .public-live-summary > div,
body.foundergps-mode .public-material-recommendation {
  border-color: #3d3d46;
}

body.foundergps-mode .public-live-summary dt,
body.foundergps-mode .public-live-summary dd,
body.foundergps-mode .public-summary-trust,
body.foundergps-mode .public-trust-line,
body.foundergps-mode .public-result-side > small {
  color: #808089;
}

body.foundergps-mode .public-live-summary dd.known,
body.foundergps-mode .public-result-promise p,
body.foundergps-mode .public-result-section ol,
body.foundergps-mode .public-result-section ul,
body.foundergps-mode .public-deeper-section p {
  color: #d2d2d7;
}

body.foundergps-mode .public-output-sequence {
  border-color: #44444e;
  background: #44444e;
}

body.foundergps-mode .public-output-sequence b,
body.foundergps-mode .public-result-promise b,
body.foundergps-mode .public-result-section h2 span,
body.foundergps-mode .public-code-label {
  color: #c8f800;
}

/* FounderGPS identity: neutral dark surfaces, lime progress and coral action. */
body.foundergps-mode {
  background: #15171b;
}

body.foundergps-mode .sidebar {
  background: #111318;
}

body.foundergps-mode .brand-wordmark {
  display: grid;
  gap: 8px;
  align-content: center;
  border-color: rgba(200, 248, 0, 0.3);
  background: #181b20;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

body.foundergps-mode .brand-wordmark img {
  display: block;
  width: min(190px, 100%);
  height: auto;
}

body.foundergps-mode .brand-wordmark span {
  color: #c8f800;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
}

body.foundergps-mode .brand-wordmark strong {
  display: none;
}

body.foundergps-mode .topbar,
body.foundergps-mode .panel,
body.foundergps-mode .card,
body.foundergps-mode .notice,
body.foundergps-mode .activation-score,
body.foundergps-mode .portfolio-meta-grid p,
body.foundergps-mode .locked-preview,
body.foundergps-mode .foundergps-head {
  background: #1d2026;
  background-image: none;
}

body.foundergps-mode .activation-hero,
body.foundergps-mode .foundergps-head {
  background: #1d2026;
}

body.foundergps-mode .button:not(.ghost),
body.foundergps-mode .activation-actions .button:first-child {
  border-color: #ff5a1f;
  color: #ffffff;
  background: #ff5a1f;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.18);
}

body.foundergps-mode .button:not(.ghost):hover,
body.foundergps-mode .activation-actions .button:first-child:hover {
  border-color: #ff7948;
  background: #ff7948;
}

body.foundergps-mode .profile-progress span,
body.foundergps-mode .progress-bar span {
  background: #c8f800;
}

body.foundergps-mode .tag.good {
  border-color: rgba(200, 248, 0, 0.34);
  color: #c8f800;
  background: rgba(200, 248, 0, 0.1);
}

body.foundergps-mode .nav-item.active {
  border-color: rgba(200, 248, 0, 0.34);
  background: rgba(200, 248, 0, 0.1);
}

body.foundergps-mode .material-hero,
body.foundergps-mode .reader-section,
body.foundergps-mode .plano180-phase,
body.foundergps-mode .pitch-score-card,
body.foundergps-mode .material-insight,
body.foundergps-mode .plano180-summary-card {
  border-color: rgba(255, 255, 255, 0.11);
  color: #f5f5f7;
  background: #1d2026;
  background-image: none;
  box-shadow: none;
}

body.foundergps-mode .reader-section p,
body.foundergps-mode .plano180-phase p,
body.foundergps-mode .pitch-score-card span {
  color: #b0b0b8;
}

body.foundergps-mode .plano180-phase h4,
body.foundergps-mode .reader-section h3,
body.foundergps-mode .material-reader h2,
body.foundergps-mode .material-reader h3 {
  color: #f5f5f7;
}

body.foundergps-mode .plano180-phase .eyebrow,
body.foundergps-mode .material-hero .eyebrow {
  color: #c8f800;
}

body.foundergps-mode .plano180-timeline {
  gap: 12px;
}

/* Public diagnosis is dark by definition; do not depend on session state. */
.public-assessment,
.public-diagnosis-shell {
  color: #f5f5f7;
  background: #202028;
}

.public-diagnosis-header,
.public-diagnosis-progress {
  border-color: #383841;
  background: #202028;
}

.public-diagnosis-brand,
.public-diagnosis-brand span,
.public-diagnosis-login,
.public-question-heading h1,
.public-lead-promise h1,
.public-result-main > h1,
.public-diagnosis-summary h2,
.public-lead-form-wrap h2,
.public-result-side > h2,
.public-result-section h2 {
  color: #f5f5f7;
}

.public-diagnosis-brand img { filter: none; }
.public-diagnosis-brand span { border-left-color: #4a4a53; }
.public-diagnosis-login { border-color: #50505a; background: transparent; }

.public-progress-step > div,
.public-question-heading > div > p:last-child,
.public-lead-copy,
.public-result-intro,
.public-lead-form label,
.public-lead-form-wrap > p:not(.public-code-label),
.public-lead-form-wrap > small {
  color: #a8a8af;
}

.public-progress-step i { background: #3c3c45; }
.public-progress-step.active i { background: #c8f800; }
.public-question-main,
.public-lead-promise,
.public-result-main { border-color: #383841; }
.public-diagnosis-summary,
.public-lead-form-wrap,
.public-result-side { background: #24242c; }

.public-choice,
.public-output-sequence span,
.public-plan30-list li {
  border-color: #44444e;
  color: #d8d8dc;
  background: #27272f;
  box-shadow: none;
}

.public-choice:hover { border-color: #797982; background: #2c2c35; }
.public-choice.selected { border-color: #5c6c22; border-left-color: #c8f800; color: #f5f5f7; background: #303428; }
.public-text-answer-form textarea,
.public-lead-form input { border-color: #4e4e58; color: #f5f5f7; background: #292931; }
.public-live-summary > div,
.public-material-recommendation { border-color: #3d3d46; }
.public-live-summary dt,
.public-live-summary dd,
.public-summary-trust,
.public-trust-line,
.public-result-side > small { color: #808089; }
.public-live-summary dd.known,
.public-result-promise p,
.public-result-section ol,
.public-result-section ul,
.public-deeper-section p { color: #d2d2d7; }
.public-output-sequence { border-color: #44444e; background: #44444e; }
.public-output-sequence b,
.public-result-promise b,
.public-result-section h2 span,
.public-code-label { color: #c8f800; }

/* Direction 3 remains the canonical public assessment theme. */
.public-assessment { color: #f5f5f7; background: #202028; }
.public-diagnosis-shell { background: #202028; }
.public-diagnosis-header,
.public-diagnosis-progress { border-color: #383841; background: #202028; }
.public-diagnosis-brand { color: #f5f5f7; }
.public-diagnosis-brand:hover { color: #c8f800; }
.public-diagnosis-brand img { filter: none; }
.public-diagnosis-brand span { border-left-color: #4a4a53; color: inherit; }
.public-diagnosis-login { border-color: #50505a; border-radius: 4px; color: #f5f5f7; background: transparent; }
.public-diagnosis-login:hover { border-color: #c8f800; color: #c8f800; background: transparent; }
.public-progress-step > div { color: #707079; }
.public-progress-step i { background: #3c3c45; }
.public-progress-step.active > div,
.public-progress-step.complete > div { color: #f5f5f7; }
.public-progress-step.active i { background: #c8f800; }
.public-progress-step.complete i { background: #7f9d1f; }
.public-code-label { color: #c8f800; }
.public-question-main,
.public-lead-promise,
.public-result-main { border-color: #383841; }
.public-question-heading h1,
.public-lead-promise h1,
.public-result-main > h1,
.public-diagnosis-summary h2,
.public-lead-form-wrap h2,
.public-result-side > h2,
.public-result-section h2 { color: #f5f5f7; }
.public-question-heading > div > p:last-child,
.public-lead-copy,
.public-result-intro { color: #a8a8af; }
.public-choice { border-color: #44444e; border-left-color: #44444e; border-radius: 3px; color: #d8d8dc; background: #27272f; box-shadow: none; }
.public-choice:hover { border-color: #797982; background: #2c2c35; }
.public-choice.selected { border-color: #5c6c22; border-left-color: #c8f800; color: #f5f5f7; background: #303428; box-shadow: none; }
.public-choice small,
.public-question-count { color: #7c7c85; }
.public-radio { border-color: #6d6d76; }
.public-choice.selected .public-radio { border-color: #c8f800; }
.public-choice.selected .public-radio::after { background: #c8f800; }
.public-diagnosis-summary,
.public-lead-form-wrap,
.public-result-side { background: #24242c; }
.public-live-summary > div,
.public-material-recommendation { border-color: #3d3d46; }
.public-live-summary dt { color: #85858d; }
.public-live-summary dd { color: #707079; }
.public-live-summary dd.known { color: #f5f5f7; }
.public-result-promise p,
.public-result-section ol,
.public-result-section ul { color: #d2d2d7; }
.public-result-promise b,
.public-output-sequence b,
.public-result-section h2 span { color: #c8f800; }
.public-output-sequence { border-color: #44444e; background: #44444e; }
.public-output-sequence span { color: #d4d4d8; background: #27272f; }
.public-text-answer-form textarea,
.public-lead-form input { border-color: #4e4e58; border-radius: 3px; color: #f5f5f7; background: #292931; box-shadow: none; }
.public-text-answer-form textarea:focus,
.public-lead-form input:focus { border-color: #c8f800; box-shadow: none; }
.public-text-answer-form p,
.public-lead-form label,
.public-lead-form-wrap > p:not(.public-code-label),
.public-lead-form-wrap > small,
.public-result-side > small,
.public-summary-trust,
.public-trust-line { color: #808089; }
.public-back-action { color: #8e8e96; }
.public-back-action:hover:not(:disabled) { color: #f5f5f7; }
.public-plan30-list li { border-color: #464650; border-radius: 3px; color: #d2d2d7; background: #292931; }
.public-plan30-list li::before { color: #c8f800; }

/* Internal FounderGPS workspace: same dark product language as the public diagnostic. */
body.foundergps-mode {
  --ink: #f5f5f7;
  --muted: #9999a3;
  --paper: #17171d;
  --panel: rgba(38, 38, 47, 0.88);
  --panel-solid: #24242c;
  --soft: #2b2b34;
  --line: rgba(200, 248, 0, 0.18);
  --accent: #c8f800;
  --accent-strong: #c8f800;
  --glass-edge: rgba(255, 255, 255, 0.1);
  --glass-surface: rgba(36, 36, 44, 0.82);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  color: #f5f5f7;
  background:
    radial-gradient(circle at 8% 0%, rgba(200, 248, 0, 0.1), transparent 28vw),
    radial-gradient(circle at 94% 10%, rgba(0, 168, 143, 0.13), transparent 30vw),
    linear-gradient(180deg, #1e1e25 0%, #17171d 100%);
}

body.foundergps-mode::before {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

body.foundergps-mode .sidebar {
  border-right-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 20% 3%, rgba(200, 248, 0, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(25, 25, 32, 0.96), rgba(20, 20, 26, 0.9));
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

body.foundergps-mode .brand-wordmark {
  border-color: rgba(200, 248, 0, 0.24);
  background: linear-gradient(145deg, #292931, #202028);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28), 0 0 38px rgba(200, 248, 0, 0.08);
}

body.foundergps-mode .brand-wordmark span,
body.foundergps-mode .brand-wordmark strong,
body.foundergps-mode .brand h1,
body.foundergps-mode .topbar h2,
body.foundergps-mode h3,
body.foundergps-mode h4,
body.foundergps-mode .section-title {
  color: #f5f5f7;
}

body.foundergps-mode .brand-wordmark span,
body.foundergps-mode .eyebrow,
body.foundergps-mode a,
body.foundergps-mode .tag.good,
body.foundergps-mode .metric strong {
  color: #c8f800;
}

body.foundergps-mode .nav-item {
  color: #a3a3ac;
  background: transparent;
}

body.foundergps-mode .nav-item:hover,
body.foundergps-mode .nav-item.active {
  color: #f5f5f7;
  border-color: rgba(200, 248, 0, 0.28);
  background: rgba(200, 248, 0, 0.1);
}

body.foundergps-mode main {
  background: transparent;
}

body.foundergps-mode .topbar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(23, 23, 29, 0.7);
}

body.foundergps-mode .panel,
body.foundergps-mode .card,
body.foundergps-mode .activation-score,
body.foundergps-mode .portfolio-meta-grid p,
body.foundergps-mode .locked-preview,
body.foundergps-mode .notice,
body.foundergps-mode .foundergps-head {
  border-color: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
  background: rgba(36, 36, 44, 0.84);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

body.foundergps-mode .foundergps-head,
body.foundergps-mode .activation-hero {
  background:
    radial-gradient(circle at 90% 6%, rgba(200, 248, 0, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(38, 38, 47, 0.96), rgba(29, 29, 37, 0.94));
}

body.foundergps-mode .muted,
body.foundergps-mode .workspace-head p,
body.foundergps-mode .portfolio-summary,
body.foundergps-mode .criteria-list span,
body.foundergps-mode .empty {
  color: #a3a3ac;
}

body.foundergps-mode .tag {
  border-color: rgba(255, 255, 255, 0.14);
  color: #c5c5cc;
  background: rgba(255, 255, 255, 0.06);
}

body.foundergps-mode input,
body.foundergps-mode select,
body.foundergps-mode textarea {
  border-color: rgba(255, 255, 255, 0.16);
  color: #f5f5f7;
  background: #292931;
}

body.foundergps-mode .button {
  border-color: #c8f800;
  color: #151519;
  background: #c8f800;
}

body.foundergps-mode .button.ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.06);
}

body.foundergps-mode .button.ghost:hover {
  border-color: #c8f800;
  color: #c8f800;
}

body.foundergps-mode .login-screen {
  color: #f5f5f7;
  background: transparent;
}

body.foundergps-mode .login-card {
  border-color: rgba(255, 255, 255, 0.12);
  color: #f5f5f7;
  background: rgba(36, 36, 44, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

body.foundergps-mode .login-card p,
body.foundergps-mode .login-card small,
body.foundergps-mode .login-footnote {
  color: #a3a3ac;
}

.foundergps-workspace-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 4px 2px 10px;
}

.foundergps-workspace-step {
  color: #777780;
}

.foundergps-workspace-step > span {
  margin-right: 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

.foundergps-workspace-step strong {
  font-size: 0.76rem;
  font-weight: 600;
}

.foundergps-workspace-step i {
  display: block;
  height: 3px;
  margin-top: 9px;
  background: rgba(255, 255, 255, 0.12);
}

.foundergps-workspace-step.active,
.foundergps-workspace-step.complete {
  color: #f5f5f7;
}

.foundergps-workspace-step.active i {
  background: #c8f800;
}

.foundergps-workspace-step.complete i {
  background: #7f9d1f;
}

@media (max-width: 680px) {
  .foundergps-workspace-progress {
    gap: 8px;
  }

  .foundergps-workspace-step strong {
    display: none;
  }
}

.public-deeper-section p {
  max-width: 820px;
  margin: 16px 0 0;
  color: #d2d2d7;
  font-size: 0.92rem;
  line-height: 1.65;
}

.public-deeper-section h2 {
  text-transform: none;
}

/* Remove leftover Journey light-card treatments from the dark FounderGPS shell. */
body.foundergps-mode .brand-wordmark {
  min-height: 0;
  padding: 4px 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.foundergps-mode .panel,
body.foundergps-mode .card,
body.foundergps-mode .metric,
body.foundergps-mode .metric-card,
body.foundergps-mode .empty-card,
body.foundergps-mode .confirmed-mentorship,
body.foundergps-mode .mentorship-card-active,
body.foundergps-mode .mentorship-card-closed,
body.foundergps-mode .mentor-pick,
body.foundergps-mode .mentor-pick-cta,
body.foundergps-mode .material-insight,
body.foundergps-mode .reader-section,
body.foundergps-mode .plano180-phase {
  background: #1d2026;
  background-image: none;
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: none;
}

body.foundergps-mode .metric,
body.foundergps-mode .metric-card {
  color: #f5f5f7;
}

body.foundergps-mode .metric strong,
body.foundergps-mode .metric-card strong,
body.foundergps-mode .confirmed-mentorship::before,
body.foundergps-mode .mentorship-card-active::before,
body.foundergps-mode .mentorship-card-closed::before {
  background: #c8f800;
}

body.foundergps-mode .mentorship-card-closed {
  opacity: 0.54;
}

body.foundergps-mode .muted-tag {
  color: #9b9ba4;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.journey-history {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.journey-history > strong {
  color: #8f959d;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-history > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.journey-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 90, 31, 0.34);
  border-radius: 999px;
  color: #ff9c78;
  background: rgba(255, 90, 31, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
}

body.foundergps-mode .modal {
  background: rgba(8, 10, 14, 0.78);
}

body.foundergps-mode .modal-panel {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #f5f5f7;
  background: #1b1e24;
  background-image: none;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.foundergps-mode .modal-panel h2,
body.foundergps-mode .modal-panel h3,
body.foundergps-mode .modal-panel h4 {
  color: #f5f5f7;
}

body.foundergps-mode .modal-panel label {
  color: #b8b8c0;
}

body.foundergps-mode .modal-panel input,
body.foundergps-mode .modal-panel select,
body.foundergps-mode .modal-panel textarea {
  border-color: rgba(255, 255, 255, 0.16);
  color: #f5f5f7;
  background: #272a32;
}

body.foundergps-mode .modal-panel input:focus,
body.foundergps-mode .modal-panel select:focus,
body.foundergps-mode .modal-panel textarea:focus {
  border-color: #c8f800;
  box-shadow: 0 0 0 3px rgba(200, 248, 0, 0.14);
}

body.foundergps-mode .modal-panel .icon-button.close {
  border-color: rgba(255, 255, 255, 0.16);
  color: #f5f5f7;
  background: #272a32;
}

/* FounderGPS V2 shell: a single product surface, not a collection of legacy cards. */
body.foundergps-mode {
  --shell-bg: #121419;
  --surface-1: #181b21;
  --surface-2: #1e2229;
  --surface-3: #252a32;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --text-main: #f4f5f2;
  --text-soft: #a6abb2;
  --brand-lime: #c6ff45;
  --brand-orange: #ff5a1f;
  background: var(--shell-bg);
  color: var(--text-main);
}

body.foundergps-mode .app-shell {
  grid-template-columns: 264px minmax(0, 1fr);
}

body.foundergps-mode .sidebar {
  padding: 28px 16px;
  border-right: 1px solid var(--border-subtle);
  background: #101216;
  box-shadow: none;
  backdrop-filter: none;
}

body.foundergps-mode main {
  min-width: 0;
  background: var(--shell-bg);
}

body.foundergps-mode .topbar {
  min-height: 78px;
  padding: 18px clamp(22px, 4vw, 54px);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--shell-bg);
  backdrop-filter: none;
}

body.foundergps-mode .view {
  width: min(1480px, 100%);
  padding: 30px clamp(22px, 4vw, 54px) 80px;
}

body.foundergps-mode .nav-list {
  gap: 3px;
}

body.foundergps-mode .nav-item {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text-soft);
  font-size: 0.83rem;
  font-weight: 600;
}

body.foundergps-mode .nav-item.active {
  color: var(--text-main);
  background: rgba(198, 255, 69, 0.1);
  box-shadow: inset 3px 0 0 var(--brand-lime);
}

body.foundergps-mode .nav-item:hover {
  transform: none;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

body.foundergps-mode .panel,
body.foundergps-mode .card,
body.foundergps-mode .workspace-head,
body.foundergps-mode .activation-hero,
body.foundergps-mode .material-hero,
body.foundergps-mode .notice,
body.foundergps-mode .metric,
body.foundergps-mode .metric-card,
body.foundergps-mode .reader-section,
body.foundergps-mode .plano180-phase,
body.foundergps-mode .confirmed-mentorship,
body.foundergps-mode .mentorship-card-active,
body.foundergps-mode .mentorship-card-closed {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-1);
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
}

body.foundergps-mode .workspace-head,
body.foundergps-mode .activation-hero,
body.foundergps-mode .material-hero {
  padding: 26px;
  background: var(--surface-2);
}

body.foundergps-mode .workspace-head h3,
body.foundergps-mode .activation-hero h3,
body.foundergps-mode .material-hero h3 {
  color: var(--text-main);
  letter-spacing: -0.03em;
}

body.foundergps-mode .muted,
body.foundergps-mode .workspace-head p,
body.foundergps-mode .activation-hero p {
  color: var(--text-soft);
}

body.foundergps-mode .button {
  min-height: 42px;
  border-radius: 6px;
  font-size: 0.82rem;
}

body.foundergps-mode .button:not(.ghost) {
  border-color: var(--brand-orange);
  background: var(--brand-orange);
}

body.foundergps-mode .button.ghost {
  border-color: var(--border-subtle);
  color: var(--text-main);
  background: var(--surface-3);
}

body.foundergps-mode .button.ghost:hover {
  border-color: var(--brand-lime);
  color: var(--brand-lime);
  background: var(--surface-3);
}

body.foundergps-mode .context-switcher {
  border-radius: 8px;
  background: var(--surface-1);
}

body.foundergps-mode .profile-progress,
body.foundergps-mode .profile-progress span {
  border-radius: 999px;
}

body.foundergps-mode .profile-progress {
  background: var(--surface-3);
}

body.foundergps-mode .profile-progress span {
  background: var(--brand-lime);
}

@media (max-width: 980px) {
  body.foundergps-mode .view {
    padding-bottom: 120px;
  }

  body.foundergps-mode .topbar {
    padding-right: 20px;
    padding-left: 20px;
  }
}

.context-switcher {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #17191e;
}

.context-switcher-main,
.context-switcher-event {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.context-switcher-event {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.context-switcher strong,
.context-switcher small {
  display: block;
}

.context-switcher strong {
  color: #f5f5f7;
  font-size: 0.8rem;
}

.context-switcher small {
  margin-top: 2px;
  color: #92929b;
  font-size: 0.68rem;
}

.context-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.context-dot.global { background: #c8f800; }
.context-dot.event { background: #ff5a1f; }

@media (max-width: 620px) {
  .context-switcher {
    display: grid;
  }

  .context-switcher-event {
    padding-top: 10px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .public-diagnosis-header {
    align-items: center;
  }

  .public-diagnosis-brand span {
    display: none;
  }

  .public-diagnosis-login {
    min-width: 76px;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 0.72rem;
  }

  .public-diagnosis-progress {
    grid-template-columns: repeat(4, minmax(38px, 1fr));
    padding-right: 14px;
    padding-left: 14px;
  }

  .public-progress-step > div {
    display: block;
  }

  .public-progress-step strong {
    display: none;
  }

  .public-progress-step span {
    font-size: 0.64rem;
  }

  .public-question-main,
  .public-lead-promise,
  .public-result-main,
  .public-diagnosis-summary,
  .public-lead-form-wrap,
  .public-result-side {
    padding-right: 18px;
    padding-left: 18px;
  }

  .public-question-heading {
    margin-bottom: 26px;
  }

  .public-question-heading h1,
  .public-lead-promise h1,
  .public-result-main > h1 {
    font-size: 2.25rem;
  }

  .public-question-heading > div > p:last-child,
  .public-lead-copy,
  .public-result-intro {
    font-size: 0.94rem;
  }

  .public-question-count {
    padding-top: 2px;
    font-size: 0.68rem;
  }

  .public-choice {
    min-height: 60px;
    padding: 12px 14px;
  }

  .public-choice strong {
    font-size: 0.88rem;
  }

  .public-diagnosis-summary {
    display: flex;
    gap: 0;
  }

  .public-result-promise {
    margin-top: 34px;
  }

  .public-output-sequence {
    grid-template-columns: 1fr;
  }

  .public-output-sequence span {
    min-height: 60px;
  }

  .public-text-answer-form textarea {
    min-height: 180px;
  }
}

/* FounderGPS public flow: light Journey palette with the structured assessment layout. */
.public-assessment {
  color: #10120f;
  background:
    radial-gradient(circle at 8% 8%, rgba(198, 255, 69, 0.46), transparent 28vw),
    radial-gradient(circle at 92% 12%, rgba(0, 168, 143, 0.22), transparent 30vw),
    linear-gradient(135deg, #f8fbf3 0%, #edf5ef 54%, #e7f1ee 100%);
}

.public-diagnosis-shell {
  background: transparent;
}

.public-diagnosis-header {
  min-height: 76px;
  padding: 16px 44px;
  border-bottom-color: rgba(16, 18, 15, 0.12);
  background: rgba(248, 251, 243, 0.72);
  backdrop-filter: blur(18px) saturate(1.15);
}

.public-diagnosis-brand {
  color: #10120f;
}

.public-diagnosis-brand:hover {
  color: #006f62;
}

.public-diagnosis-brand img {
  width: 124px;
  filter: invert(1) brightness(0.2);
}

.public-diagnosis-brand span {
  border-left-color: rgba(16, 18, 15, 0.2);
  color: #006f62;
}

.public-diagnosis-login {
  min-width: 88px;
  border-color: rgba(0, 111, 98, 0.24);
  border-radius: 999px;
  color: #10120f;
  background: rgba(255, 255, 255, 0.48);
}

.public-diagnosis-login:hover {
  border-color: #00a88f;
  color: #006f62;
  background: rgba(255, 255, 255, 0.8);
}

.public-diagnosis-progress {
  gap: 22px;
  padding-top: 26px;
  padding-bottom: 20px;
  border-bottom-color: rgba(16, 18, 15, 0.12);
  background: rgba(248, 251, 243, 0.46);
}

.public-progress-step > div {
  color: #7b8378;
}

.public-progress-step i {
  height: 3px;
  background: rgba(16, 18, 15, 0.14);
}

.public-progress-step.active > div,
.public-progress-step.complete > div {
  color: #10120f;
}

.public-progress-step.active i {
  background: #00a88f;
}

.public-progress-step.complete i {
  background: #c6ff45;
}

.public-code-label {
  color: #006f62;
}

.public-question-main,
.public-lead-promise,
.public-result-main {
  border-right-color: rgba(16, 18, 15, 0.12);
}

.public-question-heading h1,
.public-lead-promise h1,
.public-result-main > h1 {
  color: #10120f;
}

.public-question-heading > div > p:last-child,
.public-lead-copy,
.public-result-intro {
  color: #687268;
}

.public-choice {
  border-color: rgba(0, 111, 98, 0.18);
  border-left-color: rgba(0, 111, 98, 0.3);
  border-radius: 8px;
  color: #263029;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 26px rgba(27, 67, 50, 0.05);
}

.public-choice:hover {
  border-color: rgba(0, 168, 143, 0.52);
  background: rgba(255, 255, 255, 0.9);
}

.public-choice.selected {
  border-color: #00a88f;
  border-left-color: #00a88f;
  color: #10120f;
  background: rgba(234, 255, 156, 0.62);
  box-shadow: 0 12px 28px rgba(0, 168, 143, 0.12);
}

.public-choice small,
.public-question-count {
  color: #778178;
}

.public-radio {
  border-color: #7d877d;
}

.public-choice.selected .public-radio {
  border-color: #006f62;
}

.public-choice.selected .public-radio::after {
  background: #00a88f;
}

.public-text-answer-form textarea,
.public-lead-form input {
  border-color: rgba(0, 111, 98, 0.24);
  border-radius: 8px;
  color: #10120f;
  background: rgba(255, 255, 255, 0.68);
}

.public-text-answer-form textarea:focus,
.public-lead-form input:focus {
  border-color: #00a88f;
  box-shadow: 0 0 0 3px rgba(0, 168, 143, 0.12);
}

.public-text-answer-form p,
.public-lead-form-wrap > p:not(.public-code-label),
.public-lead-form label,
.public-lead-form-wrap > small,
.public-result-side > small,
.public-summary-trust,
.public-trust-line {
  color: #687268;
}

.public-back-action {
  color: #687268;
}

.public-back-action:hover:not(:disabled) {
  color: #006f62;
}

.public-diagnosis-summary,
.public-lead-form-wrap,
.public-result-side {
  background: rgba(255, 255, 255, 0.44);
}

.public-diagnosis-summary h2,
.public-lead-form-wrap h2,
.public-result-side > h2,
.public-result-section h2 {
  color: #10120f;
}

.public-live-summary > div {
  border-bottom-color: rgba(16, 18, 15, 0.12);
}

.public-live-summary dt,
.public-live-summary dd {
  color: #778178;
}

.public-live-summary dd.known {
  color: #006f62;
}

.public-result-promise p,
.public-result-section ol,
.public-result-section ul {
  color: #344039;
}

.public-result-promise b,
.public-output-sequence b,
.public-result-section h2 span {
  color: #006f62;
}

.public-output-sequence {
  border-color: rgba(0, 111, 98, 0.18);
  background: rgba(0, 111, 98, 0.14);
}

.public-output-sequence span {
  color: #344039;
  background: rgba(255, 255, 255, 0.66);
}

.public-primary-action {
  border-color: #ff5a1f;
  border-radius: 8px;
  color: #fff;
  background: #ff5a1f;
  box-shadow: 0 12px 26px rgba(255, 90, 31, 0.2);
}

.public-primary-action:hover:not(:disabled) {
  border-color: #e64d17;
  background: #e64d17;
}

.public-primary-action:disabled {
  border-color: rgba(16, 18, 15, 0.16);
  color: #89918a;
  background: rgba(16, 18, 15, 0.1);
  box-shadow: none;
}

.public-plan30-list li {
  border-color: rgba(0, 111, 98, 0.18);
  border-radius: 8px;
  color: #344039;
  background: rgba(255, 255, 255, 0.6);
}

.public-plan30-list li::before {
  color: #006f62;
}

.public-material-recommendation {
  border-top-color: rgba(16, 18, 15, 0.12);
  border-bottom-color: rgba(16, 18, 15, 0.12);
}

.public-material-recommendation strong {
  color: #687268;
}

.public-material-recommendation span {
  color: #10120f;
}

@media (max-width: 820px) {
  .public-diagnosis-header {
    background: rgba(248, 251, 243, 0.88);
  }

  .public-question-main,
  .public-lead-promise,
  .public-result-main {
    border-bottom-color: rgba(16, 18, 15, 0.12);
  }
}
