:root {
  --yellow: #ffffff;
  --gold: #caa12a;
  --deep-gold: #8f6d12;
  --ink: #171b24;
  --muted: #7b7d82;
  --paper: #f7f7f8;
  --panel: #ffffff;
  --line: #ebebee;
  --soft: #f5f5f6;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.055);
  --hairline: rgba(23, 27, 36, 0.08);
  --pill: #2c2d32;
  --brand-blue: #0878bd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f1f1f2;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.phone {
  position: relative;
  width: min(100vw, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 330px;
  background: linear-gradient(180deg, #ffffff 0, #ffffff 58%, #f8f8f8 100%);
  overflow: hidden;
}

.view {
  min-height: calc(100vh - 130px);
}

.registerPage {
  min-height: calc(100vh - 72px);
  padding: 32px 24px 120px;
  background: #ffffff;
}

.registerLogo {
  display: block;
  width: 190px;
  height: 70px;
  margin: 8px auto 18px;
  object-fit: contain;
  background: #ffffff;
}

.registerPage h1 {
  margin: 0;
  color: #171717;
  text-align: center;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: 0;
}

.registerPage > p {
  margin: 12px auto 22px;
  max-width: 330px;
  color: #746e67;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
}

.authTabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f7f8;
  padding: 4px;
}

.authTab {
  height: 40px;
  border-radius: 8px;
  background: transparent;
  color: #7d756b;
  font-weight: 900;
}

.authTab.active {
  background: var(--pill);
  color: #ffffff;
}

.registerForm {
  display: grid;
  gap: 12px;
}

.registerForm label {
  display: grid;
  gap: 7px;
  color: #635d54;
  font-size: 13px;
  font-weight: 800;
}

.registerForm input,
.registerForm textarea,
.registerForm select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

.registerForm input,
.registerForm select {
  height: 42px;
  padding: 0 12px;
}

.registerForm textarea {
  min-height: 78px;
  resize: vertical;
  padding: 10px 12px;
  line-height: 1.45;
}

.registerForm small,
.fieldHint {
  margin: -1px 0 0;
  color: #9a9287;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.registerField {
  display: grid;
  gap: 8px;
}

.fieldTitle {
  color: #635d54;
  font-size: 13px;
  font-weight: 900;
}

.fieldTitle span {
  color: #c5462c;
}

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

.choicePill {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #53565c;
  font-size: 14px;
  font-weight: 900;
}

.choicePill.active {
  border-color: var(--pill);
  background: var(--pill);
  color: #ffffff;
  box-shadow: none;
}

.locationSelects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.registerNote {
  margin: 2px 0 0;
  color: #9a9287;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.privacyNotice {
  border: 1px solid #eadfca;
  border-radius: 12px;
  background: #fffaf1;
  padding: 10px 12px;
  text-align: left;
}

.formStatus {
  min-height: 18px;
  margin: 0;
  color: #9a7624;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.wxHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 86px;
  background: #ffffff;
  padding: 12px 22px;
  color: #090909;
  font-weight: 800;
  border-bottom: 1px solid var(--hairline);
  box-shadow: none;
}

.headerLogo {
  width: 102px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #ffffff;
}

.headerCopy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.navTitle {
  text-align: left;
  color: #111111;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0;
}

.headerCopy p {
  margin: 0;
  color: #8c8c90;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.brandBar {
  min-height: auto;
  border-bottom: 0;
  background: transparent;
  padding: 18px 24px 6px;
}

.brandText h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0;
}

.brandText p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.moduleTabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 18px 2px;
  background: transparent;
}

.moduleTab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #98999e;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.12;
  padding: 0 6px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.moduleTab::before {
  display: none;
}

.moduleTab:active {
  transform: translateY(1px);
}

.moduleTab[data-agent="coach"] {
  --agent-color: #caa12a;
  --agent-border: #ead9a1;
}

.moduleTab[data-agent="moments"] {
  --agent-color: #43a36b;
  --agent-border: #b9dfc6;
}

.moduleTab[data-agent="video"] {
  --agent-color: #3f7dd8;
  --agent-border: #bbd2f7;
}

.moduleTab[data-agent="deal"] {
  --agent-color: #de7b35;
  --agent-border: #edc7aa;
}

.moduleTab.active {
  background: var(--pill);
  border-color: var(--pill);
  box-shadow: none;
  color: #ffffff;
}

.card {
  margin: 18px 20px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 24px 18px 20px;
  box-shadow: var(--shadow);
}

.chatWorkspaceHead {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  margin: -4px 0 18px;
}

.historyIconButton,
.plusIconButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: transparent;
  color: #1f2024;
  font-size: 24px;
  font-weight: 900;
}

.historyIconButton {
  border: 1px solid transparent;
  transform: none;
}

.historyClockIcon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

.historyClockIcon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.historyClockIcon i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: 50% 100%;
}

.historyClockIcon .clockHour {
  height: 7px;
  transform: translate(-50%, -100%) rotate(-45deg);
}

.historyClockIcon .clockMinute {
  height: 9px;
  transform: translate(-50%, -100%) rotate(50deg);
}

.plusIconButton {
  width: 30px;
  height: 30px;
  border: 1px solid #ead59b;
  background: #fff6dc;
  color: #a37b18;
  font-size: 20px;
  line-height: 1;
}

.chatWorkspaceTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #15171c;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: 0;
}

.resumeTopicCard {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  border: 1px solid #ead6a3;
  border-radius: 14px;
  background: #fffaf0;
  padding: 14px 14px;
}

.resumeTopicCard strong {
  display: block;
  color: #24201a;
  font-size: 16px;
  line-height: 1.3;
}

.resumeTopicCard p {
  margin: 8px 0 0;
  color: #9a7624;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.resumeTopicActions {
  display: flex;
  gap: 8px;
}

.resumeTopicActions button {
  height: 38px;
  min-width: 56px;
  border-radius: 10px;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 900;
}

.resumeTopicActions .ghost {
  background: #ecd9a7;
  color: #815f16;
}

.resumeTopicActions .solid {
  background: #21170f;
  color: #ffffff;
}

.card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.22;
  letter-spacing: 0;
}

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

.chip {
  border-radius: 999px;
  background: #f3f3f4;
  color: #33363c;
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(23, 27, 36, 0.04);
}

.intro {
  margin: 18px 0 0;
  color: #67615a;
  font-size: 17px;
  line-height: 1.72;
}

.profileBox,
.promptCard,
.answer {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.profileBox {
  cursor: pointer;
}

.profileBox {
  margin-top: 18px;
  padding: 16px 15px;
  box-shadow: none;
}

.profileHead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.profileHead strong {
  font-size: 17px;
}

.editProfile {
  margin-left: 8px;
  background: transparent;
  color: #8f9298;
  font-size: 14px;
  font-weight: 800;
}

.profileBox p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.outputMode {
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
  border: 1px solid rgba(218, 181, 63, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  padding: 8px;
}

.outputMode span {
  color: #8a8276;
  font-size: 13px;
  font-weight: 850;
  padding-left: 4px;
}

.outputModeButton {
  min-height: 32px;
  border-radius: 999px;
  background: #f7f7f8;
  color: #5c6069;
  font-size: 13px;
  font-weight: 850;
}

.outputModeButton.active {
  background: #1f2026;
  color: #fff7de;
  box-shadow: 0 8px 18px rgba(31, 32, 38, 0.12);
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 30px;
  flex: 0 0 auto;
}

.switch input {
  display: none;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d9dadd;
}

.switch span::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: 3px;
  left: 4px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.switch input:checked + span {
  background: var(--pill);
}

.switch input:checked + span::after {
  transform: translateX(24px);
}

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

.profileForm.standalone {
  display: grid;
  margin-top: 18px;
}

.profileForm label {
  display: grid;
  gap: 6px;
  color: #635d54;
  font-size: 13px;
  font-weight: 800;
}

.profileForm input,
.profileForm textarea,
.composer textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

.profileForm input {
  height: 38px;
  padding: 0 10px;
}

.profileForm textarea {
  min-height: 68px;
  resize: vertical;
  padding: 9px 10px;
  line-height: 1.45;
}

.saveButton {
  height: 48px;
  margin-top: 8px;
  border-radius: 8px;
  background: var(--pill);
  color: #ffffff;
  font-weight: 900;
}

.hidden {
  display: none !important;
}

.promptList {
  display: grid;
  gap: 11px;
  margin-top: 16px;
}

.promptCard {
  min-height: 66px;
  padding: 15px 15px;
  background: #ffffff;
  color: #303642;
  text-align: left;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: none;
}

.promptCard:active {
  background: #f5f5f6;
}

.conversationThread {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.chatTurn {
  display: grid;
  gap: 11px;
}

.userBubble {
  justify-self: end;
  width: min(90%, 334px);
  border: 1px solid #c3dafb;
  border-radius: 18px 18px 6px 18px;
  background: #f2f7ff;
  padding: 13px 15px;
  color: #173a63;
  box-shadow: 0 12px 26px rgba(56, 98, 151, 0.07);
}

.turnLabel {
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.turnMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.turnMeta time,
.answerAgentMeta small {
  color: #8b99a9;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.userBubble .turnLabel {
  color: #2f6aa5;
}

.userBubble p {
  margin: 0;
  color: #1c344e;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.assistantBubble {
  width: min(96%, 368px);
}

.assistantBubble .answer {
  margin-top: 0;
  border-color: var(--line);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.055);
  position: relative;
  overflow: hidden;
}

.assistantBubble .answer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--agent-color, var(--gold));
  opacity: 0.75;
}

.assistantBubble[data-agent="coach"] {
  --agent-color: #caa12a;
  --agent-border: #ead9a1;
}

.assistantBubble[data-agent="moments"] {
  --agent-color: #43a36b;
  --agent-border: #b9dfc6;
}

.assistantBubble[data-agent="video"] {
  --agent-color: #3f7dd8;
  --agent-border: #bbd2f7;
}

.assistantBubble[data-agent="deal"] {
  --agent-color: #de7b35;
  --agent-border: #edc7aa;
}

.assistantBubble .answerHead {
  color: #2c2d32;
}

.assistantBubble .answerHead button {
  border-color: #e2e2e4;
  color: #2c2d32;
}

.assistantBubble .variantItem {
  border-left-color: var(--agent-color, var(--gold));
}

.answer {
  margin-top: 16px;
  padding: 18px 16px 16px;
}

.answerHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: #2c2d32;
  font-size: 13px;
  font-weight: 900;
}

.answerAgentMeta {
  display: grid;
  gap: 3px;
}

.answerAgentMeta small {
  color: #999ba1;
}

.answerHead button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2c2d32;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.answer h3 {
  margin: 0 0 14px;
  color: #1b202b;
  font-size: 20px;
  line-height: 1.35;
}

.answerBlock {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.primaryAnswerBlock {
  border-left: 3px solid var(--gold);
  background: rgba(255, 250, 238, 0.72);
  padding: 12px 14px;
}

.primaryAnswerBlock strong {
  color: #1f2127;
  font-size: 15px;
}

.supportBlock {
  border-top: 1px dashed rgba(32, 35, 41, 0.08);
  padding-top: 12px;
}

.supportBlock strong {
  color: #8a7a58;
  font-size: 13px;
}

.supportBlock p,
.supportBlock .variantItem {
  color: #5d6068;
  font-size: 14px;
  line-height: 1.68;
}

.foldedSupportBlock {
  display: block;
  color: #5d6068;
}

.foldedSupportBlock summary {
  cursor: pointer;
  color: #8a7a58;
  font-size: 13px;
  font-weight: 900;
}

.internalSupportBlock {
  opacity: 0.86;
}

.tagSupportBlock {
  opacity: 0.82;
}

.questionBlock {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border-left: 3px solid #d1d3d8;
  background: #f8f8f8;
  padding: 10px 12px;
}

.questionBlock strong {
  color: #61594e;
  font-size: 14px;
}

.questionBlock p {
  margin: 0;
  color: #202532;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.answerBlock strong {
  color: #565047;
  font-size: 14px;
}

.answerBlock p,
.variantItem {
  margin: 0;
  color: #303641;
  font-size: 15px;
  line-height: 1.78;
  white-space: pre-wrap;
}

.variantItem {
  border-left: 3px solid #d1d3d8;
  background: #f8f8f8;
  padding: 10px 11px;
  border-radius: 0 10px 10px 0;
}

.feedbackBox {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  opacity: 0.86;
}

.feedbackBox strong {
  color: #61594e;
  font-size: 14px;
}

.feedbackBox p {
  margin: 0;
  color: #8a8276;
  font-size: 13px;
  line-height: 1.5;
}

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

.feedbackActions button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #4a463f;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.feedbackActions button:active {
  background: #f2f2f3;
}

.feedbackStatus {
  color: #2c2d32 !important;
  font-weight: 800;
}

.composer {
  position: fixed;
  left: 50%;
  bottom: 58px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  width: min(100vw, 430px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 14px 11px;
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.06);
  z-index: 40;
}

.composer textarea {
  width: 100%;
  min-height: 128px;
  max-height: 228px;
  border-radius: 18px;
  padding: 15px 16px;
  border-color: #e2e2e4;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.45;
  resize: none;
  overflow-y: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.composerActions {
  display: grid;
  grid-template-columns: 44px 52px minmax(96px, 1fr);
  gap: 10px;
  align-items: center;
}

.addButton,
.voiceButton,
.sendButton {
  height: 48px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(36, 30, 17, 0.04);
}

.addButton {
  border: 1px solid var(--line);
  background: #ffffff;
  color: #2c2d32;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.voiceButton {
  border: 1px solid var(--line);
  background: #ffffff;
  color: #20242e;
  font-size: 15px;
  font-weight: 900;
}

.voiceButton.listening {
  border-color: var(--pill);
  background: #f2f2f3;
  color: #1c1c1c;
}

.voiceButton.unsupported {
  color: #b7b7b7;
}

.sendButton {
  background: #eeeef0;
  color: #9c9c9c;
  font-weight: 800;
  font-size: 16px;
}

.sendButton.ready {
  background: var(--pill);
  border: 1px solid var(--pill);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(23, 27, 36, 0.18);
}

.bottomNav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100vw, 430px);
  height: 58px;
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -8px 22px rgba(45, 38, 23, 0.04);
  z-index: 30;
}

.methodPage {
  min-height: calc(100vh - 130px);
  padding: 18px 14px 92px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f7 100%);
}

.methodHero {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #eeeeef;
  padding: 8px 4px 18px;
}

.methodBookCover {
  display: grid;
  align-content: space-between;
  width: 112px;
  height: 154px;
  border: 1px solid #22252c;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(180deg, #181a20, #2e3139);
  color: #ffffff;
  padding: 14px 12px;
  box-shadow: 0 16px 28px rgba(12, 13, 18, 0.2);
  box-sizing: border-box;
  overflow: hidden;
}

.methodBookCover span {
  color: #d1a735;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.methodBookCover strong {
  font-size: 18px;
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.methodBookCover small {
  color: #d7d8da;
  font-size: 8px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.methodHeroCopy {
  min-width: 0;
}

.methodEyebrow {
  margin: 0 0 8px;
  color: #9a7b1c;
  font-size: 12px;
  font-weight: 900;
}

.methodHeroCopy h2 {
  margin: 0;
  color: #171b24;
  font-size: 27px;
  line-height: 1.16;
}

.methodHeroCopy p:not(.methodEyebrow) {
  margin: 9px 0 8px;
  color: #5e6168;
  font-size: 14px;
  line-height: 1.55;
}

.methodHeroCopy span {
  display: inline-block;
  color: #9b9da1;
  font-size: 11px;
  line-height: 1.45;
}

.sectionHead.clean {
  margin: 20px 0 12px;
  border-left-color: #2c2d32;
}

.sectionHead.clean strong {
  font-size: 18px;
}

.methodPainGrid,
.methodQuestionGrid,
.methodGrid {
  display: grid;
  gap: 10px;
}

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

.methodPainCard {
  display: grid;
  gap: 8px;
  min-height: 138px;
  border: 1px solid #e7e1d4;
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 244, 235, 0.82)),
    #ffffff;
  padding: 14px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(36, 30, 17, 0.05);
}

.methodPainCard strong {
  color: #171b24;
  font-size: 17px;
  line-height: 1.2;
}

.methodPainCard span {
  color: #656970;
  font-size: 13px;
  line-height: 1.5;
}

.methodPainCard em {
  align-self: end;
  color: #a57d16;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.methodQuestionCard {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 1px solid #e7e1d4;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(31, 28, 20, 0.035);
}

.methodQuestionCard span {
  color: #b08a20;
  font-size: 12px;
  font-weight: 900;
}

.methodQuestionCard strong {
  color: #252a34;
  font-size: 15px;
  line-height: 1.55;
}

.methodCard {
  display: grid;
  gap: 10px;
  border: 1px solid #e8e4db;
  border-radius: 8px;
  background: #ffffff;
  padding: 15px;
  box-shadow: 0 12px 26px rgba(28, 29, 35, 0.04);
}

.methodCard.active {
  border-color: #2c2d32;
  box-shadow: 0 14px 32px rgba(28, 29, 35, 0.1);
}

.methodPage.listMode .methodChat {
  display: none;
}

.methodPage.detailMode .methodHero,
.methodPage.detailMode .methodPainPanel,
.methodPage.detailMode .methodQuestionPanel,
.methodPage.detailMode .methodCardPanel {
  display: none;
}

.methodCardTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.methodCardTop span {
  color: #c6a247;
  font-size: 13px;
  font-weight: 900;
}

.methodCardTop button {
  height: 30px;
  border-radius: 999px;
  background: #2c2d32;
  color: #ffffff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.methodCard h3 {
  margin: 0;
  color: #171b24;
  font-size: 19px;
}

.methodCard p {
  margin: 0;
  color: #666a72;
  font-size: 14px;
  line-height: 1.58;
}

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

.methodTags span {
  border-radius: 999px;
  background: #f3f3f4;
  color: #555961;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.methodDetail {
  display: none;
  gap: 8px;
  border-top: 1px solid #efeadf;
  padding-top: 12px;
}

.methodCard.active .methodDetail {
  display: grid;
}

.methodDetail strong {
  color: #9a7b1c;
  font-size: 12px;
  font-weight: 900;
}

.methodDetail p,
.methodDetail li {
  margin: 0;
  color: #525760;
  font-size: 13px;
  line-height: 1.55;
}

.methodDetailSteps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.methodChat {
  margin-top: 18px;
  border: 1px solid #e8e4db;
  border-radius: 8px;
  background: #fffdf8;
  padding: 14px;
}

.methodChatHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.methodChatHead p {
  margin: 0 0 4px;
  color: #9a7b1c;
  font-size: 12px;
  font-weight: 900;
}

.methodChatHead h3 {
  margin: 0;
  color: #171b24;
  font-size: 20px;
  line-height: 1.3;
}

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

.methodChatHead button {
  min-width: 78px;
  height: 32px;
  border: 1px solid #ddd7ca;
  border-radius: 999px;
  background: #ffffff;
  color: #3c3d43;
  font-size: 12px;
  font-weight: 900;
}

#methodBackButton {
  border-color: #2c2d32;
  background: #2c2d32;
  color: #ffffff;
}

#methodHistoryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  width: 36px;
  padding: 0;
}

.methodResumeTopic {
  margin: 14px 0;
}

.methodChatIntro {
  margin: 12px 0;
  color: #6a6258;
  font-size: 14px;
  line-height: 1.6;
}

.methodPracticeBrief {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  border: 1px solid #eee7da;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.methodPracticeBrief strong {
  color: #171b24;
  font-size: 14px;
}

.methodPracticeBrief p,
.methodPracticeBrief li {
  margin: 0;
  color: #5e626b;
  font-size: 13px;
  line-height: 1.55;
}

.methodPracticeBrief ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.methodThread {
  margin-top: 12px;
}

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

.methodComposer textarea {
  width: 100%;
  min-height: 112px;
  max-height: 220px;
  border: 1px solid #e2e2e4;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  color: #202532;
  font-size: 15px;
  line-height: 1.55;
  resize: none;
}

.methodComposer button {
  height: 46px;
  border-radius: 999px;
  background: #2c2d32;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.subPage {
  min-height: calc(100vh - 130px);
  padding: 26px 20px 24px;
  background: #ffffff;
}

.subPage.grey {
  background: #f2f2f2;
}

.subPage h2,
.profilePage h2 {
  margin: 0;
  color: #111111;
  font-size: 24px;
  letter-spacing: 0;
}

.subTitle {
  margin: 8px 0 20px;
  color: #8d8d8d;
  font-size: 14px;
  line-height: 1.6;
}

.backButton {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #fff6da;
  color: #222222;
  font-size: 30px;
  line-height: 1;
}

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

.historyCard {
  position: relative;
  display: grid;
  gap: 9px;
  width: 100%;
  border-radius: 18px;
  background: #ffffff;
  padding: 20px 42px 18px 20px;
  text-align: left;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.045);
}

.historyCard strong {
  color: #15171c;
  font-size: 18px;
  line-height: 1.3;
}

.historyCard p {
  margin: 0;
  color: #686b70;
  font-size: 14px;
  line-height: 1.55;
}

.historyMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.historyMeta span {
  max-width: 58%;
  overflow: hidden;
  border-radius: 999px;
  background: #fff2cf;
  color: #9b7417;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.historyMeta time {
  color: #9b9da2;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.historyCard em {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: #b2b2b4;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
}

.historyEmpty {
  border-radius: 16px;
  background: #ffffff;
  padding: 22px 18px;
  color: #777b82;
  font-size: 15px;
  line-height: 1.6;
}

.sectionHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid #ffd91f;
  padding-left: 10px;
  margin: 18px 0 14px;
}

.sectionHead strong {
  font-size: 22px;
}

.sectionHead button {
  background: transparent;
  color: #999999;
  font-size: 15px;
}

.pageTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.smallGoldButton {
  flex: 0 0 auto;
  min-width: 86px;
  height: 36px;
  border-radius: 999px;
  background: #ffd91f;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
}

.adminTip {
  margin: 12px 0 0;
  border-radius: 8px;
  background: #fffaf0;
  padding: 10px 12px;
  color: #776c5d;
  font-size: 13px;
  line-height: 1.5;
}

.resourceItem {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eeeeee;
}

.libraryButton {
  width: 100%;
  background: transparent;
  text-align: left;
}

.thumb {
  display: grid;
  place-items: center;
  width: 96px;
  height: 62px;
  border-radius: 6px;
  background: #fff1b5;
  color: #111111;
  font-weight: 900;
}

.thumb.dark {
  background: #141414;
  color: #ffd91f;
}

.resourceItem h3 {
  margin: 0;
  color: #303030;
  font-size: 17px;
  line-height: 1.55;
}

.resourceItem p {
  margin: 8px 0 0;
  color: #999999;
  font-size: 13px;
}

.resourceItem .resourceSummary {
  color: #676767;
  font-size: 14px;
  line-height: 1.5;
}

.libraryArticle {
  margin-top: 12px;
}

.articleMeta {
  margin: 8px 0;
  color: #c59b14;
  font-size: 13px;
  font-weight: 900;
}

.libraryArticle h2 {
  margin: 8px 0;
  color: #202532;
  font-size: 24px;
  line-height: 1.35;
}

.articleSummary {
  border-radius: 8px;
  background: #fffaf0;
  padding: 12px;
  color: #645c51;
  font-size: 15px;
  line-height: 1.6;
}

.articleContent {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.articleContent p {
  margin: 0;
  color: #343434;
  font-size: 16px;
  line-height: 1.75;
}

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

.articleMedia {
  margin: 0;
  border: 1px solid #eadfca;
  border-radius: 8px;
  overflow: hidden;
  background: #fffdf8;
}

.articleMedia img,
.articleMedia video {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: #ffffff;
}

.articleMedia video {
  background: #111111;
}

.articleMedia figcaption {
  padding: 10px 12px;
  color: #6a6258;
  font-size: 14px;
  line-height: 1.55;
}

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

.visualCard {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  border: 1px solid #eadfca;
  border-radius: 8px;
  background: #fffdf8;
  padding: 12px;
}

.visualMock {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 8px;
  background: #111111;
  color: #ffd91f;
  font-weight: 900;
  text-align: center;
  white-space: pre-line;
}

.visualCard strong {
  display: block;
  margin-bottom: 6px;
  color: #202532;
  font-size: 15px;
}

.visualCard p {
  color: #5b5b5b;
  font-size: 14px;
  line-height: 1.55;
}

.memberCard {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  text-align: left;
  width: 100%;
}

.avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff1b5;
  color: #111111;
  font-size: 22px;
  font-weight: 900;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}

.avatar.hasImage,
.bigAvatar.hasImage,
.profileAvatarPreview.hasImage {
  color: transparent;
  text-indent: -999px;
}

.memberCard h3 {
  margin: 0;
  font-size: 20px;
}

.memberCard h3 span {
  border-radius: 999px;
  background: #316fff;
  color: #ffffff;
  padding: 4px 8px;
  font-size: 12px;
}

.memberCard p {
  margin: 8px 0;
  color: #606060;
  line-height: 1.55;
}

.memberPreview {
  color: #3f3f3f !important;
  font-size: 14px;
  font-weight: 700;
}

.memberHint {
  color: #8a6b00 !important;
  font-size: 13px;
  font-weight: 900;
}

.memberCard b {
  display: inline-block;
  border-left: 4px solid #ffd91f;
  padding-left: 7px;
  margin-top: 8px;
}

.memberCard:active {
  background: #fffaf0;
}

.memberList {
  display: grid;
  gap: 12px;
}

.memberMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.memberMeta span,
.memberDetailTop span {
  border-radius: 999px;
  background: #fff0b8;
  color: #7d6115;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
}

.memberDetailCard {
  border-radius: 10px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 14px 28px rgba(45, 38, 22, 0.06);
}

.memberDetailTop {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 16px;
}

.avatar.large {
  width: 72px;
  height: 72px;
  font-size: 24px;
}

.memberDetailTop h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.25;
}

.memberDetailTop p {
  margin: 0 0 10px;
  color: #777777;
  line-height: 1.45;
}

.detailRows {
  display: grid;
  gap: 14px;
  padding-top: 16px;
}

.detailRows section {
  border-left: 4px solid #ffd91f;
  padding-left: 10px;
}

.detailRows strong {
  display: block;
  color: #202532;
  font-size: 15px;
}

.detailRows p {
  margin: 6px 0 0;
  color: #57534d;
  font-size: 15px;
  line-height: 1.65;
}

.profilePage {
  min-height: calc(100vh - 130px);
  background: #ffffff;
}

.profileHero {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 20px;
}

.bigAvatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 6px solid #ffd91f;
  border-radius: 50%;
  background: #ffffff;
  color: #222222;
  font-size: 26px;
  font-weight: 900;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.profileHero h2 {
  text-align: right;
}

.profileHero p {
  margin: 8px 0;
  color: #b6b6b6;
  text-align: right;
  line-height: 1.5;
}

.linkButton {
  display: block;
  margin-left: auto;
  background: transparent;
  color: #1685ef;
  font-size: 16px;
}

.avatarEditor {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
  padding: 14px;
}

.profileAvatarPreview {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 4px solid #ffd91f;
  border-radius: 50%;
  background: #ffffff;
  color: #222222;
  font-size: 22px;
  font-weight: 900;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.avatarEditor strong {
  display: block;
  color: #202532;
  font-size: 17px;
}

.avatarEditor p {
  margin: 6px 0 10px;
  color: #807a70;
  font-size: 13px;
  line-height: 1.5;
}

.smallLineButton {
  min-height: 34px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #fff6da;
  color: #1f1f1f;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 900;
}

.banner {
  display: grid;
  place-items: center;
  min-height: 112px;
  background: linear-gradient(135deg, #16246b, #f6c643);
  color: #ffffff;
  padding: 20px;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.profileMenu {
  display: grid;
  padding: 10px 16px 0;
}

.profileMenu button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #eeeeee;
  background: #ffffff;
  color: #202020;
  text-align: left;
  font-size: 18px;
}

.profileMenu span {
  color: #a0a0a0;
  font-size: 15px;
}

.uid {
  margin: 22px 0;
  color: #c8c8c8;
  text-align: center;
}

.navItem {
  display: grid;
  place-items: center;
  gap: 1px;
  background: #ffffff;
  color: #383838;
  font-size: 12px;
}

.navItem span {
  font-size: 22px;
  line-height: 1;
}

.navItem.active {
  color: var(--brand-blue);
  font-weight: 900;
}

.navItemMain {
  position: relative;
  align-self: center;
  justify-self: center;
  width: calc(100% - 8px);
  min-height: 54px;
  margin-top: 0;
  border-radius: 16px;
  background: #2c2d32;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(28, 29, 35, 0.16);
  font-size: 10px;
  font-weight: 900;
  transform: translateY(-2px);
}

.navItemMain .navMethodIcon {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f4d46d, #b89024);
  color: #171b24;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.navItemMain .navMethodIcon b {
  font: inherit;
  line-height: 1;
}

.navItemMain .navMethodIcon i {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: rgba(23, 27, 36, 0.72);
}

.navItemMain.active {
  color: #ffffff;
}

@media (min-width: 431px) {
  .phone {
    box-shadow: 0 0 0 1px #e5e5e5, 0 20px 60px rgba(0, 0, 0, 0.12);
  }
}
