:root {
  --bg: #d9dedb;
  --surface: #f1f3ef;
  --surface-2: #e5e9e4;
  --surface-3: #d8ded8;
  --line: #bec7c0;
  --text: #1c211d;
  --muted: #626b64;
  --green: #247a55;
  --green-dark: #dcebe2;
  --yellow: #f5c247;
  --yellow-dark: #fff1c8;
  --blue: #4f6178;
  --danger: #ed846f;
  --radius: 8px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #cbd2cd;
}

* { box-sizing: border-box; }

html { background: #cbd2cd; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background: #cbd2cd;
  letter-spacing: 0;
}

button { font: inherit; letter-spacing: 0; }

.app-shell {
  width: min(100%, 460px);
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: 90px;
  background: var(--bg);
  border-inline: 1px solid #d2d8d1;
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 66px;
  padding: 11px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(217, 222, 219, 0.91);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand { color: var(--text); font-weight: 800; font-size: 13px; }
.topbar-caption { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

.icon-button,
.back-button,
.square-action {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.icon-button svg { width: 19px; height: 19px; stroke-width: 1.8; }


.screen { display: none; padding: 22px 20px 34px; }
.screen.is-active { display: block; animation: screen-in 180ms ease-out; }

body.welcome-active .topbar,
body.welcome-active .bottom-nav { display: none; }
body.welcome-active .app-shell { padding-bottom: 0; }
.welcome-screen { min-height: 100dvh; padding: 28px 24px 26px; background: #e7ece8; }
.welcome-brand span, .welcome-brand small { display: block; }
.welcome-brand span { font-size: 13px; font-weight: 900; }
.welcome-brand small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.welcome-visual { position: relative; height: 250px; margin: 28px -4px 30px; overflow: hidden; border: 1px solid #b7c7be; background: #dfe8e3; }
.welcome-orbit { position: absolute; top: 44px; left: 50%; display: grid; width: 94px; height: 94px; place-items: center; transform: translateX(-50%); border: 1px solid #7daa98; border-radius: 50%; background: #eef4f0; box-shadow: 0 0 0 18px rgba(47,130,100,.07), 0 0 0 38px rgba(47,130,100,.04); }
.welcome-orbit svg { width: 38px; height: 38px; color: #276b53; }
.welcome-path-line { position: absolute; right: 36px; bottom: 62px; left: 36px; height: 3px; overflow: hidden; background: #a7b6ae; }
.welcome-path-line span { display: block; width: 0; height: 100%; background: var(--yellow); transition: width .7s ease; }
.welcome-point { position: absolute; bottom: 31px; display: grid; width: 62px; justify-items: center; gap: 5px; color: #657268; }
.welcome-point svg { width: 25px; height: 25px; padding: 4px; border: 1px solid #9aaba2; background: #edf2ef; }
.welcome-point small { font-size: 10px; font-weight: 800; }
.point-one { left: 18px; }
.point-two { left: 50%; transform: translateX(-50%); }
.point-three { right: 18px; }
.welcome-copy h1 { max-width: 100%; overflow-wrap: normal; word-break: normal; font-size: 32px; }
.welcome-copy > p:last-child { max-width: 34ch; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.welcome-start { position: relative; overflow: hidden; margin-top: 26px; min-height: 58px; background: var(--yellow); color: #2a1e08; }
.welcome-start svg { width: 20px; height: 20px; }
.welcome-start::after { position: absolute; top: -30%; left: -45%; width: 26%; height: 160%; transform: skewX(-20deg); background: rgba(255,255,255,.5); content: ""; animation: welcome-shine 2.8s ease-in-out infinite; }
.welcome-meta { display: block; margin-top: 11px; color: var(--muted); text-align: center; font-size: 11px; }
.welcome-screen.is-launching .welcome-path-line span { width: 100%; }
.welcome-screen.is-launching .welcome-point { color: #1f7254; }
.welcome-screen.is-launching .welcome-point svg { border-color: #2f8264; background: #dcebe2; }
@keyframes welcome-shine { 0%, 55% { left: -45%; } 78%, 100% { left: 120%; } }

@keyframes screen-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

h1, h2, p { overflow-wrap: anywhere; }
h1 { margin: 5px 0 8px; max-width: 13ch; font-size: 30px; line-height: 1.08; font-weight: 800; }
h2 { margin: 4px 0; font-size: 19px; line-height: 1.2; }
p { line-height: 1.45; }

.eyebrow { margin: 0; color: var(--muted); font-size: 11px; font-weight: 800; }
.muted, .lead { color: var(--muted); }
.muted { margin: 0; font-size: 14px; }
.lead { margin: 10px 0 24px; font-size: 15px; }
.accent-text { color: var(--green); }
.light-accent { color: #356747; }

.identity-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.progress-ring {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) var(--progress, 0%), #aeb8b0 0);
  box-shadow: 0 0 0 1px #aeb8b0;
  position: relative;
}

.progress-ring::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px #d4dad4;
}

.progress-ring strong { position: relative; z-index: 1; font-size: 15px; }

.progress-track,
.quiz-progress {
  height: 8px;
  background: #aeb8b0;
  border: 1px solid #9fa9a1;
  border-radius: 4px;
  overflow: hidden;
}

.progress-track { margin-top: 22px; }
.progress-track span, .quiz-progress span { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.progress-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 11px; }

.current-mission {
  margin-top: 24px;
  padding: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 40px;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid #d9c485;
  box-shadow: 0 10px 28px rgba(27, 35, 29, .07);
  border-radius: var(--radius);
}

.mission-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #f6e4ae;
  color: #6b5012;
  font-weight: 800;
}

.mission-copy p:not(.eyebrow) { margin: 7px 0; color: var(--muted); font-size: 13px; }
.mission-meta { display: flex; gap: 14px; color: var(--green); font-size: 11px; font-weight: 700; }
.square-action { background: var(--yellow); border-color: #d8a82f; color: #2e2207; font-size: 21px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 30px 0 12px; }
.section-heading.compact { margin-top: 24px; }
.small-badge { padding: 5px 8px; border: 1px solid #aeb7b0; border-radius: 4px; background: var(--surface-2); color: #4f5951; font-size: 11px; }

.route-map { margin: 0; padding: 0; list-style: none; }
.route-item {
  min-height: 68px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  cursor: default;
}
.route-item:last-child { border-bottom: 1px solid var(--line); }
.route-item.is-locked { cursor: pointer; }
.route-item.is-locked:hover { background: #edf0ec; }
.route-item.is-locked:active { background: var(--surface-2); }
.route-marker { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #aab4ac; background: var(--surface-2); color: #566158; font-size: 11px; font-weight: 800; }
.route-item.is-done .route-marker { background: var(--green-dark); border-color: var(--green); color: var(--green); }
.route-item.is-current .route-marker { background: var(--yellow-dark); border-color: #b99134; color: #5a4108; }
.route-item strong, .route-item small { display: block; }
.route-item strong { font-size: 14px; }
.route-item small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.25; }
.route-status { color: var(--green); font-size: 10px; font-weight: 800; }
.is-current .route-status { color: #674b09; }
.lock { font-size: 14px; filter: grayscale(1); opacity: 0.65; }

.primary-button,
.secondary-button,
.outline-button {
  width: 100%;
  min-height: 52px;
  border-radius: var(--radius);
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}
.primary-button { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; border: 0; background: var(--green); color: #fff; }
.primary-button.bright { background: var(--yellow); color: #2a1e08; }
.next-action {
  border-color: var(--yellow) !important;
  background: var(--yellow) !important;
  color: #2a1e08 !important;
  box-shadow: none;
  animation: none;
}
.primary-button:active, .secondary-button:active, .outline-button:active, .square-action:active, .nav-item:active, .answer-option:active { transform: scale(.98); }
.secondary-button { display: flex; align-items: center; justify-content: space-between; border: 1px solid #438a78; background: transparent; color: var(--text); }
.outline-button { border: 1px solid var(--line); background: transparent; color: var(--text); }

.quiz-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) 38px; gap: 12px; align-items: center; margin-bottom: 34px; }
.quiz-progress { width: 100%; }
.quiz-head > strong { text-align: right; font-size: 12px; color: var(--muted); }
.answer-list { display: grid; gap: 10px; }
.answer-option {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.answer-option span { color: var(--muted); font-size: 11px; font-weight: 800; }
.answer-option.is-selected { border-color: #d9a728; background: #fff6da; box-shadow: inset 3px 0 0 var(--yellow); }
.answer-option.is-selected span { color: #765712; }
.primary-button:disabled { cursor: not-allowed; opacity: .45; animation: none; box-shadow: none; }
.privacy-note, .disclaimer, .payment-note { text-align: center; color: var(--muted); font-size: 11px; }

.result-hero { margin: -24px -20px 0; padding: 30px 20px 26px; background: #e1ebe4; border-bottom: 1px solid #c9d8ce; }
.result-complete { margin-bottom: 22px; display: flex; align-items: center; gap: 10px; color: #27583c; }
.result-complete strong { font-size: 14px; }
.result-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; }
.result-symbol svg { width: 19px; height: 19px; stroke-width: 3; }
.result-hero p:last-child { margin: 14px 0 0; color: #46574c; }
.result-stats { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.result-stats div { padding: 18px 0; }
.result-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.result-stats small, .result-stats strong { display: block; }
.result-stats small { color: var(--muted); font-size: 11px; }
.result-stats strong { margin-top: 6px; }
.skill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-row span { padding: 7px 10px; border-radius: 4px; background: var(--surface-2); color: #3f4d43; font-size: 12px; }
.role-list { border-block: 1px solid var(--line); }
.role-list > div { min-height: 62px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.role-list > div:last-child { border-bottom: 0; }
.role-list > div > span { color: var(--green); font-size: 11px; font-weight: 800; }
.role-list p, .role-list strong, .role-list small { display: block; margin: 0; }
.role-list small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.first-step { margin-top: 24px; padding: 16px; border-radius: var(--radius); border: 1px solid #356d61; background: var(--surface-2); }
.first-step > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }

.practical-list { display: grid; gap: 10px; margin-top: 20px; }
.practical-list > button {
  width: 100%;
  min-height: 76px;
  padding: 12px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.practical-list > button:active { transform: scale(.985); }
.practical-list > button > span:nth-child(2) { min-width: 0; }
.practical-list strong, .practical-list small { display: block; }
.practical-list strong { font-size: 14px; }
.practical-list small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.3; }
.practical-list b { color: var(--green); font-size: 18px; }
.practical-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: var(--green-dark); color: var(--green); }
.practical-icon svg { width: 22px; height: 22px; stroke-width: 1.9; }

.offer-head { padding-bottom: 8px; }
.timer-strip { min-height: 68px; margin: 12px 0 16px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #7e622b; border-radius: var(--radius); background: var(--yellow-dark); }
.timer-strip[hidden] { display: none; }

.dev-tools { margin-top: 18px; padding: 16px; border: 1px dashed #9a9483; border-radius: var(--radius); background: rgba(255,255,255,.42); }
.dev-tools small, .dev-tools strong, .dev-tools p { display: block; }
.dev-tools small { color: #756d5c; font-size: 10px; font-weight: 900; }
.dev-tools strong { margin-top: 5px; }
.dev-tools p { margin: 5px 0 12px; color: var(--muted); font-size: 13px; }
.dev-tools .outline-button { display: flex; align-items: center; justify-content: center; gap: 8px; }
.dev-tools .outline-button svg { width: 17px; height: 17px; }
.market-signal > div { min-width: 0; }
.market-more { margin-top: 9px; }
.market-more summary { color: var(--green-dark); cursor: pointer; font-size: 12px; font-weight: 800; }
.market-more p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.timer-strip small, .timer-strip strong { display: block; }
.timer-strip small { color: #66582f; font-size: 11px; }
.timer-strip strong { margin-top: 4px; font-size: 21px; }
.timer-strip > span { color: #5a4108; font-weight: 900; }
.price-option { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); position: relative; }
.price-option > p { color: var(--muted); font-size: 13px; }
.plan-details { margin: 14px 0; border-block: 1px solid var(--line); }
.plan-details summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; color: var(--text); font-size: 12px; font-weight: 900; cursor: pointer; list-style: none; }
.plan-details summary::-webkit-details-marker { display: none; }
.plan-details summary span { color: var(--green); font-size: 18px; transition: transform 160ms ease; }
.plan-details[open] summary span { transform: rotate(45deg); }
.five-day-list { margin: 0; padding: 0 0 12px; list-style: none; }
.five-day-list li { min-height: 54px; display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 9px; border-top: 1px solid var(--line); }
.five-day-list li > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--green-dark); color: var(--green); font-size: 9px; font-weight: 900; }
.five-day-list p, .five-day-list strong, .five-day-list small { display: block; margin: 0; }
.five-day-list strong { font-size: 11px; }
.five-day-list small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.five-day-result { margin: 0 0 14px; padding: 11px; border-left: 3px solid var(--yellow); background: var(--surface-2); color: #485149; font-size: 11px; line-height: 1.4; }
.price-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.price-title > strong, .price-stack strong { white-space: nowrap; font-size: 18px; }
.price-stack { text-align: right; }
.price-stack s, .price-stack strong { display: block; }
.price-stack s { margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.recommended-option { margin-top: 24px; border: 2px solid #d9a728; background: #f4f2e9; box-shadow: 0 14px 34px rgba(75, 58, 18, .07); }
.recommended-label { position: absolute; top: -12px; left: 14px; padding: 5px 9px; border-radius: 4px; background: var(--yellow); color: #251a06; font-size: 10px; font-weight: 900; }
.starter-credit-notice { margin: 6px 0 14px; padding: 11px; display: grid; grid-template-columns: 24px 1fr; gap: 9px; border: 1px solid #9ebaab; border-radius: var(--radius); background: #e1eee5; color: #244b32; }
.starter-credit-notice[hidden] { display: none; }
.starter-credit-notice svg { width: 20px; }
.starter-credit-notice strong, .starter-credit-notice small { display: block; }
.starter-credit-notice small { margin-top: 3px; color: #4f6657; font-size: 10px; }
.feature-list { margin: 16px 0 0; padding: 14px 0; border-block: 1px solid var(--line); list-style: none; }
.feature-list li { margin: 0 0 11px; padding-left: 22px; position: relative; color: #364039; font-size: 13px; line-height: 1.35; }
.feature-list li:last-child { margin-bottom: 0; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: #72530c; font-weight: 900; }
.payment-note { display: block; margin-top: 10px; }
.honesty-note { margin-top: 24px; padding: 14px; border-left: 3px solid var(--muted); background: var(--surface); }
.honesty-note p { margin: 6px 0 0; color: #5c665f; font-size: 12px; }
.checkout-summary { margin-top: 22px; padding: 16px; border: 2px solid #d9a728; border-radius: var(--radius); background: #f4f2e9; }
.checkout-plan { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.checkout-plan small { color: #72530c; font-size: 9px; font-weight: 900; }
.checkout-plan h2 { margin-top: 5px; }
.checkout-plan > strong { white-space: nowrap; font-size: 19px; }
.checkout-features { margin: 16px 0 0; padding: 14px 0; border-block: 1px solid #cec8b4; list-style: none; }
.checkout-features li { margin: 0 0 10px; padding-left: 20px; position: relative; color: #465047; font-size: 12px; line-height: 1.4; }
.checkout-features li:last-child { margin-bottom: 0; }
.checkout-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.checkout-total { padding-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.checkout-total span { color: var(--muted); font-size: 11px; }
.checkout-total strong { font-size: 20px; }
.checkout-note { margin-top: 14px; padding: 14px; display: grid; grid-template-columns: 26px 1fr; gap: 10px; border: 1px solid #a8b8ac; border-radius: var(--radius); background: var(--surface-2); }
.checkout-note svg { width: 22px; color: var(--green); }
.checkout-note p, .checkout-note strong, .checkout-note small { display: block; margin: 0; }
.checkout-note small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.checkout-status { margin: 14px 0 0; padding: 12px; border-left: 3px solid var(--green); background: var(--surface); color: #31533d; font-size: 12px; }

.chat-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.chat-status { flex: 0 0 auto; margin-top: 4px; display: grid; justify-items: end; gap: 4px; }
.chat-status small { color: var(--muted); font-size: 9px; }
.online-status { color: var(--green); font-size: 11px; }
.chat-thread { min-height: 260px; margin-top: 18px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.chat-message { max-width: 88%; margin-bottom: 12px; padding: 11px 13px; border-radius: var(--radius); }
.chat-message small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.chat-message p { margin: 0; font-size: 14px; }
.assistant-message { background: var(--surface-2); }
.assistant-message.is-loading { color: var(--muted); }
.assistant-message.is-loading p::after { content: ""; display: inline-block; width: 14px; height: 4px; margin-left: 7px; border-radius: 2px; background: var(--green); animation: loading-pulse 900ms ease-in-out infinite alternate; vertical-align: middle; }
@keyframes loading-pulse { from { opacity: .25; transform: scaleX(.55); } to { opacity: 1; transform: scaleX(1); } }
.user-message { margin-left: auto; background: var(--green-dark); border: 1px solid #a8c8b4; }
.chat-error { margin: 10px 0 0; padding: 10px 12px; border: 1px solid #d4a69d; border-radius: var(--radius); background: #f3ded9; color: #6f3027; font-size: 12px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.quick-actions button { padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--muted); font-size: 11px; cursor: pointer; }
.chat-composer { display: grid; grid-template-columns: minmax(0,1fr) 52px; gap: 10px; margin-top: 12px; }
.chat-composer textarea { width: 100%; resize: vertical; padding: 13px; border: 1px solid #91a298; border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; box-shadow: none; }
.send-button { border: 0; border-radius: var(--radius); background: var(--green); color: #fff; font-size: 22px; font-weight: 800; cursor: pointer; }
.send-button:disabled { cursor: wait; opacity: .55; }

.profile-next { margin-top: 18px; padding: 16px; border: 1px solid #356d61; border-radius: var(--radius); background: var(--surface-2); }
.profile-next h2 { margin-top: 18px; }
.profile-next > p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.profile-actions button { min-height: 132px; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }
.profile-actions strong, .profile-actions small { display: block; }
.profile-actions small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.profile-action-icon { width: 42px; height: 42px; margin-bottom: 16px; display: grid; place-items: center; border-radius: var(--radius); font-weight: 800; }
.profile-action-icon svg { width: 23px; height: 23px; stroke-width: 2; }
.green-action { color: var(--green); background: var(--green-dark); }
.yellow-action { color: #5a4108; background: var(--yellow-dark); }
.blue-action, .purple-action { color: var(--green); background: var(--green-dark); }
.profile-secondary { margin-top: 18px; border-block: 1px solid var(--line); }
.profile-work-section { margin-top: 22px; }
.profile-work-list { border-block: 1px solid var(--line); }
.profile-work-item { width: 100%; padding: 14px 0; display: grid; grid-template-columns: 36px 1fr 18px; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.profile-work-item:last-child { border-bottom: 0; }
.profile-work-item > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius); background: var(--green-dark); color: var(--green); }
.profile-work-item svg { width: 18px; }
.profile-work-item strong, .profile-work-item small { display: block; }
.profile-work-item strong { font-size: 12px; line-height: 1.35; }
.profile-work-item small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.empty-work { margin: 0; padding: 18px 0; color: var(--muted); font-size: 12px; }
.profile-work-item > i { color: var(--muted); font-style: normal; }
.back-link { margin-bottom: 20px; padding: 0; display: flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.back-link svg { width: 17px; }
.work-title-field { margin-top: 22px; display: grid; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 800; }
.work-title-field input { min-height: 48px; padding: 0 12px; border: 1px solid #91a298; border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; }
.work-detail-block { margin-top: 16px; padding: 14px 0; border-block: 1px solid var(--line); }
.work-detail-block + .work-detail-block { margin-top: 0; border-top: 0; }
.work-detail-block small { color: var(--muted); font-size: 9px; font-weight: 900; }
.work-detail-block p { margin: 8px 0 0; font-size: 13px; line-height: 1.55; white-space: pre-wrap; }
.result-block { max-height: 300px; overflow-y: auto; }
.portfolio-toggle { margin-top: 18px; padding: 14px; display: grid; grid-template-columns: 22px 1fr; gap: 10px; border: 1px solid #a6b8aa; border-radius: var(--radius); background: var(--surface-2); cursor: pointer; }
.portfolio-toggle input { width: 18px; height: 18px; accent-color: var(--green); }
.portfolio-toggle strong, .portfolio-toggle small { display: block; }
.portfolio-toggle small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.work-save-status { margin: 12px 0 0; color: var(--green); font-size: 12px; }
.work-improve-button { margin-top: 10px; }
.profile-secondary button { width: 100%; min-height: 52px; display: flex; justify-content: space-between; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.profile-secondary button:last-child { border-bottom: 0; }

.market-button { margin-top: 18px; }
.lesson-progress { margin-bottom: 24px; display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 16px; color: var(--muted); font-size: 11px; font-weight: 800; }
.lesson-progress > strong,
.lesson-progress > span { white-space: nowrap; }
.lesson-progress .progress-track { margin: 0; }
.explain-flow, .prompt-formula { margin-top: 22px; display: grid; gap: 0; border-block: 1px solid var(--line); }
.explain-flow > div, .prompt-formula > div { min-height: 72px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.explain-flow > div:last-child, .prompt-formula > div:last-child { border-bottom: 0; }
.explain-flow > div > span, .prompt-formula > div > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--green-dark); color: var(--green); font-size: 11px; font-weight: 900; }
.explain-flow p, .prompt-formula p, .use-case-list p, .saved-work p { margin: 0; }
.explain-flow strong, .explain-flow small, .prompt-formula strong, .prompt-formula small, .use-case-list strong, .use-case-list small, .saved-work strong, .saved-work small { display: block; }
.explain-flow small, .prompt-formula small, .use-case-list small, .saved-work small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.calm-note { margin-top: 18px; padding: 14px; display: grid; grid-template-columns: 28px 1fr; gap: 10px; border: 1px solid #afc8b7; border-radius: var(--radius); background: var(--surface-2); }
.calm-note svg { width: 22px; color: var(--green); }
.calm-note p, .calm-note small { display: block; margin: 0; }
.calm-note small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.use-case-list { margin-top: 20px; border-block: 1px solid var(--line); }
.use-case-list > div { min-height: 68px; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.use-case-list > div:last-child { border-bottom: 0; }
.use-case-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--green-dark); color: var(--green); }
.use-case-icon svg { width: 20px; height: 20px; }
.before-after { margin-top: 18px; padding: 14px; border-left: 3px solid var(--yellow); background: var(--surface); }
.before-after > small, .prompt-preview > small { color: var(--muted); font-size: 10px; font-weight: 900; }
.before-after p { margin: 10px 0 0; font-size: 12px; }
.before-after p span { display: inline-block; min-width: 44px; color: var(--green); font-weight: 900; }
.work-time-card { margin-top: 14px; padding: 16px; border: 1px solid #9fb4a5; border-radius: var(--radius); background: var(--surface-2); }
.work-time-head { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; }
.work-time-head small { color: var(--green); font-size: 9px; font-weight: 900; }
.work-time-head h2 { margin-top: 4px; font-size: 17px; }
.work-time-card > p { margin: 14px 0 0; color: #49554d; font-size: 12px; line-height: 1.5; }
.work-time-result { margin-top: 14px; padding-top: 12px; border-top: 1px solid #b9c9bd; }
.work-time-result strong, .work-time-result span { display: block; }
.work-time-result strong { font-size: 11px; }
.work-time-result span { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.prompt-preview { margin-top: 18px; padding: 14px; border: 1px solid #9fb5a5; border-radius: var(--radius); background: var(--surface); }
.prompt-preview p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; }
.text-button { width: 100%; margin-top: 12px; padding: 10px; border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.saved-mark { width: 48px; height: 48px; margin-bottom: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; }
.saved-mark svg { width: 25px; stroke-width: 3; }
.saved-work { margin-top: 20px; padding: 14px; border: 1px solid #a9b7ad; border-radius: var(--radius); background: var(--surface); }
.saved-work > div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; }
.saved-work > p { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: #465149; font-size: 12px; line-height: 1.5; }
.result-checklist { margin-top: 18px; }
.result-checklist p { margin: 0; padding: 10px 0; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); font-size: 12px; }
.result-checklist svg { width: 17px; color: var(--green); stroke-width: 3; }
.personal-fit { margin: 16px 0 20px; padding: 16px; border: 1px solid #9fb4a5; border-radius: var(--radius); background: var(--surface-2); }
.personal-fit > p:not(.eyebrow) { color: var(--muted); font-size: 12px; }
.fit-meter { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.fit-meter > span { height: 8px; overflow: hidden; border-radius: 4px; background: #c8d1ca; }
.fit-meter i { height: 100%; display: block; border-radius: inherit; background: var(--green); }
.fit-meter strong { font-size: 10px; }
.jobs-hero { margin: -24px -20px 0; padding: 30px 20px 26px; background: #e1ebe4; border-bottom: 1px solid #c9d8ce; }
.jobs-hero p:last-child { margin: 14px 0 0; color: #46574c; }
.jobs-date { display: flex; justify-content: space-between; gap: 12px; padding: 15px 0; color: var(--muted); font-size: 11px; border-bottom: 1px solid var(--line); }
.jobs-date strong { color: var(--text); }
.job-card { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.job-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-card-head > strong { flex: 0 0 auto; color: var(--green); font-size: 15px; }
.job-card > p { color: var(--muted); font-size: 13px; }
.job-needs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.job-needs small { width: 100%; color: var(--muted); font-size: 10px; }
.job-needs span { padding: 6px 8px; border-radius: 4px; background: var(--surface-3); color: #3f4d43; font-size: 10px; }
.job-link { display: block; margin-top: 14px; color: var(--green); font-size: 12px; text-decoration: none; }
.readiness-card { margin-top: 20px; padding: 16px; border: 2px solid #d9a728; border-radius: var(--radius); background: #f4f2e9; }

.starter-course-head { display: grid; grid-template-columns: minmax(0, 1fr) 58px; gap: 16px; align-items: start; }
.starter-course-head h1 { max-width: 12ch; }
.starter-course-head .lead { margin-bottom: 0; }
.starter-course-head > strong { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid #9fb0a3; border-radius: var(--radius); background: var(--surface); color: var(--green); font-size: 15px; }
.starter-course-progress { margin-top: 18px; }
.starter-day-list { margin-top: 24px; border-block: 1px solid var(--line); }
.starter-day-row { width: 100%; min-height: 76px; padding: 10px 0; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; }
.starter-day-row:last-child { border-bottom: 0; }
.starter-day-row:not(:disabled) { cursor: pointer; }
.starter-day-row:not(:disabled):active { transform: scale(.985); }
.starter-day-number { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #aab5ac; border-radius: var(--radius); background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 900; }
.starter-day-row strong, .starter-day-row small { display: block; }
.starter-day-row strong { font-size: 13px; }
.starter-day-row small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.starter-day-state { color: var(--muted); font-size: 10px; font-weight: 800; }
.starter-day-row.is-current .starter-day-number { border-color: #b58b26; background: var(--yellow-dark); color: #674b09; }
.starter-day-row.is-completed .starter-day-number { border-color: #78a58a; background: var(--green-dark); color: var(--green); }
.starter-day-row.is-current .starter-day-state { color: #674b09; }
.starter-day-row.is-completed .starter-day-state { color: var(--green); }
.starter-day-row:disabled { opacity: .62; cursor: not-allowed; }
.starter-scenarios { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.starter-scenarios button { min-height: 104px; padding: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }
.starter-scenarios button svg { width: 21px; height: 21px; color: var(--green); }
.starter-scenarios strong, .starter-scenarios small { display: block; }
.starter-scenarios strong { font-size: 12px; }
.starter-scenarios small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.starter-scenarios button.is-selected { border-color: #b58b26; background: var(--yellow-dark); box-shadow: inset 3px 0 0 var(--yellow); }
.starter-prompt-field { margin-top: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.starter-prompt-field textarea { width: 100%; padding: 13px; resize: vertical; border: 1px solid #91a298; border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; line-height: 1.45; }
.starter-prompt-field textarea:focus { outline: 2px solid #6f9d80; outline-offset: 2px; }
.starter-day-result { margin-top: 24px; padding: 16px; border: 1px solid #8cad98; border-radius: var(--radius); background: var(--surface-2); }
.starter-day-result .result-complete { margin-bottom: 16px; }
.starter-day-result > p { max-height: 340px; overflow-y: auto; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); white-space: pre-wrap; color: #3c4840; font-size: 13px; line-height: 1.55; }
.access-open-status { grid-template-columns: 26px minmax(0, 1fr); }
.access-open-status .outline-button { grid-column: 1 / -1; min-height: 46px; background: var(--surface); }
.day-two-form { display: grid; gap: 17px; }
.day-two-form label { display: grid; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.day-two-form input, .day-two-form textarea { width: 100%; padding: 13px; border: 1px solid #91a298; border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; line-height: 1.45; }
.day-two-form input { min-height: 50px; }
.day-two-form textarea { resize: vertical; }
.day-two-form input:focus, .day-two-form textarea:focus { outline: 2px solid #6f9d80; outline-offset: 2px; }
.day-two-form fieldset { margin: 0; padding: 0; border: 0; }
.day-two-form legend { margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 800; }
.time-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.time-choice button { min-height: 52px; padding: 8px 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font-size: 10px; font-weight: 700; cursor: pointer; }
.time-choice button.is-selected { border-color: #b58b26; background: var(--yellow-dark); color: #5c430b; box-shadow: inset 0 -3px 0 var(--yellow); }

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(100%, 460px);
  min-height: 72px;
  padding: 7px 8px max(7px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  transform: translateX(-50%);
  background: rgba(232, 236, 232, 0.90);
  border: 1px solid var(--line);
  border-bottom: 0;
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 -8px 28px rgba(32, 43, 35, .10);
}
.nav-item { min-width: 0; min-height: 54px; margin: 0 2px; padding: 6px 2px 5px; display: grid; place-items: center; align-content: center; gap: 4px; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: #59645c; cursor: pointer; position: relative; transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 100ms ease; }
.nav-item svg { width: 20px; height: 20px; stroke-width: 1.8; }
.nav-item small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
.nav-item.is-active { color: #173d2a; border-color: #9faf9f; background: #f6f7f4; box-shadow: 0 4px 12px rgba(37, 54, 42, .12); transform: translateY(-2px); }
.nav-item.is-active::before { content: ""; position: absolute; top: 4px; width: 20px; height: 3px; border-radius: 2px; background: var(--green); }
.nav-item.is-active small { color: var(--text); font-weight: 800; }
.nav-item.access-nav { color: #72530c; }
.nav-item.access-nav small { color: #785a14; }
.nav-item.access-nav.is-active { color: #4f3907; border-color: #ad882d; background: var(--yellow-dark); box-shadow: 0 4px 12px rgba(79,57,7,.13); }
.nav-item.access-nav.is-active::before { background: #9a741a; }
.nav-item.access-nav.is-active small { color: #5c430b; }

@media (min-width: 700px) {
  body { padding: 24px 0; }
  .app-shell { min-height: calc(100dvh - 48px); border: 1px solid #cdd4cc; box-shadow: 0 24px 80px rgba(36,48,39,.16); }
  .bottom-nav { bottom: 24px; }
}

@media (max-width: 360px) {
  .screen { padding-inline: 14px; }
  .result-hero { margin-inline: -14px; padding-inline: 14px; }
  h1 { font-size: 27px; }
  .current-mission { grid-template-columns: 42px minmax(0,1fr) 38px; padding: 12px; }
  .mission-icon { width: 42px; height: 42px; }
  .price-title { display: block; }
  .price-title > strong, .price-stack { display: block; margin-top: 8px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .screen.is-active { animation: none; }
  .next-action { animation: none; }
}
.day-one-basics {
  margin: 20px 0 24px;
}

.day-one-improve,
.day-one-comparison {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line, #d8dde5);
}

.day-one-improve > p:not(.eyebrow) {
  margin: 8px 0 18px;
  color: var(--muted, #596273);
}

.day-one-improve label,
.day-one-improve fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.day-one-improve label > span,
.day-one-improve legend {
  font-weight: 700;
}

.day-one-improve textarea {
  width: 100%;
  min-height: 104px;
  padding: 14px;
  resize: vertical;
  border: 1px solid #b9c2cf;
  border-radius: 8px;
  background: #fff;
  color: #18202d;
  font: inherit;
}

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

.format-choice button {
  min-height: 48px;
  padding: 8px;
  border: 1px solid #c8ced8;
  border-radius: 8px;
  background: #f5f6f8;
  color: #273142;
  font: inherit;
  font-weight: 700;
}

.format-choice button.is-selected {
  border-color: #118a83;
  background: #e5f5f2;
  color: #075e59;
  box-shadow: inset 0 0 0 1px #118a83;
}

.first-answer-note {
  margin-top: 16px;
}

.comparison-block {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #d5dae2;
  border-radius: 8px;
  background: #f5f6f8;
}

.comparison-block.is-improved {
  border-color: #83c8bb;
  background: #eaf7f3;
}

.comparison-block small {
  display: block;
  margin-bottom: 8px;
  color: #657084;
  font-weight: 800;
}

.comparison-block p {
  margin: 0;
  white-space: pre-wrap;
}

@media (max-width: 390px) {
  .format-choice {
    grid-template-columns: 1fr;
  }
}
.dev-reset-button {
  display: block;
  margin: 12px auto 0;
  color: #687284;
  font-size: 13px;
}
.profile-identity {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #cfd8d3;
}

.profile-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #2f8264;
  border-radius: 50%;
  background: #e1eee8;
  color: #185a43;
  box-shadow: 0 0 0 4px #f4f7f5;
  font-size: 22px;
  font-weight: 800;
}

.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-identity-copy { min-width: 0; }
.profile-identity-copy > small { display: block; margin-bottom: 3px; color: #657268; font-size: 12px; font-weight: 700; }
.profile-identity-copy h1 { margin: 0; overflow-wrap: anywhere; font-size: 24px; line-height: 1.15; }
.profile-identity-copy .lead { margin: 6px 0 0; color: #657268; font-size: 13px; line-height: 1.4; }
.starter-title-lockup {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.starter-title-lockup > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid #2f8264;
  border-radius: 8px;
  background: #e1eee8;
  color: #185a43;
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.starter-title-lockup h1 {
  margin: 0;
  max-width: none;
  font-size: 27px;
  line-height: 1.08;
}

.starter-course-head {
  display: block;
}

.starter-course-head > strong {
  display: flex;
  width: fit-content;
  min-width: 0;
  height: auto;
  margin: 12px 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #adc1b7;
  border-radius: 8px;
  background: #edf3f0;
  color: #2f6f56;
  font-size: 13px;
}

@media (max-width: 390px) {
  .starter-title-lockup { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; }
  .starter-title-lockup > span { width: 48px; height: 48px; font-size: 27px; }
  .starter-title-lockup h1 { font-size: 24px; }
}
.transformation-slider { margin: 18px 0 20px; overflow: hidden; border: 1px solid #b8c9c0; background: #f2f5f3; box-shadow: 0 8px 20px rgba(45,70,59,.08); }
.transformation-track { display: flex; transition: transform .45s ease; }
.transformation-slide { display: grid; flex: 0 0 100%; grid-template-columns: 112px 1fr; align-items: center; min-height: 176px; padding: 18px; }
.slide-visual { position: relative; display: grid; width: 92px; height: 118px; place-items: center; overflow: hidden; border: 1px solid rgba(47,130,100,.25); background: #dfece6; }
.slide-visual::after { position: absolute; right: -24px; bottom: -32px; width: 78px; height: 78px; border: 18px solid rgba(255,255,255,.38); border-radius: 50%; content: ""; }
.slide-visual svg { width: 42px; height: 42px; color: #276b53; stroke-width: 1.6; }
.slide-visual span { position: absolute; top: 9px; left: 10px; color: #276b53; font-size: 10px; font-weight: 900; }
.visual-result { border-color: #dcc56e; background: #fff0b8; }
.visual-result svg, .visual-result span { color: #72580d; }
.visual-work { border-color: #b8bddb; background: #e6e8f4; }
.visual-work svg, .visual-work span { color: #4a507e; }
.visual-market { border-color: #91b8a8; background: #d8eee5; }
.visual-market svg, .visual-market span { color: #1f7254; }
.market-slide strong { font-size: 15px; }
.market-slide p { font-size: 11px; }
.slide-copy { min-width: 0; }
.transformation-slide small, .result-value small { display: block; margin-bottom: 5px; color: #39735b; font-size: 10px; font-weight: 800; }
.transformation-slide strong { display: block; font-size: 16px; line-height: 1.25; }
.transformation-slide p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.transformation-controls { display: grid; grid-template-columns: 38px 1fr auto 38px; align-items: center; gap: 10px; padding: 0 14px 14px; }
.transformation-dots { display: flex; justify-content: flex-start; gap: 7px; }
.transformation-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #9aa9a1; cursor: pointer; transition: width .2s ease, border-radius .2s ease, background .2s ease; }
.transformation-dots button.is-active { width: 22px; border-radius: 5px; background: #2f8264; }
.slide-arrow { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid #b8c9c0; background: #fff; color: #276b53; cursor: pointer; }
.slide-arrow svg { width: 17px; height: 17px; }
.slide-counter { color: #6e786f; font-size: 11px; font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .transformation-track { transition: none; } }
.market-signal, .cohort-status { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.market-signal { margin: 18px 0 10px; padding: 14px; border: 1px solid #a9beb3; border-radius: 8px; background: #f1f5f3; }
.market-signal svg, .cohort-status svg { width: 22px; color: #2f8264; }
.market-signal p, .cohort-status { margin-top: 0; }
.market-signal strong, .market-signal small, .cohort-status strong, .cohort-status small { display: block; }
.market-signal small, .cohort-status small { margin-top: 4px; color: #657268; line-height: 1.4; }
.cohort-status { margin: 0 0 22px; padding: 10px 2px; }
.result-value { margin: 16px 0; padding: 14px; border: 1px solid #93b9aa; border-radius: 8px; background: #eaf4ef; }
.result-value strong { display: block; }
.result-value p { margin: 5px 0 0; color: #57675f; }
.single-stage-summary {
  cursor: default;
}

.single-stage-summary .transformation-track {
  display: block;
  transform: none !important;
}

.single-stage-summary .transformation-slide {
  display: none;
}

.single-stage-summary .transformation-slide:first-child {
  display: grid;
}

.single-stage-summary .transformation-controls {
  display: none;
}
.diagnosis-route-link[hidden] {
  display: none !important;
}
#result-title {
  width: 100%;
  max-width: none;
  overflow-wrap: normal;
  word-break: normal;
}
/* Bot message slide previews */
.notification-preview-panel {
  margin-top: 24px;
  padding: 20px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e8e9ef);
  border-radius: 20px;
}

.notification-preview-panel h2 { margin: 4px 0 16px; font-size: 20px; }
.notification-preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.notification-preview-actions .is-selected { color: #fff; background: #022dff; border-color: #022dff; }
.notification-preview-list { display: grid; gap: 10px; margin-top: 16px; }
.notification-preview-item { padding: 16px; background: #f1f3f7; border: 1px solid #dfe2ea; border-radius: 14px; }
.notification-preview-image {
  display: block;
  width: 112px;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0 0 12px;
  object-fit: cover;
  border: 1px solid #d7dae4;
  border-radius: 10px;
}
.notification-preview-item h3 { margin: 10px 0 6px; font-size: 17px; }
.notification-preview-item p { margin: 0; color: #636673; font-size: 14px; line-height: 1.45; }
.notification-preview-meta,
.notification-preview-target { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notification-preview-meta strong { color: #022dff; font-size: 13px; }
.notification-preview-meta span { color: #868a9c; font-size: 11px; text-transform: uppercase; }
.notification-preview-target { margin-top: 14px; padding-top: 12px; border-top: 1px solid #d7dae4; }
.notification-preview-target span { font-size: 13px; font-weight: 700; }
.notification-preview-target small { color: #868a9c; }
.notification-test-button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  color: #022dff;
  background: #fff;
  border: 1px solid #b9c8ff;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.notification-test-button:active { transform: translateY(1px); }
.notification-test-button:disabled { cursor: wait; opacity: .6; }
.notification-test-status { display: block; min-height: 17px; margin-top: 7px; color: #16733b; font-size: 12px; }
.notification-test-status.is-error { color: #b42318; }

.message-slide-gallery {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.message-slide-gallery > article > small {
  display: block;
  margin: 0 0 8px;
  color: var(--text-muted, #868a9c);
  font-size: 12px;
  font-weight: 700;
}

.message-slide-gallery > article > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid #d7dae4;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgb(4 10 39 / 14%);
}

.message-slide-gallery > article { min-width: 0; }

.bot-message-slide {
  box-sizing: border-box;
  min-height: 330px;
  margin: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 24px;
  background: #071d4a;
  box-shadow: 0 18px 48px rgb(4 10 39 / 18%);
}

.bot-message-slide .slide-kicker {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 7px 11px;
  color: #071d4a;
  background: #fff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.bot-message-slide h2 {
  max-width: 290px;
  margin: 14px 0 8px;
  color: #fff;
  font-size: 27px;
  line-height: 1.08;
}

.bot-message-slide p {
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: 15px;
}

.slide-number,
.slide-price strong {
  color: #fff;
  font-size: 48px;
  font-weight: 750;
  line-height: 1;
}

.slide-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #022dff;
  background: #fff;
  border-radius: 16px;
}

.slide-icon svg { width: 30px; height: 30px; }
.slide-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 22px; }
.slide-progress i { height: 5px; background: rgb(255 255 255 / 24%); border-radius: 5px; }
.slide-progress i:nth-child(-n+3) { background: #fff; }
.result-slide { background: #123c87; }
.finish-slide { background: #0e3475; }
.credit-slide { color: #040a27; background: #dfe8ff; border-color: #c5d4ff; }
.credit-slide .slide-kicker { color: #fff; background: #022dff; }
.credit-slide h2 { color: #040a27; }
.credit-slide p { color: #636673; }
.slide-price { display: flex; flex-direction: column; gap: 4px; }
.slide-price s { color: #636673; font-size: 18px; }
.credit-slide .slide-price strong { color: #022dff; font-size: 44px; }
