/* CARD Membership Club — white and blue, personal, and editorial. */
:root {
  --blue: #2455f5;
  --blue-hover: #1947dd;
  --blue-soft: #edf2ff;
  --ink: #16243d;
  --muted: #7a8598;
  --line: #e9edf3;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --green: #169779;
  --radius: 24px;
  --shadow: none;
}
body { background: var(--canvas); color: var(--ink); }
::selection { background: #c7d1e7; color: #16243d; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline-color: #8896b5; }
input, select, textarea { border-color: #cdd2dd; border-radius: 14px; background: #ffffff; }
input::placeholder, textarea::placeholder { color: #969ba5; }
.sidebar { width: 218px; background: #ffffff; padding: 36px 18px 22px; }
.workspace { margin-left: 218px; }
.brand { gap: 9px; font-size: 18px; letter-spacing: -.055em; }
.brand-symbol { width: 34px; height: 34px; flex-basis: 34px; border-radius: 50%; background: #2455f5; font-family: var(--font-ui); font-size: 28px; font-weight: 400; letter-spacing: -.13em; padding-right: 3px; padding-bottom: 4px; }
.brand-light { font-weight: 500; }
.sidebar > .brand { margin-bottom: 47px; }
.sidebar-label { color: #7e8698; font-size: 9px; letter-spacing: .16em; }
.sidebar-nav { gap: 10px; }
.nav-item { color: #7b808a; border-radius: 30px; min-height: 48px; }
.sidebar .nav-item:hover { background: #e1e6f1; }
.nav-item.active, .sidebar .nav-item.active:hover { color: #ffffff; background: #2455f5; font-weight: 600; }
.sidebar-help { border: 1px solid #cfd6e5; border-radius: 19px; background: #e6ebf6; }
.sidebar-help > svg, .sidebar-help .link-btn, .sidebar-help strong { color: #516288; }
.sidebar-help p, .sidebar-copyright { color: #80899d; }
.topbar { height: 78px; background: var(--canvas); border-bottom-color: var(--line); padding: 0 42px; }
.breadcrumb, .breadcrumb strong { color: #737986; }
.desktop-breadcrumb > span { color: #a5adbd; }
.avatar { background: #dfe3ed; color: #5e6b88; }
.avatar.purple { background: #e3e6ee; color: #667087; }
.avatar.green { background: #e3e6ee; color: #616a7d; }
.avatar.amber { background: #d6dff2; color: #466098; }
.topbar .demo-chip { border: 1px solid #c9d0df; background: #f3f6fc; border-radius: 30px; color: #67738c; }
.topbar .demo-chip > span { background: #687eae; }
.icon-btn, .close { border-radius: 50%; color: #767c88; }
.icon-btn:hover, .close:hover { background: #dfe4ee; }
.main { max-width: 1270px; padding: 34px 42px 70px; }
.page-heading h1 { font-size: 28px; color: #16243d; }
.page-heading p { color: #787e8b; }
.page-heading .eyebrow { color: #6b7ca1; font-weight: 500; letter-spacing: .15em; }
.page-footer { max-width: 1270px; padding: 0 42px 28px; color: #8991a1; }
.panel, .balance-card, .wallet-panel, .stat-card { background: #ffffff; border-color: var(--line); }
.section-heading h2 { color: #343e55; font-size: 18px; font-weight: 650; }
.btn { border-radius: 30px; min-height: 46px; border-color: #c8d0e0; color: #5f6676; }
.btn:hover { background: #e0e6f3; }
.btn-primary { border-color: #2455f5; background: #2455f5; color: #ffffff; }
.btn-primary:hover { background: #1947dd; border-color: #1947dd; }
.btn-secondary { background: #edf2ff; border-color: #edf2ff; color: #2455f5; }
.btn-danger { background: #e4eaf6; border-color: #cfd9ef; color: #5a74ad; }
.link-btn { color: #637190; }
.link-btn:hover { color: #3a4357; }
.preview-notice { padding: 8px 0 14px; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; color: #768199; font-size: 12px; }
.badge, .status-tag { border-radius: 20px; background: #e1e5ef; color: #6f788b; padding: 5px 10px; }
.badge.green, .status-tag.active { background: #e1e5ee; color: #566178; }
.badge.amber, .status-tag.pending { background: #d9e1f2; color: #45609a; }
.badge.blue { background: #e3e6ee; color: #626e88; }
.badge.red, .status-tag.rejected { background: #e0e6f4; color: #5a74ac; }
.info-strip, .notice { border-radius: 17px; background: #dfe4ee; color: #66728c; }
.info-strip svg, .info-strip strong, .notice strong { color: #596d98; }
.stat-card { border-radius: 21px; }
.stat-label, .stat-note, .stat-value small { color: #7b8291; }
.filter-btn { border-radius: 24px; color: #747d8f; border-color: #cdd4e3; background: #ffffff; }
.filter-btn.active { color: #2455f5; border-color: #c6cddb; background: #edf2ff; }
.section-tabs { border-color: #cbd2e0; }
.tab { color: #818a9c; }
.tab.active { color: #2455f5; }
.action-icon { color: #6b768f; background: #dce3f1; border-radius: 50%; }
.activity-icon { color: #6e7990; background: #e5e8f0; border-radius: 50%; }
.activity-icon.team { color: #737a8a; background: #e5e8ee; }
.activity-icon.bonus { color: #526ba1; background: #dae2f3; }
.activity-icon.withdraw { color: #787e8c; background: #e3e6ee; }
.activity-item { border-color: #dde2ed; }
.activity-info strong { color: #484e5b; }
.activity-info small, .activity-value small { color: #878fa1; }
.currency-pill { color: #6a7a9b; background: #d8e0f0; border-radius: 20px; }
.balance-total { font-weight: 500; letter-spacing: -.055em; color: #354057; }
.balance-label, .balance-total .unit, .balance-stat > span { color: #727d94; }
.balance-label svg { color: #788196; }
.balance-stat strong { font-weight: 600; }
.balance-stat + .balance-stat { border-color: #e9edf3; }
.balance-pending { color: #6b7a9b !important; }
.balance-card > .btn { margin-top: 22px; }
.team-home-stats span, .team-home-top > div > span { color: #767f93; }
.team-home-stats strong { color: #596172; }
.invite-link { border-color: #ced6e8; background: #eaeef6; color: #617193; border-radius: 13px; }
.invite-link b { color: #4e5c79; }
.profile-head p, .profile-head div > span:not(.badge), .detail-grid dt { color: #808899; }
.detail-grid dd { color: #50596b; }
.settings-row svg, .settings-row small { color: #7e8aa3; }
.wallet-address, .copy-box { color: #697286; background: #ebeef6; border-color: #cfd7e8; border-radius: 14px; }
th { background: #e5eaf4; color: #78839a; }
td { color: #5f6a81; } td strong { color: #4b5262; }
.modal { border-radius: 28px; border-color: #cad3e5; background: #ffffff; box-shadow: 0 25px 100px #2e374b26; }
.modal::backdrop { background: #323c5259; }
.modal-head { padding-top: 22px; }
.modal-body > p, .field label { color: #656f85; }
.field small { color: #7e89a0; }
.toast { background: #444e63; border-radius: 24px; left: calc(50% + 109px); }
.result-box { color: #69748c; background: #e0e6f4; border-color: #c4d0e9; }
.result-box strong { color: #526388; }
.empty-state, .empty-state > svg { color: #97a0b3; }
.empty-state h3, .empty-state strong { color: #626e88; }
.auth-layout { background: var(--canvas); }
.auth-art { background: #d3dbed; color: #455068; }
.auth-art::before { border-color: #b9c3da47; }
.auth-art > p, .auth-art > div > p { color: #69799b; }
.auth-art .membership-card { box-shadow: 0 25px 50px #47598021; }
.auth-tabs { background: #d8deec; border-radius: 28px; }
.auth-tabs button { border-radius: 24px; color: #707e9c; }
.auth-tabs button.active { color: #2455f5; background: #ffffff; }
.auth-form > p { color: #7d88a0; }
.auth-demo, .demo-bar { border-color: var(--line); }
.demo-chip { background: #dde4f4; color: #607299; border-color: #c8d2e9; border-radius: 24px; }
.demo-chip:hover { border-color: #8a9abd; }
.product-card { border-radius: 26px; border-color: #c8d0e2; background: #ffffff; padding-top: 30px; }
.product-card.plus { background: #f2f6ff; border-color: #a9bdfa; }
.product-card.selected { box-shadow: 0 0 0 1px #2455f5; border-color: #2455f5; }
.product-card.black { background: #182740; border-color: #182740; color: #dfe6f4; }
.product-badge { background: #dee4f0; color: #6b7ca1; border-radius: 24px; font-size: 9px; }
.product-card.plus .product-badge { background: #b9c5e0; color: #485b85; }
.product-card.black .product-badge { background: #586070; color: #b7c0d3; }
.product-name { font-family: var(--font-ui); font-weight: 400; letter-spacing: -.035em; font-size: 29px; }
.product-card > p, .product-duration { color: #7b87a1; }
.product-card.plus > p, .product-card.plus .product-duration { color: #5e7096; }
.product-card.black > p, .product-card.black .product-duration { color: #b1b9c9; }
.product-price { font-weight: 500; }
.product-price > span { color: #7a87a3; }
.product-card.black .product-price > span { color: #b1b9c9; }
.benefit-list li { color: #6c778f; }
.product-card.plus .benefit-list li { color: #4e5f83; }
.product-card.black .benefit-list { border-color: #626a7a; }
.product-card.black .benefit-list li, .product-card.black .benefit-list li svg { color: #bcc6db; }
.product-card.black > .btn { background: #dce2ef; border-color: #dce2ef; color: #4d5567; }
/* The membership card resembles a personal club pass, not a payment console. */
.membership-card { min-height: 266px; border-radius: 22px; border: 1px solid #284673; background: #142c58; box-shadow: 0 18px 30px -22px #46588070; color: #ffffff; padding: 25px 28px 24px; }
.membership-card::before { width: 340px; height: 340px; top: -160px; right: -170px; transform: rotate(-25deg); border: 38px solid #c8d4ed9c; border-radius: 44%; background: transparent; }
.membership-card::after { display: none; }
.membership-card .brand { color: #ffffff; font-size: 16px; }
.membership-card .brand-symbol { width: 25px; height: 25px; flex-basis: 25px; border-radius: 50%; color: #ffffff; background: #4469b0; font-size: 22px; }
.card-orbit { top: 45px; right: -74px; width: 270px; height: 310px; border: 33px solid #c1ceeaad; transform: rotate(30deg) scaleX(.75); border-radius: 46%; }
.card-orbit > span { color: #8899bf; font-family: var(--font-ui); }
.card-tier { border-color: #8293b97a; color: #586580; border-radius: 25px; letter-spacing: .09em; padding: 5px 9px; }
.card-middle { margin-top: 30px; }
.card-kicker { color: #69799b; font-size: 9px; letter-spacing: .12em; }
.card-middle .card-plan { font-family: var(--font-ui); color: #454e62; font-size: 34px; font-weight: 400; letter-spacing: -.015em; }
.card-middle .card-number { color: #647599; font-size: 10px; letter-spacing: .1em; }
.card-bottom small, .card-plan small, .card-valid small { color: #6d7c9d; font-size: 9px; letter-spacing: .04em; }
.card-bottom strong, .card-valid { color: #535f79; font-size: 12px; }
.card-emblem { color: #6e7d9e; font-family: var(--font-ui); font-weight: 400; font-size: 33px; }
/* Home layout: editorial welcome, personal pass, and a separate rewards wallet. */
.club-masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #7c87a0; font-size: 10px; letter-spacing: .13em; margin: 8px 0 26px; }
.club-masthead > span:last-child { letter-spacing: .02em; }
.club-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 30px; align-items: center; margin-bottom: 35px; }
.club-intro { padding: 0 0 5px; }
.club-welcome { font-size: 14px; color: #697795; margin-bottom: 14px; }
.club-intro h1 { font-family: var(--font-ui); color: #16243d; font-size: clamp(42px, 4.7vw, 67px); line-height: 1.04; font-weight: 400; letter-spacing: -.065em; }
.club-intro h1 em { font-weight: 400; color: #2455f5; }
.club-intro p { margin-top: 22px; color: #76829b; font-size: 13px; line-height: 1.8; }
.club-intro > .btn { margin-top: 23px; min-height: 43px; padding: 12px 19px; font-size: 12px; }
.club-signature { display: block; margin-top: 22px; font-family: var(--font-ui); font-size: 14px; font-style: italic; color: #8392b2; letter-spacing: -.015em; }
.club-card-wrap { min-width: 0; padding-top: 9px; }
.club-card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; color: #7c8cad; font-size: 10px; letter-spacing: .13em; }
.club-card-caption { display: flex; align-items: center; justify-content: space-between; color: #75829f; font-size: 10px; letter-spacing: .1em; margin-top: 5px; padding-left: 5px; }
.club-card-caption .link-btn { font-size: 11px; letter-spacing: -.025em; }
.club-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 17px 0 21px; margin-bottom: 30px; border-top: 1px solid #cad1e1; border-bottom: 1px solid #cad1e1; }
.club-shortcut { display: flex; align-items: center; gap: 11px; padding: 4px 22px; min-height: 52px; background: transparent; color: #606a80; font-size: 13px; text-align: left; }
.club-shortcut:first-child { padding-left: 0; }
.club-shortcut:last-child { padding-right: 0; }
.club-shortcut + .club-shortcut { border-left: 1px solid #ccd4e5; }
.club-shortcut-icon { display: flex; align-items: center; justify-content: center; height: 42px; width: 42px; flex: 0 0 42px; border-radius: 50%; background: #d5ddee; color: #63759d; }
.club-shortcut:nth-child(2) .club-shortcut-icon { background: #dee2ea; color: #6a7895; }
.club-shortcut:nth-child(3) .club-shortcut-icon { background: #dbdfe7; color: #6b7791; }
.club-shortcut:nth-child(4) .club-shortcut-icon { background: #cad5ed; color: #546ea5; }
.club-shortcut > svg { margin-left: auto; width: 16px; height: 16px; color: #808daa; }
.club-shortcut:hover .club-shortcut-icon { background: #aab8d5; color: #4c5872; }
.club-content-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
.club-main-column, .club-side-column { display: flex; flex-direction: column; min-width: 0; gap: 25px; }
.club-kicker { display: block; font-family: var(--font-ui); font-size: 15px; font-style: italic; font-weight: 400; letter-spacing: -.02em; color: #7885a2; margin-bottom: 8px; }
.club-benefits { padding: 31px 30px 26px; border: 1px solid #e0e8fc; border-radius: 25px; background: #edf2ff; overflow: hidden; }
.club-benefits .club-kicker { color: #60729a; }
.club-benefits-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.club-benefits h2 { font-size: 25px; line-height: 1.5; font-weight: 500; color: #46536f; letter-spacing: -.06em; }
.club-flower { font-family: var(--font-ui); color: #6e86b9; font-size: 100px; line-height: 1; font-weight: 400; transform: rotate(11deg); }
.club-benefits p { color: #6b7ca0; font-size: 13px; line-height: 1.8; margin-top: 10px; }
.club-benefits .link-btn { color: #455984; margin-top: 14px; padding-left: 0; }
.club-tier-line { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding-top: 17px; border-top: 1px solid #afbcd9; color: #5b6e98; font-size: 9px; letter-spacing: .13em; }
.club-tier-line i { flex: 1; height: 1px; background: #b6c2db; }
.club-activity > .section-heading { align-items: flex-end; margin-top: 3px; }
.club-activity h2 { font-size: 18px; }
.club-activity .panel { padding: 22px 24px; }
.club-content-grid .balance-card { padding: 25px; }
.club-wallet-symbol { width: 37px; height: 37px; border-radius: 50%; background: #dde4f4; display: grid; place-items: center; }
.club-wallet-symbol svg { height: 18px; width: 18px; color: #6477a1; }
.club-content-grid .balance-total { margin-top: 10px; font-family: var(--font-ui); font-size: 42px; letter-spacing: -.04em; }
.club-content-grid .balance-total .unit { font-family: var(--font-ui); font-size: 12px; }
.club-balance-caption { margin: 5px 0 24px !important; font-size: 12px !important; color: #838faa !important; }
.club-content-grid .balance-foot { padding-top: 16px; }
.club-content-grid .balance-stat strong { font-size: 15px; }
.club-content-grid .balance-stat > span { font-size: 11px; }
.club-content-grid .team-home { margin-top: 0; padding: 24px; }
.club-content-grid .team-home .section-heading { margin-bottom: 24px; }
.club-content-grid .team-home h2 { font-size: 17px; }
.club-content-grid .team-home-top { justify-content: space-between; }
.club-content-grid .team-home-top > div:last-child { text-align: right; }
.club-member-dots { display: flex; padding-left: 0; }
.club-member-dots span { display: grid; place-items: center; font-family: var(--font-ui); font-size: 20px; height: 45px; width: 45px; border-radius: 50%; border: 3px solid #ffffff; background: #bdc6db; color: #ffffff; }
.club-member-dots span + span { margin-left: -13px; }
.club-member-dots span:nth-child(2) { background: #acb4c5; }
.club-member-dots span:nth-child(3) { background: #97aad2; font-size: 16px; }
.club-help { width: 100%; min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 22px; background: transparent; border: 1px solid #c8d0e2; border-radius: 23px; color: #7885a0; text-align: left; }
.club-help > span { display: flex; align-items: center; gap: 15px; }
.club-help > span > span { font-size: 11px; }
.club-help strong { display: block; color: #5d6b88; font-size: 13px; font-weight: 500; margin-top: 2px; }
.club-help > svg { width: 17px; height: 17px; }
/* Existing organization layout keeps exact geometry; only its visual language changes. */
.org-panel { --org-color: #5a6783; --org-soft: #e9ecf4; --org-line: #98a3bb; --org-border: #d7dce7; --org-ink: #4b5262; --org-muted: #838b9b; border-radius: 24px; background: #ffffff; }
.org-view-switch { border-radius: 20px; background: #dee3ee; }
.org-view-switch button { border-radius: 17px; color: #838da4; }
.org-view-switch button.active { background: #ffffff; border-color: #c9d2e5; }
.org-summary { background: #ffffff; border-radius: 18px; }
.org-viewport { background-color: #eaeef6; background-image: radial-gradient(circle, #c6cede 1px, transparent 1px); border-color: #ced5e3; scrollbar-color: #abb4c9 #e3e8f3; }
.org-tools button, .org-controls button { border-color: #ced5e5; color: #80899d; background: #ffffff; border-radius: 20px; }
.org-breadcrumb button, .org-zoom-label, .org-depth { color: #7d869a; }
.org-helper, .org-legend, .org-chart-caption { color: #828ba0; }
.org-chart-caption strong { color: #6e7686; }
.org-depth select { border-color: #ced5e5; }
article.org-node { border-color: #d1d6e1; background: #ffffff; box-shadow: 0 3px 8px #4f576809; }
.org-node-bottom { background: #ecf0f7; border-top-color: #d7deec; }
.org-position, .org-level, .org-node-code, .org-node-name small, .org-volume, .org-collapse, .org-leaf { color: #8991a2; }
.org-plan { color: #737e95; background: #e4e8f0; }
.org-node.is-inactive { background: #e8ecf4; }
.org-chart-shell.is-expanded { background: #ffffff; border-color: #c9d1e3; }
@media (min-width: 1600px) { .club-intro h1 { font-size: 72px; } }
@media (max-width: 1150px) and (min-width: 768px) {
  .sidebar { width: 190px; padding-left: 13px; padding-right: 13px; }
  .workspace { margin-left: 190px; }
  .sidebar > .brand { font-size: 16px; gap: 7px; }
  .sidebar-label { font-size: 8px; }
  .main { padding-left: 28px; padding-right: 28px; }
  .topbar { padding-left: 28px; padding-right: 28px; }
  .club-hero { gap: 20px; }
  .club-intro h1 { font-size: 46px; }
  .club-signature { display: none; }
  .club-shortcut { padding-left: 12px; padding-right: 12px; gap: 8px; font-size: 12px; }
  .club-shortcut > svg { display: none; }
  .club-shortcut-icon { width: 35px; height: 35px; flex-basis: 35px; }
  .club-content-grid { gap: 19px; grid-template-columns: 1fr 1fr; }
  .club-benefits { padding: 25px 22px; }
  .club-flower { font-size: 63px; }
  .club-benefits h2 { font-size: 22px; }
  .club-content-grid .balance-card, .club-content-grid .team-home, .club-activity .panel { padding: 22px; }
  .club-content-grid .balance-total { font-size: 34px; }
  .club-card-wrap .membership-card { padding: 23px; }
  .club-card-wrap .membership-card .brand { font-size: 13px; }
  .club-card-wrap .card-middle .card-plan { font-size: 28px; }
  .card-emblem { display: none; }
}
@media (max-width: 767px) {
  .sidebar { display: none; }
  .workspace { margin-left: 0; }
  .topbar { height: 73px; padding: 0 22px; position: sticky; top: 0; z-index: 30; background: #f5f7fbf2; backdrop-filter: blur(14px); }
  .topbar .brand { font-size: 15px; letter-spacing: -.055em; }
  .topbar .brand-symbol { border-radius: 50%; width: 29px; height: 29px; flex-basis: 29px; font-size: 25px; }
  .topbar-actions .avatar { width: 31px; height: 31px; font-size: 12px; }
  .topbar .demo-chip { border: 0; background: transparent; font-size: 10px; padding-left: 7px; padding-right: 7px; }
  .main { padding: 20px 22px calc(114px + env(safe-area-inset-bottom, 0px)); }
  .preview-notice { font-size: 10px; line-height: 1.5; padding: 0 0 13px; margin-bottom: 19px; }
  .page-heading h1 { font-size: 26px; }
  .page-heading .eyebrow { font-size: 10px !important; letter-spacing: .12em; }
  .panel, .balance-card, .wallet-panel { border-radius: 23px; }
  .bottom-nav { left: 13px; right: 13px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); height: 69px; padding: 6px 5px; background: #fffffff5; border: 1px solid #cad2e3; border-radius: 26px; box-shadow: 0 7px 30px #35436013; }
  .bottom-nav .nav-item { border-radius: 21px; min-height: 54px; padding: 5px 1px; gap: 4px; color: #808aa0; }
  .bottom-nav .nav-item, .bottom-nav .nav-item span { font-size: 11px !important; }
  .bottom-nav .nav-item.active { color: #4e5b77; background: #edf2ff; }
  .bottom-nav .nav-item.active::before { display: none; }
  .bottom-nav .nav-item svg { width: 21px; height: 21px; }
  .toast { left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .club-masthead { margin: 1px 0 24px; font-size: 9px; letter-spacing: .12em; }
  .club-masthead > span:last-child { font-size: 10px; }
  .club-hero { display: flex; flex-direction: column; align-items: stretch; gap: 29px; margin-bottom: 18px; }
  .club-intro { position: relative; padding-bottom: 0; }
  .club-welcome { font-size: 13px; margin-bottom: 12px; color: #6b7895; }
  .club-intro h1 { font-size: clamp(47px, 13vw, 62px); line-height: 1.01; letter-spacing: -.065em; }
  .club-intro p { font-size: 12px; margin-top: 18px; line-height: 1.8; }
  .club-intro > .btn { display: none; }
  .club-signature { position: absolute; right: 0; bottom: 1px; font-size: 13px; max-width: 104px; line-height: 1.3; text-align: right; margin-top: 0; }
  .club-card-wrap { padding-top: 0; }
  .club-card-heading { margin-bottom: 11px; font-size: 9px; }
  .club-card-heading .badge { font-size: 10px !important; padding: 4px 8px; }
  .membership-card { min-height: 237px !important; border-radius: 21px; padding: 24px; }
  .membership-card .brand { font-size: 14px; gap: 7px; }
  .membership-card .brand-symbol { flex-basis: 24px; width: 24px; height: 24px; font-size: 21px; }
  .card-tier { font-size: 10px !important; padding: 4px 8px; }
  .card-kicker { font-size: 9px !important; letter-spacing: .035em; }
  .card-middle { margin-top: 23px; }
  .card-middle .card-plan { font-size: 30px; }
  .card-middle .card-number { font-size: 10px !important; margin-top: 7px; }
  .card-bottom { margin-top: 24px; }
  .card-bottom small { font-size: 9px !important; }
  .card-bottom strong { font-size: 12px !important; }
  .card-valid { text-align: right; }
  .card-emblem { display: none; }
  .club-card-caption { font-size: 9px; margin-top: 3px; }
  .club-card-caption .link-btn { font-size: 11px !important; }
  .club-shortcuts { gap: 1px; padding: 18px 0; margin-bottom: 25px; }
  .club-shortcut { flex-direction: column; justify-content: center; gap: 9px; padding: 0 2px; text-align: center; font-size: 12px; min-height: 68px; }
  .club-shortcut + .club-shortcut { border: 0; }
  .club-shortcut-icon { width: 44px; height: 44px; flex-basis: 44px; }
  .club-shortcut-icon svg { width: 21px; height: 21px; }
  .club-shortcut > svg { display: none; }
  .club-content-grid { display: flex; flex-direction: column; gap: 25px; }
  .club-main-column, .club-side-column { display: contents; }
  .club-benefits { order: 1; padding: 27px 24px 24px; }
  .club-content-grid .balance-card { order: 2; padding: 25px 24px; }
  .club-content-grid .team-home { order: 4; padding: 24px; }
  .club-activity { order: 3; }
  .club-help { order: 5; }
  .club-benefits h2 { font-size: 25px; }
  .club-benefits p { font-size: 12px; }
  .club-flower { font-size: 86px; }
  .club-benefits .link-btn { font-size: 13px !important; }
  .club-tier-line { font-size: 9px; }
  .club-kicker { font-size: 15px; }
  .club-content-grid .balance-total { font-size: 43px; }
  .club-content-grid .balance-stat > span { font-size: 12px; }
  .club-content-grid .balance-stat strong { font-size: 16px; }
  .club-content-grid .team-home .section-heading h2 { font-size: 18px; }
  .club-activity .panel { padding: 23px 22px; }
  .club-activity .activity-info strong, .club-activity .activity-value { font-size: 13px !important; }
  .club-activity .activity-info small { font-size: 11px !important; }
  .club-activity .activity-icon { flex-basis: 35px; width: 35px; height: 35px; }
  .club-activity > .section-heading { align-items: flex-end; }
  .club-activity > .section-heading .link-btn { font-size: 12px !important; }
  .product-name { font-size: 32px; }
  .product-card { border-radius: 25px; }
  .product-card .product-badge { font-size: 10px !important; }
  .product-symbol { color: #697796; background: #d4ddf1; border-radius: 50%; }
  .product-card.plus .product-symbol { color: #586d9b; background: #bbc7e2; }
  .product-card.black .product-symbol { color: #bdc8df; background: #525c72; }
  .auth-panel { background: #f5f7fb; }
  .org-panel { border-radius: 21px; }
  .main:has(.org-panel) { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 374px) {
  .main { padding-left: 18px; padding-right: 18px; }
  .topbar { padding-left: 18px; padding-right: 12px; }
  .topbar .brand { font-size: 14px; }
  .club-intro h1 { font-size: 47px; }
  .club-signature { display: none; }
  .club-card-wrap .membership-card { padding: 21px; }
  .membership-card .brand { font-size: 13px; }
  .club-benefits { padding-left: 22px; padding-right: 22px; }
  .club-flower { font-size: 64px; }
  .club-benefits h2 { font-size: 23px; }
  .club-content-grid .balance-total { font-size: 39px; }
}
/* Secondary copy remains legible on the light surfaces. */
.club-masthead, .club-card-heading, .club-card-caption, .club-intro p,
.club-signature, .club-kicker, .club-benefits p, .club-tier-line,
.club-help, .preview-notice { color: #6b7a91; }
.card-kicker, .card-middle .card-number, .card-bottom small { color: #505f80; }
.card-tier { color: #515d77; }
.club-content-grid .club-member-dots span { display: grid; color: #ffffff; font-size: 20px; }
.club-content-grid .club-member-dots span:nth-child(3) { font-size: 16px; }
.balance-label, .balance-total .unit, .balance-stat > span,
.activity-info small, .activity-value small, .detail-grid dt,
.profile-head p, .settings-row small { color: #6b758a; }
.club-balance-caption { color: #6b758a !important; }
.product-card > p, .product-duration { color: #66728c; }
.product-card.plus > p, .product-card.plus .product-duration { color: #4f6085; }
.product-card.black > p, .product-card.black .product-duration { color: #bbc4d6; }
.auth-art .eyebrow, .auth-form > .eyebrow, .auth-art > span, .auth-demo > span { color: #657494; }
.auth-brand-mark { font-family: var(--font-ui); color: #8797b930; font-style: italic; }
.help-steps article > span, .invite-modal-icon { background: #dce2f0; color: #657596; border-radius: 50%; }
.help-steps h3, .copy-box strong, .result-box h3 { color: #536386; }
.help-steps p, .consent { color: #6e7a94; }
.result-box .amount { color: #2455f5; }
.wallet-icon { color: #6b7a9a; background: #d8e0f0; border-radius: 50%; }
.primary-stat { background: #edf2ff; border-color: #dce5ff; }
.primary-stat .stat-value, .primary-stat .stat-label { color: #2455f5; }
@media (min-width: 768px) and (max-width: 900px) {
  .club-hero { grid-template-columns: 1fr; gap: 26px; }
  .club-intro h1 { font-size: 62px; }
  .club-intro > .btn { display: none; }
  .club-content-grid { grid-template-columns: 1fr; }
  .club-card-wrap .membership-card { min-height: 260px; }
  .club-card-wrap .membership-card .brand { font-size: 16px; }
  .club-card-wrap .card-middle .card-plan { font-size: 34px; }
  .club-shortcut { flex-direction: column; text-align: center; font-size: 12px; }
  .club-shortcut + .club-shortcut { border: 0; }
}
/* Preserve the established CARD white and blue identity. */
:root { --blue: #2455f5; --blue-hover: #1947dd; --blue-soft: #edf2ff; --ink: #16243d; --muted: #7a8598; --line: #e9edf3; --surface: #fff; --canvas: #f5f7fb; --green: #169779; }
body { background: var(--canvas); }
.sidebar, .topbar, .panel, .balance-card, .wallet-panel { background: #fff; }
.brand-symbol, .nav-item.active, .sidebar .nav-item.active:hover { background: #2455f5; color: #fff; }
.club-intro h1 { color: #16243d; }
.club-intro h1 em { color: #2455f5; }
.club-welcome { color: #526b91; }
.club-intro p, .club-masthead, .club-signature, .club-card-heading, .club-card-caption, .club-kicker { color: #75859c; }
.club-benefits { background: #edf2ff; border-color: #dce6ff; }
.club-benefits h2 { color: #29447d; }
.club-benefits p, .club-benefits .club-kicker { color: #6f83aa; }
.club-benefits .link-btn { color: #2455f5; }
.club-flower { color: #91afff; }
.club-tier-line { color: #637baa; border-color: #cad8f8; }
.club-tier-line i { background: #cad8f8; }
.club-shortcut { color: #536786; }
.club-shortcut-icon { background: #e7eeff; color: #2455f5; }
.club-shortcut:nth-child(2) .club-shortcut-icon { background: #eff3ff; color: #6283db; }
.club-shortcut:nth-child(3) .club-shortcut-icon { background: #e8f2fb; color: #518bb7; }
.club-shortcut:nth-child(4) .club-shortcut-icon { background: #ecf0fb; color: #5a76bf; }
.club-shortcut:hover .club-shortcut-icon { background: #d5e1ff; color: #1947dd; }
.club-content-grid .club-member-dots span { background: #718ed1; color: #fff; }
.club-content-grid .club-member-dots span:nth-child(2) { background: #99b5df; }
.club-content-grid .club-member-dots span:nth-child(3) { background: #526eb5; }
.membership-card { background: linear-gradient(115deg, #163366 0%, #10234c 68%, #142d5a 100%); border-color: #284673; color: #fff; box-shadow: 0 18px 30px -22px #18357185; }
.membership-card::before { border-color: #527ccc1f; }
.card-orbit { border-color: #81a4e01a; }
.card-orbit > span { color: #789cdb26; }
.membership-card .brand { color: #fff; }
.membership-card .brand-symbol { color: #fff; background: #ffffff21; }
.card-tier { color: #d6e2f6; border-color: #a1b9e052; }
.card-kicker, .card-middle .card-number { color: #a7bfe7; }
.card-middle .card-plan { color: #fff; }
.card-bottom small, .card-plan small, .card-valid small { color: #99b5df; }
.card-bottom strong, .card-valid { color: #e4edfc; }
.card-emblem { color: #a6bfe7; }
.product-card { background: #fff; border-color: #e1e6ef; }
.product-card.plus { background: linear-gradient(180deg, #f0f5ff, #fff 60%); border-color: #a9bdfa; }
.product-card.selected { box-shadow: 0 0 0 1px #2455f5; border-color: #2455f5; }
.product-card.black { background: #182740; border-color: #273750; color: #f9faff; }
.product-card.black .product-badge { color: #d5dded; background: #2a3a56; }
.product-card.black > p, .product-card.black .product-duration { color: #becce1; }
.product-card.black .benefit-list { border-color: #334059; }
.product-card.black .benefit-list li, .product-card.black .benefit-list li svg { color: #c0d0ea; }
.product-card.black > .btn { color: #1b2c4b; background: #fff; border-color: #fff; }
.product-card.black .product-symbol { color: #c8d3e7; background: #263953; }
.auth-art { background: #142b52; color: #fff; }
.auth-art h1 { color: #fff; }
.auth-art > p, .auth-art > div > p { color: #a6bbda; }
.auth-art .eyebrow, .auth-art > span { color: #8caade; }
.auth-brand-mark { color: #99b8f112; }
.org-panel { --org-color: #2455f5; --org-soft: #edf3ff; --org-line: #91a9e4; --org-border: #dce5f4; --org-ink: #243956; --org-muted: #71849d; }
.org-viewport { background-color: #f8fafd; background-image: radial-gradient(circle, #dce4ef 1px, transparent 1px); border-color: #e1e8f3; }
@media(max-width: 767px) {
 .topbar { background: #ffffffed; }
 .bottom-nav { background: #fffffff5; border-color: #e2e8f4; box-shadow: 0 7px 30px #233b7313; }
 .bottom-nav .nav-item.active { color: #2455f5; background: #edf2ff; }
 .auth-panel { background: #fff; }
}

/* Confirmed product tiers, role views and the separate point balance. */
.membership-options { padding: 18px 22px; border: 1px solid #e1e8f4; border-radius: 19px; background: #fff; }
.membership-options .filter-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; overflow: visible; padding: 0; }
.membership-options .filter-btn { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; min-height: 58px; padding: 14px 16px; border: 2px solid #a8b6ce; border-radius: 12px; background: #fff; color: #344b6b; font-size: 15px; font-weight: 650; line-height: 1.5; white-space: normal; }
.membership-options .filter-btn::before { content: ""; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; border: 2px solid #8d9eb8; border-radius: 50%; color: inherit; font-size: 12px; line-height: 1; }
.membership-options .filter-btn:hover { border-color: #2455f5; background: #f2f6ff; color: #183fc0; }
.membership-options .filter-btn.active { border-color: #2455f5; background: #2455f5; color: #fff; box-shadow: 0 4px 12px #2455f529; font-weight: 700; }
.membership-options .filter-btn.active::before { content: "✓"; border-color: #fff; background: #fff; color: #2455f5; }
.membership-options .filter-btn:focus-visible { outline: 3px solid #7e9cff; outline-offset: 4px; }
.membership-options p { color: #66758e; font-size: 13px; line-height: 1.7; }
.product-card.gold { border-color: #b3c6f3; background: linear-gradient(180deg, #f0f5ff, #fff 62%); }
.product-card.platinum { background: linear-gradient(180deg, #e9f0ff, #fff 65%); border-color: #8eacef; }
.product-card .product-price { line-height: 1.35; }
.price-breakdown { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 12px 0 2px; color: #66758e; font-size: 12px; }
.product-card button:disabled { opacity: .68; cursor: default; }
.points-card .balance-total { color: #2455f5; }
.points-card .points-caption { margin: 13px 0 0; font-size: 11px; line-height: 1.7; color: #6d7b92; }
.points-page-grid { display: grid; grid-template-columns: minmax(250px,.9fr) minmax(0,1.4fr); gap: 24px; margin: 24px 0; }
.points-guide h2 { margin-top: 18px; }
.points-guide p { line-height: 1.85; color: #66758e; font-size: 14px; margin-top: 15px; }
.stat-value.status-value { font-size: clamp(16px, 2vw, 23px); line-height: 1.5; }
.marketing-panel, .center-panel { margin-top: 22px; }
.marketing-panel table th { text-align: left; white-space: nowrap; }
.marketing-panel table td { white-space: nowrap; }
.preview-welcome > .btn { margin: 8px; }
@media (max-width: 767px) {
 .points-page-grid { grid-template-columns: 1fr; gap: 18px; }
 .membership-options { padding: 17px; }
 .membership-options .filter-row { gap: 8px; }
 .membership-options .filter-btn { min-height: 58px; gap: 6px; padding: 13px 8px; font-size: 13px; white-space: normal; }
 .membership-options .filter-btn::before { flex-basis: 18px; width: 18px; height: 18px; }
 .club-tier-line { font-size: 10px; }
 .product-card .product-price { font-size: 34px; }
 .preview-welcome > .btn { display: flex; margin: 10px auto; }
}

.membership-connection-panel { margin-bottom:24px; }
.membership-connection-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.membership-connection-grid > div { padding:20px; border:1px solid #e6ecf5; border-radius:16px; min-width:0; }
.membership-connection-grid h3 { font-size:15px; margin:0 0 15px; }
.membership-connection-grid dl { display:grid; grid-template-columns:minmax(100px,auto) 1fr; gap:10px 14px; font-size:13px; margin:0; line-height:1.6; }
.membership-connection-grid dt { color:#718096; }.membership-connection-grid dd { margin:0; text-align:right; overflow-wrap:anywhere; }
.membership-connection-grid p { font-size:12px; color:#718096; line-height:1.8; margin:16px 0 0; }
@media(max-width:767px) { .membership-connection-grid { grid-template-columns:1fr; gap:12px; }.membership-connection-grid > div { padding:16px; }.membership-connection-panel .section-heading { flex-wrap:wrap; gap:12px; } }
