:root {
  --bg: #f5f5f7;
  --surface: #fbfbfd;
  --panel: #ffffff;
  --panel-soft: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: #d2d2d7;
  --line-soft: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-dark: #0066cc;
  --green: #2f6f5e;
  --warm: #9d6b36;
  --danger: #b42318;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
  --soft-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1160px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(360px, 430px) 1fr;
  align-items: center;
  gap: 64px;
}

.phone-frame {
  position: relative;
  height: min(900px, calc(100vh - 68px));
  min-height: 720px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 38px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.topbar {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 2px 16px;
}

.topbar h1,
.desktop-brief h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: 0;
}

.eyebrow,
.label {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.icon-button,
.close-button {
  border: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 22px;
  font-weight: 900;
  box-shadow: none;
}

.tabbar {
  order: 3;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-top: 12px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.tab {
  min-width: 0;
  border: 0;
  border-radius: 14px;
  padding: 8px 2px 7px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.tab.active {
  color: #fff;
  background: var(--ink);
}

.tab-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  font-size: 11px;
  line-height: 1;
}

.tab.active .tab-icon {
  color: var(--ink);
  background: #fff;
}

.view {
  order: 2;
  display: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 2px 14px;
  scrollbar-width: none;
}

.view::-webkit-scrollbar,
.topic-modal-list::-webkit-scrollbar {
  display: none;
}

.view.active {
  display: block;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 2px 0 18px;
}

.section-title h2,
.modal h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-title p,
.subsection-title p,
.desktop-brief p,
.gate-card p,
.theory-lead p,
.behavior-lead p,
.outside-lead p,
.control-lead p,
.control-action-card p,
.blame-lead p,
.blame-action-card p,
.harm-lead p,
.boundary-lead p,
.seam-lead p,
.seam-action-card p,
.independence-lead p,
.return-lead p,
.action-lead p,
.repair-lead p,
.trap-lead p,
.trap-card p,
.lesson-card p,
.growth-lead p,
.rescue-lead p,
.guide-card p,
.case-card p,
.path-card p,
.course-card p,
.modal p,
.route-card p,
.intake-lead p,
.desktop-ritual strong {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

.subsection-title {
  margin: 26px 0 13px;
}

.subsection-title h3,
.theory-lead h3,
.behavior-lead h3,
.outside-lead h3,
.control-lead h3,
.control-action-card h3,
.blame-lead h3,
.blame-action-card h3,
.harm-lead h3,
.boundary-lead h3,
.seam-lead h3,
.seam-action-card h3,
.independence-lead h3,
.return-lead h3,
.action-lead h3,
.trap-lead h3,
.growth-lead h3,
.rescue-lead h3,
.freedom-lead h3,
.rebirth-lead h3,
.repair-lead h3,
.intake-lead h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.38;
  letter-spacing: 0;
}

.trap-lead,
.theory-lead,
.behavior-lead,
.outside-lead,
.control-lead,
.control-action-card,
.blame-lead,
.blame-action-card,
.harm-lead,
.boundary-lead,
.seam-lead,
.seam-action-card,
.independence-lead,
.return-lead,
.action-lead,
.growth-lead,
.rescue-lead,
.freedom-lead,
.rebirth-lead,
.repair-lead,
.intake-lead,
.gate-card {
  margin-top: 10px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}

.primary-action,
.secondary-action {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border-radius: 16px;
  font-weight: 850;
}

.primary-action {
  border: 0;
  color: #fff;
  background: var(--ink);
  box-shadow: none;
}

.secondary-action {
  border: 1px solid var(--line-soft);
  color: var(--ink);
  background: var(--panel);
}

.apple-hero {
  padding: 42px 10px 28px;
  text-align: center;
}

.apple-hero .label {
  color: var(--soft);
  letter-spacing: 0;
}

.apple-hero h2 {
  margin: 12px auto 12px;
  max-width: 8em;
  color: var(--ink);
  font-size: 52px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.apple-hero p {
  max-width: 25em;
  margin: 0 auto;
  color: #515154;
  font-size: 17px;
  line-height: 1.72;
}

.apple-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.apple-actions .primary-action {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue);
}

.text-action {
  min-height: 44px;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
  font-size: 16px;
  font-weight: 800;
}

.apple-focus {
  margin-top: 4px;
  padding: 18px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.apple-focus span,
.showcase-card span,
.logic-step span {
  display: block;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.apple-focus strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.apple-focus p {
  margin: 8px auto 0;
  max-width: 24em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.apple-showcase,
.logic-path {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.logic-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 17px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--panel);
  cursor: pointer;
}

.logic-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
}

.logic-step h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.logic-step p,
.home-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.logic-step:nth-child(2) span {
  background: var(--blue);
}

.logic-step:nth-child(3) span {
  background: #4d5562;
}

.logic-step:nth-child(4) span {
  background: var(--warm);
}

.home-note {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0, 113, 227, 0.08);
}

.home-note strong {
  color: #034f95;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.showcase-card {
  min-height: 218px;
  padding: 25px;
  border-radius: 26px;
  background: var(--panel);
}

.showcase-card[data-jump] {
  cursor: pointer;
}

.showcase-card h2 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.showcase-card p {
  margin: 0;
  color: #515154;
  font-size: 17px;
  line-height: 1.72;
}

.showcase-dark {
  background: var(--ink);
}

.showcase-dark h2,
.showcase-dark p {
  color: var(--surface);
}

.showcase-dark span {
  color: #a1a1a6;
}

.minimal-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 6px;
}

.minimal-path button {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel);
  font-size: 13px;
  font-weight: 850;
}

.path-list,
.lesson-list,
.return-list,
.trap-list,
.topic-grid,
.topic-modal-list,
.self-list,
.guide-list,
.course-list,
.growth-list,
.rebirth-list,
.case-stack,
.intake-grid {
  display: grid;
  gap: 12px;
}

.route-card,
.path-card,
.return-card,
.trap-card,
.guide-card,
.lesson-card,
.topic-card,
.course-card,
.case-card,
.intake-card {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 18px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}

.route-card h3,
.topic-card h3,
.return-card h3,
.trap-card h3,
.lesson-card h3,
.guide-card h3,
.course-card h3,
.case-card h3,
.path-card h3,
.intake-card h3 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.38;
  letter-spacing: 0;
}

.home-chip,
.route-tag,
.path-tag,
.course-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel-soft);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.read-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.read-badge.is-unread {
  color: #6e6e73;
  background: #f0f0f2;
}

.read-badge.is-read {
  color: #0057b8;
  background: rgba(0, 113, 227, 0.11);
}

.read-badge.is-read::before {
  content: "✓";
  font-size: 11px;
  line-height: 1;
}

.read-progress {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.read-progress span {
  color: #6e6e73;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.read-progress i {
  display: block;
  width: min(190px, 100%);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececef;
}

.read-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.principle-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 15px;
}

.principle-strip span,
.intake-options span,
.keyword-strip span {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.principle-strip span {
  text-align: center;
}

.return-card,
.trap-card,
.guide-card,
.lesson-card,
.topic-card,
.course-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.topic-card {
  min-height: 128px;
}

.topic-card p,
.lesson-card p,
.guide-card p,
.course-card p,
.case-card p {
  font-size: 16px;
  line-height: 1.8;
}

.topic-card button,
.return-card button,
.trap-card button,
.guide-card button,
.lesson-card button,
.course-card button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.path-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
}

.path-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.topic-card[data-topic^="theory"] button,
.noContactAction-card button,
.contactDecision-card button {
  background: var(--blue);
}

.topic-card[data-topic^="growth"] button,
.awakening-card button,
.painfulLesson-card button {
  background: var(--warm);
}

.more-topics {
  overflow: hidden;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
}

.more-topics summary {
  list-style: none;
  padding: 16px 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.4;
  cursor: pointer;
}

.more-topics summary::-webkit-details-marker {
  display: none;
}

.more-topics summary::after {
  content: "↓";
  float: right;
  color: var(--blue-dark);
  font-weight: 900;
}

.more-topics[open] summary::after {
  content: "↑";
}

.more-topic-list {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
}

.topic-modal .modal-body {
  max-height: min(760px, 86vh);
}

.topic-modal-list {
  margin-top: 16px;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 2px;
}

.topic-modal-list .lesson-card,
.topic-modal-list .path-card {
  padding: 18px;
}

.topic-modal-list .lesson-card h3,
.topic-modal-list .path-card h3 {
  font-size: 21px;
  line-height: 1.4;
}

.topic-modal-list .lesson-card p,
.topic-modal-list .path-card p {
  font-size: 17px;
  line-height: 1.86;
}

.intake-card h3 {
  margin-top: 9px;
}

.intake-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.intake-options button {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--panel-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.intake-options button.is-selected {
  border-color: rgba(0, 113, 227, 0.32);
  color: #0057b8;
  background: rgba(0, 113, 227, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.08);
}

.intake-result {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.92));
  box-shadow: var(--soft-shadow);
}

.intake-result.is-medium {
  border-color: rgba(157, 107, 54, 0.18);
  background: linear-gradient(180deg, #fff, rgba(255, 249, 241, 0.9));
}

.intake-result.is-heavy {
  border-color: rgba(180, 35, 24, 0.16);
  background: linear-gradient(180deg, #fff, rgba(255, 246, 244, 0.92));
}

.intake-result h3 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.38;
}

.intake-result p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.intake-summary,
.intake-next {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.intake-summary strong,
.intake-next strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.intake-summary span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.intake-recommend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.intake-recommend span {
  padding: 7px 9px;
  border-radius: 999px;
  color: #034f95;
  background: rgba(0, 113, 227, 0.1);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.intake-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.intake-actions button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.intake-actions button[data-safety] {
  grid-column: 1 / -1;
  background: var(--danger);
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.route-card {
  position: relative;
  padding-right: 44px;
  cursor: pointer;
}

.route-card::after {
  content: "›";
  position: absolute;
  right: 18px;
  top: 50%;
  translate: 0 -50%;
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 900;
}

.journal-form {
  display: grid;
  gap: 13px;
}

.journal-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.journal-form textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  color: var(--ink);
  background: var(--panel);
  outline: none;
  font-size: 17px;
  line-height: 1.72;
}

.journal-form textarea:focus {
  border-color: rgba(0, 113, 227, 0.58);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.saved-note {
  margin-top: 13px;
  padding: 16px;
  border-radius: 16px;
  background: var(--panel);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.desktop-brief {
  max-width: 590px;
}

.desktop-brief h2 {
  margin-top: 10px;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
}

.desktop-brief p {
  margin-top: 22px;
  max-width: 45ch;
  font-size: 19px;
  line-height: 1.82;
}

.desktop-ritual {
  margin-top: 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-soft);
}

.desktop-ritual span {
  display: block;
  margin-bottom: 7px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.desktop-ritual strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.55;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.brief-grid div {
  padding: 18px 0 0;
  border-top: 1px solid var(--line-soft);
}

.brief-grid strong {
  display: block;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.brief-grid span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.modal {
  width: min(680px, calc(100vw - 20px));
  border: 0;
  border-radius: 20px;
  padding: 0;
  background: transparent;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(8px);
}

.modal-body {
  position: relative;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.modal-body.danger {
  background: var(--panel);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--panel-soft);
  font-size: 22px;
}

.modal ol,
.modal ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--ink);
}

.modal li {
  margin: 12px 0;
  font-size: 18px;
  line-height: 1.86;
}

.modal-block,
.safety-list {
  margin-top: 20px;
  padding: 20px;
  border-radius: 18px;
  background: var(--panel-soft);
}

.modal h2 {
  max-width: calc(100% - 44px);
  margin-top: 8px;
  font-size: 31px;
  line-height: 1.34;
}

.modal-block h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.38;
}

.action-workbench {
  border: 1px solid rgba(0, 0, 0, 0.045);
  background: linear-gradient(180deg, #fff, #fbfbfd);
}

.workbench-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.workbench-head h3 {
  margin-bottom: 0;
}

.modal .privacy-note {
  max-width: 18em;
  color: #8d8d92;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.42;
  text-align: right;
}

.action-checklist {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.modal .workbench-encouragement {
  margin-top: 13px;
  color: #5f6f84;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.7;
}

.action-item {
  display: grid;
  gap: 10px;
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(248, 248, 250, 0.88);
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.62;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--blue);
}

.check-row:has(input:checked) {
  border-color: rgba(0, 113, 227, 0.28);
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.96), rgba(255, 255, 255, 0.94));
  box-shadow: inset 3px 0 0 rgba(0, 113, 227, 0.74);
}

.action-explain {
  display: none;
  margin: -2px 0 2px 30px;
  padding: 12px 13px;
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(240, 247, 255, 0.86)),
    #f5faff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.action-item.is-open .action-explain {
  display: block;
}

.action-explain h4 {
  margin: 0 0 5px;
  color: #1d4f86;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.modal .action-explain p {
  margin: 0;
  color: #36546f;
  font-size: 13px;
  line-height: 1.72;
}

.modal .takeaway-quote {
  display: block;
  margin-top: 10px;
  padding: 12px 13px;
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 14px;
  color: #034f95;
  background:
    linear-gradient(180deg, rgba(245, 250, 255, 0.98), rgba(232, 244, 255, 0.9)),
    #e8f4ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(0, 113, 227, 0.09);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.6;
}

.modal p,
.route-card p,
.intake-lead p,
.desktop-ritual strong {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

.subsection-title {
  margin: 26px 0 13px;
}

.subsection-title h3,
.theory-lead h3,
.behavior-lead h3,
.outside-lead h3,
.control-lead h3,
.control-action-card h3,
.blame-lead h3,
.blame-action-card h3,
.harm-lead h3,
.boundary-lead h3,
.seam-lead h3,
.seam-action-card h3,
.independence-lead h3,
.return-lead h3,
.action-lead h3,
.trap-lead h3,
.growth-lead h3,
.rescue-lead h3,
.freedom-lead h3,
.rebirth-lead h3,
.repair-lead h3,
.intake-lead h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.38;
  letter-spacing: 0;
}

.trap-lead,
.theory-lead,
.behavior-lead,
.outside-lead,
.control-lead,
.control-action-card,
.blame-lead,
.blame-action-card,
.harm-lead,
.boundary-lead,
.seam-lead,
.seam-action-card,
.independence-lead,
.return-lead,
.action-lead,
.growth-lead,
.rescue-lead,
.freedom-lead,
.rebirth-lead,
.repair-lead,
.intake-lead,
.gate-card {
  margin-top: 10px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}

.primary-action,
.secondary-action {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border-radius: 16px;
  font-weight: 850;
}

.primary-action {
  border: 0;
  color: #fff;
  background: var(--ink);
  box-shadow: none;
}

.secondary-action {
  border: 1px solid var(--line-soft);
  color: var(--ink);
  background: var(--panel);
}

.apple-hero {
  padding: 42px 10px 34px;
  text-align: center;
}

.apple-hero .label {
  color: var(--soft);
  letter-spacing: 0;
}

.apple-hero h2 {
  margin: 11px auto 13px;
  max-width: 9.5em;
  color: var(--ink);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: 0;
}

.apple-hero p {
  max-width: 26em;
  margin: 0 auto;
  color: #515154;
  font-size: 18px;
  line-height: 1.78;
}

.apple-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.apple-actions .primary-action {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue);
}

.text-action {
  min-height: 44px;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
  font-size: 16px;
  font-weight: 800;
}

.apple-focus {
  margin-top: 8px;
  padding: 24px 22px;
  border-radius: 24px;
  background: var(--panel);
  text-align: center;
}

.apple-focus span,
.showcase-card span {
  display: block;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.apple-focus strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.25;
}

.apple-focus p {
  margin: 8px auto 0;
  max-width: 24em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.apple-showcase {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.showcase-card {
  min-height: 218px;
  padding: 25px;
  border-radius: 26px;
  background: var(--panel);
}

.showcase-card[data-jump] {
  cursor: pointer;
}

.showcase-card h2 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.showcase-card p {
  margin: 0;
  color: #515154;
  font-size: 17px;
  line-height: 1.72;
}

.showcase-dark {
  background: var(--ink);
}

.showcase-dark h2,
.showcase-dark p {
  color: var(--surface);
}

.showcase-dark span {
  color: #a1a1a6;
}

.minimal-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 6px;
}

.minimal-path button {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel);
  font-size: 13px;
  font-weight: 850;
}

.path-list,
.lesson-list,
.return-list,
.trap-list,
.topic-grid,
.topic-modal-list,
.self-list,
.guide-list,
.course-list,
.growth-list,
.rebirth-list,
.case-stack,
.intake-grid {
  display: grid;
  gap: 12px;
}

.route-card,
.path-card,
.return-card,
.trap-card,
.guide-card,
.lesson-card,
.topic-card,
.course-card,
.case-card,
.intake-card {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 18px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}

.route-card h3,
.topic-card h3,
.return-card h3,
.trap-card h3,
.lesson-card h3,
.guide-card h3,
.course-card h3,
.case-card h3,
.path-card h3,
.intake-card h3 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.38;
  letter-spacing: 0;
}

.home-chip,
.route-tag,
.path-tag,
.course-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel-soft);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.principle-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 15px;
}

.principle-strip span,
.intake-options span,
.keyword-strip span {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.principle-strip span {
  text-align: center;
}

.return-card,
.trap-card,
.guide-card,
.lesson-card,
.topic-card,
.course-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.topic-card {
  min-height: 128px;
}

.topic-card p,
.lesson-card p,
.guide-card p,
.course-card p,
.case-card p {
  font-size: 16px;
  line-height: 1.8;
}

.topic-card button,
.return-card button,
.trap-card button,
.guide-card button,
.lesson-card button,
.course-card button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.path-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
}

.path-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.topic-card[data-topic^="theory"] button,
.noContactAction-card button,
.contactDecision-card button {
  background: var(--blue);
}

.topic-card[data-topic^="growth"] button,
.awakening-card button,
.painfulLesson-card button {
  background: var(--warm);
}

.more-topics {
  overflow: hidden;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
}

.more-topics summary {
  list-style: none;
  padding: 16px 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.4;
  cursor: pointer;
}

.more-topics summary::-webkit-details-marker {
  display: none;
}

.more-topics summary::after {
  content: "↓";
  float: right;
  color: var(--blue-dark);
  font-weight: 900;
}

.more-topics[open] summary::after {
  content: "↑";
}

.more-topic-list {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
}

.topic-modal .modal-body {
  max-height: min(760px, 86vh);
}

.topic-modal-list {
  margin-top: 16px;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 2px;
}

.topic-modal-list .lesson-card,
.topic-modal-list .path-card {
  padding: 18px;
}

.topic-modal-list .lesson-card h3,
.topic-modal-list .path-card h3 {
  font-size: 21px;
  line-height: 1.4;
}

.topic-modal-list .lesson-card p,
.topic-modal-list .path-card p {
  font-size: 17px;
  line-height: 1.86;
}

.intake-card h3 {
  margin-top: 9px;
}

.intake-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.route-card {
  position: relative;
  padding-right: 44px;
  cursor: pointer;
}

.route-card::after {
  content: "›";
  position: absolute;
  right: 18px;
  top: 50%;
  translate: 0 -50%;
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 900;
}

.journal-form {
  display: grid;
  gap: 13px;
}

.journal-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.journal-form textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  color: var(--ink);
  background: var(--panel);
  outline: none;
  font-size: 17px;
  line-height: 1.72;
}

.journal-form textarea:focus {
  border-color: rgba(0, 113, 227, 0.58);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.saved-note {
  margin-top: 13px;
  padding: 16px;
  border-radius: 16px;
  background: var(--panel);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.desktop-brief {
  max-width: 590px;
}

.desktop-brief h2 {
  margin-top: 10px;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
}

.desktop-brief p {
  margin-top: 22px;
  max-width: 45ch;
  font-size: 19px;
  line-height: 1.82;
}

.desktop-ritual {
  margin-top: 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-soft);
}

.desktop-ritual span {
  display: block;
  margin-bottom: 7px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.desktop-ritual strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.55;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.brief-grid div {
  padding: 18px 0 0;
  border-top: 1px solid var(--line-soft);
}

.brief-grid strong {
  display: block;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.brief-grid span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.modal {
  width: min(680px, calc(100vw - 20px));
  border: 0;
  border-radius: 20px;
  padding: 0;
  background: transparent;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(8px);
}

.modal-body {
  position: relative;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.modal-body.danger {
  background: var(--panel);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--panel-soft);
  font-size: 22px;
}

.modal ol,
.modal ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--ink);
}

.modal li {
  margin: 12px 0;
  font-size: 18px;
  line-height: 1.86;
}

.modal-block,
.safety-list {
  margin-top: 20px;
  padding: 20px;
  border-radius: 18px;
  background: var(--panel-soft);
}

.modal h2 {
  max-width: calc(100% - 44px);
  margin-top: 8px;
  font-size: 31px;
  line-height: 1.34;
}

.modal-block h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.38;
}

.modal p,
.lesson-text p,
#lessonSummary,
#topicSummary {
  font-size: 18px;
  line-height: 1.92;
}

#lessonSummary,
#topicSummary {
  margin-top: 10px;
  color: var(--muted);
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.keyword-strip[hidden] {
  display: none;
}

.lesson-text {
  display: grid;
  gap: 12px;
}

.lesson-text p {
  margin: 0;
  color: var(--muted);
}

.fact-block {
  background: #f5f8f6;
  border: 1px solid rgba(47, 111, 94, 0.12);
}

.warning-block {
  background: #fff7f4;
  border: 1px solid rgba(180, 65, 38, 0.12);
}

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

.guide-modal {
  width: min(640px, calc(100vw - 24px));
}

@media (max-width: 820px) {
  body {
    background: var(--surface);
  }

  .app-shell {
    min-height: 100vh;
    display: block;
    padding: 0;
  }

  .phone-frame {
    width: 100%;
    height: 100vh;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 18px 18px 12px;
  }

  .desktop-brief {
    display: none;
  }
}

@media (max-width: 430px) {
  .topbar h1 {
    font-size: 24px;
  }

  .apple-hero {
    padding: 30px 4px 24px;
  }

  .apple-hero h2 {
    font-size: 44px;
  }

  .showcase-card {
    min-height: 204px;
    padding: 22px;
  }

  .showcase-card h2 {
    font-size: 36px;
  }

  .minimal-path {
    gap: 6px;
  }

  .minimal-path button {
    font-size: 12px;
  }

  .tab {
    font-size: 11px;
  }

  .tab-icon {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .modal-body {
    padding: 29px 22px;
  }

  .modal h2 {
    font-size: 26px;
  }

  .workbench-head {
    display: grid;
    gap: 7px;
  }

  .action-explain {
    margin-left: 0;
  }

  .privacy-note {
    max-width: none;
    text-align: left;
  }

  .modal p,
  .lesson-text p,
  #lessonSummary,
  #topicSummary,
  .modal li {
    font-size: 17px;
  }

  .intake-options span,
  .intake-options button {
    max-width: 100%;
  }

  .intake-actions {
    grid-template-columns: 1fr;
  }
}

/* Final simplified flow overrides */
.tabbar {
  gap: 3px;
  padding: 4px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.tab {
  border-radius: 14px;
  padding: 8px 2px 7px;
}

.tab-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  font-size: 11px;
}

.tab.active .tab-icon {
  color: var(--ink);
  background: #fff;
}

.apple-hero {
  padding: 42px 10px 28px;
}

.apple-hero h2 {
  max-width: 8em;
  font-size: 52px;
  line-height: 1.02;
}

.apple-hero p {
  max-width: 25em;
  font-size: 17px;
  line-height: 1.72;
}

.apple-actions {
  margin-top: 24px;
}

.apple-focus {
  margin-top: 4px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.apple-focus strong {
  margin-top: 5px;
  font-size: 24px;
}

.logic-path {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.logic-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 17px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--panel);
  cursor: pointer;
}

.logic-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.logic-step h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.logic-step p,
.home-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.logic-step:nth-child(2) span {
  background: var(--blue);
}

.logic-step:nth-child(3) span {
  background: #4d5562;
}

.logic-step:nth-child(4) span {
  background: var(--warm);
}

.home-note {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0, 113, 227, 0.08);
}

.home-note strong {
  color: #034f95;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

@media (max-width: 430px) {
  .apple-hero {
    padding: 30px 4px 24px;
  }

  .apple-hero h2 {
    font-size: 44px;
  }

  .tab-icon {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
}

/* Recover self-confirmation and navigation polish */
.view-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  margin: 0 0 14px;
  padding: 8px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 850;
  box-shadow: none;
}

.view-back:active {
  transform: translateY(1px);
}

.topic-modal-list .topic-path-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 18px;
}

.path-main {
  display: grid;
  gap: 8px;
}

.path-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.path-target {
  display: block;
  margin-top: 4px;
  padding: 11px 12px;
  border-radius: 14px;
  color: #034f95;
  background: rgba(0, 113, 227, 0.08);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.6;
}

.path-checks {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.path-checks li {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.path-checks li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.confirm-block {
  border: 1px solid rgba(0, 113, 227, 0.14);
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.065), rgba(255, 255, 255, 0.92));
}

.confirm-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.confirm-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
}

.confirm-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.confirm-row span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.65;
}

.confirm-row:has(input:checked) {
  border-color: rgba(0, 113, 227, 0.28);
  background: rgba(0, 113, 227, 0.08);
}

.confirm-feedback {
  margin-top: 13px !important;
  padding: 12px 13px;
  border-radius: 15px;
  color: #034f95 !important;
  background: rgba(0, 113, 227, 0.1);
  font-size: 15px !important;
  font-weight: 900;
  line-height: 1.65 !important;
}

.recover-path-list {
  display: grid;
  gap: 12px;
}

.recover-path-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: start;
  padding: 17px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.recover-path-step {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.recover-path-card h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.recover-path-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.recover-path-card strong {
  display: block;
  margin-top: 10px;
  color: #034f95;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.55;
}

.recover-path-card ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.recover-path-card li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.recover-path-card li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

@media (max-width: 430px) {
  .topic-modal-list .topic-path-card {
    grid-template-columns: 1fr;
  }

  .path-tag {
    justify-self: start;
  }
}
