:root {
  --ink: #302c28;
  --muted: #807a72;
  --line: #eeeae3;
  --paper: #f4f3f0;
  --orange: #f57826;
  --amber: #ffc900;
  --soft: #fff7e7;
  --red: #b73d35;
  --honey: linear-gradient(110deg, #f37232 0%, #ff9e16 47%, #ffd300 100%);
  font-family: "Segoe UI", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid #bd630c; }
button { cursor: pointer; border: 0; }
button:disabled { cursor: default; opacity: .5; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { display: block; width: 100%; height: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }
h1 { font-size: 31px; letter-spacing: -1.5px; line-height: 1.4; }
h2 { font-size: 24px; letter-spacing: -.8px; }
h3 { font-size: 16px; letter-spacing: -.4px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 25px; font-weight: 800; letter-spacing: -1.2px; white-space: nowrap; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-light { font-weight: 400; }
.eyebrow { display: block; font-size: 10px; font-weight: 750; letter-spacing: 2px; color: #a26526; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.9; }
/* Login: flowing honey colors, soft gray canvas and pill-shaped fields. */
.login-layout { display: grid; grid-template-columns: 48% 52%; min-height: 100vh; min-height: 100svh; }
.welcome { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 38px 8%; background: linear-gradient(145deg, #ffd936, #ffbf09 49%, #ff941c); }
.welcome::before, .welcome::after { content: ""; position: absolute; pointer-events: none; }
.welcome::before { width: 760px; height: 760px; border: 1px solid #fff5b66b; border-radius: 50%; top: 240px; left: -230px; box-shadow: 0 0 0 75px #fff8b71a, 0 0 0 150px #fff8b712; }
.welcome::after { inset: 0; opacity: .24; background-image: repeating-linear-gradient(60deg, transparent 0 55px, #fff5bd 56px 57px, transparent 58px 112px), repeating-linear-gradient(-60deg, transparent 0 55px, #fff5bd 56px 57px, transparent 58px 112px); mask-image: linear-gradient(transparent 25%, #000); }
.welcome .brand, .welcome-copy, .welcome-foot { position: relative; z-index: 1; }
.welcome .brand { font-size: 26px; }
.welcome-copy { margin-top: 65px; }
.welcome-copy .eyebrow { color: #78500c; }
.welcome h1 { font-size: clamp(35px, 3.4vw, 55px); margin: 22px 0; line-height: 1.3; letter-spacing: -2.5px; }
.welcome-copy p { color: #715022; font-size: 14px; line-height: 1.9; }
.welcome-foot { margin-top: auto; padding-top: 340px; font-size: 9px; font-weight: 650; letter-spacing: 2.1px; color: #865214; }
.bee-art { position: absolute; z-index: 1; right: 12%; bottom: 75px; width: 260px; height: 260px; }
.bee-medallion { position: absolute; inset: 24px; display: grid; place-items: center; border: 9px solid #ffdf6b; border-radius: 50%; background: linear-gradient(140deg, #fff6c7, #ffe179); box-shadow: inset 0 0 0 2px #efb239, 0 18px 30px #c6771940, 0 0 0 15px #ffda4d; transform: rotate(-15deg); }
.bee-medallion svg { width: 150px; height: 150px; filter: drop-shadow(0 6px 1px #db9b322b); }
.honey-orbit { position: absolute; border: 1px solid #fff1a3a6; border-radius: 50%; }
.orbit-one { inset: -20px; }
.orbit-two { inset: -55px; }
.bee-spark { position: absolute; color: #fff8cb; font-size: 30px; }
.spark-one { top: 7px; right: 4px; }
.spark-two { bottom: 13px; left: -36px; font-size: 20px; }
.art-caption { position: absolute; left: -85px; bottom: 9px; color: #96571a; font-size: 8px; letter-spacing: 2px; transform: rotate(-90deg); transform-origin: left; }
.login-main { position: relative; display: grid; place-items: center; overflow: hidden; padding: 40px; background: #f2f1ee; }
.login-main::after { content: ""; position: absolute; width: 540px; height: 330px; border: 35px solid #f6d48860; border-radius: 50%; bottom: -240px; right: -150px; transform: rotate(-28deg); pointer-events: none; }
.login-card { position: relative; z-index: 1; width: 100%; max-width: 370px; text-align: center; }
.brand-switch { display: inline-flex; border: 2px solid var(--orange); border-radius: 30px; background: var(--orange); font-size: 12px; margin-bottom: 30px; }
.brand-switch span { padding: 7px 16px; color: #fff; }
.brand-switch span:last-child { background: #fff; border-radius: 20px; color: #736b62; }
.login-bee { width: 85px; height: 85px; margin: 0 auto 14px; }
.login-card .eyebrow { font-size: 9px; letter-spacing: 2.3px; }
.login-card h2 { font-size: 34px; margin: 12px 0 9px; letter-spacing: -1.5px; }
.login-card .muted { font-size: 12px; }
.login-card form { margin-top: 30px; text-align: left; }
label { display: block; font-size: 12px; font-weight: 650; margin: 19px 0 9px; }
input, select, textarea { padding: 13px 14px; max-width: 100%; border: 1px solid #e6dfd5; border-radius: 10px; background: #fff; color: var(--ink); }
input { width: 100%; }
input::placeholder, textarea::placeholder { color: #aaa39b; }
input:focus, select:focus, textarea:focus { outline: 2px solid #ffb544; border-color: transparent; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; top: 17px; left: 20px; width: 20px; height: 20px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.input-wrap input { height: 55px; border: 1px solid #fff; border-radius: 30px; padding: 15px 20px 15px 54px; font-size: 12px; box-shadow: 0 3px 12px #55482503; }
.primary, .secondary { padding: 11px 17px; border-radius: 12px; font-weight: 650; font-size: 12px; }
.primary { background: var(--honey); color: #442900; box-shadow: 0 5px 14px #f9a3201c; }
.primary:hover { filter: brightness(1.035); }
.primary span { float: right; }
.login-card .primary { width: 100%; margin-top: 27px; padding: 17px 24px; border-radius: 30px; font-size: 14px; }
.secondary { border: 1px solid #e6dfd6; background: #fff; color: #696056; }
.secondary:hover:not(:disabled) { background: var(--soft); border-color: #f4c36a; }
.text-button { background: none; color: #9f571d; font-size: 11px; text-decoration: none; }
.text-button:hover { text-decoration: underline; }
.applicant-simple { max-width: 640px; }
.applicant-card { display: grid; gap: 14px; }
.applicant-card p, .applicant-card h2 { margin: 0; }
.applicant-card .error:empty, .applicant-card [role="status"]:empty { display: none; }
.applicant-status p, .applicant-disclosure > p { margin-top: 8px; }
.applicant-admission-fee { font-size: 1.125em; font-weight: 800; }
.admission-refund-title { margin: 16px 0 0; font-size: 18px; }
.admission-refund-emphasis { color: #9a4109; font-weight: 800; }
.applicant-address { overflow-wrap: anywhere; }
.applicant-disclosure summary { cursor: pointer; padding: 10px 0; }
.applicant-help { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.applicant-help > .text-button { display: inline-flex; align-items: center; padding: 0 6px; }
.applicant-help .applicant-help-link { text-decoration: underline; text-underline-offset: .18em; }
.login-note { font-size: 12px; margin: 24px 0; line-height: 1.9; }
.login-note span { font-size: 10px; color: var(--muted); }
#account-recovery { margin: 12px 0 0; text-align: left; }
#account-recovery summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
#account-recovery p { margin: 4px 0; font-size: 13px; }
#copy-recovery-email { margin-inline-start: 8px; padding-block: 8px; }
.development-note { padding: 12px; border: 1px solid #e8e2d8; border-radius: 12px; font-size: 10px; color: #7c7264; line-height: 1.7; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #f6a72c; margin-right: 7px; }
.login-copyright { display: block; margin-top: 26px; color: #a7a098; font-size: 9px; letter-spacing: .6px; }
.error { color: var(--red); font-size: 12px; line-height: 1.8; padding: 12px 0; overflow-wrap: anywhere; }
.error:empty { display: none; }
/* The same navigation stays in the sidebar on desktop and docks below on mobile. */
.app-layout { display: flex; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; width: 228px; flex-shrink: 0; display: flex; flex-direction: column; padding: 26px 18px 22px; background: #fff; border-right: 1px solid var(--line); overflow-y: auto; }
.sidebar .brand { padding-left: 6px; font-size: 23px; }
.workspace-label { color: #a39a8d; font-size: 9px; letter-spacing: 2px; font-weight: 650; margin: 38px 16px 15px; }
nav { display: flex; flex-direction: column; gap: 4px; }
nav button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 11px 14px; border-radius: 12px; background: none; color: #847c73; font-size: 12px; }
nav button:hover { background: #faf7f1; }
nav button.active { background: #fff2d9; color: #a6530e; font-weight: 700; }
#navigation[data-role="MEMBER"] button[data-page="more"] { display: flex; }
.member-profile { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 3fr); gap: 15px; margin: 24px 0; }
.member-profile dt { color: var(--muted); font-size: 13px; }
.member-profile dd { margin: 0; overflow-wrap: anywhere; font-size: 14px; }
.member-account { max-width: 760px; margin: 0 auto 22px; padding: 34px 36px 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.account-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 6px 0 26px; }
.account-greeting { min-width: 0; }
.account-greeting h2 { margin: 0 0 8px; font-size: 25px; line-height: 1.5; overflow-wrap: anywhere; }
.account-name { background: linear-gradient(transparent 65%, #ffeb9d 65%, #ffeb9d 92%, transparent 92%); }
.account-honorific { font-size: 18px; font-weight: 400; white-space: nowrap; }
.account-welcome { margin: 0 0 8px; color: #59554e; font-size: 16px; }
.account-email { margin: 0; color: #76716a; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.account-avatar { flex: 0 0 64px; width: 64px; height: 64px; padding: 11px; border-radius: 50%; background: #fff8df; }
.account-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 18px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.account-summary > div { min-width: 0; padding: 0 8px; }
.account-summary > div + div { border-left: 1px solid var(--line); }
.account-summary dt { margin-bottom: 9px; color: #76716a; font-size: 12px; }
.account-summary dd { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.account-row { display: flex; align-items: center; width: 100%; min-height: 65px; gap: 15px; padding: 16px 4px; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; font-size: 15px; cursor: pointer; }
.account-row:hover { background: #fffcf3; }
.account-row-icon { position: relative; flex: 0 0 28px; width: 28px; height: 28px; padding: 2px; }
.account-row-icon::before { content: ""; position: absolute; inset: 10px 1px 1px 11px; border-radius: 3px; background: #ffe582; }
.account-row-icon svg { position: relative; }
.account-row-label { flex: 1; min-width: 0; line-height: 1.6; overflow-wrap: anywhere; }
.account-chevron { flex: 0 0 15px; width: 15px; height: 15px; color: #a6a19a; }
.account-details > summary { list-style: none; }
.account-details > summary::-webkit-details-marker { display: none; }
.account-details[open] > summary .account-chevron { transform: rotate(90deg); }
.account-details-body { padding: 0 14px 20px; border-bottom: 1px solid var(--line); }
.account-details-body .member-profile { grid-template-columns: minmax(76px, 1fr) minmax(0, 3fr); gap: 16px 12px; margin: 22px 0; }
.account-details-body .member-profile dt, .account-details-body .member-profile dd { font-size: 12px; line-height: 1.7; }
.account-policy { padding: 15px; border-radius: 10px; background: #f8f7f3; font-size: 11px; line-height: 1.8; color: #6e675c; }
.account-policy strong { color: #514a40; font-weight: 600; }
.account-policy p { margin: 7px 0 0; }
.account-foot { padding-top: 24px; }
.account-foot p { margin: 0 0 16px; font-size: 11px; line-height: 1.8; color: #76716a; }
.account-logout { min-height: 44px; padding: 8px 0; background: transparent; color: #76716a; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.member-faq { padding: 18px 0; border-bottom: 1px solid var(--line); }
.member-faq summary { cursor: pointer; font-weight: 600; }
.member-faq p { margin: 15px 0 0; }
.member-more-link { width: 100%; justify-content: flex-start; gap: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.member-more-link svg { width: 24px; height: 24px; color: var(--amber); }
.member-more-link span:last-child { margin-left: auto; }
.admin-member-tabs { display: flex; flex-flow: row wrap; gap: 8px; margin: 22px 0; }
.admin-member-tabs button { flex: 0 1 auto; white-space: normal; }
.admin-member-tabs button[aria-current="page"] { background: #fff0d8; color: #9f4f0a; }
.integrated-records { min-width: 0; }
.nav-icon { display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; }
.nav-icon svg { width: 21px; height: 21px; }
.mobile-nav-label { display: none; }
.sidebar-foot { margin: auto 8px 0; padding: 30px 14px 0; color: #a29889; font-size: 9px; }
.sidebar-foot strong { font-size: 12px; color: #7e6041; }
.sidebar-foot p { margin: 10px 0 18px; font-size: 10px; line-height: 1.9; }
.sidebar-bee { width: 54px; height: 54px; margin-bottom: 10px; }
.workspace { flex: 1; min-width: 0; }
.topbar { height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 40px; border-bottom: 1px solid var(--line); background: #fff; font-size: 11px; color: #a19789; }
.user-menu { display: flex; align-items: center; gap: 12px; color: #746a5e; min-width: 0; }
.user-avatar { width: 32px; height: 32px; padding: 3px; border-radius: 50%; background: var(--soft); flex-shrink: 0; }
#user-label { overflow-wrap: anywhere; }
.main-content { max-width: 1330px; margin: auto; padding: 34px 40px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 25px; }
.page-heading h1 { margin: 9px 0 5px; }
.page-heading p { margin-bottom: 0; }
.page-heading .secondary { white-space: nowrap; }
.page-heading .secondary span { color: var(--orange); font-size: 17px; margin-right: 3px; }
.hero { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 30px 34px; margin-bottom: 22px; border-radius: 22px; background: linear-gradient(110deg, #f57b31, #ffaf13 62%, #ffd333); }
.hero::after { content: ""; position: absolute; width: 390px; height: 390px; border: 1px solid #fff1b35c; border-radius: 50%; right: -85px; top: -195px; box-shadow: 0 0 0 40px #fff7cf18, 0 0 0 80px #fff7cf0d; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero .eyebrow { color: #683808; font-size: 9px; letter-spacing: 2.1px; }
.hero h2 { margin: 11px 0 9px; font-size: 27px; color: #382a1b; }
.hero p { margin-bottom: 0; font-size: 11px; color: #75400f; line-height: 1.8; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.hero-tag { border: 1px solid #fff8d880; background: #fff6da63; color: #75420e; border-radius: 20px; padding: 5px 10px; font-size: 9px; }
.level-badge { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; width: 104px; height: 116px; background: #fff9e6; border: 5px solid #ffe489; border-radius: 28px; box-shadow: 0 5px 0 #e5991b24, 0 0 0 6px #ffe28252; transform: rotate(5deg); }
.level-badge svg { width: 46px; height: 46px; }
.level-badge strong { font-size: 23px; letter-spacing: -1px; color: #b46511; }
.level-badge small { font-size: 7px; color: #b98b4d; letter-spacing: 1.5px; margin-top: 3px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat, .panel { background: #fff; border: 1px solid #eee9e1; border-radius: 17px; }
.stat { position: relative; padding: 23px; overflow: hidden; }
.stat-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #fff4df; color: #f08c26; margin-bottom: 17px; }
.stat-icon svg { width: 18px; height: 18px; }
.stat-label { font-size: 11px; color: #8d8276; }
.stat-value { font-size: 29px; font-weight: 750; letter-spacing: -1px; margin: 9px 0; overflow-wrap: anywhere; }
.stat-note { font-size: 9px; color: #a69b8e; line-height: 1.7; }
.member-home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member-home-summary { padding: 24px; margin-bottom: 22px; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.member-home-summary .member-home-stats { gap: 0; margin: 0; }
.member-home-summary .stat { border: 0; border-radius: 0; }
.member-home-summary .stat:first-child { padding: 0 16px 0 0; }
.member-home-summary .stat + .stat { padding: 0 0 0 18px; border-left: 1px solid var(--line); }
.member-home-stats .stat-note { color: #746c60; font-size: 11px; line-height: 1.7; }
.point-deposit { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.member-periods-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.member-periods-grid .period-card { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.period-card h3.period-title { margin: 0; color: var(--ink); font-size: 16px; }
.period-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.period-caption { margin: 9px 0 15px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.period-dates { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 14px; margin: 20px 0; }
.period-dates dt { font-size: 12px; color: var(--muted); }
.period-dates dd { margin: 0; text-align: right; font-size: 19px; font-weight: 750; color: #ad5013; }
.period-note, .period-applied, .period-pending { font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
.period-note { color: var(--muted); margin: 16px 0 0; }
.period-applied { color: #43734d; margin: 15px 0; }
.period-pending { padding: 12px; border-radius: 9px; color: #895111; background: #fff7df; }
@media (max-width: 760px) {
  .member-periods-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
  .member-periods-grid .period-card { padding: 17px 15px; }
  .period-dates dd { font-size: 20px; }
}
.deposit-countdown { margin: 0 0 12px; font-size: 13px; font-weight: 600; line-height: 1.7; word-break: keep-all; }
.deposit-remaining { color: #b55a13; font-size: 21px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.deposit-meter { display: block; appearance: none; width: 100%; height: 10px; border: 0; border-radius: 20px; overflow: hidden; background: #eeece5; accent-color: #efa319; }
.deposit-meter::-webkit-progress-bar { background: #eeece5; border-radius: 20px; }
.deposit-meter::-webkit-progress-value { background: var(--honey); border-radius: 20px; }
.deposit-meter::-moz-progress-bar { background: var(--honey); border-radius: 20px; }
.deposit-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; color: #746c60; font-size: 11px; line-height: 1.7; }
.deposit-unlock-date { color: #b55a13; font-size: 17px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.withdrawal-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin-top: 18px; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 650; }
.withdrawal-button svg { width: 18px; height: 18px; flex: 0 0 18px; }
.withdrawal-button:disabled { background: #eeece8; color: #716d66; opacity: 1; cursor: not-allowed; }
.withdrawal-button.is-ready { background: var(--honey); color: #45270d; }
.withdrawal-button.is-ready:hover { box-shadow: 0 3px 12px #e69a2433; }
.withdrawal-hint { margin: 9px 0 0; color: #746c60; font-size: 11px; line-height: 1.7; }
.panel { min-width: 0; padding: 24px; margin-bottom: 22px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 20px; }
.panel-title h3 { margin: 0; }
.panel-title > span { flex-shrink: 0; font-size: 9px; color: #a89c8d; }
.panel-title h3::before { content: ""; display: inline-block; width: 4px; height: 14px; border-radius: 4px; background: var(--amber); margin-right: 9px; vertical-align: -1px; }
.columns { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); padding: 0; overflow: hidden; }
.quick-link { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; padding: 21px 10px; color: #6f6558; font-size: 11px; }
.quick-link:hover { background: #fffaf1; }
.quick-link .nav-icon { color: #f28d2e; background: #fff3d8; border-radius: 50%; width: 33px; height: 33px; }
.quick-link .nav-icon svg { width: 18px; height: 18px; }
.quick-arrow { color: #c5b9a8; margin-left: 2px; }
.notice { padding: 15px 19px; border: 1px solid #efdfbb; border-radius: 13px; background: #fff8e9; color: #966b30; font-size: 11px; line-height: 1.9; margin-bottom: 22px; }
.pill { display: inline-block; padding: 5px 9px; border-radius: 6px; background: #f3f2ed; color: #73694e; font-size: 10px; white-space: nowrap; }
.pill.warn { background: #fff2d4; color: #936314; }
.pill.danger { background: #ffebe6; color: #b45842; }
.empty { padding: 37px 20px; color: #a69b8c; text-align: center; font-size: 12px; line-height: 1.9; white-space: pre-line; }
.table-wrap { overflow-x: auto; overscroll-behavior-x: contain; }
table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; white-space: nowrap; }
th { padding: 12px; color: #9a8e7f; background: #faf8f4; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 500; }
td { padding: 15px 12px; max-width: 280px; border-bottom: 1px solid #f3f0ea; overflow: hidden; text-overflow: ellipsis; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fffcf6; }
td .text-button { font-size: 10px; }
.manual-collection-history-detail { max-width: 0; }
.manual-collection-history-detail .table-wrap td { max-width: none; }
@media (max-width: 480px) {
  .manual-collection-history > thead > tr > th,
  .manual-collection-history > tbody > tr > td { padding-inline: 5px; }
  .manual-collection-history > tbody > tr > td:first-child { white-space: normal; }
}
.number { font-variant-numeric: tabular-nums; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.toolbar input { max-width: 260px; padding: 10px; font-size: 12px; }
.toolbar select { padding: 10px; font-size: 12px; }
.filter-form { margin-bottom: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fcfaf6; }
.filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.filter-field { min-width: 0; }
.filter-field label { margin: 0 0 8px; color: #887962; font-size: 11px; }
.filter-field input, .filter-field select { width: 100%; min-width: 0; height: 41px; padding: 9px 10px; font-size: 11px; }
.filter-field input:disabled { background: #f1eee7; color: #aaa296; }
.filter-hint { margin: 12px 0 0; color: #998b79; font-size: 10px; line-height: 1.8; }
.filter-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.filter-actions > span { margin-left: auto; font-size: 10px; color: var(--muted); }
.pager { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 20px; font-size: 10px; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-item { padding: 13px; border-radius: 10px; background: #faf7f0; overflow-wrap: anywhere; }
.detail-item small { display: block; color: #a19482; font-size: 10px; margin-bottom: 8px; }
.detail-item span { font-size: 12px; }
.retry-form textarea { width: 100%; min-height: 95px; resize: vertical; }
.retry-form .primary { margin-top: 14px; }
.footer { display: flex; justify-content: space-between; gap: 16px; max-width: 1330px; margin: auto; padding: 0 40px 28px; color: #a99d8c; font-size: 9px; }
.footer strong { color: #8d7c68; letter-spacing: -.5px; font-size: 13px; white-space: nowrap; }
.footer-dot { color: var(--orange); }
dialog { width: min(850px, calc(100% - 28px)); max-height: 85vh; padding: 28px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); }
dialog::backdrop { background: #35271366; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 25px; }
.dialog-heading h2 { margin: 0; }
dialog h3 { margin-top: 24px; }
.ux-help-heading, .ux-full-text { color: inherit; background: transparent; font: inherit; text-align: inherit; border: 0; border-radius: 3px; padding: 0; min-height: 0; }
.ux-help-heading::after { content: ' ?'; color: var(--muted); font-size: .8em; }
.ux-help-heading:hover, .ux-full-text:hover { text-decoration: underline; text-underline-offset: 3px; }
.ux-help-badge { min-height: 0; font-family: inherit; font-weight: inherit; text-align: inherit; }
.ux-help-badge:hover { box-shadow: inset 0 0 0 1px currentColor; }
td .ux-full-text { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux-help-dialog { width: min(620px, calc(100% - 28px)); }
.ux-help-dialog .dialog-heading { position: sticky; top: 0; z-index: 1; align-items: flex-start; background: #fff; padding: 8px 0; }
.ux-help-dialog h2 { font-size: 22px; overflow-wrap: anywhere; }
.ux-help-intro { color: var(--muted); }
.ux-help-item { padding: 14px; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; }
.ux-help-item.is-selected { border-color: #dfa13d; background: #fff8e9; }
.ux-help-item h3 { margin: 0 0 6px; font-size: 18px; }
.ux-help-item p { margin: 0; }
.ux-selected-label { display: block; margin-bottom: 6px; color: #915a13; font-size: 14px; }
.ux-help-dialog p, .ux-help-dialog .notice { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.ux-full-sentence { margin: 0; }
.loading { padding: 50px; color: #ab9271; text-align: center; font-size: 12px; }
@media (min-width: 1500px) {
  .main-content { padding: 42px 50px; }
  .hero { padding: 38px 40px; }
}
@media (max-width: 1100px) {
  .sidebar { width: 205px; padding: 25px 12px; }
  .main-content { padding: 28px 25px; }
  .topbar { padding: 0 25px; }
  .footer { padding: 0 25px 25px; }
  .quick-link { flex-direction: column; font-size: 10px; }
  .quick-arrow { display: none; }
  .welcome { padding: 32px 9%; }
  .welcome h1 { font-size: 37px; }
  .bee-art { width: 210px; height: 210px; right: 15%; }
  .bee-medallion svg { width: 110px; height: 110px; }
  .columns { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 760px) {
  .login-layout { display: block; position: relative; min-height: 100svh; background: #f0efec; }
  .welcome { position: absolute; top: 0; left: 0; right: 0; height: 210px; padding: 22px; border-radius: 0 0 65% 8% / 0 0 45% 8%; background: linear-gradient(120deg, #ffd000, #ffcb2a 65%, #ffe4a5); }
  .welcome::before { top: -460px; left: -120px; }
  .welcome::after { opacity: .13; }
  .welcome .brand, .welcome-copy, .bee-art, .welcome-foot { display: none; }
  .login-main { min-height: 100svh; padding: 50px 28px 32px; background: none; }
  .login-main::after { width: 470px; bottom: -230px; right: -240px; border-color: #f5cf7e77; }
  .login-card { max-width: 400px; }
  .brand-switch { margin-bottom: 52px; }
  .brand-switch span { font-size: 11px; padding: 8px 16px; }
  .login-bee { width: 100px; height: 100px; margin-bottom: 9px; }
  .login-card h2 { margin-top: 10px; font-size: 32px; }
  .login-card .muted { font-size: 11px; }
  .login-card form { margin-top: 29px; }
  .login-card .primary { margin-top: 25px; }
  .login-note { margin: 23px 0; }
  .app-layout { display: block; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .sidebar { position: static; width: 100%; height: auto; padding: 14px 20px; border: 0; overflow: visible; }
  .sidebar .brand { font-size: 22px; padding: 0; }
  .sidebar .brand-mark { width: 35px; height: 35px; }
  .workspace-label, .sidebar-foot { display: none; }
  nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: flex; flex-direction: row; justify-content: space-around; gap: 0; margin: 0; padding: 9px 8px calc(9px + env(safe-area-inset-bottom)); background: #fffffff5; border-top: 1px solid #eee5d8; box-shadow: 0 -4px 22px #61411406; backdrop-filter: blur(12px); overflow-x: auto; }
  nav button { position: relative; flex: 1 0 60px; flex-direction: column; gap: 5px; padding: 4px 2px; background: transparent; border-radius: 0; font-size: 10px; text-align: center; white-space: nowrap; }
  nav .nav-label { display: none; }
  nav .mobile-nav-label { display: block; }
  #navigation[data-role="MEMBER"] button { flex: 1 1 0; min-width: 0; }
  #navigation[data-role="MEMBER"] button[data-page="more"] { display: flex; }
  #navigation[data-role="MEMBER"] button[data-page="payments"],
  #navigation[data-role="MEMBER"] button[data-page="profile"],
  #navigation[data-role="MEMBER"] button[data-page="help"] { display: none; }
  #navigation[data-role="MEMBER"][data-nile-member="true"] button[data-page="payments"] { display: flex; }
  #navigation[data-role="MEMBER"][data-nile-member="true"][data-member-menus="true"] button[data-page="payments"],
  #navigation[data-role="MEMBER"][data-nile-member="true"][data-member-menus="true"] button[data-page="queue"] { display:none; }
  nav button .nav-icon { width: 34px; height: 34px; border-radius: 50%; background: #fff0d8; color: #ee9c49; }
  nav button .nav-icon svg { width: 20px; height: 20px; }
  nav button.active { background: none; color: #9f4f0a; }
  nav button.active .nav-icon { color: #fff; background: var(--honey); box-shadow: 0 3px 8px #f49b2633; }
  nav button.active::before { content: ""; position: absolute; width: 18px; height: 3px; top: -9px; left: calc(50% - 9px); background: var(--amber); border-radius: 0 0 4px 4px; }
  .topbar { height: 47px; padding: 0 20px; font-size: 9px; border-top: 1px solid #f4f1eb; }
  .user-menu { gap: 9px; }
  .user-avatar { display: none; }
  #user-label { max-width: 150px; font-size: 9px; }
  #breadcrumb { color: #a89987; }
  .topbar .text-button { white-space: nowrap; font-size: 10px; }
  .main-content { padding: 25px 18px 15px; }
  .page-heading { margin-bottom: 21px; gap: 10px; }
  .page-heading h1 { font-size: 25px; margin: 8px 0 5px; }
  .page-heading .muted { font-size: 11px; }
  .page-heading .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
  .page-heading .secondary { padding: 9px 10px; font-size: 10px; }
  .page-heading .secondary span { font-size: 14px; margin-right: 0; }
  .hero { gap: 13px; padding: 25px 22px; border-radius: 18px; margin-bottom: 15px; }
  .hero h2 { font-size: 21px; line-height: 1.45; margin: 11px 0 9px; }
  .hero p { font-size: 9px; max-width: 200px; }
  .hero .eyebrow { font-size: 7px; letter-spacing: 1.5px; }
  .hero-tags { margin-top: 15px; gap: 4px; }
  .hero-tag { font-size: 8px; padding: 4px 8px; }
  .level-badge { width: 74px; height: 94px; border-radius: 22px; border-width: 4px; }
  .level-badge svg { width: 36px; height: 36px; }
  .level-badge strong { font-size: 20px; }
  .level-badge small { font-size: 6px; letter-spacing: 1px; }
  .stats { gap: 7px; margin-bottom: 15px; }
  .stat { padding: 14px 11px; border-radius: 14px; }
  .stat-icon { width: 27px; height: 27px; margin-bottom: 12px; border-radius: 8px; }
  .stat-icon svg { width: 16px; height: 16px; }
  .stat-label { font-size: 9px; letter-spacing: -.3px; }
  .stat-value { font-size: 21px; margin: 9px 0; letter-spacing: -.8px; }
  .stat-note { font-size: 8px; line-height: 1.7; }
  .member-home-stats .stat-note { font-size: 10px; }
  .member-home-summary { padding: 18px 16px; border-radius: 14px; margin-bottom: 15px; }
  .member-home-summary .deposit-countdown { font-size: 13px; }
  .member-home-summary .deposit-remaining { font-size: 19px; }
  .member-home-summary .deposit-unlock-date { font-size: 16px; }
  .panel { padding: 20px 16px; border-radius: 14px; margin-bottom: 15px; }
  .panel-title { margin-bottom: 17px; }
  .panel-title h3 { font-size: 14px; }
  .panel-title > span { font-size: 8px; }
  .quick-links { padding: 0; margin-bottom: 15px; }
  .quick-link { padding: 17px 3px; gap: 8px; font-size: 9px; }
  .quick-link .nav-icon { width: 32px; height: 32px; }
  .notice { padding: 13px 15px; font-size: 10px; margin-bottom: 15px; }
  .detail-grid { gap: 8px; }
  .detail-item { padding: 12px; }
  .detail-item small { font-size: 9px; }
  .detail-item span { font-size: 11px; }
  .panel .muted { font-size: 11px; }
  .filter-form { padding: 13px; }
  .filter-grid { grid-template-columns: 1fr; gap: 12px; }
  .filter-field input, .filter-field select { font-size: 12px; height: 44px; }
  .filter-hint { font-size: 9px; }
  .footer { display: block; padding: 0 20px 22px; }
  .footer > span { display: block; margin-top: 9px; font-size: 8px; line-height: 1.8; }
  .app-layout[data-page="profile"] { min-height: 100svh; background: #fff; }
  .app-layout[data-page="profile"] .topbar, .app-layout[data-page="profile"] .footer { display: none; }
  .app-layout[data-page="profile"] .main-content { padding: 10px 24px 12px; }
  .app-layout[data-page="profile"] .page-heading { margin: 0 0 24px; }
  .app-layout[data-page="profile"] .page-heading h1 { margin: 0; font-size: 18px; letter-spacing: -.5px; }
  .app-layout[data-page="profile"] .page-heading .eyebrow, .app-layout[data-page="profile"] .page-heading .muted { display: none; }
  .app-layout[data-page="profile"] .page-heading .secondary { border: 0; background: #fff; }
  .member-account { max-width: 520px; margin: 0 auto; padding: 0; border: 0; border-radius: 0; }
  .account-intro { padding: 0 0 25px; gap: 16px; }
  .account-greeting h2 { font-size: 23px; }
  .account-welcome { font-size: 15px; }
  .account-avatar { flex-basis: 54px; width: 54px; height: 54px; padding: 9px; }
  .account-summary { padding: 18px 0; margin-bottom: 8px; }
  .account-summary dt { font-size: 11px; }
  .account-summary dd { font-size: 16px; }
  .account-row { min-height: 62px; padding: 16px 2px; gap: 13px; font-size: 14px; }
  .account-foot { padding-top: 22px; }
  dialog { padding: 21px 16px; max-height: 85svh; }
  .dialog-heading h2 { font-size: 20px; }
}
@media (max-width: 370px) {
  .main-content { padding-left: 12px; padding-right: 12px; }
  .hero { padding: 22px 17px; }
  .hero h2 { font-size: 19px; }
  .stat { padding: 13px 9px; }
  .stat-value { font-size: 19px; }
  .stat-label { font-size: 8px; }
  #breadcrumb { display: none; }
  .user-menu { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: no-preference) {
  button, input, a { transition: background .15s ease, box-shadow .15s ease; }
}

[hidden] { display: none !important; }
#signup-panel { text-align: left; }
#signup-panel h2 { margin-bottom: 12px; }
#signup-panel form { margin-top: 24px; }
#signup-panel label { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 600; }
#signup-panel .primary { width: 100%; margin-top: 16px; }
#signup-panel select { width: 100%; }
#signup-panel .signup-field-error { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
#signup-panel .input-wrap:has([aria-invalid="true"]),
#signup-panel select[aria-invalid="true"] { border-color: #b42318; }
.signup-phone-help, .signup-phone-preview { margin: 10px 0 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.signup-phone-preview:empty { display: none; }
.signup-phone-preview { white-space: pre-line; }
.verified-email { background: #fff5d9; color: #7a4d00; padding: 14px; border-radius: 14px; overflow-wrap: anywhere; }
.signup-help { font-size: 12px; line-height: 1.8; margin-top: 22px; }
.applicant-form { max-width: 620px; display: grid; gap: 12px; }
.applicant-form label { font-size: 13px; font-weight: 600; }
.applicant-form input, .applicant-form select { width: 100%; min-height: 46px; border: 1px solid #e5dfd4; border-radius: 12px; padding: 12px; background: white; font: inherit; }
.applicant-form .primary { justify-self: start; }
.applicant-form > .applicant-level-summary { font-size:18px; font-weight:500; line-height:1.5; }
.applicant-level-summary > strong { font-weight:800; }
.lv1-admission-section { margin-top:24px; }
.lv1-admission-section > .lv1-admission-heading { margin:0 0 14px; font-size:18px; line-height:1.5; }
.panel.lv1-admission-panel { display:grid; gap:12px; margin-top:0; }
.panel.lv1-admission-panel > p { margin:0; line-height:1.7; }
.panel.lv1-admission-panel > .notice { margin:4px 0; padding:14px 16px; }
.content-hero { align-items: center; margin-bottom: 24px; }
.cms-bee { width: 100px; height: 100px; flex-shrink: 0; }
.content-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.cms-form { display: grid; gap: 12px; margin: 20px 0; }
.cms-form label { font-size: 13px; font-weight: 600; }
.cms-form input:not([type=checkbox]), .cms-form select, .cms-form textarea,
.content-actions input, .content-actions select { min-width: 0; width: 100%; border: 1px solid #e5dfd4; border-radius: 12px; padding: 12px; background: white; color: var(--ink); }
.cms-form textarea { resize: vertical; line-height: 1.8; }
.cms-form input[readonly], .cms-form textarea[readonly] { background: #f8f7f4; }
.content-state { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; margin: 16px 0; }
.content-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; font-size: 14px; }
.content-copy h3 { line-height: 1.6; }
.external-link { display: inline-block; color: #9b4d08; border-bottom: 1px solid #e6b25b; margin: 18px 0; font-size: 13px; overflow-wrap: anywhere; }
.publish-form, .published-copy, .version-preview:not(:empty) { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.review-check { display: flex; align-items: flex-start; gap: 10px; line-height: 1.7; }
.review-check input { flex: 0 0 18px; width: 18px; height: 18px; padding: 0; margin-top: 3px; accent-color: #ed861b; }
.public-content-card { border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 20px 0; }
.public-content-card .muted { margin: 20px 0 0; font-size: 11px; }
.content-actions input { flex: 1; width: auto; }
.content-actions select { width: auto; }
.dialog-heading h2 { flex: 1; min-width: 0; }
.dialog-heading > button { flex-shrink: 0; }
.education-material, .material-editor, .education-course-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 16px 0; }
.material-editor { display: grid; gap: 12px; background: #fcfaf5; }
.material-editor .content-actions { margin: 0; }
.material-editor-list { min-width: 0; }
.material-url { overflow-wrap: anywhere; font-size: 12px; color: var(--muted); }
.education-course-card .content-body { font-size: 13px; }
.education-course-card .muted { font-size: 12px; margin-top: 14px; }
.education-material .content-actions { margin-top: 0; }
.material-error { max-width: 650px; margin: 12vh auto; }
.payment-guide { padding: 24px; margin: 18px 0; border: 1px solid #f1dca5; border-radius: 22px; background: linear-gradient(140deg, #fff9df, #fff); }
.payment-guide .detail-grid { overflow-wrap: anywhere; }
.payment-amount { font-size: clamp(24px, 5vw, 36px); font-weight: 750; color: #a85813; margin: 16px 0; overflow-wrap: anywhere; }
.payment-qr { display: block; max-width: 100%; height: auto; background: white; padding: 8px; margin: 16px 0; border-radius: 12px; }
.identifier-cell { max-width: 220px; font-size: 11px; }
.identifier-cell summary { cursor: pointer; font-family: ui-monospace, monospace; color: #8d5413; }
.identifier-full { display: block; white-space: normal; overflow-wrap: anywhere; user-select: all; font-size: 11px; padding: 8px 0; }
.flow-node { display: grid; gap: 6px; min-width: 0; }
.flow-node > strong { overflow-wrap: anywhere; }
.flow-node small { white-space: normal; max-width: 250px; line-height: 1.6; }
.flow-intro { background: #fff7e4; border: 1px solid #f1dfba; border-radius: 16px; padding: 20px; }
.flow-intro h3 { margin: 10px 0; line-height: 1.5; }
.flow-intro > p { line-height: 1.7; }
.flow-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 12px; }
.flow-totals > div { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.flow-totals strong, .flow-amount { font-size: 23px; color: #a65c12; font-variant-numeric: tabular-nums; }
.flow-check { color: #32624a; font-weight: 650; line-height: 1.7; }
.flow-donation-link { border-left: 3px solid var(--amber); padding: 14px 16px; display: grid; gap: 10px; margin: 20px 0; }
.flow-donation-link .secondary { justify-self: start; }
.flow-outputs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.flow-allocation { border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-width: 0; }
.flow-allocation:focus { outline: 3px solid #efad37; outline-offset: 3px; }
.flow-allocation h4 { margin: 0 0 14px; line-height: 1.6; }
.flow-allocation .flow-amount { display: block; margin-bottom: 16px; }
.flow-fallback { color: #9b5b15; font-size: 12px; line-height: 1.7; }
.flow-technical { margin: 18px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.flow-technical > summary { cursor: pointer; color: var(--muted); line-height: 1.6; }
.settlement-flow .muted { line-height: 1.7; }
@media (max-width: 760px) {
  .flow-outputs { grid-template-columns: 1fr; }
  .flow-intro { padding: 16px; }
  .flow-totals strong { font-size: 20px; }
}
@media (max-width: 760px) {
  .content-hero .cms-bee { display: none; }
  .content-actions .primary, .content-actions .secondary { flex: 1; white-space: nowrap; }
  .public-content-card { padding: 18px; }
  .user-menu { gap: 9px; flex-wrap: wrap; }
  .public-search { display: grid; grid-template-columns: 1fr auto; }
  .public-search input { grid-column: 1 / -1; width: 100%; }
  .public-search select { width: 100%; }
  .education-material, .material-editor, .education-course-card { padding: 16px; }
  .material-error { margin: 10vh 16px; }
}
@media (max-width: 760px) {
  .applicant-stats { grid-template-columns: 1fr; gap: 10px; }
  .applicant-stats .stat { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding: 17px; }
  .applicant-stats .stat-icon { grid-row: 1 / 4; margin: 0; width: 32px; height: 32px; }
  .applicant-stats .stat-label { font-size: 11px; }
  .applicant-stats .stat-value { font-size: 20px; letter-spacing: -.5px; margin: 5px 0; }
  .applicant-stats .stat-note { font-size: 10px; }
}

/* Phase 1–3: shared readable controls and member cards. No business behavior changes. */
:root { --ui-body: 18px; --ui-note: 18px; --ui-title: 26px; --ui-value: 30px; --ui-tap: 52px; --muted: #5d5953; }
body { font-size: var(--ui-body); line-height: 1.6; }
h1 { font-size: 28px; letter-spacing: -.6px; }
h2 { font-size: var(--ui-title); }
h3, .panel-title h3, .period-card h3.period-title { font-size: 22px; line-height: 1.6; }
label, input, select, textarea, .filter-field input, .filter-field select { font-size: var(--ui-body); }
input, select { min-height: var(--ui-tap); }
button, .primary, .secondary, .text-button, .login-card .primary { min-height: var(--ui-tap); font-size: 18px; line-height: 1.5; }
.page-heading .secondary, .topbar .text-button, td .text-button { font-size: 18px; min-height: 52px; }
.page-heading .muted { font-size: 18px; line-height: 1.7; }
.primary, .secondary { padding: 12px 20px; }
.muted, .panel .muted, .login-card .muted, .login-note, .login-note span,
.panel-title > span, .notice, .error, .empty, .filter-hint, .loading, .content-body,
.public-content-card .content-body, .education-course-card .content-body,
.education-course-card .muted, .material-url, .material-editor label { font-size: var(--ui-note); line-height: 1.7; }
.pill, .hero-tag { font-size: 16px; line-height: 1.6; white-space: normal; }
.login-main { padding-top: 28px; }
.login-card { max-width: 440px; }
.input-wrap input { height: 56px; font-size: 18px; }
.brand-switch { font-size: 18px; }
.brand-switch span { font-size: 18px; }
.test-marker { background: #fff0bf; color: #69401c; padding: 5px 16px; font-size: 16px; font-weight: 700; text-align: center; }
.sidebar { width: 280px; }
nav button { min-height: 52px; font-size: 18px; white-space: normal; line-height: 1.5; }
.workspace { min-width: 0; }
.workspace-label, .page-heading .eyebrow, .welcome-foot, .art-caption { display: none; }
.topbar { min-height: 84px; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 16px; flex-wrap: wrap; }
.user-menu { flex-wrap: wrap; gap: 12px; min-width: 0; }
#user-label { font-size: 16px; overflow-wrap: anywhere; }
.main-content { padding: 28px; min-width: 0; }
.page-heading { gap: 16px; align-items: start; flex-wrap: wrap; }
.panel, .member-home-summary, .period-card { padding: 24px; margin-bottom: 20px; }
.panel-title { align-items: start; flex-wrap: wrap; }
.panel-title > span { white-space: normal; }
.hero { padding: 28px; gap: 20px; }
.hero h2 { font-size: 28px; }
.hero p { font-size: 18px; }
.stats { gap: 16px; }
.stat { padding: 20px; min-width: 0; }
.stat-label { font-size: 18px; letter-spacing: 0; }
.stat-value { font-size: 32px; line-height: 1.4; }
.stat-note, .member-home-stats .stat-note { font-size: 18px; line-height: 1.7; }
.member-home-stats { gap: 20px; }
.member-home-summary .member-home-stats { gap: 16px; }
.period-panels, .member-periods-grid { gap: 20px; }
.period-caption, .period-note, .period-pending, .period-applied, .withdrawal-hint,
.deposit-percent, .deposit-date { font-size: 18px; line-height: 1.7; }
.period-end-date { margin: 22px 0 10px; font-size: 28px; font-weight: 750; color: #994811; overflow-wrap: anywhere; }
.period-countdown, .deposit-countdown, .member-home-summary .deposit-countdown { font-size: 20px; line-height: 1.7; }
.deposit-remaining, .member-home-summary .deposit-remaining,
.deposit-unlock-date, .member-home-summary .deposit-unlock-date { font-size: 26px; }
.withdrawal-button { min-height: 56px; font-size: 20px; padding: 14px 18px; }
.deposit-meta { flex-wrap: wrap; gap: 10px; }
.member-account { max-width: 850px; margin: 0 auto; padding: 0; border: 0; background: transparent; }
.member-account > .panel, .member-account > .period-card, .member-account > .account-details { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.account-intro { padding: 0; }
.account-greeting h2 { font-size: 26px; }
.account-welcome, .account-email, .account-level { font-size: 18px; line-height: 1.7; }
.account-level { font-weight: 650; margin-bottom: 0; }
.account-points { font-size: 32px; font-weight: 750; color: #994811; margin-bottom: 8px; }
.account-points-card .point-deposit { padding: 20px 0 0; margin: 20px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.account-row { min-height: 68px; font-size: 18px; gap: 16px; padding: 16px 4px; }
.account-menu .account-logout { display: block; width: 100%; margin-top: 24px; color: #51422f; font-size: 18px; text-decoration: none; }
.account-details { padding: 0 20px; }
.account-details-body .member-profile dt, .account-details-body .member-profile dd { font-size: 16px; }
.member-faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 16px 0; padding: 18px; }
.member-faq summary { min-height: 48px; font-size: 18px; }
.help-shortcuts { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 20px 0; }
.help-shortcuts .account-row { padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.public-content-card { margin: 20px 0; }
.public-content-card > summary { list-style: none; }
.public-content-card > summary::-webkit-details-marker { display: none; }
.education-course-card, .education-material { padding: 24px; margin: 20px 0; }
.education-course-card h3 { overflow-wrap: anywhere; }
.content-actions { gap: 16px; }
.quick-links { padding: 20px; }
.quick-link, .member-more-link { min-height: 64px; font-size: 18px; flex-direction: row; gap: 14px; }
.payment-record-card { margin: 20px 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.payment-record-status { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.payment-record-dates { display: grid; grid-template-columns: minmax(120px,1fr) 2fr; gap: 20px; margin: 24px 0 0; }
.payment-record-dates dt { color: var(--muted); }
.payment-record-dates dd { margin: 0; }
.readable-datetime time { display: grid; gap: 4px; font-size: 20px; font-weight: 650; }
.payment-submitted { display: grid; gap: 12px; padding: 20px; background: #fff7e6; border-radius: 12px; }
table { font-size: 18px; }
td, th { padding: 16px 12px; }
.detail-item small { font-size: 16px; }
.detail-item span { font-size: 18px; }
.detail-item, .version-preview { background: #f3f3f0; }
.identifier-cell, .identifier-full { font-size: 14px; }
.flow-node small, .flow-fallback { font-size: 16px; }
.flow-totals strong, .flow-amount { font-size: 28px; }
.footer > span { font-size: 16px; line-height: 1.7; }
dialog { max-height: 88svh; }
.dialog-heading h2 { font-size: 26px; }
@media (max-width: 1000px) and (min-width: 761px) {
  .sidebar { width: 250px; }
  .member-periods-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sidebar { width: 100%; padding: 16px; }
  .login-main { padding: 32px 20px; }
  .login-card .muted, .login-note, .brand-switch span { font-size: 18px; }
  .main-content, .app-layout[data-page="profile"] .main-content { padding: 22px 16px; }
  .app-layout { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .page-heading h1, .app-layout[data-page="profile"] .page-heading h1 { font-size: 26px; }
  .topbar { padding: 16px; }
  .topbar > #breadcrumb { display: none; }
  .user-menu { width: 100%; justify-content: space-between; }
  nav { padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); }
  nav button { min-height: 80px; flex: 0 0 112px; font-size: 18px; }
  nav .mobile-nav-label { font-size: 16px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; }
  #navigation[data-role="MEMBER"] button { flex: 1 1 0; min-width: 0; }
  .panel, .member-home-summary, .period-card { padding: 20px 16px; margin-bottom: 20px; }
  .panel-title h3 { font-size: 22px; }
  .panel .muted, .notice, .empty, .filter-hint { font-size: 18px; }
  .member-home-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .member-home-stats .stat { padding: 16px 8px; }
  .stat-label, .stat-note, .member-home-stats .stat-note { font-size: 18px; }
  .stat-value { font-size: 30px; }
  .hero { padding: 24px 20px; }
  .hero h2 { font-size: 26px; }
  .member-account { max-width: 100%; }
  .account-greeting h2 { font-size: 26px; }
  .account-welcome { font-size: 18px; }
  .education-course-card, .education-material, .payment-record-card { padding: 20px 16px; }
  .education-course-card .content-actions { display: flex; flex-direction: column; align-items: stretch; }
  .education-course-card > button, .education-material .content-actions > button { width: 100%; margin-top: 16px; }
  .content-actions .primary, .content-actions .secondary { white-space: normal; }
  .payment-record-dates { grid-template-columns: 1fr; gap: 8px; }
  .payment-record-dates dd { margin-bottom: 16px; }
  .public-search { grid-template-columns: 1fr; }
  .public-search > * { width: 100%; min-width: 0; }
  .quick-links { display: grid; grid-template-columns: 1fr; padding: 16px; }
  .filter-field input, .filter-field select { font-size: 18px; height: 54px; }
  .flow-outputs { grid-template-columns: 1fr; }
  .flow-totals { grid-template-columns: 1fr; }
  .flow-totals strong { font-size: 28px; }
  .detail-grid { grid-template-columns: 1fr; }
  .dialog-heading h2 { font-size: 26px; }
  .footer > span { font-size: 16px; }
}
/* Member feedback: Founder identity, readable tables and consistent action spacing. */
.founder-badge { display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border:1px solid #b57a12; border-radius:999px; background:#fff2c5; color:#794607; font-size:16px; font-weight:750; line-height:1.4; vertical-align:middle; }
.founder-medal { display:inline-flex; align-items:center; justify-content:center; width:30px; height:34px; background:linear-gradient(145deg,#ffe69a,#dfa52b); clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%); color:#70400a; flex:none; }
.founder-medal svg { width:22px; height:22px; }
.founder-medal-crown { background:linear-gradient(145deg,#50402e,#2b2119); color:#ffe1a2; }
.founder-medal-crown svg { fill:currentColor; stroke-width:1.5; }
.founder-hero { box-shadow:inset 0 0 0 2px #d69a20; }
.member-home-stats .stat-value { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.member-progression-stats { grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
.app-layout[data-role="MEMBER"] th { font-size:18px; font-weight:700; }
.app-layout[data-page] th { font-size:18px; font-weight:700; }
.pagination, .pager { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-top:24px; margin-bottom:24px; }
.education-records-link { margin-bottom:24px; }
.payment-submission { margin-top:24px; }
.payment-submission > p { margin-top:16px; }
.readable-datetime time { display:block; font-size:18px; }
#refresh > span { display:inline-flex; font-size:24px; line-height:1; align-items:center; margin-right:8px; }
.stat-note:empty, .panel-title > span:empty, #footer-note:empty { display:none; }
@media(max-width:360px) { .member-progression-stats { grid-template-columns:1fr; } }
.founder-badge { word-break:normal; overflow-wrap:normal; }
.founder-badge > span:last-child { word-break:normal; overflow-wrap:normal; }
@media(max-width:760px) {
  .member-home-stats .stat-label { white-space:nowrap; letter-spacing:-.4px; }
  .member-home-stats .founder-badge { font-size:14px; gap:4px; padding:6px 8px; }
  .member-home-stats .founder-medal { width:20px; height:24px; }
  .member-home-stats .founder-medal svg { width:18px; height:18px; }
}
/* Phase 4: keyboard-operable summary links and separate identifier controls. */
.overview-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
.stat-link { display:block; width:100%; text-align:left; cursor:pointer; color:inherit; background:#fff; white-space:normal; }
.stat-link:hover { border-color:#a76815; background:#fff9ed; }
.stat-link:focus-visible, .detail-link:focus-visible { outline:3px solid #9a5a10; outline-offset:3px; }
.detail-link { color:#85500e; text-decoration:underline; text-underline-offset:4px; white-space:normal; overflow-wrap:anywhere; }
.linked-identifier { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.linked-identifier .identifier-cell { max-width:100%; }
.dialog-heading { flex-wrap:wrap; gap:16px; }
.dialog-heading h2 { flex:1; }
.flow-node > .detail-link { align-self:flex-start; text-align:left; }
@media(max-width:600px) { .overview-links { grid-template-columns:1fr; } }
.settlement-flow th, .integrated-records th { font-size:18px; font-weight:700; color:#5d5953; }

/* Figma reference: member home only. Preserve all other views and shared control behavior. */
#app-view[data-page="overview"][data-admin-ia="false"] .workspace {
  background: radial-gradient(circle at 100% 0, #ffd77d26, transparent 460px), #f6f5f2;
}
#app-view[data-page="overview"][data-admin-ia="false"] .page-heading { max-width:1040px; margin:0 auto 24px; }
#app-view[data-page="overview"][data-admin-ia="false"] .page-heading .muted { display:none; }
#app-view[data-page="overview"][data-admin-ia="false"] #page-title { font-size:22px; margin:0; }
#app-view[data-page="overview"][data-admin-ia="false"] #refresh { background:#fff; border-radius:14px; }
.qb-home {
  --home-ink:#171a1f; --home-muted:#626873; --home-accent:#925000;
  --home-soft:#fff8e7; --home-border:#e9e6df;
  max-width:1040px; margin:0 auto; color:var(--home-ink);
}
.qb-home .qb-home-eyebrow { margin:0 0 7px; color:var(--home-accent); font-size:14px; font-weight:800; letter-spacing:.05em; }
.qb-home .qb-home-welcome { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:0 0 28px; }
.qb-home .qb-home-welcome > div { min-width:0; }
.qb-home .qb-home-welcome h2 { margin:0; font-size:30px; line-height:1.4; letter-spacing:-.04em; overflow-wrap:anywhere; }
.qb-home .qb-home-intro { margin:9px 0 0; color:var(--home-muted); font-size:18px; }
.qb-home .qb-home-link { display:flex; align-items:center; gap:14px; min-width:0; min-height:76px; padding:18px 20px; color:var(--home-ink); text-align:left; background:transparent; border:0; border-radius:0; white-space:normal; }
.qb-home .qb-home-link-icon { display:grid; flex:0 0 44px; width:44px; height:44px; place-items:center; color:var(--home-accent); background:var(--home-soft); border-radius:14px; }
.qb-home .qb-home-link-icon svg { width:23px; height:23px; }
.qb-home .qb-home-link-copy { display:flex; flex:1; min-width:0; flex-direction:column; gap:4px; }
.qb-home .qb-home-link-copy strong { font-size:18px; line-height:1.5; }
.qb-home .qb-home-link-copy > span { color:var(--home-muted); font-size:16px; line-height:1.6; }
.qb-home .qb-home-chevron { flex:0 0 18px; width:18px; height:18px; color:#7b818a; }
.qb-home .qb-home-link:hover { background:#fff8e7; }
.qb-home .qb-home-link:focus-visible, .qb-home .withdrawal-button:focus-visible { outline:3px solid #925000; outline-offset:3px; }
.qb-home .qb-home-profile { flex:0 0 auto; min-height:52px; padding:10px; gap:8px; border:1px solid #ecd9b5; border-radius:16px; background:var(--home-soft); }
.qb-home .qb-home-profile .qb-home-link-icon { width:30px; height:30px; flex-basis:30px; }
.qb-home .qb-home-profile .qb-home-chevron { display:none; }
.qb-home .qb-home-summary { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:24px; padding:0; margin:0; border:0; background:transparent; border-radius:0; }
.qb-home .qb-home-summary-single { grid-template-columns:minmax(0,1fr); }
.qb-home .member-home-stats { display:contents; }
.qb-nile-home .qb-nile-queue { min-width:0; margin:0; border-radius:22px; }
.qb-nile-home .qb-nile-queue .payment-guide { padding:0; margin-bottom:0; border:0; background:transparent; }
.qb-home .qb-home-membership { position:relative; display:flex; align-items:center; justify-content:space-between; gap:16px; grid-column:1 / -1; min-height:218px; padding:28px; overflow:hidden; color:#352000; border:1px solid #e5ab3f; border-radius:26px; background:linear-gradient(125deg,#ffcf59 0%,#ffb20f 65%,#f79a00 100%); box-shadow:0 12px 30px #d67d0024; }
.qb-home .qb-home-membership::after { position:absolute; right:-45px; bottom:-90px; width:220px; height:220px; content:""; border:34px solid #ffffff26; border-radius:50%; pointer-events:none; }
.qb-home .qb-home-membership > div { position:relative; z-index:1; min-width:0; }
.qb-home .qb-home-membership .qb-home-eyebrow { color:#624000; }
.qb-home .qb-home-level-label { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.qb-home .qb-home-membership h2 { margin:0; font-size:34px; line-height:1.4; letter-spacing:-.04em; }
.qb-home .qb-home-registration { margin:10px 0 0; font-size:18px; }
.qb-home .qb-home-membership .founder-badge { margin:16px 0 0; padding:8px 12px; min-height:44px; border:1px solid #ffffffb8; background:#ffffffa6; color:#674000; border-radius:999px; font-size:16px; box-shadow:none; }
.qb-home .qb-home-primary { display:block; min-height:0; }
.qb-home-primary > * { position:relative; z-index:1; }
.qb-home-primary h3, .qb-home-avatar h3 { margin:0 0 14px; font-size:21px; }
.qb-home-facts, .qb-home-avatar-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; }
.qb-home-facts > div, .qb-home-avatar-facts > div { min-width:0; padding:10px 12px; border-radius:12px; background:#ffffffa6; }
.qb-home-facts dt, .qb-home-avatar-facts dt { font-size:14px; line-height:1.4; }
.qb-home-facts dd, .qb-home-avatar-facts dd { margin:3px 0 0; font-size:19px; font-weight:750; line-height:1.35; overflow-wrap:anywhere; }
.qb-home-facts dt { display:flex; align-items:center; min-height:24px; }
.qb-home-points-label { justify-content:space-between; gap:4px; white-space:nowrap; }
.qb-home-points-label .qb-home-points-detail { min-height:24px; padding:0; font-size:12px; color:inherit; white-space:nowrap; }
@media (max-width:360px) {
  .qb-home-facts > div { padding-inline:6px; }
  .qb-home-points-label { gap:2px; }
}
@media (max-width:340px) {
  .qb-home-facts dt { font-size:13px; }
  .qb-home-points-label .qb-home-points-detail { font-size:11px; }
}
.qb-home-facts dd.qb-home-benefit-level { display:flex; flex-wrap:wrap; align-items:center; gap:7px; color:#115e59; }
.qb-home-referral-badge { display:inline-flex; align-items:center; gap:7px; box-sizing:border-box; max-width:100%; height:36px; padding:4px 11px 4px 5px; border:0; border-radius:999px; background:#fff5df; color:#115e59; font-size:11px; font-weight:600; letter-spacing:-.15px; line-height:1.4; white-space:nowrap; }
.qb-home-benefit-seal { display:grid; place-items:center; width:25px; height:25px; flex:none; border-radius:50%; background:#115e590d; }
.qb-home-benefit-seal svg { width:13px; height:13px; stroke-width:2.6; }
.qb-home-referral-badge-mini { height:auto; min-height:0; gap:0; padding:0 0 0 7px; border-left:1px solid #115e5940; border-radius:0; background:transparent; font-size:11px; font-weight:650; letter-spacing:-.3px; }
.qb-home-badges { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:20px; }
.qb-home .qb-home-membership.qb-home-primary .qb-home-badges > .founder-badge { box-sizing:border-box; margin:0; height:36px; min-height:36px; padding:4px 10px 4px 5px; gap:7px; border:1px solid #fff7e9bd; background:#fff5dfa8; color:#4c361e; font-size:11px; font-weight:600; letter-spacing:-.15px; }
.qb-home-badges .founder-medal-crown { width:26px; height:26px; background:#352719; color:#ffe1a2; clip-path:polygon(50% 0,94% 25%,94% 75%,50% 100%,6% 75%,6% 25%); }
.qb-home-badges .founder-medal-crown svg { width:17px; height:17px; fill:none; stroke-width:2.2; }
@media (max-width:400px) {
  .qb-home-facts > .qb-home-level-fact { padding-inline:6px; }
  .qb-home-facts dd.qb-home-benefit-level { font-size:18px; gap:5px; }
}
.qb-home-avatar, .qb-home-history { margin:24px 0 0; padding:20px; border:1px solid var(--home-border); border-radius:22px; background:#fff; }
.qb-home-avatar-cycle { margin:0; color:var(--home-accent); font-size:24px; font-weight:750; }
.qb-home-avatar-facts > div { background:var(--home-soft); }
.qb-home-avatar button { min-height:44px; }
.qb-home-history summary { cursor:pointer; font-weight:650; }
.qb-home .qb-home-emblem { display:grid; z-index:1; flex:0 0 96px; width:96px; height:96px; place-items:center; border:1px solid #ffffffb8; border-radius:28px; background:#fff8e7b8; box-shadow:0 8px 20px #75400014; }
.qb-home .qb-home-emblem svg { width:72px; height:72px; }
.qb-home .qb-home-assets, .qb-home .qb-home-bot { min-width:0; margin:0; padding:24px; border:1px solid var(--home-border); border-radius:22px; background:#fff; box-shadow:0 8px 26px #221e160a; }
.qb-home .qb-home-section-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin-bottom:24px; }
.qb-home .qb-home-section-heading h3, .qb-home .qb-home-shortcuts h3 { margin:0; font-size:22px; letter-spacing:-.035em; }
.qb-home .qb-home-detail { min-height:52px; padding:8px 0; gap:4px; color:var(--home-accent); border-radius:10px; }
.qb-home .qb-home-detail .qb-home-link-icon { display:none; }
.qb-home .qb-home-detail .qb-home-link-copy strong { font-size:16px; }
.qb-home .qb-home-assets > .stat { display:grid; grid-template-columns:46px minmax(0,1fr); column-gap:14px; padding:0; margin:0; border:0; box-shadow:none; }
.qb-home .qb-home-assets .stat-icon { grid-column:1; grid-row:1 / 4; display:grid; place-items:center; width:46px; height:46px; margin:0; color:var(--home-accent); background:var(--home-soft); border-radius:15px; }
.qb-home .qb-home-assets .stat-icon svg { width:24px; height:24px; }
.qb-home .qb-home-assets .stat-label, .qb-home .qb-home-assets .stat-value, .qb-home .qb-home-assets .stat-note { grid-column:2; min-width:0; }
.qb-home .qb-home-assets .stat-label { color:var(--home-muted); font-size:18px; }
.qb-home .qb-home-assets .stat-value { margin:3px 0; color:var(--home-ink); font-size:32px; line-height:1.4; letter-spacing:-.04em; overflow-wrap:anywhere; }
.qb-home .qb-home-assets .stat-note { color:var(--home-muted); font-size:16px; overflow-wrap:anywhere; }
.qb-home .point-deposit { padding:22px 0 0; margin:24px 0 0; border:0; border-top:1px solid var(--home-border); border-radius:0; box-shadow:none; background:transparent; }
.qb-home .point-deposit .period-title { margin:0 0 12px; font-size:18px; }
.qb-home .deposit-countdown { margin:0 0 18px; font-size:18px; line-height:1.6; }
.qb-home .deposit-remaining { color:var(--home-accent); font-size:24px; }
.qb-home .deposit-meter { display:block; width:100%; height:8px; overflow:hidden; appearance:none; border:0; border-radius:999px; background:#edeae4; accent-color:#f59d0a; }
.qb-home .deposit-meter::-webkit-progress-bar { background:#edeae4; border-radius:999px; }
.qb-home .deposit-meter::-webkit-progress-value { background:#f59d0a; border-radius:999px; }
.qb-home .deposit-meter::-moz-progress-bar { background:#f59d0a; border-radius:999px; }
.qb-home .deposit-meta { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin-top:14px; padding:14px; background:#f8f7f4; border-radius:14px; }
.qb-home .deposit-date { display:flex; flex-wrap:wrap; gap:5px; font-size:16px; }
.qb-home .deposit-unlock-date { font-size:18px; color:var(--home-ink); }
.qb-home .deposit-percent { color:var(--home-muted); font-size:16px; }
.qb-home .withdrawal-button { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:56px; margin-top:20px; padding:14px; border:1px solid #e6d2a6; border-radius:15px; background:#fff4d8; color:#7a6237; font-size:18px; box-shadow:none; }
.qb-home .withdrawal-button:disabled { opacity:1; cursor:not-allowed; }
.qb-home .withdrawal-button.is-ready { border-color:#f0b02b; background:linear-gradient(135deg,#ffc33b,#f4a000); color:#352000; box-shadow:0 8px 18px #e1890024; }
.qb-home .qb-home-bot { align-self:start; }
.qb-home .qb-home-bot .period-heading { flex-wrap:wrap; gap:12px; }
.qb-home .qb-home-bot .period-title { margin:0; font-size:22px; }
.qb-home .qb-home-bot .period-end-date { margin:20px 0 10px; font-size:26px; color:var(--home-ink); }
.qb-home .qb-home-bot .period-countdown { font-size:18px; color:var(--home-muted); }
.qb-home .qb-home-bot .period-caption, .qb-home .qb-home-bot .period-pending, .qb-home .qb-home-bot .period-applied, .qb-home .withdrawal-hint { font-size:16px; color:var(--home-muted); line-height:1.7; }
.qb-home .qb-home-shortcuts { margin-top:32px; }
.qb-home .qb-home-menu { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:16px; overflow:hidden; border:1px solid var(--home-border); border-radius:22px; background:#fff; box-shadow:0 8px 26px #221e160a; }
.qb-home .qb-home-menu .qb-home-link { width:100%; border-bottom:1px solid var(--home-border); }
.qb-home .qb-home-menu .qb-home-link:nth-child(odd) { border-right:1px solid var(--home-border); }
.qb-home .qb-home-menu .qb-home-link:nth-last-child(-n+2) { border-bottom:0; }
.qb-home .qb-home-benefits { width:100%; margin-top:24px; border-radius:19px; background:#ebe9e4; }
.qb-home .qb-home-benefits .qb-home-link-icon { background:transparent; }
@media (max-width:1000px) {
  .qb-home .qb-home-summary { grid-template-columns:minmax(0,1fr); }
  .qb-home .qb-home-menu { grid-template-columns:minmax(0,1fr); }
  .qb-home .qb-home-menu .qb-home-link:nth-child(odd) { border-right:0; }
  .qb-home .qb-home-menu .qb-home-link:nth-last-child(2) { border-bottom:1px solid var(--home-border); }
}
@media (max-width:760px) {
  #app-view[data-page="overview"][data-admin-ia="false"] { position:relative; }
  #app-view[data-page="overview"][data-admin-ia="false"] .sidebar { min-height:84px; padding-top:22px; padding-bottom:22px; }
  #app-view[data-page="overview"][data-admin-ia="false"] .topbar { position:absolute; top:0; right:16px; min-height:84px; padding:8px 0; border:0; background:transparent; }
  #app-view[data-page="overview"][data-admin-ia="false"] .user-menu { gap:6px; }
  #app-view[data-page="overview"][data-admin-ia="false"] #user-label,
  #app-view[data-page="overview"][data-admin-ia="false"] #breadcrumb { display:none; }
  #app-view[data-page="overview"][data-admin-ia="false"] .topbar .text-button { font-size:16px; padding:4px 6px; }
  #app-view[data-page="overview"][data-admin-ia="false"] .main-content { padding:24px 20px; }
  #app-view[data-page="overview"][data-admin-ia="false"] #navigation { background:#fffffff5; border-top-color:#e9e6df; }
  #app-view[data-page="overview"][data-admin-ia="false"] #navigation .nav-icon { border-radius:12px; background:transparent; color:#747b86; }
  #app-view[data-page="overview"][data-admin-ia="false"] #navigation .active .nav-icon { color:#925000; background:#fff2cd; box-shadow:none; }
  #app-view[data-page="overview"][data-admin-ia="false"] #navigation button.active::before { display:none; }
  .qb-home .qb-home-welcome { gap:12px; margin-bottom:24px; }
  .qb-home .qb-home-welcome h2 { font-size:27px; }
  .qb-home .qb-home-profile .qb-home-link-copy { display:none; }
  .qb-home .qb-home-profile { min-width:52px; }
  .qb-home .qb-home-membership { padding:24px; }
  .qb-home .qb-home-membership h2 { font-size:30px; }
  .qb-home .qb-home-emblem { width:72px; height:72px; flex-basis:72px; border-radius:22px; }
  .qb-home .qb-home-emblem svg { width:54px; height:54px; }
  .qb-home .qb-home-assets, .qb-home .qb-home-bot { padding:22px 20px; }
  .qb-home .qb-home-section-heading h3 { font-size:21px; }
  .qb-home .qb-home-assets .stat-value { font-size:30px; }
  .qb-home .qb-home-benefits { padding:18px 14px; gap:10px; }
}
@media (max-width:360px) {
  #app-view[data-page="overview"][data-admin-ia="false"] .sidebar { padding-left:16px; }
  #app-view[data-page="overview"][data-admin-ia="false"] .sidebar .brand { font-size:20px; gap:4px; }
  #app-view[data-page="overview"][data-admin-ia="false"] .sidebar .brand-mark { width:28px; height:28px; }
  #app-view[data-page="overview"][data-admin-ia="false"] .topbar { right:10px; }
  #app-view[data-page="overview"][data-admin-ia="false"] .topbar .text-button { font-size:15px; padding:4px; }
  #app-view[data-page="overview"][data-admin-ia="false"] .main-content { padding-right:16px; padding-left:16px; }
  .qb-home .qb-home-membership { padding:22px 18px; }
  .qb-home .qb-home-emblem { flex-basis:56px; width:56px; height:56px; }
  .qb-home .qb-home-emblem svg { width:44px; height:44px; }
  .qb-home .qb-home-assets, .qb-home .qb-home-bot { padding:20px 16px; }
  .qb-home .qb-home-link { padding-right:14px; padding-left:14px; }
}

/* Figma account presentation. All rules are limited to the member profile view. */
#app-view[data-page="profile"][data-admin-ia="false"] .workspace { background:radial-gradient(circle at 100% 0,#ffd77d26,transparent 460px),#f6f5f2; }
#app-view[data-page="profile"][data-admin-ia="false"] .page-heading { max-width:1040px; margin:0 auto 24px; }
#app-view[data-page="profile"][data-admin-ia="false"] .page-heading .muted { display:none; }
#app-view[data-page="profile"][data-admin-ia="false"] #page-title { font-size:22px; margin:0; }
#app-view[data-page="profile"][data-admin-ia="false"] #refresh { background:#fff; border-radius:14px; }
#member-profile-view {
  --profile-ink:#171a1f; --profile-muted:#626873; --profile-accent:#925000;
  --profile-soft:#fff8e7; --profile-border:#e9e6df;
  display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:24px;
  max-width:1040px; margin:0 auto; padding:0; border:0; color:var(--profile-ink); background:transparent;
}
#member-profile-view > .panel, #member-profile-view > .period-card, #member-profile-view > .account-details {
  min-width:0; margin:0; padding:24px; border:1px solid var(--profile-border); border-radius:22px;
  background:#fff; box-shadow:0 8px 26px #221e160a;
}
#member-profile-view .panel-title { flex-wrap:wrap; gap:8px 16px; margin-bottom:22px; padding:0; border:0; }
#member-profile-view .panel-title h3 { font-size:22px; margin:0; color:var(--profile-ink); }
#member-profile-view .panel-title h3::before { display:none; }
#member-profile-view .panel-title > span { font-size:14px; color:var(--profile-accent); font-weight:750; letter-spacing:.03em; }
#member-profile-view .qb-profile-identity { grid-column:1 / -1; padding:28px; }
#member-profile-view .account-intro { justify-content:flex-start; gap:20px; padding:0; }
#member-profile-view .account-avatar { order:-1; align-self:flex-start; flex:0 0 80px; width:80px; height:80px; padding:15px; border:1px solid #f2d184; border-radius:24px; background:linear-gradient(135deg,#fff4cd,#ffcf59); }
#member-profile-view .account-greeting { min-width:0; }
#member-profile-view .qb-profile-label { margin:0 0 5px; color:var(--profile-muted); font-size:16px; }
#member-profile-view .account-greeting h2 { margin:0 0 6px; font-size:28px; line-height:1.45; letter-spacing:-.04em; }
#member-profile-view .account-name { background:none; }
#member-profile-view .account-honorific { font-size:20px; }
#member-profile-view .account-welcome { margin:0 0 8px; color:var(--profile-muted); font-size:18px; }
#member-profile-view .account-email { margin:0; font-size:16px; line-height:1.7; color:var(--profile-muted); overflow-wrap:anywhere; }
#member-profile-view .account-level { display:inline-block; margin:12px 0 0; padding:6px 12px; border:1px solid #f4dfae; border-radius:10px; background:var(--profile-soft); color:var(--profile-accent); font-size:16px; line-height:1.6; }
#member-profile-view .qb-profile-basic { margin-top:26px; padding-top:22px; border-top:1px solid var(--profile-border); }
#member-profile-view .qb-profile-basic h4 { margin:0 0 18px; font-size:18px; }
#member-profile-view .member-profile { display:grid; grid-template-columns:minmax(96px,.35fr) minmax(0,1fr); gap:14px 24px; margin:0; }
#member-profile-view .member-profile dt { min-width:0; font-size:16px; color:var(--profile-muted); line-height:1.7; }
#member-profile-view .member-profile dd { min-width:0; margin:0; font-size:18px; line-height:1.6; color:var(--profile-ink); overflow-wrap:anywhere; }
#member-profile-view .qb-profile-readonly { margin:20px 0 0; font-size:16px; line-height:1.7; color:var(--profile-muted); }
#member-profile-view .qb-profile-bot { grid-column:2; grid-row:2; align-self:start; }
#member-profile-view .period-heading { flex-wrap:wrap; gap:12px; }
#member-profile-view .period-title { margin:0; font-size:22px; }
#member-profile-view .period-end-date { margin:20px 0 10px; font-size:26px; color:var(--profile-ink); }
#member-profile-view .period-countdown { font-size:18px; color:var(--profile-muted); }
#member-profile-view .period-caption, #member-profile-view .period-pending, #member-profile-view .period-applied,
#member-profile-view .withdrawal-hint { font-size:16px; line-height:1.7; color:var(--profile-muted); }
#member-profile-view .account-points-card { grid-column:1; grid-row:2; }
#member-profile-view .account-points { margin:0 0 6px; color:var(--profile-ink); font-size:32px; font-weight:750; line-height:1.4; overflow-wrap:anywhere; }
#member-profile-view .qb-profile-value-note { margin:0; color:var(--profile-muted); font-size:16px; overflow-wrap:anywhere; }
#member-profile-view .point-deposit { margin:24px 0 0; padding:22px 0 0; border:0; border-top:1px solid var(--profile-border); border-radius:0; background:transparent; box-shadow:none; }
#member-profile-view .point-deposit .period-title { margin:0 0 12px; font-size:18px; }
#member-profile-view .deposit-countdown { margin:0 0 18px; font-size:18px; line-height:1.6; }
#member-profile-view .deposit-remaining { color:var(--profile-accent); font-size:24px; }
#member-profile-view .deposit-meter { display:block; width:100%; height:8px; overflow:hidden; appearance:none; border:0; border-radius:999px; background:#edeae4; accent-color:#f59d0a; }
#member-profile-view .deposit-meter::-webkit-progress-bar { background:#edeae4; border-radius:999px; }
#member-profile-view .deposit-meter::-webkit-progress-value { background:#f59d0a; border-radius:999px; }
#member-profile-view .deposit-meter::-moz-progress-bar { background:#f59d0a; border-radius:999px; }
#member-profile-view .deposit-meta { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin-top:14px; padding:14px; background:#f8f7f4; border-radius:14px; }
#member-profile-view .deposit-date { display:flex; flex-wrap:wrap; gap:5px; font-size:16px; }
#member-profile-view .deposit-unlock-date { font-size:18px; color:var(--profile-ink); }
#member-profile-view .deposit-percent { font-size:16px; color:var(--profile-muted); }
#member-profile-view .withdrawal-button { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:56px; margin-top:20px; padding:14px; border:1px solid #e6d2a6; border-radius:15px; background:#fff4d8; color:#7a6237; font-size:18px; box-shadow:none; }
#member-profile-view .withdrawal-button:disabled { opacity:1; cursor:not-allowed; }
#member-profile-view .withdrawal-button.is-ready { border-color:#f0b02b; background:linear-gradient(135deg,#ffc33b,#f4a000); color:#352000; box-shadow:0 8px 18px #e1890024; }
#member-profile-view .account-menu { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-column:1 / -1; padding:0; overflow:hidden; }
#member-profile-view .account-menu .panel-title { grid-column:1 / -1; margin:0; padding:22px 24px; border-bottom:1px solid var(--profile-border); }
#member-profile-view .account-row { gap:14px; min-height:78px; padding:18px 20px; font-size:18px; color:var(--profile-ink); border-bottom:1px solid var(--profile-border); background:transparent; }
#member-profile-view .account-menu > .account-row:nth-child(even) { border-right:1px solid var(--profile-border); }
#member-profile-view .account-menu > .account-row:nth-last-child(2) { border-bottom:0; }
#member-profile-view .account-row-icon { display:grid; flex:0 0 44px; width:44px; height:44px; padding:10px; place-items:center; border-radius:14px; background:var(--profile-soft); color:var(--profile-accent); }
#member-profile-view .account-row-icon::before { display:none; }
#member-profile-view .account-chevron { width:18px; height:18px; flex-basis:18px; color:#7b818a; }
#member-profile-view .account-row:hover { background:var(--profile-soft); }
#member-profile-view .account-menu .account-logout { min-height:78px; padding:18px 20px; margin:0; border:0; border-radius:0; background:#fff8f6; color:#a14436; font-size:18px; font-weight:650; text-align:left; text-decoration:none; }
#member-profile-view .account-menu .account-logout:hover { background:#fff0ed; }
#member-profile-view .account-details { grid-column:1 / -1; padding:0 20px; }
#member-profile-view .account-details > .account-row { padding-left:0; padding-right:0; border:0; border-radius:18px; }
#member-profile-view .account-details-body { padding:0 4px 24px; border:0; }
#member-profile-view .account-details-body .muted { margin:18px 0 0; font-size:16px; color:var(--profile-muted); }
#member-profile-view button:focus-visible, #member-profile-view summary:focus-visible, #member-profile-view a:focus-visible { outline:3px solid #925000; outline-offset:-4px; }
@media (min-width:1001px) {
  #member-profile-view .qb-profile-identity { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:0 28px; }
  #member-profile-view .qb-profile-identity > .panel-title { grid-column:1 / -1; }
  #member-profile-view .qb-profile-identity .account-intro { align-self:start; }
  #member-profile-view .qb-profile-basic { margin:0; padding:0 0 0 28px; border-top:0; border-left:1px solid var(--profile-border); }
  #member-profile-view .qb-profile-basic .member-profile { grid-template-columns:108px minmax(0,1fr); gap:10px 18px; }
}
@media (max-width:1000px) {
  #member-profile-view { grid-template-columns:minmax(0,1fr); }
  #member-profile-view .qb-profile-bot, #member-profile-view .account-points-card { grid-column:auto; grid-row:auto; }
  #member-profile-view .account-menu { grid-template-columns:minmax(0,1fr); }
  #member-profile-view .account-menu > .account-row:nth-child(even) { border-right:0; }
  #member-profile-view .account-menu > .account-row:nth-last-child(2) { border-bottom:1px solid var(--profile-border); }
}
@media (max-width:760px) {
  #app-view[data-page="profile"][data-admin-ia="false"] { position:relative; }
  #app-view[data-page="profile"][data-admin-ia="false"] .sidebar { min-height:84px; padding-top:22px; padding-bottom:22px; }
  #app-view[data-page="profile"][data-admin-ia="false"] .topbar { display:flex; position:absolute; top:0; right:16px; min-height:84px; padding:8px 0; border:0; background:transparent; }
  #app-view[data-page="profile"][data-admin-ia="false"] .user-menu { gap:6px; }
  #app-view[data-page="profile"][data-admin-ia="false"] #user-label,
  #app-view[data-page="profile"][data-admin-ia="false"] #breadcrumb { display:none; }
  #app-view[data-page="profile"][data-admin-ia="false"] .topbar .text-button { font-size:16px; padding:4px 6px; }
  #app-view[data-page="profile"][data-admin-ia="false"] .main-content { padding:24px 20px; }
  #app-view[data-page="profile"][data-admin-ia="false"] #navigation { background:#fffffff5; border-top-color:#e9e6df; }
  #app-view[data-page="profile"][data-admin-ia="false"] #navigation .nav-icon { border-radius:12px; background:transparent; color:#747b86; }
  #app-view[data-page="profile"][data-admin-ia="false"] #navigation .active .nav-icon { color:#925000; background:#fff2cd; box-shadow:none; }
  #app-view[data-page="profile"][data-admin-ia="false"] #navigation button.active::before { display:none; }
  #member-profile-view .qb-profile-identity, #member-profile-view .qb-profile-bot, #member-profile-view .account-points-card { padding:22px 20px; }
  #member-profile-view .account-intro { gap:16px; }
  #member-profile-view .account-avatar { flex-basis:60px; width:60px; height:60px; padding:11px; border-radius:18px; }
  #member-profile-view .account-greeting h2 { font-size:24px; }
  #member-profile-view .member-profile { grid-template-columns:minmax(80px,.5fr) minmax(0,1fr); gap:14px 16px; }
  #member-profile-view .member-profile dd { font-size:16px; }
}
@media (max-width:360px) {
  #app-view[data-page="profile"][data-admin-ia="false"] .sidebar { padding-left:16px; }
  #app-view[data-page="profile"][data-admin-ia="false"] .sidebar .brand { font-size:20px; gap:4px; }
  #app-view[data-page="profile"][data-admin-ia="false"] .sidebar .brand-mark { width:28px; height:28px; }
  #app-view[data-page="profile"][data-admin-ia="false"] .topbar { right:10px; }
  #app-view[data-page="profile"][data-admin-ia="false"] .topbar .text-button { font-size:15px; padding:4px; }
  #app-view[data-page="profile"][data-admin-ia="false"] .main-content { padding-right:16px; padding-left:16px; }
  #member-profile-view .qb-profile-identity, #member-profile-view .qb-profile-bot, #member-profile-view .account-points-card { padding:20px 16px; }
  #member-profile-view .account-intro { gap:12px; }
  #member-profile-view .account-avatar { flex-basis:48px; width:48px; height:48px; padding:8px; border-radius:15px; }
  #member-profile-view .account-row { padding:16px 14px; }
  #member-profile-view .member-profile { grid-template-columns:minmax(72px,.5fr) minmax(0,1fr); gap:12px; }
}

/* Figma point history. Scope every rule to the member points page. */
#app-view[data-page="points"][data-admin-ia="false"] .workspace { background:radial-gradient(circle at 100% 0,#ffd77d26,transparent 460px),#f6f5f2; }
#app-view[data-page="points"][data-admin-ia="false"] .page-heading { max-width:1040px; margin:0 auto 24px; }
#app-view[data-page="points"][data-admin-ia="false"] .page-heading .muted { display:none; }
#app-view[data-page="points"][data-admin-ia="false"] #page-title { font-size:22px; margin:0; }
#app-view[data-page="points"][data-admin-ia="false"] #refresh { background:#fff; border-radius:14px; }
#member-points-view { --points-ink:#171a1f; --points-muted:#626873; --points-accent:#925000; --points-soft:#fff8e7; --points-border:#e9e6df; max-width:1040px; margin:0 auto; color:var(--points-ink); }
#member-points-view .qb-points-intro { margin-bottom:28px; }
#member-points-view .qb-points-eyebrow { margin:0 0 7px; color:var(--points-accent); font-size:14px; font-weight:800; letter-spacing:.05em; }
#member-points-view .qb-points-intro h2 { margin:0; font-size:30px; line-height:1.4; letter-spacing:-.04em; }
#member-points-view .qb-points-description { margin:9px 0 0; font-size:18px; color:var(--points-muted); line-height:1.6; }
#member-points-view .qb-points-hero { position:relative; isolation:isolate; overflow:hidden; padding:28px; border:1px solid #e5ab3f; border-radius:26px; color:#352000; background:linear-gradient(125deg,#ffcf59 0%,#ffb20f 65%,#f79a00 100%); box-shadow:0 12px 30px #d67d0024; }
#member-points-view .qb-points-hero::after { position:absolute; z-index:-1; right:-50px; top:-60px; width:240px; height:240px; content:""; border:44px solid #ffffff26; border-radius:50%; pointer-events:none; }
#member-points-view .qb-points-hero h3 { margin:0 0 8px; font-size:18px; }
#member-points-view .qb-points-mark { float:right; display:grid; width:72px; height:72px; margin:0 0 18px 18px; place-items:center; border:1px solid #ffffffb8; border-radius:22px; background:#fff8e7b8; color:#925000; }
#member-points-view .qb-points-mark svg { width:36px; height:36px; }
#member-points-view .qb-points-balance { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 10px; margin:0; line-height:1.25; }
#member-points-view .qb-points-balance strong { min-width:0; font-size:44px; font-weight:800; letter-spacing:-.04em; overflow-wrap:anywhere; }
#member-points-view .qb-points-balance > span { font-size:22px; font-weight:700; }
#member-points-view .qb-points-equivalent { margin:10px 0 0; font-size:16px; color:#624000; line-height:1.7; overflow-wrap:anywhere; }
#member-points-view .qb-points-period { clear:both; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-top:24px; padding:16px 18px; border:1px solid #ffffffb8; border-radius:16px; background:#fff8e799; }
#member-points-view .qb-points-period > div { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 16px; min-width:0; }
#member-points-view .qb-points-period-label { font-size:16px; }
#member-points-view .qb-points-remaining { font-size:22px; }
#member-points-view .qb-points-unlock { font-size:16px; color:#624000; }
#member-points-view .qb-points-home { display:flex; align-items:center; gap:8px; min-height:44px; padding:8px 0; border:0; border-radius:8px; color:#624000; background:transparent; font-size:16px; text-align:left; white-space:normal; }
#member-points-view .qb-points-home svg { flex:0 0 18px; width:18px; height:18px; }
#member-points-view .qb-points-home:hover { text-decoration:underline; text-underline-offset:4px; }
#member-points-view .qb-points-notice { display:flex; align-items:flex-start; gap:12px; margin:22px 0 32px; padding:16px 18px; border:1px solid var(--points-border); border-radius:16px; background:#fffdf7; color:var(--points-muted); font-size:16px; line-height:1.8; }
#member-points-view .qb-points-notice svg { flex:0 0 22px; width:22px; height:22px; margin-top:3px; color:var(--points-accent); }
#member-points-view .qb-points-history-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin-bottom:18px; }
#member-points-view .qb-points-history-heading h3 { margin:0; font-size:22px; }
#member-points-view .qb-points-history-heading > span { font-size:16px; color:var(--points-muted); }
#member-points-view .qb-points-list { list-style:none; margin:0; padding:0 24px; border:1px solid var(--points-border); border-radius:22px; background:#fff; box-shadow:0 8px 26px #221e160a; }
#member-points-view .qb-points-row { display:flex; align-items:center; gap:16px; min-height:108px; margin:0; padding:22px 0; }
#member-points-view .qb-points-row + .qb-points-row { border-top:1px solid var(--points-border); }
#member-points-view .qb-points-row-icon { flex:0 0 46px; display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:var(--points-soft); color:var(--points-accent); }
#member-points-view .qb-points-row-icon svg { width:24px; height:24px; }
#member-points-view .qb-points-row-copy { display:flex; flex:1; min-width:0; flex-direction:column; gap:7px; }
#member-points-view .qb-points-reason { max-width:100%; min-height:30px; padding:0; font-size:18px; font-weight:700; line-height:1.6; text-align:left; white-space:normal; overflow-wrap:anywhere; }
#member-points-view .readable-datetime, #member-points-view .readable-datetime time { font-size:16px; font-weight:400; line-height:1.7; color:var(--points-muted); overflow-wrap:anywhere; }
#member-points-view .qb-points-amount { flex:0 1 auto; max-width:45%; font-size:22px; font-weight:750; line-height:1.5; text-align:right; color:var(--points-accent); overflow-wrap:anywhere; }
#member-points-view .qb-points-empty { padding:48px 24px; border:1px solid var(--points-border); border-radius:22px; background:#fff; color:var(--points-muted); font-size:18px; line-height:1.8; text-align:center; }
#member-points-view .qb-points-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; margin:24px 0 0; font-size:16px; }
#member-points-view .qb-points-pagination button { min-height:48px; min-width:76px; padding:10px 16px; border:1px solid var(--points-border); border-radius:12px; background:#fff; font-size:16px; }
#member-points-view .qb-points-pagination button:disabled { color:#858b94; background:#f0efeb; cursor:not-allowed; box-shadow:none; }
#member-points-view button:focus-visible { outline:3px solid #925000; outline-offset:3px; }
@media (max-width:760px) {
  #app-view[data-page="points"][data-admin-ia="false"] { position:relative; }
  #app-view[data-page="points"][data-admin-ia="false"] .sidebar { min-height:84px; padding-top:22px; padding-bottom:22px; }
  #app-view[data-page="points"][data-admin-ia="false"] .topbar { display:flex; position:absolute; top:0; right:16px; min-height:84px; padding:8px 0; border:0; background:transparent; }
  #app-view[data-page="points"][data-admin-ia="false"] .user-menu { gap:6px; }
  #app-view[data-page="points"][data-admin-ia="false"] #user-label, #app-view[data-page="points"][data-admin-ia="false"] #breadcrumb { display:none; }
  #app-view[data-page="points"][data-admin-ia="false"] .topbar .text-button { font-size:16px; padding:4px 6px; }
  #app-view[data-page="points"][data-admin-ia="false"] .main-content { padding:24px 20px; }
  #app-view[data-page="points"][data-admin-ia="false"] #navigation { background:#fffffff5; border-top-color:#e9e6df; }
  #app-view[data-page="points"][data-admin-ia="false"] #navigation .nav-icon { border-radius:12px; background:transparent; color:#747b86; }
  #app-view[data-page="points"][data-admin-ia="false"] #navigation .active .nav-icon { color:#925000; background:#fff2cd; box-shadow:none; }
  #app-view[data-page="points"][data-admin-ia="false"] #navigation button.active::before { display:none; }
  #member-points-view .qb-points-intro h2 { font-size:26px; }
  #member-points-view .qb-points-hero { padding:24px 20px; border-radius:22px; }
  #member-points-view .qb-points-mark { width:52px; height:52px; margin-left:12px; border-radius:16px; }
  #member-points-view .qb-points-mark svg { width:28px; height:28px; }
  #member-points-view .qb-points-balance strong { font-size:36px; }
  #member-points-view .qb-points-period { gap:8px; padding:16px; }
  #member-points-view .qb-points-period > div { gap:6px 12px; }
  #member-points-view .qb-points-unlock { flex-basis:100%; }
  #member-points-view .qb-points-list { padding:0 18px; }
  #member-points-view .qb-points-row { flex-wrap:wrap; gap:12px; }
  #member-points-view .qb-points-row-icon { flex-basis:40px; width:40px; height:40px; }
  #member-points-view .qb-points-row-copy { flex-basis:calc(100% - 52px); }
  #member-points-view .qb-points-amount { max-width:100%; margin-left:52px; font-size:20px; text-align:left; }
}
@media (max-width:360px) {
  #app-view[data-page="points"][data-admin-ia="false"] .sidebar { padding-left:16px; }
  #app-view[data-page="points"][data-admin-ia="false"] .sidebar .brand { font-size:20px; gap:4px; }
  #app-view[data-page="points"][data-admin-ia="false"] .sidebar .brand-mark { width:28px; height:28px; }
  #app-view[data-page="points"][data-admin-ia="false"] .topbar { right:10px; }
  #app-view[data-page="points"][data-admin-ia="false"] .topbar .text-button { font-size:15px; padding:4px; }
  #app-view[data-page="points"][data-admin-ia="false"] .main-content { padding-right:16px; padding-left:16px; }
  #member-points-view .qb-points-hero { padding:20px 16px; }
  #member-points-view .qb-points-intro h2 { font-size:24px; }
  #member-points-view .qb-points-mark { display:none; }
}

/* Figma payment records. Applicant and administrator views keep their existing styles. */
#app-view[data-page="payments"][data-admin-ia="false"] .workspace { background:radial-gradient(circle at 100% 0,#ffd77d26,transparent 460px),#f6f5f2; }
#app-view[data-page="payments"][data-admin-ia="false"] .page-heading { max-width:1040px; margin:0 auto 24px; }
#app-view[data-page="payments"][data-admin-ia="false"] .page-heading .muted { display:none; }
#app-view[data-page="payments"][data-admin-ia="false"] #page-title { font-size:22px; margin:0; }
#app-view[data-page="payments"][data-admin-ia="false"] #refresh { background:#fff; border-radius:14px; }
#member-payments-view { --payments-ink:#171a1f; --payments-muted:#626873; --payments-accent:#925000; --payments-soft:#fff8e7; --payments-border:#e9e6df; max-width:1040px; margin:0 auto; color:var(--payments-ink); }
#member-payments-view .qb-payments-intro { margin-bottom:26px; }
#member-payments-view .qb-payments-eyebrow { margin:0 0 7px; color:var(--payments-accent); font-size:14px; font-weight:800; letter-spacing:.05em; }
#member-payments-view .qb-payments-intro h2 { margin:0; font-size:30px; line-height:1.4; letter-spacing:-.04em; }
#member-payments-view .qb-payments-description { margin:9px 0 0; font-size:18px; color:var(--payments-muted); line-height:1.6; }
#member-payments-view .qb-payments-notice { display:flex; align-items:flex-start; gap:12px; padding:16px 18px; border:1px solid #f0dfb6; border-radius:16px; background:var(--payments-soft); color:#6e4c18; font-size:16px; line-height:1.8; }
#member-payments-view .qb-payments-notice svg { flex:0 0 22px; width:22px; height:22px; margin-top:3px; }
#member-payments-view .qb-payments-notice p { margin:0; overflow-wrap:anywhere; }
#member-payments-view .error:empty { display:none; }
#member-payments-view .payment-submitted { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 16px; padding:0; margin:18px 0 0; background:transparent; color:var(--payments-muted); font-size:16px; }
#member-payments-view .payment-submitted strong { font-weight:600; }
#member-payments-view .qb-payments-history { margin-top:32px; }
#member-payments-view .qb-payments-history-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; }
#member-payments-view .qb-payments-history-heading h3 { margin:0; font-size:22px; }
#member-payments-view .qb-payments-history-heading > span { font-size:16px; color:var(--payments-muted); }
#member-payments-view .qb-payments-history-note { margin:10px 0 20px; font-size:16px; line-height:1.8; color:var(--payments-muted); }
#member-payments-view .qb-payments-list { padding:0 24px; border:1px solid var(--payments-border); border-radius:22px; background:#fff; box-shadow:0 8px 26px #221e160a; }
#member-payments-view .payment-record-card { padding:24px 0; margin:0; border:0; border-radius:0; background:transparent; }
#member-payments-view .payment-record-card + .payment-record-card { border-top:1px solid var(--payments-border); }
#member-payments-view .qb-payment-heading { display:flex; align-items:center; flex-wrap:wrap; gap:12px 16px; }
#member-payments-view .qb-payment-icon { display:grid; flex:0 0 46px; place-items:center; width:46px; height:46px; border-radius:14px; background:var(--payments-soft); color:var(--payments-accent); }
#member-payments-view .qb-payment-icon svg { width:24px; height:24px; }
#member-payments-view .qb-payment-heading h4 { flex:1; margin:0; font-size:18px; line-height:1.6; }
#member-payments-view .qb-payment-amount { max-width:100%; font-size:22px; font-weight:750; line-height:1.5; color:var(--payments-ink); overflow-wrap:anywhere; }
#member-payments-view .payment-record-status { gap:8px; margin:16px 0 20px 62px; }
#member-payments-view .payment-record-status .pill { max-width:100%; min-height:36px; padding:6px 12px; border-radius:999px; font-size:15px; line-height:1.6; white-space:normal; text-align:left; }
#member-payments-view .payment-record-dates { display:grid; grid-template-columns:minmax(110px,1fr) minmax(0,3fr); gap:12px 24px; margin:0 0 0 62px; padding:18px 20px; border-radius:14px; background:#f8f7f4; font-size:16px; line-height:1.7; }
#member-payments-view .payment-record-dates dt { color:var(--payments-muted); }
#member-payments-view .payment-record-dates dd { min-width:0; margin:0; }
#member-payments-view .readable-datetime, #member-payments-view .readable-datetime time { font-size:16px; font-weight:400; line-height:1.7; overflow-wrap:anywhere; }
#member-payments-view .payment-record-card .notice { margin:16px 0 0 62px; padding:14px 16px; border:1px solid var(--payments-border); border-radius:14px; background:#fffdf7; color:var(--payments-muted); font-size:16px; line-height:1.8; overflow-wrap:anywhere; white-space:pre-wrap; }
#member-payments-view .qb-payments-empty { padding:48px 24px; border:1px solid var(--payments-border); border-radius:22px; background:#fff; color:var(--payments-muted); font-size:18px; line-height:1.8; text-align:center; }
#member-payments-view .qb-payments-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; margin:24px 0; font-size:16px; }
#member-payments-view .qb-payments-pagination button { min-height:48px; min-width:76px; padding:10px 16px; border:1px solid var(--payments-border); border-radius:12px; background:#fff; font-size:16px; }
#member-payments-view .qb-payments-pagination button:disabled { color:#858b94; background:#f0efeb; cursor:not-allowed; box-shadow:none; }
#member-payments-view .payment-submission { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; margin:28px 0 0; padding:18px 20px; border:1px solid var(--payments-border); border-radius:16px; background:#f0efeb; }
#member-payments-view .payment-submission button { min-height:44px; border-color:#d9d6cf; border-radius:12px; color:#767b83; background:transparent; font-size:16px; }
#member-payments-view .payment-submission p { margin:0; color:var(--payments-muted); font-size:16px; line-height:1.8; }
#member-payments-view .payment-guide { margin:24px 0; padding:24px; border-color:var(--payments-border); background:#fffdf7; }
#member-payments-view .payment-guide h3 { margin-top:0; font-size:20px; }
#member-payments-view .payment-guide .content-body { font-size:16px; }
#member-payments-view .payment-guide .detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); font-size:16px; }
#member-payments-view .payment-guide .detail-item { min-width:0; background:#f8f7f4; overflow-wrap:anywhere; }
#member-payments-view .payment-guide .detail-item:last-child { grid-column:1 / -1; }
#member-payments-view .payment-guide .detail-item span { font-size:16px; }
#member-payments-view .payment-amount { color:var(--payments-accent); }
#member-payments-view .payment-qr { display:block; max-width:100%; height:auto; margin:20px 0 12px; }
#member-payments-view > .primary { margin-top:20px; border-radius:14px; background:#ffbd35; color:#352000; border-color:#e6a62b; }
#member-payments-view button:focus-visible { outline:3px solid #925000; outline-offset:3px; }
@media (max-width:760px) {
  #app-view[data-page="payments"][data-admin-ia="false"] { position:relative; }
  #app-view[data-page="payments"][data-admin-ia="false"] .sidebar { min-height:84px; padding-top:22px; padding-bottom:22px; }
  #app-view[data-page="payments"][data-admin-ia="false"] .topbar { display:flex; position:absolute; top:0; right:16px; min-height:84px; padding:8px 0; border:0; background:transparent; }
  #app-view[data-page="payments"][data-admin-ia="false"] .user-menu { gap:6px; }
  #app-view[data-page="payments"][data-admin-ia="false"] #user-label, #app-view[data-page="payments"][data-admin-ia="false"] #breadcrumb { display:none; }
  #app-view[data-page="payments"][data-admin-ia="false"] .topbar .text-button { font-size:16px; padding:4px 6px; }
  #app-view[data-page="payments"][data-admin-ia="false"] .main-content { padding:24px 20px; }
  #app-view[data-page="payments"][data-admin-ia="false"] #navigation { background:#fffffff5; border-top-color:#e9e6df; }
  #app-view[data-page="payments"][data-admin-ia="false"] #navigation .nav-icon { border-radius:12px; background:transparent; color:#747b86; }
  #app-view[data-page="payments"][data-admin-ia="false"] #navigation .active .nav-icon { color:#925000; background:#fff2cd; box-shadow:none; }
  #app-view[data-page="payments"][data-admin-ia="false"] #navigation button.active::before { display:none; }
  #member-payments-view .qb-payments-intro h2 { font-size:26px; }
  #member-payments-view .qb-payments-list { padding:0 18px; }
  #member-payments-view .qb-payment-icon { flex-basis:40px; width:40px; height:40px; }
  #member-payments-view .qb-payment-heading { gap:10px 12px; }
  #member-payments-view .qb-payment-heading h4 { flex-basis:calc(100% - 52px); }
  #member-payments-view .qb-payment-amount { margin-left:52px; font-size:22px; }
  #member-payments-view .payment-record-status { margin-left:0; }
  #member-payments-view .payment-record-dates { margin-left:0; padding:16px; grid-template-columns:1fr; gap:4px; }
  #member-payments-view .payment-record-dates dd:not(:last-child) { margin-bottom:12px; }
  #member-payments-view .payment-record-card .notice { margin-left:0; }
  #member-payments-view .payment-guide { padding:20px 18px; }
  #member-payments-view .payment-guide .detail-grid { grid-template-columns:1fr; gap:8px; }
}
@media (max-width:360px) {
  #app-view[data-page="payments"][data-admin-ia="false"] .sidebar { padding-left:16px; }
  #app-view[data-page="payments"][data-admin-ia="false"] .sidebar .brand { font-size:20px; gap:4px; }
  #app-view[data-page="payments"][data-admin-ia="false"] .sidebar .brand-mark { width:28px; height:28px; }
  #app-view[data-page="payments"][data-admin-ia="false"] .topbar { right:10px; }
  #app-view[data-page="payments"][data-admin-ia="false"] .topbar .text-button { font-size:15px; padding:4px; }
  #app-view[data-page="payments"][data-admin-ia="false"] .main-content { padding-right:16px; padding-left:16px; }
  #member-payments-view .qb-payments-intro h2 { font-size:24px; }
  #member-payments-view .qb-payments-list { padding:0 16px; }
}

/* Figma member education. Course editors and administrator attendance remain unchanged. */
#app-view[data-page="education"][data-admin-ia="false"] .workspace { background:radial-gradient(circle at 100% 0,#ffd77d26,transparent 460px),#f6f5f2; }
#app-view[data-page="education"][data-admin-ia="false"] .page-heading { max-width:1040px; margin:0 auto 24px; }
#app-view[data-page="education"][data-admin-ia="false"] .page-heading .muted { display:none; }
#app-view[data-page="education"][data-admin-ia="false"] #page-title { font-size:22px; margin:0; }
#app-view[data-page="education"][data-admin-ia="false"] #refresh { background:#fff; border-radius:14px; }
#member-education-view, .qb-member-education-dialog { --education-ink:#171a1f; --education-muted:#626873; --education-accent:#925000; --education-soft:#fff8e7; --education-border:#e9e6df; color:var(--education-ink); }
#member-education-view { max-width:1040px; margin:0 auto; }
#member-education-view .qb-education-intro { margin-bottom:26px; }
#member-education-view .qb-education-eyebrow, .qb-member-education-dialog .qb-education-dialog-eyebrow { margin:0 0 7px; color:var(--education-accent); font-size:14px; font-weight:800; letter-spacing:.05em; }
#member-education-view .qb-education-intro h2 { margin:0; font-size:30px; line-height:1.4; letter-spacing:-.04em; }
#member-education-view .qb-education-description { margin:9px 0 0; font-size:18px; color:var(--education-muted); line-height:1.6; }
#member-education-view .qb-education-notice { display:flex; align-items:flex-start; gap:12px; padding:16px 18px; border:1px solid #f0dfb6; border-radius:16px; background:var(--education-soft); color:#6e4c18; font-size:16px; line-height:1.8; }
#member-education-view .qb-education-notice svg { flex:0 0 22px; width:22px; height:22px; margin-top:3px; }
#member-education-view .qb-education-notice p { margin:0; }
#member-education-view .education-records-link { display:flex; align-items:center; gap:12px; width:100%; min-height:56px; padding:16px 18px; margin:18px 0 32px; border:1px solid var(--education-border); border-radius:16px; background:#fff; text-align:left; color:var(--education-ink); font-size:18px; }
#member-education-view .education-records-link svg { flex:0 0 22px; width:22px; height:22px; color:var(--education-accent); }
#member-education-view .education-records-link span { flex:1; }
#member-education-view .qb-education-booking-link { margin-top:16px; }
#member-education-view .qb-education-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin-bottom:18px; }
#member-education-view .qb-education-heading h3 { margin:0; font-size:22px; }
#member-education-view .qb-education-heading > span { color:var(--education-muted); font-size:16px; }
#member-education-view .qb-education-search { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px 16px; padding:24px; border:1px solid var(--education-border); border-radius:22px; background:#fff; }
#member-education-view .qb-education-search label { grid-column:1 / -1; font-size:16px; font-weight:700; }
#member-education-view .qb-education-search input { min-width:0; width:100%; min-height:52px; margin:0; padding:12px 16px; border:1px solid #dcd9d2; border-radius:14px; background:#fff; font-size:16px; }
#member-education-view .qb-education-search-actions { display:flex; flex-wrap:wrap; gap:10px; }
#member-education-view .primary { min-height:48px; padding:12px 18px; border:1px solid #e6a62b; border-radius:14px; color:#352000; background:#ffbd35; box-shadow:0 4px 12px #c77d0012; font-size:16px; }
#member-education-view .primary:hover { background:#ffca56; }
#member-education-view .qb-education-search .secondary { min-height:48px; padding:10px 16px; border:1px solid var(--education-border); border-radius:14px; background:#fff; font-size:16px; }
#member-education-view .qb-education-list { display:grid; gap:20px; margin-top:20px; }
#member-education-view .education-course-card { min-width:0; padding:26px; margin:0; border:1px solid var(--education-border); border-radius:22px; background:#fff; box-shadow:0 8px 26px #221e160a; }
#member-education-view .qb-education-course-meta { display:flex; align-items:center; flex-wrap:wrap; gap:10px 16px; color:var(--education-muted); font-size:16px; }
#member-education-view .qb-education-course-meta .pill { min-height:34px; padding:5px 12px; border-radius:999px; color:var(--education-accent); background:var(--education-soft); font-size:15px; }
#member-education-view .education-course-card h3 { margin:18px 0 10px; font-size:24px; line-height:1.5; letter-spacing:-.03em; overflow-wrap:anywhere; }
#member-education-view .education-course-card .content-body { margin:0; color:var(--education-muted); font-size:18px; line-height:1.8; overflow-wrap:anywhere; }
#member-education-view .qb-education-expiry { margin:20px 0; color:var(--education-muted); font-size:16px; line-height:1.8; }
#member-education-view .qb-education-open { display:flex; align-items:center; justify-content:space-between; gap:18px; width:100%; }
#member-education-view .qb-education-open svg { flex:0 0 20px; width:20px; height:20px; }
#member-education-view .qb-education-empty { padding:36px 24px; border:1px solid var(--education-border); border-radius:22px; background:#fff; text-align:center; }
#member-education-view .qb-education-empty-icon { display:grid; place-items:center; width:56px; height:56px; margin:0 auto 16px; border-radius:18px; background:var(--education-soft); color:var(--education-accent); }
#member-education-view .qb-education-empty-icon svg { width:28px; height:28px; }
#member-education-view .qb-education-empty strong { font-size:20px; }
#member-education-view .qb-education-empty p { margin:10px 0 0; color:var(--education-muted); font-size:16px; line-height:1.8; }
#member-education-view .qb-education-pagination, .qb-member-education-dialog .qb-education-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; margin:24px 0 0; font-size:16px; }
#member-education-view .qb-education-pagination button, .qb-member-education-dialog .qb-education-pagination button { min-width:76px; min-height:48px; padding:10px 16px; border:1px solid var(--education-border); border-radius:12px; background:#fff; font-size:16px; }
#member-education-view .qb-education-pagination button:disabled, .qb-member-education-dialog .qb-education-pagination button:disabled { color:#858b94; background:#f0efeb; cursor:not-allowed; box-shadow:none; }
#member-education-view button:focus-visible, #member-education-view input:focus-visible, .qb-member-education-dialog button:focus-visible, .qb-member-education-dialog a:focus-visible { outline:3px solid #925000; outline-offset:3px; }
#detail-dialog:has(.qb-member-education-dialog) { width:min(760px,calc(100% - 28px)); padding:26px; border-color:#e9e6df; border-radius:26px; background:#fffdf9; }
#detail-dialog:has(.qb-member-education-dialog) .dialog-heading { position:sticky; top:-26px; z-index:1; margin:0 -2px 20px; padding:10px 2px; background:#fffdf9; }
#detail-dialog:has(.qb-member-education-dialog) .dialog-heading h2 { font-size:22px; }
.qb-member-education-dialog { font-size:16px; line-height:1.8; }
.qb-member-education-dialog .notice, .qb-member-education-dialog .qb-education-completion { margin:18px 0; padding:16px 18px; border:1px solid #f0dfb6; border-radius:16px; background:var(--education-soft); color:#6e4c18; font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
.qb-member-education-dialog .content-copy > h3 { font-size:20px; margin:24px 0 10px; line-height:1.5; overflow-wrap:anywhere; }
.qb-member-education-dialog .content-copy > h3:first-child { font-size:26px; letter-spacing:-.03em; }
.qb-member-education-dialog .content-body { font-size:17px; line-height:1.9; color:var(--education-muted); overflow-wrap:anywhere; }
.qb-member-education-dialog .muted { font-size:16px; color:var(--education-muted); }
.qb-member-education-dialog .education-material { padding:18px; margin:12px 0; border:1px solid var(--education-border); border-radius:16px; background:#fff; }
.qb-member-education-dialog .education-material .content-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.qb-member-education-dialog .education-material strong { font-size:18px; overflow-wrap:anywhere; }
.qb-member-education-dialog .pill { min-height:34px; padding:5px 12px; border-radius:999px; font-size:15px; }
.qb-member-education-dialog .education-material .external-link { display:block; min-height:44px; margin-top:14px; padding:12px 14px; border-radius:12px; color:#794500; background:var(--education-soft); font-size:16px; line-height:1.7; overflow-wrap:anywhere; }
.qb-member-education-dialog > .secondary { min-height:48px; margin:12px 0; padding:10px 16px; border:1px solid var(--education-border); border-radius:14px; background:#fff; font-size:16px; }
.qb-member-education-dialog .qb-education-attendance, .qb-member-education-dialog .qb-education-session { padding:22px; margin:18px 0; border:1px solid var(--education-border); border-radius:18px; background:#fff; }
.qb-member-education-dialog .qb-education-attendance h3, .qb-member-education-dialog .qb-education-session h3:first-child { margin:0 0 14px; font-size:22px; overflow-wrap:anywhere; }
.qb-member-education-dialog .qb-education-session p { overflow-wrap:anywhere; }
.qb-member-education-dialog .qb-education-record-dates { display:grid; grid-template-columns:minmax(100px,1fr) minmax(0,2fr); gap:12px 20px; margin:20px 0 0; padding:16px; border-radius:14px; background:#f8f7f4; font-size:16px; }
.qb-member-education-dialog .qb-education-record-dates dt { color:var(--education-muted); }
.qb-member-education-dialog .qb-education-record-dates dd { min-width:0; margin:0; }
.qb-member-education-dialog .readable-datetime, .qb-member-education-dialog .readable-datetime time { font-size:16px; font-weight:400; line-height:1.8; overflow-wrap:anywhere; }
.qb-member-education-dialog .empty { padding:32px 20px; border:1px solid var(--education-border); border-radius:18px; background:#fff; font-size:16px; line-height:1.8; }
@media (max-width:760px) {
  #app-view[data-page="education"][data-admin-ia="false"] { position:relative; }
  #app-view[data-page="education"][data-admin-ia="false"] .sidebar { min-height:84px; padding-top:22px; padding-bottom:22px; }
  #app-view[data-page="education"][data-admin-ia="false"] .topbar { display:flex; position:absolute; top:0; right:16px; min-height:84px; padding:8px 0; border:0; background:transparent; }
  #app-view[data-page="education"][data-admin-ia="false"] .user-menu { gap:6px; }
  #app-view[data-page="education"][data-admin-ia="false"] #user-label, #app-view[data-page="education"][data-admin-ia="false"] #breadcrumb { display:none; }
  #app-view[data-page="education"][data-admin-ia="false"] .topbar .text-button { font-size:16px; padding:4px 6px; }
  #app-view[data-page="education"][data-admin-ia="false"] .main-content { padding:24px 20px; }
  #app-view[data-page="education"][data-admin-ia="false"] #navigation { background:#fffffff5; border-top-color:#e9e6df; }
  #app-view[data-page="education"][data-admin-ia="false"] #navigation .nav-icon { border-radius:12px; background:transparent; color:#747b86; }
  #app-view[data-page="education"][data-admin-ia="false"] #navigation .active .nav-icon { color:#925000; background:#fff2cd; box-shadow:none; }
  #app-view[data-page="education"][data-admin-ia="false"] #navigation button.active::before { display:none; }
  #member-education-view .qb-education-intro h2 { font-size:26px; }
  #member-education-view .qb-education-search { display:block; padding:20px; }
  #member-education-view .qb-education-search label { display:block; margin-bottom:10px; }
  #member-education-view .qb-education-search-actions { margin-top:12px; }
  #member-education-view .qb-education-search-actions button { flex:1; }
  #member-education-view .education-course-card { padding:22px 20px; }
  #member-education-view .education-course-card h3 { font-size:22px; }
  #detail-dialog:has(.qb-member-education-dialog) { position:fixed; inset:auto 0 0; width:100%; max-width:none; max-height:90vh; max-height:90dvh; margin:auto auto 0; padding:22px 20px; border-bottom:0; border-radius:26px 26px 0 0; }
  #detail-dialog:has(.qb-member-education-dialog) .dialog-heading { top:-22px; }
  .qb-member-education-dialog .qb-education-record-dates { grid-template-columns:1fr; gap:4px; }
  .qb-member-education-dialog .qb-education-record-dates dd:not(:last-child) { margin-bottom:12px; }
  .qb-member-education-dialog .qb-education-attendance, .qb-member-education-dialog .qb-education-session { padding:18px; }
}
@media (max-width:360px) {
  #app-view[data-page="education"][data-admin-ia="false"] .sidebar { padding-left:16px; }
  #app-view[data-page="education"][data-admin-ia="false"] .sidebar .brand { font-size:20px; gap:4px; }
  #app-view[data-page="education"][data-admin-ia="false"] .sidebar .brand-mark { width:28px; height:28px; }
  #app-view[data-page="education"][data-admin-ia="false"] .topbar { right:10px; }
  #app-view[data-page="education"][data-admin-ia="false"] .topbar .text-button { font-size:15px; padding:4px; }
  #app-view[data-page="education"][data-admin-ia="false"] .main-content { padding-right:16px; padding-left:16px; }
  #member-education-view .qb-education-intro h2 { font-size:24px; }
  #member-education-view .qb-education-search, #member-education-view .education-course-card { padding:20px 16px; }
}

/* Figma member progression. Administrative referrals, queues and settlements stay scoped out. */
#app-view[data-page="progression"][data-admin-ia="false"] .workspace { background:radial-gradient(circle at 100% 0,#ffd77d26,transparent 460px),#f6f5f2; }
#app-view[data-page="progression"][data-admin-ia="false"] .page-heading { max-width:1040px; margin:0 auto 24px; }
#app-view[data-page="progression"][data-admin-ia="false"] .page-heading .muted { display:none; }
#app-view[data-page="progression"][data-admin-ia="false"] #page-title { font-size:22px; margin:0; }
#app-view[data-page="progression"][data-admin-ia="false"] #refresh { background:#fff; border-radius:14px; }
#member-progression-view { --progression-ink:#171a1f; --progression-muted:#626873; --progression-accent:#925000; --progression-soft:#fff8e7; --progression-border:#e9e6df; max-width:1040px; margin:0 auto; color:var(--progression-ink); }
#member-progression-view .qb-progression-intro { margin-bottom:26px; }
#member-progression-view .qb-progression-eyebrow { margin:0 0 7px; color:var(--progression-accent); font-size:14px; font-weight:800; letter-spacing:.05em; }
#member-progression-view .qb-progression-intro h2 { margin:0; font-size:30px; line-height:1.4; letter-spacing:-.04em; }
#member-progression-view .qb-progression-description { margin:9px 0 0; font-size:18px; color:var(--progression-muted); line-height:1.6; }
#member-progression-view .qb-progression-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-bottom:32px; }
#member-progression-view .qb-progression-metric { display:flex; align-items:flex-start; flex-direction:column; min-width:0; padding:26px; border:1px solid var(--progression-border); border-radius:22px; background:#fff; box-shadow:0 8px 26px #221e160a; }
#member-progression-view .qb-progression-icon { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; border-radius:16px; background:var(--progression-soft); color:var(--progression-accent); }
#member-progression-view .qb-progression-icon svg { width:24px; height:24px; }
#member-progression-view .qb-progression-metric .qb-progression-icon { margin-bottom:20px; }
#member-progression-view .qb-progression-metric-label { font-size:17px; font-weight:600; color:var(--progression-muted); }
#member-progression-view .qb-progression-value { margin-top:8px; font-size:32px; line-height:1.4; letter-spacing:-.04em; overflow-wrap:anywhere; }
#member-progression-view .qb-progression-metric > p { margin:12px 0 0; font-size:15px; line-height:1.7; color:var(--progression-muted); }
#member-progression-view .qb-progression-level .qb-progression-value { font-size:clamp(19px, 5vw, 30px); }
#member-progression-view .qb-progression-metrics .qb-progression-metric.qb-progression-summary { display:grid; grid-template-rows:20px 42px auto; align-content:start; align-items:start; gap:8px; padding:20px 16px; }
#member-progression-view .qb-progression-metrics .qb-progression-summary .qb-progression-metric-label { font-size:13px; line-height:20px; }
#member-progression-view .qb-progression-metrics .qb-progression-summary .qb-progression-value { margin:0; font-size:28px; line-height:42px; white-space:nowrap; }
#member-progression-view .qb-progression-metrics .qb-progression-benefit-summary .qb-progression-value { font-size:clamp(13px,3.7vw,19px); letter-spacing:-.04em; }
#member-progression-view .qb-progression-metrics .qb-progression-summary > .qb-progression-summary-note { margin:0; font-size:clamp(11px,2.9vw,14px); line-height:1.6; overflow-wrap:anywhere; }
#member-progression-view .qb-progression-referral-count { white-space:nowrap; }
#member-progression-view .qb-progression-metrics .qb-progression-benefit-level .qb-progression-value,
#member-progression-view .qb-progression-metrics .qb-progression-benefit-level > .qb-progression-summary-note { color:#115e59; }
@media(max-width:400px) {
  #member-progression-view .qb-progression-metrics .qb-progression-metric.qb-progression-summary { padding:17px 10px; }
}
#member-progression-view .qb-progression-referral-info { grid-column:1 / -1; }
#member-progression-view .qb-progression-referrals { min-height:44px; text-align:left; white-space:normal; }
#member-progression-view .qb-progression-referral-info p { margin:6px 0 0; font-size:14px; }
#member-progression-view .qb-progression-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin-bottom:18px; }
#member-progression-view .qb-progression-heading h3 { margin:0; font-size:22px; }
#member-progression-view .qb-progression-heading > span { color:var(--progression-muted); font-size:16px; }
#member-progression-view .qb-progression-history { margin-top:32px; }
#member-progression-view .qb-progression-policy { margin-bottom:32px; }
#member-progression-view .qb-progression-policy-card { padding:24px; border:1px solid var(--progression-border); border-radius:22px; background:#fff; }
#member-progression-view .qb-progression-notice { display:flex; align-items:flex-start; gap:12px; padding:16px 18px; border:1px solid #f0dfb6; border-radius:16px; background:var(--progression-soft); color:#6e4c18; font-size:16px; line-height:1.8; }
#member-progression-view .qb-progression-notice svg { flex:0 0 22px; width:22px; height:22px; margin-top:3px; }
#member-progression-view .qb-progression-notice p { margin:0; }
#member-progression-view .qb-progression-reward { margin:18px 0 0; font-size:18px; line-height:1.8; }
#member-progression-view .qb-progression-policy-note { margin:12px 0 0; color:var(--progression-muted); font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
#member-progression-view .qb-progression-timeline { list-style:none; margin:0; padding:0 26px; border:1px solid var(--progression-border); border-radius:22px; background:#fff; }
#member-progression-view .qb-progression-event { display:flex; align-items:flex-start; gap:18px; padding:26px 0; }
#member-progression-view .qb-progression-event + .qb-progression-event { border-top:1px solid var(--progression-border); }
#member-progression-view .qb-progression-event-body { flex:1; min-width:0; }
#member-progression-view .qb-progression-event-heading { display:flex; align-items:center; flex-wrap:wrap; gap:10px 14px; }
#member-progression-view .qb-progression-event-heading h4 { margin:0; font-size:22px; line-height:1.5; overflow-wrap:anywhere; }
#member-progression-view .qb-progression-event .pill { min-height:34px; padding:5px 12px; border-radius:999px; color:var(--progression-accent); background:var(--progression-soft); font-size:15px; }
#member-progression-view .qb-progression-event-body > p { margin:10px 0; color:var(--progression-muted); font-size:17px; line-height:1.8; }
#member-progression-view .readable-datetime, #member-progression-view .readable-datetime time { color:var(--progression-muted); font-size:16px; font-weight:400; line-height:1.8; overflow-wrap:anywhere; }
#member-progression-view .qb-progression-empty { padding:36px 24px; border:1px solid var(--progression-border); border-radius:22px; background:#fff; text-align:center; font-size:17px; line-height:1.8; color:var(--progression-muted); }
#member-progression-view .qb-progression-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; margin:24px 0 0; font-size:16px; }
#member-progression-view .qb-progression-pagination button { min-width:76px; min-height:48px; padding:10px 16px; border:1px solid var(--progression-border); border-radius:12px; background:#fff; font-size:16px; }
#member-progression-view .qb-progression-pagination button:disabled { color:#858b94; background:#f0efeb; cursor:not-allowed; box-shadow:none; }
#member-progression-view .qb-progression-invite { margin:0 0 32px; padding:24px; border:1px solid var(--progression-border); border-radius:22px; background:#fff; }
#member-progression-view .qb-progression-invite h3 { font-size:22px; }
#member-progression-view .qb-progression-invite .muted { font-size:16px; line-height:1.8; color:var(--progression-muted); }
#member-progression-view .qb-progression-invite input { width:100%; min-width:0; min-height:52px; margin:12px 0; padding:12px 16px; border:1px solid #dcd9d2; border-radius:14px; font-size:16px; }
#member-progression-view .qb-progression-invite .secondary { min-height:48px; padding:12px 18px; border:1px solid #e6a62b; border-radius:14px; color:#352000; background:#ffbd35; font-size:16px; }
#member-progression-view .qb-progression-invite .secondary:disabled { opacity:.6; cursor:not-allowed; }
#member-progression-view button:focus-visible, #member-progression-view input:focus-visible { outline:3px solid #925000; outline-offset:3px; }
@media (max-width:760px) {
  #app-view[data-page="progression"][data-admin-ia="false"] { position:relative; }
  #app-view[data-page="progression"][data-admin-ia="false"] .sidebar { min-height:84px; padding-top:22px; padding-bottom:22px; }
  #app-view[data-page="progression"][data-admin-ia="false"] .topbar { display:flex; position:absolute; top:0; right:16px; min-height:84px; padding:8px 0; border:0; background:transparent; }
  #app-view[data-page="progression"][data-admin-ia="false"] .user-menu { gap:6px; }
  #app-view[data-page="progression"][data-admin-ia="false"] #user-label, #app-view[data-page="progression"][data-admin-ia="false"] #breadcrumb { display:none; }
  #app-view[data-page="progression"][data-admin-ia="false"] .topbar .text-button { font-size:16px; padding:4px 6px; }
  #app-view[data-page="progression"][data-admin-ia="false"] .main-content { padding:24px 20px; }
  #app-view[data-page="progression"][data-admin-ia="false"] #navigation { background:#fffffff5; border-top-color:#e9e6df; }
  #app-view[data-page="progression"][data-admin-ia="false"] #navigation .nav-icon { border-radius:12px; background:transparent; color:#747b86; }
  #app-view[data-page="progression"][data-admin-ia="false"] #navigation .active .nav-icon { color:#925000; background:#fff2cd; box-shadow:none; }
  #app-view[data-page="progression"][data-admin-ia="false"] #navigation button.active::before { display:none; }
  #member-progression-view .qb-progression-intro h2 { font-size:26px; }
  #member-progression-view .qb-progression-metrics { gap:12px; }
  #member-progression-view .qb-progression-metric { padding:20px 16px; }
  #member-progression-view .qb-progression-value { font-size:28px; }
  #member-progression-view .qb-progression-policy-card, #member-progression-view .qb-progression-invite { padding:20px 18px; }
  #member-progression-view .qb-progression-timeline { padding:0 20px; }
  #member-progression-view .qb-progression-event { gap:14px; padding:22px 0; }
  #member-progression-view .qb-progression-event .qb-progression-icon { flex-basis:42px; width:42px; height:42px; border-radius:14px; }
}
@media (max-width:360px) {
  #app-view[data-page="progression"][data-admin-ia="false"] .sidebar { padding-left:16px; }
  #app-view[data-page="progression"][data-admin-ia="false"] .sidebar .brand { font-size:20px; gap:4px; }
  #app-view[data-page="progression"][data-admin-ia="false"] .sidebar .brand-mark { width:28px; height:28px; }
  #app-view[data-page="progression"][data-admin-ia="false"] .topbar { right:10px; }
  #app-view[data-page="progression"][data-admin-ia="false"] .topbar .text-button { font-size:15px; padding:4px; }
  #app-view[data-page="progression"][data-admin-ia="false"] .main-content { padding-right:16px; padding-left:16px; }
  #member-progression-view .qb-progression-intro h2 { font-size:24px; }
  #member-progression-view .qb-progression-value { font-size:25px; }
  #member-progression-view .qb-progression-metric-label { font-size:16px; }
  #member-progression-view .qb-progression-policy-card, #member-progression-view .qb-progression-invite { padding:18px 16px; }
  #member-progression-view .qb-progression-timeline { padding:0 16px; }
}

/* Figma member help. Public notices and editorial screens retain their existing styles. */
#app-view[data-page="help"][data-admin-ia="false"] .workspace { background:radial-gradient(circle at 100% 0,#ffd77d26,transparent 460px),#f6f5f2; }
#app-view[data-page="help"][data-admin-ia="false"] .page-heading { max-width:1040px; margin:0 auto 24px; }
#app-view[data-page="help"][data-admin-ia="false"] .page-heading .muted { display:none; }
#app-view[data-page="help"][data-admin-ia="false"] #page-title { font-size:22px; margin:0; }
#app-view[data-page="help"][data-admin-ia="false"] #refresh { background:#fff; border-radius:14px; }
#member-help-view, .qb-member-help-dialog { --help-ink:#171a1f; --help-muted:#626873; --help-accent:#925000; --help-soft:#fff8e7; --help-border:#e9e6df; color:var(--help-ink); }
#member-help-view { max-width:1040px; margin:0 auto; }
#member-help-view .qb-help-intro { margin-bottom:30px; }
#member-help-view .qb-help-eyebrow, .qb-member-help-dialog .qb-help-dialog-eyebrow { margin:0 0 7px; color:var(--help-accent); font-size:14px; font-weight:800; letter-spacing:.05em; }
#member-help-view .qb-help-intro h2 { margin:0; font-size:30px; line-height:1.4; letter-spacing:-.04em; }
#member-help-view .qb-help-description { margin:9px 0 0; font-size:18px; color:var(--help-muted); line-height:1.6; }
#member-help-view .qb-help-faq > h3, #member-help-view .qb-help-heading h3 { margin:0 0 18px; font-size:22px; }
#member-help-view .qb-help-faq-list { padding:0 24px; border:1px solid var(--help-border); border-radius:22px; background:#fff; }
#member-help-view .qb-help-question + .qb-help-question { border-top:1px solid var(--help-border); }
#member-help-view .qb-help-question summary { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:22px 0; list-style:none; cursor:pointer; font-size:18px; font-weight:650; line-height:1.65; }
#member-help-view .qb-help-question summary::-webkit-details-marker { display:none; }
#member-help-view .qb-help-question summary > span { min-width:0; overflow-wrap:anywhere; }
#member-help-view .qb-help-question summary svg { flex:0 0 22px; width:22px; height:22px; margin-top:4px; color:var(--help-muted); }
#member-help-view .qb-help-question[open] summary { padding-bottom:14px; }
#member-help-view .qb-help-question[open] summary svg { transform:rotate(90deg); }
#member-help-view .qb-help-question .content-body { margin:0; padding:0 38px 24px 0; font-size:17px; line-height:1.9; color:var(--help-muted); overflow-wrap:anywhere; }
#member-help-view .qb-help-faq-empty { margin:0; padding:26px 0; color:var(--help-muted); font-size:17px; line-height:1.8; }
#member-help-view .qb-help-support { display:flex; align-items:flex-start; gap:14px; margin-top:22px; padding:20px 22px; border:1px solid #e4e1d8; border-radius:18px; background:#f0efeb; }
#member-help-view .qb-help-support > svg { flex:0 0 24px; width:24px; height:24px; margin-top:3px; color:var(--help-accent); }
#member-help-view .qb-help-support > div { min-width:0; }
#member-help-view .qb-help-support h3 { margin:0; font-size:18px; }
#member-help-view .qb-help-support p { margin:8px 0 0; font-size:16px; line-height:1.8; color:var(--help-muted); overflow-wrap:anywhere; }
#member-help-view .qb-help-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:22px 0 32px; }
#member-help-view .qb-help-shortcut { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px 12px; min-width:0; min-height:120px; padding:22px; border:1px solid var(--help-border); border-radius:20px; background:#fff; text-align:left; box-shadow:0 8px 26px #221e160a; }
#member-help-view .qb-help-shortcut > svg:first-child { grid-column:1 / -1; width:26px; height:26px; color:var(--help-accent); }
#member-help-view .qb-help-shortcut strong { align-self:center; font-size:18px; }
#member-help-view .qb-help-shortcut > svg:last-child { align-self:center; width:20px; height:20px; color:var(--help-muted); }
#member-help-view .qb-help-shortcut:hover, #member-help-view .qb-help-shortcut[aria-pressed="true"] { border-color:#dab875; background:var(--help-soft); }
#member-help-view .qb-help-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin-bottom:18px; }
#member-help-view .qb-help-heading h3 { margin:0; }
#member-help-view .qb-help-heading > span { font-size:16px; color:var(--help-muted); }
#member-help-view .qb-help-search { display:grid; grid-template-columns:minmax(0,1fr) 170px auto; align-items:end; gap:16px; padding:24px; margin-bottom:20px; border:1px solid var(--help-border); border-radius:22px; background:#fff; }
#member-help-view .qb-help-search-field, #member-help-view .qb-help-kind-field { min-width:0; }
#member-help-view .qb-help-search label { display:block; margin-bottom:10px; font-size:16px; font-weight:650; }
#member-help-view .qb-help-search input, #member-help-view .qb-help-search select { width:100%; min-width:0; min-height:52px; margin:0; padding:12px 14px; border:1px solid #dcd9d2; border-radius:14px; background:#fff; font-size:16px; }
#member-help-view .qb-help-search-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
#member-help-view .qb-help-search button { min-height:52px; padding:12px 18px; border-radius:14px; font-size:16px; }
#member-help-view .primary, .qb-member-help-dialog .primary { border:1px solid #e6a62b; color:#352000; background:#ffbd35; box-shadow:0 4px 12px #c77d0012; }
#member-help-view .primary:hover, .qb-member-help-dialog .primary:hover { background:#ffca56; }
#member-help-view .qb-help-search .secondary { border:1px solid var(--help-border); background:#fff; }
#member-help-view .qb-help-document-list { list-style:none; margin:0; padding:0; overflow:hidden; border:1px solid var(--help-border); border-radius:22px; background:#fff; }
#member-help-view .qb-help-document-list li + li { border-top:1px solid var(--help-border); }
#member-help-view .qb-help-document { display:flex; align-items:center; justify-content:space-between; gap:20px; width:100%; min-height:126px; padding:24px; border:0; border-radius:0; background:#fff; text-align:left; color:var(--help-ink); }
#member-help-view .qb-help-document:hover { background:#fffdf7; }
#member-help-view .qb-help-document-copy { display:flex; flex-direction:column; align-items:flex-start; gap:9px; min-width:0; }
#member-help-view .qb-help-kind { color:var(--help-accent); font-size:14px; font-weight:700; }
#member-help-view .qb-help-document strong { font-size:19px; line-height:1.6; overflow-wrap:anywhere; }
#member-help-view .qb-help-document > svg { flex:0 0 22px; width:22px; height:22px; color:var(--help-muted); }
#member-help-view .qb-help-published { display:flex; flex-wrap:wrap; gap:4px; color:var(--help-muted); font-size:15px; }
#member-help-view .readable-datetime, #member-help-view .readable-datetime time { font-size:15px; line-height:1.8; font-weight:400; overflow-wrap:anywhere; }
#member-help-view .qb-help-empty { padding:36px 24px; border:1px solid var(--help-border); border-radius:22px; background:#fff; text-align:center; color:var(--help-muted); font-size:17px; line-height:1.8; }
#member-help-view .qb-help-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; margin:24px 0 0; font-size:16px; }
#member-help-view .qb-help-pagination button { min-width:76px; min-height:48px; padding:10px 16px; border:1px solid var(--help-border); border-radius:12px; background:#fff; font-size:16px; }
#member-help-view .qb-help-pagination button:disabled { color:#858b94; background:#f0efeb; cursor:not-allowed; box-shadow:none; }
#member-help-view button:focus-visible, #member-help-view input:focus-visible, #member-help-view select:focus-visible, #member-help-view summary:focus-visible, .qb-member-help-dialog button:focus-visible, .qb-member-help-dialog a:focus-visible { outline:3px solid #925000; outline-offset:3px; }
#member-help-view .qb-help-document:focus-visible { outline-offset:-4px; }
#detail-dialog:has(.qb-member-help-dialog) { width:min(760px,calc(100% - 28px)); padding:26px; border-color:#e9e6df; border-radius:26px; background:#fffdf9; }
#detail-dialog:has(.qb-member-help-dialog) .dialog-heading { position:sticky; top:-26px; z-index:1; margin:0 -2px 20px; padding:10px 2px; background:#fffdf9; }
#detail-dialog:has(.qb-member-help-dialog) .dialog-heading h2 { font-size:22px; }
.qb-member-help-dialog { font-size:16px; line-height:1.8; }
.qb-member-help-dialog .qb-help-detail-meta { display:flex; flex-wrap:wrap; gap:4px; margin:10px 0 20px; color:var(--help-muted); font-size:15px; }
.qb-member-help-dialog .readable-datetime, .qb-member-help-dialog .readable-datetime time { font-size:15px; font-weight:400; line-height:1.8; }
.qb-member-help-dialog .content-copy > h3 { margin:0 0 18px; font-size:26px; letter-spacing:-.03em; line-height:1.5; overflow-wrap:anywhere; }
.qb-member-help-dialog .content-body { font-size:18px; line-height:1.9; color:var(--help-muted); overflow-wrap:anywhere; }
.qb-member-help-dialog .external-link { display:block; min-height:48px; margin-top:24px; padding:14px 18px; border-radius:14px; background:var(--help-soft); color:var(--help-accent); font-size:16px; overflow-wrap:anywhere; }
.qb-member-help-dialog .qb-help-detail-close { width:100%; min-height:52px; margin-top:28px; padding:12px 18px; border-radius:14px; font-size:17px; }
@media (max-width:1000px) {
  #member-help-view .qb-help-search { grid-template-columns:minmax(0,1fr) 160px; }
  #member-help-view .qb-help-search-actions { grid-column:1 / -1; }
}
@media (max-width:760px) {
  #app-view[data-page="help"][data-admin-ia="false"] { position:relative; }
  #app-view[data-page="help"][data-admin-ia="false"] .sidebar { min-height:84px; padding-top:22px; padding-bottom:22px; }
  #app-view[data-page="help"][data-admin-ia="false"] .topbar { display:flex; position:absolute; top:0; right:16px; min-height:84px; padding:8px 0; border:0; background:transparent; }
  #app-view[data-page="help"][data-admin-ia="false"] .user-menu { gap:6px; }
  #app-view[data-page="help"][data-admin-ia="false"] #user-label, #app-view[data-page="help"][data-admin-ia="false"] #breadcrumb { display:none; }
  #app-view[data-page="help"][data-admin-ia="false"] .topbar .text-button { font-size:16px; padding:4px 6px; }
  #app-view[data-page="help"][data-admin-ia="false"] .main-content { padding:24px 20px; }
  #app-view[data-page="help"][data-admin-ia="false"] #navigation { background:#fffffff5; border-top-color:#e9e6df; }
  #app-view[data-page="help"][data-admin-ia="false"] #navigation .nav-icon { border-radius:12px; background:transparent; color:#747b86; }
  #app-view[data-page="help"][data-admin-ia="false"] #navigation .active .nav-icon { color:#925000; background:#fff2cd; box-shadow:none; }
  #app-view[data-page="help"][data-admin-ia="false"] #navigation button.active::before { display:none; }
  #member-help-view .qb-help-intro h2 { font-size:26px; }
  #member-help-view .qb-help-faq-list { padding:0 20px; }
  #member-help-view .qb-help-question summary { font-size:17px; gap:12px; }
  #member-help-view .qb-help-question .content-body { padding-right:0; }
  #member-help-view .qb-help-support { padding:18px; }
  #member-help-view .qb-help-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  #member-help-view .qb-help-shortcut { padding:18px; gap:16px 8px; }
  #member-help-view .qb-help-shortcut:last-child { grid-column:1 / -1; min-height:76px; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; }
  #member-help-view .qb-help-shortcut:last-child > svg:first-child { grid-column:auto; }
  #member-help-view .qb-help-shortcut strong { font-size:17px; }
  #member-help-view .qb-help-search { display:block; padding:20px; }
  #member-help-view .qb-help-kind-field, #member-help-view .qb-help-search-actions { margin-top:16px; }
  #member-help-view .qb-help-search-actions button { flex:1; }
  #member-help-view .qb-help-document { padding:22px 20px; gap:14px; }
  #detail-dialog:has(.qb-member-help-dialog) { position:fixed; inset:auto 0 0; width:100%; max-width:none; max-height:90vh; max-height:90dvh; margin:auto auto 0; padding:22px 20px; border-bottom:0; border-radius:26px 26px 0 0; }
  #detail-dialog:has(.qb-member-help-dialog) .dialog-heading { top:-22px; }
}
@media (max-width:360px) {
  #app-view[data-page="help"][data-admin-ia="false"] .sidebar { padding-left:16px; }
  #app-view[data-page="help"][data-admin-ia="false"] .sidebar .brand { font-size:20px; gap:4px; }
  #app-view[data-page="help"][data-admin-ia="false"] .sidebar .brand-mark { width:28px; height:28px; }
  #app-view[data-page="help"][data-admin-ia="false"] .topbar { right:10px; }
  #app-view[data-page="help"][data-admin-ia="false"] .topbar .text-button { font-size:15px; padding:4px; }
  #app-view[data-page="help"][data-admin-ia="false"] .main-content { padding-right:16px; padding-left:16px; }
  #member-help-view .qb-help-intro h2 { font-size:24px; }
  #member-help-view .qb-help-faq-list { padding:0 16px; }
  #member-help-view .qb-help-search, #member-help-view .qb-help-document { padding:20px 16px; }
}
/* Member navigation review: the More screen shares the member shell and card style. */
#app-view[data-page="more"][data-admin-ia="false"] .workspace { background:radial-gradient(circle at 100% 0,#ffd77d26,transparent 460px),#f6f5f2; }
#app-view[data-page="more"][data-admin-ia="false"] .page-heading { max-width:1040px; margin:0 auto 24px; }
#app-view[data-page="more"][data-admin-ia="false"] .page-heading .muted { display:none; }
#app-view[data-page="more"][data-admin-ia="false"] #page-title { font-size:22px; margin:0; }
#app-view[data-page="more"][data-admin-ia="false"] #refresh { background:#fff; border-radius:14px; }
#member-more-view { max-width:1040px; margin:0 auto; color:#171a1f; }
#member-more-view .qb-more-intro { margin-bottom:30px; }
#member-more-view .qb-more-eyebrow { margin:0 0 7px; color:#925000; font-size:14px; font-weight:800; letter-spacing:.05em; }
#member-more-view .qb-more-intro h2 { margin:0; font-size:30px; line-height:1.4; letter-spacing:-.04em; }
#member-more-view .qb-more-description { margin:9px 0 0; font-size:18px; color:#626873; line-height:1.6; }
#member-more-view .member-more-link + .member-more-link { margin-top:16px; }
#member-more-view .member-more-link { display:flex; align-items:center; gap:18px; min-width:0; width:100%; min-height:108px; padding:24px; border:1px solid #e9e6df; border-radius:22px; background:#fff; color:#171a1f; text-align:left; }
#member-more-view .member-more-link:hover { background:#fffdf7; border-color:#dab875; }
#member-more-view .qb-more-icon { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; border-radius:15px; background:#fff8e7; color:#925000; }
#member-more-view .qb-more-icon svg { width:25px; height:25px; }
#member-more-view .qb-more-copy { display:flex; flex:1; flex-direction:column; gap:7px; min-width:0; }
#member-more-view .qb-more-copy strong { font-size:20px; line-height:1.5; overflow-wrap:anywhere; }
#member-more-view .qb-more-copy > span { font-size:16px; line-height:1.7; color:#626873; word-break:keep-all; overflow-wrap:anywhere; }
#member-more-view .member-more-link > svg { flex:0 0 20px; width:20px; height:20px; color:#626873; }
#member-more-view button:focus-visible { outline:3px solid #925000; outline-offset:3px; }
@media (max-width:760px) {
  #app-view[data-page="more"][data-admin-ia="false"] { position:relative; }
  #app-view[data-page="more"][data-admin-ia="false"] .sidebar { min-height:84px; padding-top:22px; padding-bottom:22px; }
  #app-view[data-page="more"][data-admin-ia="false"] .topbar { display:flex; position:absolute; top:0; right:16px; min-height:84px; padding:8px 0; border:0; background:transparent; }
  #app-view[data-page="more"][data-admin-ia="false"] .user-menu { gap:6px; }
  #app-view[data-page="more"][data-admin-ia="false"] #user-label, #app-view[data-page="more"][data-admin-ia="false"] #breadcrumb { display:none; }
  #app-view[data-page="more"][data-admin-ia="false"] .topbar .text-button { font-size:16px; padding:4px 6px; }
  #app-view[data-page="more"][data-admin-ia="false"] .main-content { padding:24px 20px; }
  #app-view[data-page="more"][data-admin-ia="false"] #navigation { background:#fffffff5; border-top-color:#e9e6df; }
  #app-view[data-page="more"][data-admin-ia="false"] #navigation .nav-icon { border-radius:12px; background:transparent; color:#747b86; }
  #app-view[data-page="more"][data-admin-ia="false"] #navigation .active .nav-icon { color:#925000; background:#fff2cd; box-shadow:none; }
  #app-view[data-page="more"][data-admin-ia="false"] #navigation button.active::before { display:none; }
  #member-more-view .qb-more-intro h2 { font-size:26px; }
  #member-more-view .member-more-link { padding:20px; gap:14px; }
  #member-more-view .qb-more-copy strong { font-size:18px; }
  #navigation[data-role="MEMBER"] .mobile-nav-label { white-space:nowrap; }
}
@media (max-width:360px) {
  #app-view[data-page="more"][data-admin-ia="false"] .sidebar { padding-left:16px; }
  #app-view[data-page="more"][data-admin-ia="false"] .sidebar .brand { font-size:20px; gap:4px; }
  #app-view[data-page="more"][data-admin-ia="false"] .sidebar .brand-mark { width:28px; height:28px; }
  #app-view[data-page="more"][data-admin-ia="false"] .topbar { right:10px; }
  #app-view[data-page="more"][data-admin-ia="false"] .topbar .text-button { font-size:15px; padding:4px; }
  #app-view[data-page="more"][data-admin-ia="false"] .main-content { padding-right:16px; padding-left:16px; }
  #member-more-view .qb-more-intro h2 { font-size:24px; }
  #member-more-view .member-more-link { padding:18px 16px; gap:12px; }
  #member-more-view .qb-more-icon { flex-basis:40px; width:40px; height:40px; }
  #navigation[data-role="MEMBER"] .mobile-nav-label { font-size:13px; letter-spacing:-.03em; }
}

/* Member menu simplification: reuse the current cards, colors and withdrawal control. */
#member-profile-view .qb-profile-invite { grid-column:1 / -1; padding:28px; min-width:0; }
#member-profile-view .qb-profile-edit { display:block; margin-top:16px; }
#member-profile-view > .account-logout, #member-more-view > .account-logout { padding:12px 20px; font-size:16px; }
#member-profile-view > .account-logout { grid-column:1 / -1; justify-self:start; }
#member-more-view > .account-logout { display:block; margin-top:16px; }
.qb-profile-invite .qb-invite-url { display:block; width:100%; min-width:0; margin:14px 0; font-size:15px; }
.qb-profile-invite .qb-invite-qr { display:block; width:200px; max-width:100%; height:auto; margin-top:22px; background:#fff; }
.qb-profile-invite [hidden] { display:none; }
.qb-points-period .withdrawal-button { width:auto; min-width:150px; margin:0; }
@media (max-width:600px) {
  #member-profile-view .qb-profile-invite { padding:22px; }
  .qb-points-period .withdrawal-button { width:100%; }
}

/* Confirmed booking controls retain the existing member education theme. */
.qb-education-booking { min-width:0; }
.qb-education-booking .education-course-card { margin:16px 0; overflow-wrap:anywhere; }
.qb-education-booking button { min-height:44px; white-space:normal; }
.qb-education-booking select { max-width:100%; min-width:0; }
.qb-education-booking .booking-history { margin-top:24px; }

/* Applicant journey: group related guidance and actions, separate each step. */
.applicant-steps-card .applicant-payment-steps {
  padding:4px 0 0; border:0; border-radius:0; background:transparent; color:var(--ink);
  overflow-wrap:normal; word-break:keep-all;
}
.applicant-steps-card .applicant-payment-steps h2 {
  font-size:28px; line-height:1.35; font-weight:750; letter-spacing:-1px;
}
.applicant-steps-card .applicant-steps-intro {
  margin-top:12px; max-width:32ch; color:var(--muted); font-size:15px; line-height:1.75;
}
.applicant-step-list { list-style:none; padding:0; margin:28px 0 8px; }
.applicant-step { position:relative; display:flex; gap:14px; padding-bottom:24px; }
.applicant-step:last-child { padding-bottom:0; }
.applicant-step:not(:last-child)::before {
  content:''; position:absolute; left:15px; top:32px; bottom:0; width:1px; background:var(--line);
}
.applicant-step-marker {
  flex:0 0 31px; height:31px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; background:#f2f3f4; color:#70757d; font-size:13px; font-weight:650;
}
.applicant-step-done .applicant-step-marker { background:#edf4ee; color:#477151; }
.applicant-step-current .applicant-step-marker { background:#ed9722; color:#23180a; }
.applicant-step-body { min-width:0; padding-top:3px; }
.applicant-step-title { font-size:16px; line-height:1.5; font-weight:700; color:#292d33; }
.applicant-step-pending .applicant-step-title { color:var(--muted); font-weight:500; }
.applicant-steps-card .applicant-step-description { margin-top:4px; font-size:14px; line-height:1.6; color:var(--muted); }
.applicant-steps-card .applicant-step-amount {
  margin-top:5px; color:#292d33; font-size:32px; line-height:1.4; font-weight:750; letter-spacing:-.8px; white-space:nowrap;
}
.applicant-step-amount span { font-size:14px; font-weight:550; letter-spacing:0; color:var(--muted); }
.applicant-overview > .applicant-steps-card > button {
  width:100%; justify-self:stretch; min-height:50px; border-radius:10px; font-size:16px;
}
.applicant-steps-card > button.primary { background:#ed9722; color:#23180a; box-shadow:none; }
.applicant-steps-card > button.secondary { background:#fff; border:1px solid var(--line); color:var(--muted); }
.applicant-steps-card > .applicant-steps-footnote { font-size:12px; line-height:1.7; text-align:center; color:var(--muted); }
.applicant-deposit-card .applicant-step-body { flex:1; }
.applicant-deposit-card .applicant-steps-intro { max-width:32ch; font-size:14px; }
.applicant-deposit-state { float:right; margin-top:3px; font-size:11px; line-height:1.7; color:var(--muted); }
.applicant-deposit-card .applicant-deposit-label { font-size:12px; line-height:1.7; color:var(--muted); }
.applicant-deposit-card .applicant-step-current .applicant-deposit-label { margin-top:16px; }
.applicant-deposit-card .applicant-step-amount { margin-top:2px; font-size:34px; }
.applicant-deposit-network { margin-top:12px; padding-top:12px; border-top:1px solid var(--line); display:grid; gap:3px; }
.applicant-deposit-card .applicant-deposit-network .applicant-deposit-label { margin-top:0; }
.applicant-deposit-network strong { font-size:14px; line-height:1.6; font-weight:600; color:var(--ink); }
.applicant-deposit-address { margin-top:18px; }
.applicant-deposit-card .applicant-deposit-address > .applicant-deposit-label { margin-top:0; }
.applicant-deposit-card .applicant-deposit-address .applicant-address {
  margin:7px 0 8px; padding:12px 10px; border:0; border-radius:8px; background:#f6f7f8;
  font-family:Consolas,monospace; font-size:13px; line-height:1.7; word-break:break-all; overflow-wrap:anywhere; color:var(--ink);
}
.applicant-deposit-copy { display:block; width:100%; min-height:44px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font-size:14px; }
.applicant-deposit-feedback { display:block; margin-top:7px; font-size:12px; line-height:1.7; }
.applicant-deposit-feedback:empty { display:none; }
.applicant-deposit-sent { padding-top:14px; border-top:1px solid var(--line); color:var(--muted); }
.applicant-deposit-sent p { font-size:13px; line-height:1.7; word-break:keep-all; }
.applicant-deposit-sent strong { color:var(--ink); font-weight:600; }
.applicant-qr { margin-top:12px; }
.applicant-qr summary { padding:10px 0; font-size:14px; color:var(--ink); cursor:pointer; }
.applicant-qr img { display:block; max-width:100%; height:auto; margin:10px auto; padding:8px; background:#fff; }
.applicant-qr img[hidden] { display:none; }
.applicant-qr-message { font-size:12px; line-height:1.7; color:var(--muted); }
.applicant-qr-message:empty { display:none; }
.applicant-deposit-card > .applicant-auto-status { font-size:12px; line-height:1.7; text-align:center; color:var(--muted); }
.admission-refund-guide { padding-top:16px; }
.admission-refund-guide .admission-refund-title { margin:0; font-size:16px; line-height:1.6; font-weight:650; color:var(--ink); }
.admission-refund-guide .admission-refund-intro { margin:8px 0 16px; font-size:14px; line-height:1.75; color:var(--muted); word-break:keep-all; }
.admission-refund-condition { display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px; padding:13px 0; border-top:1px solid var(--line); }
.admission-refund-condition strong { font-size:13px; line-height:1.75; font-weight:600; color:var(--muted); }
.admission-refund-condition span { font-size:14px; line-height:1.7; color:var(--ink); word-break:keep-all; }
@media(max-width:380px){
  .applicant-deposit-state { float:none; display:block; margin-top:3px; }
}
.applicant-overview { display:grid; gap:24px; min-width:0; }
.applicant-overview > .notice,
.applicant-overview > .stats { margin:0; }
.applicant-overview > section:not(:empty):not(.lv1-admission-section) {
  display:grid;
  gap:16px;
  min-width:0;
  padding:24px;
  margin:0;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}
.applicant-overview p,
.applicant-overview .notice,
.applicant-overview .panel-title { margin:0; }
.applicant-overview .panel-title { margin-bottom:4px; }
.applicant-overview > section > button { justify-self:start; max-width:100%; }
.applicant-overview .applicant-form { width:100%; gap:12px; }
.applicant-overview .applicant-form label { margin:0; font-size:inherit; }
.applicant-overview .applicant-form .notice { margin-top:4px; }
.applicant-overview .applicant-form .primary { margin-top:8px; }
.applicant-overview .applicant-form + .muted {
  margin-top:8px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.applicant-overview .notice { overflow-wrap:anywhere; }
.applicant-overview > .lv1-admission-section { margin-top:0; }
@media (max-width:600px) {
  .applicant-overview { gap:20px; }
  .applicant-overview > section:not(:empty):not(.lv1-admission-section) { padding:20px 16px; }
  .applicant-overview > section > button,
  .applicant-overview .applicant-form .primary { width:100%; justify-self:stretch; }
}
