:root {
  --primary: #2563eb;
  --primary-dark: #172554;
  --primary-mid: #38bdf8;
  --primary-soft: #eff6ff;
  --accent: #f97316;
  --accent-soft: #fff7ed;
  --accent-border: #fed7aa;
  --text: #0f172a;
  --muted: #64748b;
  --border: #d7e4f7;
  --page: #f8fafc;
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(37, 99, 235, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: var(--page);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  background: #172554;
  color: #dbeafe;
  font-size: 12px;
}

.top-strip-inner,
.top-strip-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 32px;
}

.top-strip-links a {
  color: #dbeafe;
}

.top-member-link {
  font-weight: 600;
}

.top-strip .member-user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.member-user-menu__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  border: 1px solid rgba(219, 234, 254, 0.28);
  border-radius: 999px;
  padding: 0 10px 0 5px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 500;
}

.member-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 600;
}

.member-user-avatar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.member-user-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 156px;
  gap: 2px;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.12);
}

.member-user-menu__panel[hidden] {
  display: none;
}

.member-user-menu__panel a,
.member-user-menu__panel button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 9px 10px;
  color: #344054;
  background: transparent;
  text-align: left;
  font-size: 13px;
  line-height: 18px;
}

.member-user-menu__panel a:hover,
.member-user-menu__panel button:hover {
  color: #1d4ed8;
  background: #eff6ff;
}

.member-user-menu__panel form {
  margin: 2px 0 0;
  padding-top: 2px;
  border-top: 1px solid #eef2f7;
}

.header-logout-form {
  display: inline-flex;
  margin: 0;
}

.header-logout-button {
  min-height: 24px;
  border: 1px solid rgba(219, 234, 254, 0.24);
  border-radius: 4px;
  padding: 0 8px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.header-logout-button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.top-qr-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.top-qr-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  border: 1px solid rgba(219, 234, 254, 0.24);
  border-radius: 4px;
  padding: 0 7px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.top-qr-icon {
  width: 13px;
  height: 13px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, currentColor 2px, transparent 2px) 0 0 / 5px 5px,
    linear-gradient(currentColor 2px, transparent 2px) 0 0 / 5px 5px,
    rgba(255, 255, 255, 0.12);
}

.top-qr-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 164px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.top-qr-popover img {
  display: block;
  width: 132px;
  height: 132px;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 8px;
  background: #fff;
}

.top-qr-popover strong {
  font-size: 13px;
}

.top-qr-contact:hover .top-qr-popover,
.top-qr-contact:focus-within .top-qr-popover {
  opacity: 1;
  transform: translateY(0);
}

.top-consult-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 4px;
  padding: 0 8px;
  color: #fff !important;
  background: var(--accent);
  font-weight: 600;
}

.brand-search-row {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 228, 247, 0.82);
}

.brand-search-inner {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 78px;
}

.brand-block {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-block strong {
  color: var(--primary);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-block span {
  color: var(--muted);
  font-size: 12px;
}

.brand-block img {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 42px;
}

.global-search {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto 88px;
  height: 44px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 5px;
  overflow: hidden;
  background: var(--card);
}

.global-search span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 600;
}

.global-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: var(--text);
}

.global-search-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 8px;
  background: #fff;
}

.global-search-tags button {
  min-height: 24px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 99px;
  padding: 0 8px;
  color: var(--primary);
  background: #fff;
  font-size: 12px;
}

.global-search-tags button:hover {
  border-color: rgba(37, 99, 235, 0.28);
  background: var(--primary-soft);
}

.global-search > button {
  border: 0;
  color: #fff;
  background: var(--primary);
  font-weight: 600;
}

.header-contact {
  position: relative;
  display: grid;
  justify-items: end;
  gap: 0;
  text-align: right;
}

.header-contact a {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.header-contact span {
  color: var(--muted);
  font-size: 12px;
}

.header-qr-trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.header-contact-qr {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}

.header-qr-trigger span {
  position: absolute;
  inset: auto 4px 4px;
  border-radius: 4px;
  color: #fff;
  background: rgba(37, 99, 235, 0.94);
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.header-contact-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 164px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.header-contact-popover img {
  display: block;
  width: 132px;
  height: 132px;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 8px;
  background: #fff;
}

.header-contact-popover strong {
  font-size: 13px;
  font-weight: 700;
}

.header-contact:hover .header-contact-popover,
.header-contact:focus-within .header-contact-popover {
  opacity: 1;
  transform: translateY(0);
}

.header-consult-button {
  min-height: 36px;
  border-radius: 5px;
  padding: 0 14px;
  color: #fff !important;
  background: var(--primary);
  font-size: 14px !important;
  font-weight: 600;
  line-height: 36px;
}

.main-nav {
  border-top: 1px solid rgba(215, 228, 247, 0.72);
  border-bottom: 1px solid rgba(37, 99, 235, 0.16);
  background: #fff;
  color: #334155;
}

.main-nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #334155;
  white-space: nowrap;
}

.main-nav a.active {
  color: var(--primary);
  background: transparent;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}

.category-entry-wrap {
  position: relative;
}

.category-entry-wrap:hover .mega-filter-menu {
  display: grid;
}

.mega-filter-menu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: min(760px, calc(100vw - 32px));
  padding: 16px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(37, 99, 235, .14);
}

.mega-filter-group {
  padding: 10px;
  border-radius: 6px;
}

.mega-filter-group:hover {
  background: var(--primary-soft);
}

.mega-filter-group h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--primary);
}

.mega-filter-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.mega-filter-group a {
  padding: 0;
  color: #475569;
  background: transparent;
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
}

.category-entry {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 18px;
  margin-right: 4px;
  border-right: 1px solid rgba(37, 99, 235, 0.22);
  color: #fff !important;
  background: var(--primary);
}

.page-title-band,
.detail-hero {
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
  background: var(--primary);
  color: #fff;
}

.page-title-band .site-shell,
.detail-hero-grid {
  padding: 34px 0;
}

.page-title-band h1,
.detail-hero h1,
.advisor-hero-card h1,
.article-detail h1 {
  margin: 0;
  font-weight: 700;
  line-height: 1.18;
}

.page-title-band h1 {
  font-size: 34px;
}

.page-title-band p {
  max-width: 700px;
  margin: 8px 0 0;
  color: #dbeafe;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.page-title-band .eyebrow,
.detail-hero .eyebrow,
.advisor-hero-card .eyebrow {
  color: #dbeafe;
}

.route-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: #eff6ff;
}

.home-hero {
  padding: 18px 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(56, 189, 248, 0.2), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(249, 115, 22, 0.14), transparent 24%),
    linear-gradient(180deg, #f8fbff 0, var(--page) 100%);
}

.hero-commerce-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  gap: 14px;
}

.hot-filter-panel,
.lead-panel,
.filter-panel,
.company-card,
.recommendation-panel,
.about-service,
.detail-main,
.side-panel,
.article-detail,
.news-row,
.advisor-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hot-filter-panel,
.lead-panel,
.recommendation-panel,
.advisor-card {
  padding: 14px;
}

.lead-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 516px;
  max-height: 516px;
}

.panel-title {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hot-filter-group {
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.hot-filter-group:first-of-type {
  border-top: 0;
}

.hot-filter-group strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 14px;
}

.hot-filter-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.hot-filter-group a {
  color: var(--muted);
  font-size: 13px;
}

.advisor-hero-card {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  padding: 30px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(215, 228, 247, 0.9);
  color: #fff;
  background: var(--primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 42px rgba(37, 99, 235, 0.18);
}

.advisor-hero-card::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.advisor-hero-card::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 0;
  height: 3px;
  background: var(--accent);
}

.advisor-hero-card > * {
  position: relative;
  z-index: 1;
}

.advisor-hero-card h1 {
  max-width: 680px;
  font-size: 38px;
}

.advisor-hero-card > p:not(.eyebrow) {
  max-width: 720px;
  margin: 14px 0 0;
  color: #eef4ff;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary-action,
.ghost-action,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 5px;
  padding: 0 16px;
  font-weight: 600;
}

.primary-action {
  border: 1px solid var(--primary);
  color: #fff;
  background: var(--primary);
}

.ghost-action {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--primary);
  background: #fff;
}

.secondary-link {
  border: 1px solid var(--border);
  color: var(--primary);
  background: #fff;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.trust-metrics div {
  border-radius: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.13);
}

.trust-metrics strong,
.trust-metrics span {
  display: block;
}

.trust-metrics span {
  margin-top: 3px;
  color: #eef4ff;
  font-size: 12px;
}

.lead-panel p,
.advisor-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form--compact {
  gap: 9px;
}

.lead-form input,
.lead-form select,
.lead-form button,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 10px;
  color: var(--text);
  background: #fff;
}

.lead-form button {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
  font-weight: 600;
}

.lead-type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.lead-type-tabs button {
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--muted);
}

.lead-type-tabs button.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.lead-choice-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 22px;
}

.lead-choice-row button {
  position: relative;
  width: auto;
  min-height: 22px;
  border: 0;
  padding: 0 0 0 17px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
}

.lead-choice-row button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  transform: translateY(-50%);
}

.lead-choice-row button.active {
  color: var(--primary);
  font-weight: 600;
}

.lead-choice-row button.active::before {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 0 43%, transparent 48%);
}

.lead-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 7px;
  background: #fff;
}

.lead-input-row input {
  min-width: 0;
  height: 36px;
  min-height: 36px;
  border: 0;
  outline: 0;
  padding: 0 8px;
  font-size: 14px;
}

.lead-input-row button {
  min-height: 36px;
  border: 0;
  border-radius: 5px;
  padding: 0 10px;
}

.lead-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 20px;
}

.lead-speed-copy {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.lead-message {
  min-height: 20px;
  font-size: 13px;
}

.lead-message[data-type="success"] {
  color: #0f7a3a;
}

.lead-message[data-type="error"] {
  color: #c62828;
}

.lead-note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.lead-promise-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 14px;
  color: var(--primary);
  font-size: 12px;
}

.lead-promise-strip span {
  position: relative;
  padding-left: 10px;
}

.lead-promise-strip span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.deal-feed {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  flex: 1;
  min-height: 0;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(215, 228, 247, 0.9);
}

.deal-feed-head {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.deal-feed-window {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 0;
  mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}

.deal-feed-list {
  display: grid;
  gap: 8px;
}

.deal-feed.is-loaded .deal-feed-list {
  animation: deal-feed-scroll 24s linear infinite;
}

.deal-feed-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 56px;
  gap: 7px;
  align-items: center;
  min-height: 28px;
  color: var(--muted);
  font-size: 12px;
}

.deal-feed-item span {
  color: var(--primary);
}

.deal-feed-item strong {
  overflow: hidden;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deal-feed-item em {
  font-style: normal;
  text-align: right;
  white-space: nowrap;
}

@keyframes deal-feed-scroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.lead-contact-cta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.lead-contact-cta strong {
  color: var(--text);
  font-size: 14px;
}

.lead-contact-cta span {
  color: var(--muted);
  font-size: 12px;
}

.contact-modal-open {
  overflow: hidden;
}

.contact-service-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  padding: 16px;
}

.contact-service-modal.is-open {
  display: grid;
  place-items: center;
}

.contact-service-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 16%, rgba(56, 189, 248, 0.22), transparent 26%),
    radial-gradient(circle at 78% 72%, rgba(37, 99, 235, 0.2), transparent 28%),
    rgba(13, 19, 33, 0.52);
  backdrop-filter: blur(3px);
}

.contact-service-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.96)),
    #fff;
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.2);
}

.contact-service-dialog--form-only {
  width: min(500px, 100%);
}

.contact-service-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  font-size: 22px;
  line-height: 1;
}

.contact-service-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-right: 38px;
}

.contact-service-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-service-head span {
  color: var(--muted);
  font-size: 13px;
}

.contact-service-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.contact-input-row input {
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  padding: 0 10px;
  color: var(--text);
  background: transparent;
}

.contact-submit-button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--primary);
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.contact-choice-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-height: 24px;
}

.contact-choice-row button {
  position: relative;
  border: 0;
  padding: 0 0 0 17px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
}

.contact-choice-row button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid #d8c8b5;
  border-radius: 50%;
  transform: translateY(-50%);
}

.contact-choice-row button.active {
  color: var(--primary);
  font-weight: 600;
}

.contact-choice-row button.active::before {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 0 43%, transparent 48%);
}

.contact-choice-row .lead-message {
  flex: 1 1 160px;
  min-height: 0;
  margin-left: auto;
  text-align: right;
}

.contact-service-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.contact-qr-block {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.contact-qr-block img {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.contact-qr-promise {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.contact-info-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--primary);
  background: rgba(239, 246, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
}

.contact-info-link--online {
  border-color: rgba(251, 146, 60, 0.38);
  color: #b45309;
  background: rgba(255, 247, 237, 0.92);
}

.captcha-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}

.captcha-dialog {
  position: relative;
  width: min(360px, 100%);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.24);
}

.captcha-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 22px;
  line-height: 1;
}

.captcha-title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.captcha-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 6px;
  background: #eaf2ff;
}

.captcha-bg {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.captcha-slider {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  max-width: none;
  height: 100%;
  user-select: none;
  pointer-events: none;
}

.captcha-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
  overflow: hidden;
}

.captcha-handle {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 38px;
  border: 0;
  border-right: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
  touch-action: none;
}

.captcha-handle::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  transform: rotate(45deg);
}

.quick-entry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.quick-entry-grid a {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.quick-entry-grid strong {
  color: var(--primary);
}

.quick-entry-grid span {
  color: var(--muted);
  font-size: 13px;
}

.section-block,
.recommendation-bands,
.about-service,
.company-list-page,
.detail-layout,
.news-page-layout,
.article-layout {
  margin-top: 22px;
}

.section-block {
  position: relative;
  padding-top: 20px;
}

.section-block::before,
.recommendation-bands::before,
.about-service::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.18), transparent);
}

.recommendation-bands,
.about-service {
  position: relative;
  padding-top: 20px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 99px;
  padding: 0 10px;
  color: var(--primary);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}

.section-title-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.section-title-line h2 {
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
}

.section-title-line span {
  color: var(--muted);
  font-size: 14px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.company-card {
  padding: 14px;
}

.company-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.company-card-actions .secondary-link {
  flex: 1 1 96px;
}

.contact-card-button,
.row-action button,
.advisor-card button {
  border: 1px solid var(--primary);
}

.card-title-row,
.company-row-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-title-row h3,
.company-row-title h2 {
  margin: 0;
  color: #26364d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.company-row-title h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.card-title-row span,
.company-row-title > span {
  flex: none;
  border-radius: 99px;
  padding: 3px 8px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 600;
}

.company-location-badge {
  flex: none;
  border-radius: 4px;
  padding: 2px 7px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.meta-list,
.compact-meta,
.detail-grid {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.meta-list {
  grid-template-columns: repeat(2, 1fr);
}

.meta-list div,
.compact-meta div,
.detail-grid div {
  min-width: 0;
}

.meta-list dt,
.compact-meta dt,
.detail-grid dt {
  color: #888;
  font-size: 12px;
}

.meta-list dd,
.compact-meta dd,
.detail-grid dd {
  margin: 2px 0 0;
  color: #222;
  font-size: 14px;
  font-weight: 400;
}

.price-text {
  color: var(--accent) !important;
}

.recommendation-bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.compact-heading h2 {
  color: #26364d;
  font-size: 18px;
  font-weight: 500;
}

.mini-company-list,
.guide-panel {
  display: grid;
  gap: 10px;
}

.mini-company-list a,
.guide-panel > a,
.side-link {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.mini-company-list strong,
.guide-panel > a strong,
.side-link strong {
  color: #26364d;
  font-size: 14px;
  font-weight: 500;
}

.mini-company-list a:first-child,
.guide-panel > a:first-of-type {
  border-top: 0;
}

.mini-company-list span,
.side-link span {
  color: var(--muted);
  font-size: 12px;
}

.about-service {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 24px;
  margin-bottom: 28px;
}

.about-service h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 26px;
}

.about-service p {
  margin: 0;
  color: var(--muted);
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-steps span {
  display: flex;
  align-items: center;
  min-height: 58px;
  border-radius: 6px;
  padding: 0 14px;
  color: #fff;
  background: var(--primary);
  font-weight: 600;
}

.company-list-page {
  display: grid;
  gap: 16px;
}

.marketplace-filter {
  padding: 16px;
}

.filter-chip-section,
.flat-filter-group {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.filter-chip-title,
.flat-filter-group > span {
  color: var(--text);
  font-weight: 600;
  line-height: 32px;
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  font-size: 13px;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.require-filter-chip {
  border-color: #f59e0b;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 600;
}

.require-filter-chip.active,
.require-filter-chip:hover {
  border-color: #f59e0b;
  background: #f59e0b;
  color: #fff;
}

.advanced-filter-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.primary-filter-grid label,
.advanced-filter-grid label {
  display: block;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.primary-filter-grid .primary-action {
  align-self: end;
  min-height: 38px;
}

.flat-filter-groups {
  display: grid;
}

.advanced-filter {
  padding-top: 10px;
}

.advanced-filter-grid select {
  width: 118px;
  height: 32px;
  border: 1px solid #d7e0ec;
  border-radius: 4px;
  padding: 0 9px;
  color: #222;
  background: #fff;
  font-size: 13px;
  font-weight: 400;
}

.advanced-filter-grid option {
  font-weight: 400;
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.list-toolbar strong {
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
}

.list-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.company-list {
  display: grid;
  gap: 12px;
}

.company-row {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.company-row:hover {
  border-color: #bfd1ea;
  box-shadow: 0 10px 26px rgba(15, 38, 83, .1);
}

.company-row-title p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.compact-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  border-radius: 99px;
  padding: 4px 9px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 600;
}

.row-action {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 7px;
  border-left: 1px solid var(--border);
  padding-left: 18px;
  text-align: right;
}

.row-action span,
.row-action small {
  color: var(--muted);
  font-size: 12px;
}

.row-action strong {
  color: var(--accent);
  font-size: 22px;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.pager a,
.pager button,
.pager span {
  min-width: 36px;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
  background: #fff;
}

.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pager .active {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 20px;
  align-items: center;
}

.detail-hero h1 {
  font-size: 36px;
}

.price-panel {
  padding: 18px;
  text-align: center;
}

.price-panel span {
  color: var(--muted);
  font-size: 13px;
}

.price-panel strong {
  display: block;
  margin: 4px 0 12px;
  color: var(--accent);
  font-size: 28px;
}

.detail-layout,
.article-layout,
.news-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.detail-main,
.article-detail {
  padding: 22px;
}

.detail-section:not(:first-child) {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.detail-section h2,
.detail-section h3,
.side-panel h2 {
  margin: 0 0 12px;
  color: var(--primary);
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid.two-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid div {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  background: #f8fbff;
}

.content-text {
  margin: 0;
  border-radius: 6px;
  padding: 14px;
  color: var(--text);
  background: #f8fbff;
  border: 1px solid var(--border);
}

.side-panel {
  padding: 14px;
}

.advisor-card {
  margin-bottom: 14px;
}

.compact-empty {
  padding: 12px;
  min-height: auto;
}

.news-title-band {
  background: var(--primary);
}

.news-page-layout {
  align-items: start;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-row {
  padding: 18px;
}

.news-row h2 {
  margin: 5px 0 8px;
  font-size: 22px;
}

.news-row span,
.news-row p,
.article-meta {
  color: var(--muted);
}

.news-row p {
  margin: 0;
}

.compact-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 13px;
}

.article-detail header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.article-detail h1 {
  color: var(--text);
  font-size: 34px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
  font-size: 13px;
}

.article-summary {
  margin-top: 18px;
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 14px;
  color: var(--text);
  background: var(--primary-soft);
}

.article-content {
  margin-top: 20px;
}

.article-content img {
  max-width: 100%;
  height: auto;
}

.related-reading {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.related-reading h2 {
  margin: 0;
  color: var(--primary);
  font-size: 20px;
}

.breadcrumb-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb-row a {
  color: var(--primary);
}

.keyword-filter-row {
  align-items: center;
  border-top: 1px solid var(--border);
}

.keyword-input-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.keyword-filter-row input {
  width: 300px;
}

.keyword-filter-row input,
.inline-range input {
  height: 34px;
  border: 1px solid #d7e0ec;
  border-radius: 4px;
  padding: 0 10px;
}

.filter-chip {
  border-radius: 4px;
  line-height: 30px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

.filter-chip.active {
  font-weight: 400;
}

.inline-range {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--muted);
}

.inline-range input {
  width: 96px;
}

.secondary-action {
  height: 34px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #fff;
  border-radius: 4px;
  padding: 0 14px;
}

.sort-tabs {
  display: flex;
  gap: 8px;
}

.sort-tabs button {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.sort-tabs button.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.company-row-title h2,
.company-row-title h2 a {
  font-size: 18px;
  font-weight: 500;
}

.row-action strong {
  font-weight: 500;
}

.detail-summary-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.detail-summary-head h1 {
  margin: 0 0 10px;
  font-size: 28px;
  color: var(--primary);
  letter-spacing: 0;
}

.detail-grid div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.detail-grid dt {
  margin: 2px 0 0;
}

.detail-grid dd {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid .wide {
  grid-column: 1 / -1;
}

.detail-grid dd.content-text {
  display: block;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.copy-code-button {
  min-height: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 8px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  cursor: pointer;
}

.summary-price {
  min-width: 190px;
  text-align: right;
}

.summary-price span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.summary-price strong {
  color: #c62828;
  font-size: 26px;
  font-weight: 600;
}

.summary-price form {
  margin: 12px 0 0;
}

.summary-price .primary-action {
  display: inline-flex;
  width: 128px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.summary-price .auth-alert {
  max-width: 240px;
  margin-top: 12px;
  margin-left: auto;
  text-align: left;
}

.transaction-process ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.transaction-process li {
  position: relative;
  min-height: 112px;
  padding: 16px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.transaction-process li::before {
  content: counter(list-item);
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
}

.transaction-process li strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-weight: 600;
}

.transaction-process li span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hot-news-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  border-radius: 4px;
  background: #c62828;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  vertical-align: 2px;
}

.article-nav-links {
  display: grid;
  gap: 8px;
}

.company-side-link span,
.side-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.side-meta-row em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}

.side-meta-row b {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 600;
}

.recommended-companies {
  margin-top: 14px;
}

.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.account-page,
.member-center-page {
  padding: 28px 0 34px;
}

.account-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: start;
}

.account-layout--single {
  grid-template-columns: minmax(0, 420px) minmax(0, 520px);
  justify-content: center;
}

.account-gateway {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: start;
}

.account-gateway--compact {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 520px);
  justify-content: center;
}

.account-gateway__trust {
  min-height: 360px;
  border-radius: 8px;
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, #102a56, var(--primary) 62%, #0f766e);
  box-shadow: var(--shadow);
}

.account-gateway__trust h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.account-gateway__trust p:not(.eyebrow) {
  margin: 14px 0 0;
  color: #eff6ff;
  line-height: 1.75;
}

.account-gateway__trust-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.account-gateway__trust-list span {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 9px 11px;
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.account-intro {
  min-height: 260px;
  border-radius: 8px;
  padding: 30px;
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow);
}

.account-intro h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.account-intro p:not(.eyebrow) {
  margin: 14px 0 0;
  color: #eff6ff;
}

.account-panel,
.account-gateway__panel,
.member-summary-panel,
.member-card,
.member-workbench {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.account-panel,
.account-gateway__panel {
  padding: 22px;
}

.account-panel--narrow {
  max-width: 520px;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.auth-tab-list {
  display: inline-flex;
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  padding: 4px;
  background: #f5f8fd;
}

.auth-tab {
  flex: 1 1 0;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 600;
}

.auth-tab.is-active,
.auth-tab[aria-selected="true"] {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.auth-form-tabs {
  display: block;
}

.auth-form-panel[hidden] {
  display: none;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.account-page--gateway .account-gateway {
  align-items: stretch;
  gap: 28px;
}

.account-page--gateway .account-gateway__panel {
  max-width: 520px;
}

.account-page--gateway .account-panel__head strong {
  font-size: 22px;
  font-weight: 650;
}

.account-page--gateway .account-panel__head p {
  font-size: 13px;
}

.auth-form--compact {
  gap: 14px;
}

.auth-form--compact label {
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

.auth-form--compact label > span:first-child {
  color: #344054;
  font-weight: 500;
}

.auth-form--compact input {
  min-height: 38px;
  border-color: #d0d5dd;
  border-radius: 7px;
  font-size: 14px;
}

.auth-form--compact .auth-code-button,
.auth-form--compact .auth-submit {
  min-height: 38px;
  font-size: 14px;
  font-weight: 500;
}

.auth-form h2 {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 20px;
}

.account-notice {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  line-height: 1.8;
}

.account-notice h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
}

.account-notice .rich-content > :first-child {
  margin-top: 0;
}

.account-notice .rich-content > :last-child {
  margin-bottom: 0;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 11px;
  color: var(--text);
  background: #fff;
  font-weight: 400;
}

.auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 8px;
}

.auth-code-button {
  width: 100%;
  height: 40px;
}

.auth-submit {
  width: 100%;
  border: 0;
}

.auth-minor-link,
.auth-switch a,
.member-card a {
  color: var(--primary);
  font-weight: 600;
}

.auth-switch {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.auth-message,
.auth-field-validation,
.auth-validation {
  min-height: 20px;
  font-size: 13px;
}

.auth-message[data-type="success"],
.auth-alert--success {
  color: #0f7a3a;
}

.auth-message[data-type="error"],
.auth-field-validation,
.auth-validation {
  color: #c62828;
}

.auth-validation ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.auth-alert {
  margin-bottom: 12px;
  border: 1px solid rgba(15, 122, 58, 0.18);
  border-radius: 6px;
  padding: 10px 12px;
  background: #f0fdf4;
  font-size: 14px;
}

.auth-alert--error {
  border-color: rgba(198, 40, 40, 0.18);
  background: #fff5f5;
  color: #c62828;
}

.member-center-layout {
  display: grid;
  gap: 16px;
}

.member-workspace {
  display: grid;
  gap: 16px;
}

.member-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 14px;
}

.member-hero__main,
.member-hero__side,
.member-section,
.member-stat-card,
.member-action-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.member-hero__main {
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #102a56, var(--primary) 60%, #0f766e);
}

.member-hero__main h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.22;
}

.member-hero__main p:not(.eyebrow) {
  max-width: 680px;
  margin: 12px 0 0;
  color: #eaf2ff;
  line-height: 1.75;
}

.member-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.member-hero__actions .primary-action,
.member-hero__actions .secondary-action {
  min-height: 38px;
}

.member-hero__actions .primary-action {
  background: #fff;
  color: #102a56;
}

.member-hero__actions .secondary-action {
  border-color: rgba(255, 255, 255, 0.46);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.member-hero__side {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 22px;
}

.member-hero__side span,
.member-hero__side em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.member-hero__side strong {
  color: var(--text);
  font-size: 31px;
  line-height: 1.15;
}

.member-hero__logout {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
}

.member-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.member-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 99px;
  padding: 0 10px;
  color: var(--primary);
  background: #eaf1ff;
  font-size: 12px;
  font-weight: 600;
}

.member-status--success {
  color: #0f7a3a;
  background: #e9fbf4;
}

.member-status--warning {
  color: #8a5a0a;
  background: #fff7e6;
}

.member-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.member-stat-card {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 16px;
}

.member-stat-card span,
.member-stat-card em,
.member-action-card span {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.member-stat-card strong {
  color: var(--text);
  font-size: 23px;
  line-height: 1.25;
}

.member-section {
  padding: 18px;
}

.member-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.member-section__head h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.member-section__head a {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.member-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.member-action-card {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 15px;
  background: #fbfdff;
}

.member-action-card strong {
  color: var(--text);
  font-size: 16px;
}

.member-summary-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.member-summary-panel h1 {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.2;
}

.member-summary-panel span {
  display: inline-flex;
  margin-top: 8px;
  color: var(--muted);
}

.member-summary-panel form {
  margin: 0;
}

.member-card-grid,
.member-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.member-card {
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 18px;
}

.member-card span,
.member-card em,
.member-entry-grid span {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.member-card strong {
  color: var(--primary);
  font-size: 26px;
  font-weight: 600;
}

.member-workbench {
  padding: 18px;
}

.member-entry-grid a {
  display: grid;
  gap: 5px;
  min-height: 88px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px;
  background: #fff;
}

.member-entry-grid strong {
  color: var(--text);
  font-size: 16px;
}

.member-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.member-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.member-table th,
.member-table td {
  border-bottom: 1px solid var(--border);
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.member-table th {
  color: var(--muted);
  font-weight: 600;
  background: #f8fafc;
}

.member-order-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.member-order-summary,
.member-order-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.member-order-summary {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #102a56, var(--primary) 56%, #0f766e);
}

.member-order-summary h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.22;
}

.member-order-summary p:not(.eyebrow) {
  margin: 0;
  color: #eaf2ff;
  line-height: 1.75;
}

.member-order-panel {
  min-width: 0;
  padding: 22px;
}

.member-order-card-list {
  display: grid;
  gap: 12px;
}

.member-order-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: #fbfdff;
}

.member-order-card__head,
.member-order-card__meta,
.member-order-card__actions,
.member-order-card__amounts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.member-order-card__head {
  justify-content: space-between;
}

.member-order-card__head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.member-order-card__head strong {
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
  word-break: break-word;
}

.member-order-card__time,
.member-order-card__meta span,
.member-order-card__company {
  color: var(--muted);
  font-size: 13px;
}

.member-order-card__code {
  color: var(--text);
  font-weight: 600;
}

.member-order-card__amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-order-card__amounts div,
.member-order-payment-summary div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  background: #fff;
}

.member-order-card__amounts span,
.member-order-payment-summary span {
  color: var(--muted);
  font-size: 13px;
}

.member-order-card__amounts strong,
.member-order-payment-summary strong {
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
}

.member-order-card__company {
  display: grid;
  gap: 6px;
}

.member-order-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 11px;
  color: var(--primary);
  background: #fff;
  font-weight: 600;
}

.member-order-delete-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.member-order-delete-form input {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 10px;
}

.member-order-delete-form button {
  border: 0;
  border-radius: 5px;
  padding: 0 12px;
  color: #fff;
  background: #c62828;
  font-weight: 600;
}

.member-order-table {
  display: none;
}

.member-order-detail-panel {
  margin-top: 0;
}

.member-order-pay-panel .account-notice {
  background: #fbfdff;
}

.member-order-payment-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.member-order-filter {
  display: grid;
  grid-template-columns: 120px 120px minmax(180px, 1fr) 88px;
  gap: 10px;
  margin-bottom: 14px;
}

.member-order-filter--fixed-role {
  grid-template-columns: 120px minmax(180px, 1fr) 88px;
}

.member-order-filter label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
}

.member-order-filter select,
.member-order-filter input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 10px;
  color: var(--text);
  background: #fff;
}

.member-order-filter button {
  align-self: end;
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.member-inline-action {
  display: inline;
  margin: 0;
}

.member-inline-action input {
  width: 96px;
  min-height: 28px;
  margin-right: 6px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 8px;
  color: var(--text);
}

.member-inline-action button {
  border: 0;
  padding: 0;
  color: var(--primary);
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.member-copy-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  white-space: normal;
}

.member-detail-grid .member-copy-value {
  color: var(--text);
  font-size: 15px;
}

.member-copy-button {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
  color: var(--primary);
  background: #fff;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.member-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-detail-grid div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  background: #fff;
}

.member-detail-grid span {
  color: var(--muted);
  font-size: 13px;
}

.member-detail-grid strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  word-break: break-word;
}

.member-finance-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.member-finance-summary,
.member-finance-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.member-finance-summary {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 10px;
  min-height: 240px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #102a56, var(--primary) 58%, #0f766e);
}

.member-finance-summary h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.22;
}

.member-finance-summary p:not(.eyebrow) {
  margin: 0;
  color: #eaf2ff;
  line-height: 1.75;
}

.member-finance-panel {
  min-width: 0;
  padding: 22px;
}

.member-finance-panel .auth-form select,
.member-finance-panel .auth-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 10px 11px;
  color: var(--text);
  background: #fff;
  font: inherit;
}

.member-finance-panel .auth-form select {
  min-height: 40px;
  padding-top: 0;
  padding-bottom: 0;
}

.member-finance-note {
  border-color: rgba(15, 118, 110, 0.18);
  background: #eefcf8;
  color: #0f5f58;
  line-height: 1.75;
}

.member-finance-channel {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdff;
}

.member-finance-channel > span {
  line-height: 1.65;
}

.member-finance-channel input[type="radio"] {
  width: auto;
  min-height: 0;
  margin-right: 6px;
}

.member-finance-channel img {
  width: 118px;
  height: 118px;
  border: 1px solid var(--border);
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
}

.member-finance-channel button,
.member-finance-account button {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
  color: var(--primary);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}

.member-finance-account {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdff;
}

.member-security-panel .auth-form {
  gap: 14px;
}

.member-security-panel .auth-code-row {
  align-items: stretch;
}

.member-result-panel {
  display: grid;
  gap: 14px;
}

.member-result-panel .auth-alert {
  margin: 0;
}

.member-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-result-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 13px;
  color: var(--primary);
  background: #fff;
  font-weight: 600;
}

.member-record-list {
  display: none;
}

.member-record-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdff;
}

.member-record-card__head,
.member-record-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.member-record-card__head strong {
  color: var(--text);
  font-size: 15px;
}

.member-record-card__head span,
.member-record-card__meta span {
  color: var(--muted);
  font-size: 13px;
}

.member-record-card__amount {
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.member-record-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  word-break: break-word;
}

/* Phase 2 member visual polish: keep the existing layout, refine the presentation layer. */
.account-page,
.member-center-page {
  background:
    radial-gradient(circle at 12% 0, rgba(37, 99, 235, 0.07), transparent 30%),
    linear-gradient(180deg, #f8fbff 0, #f7f9fc 46%, #f8fafc 100%);
}

.account-gateway__trust,
.member-hero__main,
.member-order-summary,
.member-finance-summary {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background:
    radial-gradient(circle at 88% 12%, rgba(191, 219, 254, 0.28), transparent 28%),
    linear-gradient(135deg, #102a56 0%, #1d4ed8 62%, #334155 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.account-gateway__trust::after,
.member-hero__main::after,
.member-order-summary::after,
.member-finance-summary::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.account-gateway__trust,
.member-hero__main,
.member-order-summary,
.member-finance-summary {
  position: relative;
}

.account-gateway__trust h1,
.account-intro h1,
.member-hero__main h1,
.member-order-summary h1,
.member-finance-summary h1,
.member-summary-panel h1 {
  font-weight: 600;
  letter-spacing: 0;
}

.account-gateway__trust h1,
.account-intro h1,
.member-hero__main h1 {
  font-size: 28px;
}

.member-order-summary h1,
.member-finance-summary h1,
.member-summary-panel h1 {
  font-size: 26px;
}

.account-gateway__trust p:not(.eyebrow),
.member-hero__main p:not(.eyebrow),
.member-order-summary p:not(.eyebrow),
.member-finance-summary p:not(.eyebrow) {
  color: rgba(239, 246, 255, 0.86);
}

.account-gateway__trust-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.account-gateway__trust-list span::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bfdbfe;
}

.account-trust-item::before {
  width: 22px !important;
  height: 22px !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.account-trust-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 14px;
  height: 14px;
  background: #dbeafe;
  transform: translateY(-50%);
  -webkit-mask: var(--account-trust-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E")) center / contain no-repeat;
  mask: var(--account-trust-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E")) center / contain no-repeat;
}

.account-trust-item {
  position: relative;
}

.account-trust-item--funds {
  --account-trust-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V5a2 2 0 0 0-2-2H5a3 3 0 0 0 0 6h14a2 2 0 0 1 2 2v4h-3a2 2 0 0 0 0 4h3v1a2 2 0 0 1-2 2H5a3 3 0 0 1-3-3V6'/%3E%3Cpath d='M18 12h.01'/%3E%3C/svg%3E");
}

.account-trust-item--security {
  --account-trust-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.68 0C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.7a1.2 1.2 0 0 1 1.52 0C14.5 3.8 17 5 19 5a1 1 0 0 1 1 1v7Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.account-trust-item--profile {
  --account-trust-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20a6 6 0 0 0-12 0'/%3E%3Ccircle cx='12' cy='10' r='4'/%3E%3C/svg%3E");
}

.account-panel,
.account-gateway__panel,
.member-summary-panel,
.member-card,
.member-workbench,
.member-hero__side,
.member-section,
.member-stat-card,
.member-action-card,
.member-order-summary,
.member-order-panel,
.member-finance-summary,
.member-finance-panel,
.member-order-card,
.member-order-card__amounts div,
.member-order-payment-summary div,
.member-detail-grid div,
.member-finance-channel,
.member-finance-account,
.member-record-card {
  border-color: #e2e8f0;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.account-gateway__panel,
.member-order-panel,
.member-finance-panel,
.member-section,
.member-workbench {
  background: rgba(255, 255, 255, 0.96);
}

.auth-form h2,
.member-section__head h2,
.member-entry-grid strong,
.member-action-card strong,
.member-order-card__head strong,
.account-notice h2 {
  font-weight: 600;
  letter-spacing: 0;
}

.auth-form h2,
.member-section__head h2 {
  font-size: 18px;
}

.auth-form label {
  color: #334155;
  font-weight: 500;
}

.auth-form input,
.auth-form textarea,
.auth-form select,
.member-order-filter select,
.member-order-filter input,
.member-inline-action input,
.member-finance-panel .auth-form select,
.member-finance-panel .auth-form textarea {
  border-color: #dbe4f0;
  border-radius: 7px;
  background: #fbfdff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus,
.member-order-filter select:focus,
.member-order-filter input:focus,
.member-inline-action input:focus,
.member-finance-panel .auth-form select:focus,
.member-finance-panel .auth-form textarea:focus {
  border-color: rgba(37, 99, 235, 0.55);
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.primary-action,
.auth-submit,
.member-order-filter button {
  border-radius: 7px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.14);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.primary-action:hover,
.auth-submit:hover,
.member-order-filter button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.18);
}

.secondary-action,
.auth-code-button,
.member-order-card__actions a,
.member-copy-button,
.member-finance-channel button,
.member-finance-account button,
.member-result-actions a {
  border-color: #dbe4f0;
  border-radius: 7px;
  background: #fff;
  font-weight: 500;
}

.auth-code-button {
  padding: 0 10px;
  white-space: nowrap;
}

.auth-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 8px !important;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  color: #334155;
  background: #f8fbff;
  font-weight: 400 !important;
  line-height: 1.6;
}

.auth-check input {
  width: auto;
  min-height: 0;
  margin-top: 5px;
}

.auth-policy-check a {
  margin-left: 4px;
  color: var(--primary);
  font-weight: 600;
}

.auth-policy-open {
  overflow: hidden;
}

.auth-policy-modal {
  position: fixed;
  inset: 0;
  z-index: 980;
  display: grid;
  place-items: center;
  padding: 18px;
}

.auth-policy-modal[hidden] {
  display: none;
}

.auth-policy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
}

.auth-policy-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(760px, 100%);
  height: min(82vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.auth-policy-head,
.auth-policy-actions {
  display: flex;
  align-items: center;
  padding: 14px 16px;
}

.auth-policy-head {
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.auth-policy-head strong {
  font-size: 16px;
  font-weight: 600;
}

.auth-policy-head button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: #f8fafc;
  font-size: 24px;
  line-height: 1;
}

.auth-policy-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.auth-policy-actions {
  justify-content: center;
  border-top: 1px solid #e2e8f0;
  background: #fbfdff;
}

.auth-policy-page {
  min-height: 100%;
  background: #fff;
}

.auth-policy-document {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 36px;
}

.auth-policy-document h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.28;
}

.auth-alert,
.auth-validation,
.member-finance-note,
.account-notice {
  border-radius: 8px;
}

.auth-alert {
  border-color: rgba(37, 99, 235, 0.14);
  background: #eff6ff;
  color: #1e3a8a;
}

.auth-alert--error,
.auth-validation,
.auth-field-validation {
  border-color: rgba(220, 38, 38, 0.16);
  color: #b91c1c;
}

.member-finance-note,
.member-service-note {
  border-color: rgba(37, 99, 235, 0.14);
  background: #f0f7ff;
  color: #1e3a8a;
}

.member-status {
  gap: 6px;
  font-weight: 500;
}

.member-status::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.member-hero__side strong,
.member-stat-card strong,
.member-card strong,
.member-order-card__amounts strong,
.member-order-payment-summary strong,
.member-record-card__amount {
  font-weight: 600;
}

.member-hero__side strong {
  font-size: 28px;
}

.member-stat-card strong,
.member-record-card__amount {
  font-size: 21px;
}

.member-card strong {
  font-size: 23px;
}

.member-stat-card,
.member-action-card,
.member-entry-grid a,
.member-order-card,
.member-finance-channel,
.member-record-card {
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.member-stat-card:hover,
.member-action-card:hover,
.member-entry-grid a:hover,
.member-order-card:hover,
.member-finance-channel:hover,
.member-record-card:hover {
  border-color: rgba(37, 99, 235, 0.24);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.member-stat-card,
.member-action-card,
.member-entry-grid a {
  position: relative;
  padding-left: 56px;
}

.member-stat-card::before,
.member-action-card::before,
.member-entry-grid a::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.member-stat-card::after,
.member-action-card::after,
.member-entry-grid a::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 21px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  -webkit-mask: var(--member-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E")) center / contain no-repeat;
  mask: var(--member-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E")) center / contain no-repeat;
}

.member-icon--wallet {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V5a2 2 0 0 0-2-2H5a3 3 0 0 0 0 6h14a2 2 0 0 1 2 2v4h-3a2 2 0 0 0 0 4h3v1a2 2 0 0 1-2 2H5a3 3 0 0 1-3-3V6'/%3E%3Cpath d='M18 12h.01'/%3E%3C/svg%3E");
}

.member-icon--order {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11h6'/%3E%3Cpath d='M9 15h6'/%3E%3Cpath d='M8 3h8l4 4v14H4V3h4Z'/%3E%3Cpath d='M16 3v5h5'/%3E%3C/svg%3E");
}

.member-icon--security {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.68 0C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.7a1.2 1.2 0 0 1 1.52 0C14.5 3.8 17 5 19 5a1 1 0 0 1 1 1v7Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.member-icon--recharge {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
}

.member-icon--withdraw {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V9'/%3E%3Cpath d='m7 14 5-5 5 5'/%3E%3Cpath d='M5 3h14'/%3E%3C/svg%3E");
}

.member-icon--profile {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20a6 6 0 0 0-12 0'/%3E%3Ccircle cx='12' cy='10' r='4'/%3E%3C/svg%3E");
}

.member-icon--phone {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 3.1 5.18 2 2 0 0 1 5.11 3h3a2 2 0 0 1 2 1.72c.12.9.32 1.77.58 2.61a2 2 0 0 1-.45 2.11L9 10.69a16 16 0 0 0 4.31 4.31l1.25-1.25a2 2 0 0 1 2.11-.45c.84.26 1.71.46 2.61.58A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E");
}

.member-icon--password {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15.5 7.5 3 3L22 7l-3-3'/%3E%3C/svg%3E");
}

.member-icon--account {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M6 15h2'/%3E%3Cpath d='M10 15h4'/%3E%3C/svg%3E");
}

.member-icon--records {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E");
}

.member-icon--overview {
  --member-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.account-panel__head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.account-panel__head span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.account-panel__head strong {
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.account-panel__head h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.account-panel__head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.account-gateway__trust--commerce {
  background:
    radial-gradient(circle at 84% 18%, rgba(219, 234, 254, 0.22), transparent 28%),
    linear-gradient(135deg, #10213f 0%, #1d4ed8 58%, #243b68 100%);
}

.member-app-shell {
  --member-bg: #f6f8fb;
  --member-surface: #ffffff;
  --member-text: #172033;
  --member-muted: #667085;
  --member-line: #e5eaf0;
  --member-primary: #2563eb;
  --member-accent: #0f766e;
  background: var(--member-bg);
  color: var(--member-text);
}

.member-content-surface {
  border: 1px solid var(--member-line, #e5eaf0);
  border-radius: 10px;
  background: var(--member-surface, #ffffff);
  padding: 20px;
}

.member-form-compact {
  display: grid;
  max-width: 460px;
  gap: 14px;
}

.member-form-compact label {
  display: grid;
  gap: 6px;
}

.member-form-compact label > span {
  color: #344054;
  font-size: 13px;
  font-weight: 500;
}

.member-form-compact input,
.member-form-compact select,
.member-form-compact textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d0d5dd;
  border-radius: 7px;
  background: #fff;
  color: var(--member-text, #172033);
  font-size: 14px;
  font-weight: 400;
}

.member-form-compact textarea {
  min-height: 92px;
  padding: 10px 12px;
  resize: vertical;
}

.member-form-compact button[type="submit"],
.member-primary-button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: var(--member-primary, #2563eb);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.member-funds-layout {
  align-content: start;
  gap: 16px;
}

.member-finance-form {
  max-width: 560px;
}

.member-finance-form .member-finance-channel {
  display: grid;
  gap: 6px;
}

.member-record-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) .7fr .7fr .7fr auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  border-top: 1px solid var(--member-line, #e5eaf0);
  font-size: 14px;
}

.member-record-row:first-child {
  border-top: 0;
}

.member-account-list {
  display: grid;
  gap: 10px;
}

.member-account-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .9fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--member-line, #e5eaf0);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdff;
}

.member-account-row__main,
.member-account-row__meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.member-account-row__main strong {
  color: var(--member-text, #172033);
  font-size: 15px;
  font-weight: 600;
}

.member-account-row__main span,
.member-account-row__meta span {
  color: var(--member-muted, #667085);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  word-break: break-word;
}

.member-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.member-row-actions a,
.member-row-actions button {
  min-height: 30px;
  border: 1px solid #dbe4f0;
  border-radius: 7px;
  padding: 5px 10px;
  color: var(--member-primary, #2563eb);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.member-order-workspace {
  align-content: start;
  gap: 16px;
}

.member-payment-form {
  max-width: 620px;
}

.member-payment-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid var(--member-line, #e5eaf0);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbff;
}

.member-payment-summary div {
  display: grid;
  gap: 4px;
}

.member-payment-summary span {
  color: var(--member-muted, #667085);
  font-size: 12px;
  font-weight: 400;
}

.member-payment-summary strong {
  color: var(--member-text, #172033);
  font-size: 17px;
  font-weight: 600;
}

.member-payment-amount-field {
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.member-payment-amount-field input {
  min-height: 44px;
  font-size: 18px;
  font-weight: 600;
}

.member-pay-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-pay-quick-actions button {
  min-height: 32px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--member-primary, #2563eb);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}

.member-payment-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #475467;
  font-size: 13px;
  line-height: 1.6;
}

.member-payment-agreement input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
}

.member-dialog {
  width: min(520px, calc(100vw - 32px));
  border-radius: 10px;
}

.member-user-menu {
  position: relative;
}

.member-dashboard-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.member-sidebar {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.member-sidebar__brand {
  display: grid;
  gap: 3px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.member-sidebar__brand span {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.member-sidebar__brand strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.member-sidebar__nav {
  display: grid;
  gap: 6px;
}

.member-nav-group {
  display: grid;
  gap: 4px;
}

.member-nav-group > .member-nav-item {
  cursor: default;
}

.member-nav-subitem {
  display: block;
  margin-left: 28px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #64748b;
  font-size: 13px;
  line-height: 18px;
}

.member-nav-subitem:hover,
.member-nav-subitem.is-active {
  color: var(--primary);
  background: #eff6ff;
}

.member-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border-radius: 7px;
  padding: 0 10px;
  color: #334155;
  font-weight: 500;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.member-nav-item::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: #64748b;
  -webkit-mask: var(--member-icon) center / contain no-repeat;
  mask: var(--member-icon) center / contain no-repeat;
  transition: background 0.16s ease;
}

.member-nav-item:hover,
.member-nav-item.is-active {
  color: var(--primary);
  background: #eff6ff;
}

.member-nav-item.is-active {
  box-shadow: inset 3px 0 0 var(--primary);
}

.member-nav-item:hover::before,
.member-nav-item.is-active::before {
  background: var(--primary);
}

.member-sidebar__logout {
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.member-sidebar__logout button {
  width: 100%;
  min-height: 38px;
  border: 1px solid #dbe4f0;
  border-radius: 7px;
  color: #475569;
  background: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.member-sidebar__logout button:hover {
  border-color: rgba(37, 99, 235, 0.24);
  color: var(--primary);
  background: #f8fbff;
}

.member-dashboard-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.member-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}

.member-modal,
.site-dialog {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.member-modal.is-open,
.site-dialog.is-open {
  display: flex;
}

.member-modal__backdrop,
.site-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.member-modal__dialog,
.site-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  padding: 22px;
}

.member-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.member-modal__head h2,
.site-dialog__panel h2 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  line-height: 28px;
}

.member-modal__close,
.site-dialog__x {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.site-dialog__panel p {
  margin: 12px 0 0;
  color: #334155;
  line-height: 1.7;
}

.site-dialog__reason {
  margin-top: 14px;
}

.site-dialog__reason label {
  display: grid;
  gap: 6px;
}

.site-dialog__reason textarea {
  width: 100%;
  resize: vertical;
}

.site-dialog__reason small {
  display: block;
  margin-top: 6px;
  color: #64748b;
}

.site-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.site-dialog-open {
  overflow: hidden;
}

.member-withdraw-account-preview {
  display: grid;
  gap: 8px;
  margin: -4px 0 12px;
}

.member-account-preview-card {
  display: none;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
}

.member-account-preview-card.is-active {
  display: grid;
}

.member-account-preview-card span {
  color: #64748b;
  font-size: 13px;
}

.member-pay-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -4px;
}

.member-pay-quick-actions button {
  min-height: 34px;
  border: 1px solid #dbe4f0;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
}

.member-page-head,
.member-overview-hero,
.member-overview-panel,
.member-balance-card,
.member-profile-panel {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.member-page-head,
.member-overview-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.member-page-head h1,
.member-overview-hero h1 {
  margin: 4px 0 6px;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.28;
}

.member-page-head p:not(.eyebrow),
.member-overview-hero p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.member-overview-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(191, 219, 254, 0.46), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eff6ff 100%);
}

.member-overview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: 16px;
}

.member-balance-card {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.member-balance-card span,
.member-profile-row span,
.member-status-list span,
.member-panel-head span {
  color: var(--muted);
  font-size: 13px;
}

.member-balance-card strong {
  color: #0f172a;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
}

.member-balance-card em {
  color: var(--muted);
  font-style: normal;
}

.member-balance-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.member-overview-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.member-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.member-panel-head a {
  color: var(--primary);
  font-weight: 600;
}

.member-status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.member-status-list div {
  display: grid;
  gap: 5px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  background: #fbfdff;
}

.member-status-list strong {
  color: var(--text);
  font-weight: 600;
}

.member-section--quiet {
  background: rgba(255, 255, 255, 0.92);
}

.member-action-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-account-summary {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
}

.member-account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 18px;
  font-weight: 600;
}

.member-account-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.member-account-tags span {
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 9px;
  color: #475467;
  background: #f2f4f7;
  font-size: 12px;
}

.member-balance-summary {
  align-content: space-between;
}

.member-balance-summary .secondary-action,
.member-balance-summary .primary-action {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
}

.member-transaction-summary .member-status-list div {
  position: relative;
}

.member-transaction-summary .member-status-list a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
}

.member-recent-records {
  display: grid;
  gap: 14px;
}

.member-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0 14px;
}

.member-section-head h1,
.member-section-head h2 {
  margin: 0;
  color: var(--member-text, #172033);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.member-empty-state {
  border: 1px dashed #d0d5dd;
  border-radius: 8px;
  padding: 24px;
  color: #667085;
  background: #f8fafc;
  text-align: center;
  font-size: 14px;
}

.member-profile-panel {
  display: grid;
  overflow: hidden;
}

.member-profile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, auto);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.member-profile-row:last-child {
  border-bottom: 0;
}

.member-profile-row > div {
  display: grid;
  gap: 5px;
}

.member-profile-row strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.member-profile-row a,
.member-row-button,
.member-profile-row em {
  justify-self: end;
  font-style: normal;
}

.member-profile-row a,
.member-row-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #dbe4f0;
  border-radius: 7px;
  padding: 0 12px;
  color: var(--primary);
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.member-profile-row em {
  color: var(--muted);
}

.member-profile-inline-form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.member-profile-inline-form input {
  min-height: 38px;
  border: 1px solid #dbe4f0;
  border-radius: 7px;
  padding: 0 10px;
  background: #fbfdff;
}

.member-profile-inline-form button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  padding: 0 13px;
  color: #fff;
  background: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

.site-footer {
  margin-top: 32px;
  color: #dbeafe;
  background: #172554;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0;
}

.footer-grid strong,
.footer-grid span {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 600;
}

.footer-grid p {
  margin: 0;
  color: #bfdbfe;
  font-size: 13px;
}

.footer-grid a {
  display: block;
  margin-top: 6px;
  color: #dbeafe;
  font-size: 13px;
}

.footer-contact-qr {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  background: #fff;
}

.footer-consult-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 5px;
  padding: 0 12px;
  color: #fff !important;
  background: var(--accent);
  font-weight: 600;
}

.footer-phone {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700;
}

.beian-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 0;
  color: #b7c6dc;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1024px) {
  .brand-search-inner,
  .hero-commerce-grid,
  .detail-hero-grid,
  .detail-layout,
  .article-layout,
  .news-page-layout,
  .account-layout,
  .account-layout--single,
  .account-gateway,
  .account-gateway--compact,
  .member-dashboard-layout,
  .member-order-layout,
  .member-finance-layout,
  .about-service {
    grid-template-columns: 1fr;
  }

  .member-sidebar {
    position: static;
  }

  .member-sidebar__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-overview-grid {
    grid-template-columns: 1fr;
  }

  .member-action-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-order-summary,
  .member-finance-summary {
    position: static;
    min-height: auto;
  }

  .header-contact {
    justify-items: start;
    text-align: left;
  }

  .quick-entry-grid,
  .company-grid,
  .recommendation-bands,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .primary-filter-grid,
  .advanced-filter-grid {
    grid-template-columns: repeat(2, 1fr);
    flex-wrap: wrap;
  }

  .company-row {
    grid-template-columns: 1fr;
  }

  .lead-panel {
    min-height: auto;
    max-height: none;
  }

  .row-action {
    justify-items: start;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 12px 0 0;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .site-shell {
    width: min(100% - 20px, 1200px);
  }

  .top-strip-inner,
  .top-strip-links,
  .main-nav-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 0;
  }

  .global-search {
    grid-template-columns: 80px 1fr 72px;
  }

  .global-search-tags {
    display: none;
  }

  .advisor-hero-card h1,
  .detail-hero h1,
  .article-detail h1 {
    font-size: 28px;
  }

  .trust-metrics,
  .quick-entry-grid,
  .company-grid,
  .recommendation-bands,
  .footer-grid,
  .auth-form-grid,
  .member-hero,
  .member-stat-grid,
  .member-action-grid,
  .member-card-grid,
  .member-entry-grid,
  .member-detail-grid,
  .member-order-filter,
  .member-order-payment-summary,
  .member-order-card__amounts,
  .member-order-delete-form,
  .compact-meta,
  .detail-grid,
  .detail-grid.two-cols,
  .primary-filter-grid,
  .advanced-filter-grid,
  .service-steps {
    grid-template-columns: 1fr;
    flex-wrap: wrap;
  }

  .member-hero__logout {
    position: static;
    justify-self: start;
  }

  .filter-chip-section,
  .flat-filter-group {
    grid-template-columns: 1fr;
  }

  .category-entry {
    margin-left: 0;
  }

  .mega-filter-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .keyword-filter-row,
  .detail-summary-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .inline-range {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .summary-price {
    text-align: left;
  }

  .summary-price .auth-alert {
    margin-left: 0;
  }

  .transaction-process ol {
    grid-template-columns: 1fr;
  }

  .contact-service-dialog {
    padding: 20px;
  }

  .contact-service-head {
    display: grid;
    gap: 4px;
  }

  .contact-input-row {
    grid-template-columns: 1fr;
  }

  .contact-choice-row .lead-message {
    flex-basis: 100%;
    margin-left: 0;
    text-align: left;
  }

  .account-intro,
  .account-gateway__trust,
  .account-panel,
  .member-order-summary,
  .member-order-panel,
  .member-finance-summary,
  .member-finance-panel,
  .member-summary-panel,
  .member-workbench {
    padding: 18px;
  }

  .member-sidebar,
  .member-page-head,
  .member-overview-hero,
  .member-overview-panel,
  .member-balance-card,
  .member-profile-row {
    padding: 18px;
  }

  .member-sidebar__nav,
  .member-status-list,
  .member-profile-row,
  .member-profile-inline-form,
  .member-action-grid--compact {
    grid-template-columns: 1fr;
  }

  .member-page-head,
  .member-overview-hero,
  .member-panel-head {
    align-items: flex-start;
  }

  .member-page-head,
  .member-overview-hero,
  .member-panel-head,
  .member-balance-card__actions {
    flex-direction: column;
  }

  .member-profile-row a,
  .member-profile-row em {
    justify-self: start;
  }

  .member-record-list {
    display: grid;
    gap: 10px;
  }

  .member-record-table {
    display: none;
  }

  .member-account-row {
    grid-template-columns: 1fr;
  }

  .member-row-actions {
    justify-content: flex-start;
  }

  .member-payment-summary {
    grid-template-columns: 1fr 1fr;
  }

  .account-intro {
    min-height: auto;
  }

  .account-intro h1,
  .account-gateway__trust h1,
  .member-hero__main h1,
  .member-order-summary h1,
  .member-finance-summary h1,
  .member-summary-panel h1 {
    font-size: 24px;
  }

  .member-summary-panel {
    display: grid;
  }
}

/* Member center approved visual layer. */
.member-app-shell {
  min-height: calc(100vh - 72px);
  padding: 24px 0 42px;
  background: #f4f7fb;
  color: #172033;
}

.member-app-shell .member-dashboard-layout {
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.member-app-shell .member-sidebar {
  top: 20px;
  gap: 12px;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
}

.member-app-shell .member-sidebar__brand span {
  color: #172033;
  font-size: 15px;
  font-weight: 600;
}

.member-app-shell .member-sidebar__brand small {
  color: #667085;
  font-size: 12px;
  font-weight: 400;
}

.member-app-shell .member-sidebar__nav {
  gap: 4px;
}

.member-app-shell .member-nav-group {
  gap: 2px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

.member-app-shell .member-nav-item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  color: #475467;
  font-weight: 500;
  min-height: 38px;
  padding: 0 10px;
  font-size: 14px;
}

.member-app-shell .member-nav-subitem {
  display: flex;
  align-items: center;
  min-height: 36px;
  border-radius: 8px;
  margin-left: 12px;
  padding: 0 10px;
  color: #667085;
  font-size: 13px;
  font-weight: 400;
}

.member-app-shell .member-nav-item.is-active,
.member-app-shell .member-nav-subitem.is-active {
  color: #1d4ed8;
  background: #eff6ff;
  box-shadow: inset 3px 0 0 #2563eb;
}

.member-app-shell .member-dashboard-main {
  gap: 18px;
}

.member-app-shell .member-content-surface,
.member-app-shell .member-order-panel,
.member-app-shell .member-finance-panel,
.member-app-shell .member-profile-panel,
.member-app-shell .member-overview-panel,
.member-app-shell .member-account-summary,
.member-app-shell .member-balance-summary,
.member-app-shell .member-transaction-summary,
.member-app-shell .member-recent-records {
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.member-app-shell .member-content-surface,
.member-app-shell .member-order-panel,
.member-app-shell .member-finance-panel,
.member-app-shell .member-profile-panel {
  padding: 22px;
}

.member-app-shell .member-account-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px;
}

.member-app-shell .member-default-avatar {
  width: 52px;
  height: 52px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 18px;
  font-weight: 650;
}

.member-app-shell .member-account-avatar svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.member-app-shell .member-form-compact {
  max-width: 540px;
  gap: 14px;
}

.member-app-shell .member-form-compact label > span,
.member-app-shell .auth-form label > span:first-child {
  color: #344054;
  font-size: 13px;
  font-weight: 500;
}

.member-app-shell .member-form-compact input,
.member-app-shell .member-form-compact select,
.member-app-shell .member-form-compact textarea,
.member-app-shell .member-order-filter input,
.member-app-shell .member-order-filter select {
  max-width: 420px;
  min-height: 40px;
  border-color: #d7dee8;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font-size: 14px;
  font-weight: 400;
}

.member-app-shell .member-form-compact input:focus,
.member-app-shell .member-form-compact select:focus,
.member-app-shell .member-form-compact textarea:focus,
.member-app-shell .member-order-filter input:focus,
.member-app-shell .member-order-filter select:focus {
  border-color: rgba(37, 99, 235, 0.58);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.member-app-shell .member-primary-button,
.member-app-shell .primary-action.member-primary-button,
.member-app-shell .auth-submit,
.member-app-shell .primary-action,
.member-app-shell .member-order-filter button {
  width: fit-content;
  min-height: 36px;
  border-radius: 8px;
  padding: 0 14px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
}

.member-app-shell .member-order-filter {
  gap: 12px;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  padding: 14px;
  background: #f8fbff;
}

.member-app-shell .member-order-card,
.member-app-shell .member-record-card,
.member-app-shell .member-account-row {
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.member-app-shell .member-order-card {
  padding: 18px;
}

.member-app-shell .member-order-card__head strong {
  color: #172033;
  font-size: 16px;
  font-weight: 600;
}

.member-app-shell .member-order-card__amounts div,
.member-app-shell .member-order-payment-summary div,
.member-app-shell .member-payment-summary div {
  border: 1px solid #e6ebf2;
  border-radius: 9px;
  background: #f8fafc;
}

.member-app-shell .member-payment-form {
  max-width: 640px;
}

.member-app-shell .member-payment-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #eff6ff;
}

.member-app-shell .member-payment-amount-field {
  border-color: rgba(37, 99, 235, 0.34);
  border-radius: 10px;
  background: #fff;
}

.member-app-shell .member-payment-amount-field input {
  min-height: 48px;
  font-size: 20px;
  font-weight: 650;
}

.member-app-shell .member-pay-quick-actions {
  margin-top: 0;
  gap: 8px;
}

.member-app-shell .member-pay-quick-actions button,
.member-app-shell .member-row-actions a,
.member-app-shell .member-row-actions button,
.member-app-shell .member-row-button {
  min-height: 34px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  padding: 0 13px;
  color: #2563eb;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}

.member-app-shell .member-profile-row {
  padding: 16px 4px;
  border-color: #edf1f6;
}

.member-app-shell .member-profile-row strong {
  color: #172033;
  font-size: 15px;
  font-weight: 600;
}

.member-app-shell .member-profile-row span {
  color: #667085;
  font-size: 13px;
  font-weight: 400;
}

.member-app-shell .member-modal__dialog,
.member-app-shell .site-dialog__panel {
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.25);
}

.member-app-shell .member-recharge-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.15fr);
  gap: 18px;
  align-items: start;
  max-width: none;
}

.member-app-shell .member-recharge-layout--empty {
  grid-template-columns: minmax(0, 620px);
}

.member-recharge-picker,
.member-recharge-apply,
.member-selected-account,
.member-recharge-form-card,
.member-recharge-empty {
  min-width: 0;
}

.member-recharge-picker {
  display: grid;
  gap: 14px;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  padding: 14px;
  background: #f7fafc;
}

.member-recharge-section-head,
.member-selected-account__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.member-recharge-section-head {
  align-items: start;
}

.member-recharge-section-head span,
.member-selected-account__head span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.member-recharge-section-head strong,
.member-selected-account__head strong {
  display: block;
  margin-top: 3px;
  color: #172033;
  font-size: 16px;
  font-weight: 650;
}

.member-recharge-channel-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.member-recharge-channel-tab {
  display: grid;
  gap: 3px;
  min-height: 58px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  padding: 9px 11px;
  text-align: left;
  background: #fff;
  color: #344054;
  cursor: pointer;
}

.member-recharge-channel-tab span {
  font-size: 14px;
  font-weight: 650;
}

.member-recharge-channel-tab em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
}

.member-recharge-channel-tab.is-active {
  border-color: rgba(37, 99, 235, 0.5);
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: inset 3px 0 0 #2563eb;
}

.member-recharge-channel-tab.is-disabled,
.member-recharge-channel-tab:disabled {
  color: #98a2b3;
  background: #f2f4f7;
  cursor: not-allowed;
}

.member-recharge-account-list {
  display: grid;
  gap: 9px;
}

.member-recharge-account-list[hidden],
.member-selected-account section[hidden] {
  display: none;
}

.member-app-shell .member-recharge-account-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
  border: 1px solid #e1e7ef;
  border-radius: 9px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.member-app-shell .member-recharge-account-card:hover,
.member-app-shell .member-recharge-account-card.is-active {
  border-color: rgba(37, 99, 235, 0.48);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.09);
}

.member-app-shell .member-recharge-account-card.is-active {
  background: #fbfdff;
}

.member-recharge-account-card input[type="radio"] {
  width: auto;
  min-height: 0;
  grid-row: span 3;
  justify-self: start;
  margin-top: 3px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  accent-color: #2563eb;
}

.member-recharge-account-card span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.member-recharge-account-card strong {
  color: #172033;
  font-size: 14px;
  font-weight: 650;
}

.member-recharge-account-card em,
.member-recharge-account-card small {
  color: #667085;
  font-size: 12px;
  font-style: normal;
}

.member-recharge-account-card small {
  display: block;
  overflow-wrap: anywhere;
}

.member-recharge-apply {
  display: grid;
  gap: 14px;
}

.member-selected-account,
.member-recharge-form-card {
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  background: #fff;
}

.member-selected-account {
  padding: 16px;
}

.member-selected-account__head {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f6;
}

.member-selected-account__details {
  display: grid;
  gap: 9px;
  margin: 0;
}

.member-selected-account__details div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.member-selected-account__details dt {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.member-selected-account__details dd {
  margin: 0;
  color: #172033;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.member-selected-account__details dd > span {
  color: #98a2b3;
}

.member-selected-account__qr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  border-top: 1px solid #edf1f6;
  padding-top: 14px;
}

.member-selected-account__qr img {
  width: 108px;
  height: 108px;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.member-selected-account__qr figcaption {
  color: #667085;
  font-size: 13px;
}

.member-recharge-form-card {
  display: grid;
  gap: 13px;
  padding: 16px;
}

.member-recharge-form-card h2 {
  margin: 0;
  color: #172033;
  font-size: 16px;
  font-weight: 650;
}

.member-app-shell .member-recharge-form-card input,
.member-app-shell .member-recharge-form-card textarea {
  max-width: 360px;
}

.member-app-shell .member-recharge-form-card textarea {
  max-width: 460px;
}

.member-app-shell .member-recharge-form-card .member-primary-button {
  width: auto;
  justify-self: start;
  min-width: 136px;
}

.member-recharge-empty {
  display: grid;
  gap: 5px;
  border: 1px dashed #cbd5e1;
  border-radius: 9px;
  padding: 18px;
  background: #fff;
}

.member-recharge-empty strong {
  color: #172033;
  font-size: 15px;
  font-weight: 650;
}

.member-recharge-empty span {
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

.member-copy-button.is-copied,
.member-copy-icon-button.is-copied {
  border-color: rgba(22, 163, 74, 0.3);
  color: #15803d;
  background: #f0fdf4;
}

@media (max-width: 900px) {
  .member-app-shell .member-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .member-app-shell .member-sidebar {
    position: static;
  }

  .member-app-shell .member-recharge-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .member-app-shell {
    padding: 14px 0 28px;
  }

  .member-app-shell .member-content-surface,
  .member-app-shell .member-order-panel,
  .member-app-shell .member-finance-panel,
  .member-app-shell .member-profile-panel {
    padding: 16px;
  }

  .member-app-shell .member-payment-summary {
    grid-template-columns: 1fr 1fr;
  }

  .member-recharge-channel-tabs,
  .member-selected-account__details div {
    grid-template-columns: 1fr;
  }

  .member-app-shell .member-recharge-form-card input,
  .member-app-shell .member-recharge-form-card textarea {
    max-width: none;
  }
}

.member-center-page.member-app-shell {
  padding: 26px 0 48px;
  background: #f4f7fb;
}

.member-center-page .site-shell {
  max-width: 1360px;
}

.member-center-page .member-dashboard-layout {
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 22px;
}

.member-center-page .member-sidebar {
  border: 1px solid #e7edf5;
  border-radius: 8px;
  padding: 18px 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.member-center-page .member-sidebar__brand {
  padding: 2px 10px 18px;
}

.member-center-page .member-sidebar__brand span {
  font-size: 15px;
}

.member-center-page .member-sidebar__brand strong {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 400;
}

.member-center-page .member-nav-item,
.member-center-page .member-nav-subitem {
  position: relative;
}

.member-center-page .member-nav-item {
  min-height: 42px;
  padding: 0 12px;
}

.member-center-page .member-nav-item.is-active {
  color: #fff;
  background: #2563eb;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.member-workbench-shell {
  gap: 18px;
}

.member-workbench-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-radius: 12px;
  padding: 24px 26px;
}

.member-workbench-hero .member-account-avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 20px;
}

.member-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #667085;
  font-size: 13px;
}

.member-workbench-hero h1 {
  margin: 0;
  color: #172033;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.25;
}

.member-workbench-hero p {
  margin: 8px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}

.member-hero-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe4f0;
  border-radius: 9px;
  padding: 0 14px;
  color: #2563eb;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}

.member-kpi-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 18px;
}

.member-kpi-card {
  display: grid;
  gap: 14px;
  min-height: 126px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.member-kpi-card span {
  color: #475467;
  font-size: 14px;
}

.member-kpi-card strong {
  color: #172033;
  font-size: 28px;
  font-weight: 650;
  line-height: 1;
}

.member-kpi-card a {
  color: #2563eb;
  font-size: 13px;
  font-weight: 500;
}

.member-kpi-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

.member-workbench-main,
.member-funds-rail {
  display: grid;
  gap: 18px;
}

.member-transaction-card {
  display: grid;
  gap: 18px;
  border-radius: 12px;
  padding: 22px 24px;
}

.member-transaction-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #edf1f6;
  border-radius: 10px;
  padding: 16px;
  background: #fbfdff;
}

.member-company-mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: #16a34a;
  font-size: 22px;
  font-weight: 700;
}

.member-transaction-empty strong {
  color: #172033;
  font-size: 16px;
  font-weight: 600;
}

.member-transaction-empty p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 13px;
}

.member-transaction-empty a {
  color: #2563eb;
  font-size: 13px;
  font-weight: 500;
}

.member-payment-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 12px 4px 2px;
}

.member-payment-progress span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #98a2b3;
  font-size: 12px;
  text-align: center;
}

.member-payment-progress span::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid #d9e1ec;
  border-radius: 999px;
  background: #fff;
}

.member-payment-progress span::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(50% + 13px);
  width: calc(100% - 26px);
  height: 2px;
  background: #d9e1ec;
}

.member-payment-progress span:last-child::after {
  display: none;
}

.member-payment-progress .is-done,
.member-payment-progress .is-active {
  color: #2563eb;
  font-weight: 600;
}

.member-payment-progress .is-done::before,
.member-payment-progress .is-active::before {
  border-color: #2563eb;
  background: #2563eb;
}

.member-payment-progress .is-done::after {
  background: #2563eb;
}

.member-payment-dock {
  display: grid;
  grid-template-columns: 190px minmax(240px, 1fr) auto;
  gap: 16px;
  align-items: end;
  border: 1px solid #edf1f6;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.member-payment-dock div {
  display: grid;
  gap: 8px;
}

.member-payment-dock span {
  color: #667085;
  font-size: 13px;
}

.member-payment-dock strong {
  color: #172033;
  font-size: 22px;
}

.member-payment-dock input {
  min-height: 38px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  padding: 0 12px;
  color: #667085;
  background: #f8fafc;
}

.member-muted-note {
  margin: 0;
  color: #667085;
  font-size: 12px;
}

.member-funds-card {
  display: grid;
  gap: 14px;
  border-radius: 12px;
  padding: 22px;
}

.member-funds-card > span {
  color: #667085;
  font-size: 13px;
}

.member-funds-card > strong {
  color: #172033;
  font-size: 30px;
  font-weight: 650;
}

.member-rail-actions {
  display: flex;
  gap: 10px;
}

.member-ghost-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  padding: 0 14px;
  color: #344054;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}

.member-record-mini-list {
  display: grid;
  gap: 12px;
}

.member-record-mini-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #edf1f6;
  padding-bottom: 12px;
  color: #475467;
  font-size: 13px;
}

.member-record-mini-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.member-record-mini-list em {
  color: #98a2b3;
  font-style: normal;
}

.member-record-mini-list a {
  color: #2563eb;
  font-weight: 500;
}

.member-security-strip {
  border-radius: 12px;
  padding: 20px;
}

.member-security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.member-security-grid div {
  display: grid;
  gap: 6px;
  border-right: 1px solid #edf1f6;
  padding: 4px 22px;
}

.member-security-grid div:last-child {
  border-right: 0;
}

.member-security-grid span {
  color: #667085;
  font-size: 13px;
}

.member-security-grid strong {
  color: #172033;
  font-size: 15px;
  font-weight: 600;
}

.member-security-grid a {
  color: #2563eb;
  font-size: 13px;
  font-weight: 500;
}

.member-page-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.member-page-titlebar span {
  display: block;
  margin-bottom: 5px;
  color: #667085;
  font-size: 13px;
  font-weight: 400;
}

.member-page-titlebar h1 {
  margin: 0;
  color: #172033;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.28;
}

.member-page-titlebar a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  padding: 0 12px;
  color: #2563eb;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}

.member-finance-workspace {
  gap: 18px;
}

.member-finance-workspace .auth-form {
  max-width: 520px;
}

.member-payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.member-payment-main,
.member-payment-side {
  display: grid;
  gap: 18px;
}

.member-payment-status-card,
.member-payment-form-card {
  border-radius: 12px;
  padding: 22px;
}

.member-payment-status-card .member-detail-grid {
  margin-top: 14px;
}

.member-payment-form-card .account-notice {
  border: 1px solid #edf1f6;
  border-radius: 10px;
  padding: 14px;
  background: #fbfdff;
}

.member-payment-form-card .account-notice h2 {
  margin-top: 0;
  font-size: 16px;
}

.member-payment-side {
  position: sticky;
  top: 96px;
}

.member-order-list-titlebar {
  margin-bottom: 0;
}

.member-order-filter--compact {
  grid-template-columns: 150px minmax(220px, 1fr) 88px;
  align-items: end;
}

.member-order-row {
  grid-template-columns: minmax(260px, 1.55fr) minmax(220px, 0.9fr) minmax(120px, 0.42fr) minmax(150px, 0.52fr);
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
}

.member-order-row__company {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.member-order-row__company strong {
  color: #172033;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.member-order-row__amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.member-order-row__amounts div {
  display: grid;
  gap: 4px;
  border-left: 1px solid #edf1f6;
  padding-left: 12px;
}

.member-order-row__amounts span,
.member-order-row__state em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
}

.member-order-row__amounts strong {
  color: #172033;
  font-size: 16px;
  font-weight: 650;
}

.member-order-row__state {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.member-status--order {
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  padding: 3px 9px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 650;
}

.member-order-row__actions {
  justify-content: flex-end;
}

.member-order-row__actions a,
.member-order-titlebar__actions a,
.member-order-titlebar__actions button,
.member-danger-button,
.member-order-service-link a {
  min-height: 34px;
  border-radius: 7px;
  padding: 0 12px;
  font-size: 13px;
}

.member-order-titlebar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.member-order-titlebar__actions form {
  margin: 0;
}

.member-danger-button {
  border: 1px solid rgba(185, 28, 28, 0.22);
  color: #b91c1c;
  background: #fff5f5;
  font-weight: 600;
  cursor: pointer;
}

.member-order-page-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
}

.member-order-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.member-order-info-grid div {
  gap: 4px;
  min-height: 66px;
  padding: 10px 11px;
  box-shadow: none;
}

.member-order-info-grid span {
  font-size: 12px;
}

.member-order-info-grid strong {
  font-size: 14px;
}

.member-order-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.member-order-progress li {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-right: 12px;
}

.member-order-progress li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 22px;
  right: 0;
  height: 2px;
  background: #e4eaf2;
}

.member-order-progress li:last-child::before {
  display: none;
}

.member-order-progress li > span {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border: 2px solid #dbe4f0;
  border-radius: 50%;
  background: #fff;
}

.member-order-progress li.is-active > span,
.member-order-progress li.is-done > span {
  border-color: #2563eb;
  background: #2563eb;
}

.member-order-progress li.is-done::before {
  background: #93c5fd;
}

.member-order-progress strong {
  color: #172033;
  font-size: 13px;
  font-weight: 650;
}

.member-order-progress em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
}

.member-payment-form-card .member-order-payment-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-payment-form {
  max-width: none;
}

.member-payment-form .member-payment-amount-field input,
.member-payment-form label input[type="password"] {
  max-width: 240px;
}

.member-pay-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-pay-quick-actions button {
  min-height: 32px;
  border: 1px solid #dbe4f0;
  border-radius: 7px;
  padding: 0 10px;
  color: #2563eb;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.member-payment-submit-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-payment-submit-row .member-primary-button {
  width: auto;
  min-width: 132px;
}

.member-order-service-link {
  margin-top: 14px;
  border-top: 1px solid #edf1f6;
  padding-top: 12px;
}

.member-order-service-link a {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe4f0;
  color: #2563eb;
  background: #fff;
  font-weight: 500;
}

.member-app-shell .member-amount-income {
  color: #dc2626;
  font-weight: 650;
}

.member-app-shell .member-amount-expense {
  color: #16a34a;
  font-weight: 650;
}

.member-app-shell .member-record-card {
  gap: 7px;
  padding: 12px 14px;
}

.member-app-shell .member-record-card__amount {
  font-size: 20px;
  line-height: 1.15;
}

.member-app-shell .member-record-card__head strong {
  font-size: 14px;
}

.member-app-shell .member-record-card__meta span,
.member-app-shell .member-record-card p,
.member-app-shell .member-table td {
  font-size: 12px;
}

.member-app-shell .member-table th {
  font-size: 12px;
  font-weight: 600;
}

.member-withdraw-form-grid {
  grid-template-columns: minmax(240px, 360px) minmax(240px, 360px);
  align-items: start;
  max-width: 780px;
}

.member-withdraw-form-grid .member-withdraw-account-preview,
.member-withdraw-form-grid label:has(textarea),
.member-withdraw-form-grid button[type="submit"] {
  grid-column: 1 / -1;
}

.member-withdraw-form-grid input,
.member-withdraw-form-grid select,
.member-withdraw-form-grid textarea {
  max-width: 360px;
}

.member-withdraw-form-grid .auth-code-row {
  max-width: 360px;
}

.member-withdraw-form-grid .auth-code-button {
  min-height: 38px;
  padding: 0 12px;
}

.member-account-row {
  grid-template-columns: minmax(180px, 1.05fr) minmax(180px, .95fr) minmax(220px, auto);
}

.member-row-actions a,
.member-row-actions button,
.member-default-account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.member-row-actions .member-default-account-button:disabled {
  color: #667085;
  background: #f2f4f7;
  cursor: not-allowed;
}

.member-app-shell .member-withdraw-default-check {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.member-app-shell .member-withdraw-default-check input[type="checkbox"] {
  width: 14px;
  min-height: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  accent-color: #2563eb;
}

.member-app-shell .member-withdraw-default-check span {
  margin: 0;
  font-size: 13px;
}

.member-profile-info-card + .member-profile-security-card {
  margin-top: 18px;
}

.member-modal__dialog .member-form-compact,
.member-dialog .member-form-compact {
  max-width: 360px;
}

.member-modal__dialog .member-form-compact input {
  max-width: 320px;
  padding: 0 12px;
}

.member-modal__dialog .member-form-compact button[type="submit"] {
  width: fit-content;
  min-width: 88px;
}

.member-record-mini-list span {
  display: grid;
  gap: 2px;
}

.member-record-mini-list span strong {
  color: #172033;
  font-size: 13px;
}

.member-record-mini-list b {
  font-size: 13px;
  white-space: nowrap;
}

.account-page--gateway .account-gateway__panel {
  max-width: 430px;
}

.register-compat-panel .auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 132px;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .member-workbench-grid,
  .member-kpi-grid,
  .member-payment-layout,
  .member-order-row,
  .member-order-info-grid,
  .member-order-progress {
    grid-template-columns: 1fr;
  }

  .member-withdraw-form-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .member-payment-dock,
  .member-transaction-empty {
    grid-template-columns: 1fr;
  }

  .member-payment-side {
    position: static;
  }

  .member-order-row__actions {
    justify-content: flex-start;
  }

  .member-order-progress li {
    padding: 0 0 14px 30px;
  }

  .member-order-progress li::before {
    top: 22px;
    bottom: 0;
    left: 9px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .member-order-progress li > span {
    position: absolute;
    left: 0;
    top: 0;
  }
}

@media (max-width: 760px) {
  .member-workbench-hero,
  .member-security-grid {
    grid-template-columns: 1fr;
  }

  .member-rail-actions {
    align-items: stretch;
  }

  .member-security-grid div {
    border-right: 0;
    border-bottom: 1px solid #edf1f6;
    padding: 12px 0;
  }

  .member-security-grid div:last-child {
    border-bottom: 0;
  }
}

/* Member center polish pass based on authenticated page captures. */
.account-page--gateway .account-gateway--member-login {
  grid-template-columns: minmax(560px, 1.18fr) minmax(360px, 0.72fr);
  gap: 34px;
}

.account-gateway--member-login .account-gateway__trust {
  min-height: 440px;
  position: relative;
  overflow: hidden;
}

.account-gateway--member-login .account-gateway__trust::before {
  content: "";
  position: absolute;
  inset: auto 28px 28px auto;
  width: 210px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 26px 26px;
  opacity: .72;
  pointer-events: none;
}

.account-page--gateway .account-gateway--member-login .account-gateway__panel {
  max-width: 420px;
  justify-self: stretch;
}

.member-app-shell .member-dashboard-main,
.member-app-shell .member-content-surface,
.member-app-shell .member-finance-panel,
.member-app-shell .member-profile-panel {
  color: #172033;
}

.member-app-shell h1,
.member-app-shell h2,
.member-app-shell strong {
  letter-spacing: 0;
}

.member-workbench-hero {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  min-height: 150px;
  padding: 24px 28px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.85), rgba(255, 255, 255, 0.92) 55%),
    #fff;
}

.member-app-shell .member-workbench-hero.member-account-summary {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.member-workbench-hero .member-account-avatar {
  width: 56px;
  height: 56px;
}

.member-workbench-hero__copy {
  align-self: center;
  justify-self: start;
  text-align: left;
}

.member-workbench-hero h1 {
  font-size: 24px;
  font-weight: 600;
}

.member-hero-action {
  width: 100%;
  max-width: 168px;
  justify-self: end;
  border-color: rgba(37, 99, 235, 0.28);
  color: #1d4ed8;
  background: #eff6ff;
}

.member-kpi-grid {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.member-kpi-card {
  min-height: 112px;
  gap: 10px;
  padding: 17px 18px;
}

.member-kpi-card span {
  font-size: 13px;
}

.member-kpi-card strong {
  font-size: 24px;
  font-weight: 600;
}

.member-kpi-card:not(.member-balance-summary) strong:not(.member-amount-income):not(.member-amount-expense) {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 0 10px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 13px;
  font-weight: 500;
}

.member-section-head h2,
.member-panel-head strong {
  font-size: 18px;
  font-weight: 600;
}

.member-funds-card .member-section-head a,
.member-recent-records .member-section-head a,
.member-transaction-card .member-panel-head a {
  color: #2563eb;
  font-size: 13px;
  font-weight: 500;
}

.member-rail-actions {
  align-items: center;
}

.member-rail-actions .member-primary-button,
.member-rail-actions .member-ghost-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.member-security-grid strong {
  font-size: 14px;
  font-weight: 500;
}

.member-transaction-empty {
  min-height: 84px;
}

.member-order-filter--compact {
  grid-template-columns: 150px minmax(260px, 1fr) 88px;
}

.member-order-card-list {
  gap: 12px;
}

.member-order-row {
  grid-template-columns: minmax(360px, 1.45fr) minmax(210px, 0.72fr) minmax(110px, 0.34fr) minmax(96px, auto);
  gap: 14px;
  min-height: 118px;
  padding: 16px 18px;
}

.member-order-row__company strong {
  font-size: 14px;
  font-weight: 600;
}

.member-order-card__meta {
  gap: 7px 12px;
  color: #667085;
}

.member-order-row__amounts {
  grid-template-columns: 1fr 1fr;
}

.member-order-row__amounts div {
  border: 1px solid #edf1f6;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fbfdff;
}

.member-order-row__amounts strong {
  font-size: 15px;
  font-weight: 600;
}

.member-order-row__actions {
  display: flex;
  justify-content: flex-end;
}

.member-order-row__actions a {
  min-width: 66px;
}

.member-payment-layout {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 360px);
}

.member-payment-status-card,
.member-payment-form-card {
  padding: 20px 22px;
}

.member-order-info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-order-info-grid div {
  min-height: 60px;
  padding: 9px 10px;
}

.member-order-info-grid strong {
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.member-payment-form-card .member-order-payment-summary {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.member-payment-form-card .member-order-payment-summary div {
  min-height: 72px;
  padding: 12px;
}

.member-order-payment-summary span {
  font-size: 12px;
}

.member-order-payment-summary strong {
  font-size: 20px;
  font-weight: 600;
}

.member-payment-form .member-payment-amount-field input,
.member-payment-form label input[type="password"] {
  max-width: 100%;
}

.member-pay-quick-actions button {
  line-height: 1.25;
  white-space: normal;
}

.member-finance-workspace .auth-form.member-recharge-layout {
  max-width: 960px;
}

.member-app-shell .member-recharge-layout {
  grid-template-columns: minmax(260px, 0.78fr) minmax(430px, 1.22fr);
  justify-content: start;
}

.member-recharge-picker {
  align-self: start;
  padding: 13px;
}

.member-recharge-section-head strong,
.member-selected-account__head strong,
.member-recharge-form-card h2 {
  font-size: 15px;
  font-weight: 600;
}

.member-recharge-channel-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-recharge-channel-tab span,
.member-recharge-account-card strong {
  font-weight: 600;
}

.member-selected-account__details div {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
}

.member-selected-account__details dt {
  text-align: right;
  line-height: 1.8;
}

.member-selected-account__details dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
}

.member-recharge-apply {
  max-width: 520px;
}

.member-app-shell .member-recharge-form-card input,
.member-app-shell .member-recharge-form-card textarea {
  max-width: 100%;
}

.member-recharge-form-card label {
  max-width: 360px;
}

.member-recharge-form-card label:has(textarea) {
  max-width: 100%;
}

.member-withdraw-form-grid {
  grid-template-columns: minmax(0, 520px);
  max-width: 560px;
  gap: 14px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.member-withdraw-form-grid .member-withdraw-account-preview,
.member-withdraw-form-grid label:has(textarea),
.member-withdraw-form-grid button[type="submit"] {
  grid-column: 1;
}

.member-withdraw-form-grid input,
.member-withdraw-form-grid select,
.member-withdraw-form-grid textarea,
.member-withdraw-form-grid .auth-code-row {
  max-width: 420px;
}

.member-withdraw-form-grid .member-account-preview-card {
  max-width: 420px;
  background: #f8fbff;
}

.member-record-card__head .member-status {
  width: fit-content;
}

.member-status--danger {
  border-color: rgba(220, 38, 38, 0.18);
  color: #dc2626;
  background: #fef2f2;
}

.member-status--warning {
  border-color: rgba(217, 119, 6, 0.22);
  color: #b45309;
  background: #fffbeb;
}

.member-record-table .member-status {
  display: inline-flex;
}

.member-table td,
.member-table th {
  line-height: 1.45;
}

.member-modal__dialog .member-withdraw-account-form {
  max-width: 100%;
}

.member-withdraw-account-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.member-withdraw-account-form label {
  min-width: 0;
}

.member-withdraw-account-form label:nth-of-type(5),
.member-withdraw-account-form label:nth-of-type(6),
.member-withdraw-account-form .member-withdraw-default-check,
.member-withdraw-account-form button[type="submit"] {
  grid-column: 1 / -1;
}

.member-modal__dialog .member-withdraw-account-form input,
.member-modal__dialog .member-withdraw-account-form select {
  max-width: 100%;
}

.member-withdraw-account-form .member-withdraw-default-check {
  width: fit-content;
  min-height: 34px;
  border-radius: 8px;
}

.detail-side-panel .advisor-card {
  display: grid;
  gap: 10px;
}

.detail-side-panel .advisor-card form {
  margin: 0;
}

.detail-side-panel .advisor-card .primary-action {
  display: inline-flex;
  width: 128px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.detail-side-panel .advisor-card .primary-action[data-contact-service] {
  color: #2563eb;
  background: #eff6ff;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .account-page--gateway .account-gateway--member-login,
  .member-app-shell .member-recharge-layout,
  .member-payment-layout,
  .member-order-info-grid,
  .member-order-row {
    grid-template-columns: 1fr;
  }

  .member-workbench-hero {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .member-hero-action {
    justify-self: start;
  }

  .member-order-row__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .member-kpi-grid,
  .member-workbench-grid,
  .member-withdraw-account-form {
    grid-template-columns: 1fr;
  }

  .member-selected-account__details div {
    grid-template-columns: 1fr;
  }

  .member-selected-account__details dt {
    text-align: left;
  }
}

/* Member center high fidelity implementation layer. */
.member-app-shell,
.account-page--gateway {
  --member-bg: #f4f7fb;
  --member-surface: #fff;
  --member-surface-2: #f8fafc;
  --member-ink: #172033;
  --member-muted: #667085;
  --member-soft: #98a2b3;
  --member-line: #e5eaf0;
  --member-line-2: #d8e0ea;
  --member-primary: #2563eb;
  --member-primary-soft: #eaf1ff;
  --member-green: #14804a;
  --member-red: #d92d20;
  --member-amber: #b7791f;
  --member-shadow: 0 18px 44px rgba(24, 39, 75, 0.08);
  color: var(--member-ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

.member-app-shell {
  min-height: calc(100vh - 96px);
  padding: 22px 0 34px;
  background: linear-gradient(180deg, #f7faff 0, var(--member-bg) 230px);
}

.member-app-shell .site-shell.member-dashboard-layout {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  gap: 18px;
  width: min(1360px, calc(100% - 48px));
  max-width: 1360px;
  align-items: start;
}

.member-app-shell .member-sidebar {
  position: sticky;
  top: 18px;
  border: 1px solid var(--member-line);
  border-radius: 10px;
  padding: 10px;
  background: var(--member-surface);
  box-shadow: 0 12px 30px rgba(24, 39, 75, 0.05);
}

.member-app-shell .member-sidebar__brand {
  padding: 6px 8px 12px;
}

.member-app-shell .member-sidebar__brand span {
  color: var(--member-ink);
  font-size: 14px;
  font-weight: 650;
}

.member-app-shell .member-sidebar__brand strong,
.member-app-shell .member-sidebar__brand small {
  color: var(--member-soft);
  font-size: 12px;
  font-weight: 400;
}

.member-app-shell .member-sidebar__nav,
.member-app-shell .member-nav-group {
  display: grid;
  gap: 4px;
}

.member-app-shell .member-nav-group {
  border: 0;
  padding: 0;
  background: transparent;
}

.member-app-shell .member-nav-item,
.member-app-shell .member-nav-subitem {
  display: flex;
  min-height: 36px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #475467;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}

.member-app-shell .member-nav-group > .member-nav-item {
  color: #344054;
  font-weight: 600;
}

.member-app-shell .member-nav-subitem {
  margin-left: 12px;
  color: var(--member-muted);
  font-size: 12px;
}

.member-app-shell .member-nav-item.is-active,
.member-app-shell .member-nav-subitem.is-active,
.member-center-page .member-nav-item.is-active {
  color: var(--member-primary);
  background: var(--member-primary-soft);
  box-shadow: none;
}

.member-app-shell .member-dashboard-main {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.member-app-shell .member-content-surface,
.member-app-shell .member-order-panel,
.member-app-shell .member-finance-panel,
.member-app-shell .member-profile-panel,
.member-app-shell .member-account-summary,
.member-app-shell .member-transaction-card,
.member-app-shell .member-funds-card,
.member-app-shell .member-recent-records {
  border: 1px solid var(--member-line);
  border-radius: 10px;
  background: var(--member-surface);
  box-shadow: 0 10px 26px rgba(24, 39, 75, 0.04);
}

.member-app-shell .member-order-panel,
.member-app-shell .member-finance-panel,
.member-app-shell .member-profile-panel {
  padding: 16px;
}

.member-app-shell h1,
.member-app-shell h2,
.member-app-shell h3,
.account-page--gateway h1,
.account-page--gateway h2,
.account-page--gateway h3 {
  letter-spacing: 0;
}

.member-app-shell .member-page-titlebar {
  min-height: 50px;
  margin: 0 0 10px;
  align-items: center;
}

.member-app-shell .member-page-titlebar span {
  margin-bottom: 4px;
  color: var(--member-soft);
  font-size: 12px;
  font-weight: 400;
}

.member-app-shell .member-page-titlebar h1 {
  color: var(--member-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.member-app-shell .member-section-head,
.member-app-shell .member-panel-head {
  min-height: 34px;
  align-items: center;
}

.member-app-shell .member-section-head h1,
.member-app-shell .member-section-head h2,
.member-app-shell .member-panel-head strong,
.member-app-shell .member-recharge-form-card h2 {
  margin: 0;
  color: var(--member-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.member-app-shell .member-section-head a,
.member-app-shell .member-panel-head a,
.member-app-shell .auth-switch a {
  color: var(--member-primary);
  font-size: 12px;
  font-weight: 500;
}

.member-app-shell .member-primary-button,
.member-app-shell .primary-action.member-primary-button,
.member-app-shell .auth-submit,
.member-app-shell .primary-action,
.member-app-shell .member-order-filter button {
  display: inline-flex;
  width: fit-content;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--member-primary);
  border-radius: 7px;
  padding: 0 13px;
  background: var(--member-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}

.member-app-shell .member-ghost-button,
.member-app-shell .member-row-actions a,
.member-app-shell .member-row-actions button,
.member-app-shell .member-row-button,
.member-app-shell .member-copy-button,
.member-app-shell .member-order-titlebar__actions a,
.member-app-shell .member-order-service-link a,
.member-app-shell .member-default-account-button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--member-line-2);
  border-radius: 6px;
  padding: 0 9px;
  background: #fff;
  color: #475467;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}

.member-app-shell .member-copy-button,
.member-app-shell .member-copy-icon-button {
  min-width: 26px;
  min-height: 26px;
  border-color: #d6e4ff;
  color: var(--member-primary);
  background: #f8fbff;
}

.member-app-shell .member-danger-button {
  min-height: 32px;
  border: 1px solid rgba(217, 45, 32, 0.24);
  border-radius: 7px;
  padding: 0 12px;
  color: var(--member-red);
  background: #fff5f5;
  font-size: 12px;
  font-weight: 500;
}

.member-app-shell input,
.member-app-shell select,
.member-app-shell textarea,
.account-page--gateway input,
.account-page--gateway select,
.account-page--gateway textarea {
  min-height: 38px;
  border: 1px solid #d0d5dd;
  border-radius: 7px;
  padding: 8px 12px;
  color: var(--member-ink);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  outline: none;
}

.member-app-shell .member-form-compact,
.member-app-shell .auth-form {
  gap: 14px;
}

.member-app-shell .member-form-compact label > span,
.member-app-shell .auth-form label > span:first-child,
.member-app-shell .member-recharge-form-card label > span {
  margin-bottom: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

.member-app-shell .auth-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  min-height: 15px;
  margin: 1px 0 0;
  padding: 0;
}

.member-app-shell .member-status,
.member-app-shell .member-status--order {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border: 1px solid #d6e4ff;
  border-radius: 999px;
  padding: 0 8px;
  color: var(--member-primary);
  background: var(--member-primary-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.member-app-shell .member-status--success {
  border-color: rgba(20, 128, 74, 0.18);
  color: var(--member-green);
  background: #ecfdf3;
}

.member-app-shell .member-status--danger {
  border-color: rgba(217, 45, 32, 0.18);
  color: var(--member-red);
  background: #fff1f0;
}

.member-app-shell .member-status--warning {
  border-color: rgba(183, 121, 31, 0.2);
  color: var(--member-amber);
  background: #fffbeb;
}

.member-app-shell .member-amount-income {
  color: var(--member-red);
  font-weight: 700;
}

.member-app-shell .member-amount-expense {
  color: var(--member-green);
  font-weight: 700;
}

.member-app-shell .member-workbench-shell {
  gap: 14px;
}

.member-app-shell .member-workbench-hero.member-account-summary {
  grid-template-columns: 56px minmax(0, 1fr) auto;
  min-height: 104px;
  gap: 14px;
  padding: 16px;
  background: #fff;
}

.member-app-shell .member-workbench-hero .member-account-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--member-primary);
  background: var(--member-primary-soft);
}

.member-app-shell .member-eyebrow {
  margin-bottom: 3px;
  color: var(--member-soft);
  font-size: 12px;
}

.member-app-shell .member-workbench-hero h1 {
  font-size: 20px;
  font-weight: 700;
}

.member-app-shell .member-account-tags {
  gap: 6px;
  margin-top: 8px;
}

.member-app-shell .member-account-tags span {
  min-height: 22px;
  border-radius: 999px;
  padding: 0 8px;
  color: #475467;
  background: var(--member-surface-2);
  font-size: 12px;
}

.member-app-shell .member-hero-action {
  width: auto;
  min-height: 34px;
  border-radius: 7px;
  padding: 0 13px;
  color: var(--member-primary);
  background: var(--member-primary-soft);
  font-size: 13px;
  font-weight: 500;
}

.member-app-shell .member-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.member-app-shell .member-kpi-card {
  min-height: 108px;
  border: 1px solid var(--member-line);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 39, 75, 0.04);
}

.member-app-shell .member-kpi-card span {
  color: var(--member-soft);
  font-size: 12px;
}

.member-app-shell .member-kpi-card strong {
  color: var(--member-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.member-app-shell .member-kpi-card:not(.member-balance-summary) strong:not(.member-amount-income):not(.member-amount-expense) {
  min-height: 22px;
  border: 1px solid #d6e4ff;
  border-radius: 999px;
  padding: 0 8px;
  color: var(--member-primary);
  background: var(--member-primary-soft);
  font-size: 12px;
  font-weight: 500;
}

.member-app-shell .member-kpi-card a {
  color: var(--member-primary);
  font-size: 12px;
  font-weight: 500;
}

.member-app-shell .member-workbench-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
}

.member-app-shell .member-workbench-main,
.member-app-shell .member-funds-rail {
  gap: 14px;
}

.member-app-shell .member-transaction-card,
.member-app-shell .member-funds-card,
.member-app-shell .member-recent-records,
.member-app-shell .member-security-strip {
  padding: 16px;
}

.member-app-shell .member-transaction-empty {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  min-height: 86px;
  gap: 12px;
  border: 1px dashed #cad5e4;
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfe;
}

.member-app-shell .member-company-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ecfdf3;
  color: var(--member-green);
  font-size: 16px;
  font-weight: 650;
}

.member-app-shell .member-transaction-empty strong {
  font-size: 14px;
  font-weight: 650;
}

.member-app-shell .member-transaction-empty p,
.member-app-shell .member-funds-card > span {
  color: var(--member-muted);
  font-size: 12px;
}

.member-app-shell .member-rail-actions {
  display: flex;
  gap: 8px;
}

.member-app-shell .member-rail-actions .member-primary-button,
.member-app-shell .member-rail-actions .member-ghost-button {
  min-height: 34px;
  line-height: 1;
}

.member-app-shell .member-record-mini-list {
  gap: 0;
}

.member-app-shell .member-record-mini-list div {
  min-height: 46px;
  border-bottom: 1px solid #edf1f6;
  padding: 8px 0;
  font-size: 12px;
}

.member-app-shell .member-record-mini-list span strong {
  font-size: 13px;
  font-weight: 600;
}

.member-app-shell .member-security-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-app-shell .member-security-grid div {
  gap: 5px;
  padding: 4px 16px;
}

.member-app-shell .member-security-grid span {
  color: var(--member-soft);
  font-size: 12px;
}

.member-app-shell .member-security-grid strong {
  color: var(--member-ink);
  font-size: 13px;
  font-weight: 500;
}

.member-app-shell .member-order-filter {
  grid-template-columns: 140px minmax(220px, 1fr) 80px;
  gap: 10px;
  border: 1px solid var(--member-line);
  border-radius: 8px;
  padding: 12px;
  background: var(--member-surface-2);
}

.member-app-shell .member-order-row {
  grid-template-columns: minmax(280px, 1.35fr) 190px 112px 116px;
  gap: 14px;
  min-height: 88px;
  align-items: center;
  border: 1px solid var(--member-line);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
  box-shadow: none;
}

.member-app-shell .member-order-row__company strong {
  color: var(--member-ink);
  font-size: 14px;
  font-weight: 600;
}

.member-app-shell .member-order-card__time,
.member-app-shell .member-order-card__meta,
.member-app-shell .member-order-row__amounts span,
.member-app-shell .member-order-row__state em {
  color: var(--member-soft);
  font-size: 12px;
}

.member-app-shell .member-order-card__meta {
  gap: 5px 10px;
}

.member-app-shell .member-order-row__amounts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.member-app-shell .member-order-row__amounts div {
  border: 0;
  border-radius: 8px;
  padding: 8px;
  background: var(--member-surface-2);
}

.member-app-shell .member-order-row__amounts strong {
  font-size: 14px;
  font-weight: 650;
}

.member-app-shell .member-order-row__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.member-app-shell .member-payment-layout,
.member-app-shell .member-order-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 14px;
  align-items: stretch;
}

.member-app-shell .member-payment-main,
.member-app-shell .member-payment-side {
  display: grid;
  gap: 14px;
}

.member-app-shell .member-payment-side {
  position: static;
}

.member-app-shell .member-payment-status-card,
.member-app-shell .member-payment-form-card {
  padding: 16px;
}

.member-app-shell .member-order-info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.member-app-shell .member-order-info-grid div {
  min-height: 54px;
  border: 1px solid #edf1f6;
  border-radius: 7px;
  padding: 8px 10px;
  background: #fbfcfe;
}

.member-app-shell .member-order-info-grid span {
  color: var(--member-soft);
  font-size: 12px;
}

.member-app-shell .member-order-info-grid strong {
  margin-top: 3px;
  color: var(--member-ink);
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.member-app-shell .member-order-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0 0;
}

.member-app-shell .member-order-progress strong {
  font-size: 13px;
  font-weight: 650;
}

.member-app-shell .member-order-progress em {
  color: var(--member-muted);
  font-size: 12px;
}

.member-app-shell .member-order-payment-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.member-app-shell .member-order-payment-summary div {
  min-height: 62px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfe;
}

.member-app-shell .member-order-payment-summary span {
  color: var(--member-soft);
  font-size: 12px;
}

.member-app-shell .member-order-payment-summary strong {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 650;
}

.member-app-shell .member-payment-form {
  max-width: none;
}

.member-app-shell .member-payment-form .member-payment-amount-field input,
.member-app-shell .member-payment-form label input[type="password"] {
  max-width: 100%;
}

.member-app-shell .member-pay-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.member-app-shell .member-pay-quick-actions button {
  min-height: 34px;
  justify-content: space-between;
  border: 1px solid var(--member-line);
  border-radius: 7px;
  padding: 0 10px;
  background: #fbfcfe;
  color: #475467;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

.member-app-shell .member-payment-agreement {
  display: flex;
  gap: 8px;
  color: #475467;
  font-size: 12px;
}

.member-app-shell .member-payment-submit-row {
  justify-content: flex-start;
  padding-top: 2px;
}

.member-app-shell .member-payment-submit-row .member-primary-button {
  min-width: 118px;
}

.member-app-shell .member-recharge-layout {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) 440px;
  gap: 16px;
  align-items: start;
}

.member-finance-workspace .auth-form.member-recharge-layout {
  max-width: none;
}

.member-app-shell .member-recharge-picker {
  display: grid;
  gap: 12px;
  border: 1px solid var(--member-line);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

.member-app-shell .member-recharge-channel-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.member-app-shell .member-recharge-channel-tab {
  min-height: 52px;
  border: 1px solid var(--member-line);
  border-radius: 8px;
  padding: 10px 12px;
}

.member-app-shell .member-recharge-channel-tab span {
  font-size: 13px;
  font-weight: 650;
}

.member-app-shell .member-recharge-channel-tab em {
  color: var(--member-soft);
  font-size: 12px;
}

.member-app-shell .member-recharge-channel-tab.is-active {
  border-color: var(--member-primary);
  background: var(--member-primary-soft);
  box-shadow: none;
}

.member-app-shell .member-recharge-account-list {
  display: grid;
  max-height: 380px;
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
}

.member-app-shell .member-recharge-account-card {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 10px;
  border: 1px solid var(--member-line);
  border-radius: 8px;
  padding: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.member-app-shell .member-recharge-account-card:hover {
  transform: translateY(-1px);
  border-color: #bad0ff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.member-app-shell .member-recharge-account-card.is-active {
  border-color: var(--member-primary);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--member-primary);
}

.member-app-shell .member-recharge-account-card input[type="radio"] {
  width: auto;
  min-height: 0;
  margin-top: 3px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--member-primary);
}

.member-app-shell .member-recharge-apply {
  display: grid;
  max-width: none;
  gap: 14px;
}

.member-app-shell .member-selected-account,
.member-app-shell .member-recharge-form-card {
  border: 1px solid var(--member-line);
  border-radius: 10px;
  background: #fff;
}

.member-app-shell .member-selected-account {
  padding: 14px;
  background: #f8fbff;
}

.member-app-shell .member-selected-account__details {
  display: grid;
  gap: 8px;
}

.member-app-shell .member-selected-account__details div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 30px;
}

.member-app-shell .member-selected-account__details dt {
  color: var(--member-muted);
  font-size: 12px;
  text-align: right;
}

.member-app-shell .member-selected-account__details dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0;
  color: var(--member-ink);
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.member-app-shell .member-recharge-form-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.member-app-shell .member-recharge-form-card label {
  max-width: none;
}

.member-app-shell .member-recharge-form-card input,
.member-app-shell .member-recharge-form-card textarea {
  width: 100%;
  max-width: none;
}

.member-app-shell .member-withdraw-application-layout {
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(280px, 1fr);
  gap: 16px;
  align-items: start;
}

.member-app-shell .member-withdraw-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: none;
  border: 1px solid var(--member-line);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.member-app-shell .member-withdraw-form-grid input,
.member-app-shell .member-withdraw-form-grid select,
.member-app-shell .member-withdraw-form-grid textarea,
.member-app-shell .member-withdraw-form-grid .auth-code-row {
  max-width: 100%;
}

.member-app-shell .member-withdraw-form-grid .member-withdraw-account-preview,
.member-app-shell .member-withdraw-form-grid label:has(textarea),
.member-app-shell .member-withdraw-form-grid button[type="submit"] {
  grid-column: 1;
}

.member-app-shell .member-withdraw-account-preview {
  display: grid;
  gap: 8px;
}

.member-app-shell .member-account-preview-card {
  border: 1px solid #edf1f6;
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfe;
}

.member-app-shell .member-account-preview-card strong {
  font-size: 13px;
  font-weight: 650;
}

.member-app-shell .member-account-preview-card span {
  color: var(--member-muted);
  font-size: 12px;
}

.member-app-shell .member-account-preview-card.is-active {
  border-color: #d6e4ff;
  background: #f8fbff;
}

.member-app-shell .member-withdraw-side {
  display: grid;
  gap: 12px;
}

.member-app-shell .member-withdraw-side-card {
  display: grid;
  gap: 7px;
  border: 1px solid var(--member-line);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

.member-app-shell .member-withdraw-side-card span {
  color: var(--member-soft);
  font-size: 12px;
}

.member-app-shell .member-withdraw-side-card strong {
  color: var(--member-ink);
  font-size: 18px;
  font-weight: 650;
}

.member-app-shell .member-withdraw-side-card em {
  color: var(--member-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.6;
}

.member-app-shell .member-withdraw-side-card a {
  color: var(--member-primary);
  font-size: 12px;
}

.member-app-shell .member-withdraw-side-card--muted {
  background: #f8fbff;
}

.member-app-shell .member-record-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--member-line);
  border-radius: 9px;
  padding: 12px 14px;
  background: #fff;
}

.member-app-shell .member-record-card__head strong {
  font-size: 13px;
  font-weight: 600;
}

.member-app-shell .member-record-card__amount {
  font-size: 18px;
  line-height: 1.15;
}

.member-app-shell .member-record-card__meta span,
.member-app-shell .member-record-card p {
  color: var(--member-muted);
  font-size: 12px;
}

.member-app-shell .member-table {
  font-size: 13px;
}

.member-app-shell .member-table th {
  height: 38px;
  color: var(--member-muted);
  font-size: 12px;
  font-weight: 600;
  background: var(--member-surface-2);
}

.member-app-shell .member-table td {
  padding: 12px;
  color: #344054;
  font-size: 12px;
  line-height: 1.45;
}

.member-app-shell .member-account-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(220px, 1.1fr) 176px;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  border: 1px solid var(--member-line);
  border-radius: 9px;
  padding: 13px 14px;
  background: #fff;
  box-shadow: none;
}

.member-app-shell .member-account-row__main strong {
  font-size: 14px;
  font-weight: 600;
}

.member-app-shell .member-account-row__main span,
.member-app-shell .member-account-row__meta span {
  color: var(--member-muted);
  font-size: 12px;
}

.member-app-shell .member-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.member-app-shell .member-withdraw-account-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.member-app-shell .member-withdraw-account-form label:nth-of-type(5),
.member-app-shell .member-withdraw-account-form label:nth-of-type(6),
.member-app-shell .member-withdraw-account-form .member-withdraw-default-check,
.member-app-shell .member-withdraw-account-form button[type="submit"] {
  grid-column: 1 / -1;
}

.member-app-shell .member-withdraw-default-check {
  width: fit-content;
  min-height: 30px;
  gap: 6px;
}

.member-app-shell .member-withdraw-default-check input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-height: 14px;
  margin: 0;
}

.member-app-shell .member-withdraw-default-check span {
  margin: 0;
  font-size: 13px;
}

.member-app-shell .member-profile-panel {
  padding: 0;
  overflow: hidden;
}

.member-app-shell .member-profile-panel .member-section-head {
  min-height: 48px;
  border-bottom: 1px solid #edf1f6;
  padding: 13px 16px 10px;
}

.member-app-shell .member-profile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  padding: 0 16px;
}

.member-app-shell .member-profile-row:last-child {
  border-bottom: 0;
}

.member-app-shell .member-profile-row span {
  color: var(--member-muted);
  font-size: 12px;
}

.member-app-shell .member-profile-row strong {
  color: var(--member-ink);
  font-size: 13px;
  font-weight: 500;
}

.member-app-shell .member-profile-row a,
.member-app-shell .member-profile-row em {
  color: var(--member-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.member-app-shell .member-profile-info-card + .member-profile-security-card {
  margin-top: 14px;
}

.member-app-shell .member-modal__dialog {
  width: min(440px, calc(100% - 32px));
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(16, 24, 40, 0.25);
}

.member-app-shell .member-modal__head {
  min-height: 54px;
  border-bottom: 1px solid var(--member-line);
  padding: 0 18px;
}

.member-app-shell .member-modal__head h2 {
  font-size: 16px;
  font-weight: 650;
}

.member-app-shell .member-modal__dialog .member-form-compact {
  max-width: none;
  padding: 18px;
}

.member-app-shell .member-modal__dialog .member-form-compact input,
.member-app-shell .member-modal__dialog .member-form-compact select {
  max-width: none;
}

.account-page--gateway {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 118, 110, 0.08)), #f7faff;
}

.account-page--gateway .account-gateway,
.account-page--gateway .account-gateway--member-login {
  grid-template-columns: minmax(600px, 1.08fr) minmax(360px, 420px);
  gap: 34px;
  align-items: center;
}

.account-page--gateway .account-gateway__trust {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.55)), linear-gradient(135deg, #eaf1ff, #e8f7f4);
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.14);
}

.account-page--gateway .account-gateway__trust h1 {
  max-width: 520px;
  color: var(--member-ink);
  font-size: 30px;
  line-height: 1.2;
}

.account-page--gateway .account-gateway__trust p:not(.eyebrow) {
  max-width: 510px;
  color: #475467;
  font-size: 14px;
}

.account-page--gateway .account-gateway__trust .eyebrow {
  color: var(--member-primary);
  font-size: 13px;
  font-weight: 650;
}

.account-page--gateway .account-gateway__trust-list {
  width: min(360px, 100%);
  margin-top: 38px;
  border-radius: 12px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(24, 39, 75, 0.08);
}

.account-page--gateway .account-gateway__trust-list span {
  min-height: 44px;
  border-bottom: 1px solid #edf1f6;
  color: #344054;
  font-size: 13px;
}

.account-page--gateway .account-gateway__trust-list span:last-child {
  border-bottom: 0;
}

.account-page--gateway .account-gateway__panel {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--member-line);
  border-radius: 14px;
  padding: 26px;
  background: #fff;
  box-shadow: var(--member-shadow);
}

.account-page--gateway .account-panel__head h1 {
  font-size: 22px;
}

.account-page--gateway .auth-tab-list {
  gap: 6px;
  border-radius: 9px;
  padding: 4px;
  background: #f2f4f7;
}

.account-page--gateway .auth-tab {
  min-height: 32px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}

.account-page--gateway .auth-tab.is-active {
  color: var(--member-primary);
  background: #fff;
  box-shadow: 0 4px 12px rgba(24, 39, 75, 0.08);
}

.account-page--gateway .auth-form--compact input {
  width: 100%;
}

.account-page--gateway .auth-submit {
  width: fit-content;
  min-width: 112px;
  min-height: 34px;
  font-size: 13px;
  font-weight: 500;
}

.account-page--gateway .account-panel__head {
  gap: 4px;
  margin-bottom: 16px;
}

.account-page--gateway .account-panel__head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.account-page--gateway .account-panel__head strong,
.account-page--gateway .account-panel__head h1,
.account-page--gateway .account-panel__head h2 {
  color: #172033;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.28;
}

.account-page--gateway .account-panel__head p,
.account-page--gateway .account-gateway__trust p:not(.eyebrow) {
  display: none;
}

.account-page--gateway .account-gateway__trust h1 {
  font-size: 25px;
  font-weight: 650;
  line-height: 1.22;
}

.account-page--gateway .account-gateway__trust-list {
  margin-top: 30px;
}

.account-page--gateway .auth-validation {
  display: none;
  min-height: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.account-page--gateway .auth-validation[data-type="error"],
.account-page--gateway .auth-validation.validation-summary-errors {
  display: block;
  margin: 10px 0 12px;
  border: 1px solid rgba(220, 38, 38, 0.16);
  border-radius: 8px;
  padding: 9px 10px;
  color: #b42318;
  background: #fff6f5;
  font-size: 12px;
  line-height: 1.5;
}

.account-page--gateway .auth-policy-check {
  align-items: flex-start;
  gap: 7px !important;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.55;
}

.account-page--gateway .auth-policy-check input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px !important;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--member-primary);
}

.account-page--gateway .account-gateway--compact .account-gateway__panel {
  max-width: 400px;
  padding: 22px;
}

.account-page--gateway .account-gateway--compact .auth-form--compact {
  gap: 10px;
}

.account-page--gateway .account-gateway--compact .auth-form--compact label {
  gap: 4px;
}

.account-page--gateway .account-gateway--compact .auth-field-validation,
.account-page--gateway .account-gateway--compact .auth-message {
  min-height: 0;
}

.account-page--gateway .account-gateway,
.account-page--gateway .account-gateway--member-login {
  grid-template-columns: minmax(520px, 1fr) minmax(360px, 420px);
  gap: 28px;
}

.account-page--gateway .account-gateway__trust.account-auth-visual {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 16px;
  padding: 28px;
  background:
    radial-gradient(circle at 86% 18%, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(15, 118, 110, 0.14), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 48%, #eef7f4 100%);
}

.account-page--gateway .account-gateway__trust.account-auth-visual::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 190px;
  height: 120px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px) 0 0 / 24px 24px;
  pointer-events: none;
}

.account-auth-brand,
.account-auth-copy,
.account-auth-stats,
.account-auth-steps {
  position: relative;
  z-index: 1;
}

.account-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

.account-auth-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--member-primary), #0f766e);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.account-page--gateway .account-auth-copy {
  max-width: 430px;
}

.account-page--gateway .account-auth-copy .eyebrow {
  margin: 0 0 8px;
  color: var(--member-primary);
  font-size: 12px;
  font-weight: 650;
}

.account-page--gateway .account-auth-copy h1 {
  margin: 0;
  color: #172033;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.26;
}

.account-page--gateway .account-auth-copy p:not(.eyebrow) {
  display: block;
  max-width: 390px;
  margin: 10px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.65;
}

.account-auth-stats {
  display: grid;
  width: min(430px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-auth-stats span,
.account-auth-steps span {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(24, 39, 75, 0.06);
}

.account-auth-stats b {
  display: block;
  color: #172033;
  font-size: 14px;
  font-weight: 650;
}

.account-auth-stats em {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  font-style: normal;
}

.account-auth-steps {
  display: grid;
  width: min(380px, 100%);
  gap: 8px;
}

.account-auth-steps span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  color: #344054;
  font-size: 13px;
}

.account-auth-steps b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--member-primary);
  font-size: 12px;
  font-weight: 600;
}

.account-page--gateway .account-gateway__panel {
  border-radius: 16px;
  padding: 24px;
}

.account-page--gateway .account-panel__head {
  margin-bottom: 14px;
}

.account-page--gateway .account-panel__head strong,
.account-page--gateway .account-panel__head h1,
.account-page--gateway .account-panel__head h2 {
  font-size: 18px;
  font-weight: 600;
}

.account-page--gateway .auth-form--compact {
  gap: 12px;
}

.account-page--gateway .auth-form--compact input {
  min-height: 38px;
  border-radius: 8px;
}

.account-page--gateway .auth-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
}

.account-page--gateway .auth-form-actions .auth-minor-link {
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
}

.account-page--gateway .auth-form-message {
  display: none;
  min-height: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.5;
}

.account-page--gateway .auth-form-message[data-type="error"],
.account-page--gateway .auth-form-message.validation-summary-errors {
  display: block;
  border: 1px solid rgba(220, 38, 38, 0.16);
  color: #b42318;
  background: #fff6f5;
}

.account-page--gateway .auth-form-message[data-type="success"] {
  display: block;
  border: 1px solid rgba(20, 128, 74, 0.16);
  color: #14804a;
  background: #f0fdf4;
}

@media (max-width: 1180px) {
  .member-app-shell .site-shell.member-dashboard-layout,
  .account-page--gateway .account-gateway,
  .account-page--gateway .account-gateway--member-login,
  .member-app-shell .member-workbench-grid,
  .member-app-shell .member-payment-layout,
  .member-app-shell .member-order-page-layout,
  .member-app-shell .member-recharge-layout,
  .member-app-shell .member-withdraw-application-layout,
  .member-app-shell .member-order-row {
    grid-template-columns: 1fr;
  }

  .member-app-shell .member-sidebar {
    position: static;
  }

  .member-app-shell .member-order-info-grid,
  .member-app-shell .member-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-app-shell .member-order-row__actions,
  .member-app-shell .member-row-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .member-app-shell .site-shell.member-dashboard-layout {
    width: min(100% - 24px, 1360px);
  }

  .member-app-shell .member-workbench-hero.member-account-summary,
  .member-app-shell .member-kpi-grid,
  .member-app-shell .member-order-info-grid,
  .member-app-shell .member-order-progress,
  .member-app-shell .member-order-payment-summary,
  .member-app-shell .member-recharge-channel-tabs,
  .member-app-shell .member-security-grid,
  .member-app-shell .member-account-row,
  .member-app-shell .member-withdraw-account-form {
    grid-template-columns: 1fr;
  }

  .member-app-shell .member-selected-account__details div {
    grid-template-columns: 1fr;
  }

  .member-app-shell .member-selected-account__details dt {
    text-align: left;
  }
}

/* Final overrides for compact recharge / withdraw pages. */
.member-app-shell .member-page-titlebar--quiet {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8edf4;
}

.member-app-shell .member-page-titlebar--quiet h1 {
  margin-top: 3px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: #1d2939;
}

.member-app-shell .member-page-titlebar--quiet span,
.member-app-shell .member-finance-section-head span {
  font-size: 12px;
  font-weight: 500;
  color: #667085;
}

.member-app-shell .member-page-titlebar--quiet a,
.member-app-shell .member-finance-section-head a,
.member-app-shell .member-finance-form-actions a {
  font-size: 12px;
  color: #2563eb;
}

.member-app-shell .member-recharge-layout,
.member-app-shell .member-withdraw-application-layout,
.member-finance-workspace .auth-form.member-recharge-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: none;
}

.member-app-shell .member-finance-card,
.member-app-shell .member-recharge-picker,
.member-app-shell .member-recharge-apply,
.member-app-shell .member-recharge-form-card {
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 39, 75, .04);
}

.member-app-shell .member-recharge-picker,
.member-app-shell .member-withdraw-account-picker,
.member-app-shell .member-selected-account,
.member-app-shell .member-finance-apply-card,
.member-app-shell .member-recharge-form-card {
  padding: 16px;
}

.member-app-shell .member-finance-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.member-app-shell .member-finance-section-head strong,
.member-app-shell .member-recharge-section-head strong,
.member-app-shell .member-recharge-form-card h2 {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: #1d2939;
}

.member-app-shell .member-finance-section-head small {
  max-width: 320px;
  text-align: right;
  font-size: 12px;
  color: #98a2b3;
}

.member-app-shell .member-recharge-channel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.member-app-shell .member-recharge-channel-tab {
  min-width: 116px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #f8fafc;
  color: #475467;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.member-app-shell .member-recharge-channel-tab span {
  font-size: 13px;
  font-weight: 500;
}

.member-app-shell .member-recharge-channel-tab em {
  font-size: 12px;
  font-style: normal;
  color: #98a2b3;
}

.member-app-shell .member-recharge-channel-tab.is-active {
  border-color: #2563eb;
  background: #eef4ff;
  color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.member-app-shell .member-finance-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
  gap: 10px;
}

.member-app-shell .member-finance-account-grid[hidden],
.member-app-shell .member-selected-account__panel[hidden] {
  display: none;
}

.member-app-shell .member-finance-account-card {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  color: #344054;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.member-app-shell .member-finance-account-card:hover {
  border-color: #9db7f5;
  box-shadow: 0 10px 22px rgba(24, 39, 75, .08);
  transform: translateY(-1px);
}

.member-app-shell .member-finance-account-card.is-active {
  border-color: #2563eb;
  background: linear-gradient(180deg, #f5f8ff 0%, #fff 100%);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.member-app-shell .member-finance-account-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.member-app-shell .member-finance-account-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #fff;
}

.member-app-shell .member-finance-account-card.is-active .member-finance-account-card__check {
  border-color: #2563eb;
  background: #2563eb;
}

.member-app-shell .member-finance-account-card.is-active .member-finance-account-card__check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.member-app-shell .member-finance-account-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-right: 24px;
}

.member-app-shell .member-finance-account-card__badges em,
.member-app-shell .member-withdraw-account-card__title em {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e8f7f4;
  color: #0f766e;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.member-app-shell .member-finance-account-card__badges em:nth-child(2),
.member-app-shell .member-withdraw-account-card__title em {
  background: #fff7e6;
  color: #b7791f;
}

.member-app-shell .member-finance-account-card__fields {
  display: grid;
  gap: 5px;
}

.member-app-shell .member-finance-account-card__fields span {
  min-width: 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.member-app-shell .member-finance-account-card__fields small {
  color: #98a2b3;
  font-size: 12px;
}

.member-app-shell .member-finance-account-card__fields button,
.member-app-shell .member-selected-account__details dd > button:first-child {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #344054;
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: copy;
}

.member-app-shell .member-finance-account-card__note,
.member-app-shell .member-selected-account__note {
  margin: 0;
  color: #0f766e;
  font-size: 12px;
  line-height: 1.45;
}

.member-app-shell .member-account-list-toggle {
  min-height: 36px;
  border: 1px dashed #b7c4d6;
  border-radius: 8px;
  background: #f8fafc;
  color: #2563eb;
  font-size: 12px;
  cursor: pointer;
}

.member-app-shell .member-selected-account__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.member-app-shell .member-selected-account__head span {
  display: block;
  margin-bottom: 2px;
  color: #667085;
  font-size: 12px;
}

.member-app-shell .member-selected-account__head strong {
  color: #1d2939;
  font-size: 15px;
  font-weight: 600;
}

.member-app-shell .member-copy-icon-button {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 14px;
  cursor: copy;
}

.member-app-shell .member-copy-icon-button.is-copied {
  border-color: #0f766e;
  color: #0f766e;
  background: #e8f7f4;
}

.member-app-shell .member-selected-account__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
}

.member-app-shell .member-selected-account__details div {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.member-app-shell .member-selected-account__details dt {
  color: #98a2b3;
  font-size: 12px;
}

.member-app-shell .member-selected-account__details dd {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #344054;
  font-size: 12px;
}

.member-app-shell .member-selected-account__qr {
  margin: 12px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.member-app-shell .member-selected-account__qr img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
}

.member-app-shell .member-selected-account__qr figcaption {
  color: #667085;
  font-size: 12px;
}

.member-app-shell .member-finance-form-grid,
.member-app-shell .member-withdraw-form-grid,
.member-app-shell .member-recharge-form-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 12px;
  align-items: start;
}

.member-app-shell .member-finance-apply-card .member-finance-section-head,
.member-app-shell .member-recharge-form-card .member-finance-section-head {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.member-app-shell .member-finance-form-grid label,
.member-app-shell .member-withdraw-form-grid label,
.member-app-shell .member-recharge-form-card label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #475467;
  font-size: 12px;
  font-weight: 500;
}

.member-app-shell .member-finance-form-grid label > span,
.member-app-shell .member-withdraw-form-grid label > span,
.member-app-shell .member-recharge-form-card label > span {
  font-size: 12px;
  font-weight: 500;
  color: #667085;
}

.member-app-shell .member-finance-form-grid input,
.member-app-shell .member-finance-form-grid textarea,
.member-app-shell .member-withdraw-form-grid input,
.member-app-shell .member-withdraw-form-grid textarea,
.member-app-shell .member-withdraw-form-grid .auth-code-row,
.member-app-shell .member-recharge-form-card input,
.member-app-shell .member-recharge-form-card textarea {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #fff;
  color: #1d2939;
  font-size: 13px;
  font-weight: 400;
}

.member-app-shell .member-finance-form-grid textarea,
.member-app-shell .member-withdraw-form-grid textarea,
.member-app-shell .member-recharge-form-card textarea {
  min-height: 76px;
  resize: vertical;
}

.member-app-shell .member-finance-form-grid__wide,
.member-app-shell .member-withdraw-form-grid .member-finance-form-grid__wide,
.member-app-shell .member-recharge-form-card .member-finance-form-grid__wide {
  grid-column: span 2;
}

.member-app-shell .member-withdraw-form-grid .auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 102px;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.member-app-shell .member-withdraw-form-grid .auth-code-button {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
}

.member-app-shell .member-finance-form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

.member-app-shell .member-finance-form-actions .member-primary-button {
  width: auto;
  min-width: 136px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.member-app-shell .member-primary-button.is-loading {
  cursor: wait;
  opacity: .84;
}

.member-app-shell .member-primary-button.is-loading::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  border-top-color: #fff;
  animation: memberButtonSpinFinal .72s linear infinite;
}

@keyframes memberButtonSpinFinal {
  to { transform: rotate(360deg); }
}

.member-app-shell .member-finance-balance-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5f8ff, #f8fafc 58%, #e8f7f4);
}

.member-app-shell .member-finance-balance-strip span {
  display: block;
  color: #667085;
  font-size: 12px;
}

.member-app-shell .member-finance-balance-strip strong {
  display: block;
  margin-top: 2px;
  color: #1d2939;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.member-app-shell .member-finance-balance-strip p {
  margin: 0;
  max-width: 420px;
  color: #667085;
  font-size: 12px;
  text-align: right;
}

.member-app-shell .member-withdraw-account-card {
  min-height: 118px;
}

.member-app-shell .member-withdraw-account-card__title {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 24px;
}

.member-app-shell .member-withdraw-account-card__title strong {
  min-width: 0;
  color: #1d2939;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-app-shell .member-withdraw-account-card__number,
.member-app-shell .member-withdraw-account-card__bank {
  color: #475467;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-app-shell .member-finance-empty,
.member-app-shell .member-recharge-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 34px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  text-align: center;
}

.member-app-shell .member-finance-empty strong,
.member-app-shell .member-recharge-empty strong {
  color: #1d2939;
  font-size: 16px;
  font-weight: 600;
}

.member-app-shell .member-finance-empty span,
.member-app-shell .member-recharge-empty span {
  color: #667085;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .member-app-shell .member-finance-form-grid,
  .member-app-shell .member-withdraw-form-grid,
  .member-app-shell .member-recharge-form-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .member-app-shell .member-finance-section-head,
  .member-app-shell .member-finance-balance-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-app-shell .member-finance-section-head small,
  .member-app-shell .member-finance-balance-strip p {
    max-width: none;
    text-align: left;
  }

  .member-app-shell .member-finance-account-grid,
  .member-app-shell .member-selected-account__details,
  .member-app-shell .member-finance-form-grid,
  .member-app-shell .member-withdraw-form-grid,
  .member-app-shell .member-recharge-form-card {
    grid-template-columns: 1fr;
  }

  .member-app-shell .member-finance-form-grid__wide,
  .member-app-shell .member-withdraw-form-grid .member-finance-form-grid__wide,
  .member-app-shell .member-recharge-form-card .member-finance-form-grid__wide {
    grid-column: auto;
  }
}

/* Recharge / withdraw high-fidelity form refinements */
.member-app-shell .member-finance-title-inline {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.member-app-shell .member-page-titlebar .member-finance-title-inline {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
}

.member-app-shell .member-page-titlebar .member-finance-title-inline span {
  grid-column: 1 / -1;
}

.member-app-shell .member-finance-title-inline h1 {
  margin: 0;
}

.member-app-shell .member-finance-title-inline span,
.member-app-shell .member-finance-title-inline strong {
  color: #1d2939;
  font-size: 15px;
  font-weight: 500;
}

.member-app-shell .member-page-titlebar .member-finance-title-inline span,
.member-app-shell .member-finance-title-inline small {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 400;
}

.member-app-shell .member-recharge-account-select-panel {
  position: relative;
  display: block;
  max-width: 760px;
}

.member-app-shell .member-recharge-account-select-panel[hidden] {
  display: none;
}

.member-app-shell .member-recharge-account-select {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 38px 9px 12px;
  border: 1px solid #d8e0ea;
  border-color: #2563eb;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  text-align: left;
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.member-app-shell .member-recharge-account-select::after {
  content: "⌄";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  color: #2563eb;
  font-size: 15px;
  line-height: 16px;
  text-align: center;
  transform: translateY(-50%);
}

.member-app-shell .member-recharge-account-select[aria-expanded="true"] {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.member-app-shell .member-recharge-account-menu {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  width: auto;
  max-height: 320px;
  overflow: auto;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(24, 39, 75, .12);
  z-index: 12;
}

.member-app-shell .member-recharge-account-menu[hidden] {
  display: none;
}

.member-app-shell .member-recharge-account-option {
  min-height: 48px;
  display: block;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #344054;
  cursor: pointer;
}

.member-app-shell .member-recharge-account-option:hover,
.member-app-shell .member-recharge-account-option.is-active {
  border-color: #b9ccfb;
  background: #f5f8ff;
}

.member-app-shell .member-recharge-account-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.member-app-shell .member-recharge-account-summary {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.member-app-shell .member-recharge-option-main {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #344054;
  font-size: 12px;
  line-height: 1.35;
}

.member-app-shell .member-recharge-option-main > span {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-app-shell .member-recharge-option-main > span:first-child {
  color: #1d2939;
  font-size: 13px;
  font-weight: 600;
}

.member-app-shell .member-recharge-option-main em {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e8f7f4;
  color: #0f766e;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.member-app-shell .member-recharge-option-main em:nth-of-type(2) {
  background: #fff7e6;
  color: #b7791f;
}

.member-app-shell .member-recharge-option-desc {
  color: #0f766e;
  font-size: 12px;
  line-height: 1.35;
}

.member-app-shell .member-selected-account__head--simple {
  margin-bottom: 10px;
}

.member-app-shell .member-selected-account__head--simple span {
  margin-bottom: 0;
  color: #1d2939;
  font-size: 15px;
  font-weight: 500;
}

.member-app-shell .member-selected-account__head--simple strong {
  display: none;
}

.member-app-shell .member-selected-account__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 18px;
  align-items: start;
}

.member-app-shell .member-selected-account__panel[hidden] {
  display: none;
}

.member-app-shell .member-selected-account__main {
  min-width: 0;
}

.member-app-shell .member-selected-account__details {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.member-app-shell .member-selected-account__details div {
  grid-template-columns: 72px minmax(0, 1fr);
}

.member-app-shell .member-finance-form-rows,
.member-app-shell .member-recharge-form-card,
.member-app-shell .member-withdraw-form-rows {
  display: grid;
  gap: 12px;
}

.member-app-shell .member-finance-form-rows {
  max-width: 640px;
}

.member-app-shell .member-recharge-form-card,
.member-app-shell .member-finance-apply-card {
  grid-template-columns: minmax(0, 560px);
  padding: 16px;
  display: grid;
}

.member-app-shell .member-finance-form-row {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0;
}

.member-app-shell .member-finance-form-row > span {
  padding-top: 9px;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

.member-app-shell .member-finance-form-row input,
.member-app-shell .member-finance-form-row textarea,
.member-app-shell .member-finance-form-row .auth-code-row {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #fff;
  color: #1d2939;
  font-size: 13px;
  font-weight: 400;
}

.member-app-shell .member-finance-form-row textarea {
  min-height: 74px;
  resize: none;
}

.member-app-shell .member-finance-form-row .auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 102px;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.member-app-shell .member-finance-form-row .auth-code-button {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
}

.member-app-shell .member-finance-form-actions {
  margin-top: 4px;
}

.member-app-shell .member-withdraw-account-card {
  min-height: 118px;
  display: grid;
  gap: 7px;
  padding: 11px 12px;
}

.member-app-shell .member-withdraw-account-card__title strong {
  font-weight: 600;
}

.member-app-shell .member-withdraw-account-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.member-app-shell .member-selected-account__qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  background: #fff;
}

.member-app-shell .member-selected-account__qr img {
  width: 92px;
  height: 92px;
}

.member-app-shell .member-selected-account__qr figcaption {
  color: #98a2b3;
  font-size: 12px;
}

.member-app-shell .member-modal__dialog,
.member-app-shell .site-dialog__panel,
.site-dialog__panel {
  width: min(92vw, 440px);
  max-width: calc(100vw - 32px);
}

@media (max-width: 760px) {
  .member-app-shell .member-page-titlebar .member-finance-title-inline {
    grid-template-columns: 1fr;
  }

  .member-app-shell .member-recharge-account-select,
  .member-app-shell .member-recharge-account-menu {
    width: 100%;
  }

  .member-app-shell .member-selected-account__details,
  .member-app-shell .member-recharge-form-card,
  .member-app-shell .member-finance-apply-card {
    grid-template-columns: 1fr;
  }

  .member-app-shell .member-finance-form-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .member-app-shell .member-finance-form-row > span {
    text-align: left;
  }
}

.member-app-shell .member-recharge-account-select-panel {
  max-width: 760px;
}

.member-app-shell .member-recharge-account-select {
  width: 100%;
  min-height: 44px;
  border-color: #2563eb;
}

.member-app-shell .member-recharge-account-menu {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
}

.member-app-shell .member-finance-form-rows {
  max-width: 640px;
}

.member-app-shell .member-finance-form-row {
  grid-template-columns: 98px minmax(0, 1fr);
  align-items: start;
}

.member-app-shell .member-withdraw-account-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.member-app-shell .member-withdraw-account-card {
  min-height: 118px;
  display: grid;
  gap: 7px;
}

.member-app-shell .member-finance-apply-card {
  display: grid;
  padding: 16px;
}

.member-app-shell .member-finance-workspace .member-recharge-layout,
.member-app-shell .member-finance-workspace .member-withdraw-application-layout {
  width: 100%;
  max-width: none;
  align-items: stretch;
}

/* Withdraw account editor: one field per row with horizontal labels. */
.member-app-shell .member-modal__dialog.member-withdraw-account-dialog {
  width: min(92vw, 560px);
}

.member-app-shell .member-withdraw-account-form {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.member-app-shell .member-withdraw-account-form > label:not(.member-withdraw-default-check) {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.member-app-shell .member-withdraw-account-form > label:not(.member-withdraw-default-check) > span {
  margin: 0;
}

.member-app-shell .member-withdraw-account-form > label:not(.member-withdraw-default-check) > input,
.member-app-shell .member-withdraw-account-form > label:not(.member-withdraw-default-check) > select {
  width: 100%;
  max-width: none;
}

.member-app-shell .member-withdraw-account-form .member-withdraw-bank-field.is-hidden,
.member-app-shell .member-withdraw-account-form .member-withdraw-bank-field[hidden] {
  display: none;
}

.member-app-shell .member-withdraw-account-form .member-withdraw-default-check,
.member-app-shell .member-withdraw-account-form > button[type="submit"] {
  margin-left: 116px;
}

@media (max-width: 600px) {
  .member-app-shell .member-withdraw-account-form > label:not(.member-withdraw-default-check) {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .member-app-shell .member-withdraw-account-form .member-withdraw-default-check,
  .member-app-shell .member-withdraw-account-form > button[type="submit"] {
    width: 100%;
    margin-left: 0;
  }
}

.member-app-shell .member-withdraw-application-layout.member-withdraw-application-layout {
  width: 100%;
  max-width: none;
  align-items: stretch;
}

.member-app-shell .member-finance-card {
  width: 100%;
  box-sizing: border-box;
}

.member-app-shell .member-finance-apply-card.member-finance-apply-card {
  display: grid;
  padding: 16px;
}

.member-app-shell .member-finance-apply-card .member-finance-section-head {
  margin-bottom: 14px;
}

.member-app-shell .member-finance-form-actions.member-finance-form-actions {
  margin-top: 14px;
  padding-left: 108px;
}

.member-app-shell .member-finance-form-actions {
  margin-top: 14px;
  padding-left: 108px;
}

.member-app-shell .member-recharge-channel-tabs.member-recharge-channel-tabs {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin: 0 0 14px;
  padding: 0 8px;
  border-bottom: 1px solid #d8e0ea;
  background: #f8fafc;
}

.member-app-shell .member-recharge-channel-tab.member-recharge-channel-tab {
  min-width: 112px;
  height: 38px;
  margin: 0 0 -1px;
  border: 1px solid transparent;
  border-bottom-color: transparent;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: #667085;
  box-shadow: none;
}

.member-app-shell .member-recharge-channel-tab.member-recharge-channel-tab:hover {
  color: #2563eb;
  background: #eef4ff;
}

.member-app-shell .member-recharge-channel-tab.member-recharge-channel-tab.is-active {
  border-color: #d8e0ea;
  border-bottom-color: #fff;
  background: #fff;
  color: #1d4ed8;
  box-shadow: none;
}

.member-app-shell .member-copy-full-button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
  cursor: copy;
}

.member-app-shell .member-copy-full-button:hover,
.member-app-shell .member-copy-full-button.is-copied {
  border-color: #b9ccfb;
  background: #eef4ff;
  color: #1d4ed8;
}

@media (max-width: 760px) {
  .member-app-shell .member-finance-form-actions.member-finance-form-actions,
  .member-app-shell .member-finance-form-actions {
    padding-left: 0;
  }
}
