.hhyc-membership-flow-root * { box-sizing: border-box; }
.hhyc-membership-flow-root {
  --hhyc-primary: #0f2747;
  --hhyc-accent: #c9a44c;
  --hhyc-bg-deep: #08182e;
  --hhyc-bg-mid: #0f2747;
  --hhyc-text: #17304f;
  --hhyc-muted: #68788d;
  --hhyc-line: #d7e1ed;
  --hhyc-surface: #ffffff;
  --hhyc-soft: #eef4fb;
  font-family: Inter, Arial, sans-serif;
}
.hhyc-wrap {
  background: linear-gradient(180deg, var(--hhyc-bg-deep), var(--hhyc-bg-mid));
  color: white;
  padding: 22px;
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
}
.hhyc-hero { margin-bottom: 18px; }
.hhyc-hero h2 { margin: 0 0 8px; color: white; font-size: 34px; line-height: 1.08; }
.hhyc-hero p { margin: 0; color: rgba(255,255,255,.88); max-width: 800px; line-height: 1.5; }
.hhyc-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.hhyc-panel {
  background: var(--hhyc-surface);
  color: var(--hhyc-text);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  overflow: hidden;
}
.hhyc-chat-header, .hhyc-side-header {
  padding: 18px 20px; border-bottom: 1px solid var(--hhyc-line);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.hhyc-chat-header h3, .hhyc-side-header h3 { margin: 0; font-size: 20px; color: var(--hhyc-primary); }
.hhyc-badge {
  background: #edf4ff; color: var(--hhyc-primary); border-radius: 999px;
  padding: 8px 12px; font-size: 12px; font-weight: 800;
}
.hhyc-chat-body {
  background: linear-gradient(180deg, #fcfdff, #f4f8fc);
  min-height: 660px; display: flex; flex-direction: column;
}
.hhyc-messages { flex: 1; overflow-y: auto; padding: 18px; }
.hhyc-message {
  max-width: 86%; padding: 14px 16px; border-radius: 18px; margin-bottom: 12px;
  font-size: 15px; line-height: 1.48; white-space: pre-wrap;
}
.hhyc-message.bot { background: var(--hhyc-soft); border: 1px solid #d8e5f4; border-bottom-left-radius: 6px; }
.hhyc-message.user { background: var(--hhyc-primary); color: white; margin-left: auto; border-bottom-right-radius: 6px; }
.hhyc-message.success { background: #eef9f2; border: 1px solid #cae7d4; }
.hhyc-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.hhyc-option, .hhyc-button {
  border: 1px solid #c7d6e7; background: white; color: var(--hhyc-primary);
  border-radius: 999px; padding: 11px 14px; font-weight: 800; cursor: pointer;
}
.hhyc-option:hover, .hhyc-button:hover { transform: translateY(-1px); }
.hhyc-composer { border-top: 1px solid var(--hhyc-line); padding: 16px; background: white; }
.hhyc-composer-row { display: flex; gap: 10px; }
.hhyc-input {
  flex: 1; padding: 14px 16px; border-radius: 14px; border: 1px solid #cad6e3; font-size: 15px;
}
.hhyc-send {
  border: none; border-radius: 14px; padding: 14px 18px; font-weight: 900; cursor: pointer;
  background: linear-gradient(135deg, var(--hhyc-accent), #e4c76c); color: #30260d;
}
.hhyc-side { padding: 18px; }
.hhyc-progress-number { color: var(--hhyc-primary); font-weight: 900; margin-bottom: 8px; }
.hhyc-progress-track { height: 12px; background: #e7eef7; border-radius: 999px; overflow: hidden; }
.hhyc-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--hhyc-accent), #e4c76c); }
.hhyc-status-list, .hhyc-summary-list { display: grid; gap: 10px; margin-top: 16px; }
.hhyc-status-item, .hhyc-summary-item {
  border: 1px solid var(--hhyc-line); border-radius: 16px; padding: 12px 14px; background: #fbfdff;
}
.hhyc-status-item strong, .hhyc-summary-item strong {
  display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--hhyc-muted); margin-bottom: 4px;
}
.hhyc-status-item span, .hhyc-summary-item span { color: var(--hhyc-primary); font-weight: 800; }
.hhyc-note {
  margin-top: 16px; padding: 14px; border-radius: 16px; background: #f7f1de; border: 1px solid #ead8a6; color: #5a4d1c; line-height: 1.45;
}
@media (max-width: 920px) {
  .hhyc-grid { grid-template-columns: 1fr; }
  .hhyc-chat-body { min-height: 560px; }
}
