: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; }
.login-note { font-size: 12px; margin: 24px 0; line-height: 1.9; }
.login-note span { font-size: 10px; color: var(--muted); }
.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: none; }
.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; }
.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; }
.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; }
  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; }
.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; }
.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; }
@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; }
}
