@font-face { font-family: Inter; src: url('/fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Georgian; src: url('/fonts/georgian.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+10A0-10FF,U+1C90-1CBF,U+2D00-2D2F; }

:root {
  color-scheme: light;
  --ink: #1d2925;
  --muted: #7a8580;
  --line: #e5eae7;
  --canvas: #f5f7f6;
  --surface: #fff;
  --green: #176b56;
  --green-hover: #105642;
  --green-soft: #edf5ef;
  --blue: #4e759e;
  --blue-soft: #edf2f8;
  --amber: #a77832;
  --amber-soft: #faf3e5;
  --red: #b74444;
  font-family: Inter, Georgian, 'Segoe UI', Arial, sans-serif;
  font-synthesis: none;
  font-size: 14px;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:disabled { cursor: default; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #78ab98; outline-offset: 3px; }
input:focus, select:focus { outline: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
button { border: 0; background: none; }
a { color: inherit; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.icon-lg { width: 25px; height: 25px; }
.arrow-back { transform: rotate(180deg); }
.separator { color: #bcc5c0; padding-inline: 5px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 0; }
.brand-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand-wordmark { font-size: 24px; font-weight: 700; line-height: 1; }
.brand-dot { color: var(--green); }
.eyebrow { display: block; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.6; }
.primary-button, .secondary-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 42px; padding: 10px 16px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.5; transition: background .15s, border-color .15s; }
.primary-button { color: #fff; background: var(--green); border: 1px solid var(--green); }
.primary-button:hover:not(:disabled) { background: var(--green-hover); border-color: var(--green-hover); }
.secondary-button { background: #fff; border: 1px solid var(--line); }
.secondary-button:hover:not(:disabled) { background: var(--canvas); border-color: #bdcbc3; }
.primary-button:disabled, .secondary-button:disabled { color: #88928d; background: #eff2f0; border-color: #e6ebe7; }
.text-button { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; font-weight: 500; padding: 6px 0; }
.text-button:hover { color: var(--green-hover); }
.text-button .icon { width: 16px; height: 16px; }
.icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid transparent; border-radius: 6px; color: #7a8580; flex: 0 0 auto; }
.icon-button:hover:not(:disabled) { background: var(--green-soft); color: var(--green); }
.icon-button:disabled { color: #c3cbc7; }
.language-select { max-width: 136px; padding: 8px 26px 8px 10px; color: #55665d; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 11px; cursor: pointer; min-height: 35px; }
.language-select:focus-visible { outline: 2px solid #78ab98; outline-offset: 2px; }
.workspace-badge { display: inline-flex; align-items: center; gap: 7px; color: #8a704a; font-size: 10px; background: #faf3e6; padding: 6px 9px; border-radius: 4px; line-height: 1.5; }
.status-dot { width: 5px; height: 5px; background: #c69a48; border-radius: 50%; flex: 0 0 auto; }
.status-pill { display: inline-flex; align-items: center; color: var(--green); font-size: 10px; padding: 4px 7px; background: var(--green-soft); border-radius: 4px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .wallet-form label > span { font-size: 12px; font-weight: 500; line-height: 1.6; }
.field-control { display: flex; align-items: center; gap: 11px; border: 1px solid #dce3de; border-radius: 6px; background: #fff; padding: 0 13px; height: 46px; transition: border-color .15s, box-shadow .15s; }
.field-control:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px #176b5610; }
.field-control > .icon { width: 17px; height: 17px; color: #9aa69e; }
.field-control input { border: 0; background: transparent; flex: 1; min-width: 0; width: 100%; height: 100%; color: var(--ink); font-size: 13px; }
input::placeholder { color: #a1aaa5; }
input:disabled { color: #8a9690; }
.password-toggle { display: grid; place-items: center; width: 30px; height: 34px; color: #93a099; padding: 0; }
.password-toggle .icon { width: 17px; height: 17px; }
.form-message { color: var(--red); font-size: 12px; line-height: 1.6; }
.form-message:empty { display: none; }
.payment-notice { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; font-size: 11px; line-height: 1.8; color: #88744f; background: #faf7ef; border-radius: 4px; }
.payment-notice .icon { width: 16px; height: 16px; margin-top: 2px; }

/* Authentication is a full desktop composition, with a separate compact mobile form. */
.auth-page { display: grid; grid-template-columns: 52% 48%; min-height: 100dvh; background: #fff; }
.auth-story { min-height: 100dvh; padding: 40px 9% 25px; display: flex; flex-direction: column; background: #172b24; color: #fff; overflow: hidden; }
.auth-story .brand-dot { color: #c8e985; }
.story-copy { margin-top: auto; padding-top: 45px; padding-bottom: 34px; max-width: 560px; }
.story-copy .eyebrow { color: #a7bcb0; font-size: 10px; }
.story-copy h1 { font-size: 68px; line-height: 1.2; font-weight: 600; margin-top: 8px; }
.story-copy h1 span { color: #c8e985; }
.story-copy h2 { font-size: 26px; line-height: 1.65; margin-top: 14px; max-width: 440px; }
.story-copy p { color: #a4b7ac; font-size: 13px; line-height: 1.9; margin-top: 12px; max-width: 420px; }
.workspace-preview { position: relative; width: 100%; aspect-ratio: 1.6; max-height: 330px; margin-bottom: auto; overflow: hidden; border-radius: 7px; box-shadow: 0 18px 40px #0002; background: #f5f7f6; }
.workspace-preview > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.preview-label { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 7px; height: 35px; padding: 0 12px; color: #496055; background: #fff; border-top: 1px solid var(--line); font-size: 10px; }
.preview-label .icon { width: 14px; height: 14px; }
.preview-label > span { margin-inline-start: auto; font-size: 9px; color: #9b927e; }
.story-footer { display: flex; justify-content: space-between; color: #8fa79a; font-size: 10px; padding-top: 30px; }
.auth-panel { display: flex; flex-direction: column; padding: 32px 9% 24px; min-width: 0; }
.auth-topline { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.auth-topline nav { display: flex; gap: 18px; }
.auth-topline .text-button { color: var(--muted); font-size: 11px; }
.auth-mobile-brand { display: none; }
.auth-company-link { display: none; }
.auth-content { width: 100%; max-width: 390px; margin: auto; padding: 38px 0; }
.auth-heading { margin-top: 12px; }
.auth-heading h2 { font-size: 25px; line-height: 1.6; font-weight: 600; }
.auth-heading p { font-size: 12px; line-height: 1.9; color: var(--muted); margin-top: 8px; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #f1f4f2; padding: 4px; border-radius: 6px; margin: 24px 0; }
.auth-tab { height: 39px; font-size: 12px; color: #7f8d84; font-weight: 500; border-radius: 4px; }
.auth-tab.active { background: #fff; color: var(--green); box-shadow: 0 1px 4px #1a322710; }
.auth-form { display: grid; gap: 16px; }
.optional { font-size: 10px; font-weight: 400; color: #97a39c; margin-inline-start: 6px; }
.auth-submit { width: 100%; min-height: 46px; margin-top: 5px; justify-content: space-between; padding-inline: 18px; }
.auth-note { display: flex; align-items: flex-start; gap: 8px; font-size: 10px; line-height: 1.8; color: #9b9f98; margin-top: 20px; }
.auth-note .icon { width: 14px; height: 14px; margin-top: 2px; }
.auth-footer { display: flex; justify-content: space-between; color: #9ca7a0; font-size: 10px; }

/* Desktop workspace */
.app-shell { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 30px 18px 15px; background: #fff; border-inline-end: 1px solid var(--line); }
.sidebar > .brand { margin: 0 10px 31px; }
.sidebar .brand-wordmark { font-size: 23px; }
.sidebar .brand-mark { width: 32px; height: 32px; }
.workspace-selector { display: flex; align-items: center; gap: 9px; margin: 0 5px 24px; padding: 11px 8px; background: #f7f9f7; border: 1px solid #e8ede9; border-radius: 6px; }
.workspace-avatar { display: grid; place-items: center; width: 30px; height: 30px; background: #e3ece5; color: var(--green); font-size: 10px; font-weight: 600; border-radius: 4px; }
.workspace-selector > div { flex: 1; min-width: 0; }
.workspace-selector strong { display: block; font-size: 11px; }
.workspace-selector div span { display: block; color: var(--muted); font-size: 9px; margin-top: 4px; }
.workspace-selector > .icon { width: 14px; height: 14px; color: #9ca99f; }
.nav-section-label { font-size: 9px; font-weight: 500; color: #a2afa6; margin: 0 13px 10px; }
.desktop-nav { display: grid; gap: 4px; margin-bottom: 29px; }
.nav-button { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 10px 13px; font-size: 12px; color: #7a8780; border-radius: 5px; text-align: start; }
.nav-button .icon { width: 18px; height: 18px; }
.nav-button:hover { color: var(--ink); background: #f7f9f7; }
.nav-button.active { color: var(--green); font-weight: 600; background: #edf4ee; }
.nav-count { display: grid; place-items: center; min-width: 19px; height: 19px; background: #e2ebe5; border-radius: 4px; font-size: 9px; margin-inline-start: auto; }
.sidebar-bottom { margin-top: auto; padding-inline: 5px; }
.sidebar-bottom > .workspace-badge { margin-bottom: 16px; }
.sidebar-user { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; width: 100%; text-align: start; padding: 16px 0 0; }
.avatar, .avatar-button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e6ebe8; color: #506759; font-size: 12px; font-weight: 600; flex: 0 0 auto; }
.sidebar-user > span:nth-child(2) { flex: 1; min-width: 0; }
.sidebar-user strong, .sidebar-user small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user strong { font-size: 11px; }
.sidebar-user small { color: #99a49d; font-size: 9px; margin-top: 4px; }
.sidebar-user .icon { width: 13px; height: 13px; color: #a2afa6; }
.workspace-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 70px; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 0 0 auto; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #a1aaa5; }
.breadcrumb .icon { width: 12px; height: 12px; color: #c6cec9; }
.breadcrumb strong { color: #6c7b72; font-weight: 500; }
.topbar-date { color: #93a098; font-size: 10px; }
.mobile-brand, .mobile-menu-toggle, .bottom-nav, .mobile-wallet-actions, .mobile-menu { display: none; }
.app-content { padding: 28px 32px 16px; flex: 1; min-width: 0; }
.page { width: 100%; max-width: 1580px; margin: 0 auto; min-width: 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { font-size: 25px; line-height: 1.5; }
.page-heading p { font-size: 11px; line-height: 1.8; color: #75847a; margin-top: 5px; }
.page-kicker { display: block; font-size: 10px; color: #8c9a91; margin-bottom: 3px; }
.dashboard-page .page-heading p { display: none; }
.heading-action { min-height: 37px; font-size: 11px; }
.heading-action .icon { width: 16px; height: 16px; }
.workspace-footer { padding: 9px 32px 14px; display: flex; justify-content: space-between; font-size: 9px; color: #a7b1ab; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.section-heading h2 { font-size: 13px; line-height: 1.6; }
.section-heading p { font-size: 10px; color: var(--muted); margin-top: 4px; line-height: 1.7; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.metric-card { border: 1px solid var(--line); padding: 18px 20px; border-radius: 7px; background: #fff; min-width: 0; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #818e85; font-size: 10px; line-height: 1.5; min-height: 22px; }
.metric-top .icon { color: #657e6d; width: 18px; height: 18px; }
.metric-card > strong { display: block; font-size: 25px; font-weight: 600; margin: 13px 0 7px; white-space: nowrap; }
.metric-card > small { color: #99a49d; font-size: 9px; }
.metric-card.primary { background: var(--green); border-color: var(--green); color: #fff; }
.metric-card.primary .metric-top, .metric-card.primary .icon { color: #b5d1c3; }
.metric-card.primary > small { color: #9abfae; }
.metric-card.blue .icon { color: var(--blue); }
.metric-card.amber .icon { color: var(--amber); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; }
.earnings-panel, .membership-panel, .daily-panel, .recent-panel { min-width: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.earnings-panel .section-heading { margin-bottom: 8px; }
.chart-total { font-size: 16px; font-weight: 500; color: #456356; white-space: nowrap; }
.chart-container { height: 160px; position: relative; }
.membership-panel { display: flex; flex-direction: column; }
.membership-panel > .section-heading > .icon { color: #ab9873; width: 18px; height: 18px; }
.membership-main { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.membership-emblem { display: grid; place-items: center; width: 46px; height: 46px; background: var(--amber-soft); color: #a9884c; border: 1px solid #ede3c9; border-radius: 7px; flex: 0 0 auto; }
.membership-emblem .icon { width: 25px; height: 25px; }
.membership-main strong { display: block; font-size: 17px; font-weight: 500; margin-bottom: 5px; }
.membership-details { margin-bottom: 12px; }
.membership-details > div { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0; font-size: 10px; color: #99a49d; }
.membership-details strong { color: #5d7365; font-weight: 500; white-space: nowrap; }
.membership-panel > .secondary-button { width: 100%; margin-top: auto; min-height: 36px; font-size: 11px; }
.membership-panel > .secondary-button .icon { width: 15px; height: 15px; }
.daily-panel .section-heading { margin-bottom: 7px; }
.daily-task-list { display: grid; }
.task-row { display: flex; align-items: center; gap: 12px; min-height: 48px; border-top: 1px solid #eff2ef; }
.task-row:first-child { border-top: 0; }
.task-row-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; color: #9d8152; background: var(--amber-soft); flex: 0 0 auto; }
.task-row-icon .icon { width: 18px; height: 18px; }
.task-thumbnail { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; background: #f3f5f4; }
.task-row-copy { min-width: 0; flex: 1; }
.task-row-copy strong { display: block; font-size: 11px; font-weight: 500; line-height: 1.7; }
.task-row-copy > span { font-size: 9px; color: #9fa99f; display: block; margin-top: 3px; }
.task-row-reward { font-size: 11px; font-weight: 500; color: #587863; white-space: nowrap; }
.task-row-action { width: 29px; height: 29px; border: 1px solid #eaf0eb; border-radius: 5px; }
.task-row-action .icon { width: 15px; height: 15px; }
.recent-panel .section-heading { margin-bottom: 4px; }
.activity-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f0f3f0; min-width: 0; }
.activity-item:last-child { border-bottom: 0; }
.activity-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #f1f5f2; color: #69816d; flex: 0 0 auto; }
.activity-icon .icon { width: 14px; height: 14px; }
.activity-item > div { flex: 1; min-width: 0; }
.activity-title { display: block; font-size: 10px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.activity-date { display: block; font-size: 8px; color: #a4afa7; margin-top: 4px; }
.activity-points { font-size: 9px; font-weight: 500; color: #607e68; text-align: end; max-width: 110px; overflow-wrap: anywhere; }
.empty-state { padding: 36px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-size: 12px; color: #8b9a90; text-align: center; line-height: 1.8; }
.empty-state .icon { color: #98ac9e; }
.empty-state strong { font-size: 13px; color: #6e8576; font-weight: 500; }
.empty-state p { font-size: 11px; max-width: 340px; }
.stat-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--green); background: var(--green-soft); border-radius: 6px; flex: 0 0 auto; }

/* Task directory and membership comparison */
.task-toolbar { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.search-field { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0 13px; height: 42px; width: 320px; max-width: 100%; }
.search-field:focus-within { border-color: #83a990; }
.search-field .icon { width: 17px; height: 17px; color: #9aac9f; }
.search-field input { border: 0; background: transparent; min-width: 0; flex: 1; height: 100%; font-size: 11px; width: 100%; }
.sort-select { margin-inline-start: auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #7e8e82; font-size: 11px; min-height: 42px; }
.filter-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.filter-button { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; color: #93a197; padding: 0 0 13px; border-bottom: 2px solid transparent; min-height: 35px; }
.filter-button.active { color: var(--green); border-bottom-color: var(--green); font-weight: 500; }
.filter-button > span { font-size: 9px; padding: 2px 5px; border-radius: 4px; background: #e8ede9; color: #8b9d8f; }
.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.task-card { display: flex; flex-direction: column; padding: 18px 20px; border: 1px solid var(--line); border-radius: 7px; background: #fff; min-width: 0; }
.task-card:hover { border-color: #bed2c2; }
.task-card.locked { background: #fbfcfb; }
.task-media { aspect-ratio: 16 / 10; margin-bottom: 16px; background: #f3f5f4; overflow: hidden; }
.task-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
.task-level { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #64796d; }
.task-level .icon { width: 14px; height: 14px; color: #a0865a; }
.task-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.task-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 6px; background: var(--amber-soft); color: #a0865a; }
.task-icon .icon { width: 19px; height: 19px; }
.task-points { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #5e7a64; font-weight: 500; white-space: nowrap; }
.task-points .icon { width: 14px; height: 14px; }
.task-card h3 { font-size: 13px; line-height: 1.6; margin-bottom: 7px; }
.task-card p { font-size: 10px; line-height: 1.9; color: #7b8b80; margin-bottom: 14px; }
.task-requirement { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: #a3aea6; margin: auto 0 14px; }
.task-requirement strong { color: #85988b; font-weight: 500; }
.task-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid #eff2ef; }
.task-meta { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #9caaa1; white-space: nowrap; }
.task-meta .icon { width: 13px; height: 13px; }
.task-button { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--green-soft); color: var(--green); border-radius: 5px; font-size: 10px; padding: 8px 11px; min-height: 31px; }
.task-button .icon { width: 13px; height: 13px; }
.task-button.locked { background: #f0f2f0; color: #a7b2aa; }
.task-button.completed { color: #719480; }
.task-grid > .empty-state { grid-column: 1 / -1; min-height: 240px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0 0; font-size: 10px; color: #9aa99e; }
.pagination > div { display: flex; gap: 6px; }
.pagination .icon-button { border-color: var(--line); background: #fff; width: 30px; height: 30px; }
.pagination .icon { width: 15px; height: 15px; }
.vip-account-strip { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 18px; border: 1px solid var(--line); background: #fff; margin-bottom: 20px; border-radius: 5px; }
.vip-account-strip > span { display: flex; align-items: center; gap: 10px; color: #93a096; font-size: 11px; }
.vip-account-strip strong { color: var(--green); font-size: 13px; font-weight: 500; margin-inline-start: 15px; }
.vip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vip-card { padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 7px; min-width: 0; }
.vip-card.current { border-color: #b2cbbb; background: #fcfefc; }
.vip-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.vip-icon { display: grid; place-items: center; width: 30px; height: 30px; background: var(--amber-soft); color: #a68a57; border-radius: 5px; }
.vip-icon .icon { width: 16px; height: 16px; }
.vip-head strong { font-size: 12px; font-weight: 500; }
.vip-head .status-pill, .plan-number { margin-inline-start: auto; }
.plan-number { color: #b8c2bb; font-size: 11px; }
.vip-price { font-size: 23px; font-weight: 500; margin-bottom: 10px; }
.vip-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.vip-features > span { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #7a8c7f; line-height: 1.6; }
.vip-features .icon { width: 14px; height: 14px; color: #9cac9f; }
.vip-features small { font-size: 9px; color: #a2afa6; }
.upgrade-line { display: flex; justify-content: space-between; gap: 9px; padding-top: 10px; border-top: 1px solid #edf1ed; font-size: 9px; color: #a2aea4; margin-bottom: 12px; }
.upgrade-line strong { color: #7b9582; font-weight: 500; white-space: nowrap; }
.vip-card > button { width: 100%; min-height: 34px; font-size: 10px; padding: 8px; }

/* Accounts, teams, and transaction records */
.balance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 22px; }
.balance-card { display: flex; gap: 17px; align-items: flex-start; background: #fff; border: 1px solid var(--line); padding: 24px; border-radius: 7px; min-width: 0; }
.balance-card > div { min-width: 0; }
.balance-card.withdrawable .stat-icon { color: var(--blue); background: var(--blue-soft); }
.balance-label { display: block; font-size: 11px; color: #8e9d92; margin-bottom: 10px; }
.balance-card strong { display: block; font-size: 27px; font-weight: 500; white-space: nowrap; }
.balance-card small { display: block; font-size: 10px; color: #a4afa6; margin-top: 8px; line-height: 1.8; }
.wallet-command-bar { display: flex; gap: 12px; margin-bottom: 25px; }
.transactions-panel { padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: #fff; margin-bottom: 16px; }
.transactions-panel .section-heading { margin-bottom: 12px; }
.table-wrap { overflow-x: auto; }
.transactions-table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: start; }
.transactions-table th { font-size: 9px; font-weight: 500; color: #97a69c; background: #f8faf8; padding: 12px 13px; text-align: start; }
.transactions-table td { border-bottom: 1px solid #edf1ed; padding: 17px 13px; color: #98a69b; font-size: 10px; }
.transactions-table th:last-child, .transactions-table td:last-child { text-align: end; }
.table-transaction { display: flex; align-items: center; gap: 11px; color: #627a68; }
.table-transaction .icon { width: 16px; height: 16px; color: #8caa95; }
.table-amount { color: #547e60 !important; white-space: nowrap; }
.team-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.invite-card { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; border: 1px solid #dbe7de; border-radius: 7px; padding: 23px; background: #eff5f0; }
.invite-card > .stat-icon { background: #e1ece4; }
.invite-card > span:not(.stat-icon) { color: #92a497; font-size: 10px; }
.invite-card > strong { font-size: 22px; color: var(--green); font-weight: 500; overflow-wrap: anywhere; }
.invite-card button { min-height: 33px; font-size: 10px; }
.stat-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 21px; padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 7px; min-width: 0; }
.stat-card:nth-child(3) .stat-icon { color: var(--blue); background: var(--blue-soft); }
.stat-card:nth-child(4) .stat-icon { color: var(--amber); background: var(--amber-soft); }
.stat-value { display: block; font-size: 22px; font-weight: 500; overflow-wrap: anywhere; }
.stat-label { display: block; font-size: 10px; line-height: 1.8; color: #99a69c; margin-top: 9px; }
.team-list { border-top: 1px solid var(--line); }
.team-list .activity-item { padding: 20px; }
.me-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; }
.profile-summary { padding: 27px 25px; border-inline-end: 1px solid var(--line); text-align: center; }
.profile-avatar { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #e2ebe4; color: #64856e; font-size: 27px; margin: 0 auto 20px; }
.profile-summary h2 { font-size: 18px; overflow-wrap: anywhere; }
.profile-summary > p { font-size: 11px; color: #94a398; margin-top: 10px; overflow-wrap: anywhere; }
.profile-level { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; background: #fbf4e7; color: #a58654; font-size: 10px; padding: 6px 10px; border-radius: 4px; }
.profile-level .icon { width: 13px; height: 13px; }
.profile-links { display: grid; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 12px; }
.profile-links button { display: flex; align-items: center; gap: 10px; padding: 13px 0; text-align: start; color: #819788; font-size: 11px; }
.profile-links button > span { flex: 1; }
.profile-links .icon { width: 15px; height: 15px; }
.profile-settings { max-width: 650px; padding: 28px 0; }
.profile-settings h2 { font-size: 16px; margin-bottom: 30px; }
.profile-form { display: grid; gap: 20px; }
.profile-actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.danger-button { color: var(--red); }
.account-note { color: #a4afa7; font-size: 10px; line-height: 1.8; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 30px; }

/* Company and support use full-width bands. */
.company-masthead { position: relative; padding: 40px; background: #172b24; color: #fff; overflow: hidden; }
.company-masthead .eyebrow { color: #90a79a; }
.company-masthead h1 { font-size: 62px; line-height: 1.2; margin: 12px 0 15px; }
.company-masthead h1 > span { color: #c8e985; }
.company-masthead p { color: #b0c4b8; font-size: 15px; line-height: 1.8; max-width: 600px; }
.company-signature { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #354a3f; }
.company-signature > span { font-size: 10px; color: #86a494; }
.company-signature strong { display: block; color: #bed4c8; margin-top: 5px; font-size: 13px; font-weight: 500; }
.company-signature img { width: 43px; height: 43px; }
.company-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.company-intro .eyebrow { grid-column: 1 / -1; }
.company-intro h2 { font-size: 21px; line-height: 1.7; max-width: 350px; }
.company-intro p { font-size: 12px; line-height: 2; color: #8c9b90; }
.company-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 28px 0; }
.company-principles article { padding: 0 28px; border-inline-start: 1px solid var(--line); position: relative; }
.company-principles article:first-child { padding-inline-start: 0; border: 0; }
.company-principles .icon { color: #849e8a; }
.principle-number { float: right; color: #bac5be; font-size: 11px; }
.company-principles h3 { margin: 13px 0 9px; font-size: 13px; }
.company-principles p { font-size: 10px; line-height: 1.9; color: #98a69c; }
.company-status { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 22px 0; }
.company-status h2 { font-size: 12px; }
.company-status p { font-size: 10px; line-height: 1.8; color: #98a69c; margin-top: 6px; }
.company-status > .workspace-badge { white-space: nowrap; }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 21px 0; }
.faq-item summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 13px; line-height: 1.8; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 18px; height: 18px; color: #96aa9c; margin-top: 4px; }
.faq-item[open] summary .icon { transform: rotate(90deg); }
.faq-item > p { font-size: 12px; line-height: 2; color: #92a197; margin-top: 12px; padding-inline-end: 20px; }
.support-aside { border-inline-start: 1px solid var(--line); padding-inline-start: 30px; padding-top: 20px; }
.support-aside h2 { font-size: 16px; margin-top: 20px; }
.support-aside > p { font-size: 11px; line-height: 1.9; color: #91a196; margin: 12px 0 22px; }
.support-aside .payment-notice { margin-top: 30px; }
.public-header { display: flex; align-items: center; gap: 35px; padding: 20px 5%; background: #fff; border-bottom: 1px solid var(--line); }
.public-header > nav { display: flex; align-items: center; gap: 25px; }
.public-header > div { margin-inline-start: auto; display: flex; gap: 15px; align-items: center; }
.public-shell main { max-width: 1280px; margin: auto; padding: 30px 5%; }
.public-footer { max-width: 1280px; padding: 15px 5% 30px; margin: auto; display: flex; justify-content: space-between; font-size: 10px; color: #a5afa8; }

/* Dialogs and feedback */
.dialog-backdrop { position: fixed; inset: 0; z-index: 100; background: #16251b75; backdrop-filter: blur(4px); padding: 24px; display: grid; place-items: center; }
.dialog { width: min(500px, 100%); background: #fff; border-radius: 8px; box-shadow: 0 20px 80px #14271b30; max-height: calc(100dvh - 48px); overflow: auto; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px 0; }
.dialog-task-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--green-soft); color: var(--green); border-radius: 6px; }
.dialog-close { display: grid; place-items: center; width: 32px; height: 32px; color: #93a299; border-radius: 5px; }
.dialog-close:hover { background: #f2f5f2; }
.dialog-body { padding: 23px 26px 27px; }
.dialog-product-image { display: block; width: 100%; height: 180px; object-fit: contain; background: #f3f5f4; margin-bottom: 20px; }
.dialog-kicker { display: block; font-size: 10px; color: #9fb0a3; margin-bottom: 7px; }
.dialog-body h2 { font-size: 21px; line-height: 1.6; }
.dialog-description { font-size: 12px; line-height: 1.9; color: #8f9f94; margin: 12px 0 20px; }
.dialog-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.meta-chip { display: flex; align-items: center; gap: 5px; color: #73947e; background: var(--green-soft); font-size: 10px; padding: 6px 8px; border-radius: 4px; }
.meta-chip .icon { width: 13px; height: 13px; }
.checklist { padding: 0; list-style: none; margin: 0 0 24px; }
.check-item { display: flex; gap: 12px; align-items: center; font-size: 12px; line-height: 1.8; padding: 14px 0; border-bottom: 1px solid #ecf0ec; cursor: pointer; }
.check-item input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--green); }
.dialog-action { width: 100%; margin-top: 10px; }
.wallet-form { display: grid; gap: 17px; margin-top: 23px; }
.wallet-form label { display: grid; gap: 7px; min-width: 0; }
.wallet-form input, .wallet-form select { height: 43px; border: 1px solid var(--line); border-radius: 5px; padding: 10px 12px; width: 100%; min-width: 0; background: #fff; font-size: 12px; }
.wallet-form input:focus, .wallet-form select:focus { border-color: var(--green); }
.address-row { display: flex; align-items: center; gap: 8px; }
.address-row input { font-size: 10px; background: #f9faf9; }
.copy-address-button { font-size: 0; width: 43px; padding: 10px; flex: 0 0 auto; min-height: 43px; }
.copy-address-button .icon { width: 17px; height: 17px; }
.form-hint { font-size: 11px; line-height: 1.8; color: #9baa9f; }
.wallet-dialog:has([data-wallet-form="withdraw"]) .dialog-head { padding: 16px 20px 0; }
.wallet-dialog:has([data-wallet-form="withdraw"]) .dialog-task-icon { width: 36px; height: 36px; }
.wallet-dialog:has([data-wallet-form="withdraw"]) .dialog-body { padding: 14px 20px 20px; }
.wallet-dialog:has([data-wallet-form="withdraw"]) .dialog-description { margin: 8px 0 14px; }
.wallet-form[data-wallet-form="withdraw"] { gap: 12px; margin-top: 16px; }
.help-item { border-top: 1px solid var(--line); padding: 17px 0; }
.help-item strong { display: block; font-size: 12px; font-weight: 500; line-height: 1.8; }
.help-item p { color: #9daa9f; font-size: 11px; line-height: 1.9; margin-top: 6px; }
.toast-region { position: fixed; z-index: 200; bottom: 22px; right: 24px; display: grid; gap: 9px; max-width: min(400px, calc(100vw - 36px)); }
.toast { display: flex; align-items: center; gap: 11px; padding: 15px 18px; background: #fff; border: 1px solid #dae5dd; border-radius: 7px; box-shadow: 0 9px 28px #19302115; font-size: 12px; line-height: 1.8; }
.toast-icon { color: var(--green); }
.toast.error .toast-icon { color: var(--red); }
.loading-screen { height: 100dvh; display: grid; place-items: center; }
.loading-mark { color: var(--green); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .4; } }

@media (min-width: 1600px) {
  .sidebar { padding-top: 36px; }
  .app-shell { grid-template-columns: 248px minmax(0, 1fr); }
  .app-content { padding: 35px 42px 22px; }
  .topbar { padding-inline: 42px; }
  .metric-card { padding: 23px 24px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
  .chart-container { height: 190px; }
  .task-row { min-height: 65px; }
}
@media (max-width: 1200px) and (min-width: 761px) {
  .app-shell { grid-template-columns: 198px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .app-content, .topbar { padding-inline: 24px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; }
  .metric-card { padding: 16px 15px; }
  .metric-card > strong { font-size: 20px; }
  .earnings-panel, .membership-panel, .daily-panel, .recent-panel { padding: 18px; }
  .metrics-grid { gap: 12px; }
  .task-row { gap: 8px; }
  .task-row-reward { font-size: 10px; }
  .daily-task-list .task-row:nth-child(n+3), .recent-panel .activity-item:nth-child(n+3) { display: none; }
  .topbar-date { display: none; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .task-grid, .vip-grid { gap: 12px; }
  .task-card, .vip-card { padding: 15px; }
  .task-card h3 { font-size: 11px; }
  .vip-price { font-size: 20px; }
  .me-layout { grid-template-columns: 230px minmax(0, 1fr); }
  .support-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
  .story-copy h1 { font-size: 56px; }
  .story-copy h2 { font-size: 23px; }
  .auth-story { padding-inline: 8%; }
  .auth-panel { padding-inline: 8%; }
}
@media (min-width: 761px) and (max-height: 800px) {
  .auth-panel { padding-block: 24px 20px; }
  .auth-content { padding-block: 15px; }
  .auth-form { gap: 11px; }
  .auth-tabs { margin-block: 16px; }
  .auth-form .field-control { height: 43px; }
  .story-copy { padding-top: 25px; padding-bottom: 25px; }
  .story-copy h1 { font-size: 52px; }
  .story-copy h2 { font-size: 22px; }
  .workspace-preview { max-height: 260px; }
  .topbar { height: 60px; }
  .app-content { padding-top: 18px; padding-bottom: 12px; }
  .dashboard-page .page-heading p { display: none; }
  .dashboard-page .page-heading h1 { font-size: 22px; }
  .page-heading { margin-bottom: 18px; }
  .metric-card { padding-block: 13px; }
  .metric-card > strong { margin-block: 8px 4px; font-size: 22px; }
  .metric-card > small { display: none; }
  .metrics-grid { margin-bottom: 16px; }
  .chart-container { height: 135px; }
  .earnings-panel, .membership-panel, .daily-panel, .recent-panel { padding-block: 17px; }
  .membership-main { margin-bottom: 10px; }
  .membership-panel .section-heading { margin-bottom: 10px; }
  .membership-emblem { width: 36px; height: 36px; }
  .membership-main strong { font-size: 15px; }
  .membership-details { margin-bottom: 8px; }
  .membership-details > div { margin-block: 6px; font-size: 9px; }
  .membership-panel > .secondary-button { min-height: 32px; }
  .task-row { min-height: 45px; }
  .workspace-footer { padding-block: 5px 10px; }
  .task-card p { margin-bottom: 10px; }
  .task-top { margin-bottom: 11px; }
  .vip-price { margin-bottom: 13px; }
  .vip-head { margin-bottom: 12px; }
  .vip-features { margin-bottom: 13px; }
}

/* Mobile: compact summaries, bottom navigation, and sheets. */
@media (max-width: 760px) {
  :root { font-size: 13px; }
  .auth-page { display: block; min-height: 100dvh; }
  .auth-story { display: none; }
  .auth-panel { min-height: 100dvh; padding: 22px 24px 18px; }
  .auth-mobile-brand { display: flex; margin-inline-end: auto; }
  .auth-company-link { display: grid; width: 28px; height: 32px; }
  .auth-company-link .icon { width: 17px; height: 17px; }
  .auth-topline { justify-content: space-between; gap: 15px; }
  .auth-topline nav { display: none; }
  .auth-topline .brand-wordmark { font-size: 23px; }
  .auth-topline .brand-mark { width: 32px; height: 32px; }
  .language-select { font-size: 10px; max-width: 116px; padding-inline: 8px 23px; }
  .auth-content { max-width: 430px; padding: 30px 0 24px; margin: auto; }
  .auth-content > .eyebrow { font-size: 10px; }
  .auth-heading { margin-top: 9px; }
  .auth-heading h2 { font-size: 23px; }
  .auth-heading p { font-size: 11px; margin-top: 4px; }
  .auth-tabs { margin: 20px 0; }
  .auth-form { gap: 14px; }
  .field { gap: 6px; }
  .field-control { height: 44px; }
  .field label { font-size: 11px; }
  .field-control input { font-size: 16px; }
  .field-control input::placeholder { font-size: 12px; }
  .auth-note { font-size: 9px; margin-top: 16px; }
  .auth-footer { margin-top: auto; font-size: 9px; }
  .app-shell { display: block; min-height: 100dvh; }
  .sidebar, .breadcrumb, .topbar-date, .topbar-help { display: none; }
  .topbar { height: 63px; padding: 0 18px; gap: 12px; position: sticky; top: 0; z-index: 30; }
  .mobile-brand { display: inline-flex; }
  .mobile-brand .brand-mark { width: 29px; height: 29px; }
  .mobile-brand .brand-wordmark { font-size: 21px; }
  .topbar-actions { gap: 8px; }
  .topbar .language-select { max-width: 92px; height: 31px; min-height: 31px; font-size: 9px; }
  .avatar-button { display: none; }
  .mobile-menu-toggle { display: grid; width: 28px; height: 30px; }
  .mobile-menu { position: fixed; top: 63px; inset-inline: 0; z-index: 40; display: grid; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px #1931210a; }
  .app-content { padding: 20px 18px 82px; }
  .page-heading { margin-bottom: 17px; align-items: flex-end; gap: 12px; }
  .page-heading h1 { font-size: 22px; }
  .page-heading p { font-size: 10px; line-height: 1.7; margin-top: 5px; }
  .page-kicker { font-size: 9px; }
  .dashboard-page .page-heading p { display: none; }
  .heading-action { padding: 8px 11px; min-height: 34px; font-size: 10px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
  .metric-card { padding: 12px 13px; border-radius: 6px; }
  .metric-top { font-size: 8px; min-height: 20px; gap: 6px; }
  .metric-top .icon { width: 15px; height: 15px; }
  .metric-card > strong { font-size: 20px; margin: 7px 0 4px; }
  .metric-card > small { font-size: 8px; }
  .dashboard-page .metric-card > small { display: none; }
  .dashboard-grid { display: flex; flex-direction: column; gap: 12px; }
  .earnings-panel { display: none; }
  .membership-panel { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; border-radius: 6px; }
  .membership-panel > .section-heading, .membership-details { display: none; }
  .membership-main { margin: 0; gap: 10px; min-width: 0; }
  .membership-emblem { width: 37px; height: 37px; border-radius: 5px; }
  .membership-emblem .icon { width: 21px; height: 21px; }
  .membership-main strong { font-size: 13px; margin-bottom: 3px; }
  .status-pill { font-size: 8px; padding: 2px 5px; }
  .membership-panel > .secondary-button { margin: 0; width: auto; max-width: 130px; min-height: 35px; font-size: 9px; padding: 7px 9px; }
  .membership-panel > .secondary-button .icon { width: 12px; height: 12px; }
  .daily-panel, .recent-panel { padding: 13px; border-radius: 6px; }
  .section-heading { margin-bottom: 10px; }
  .section-heading h2 { font-size: 11px; }
  .section-heading p { font-size: 8px; margin-top: 3px; }
  .section-heading .text-button { font-size: 9px; }
  .section-heading .text-button .icon { width: 12px; height: 12px; }
  .daily-task-list .task-row:not(:first-child) { display: none; }
  .task-row { min-height: 49px; gap: 9px; }
  .task-row-icon { width: 30px; height: 30px; }
  .task-row-icon .icon { width: 15px; height: 15px; }
  .task-row-copy strong { font-size: 10px; }
  .task-row-copy > span { font-size: 8px; }
  .task-row-reward { font-size: 10px; }
  .task-row-action { width: 25px; height: 25px; }
  .recent-panel .activity-item { padding: 10px 0; }
  .recent-panel .activity-item:nth-child(n+3) { display: none; }
  .recent-panel .activity-title { font-size: 9px; }
  .recent-panel .activity-date { font-size: 8px; }
  .recent-panel .section-heading .icon-button { height: 25px; width: 25px; }
  .activity-points { font-size: 9px; }
  .mobile-wallet-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; border: 1px solid var(--line); background: #fff; border-radius: 6px; }
  .mobile-wallet-actions button { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 42px; font-size: 9px; color: #789582; border-inline-start: 1px solid var(--line); }
  .mobile-wallet-actions button:first-child { border: 0; }
  .mobile-wallet-actions .icon { width: 15px; height: 15px; }
  .bottom-nav { position: fixed; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: calc(64px + env(safe-area-inset-bottom)); padding: 8px 8px calc(7px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); z-index: 50; }
  .bottom-nav-button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; color: #a2b0a7; padding: 0; font-size: 8px; }
  .bottom-nav-button .icon { width: 20px; height: 20px; }
  .bottom-nav-button.active { color: var(--green); }
  .workspace-footer { display: none; }
  .task-toolbar { gap: 8px; margin-bottom: 16px; }
  .search-field { flex: 1; min-width: 0; width: auto; height: 37px; padding-inline: 10px; }
  .search-field input { font-size: 16px; }
  .search-field input::placeholder { font-size: 10px; }
  .search-field .icon { width: 14px; height: 14px; }
  .sort-select { width: 118px; font-size: 9px; min-height: 37px; padding: 8px; }
  .filter-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
  .filter-button { gap: 4px; font-size: 8px; padding-bottom: 9px; min-height: 34px; }
  .filter-button > span { padding: 1px 3px; font-size: 8px; }
  .task-grid { grid-template-columns: 1fr; gap: 12px; }
  .task-card { padding: 15px; }
  .task-card h3 { font-size: 12px; }
  .task-card p { font-size: 10px; margin-bottom: 13px; }
  .task-top { margin-bottom: 10px; }
  .task-requirement { margin-bottom: 10px; }
  .task-footer { padding-top: 10px; }
  .task-points { font-size: 11px; }
  .task-button { font-size: 9px; }
  .vip-account-strip { padding: 10px 12px; gap: 10px; margin-bottom: 14px; }
  .vip-account-strip > span { font-size: 9px; gap: 7px; flex-wrap: wrap; }
  .vip-account-strip strong { font-size: 11px; margin: 0; }
  .vip-account-strip .icon { width: 14px; height: 14px; }
  .vip-account-strip .text-button { font-size: 9px; }
  .vip-grid { grid-template-columns: 1fr; gap: 12px; }
  .vip-card { padding: 15px; }
  .vip-head { margin-bottom: 10px; }
  .vip-price { font-size: 21px; margin-bottom: 12px; }
  .vip-features { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
  .vip-features > span { font-size: 9px; }
  .upgrade-line { padding-top: 10px; margin-bottom: 10px; font-size: 8px; }
  .pagination { padding-top: 12px; }
  .balance-grid { gap: 10px; margin-bottom: 16px; }
  .balance-card { display: block; padding: 15px; }
  .balance-card .stat-icon { width: 31px; height: 31px; margin-bottom: 15px; }
  .balance-card .stat-icon .icon { width: 16px; height: 16px; }
  .balance-label { font-size: 9px; margin-bottom: 7px; }
  .balance-card strong { font-size: 19px; }
  .balance-card small { font-size: 8px; line-height: 1.9; }
  .wallet-command-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 18px; }
  .wallet-command-bar button { min-height: 36px; padding: 8px; font-size: 10px; gap: 6px; }
  .wallet-command-bar .icon { width: 15px; height: 15px; }
  .transactions-panel { padding: 15px; }
  .transactions-table th { font-size: 8px; padding: 10px 5px; }
  .transactions-table td { font-size: 8px; padding: 13px 5px; }
  .transactions-table th:nth-child(2), .transactions-table td:nth-child(2) { display: none; }
  .table-transaction { gap: 6px; font-size: 9px; }
  .table-transaction .icon { width: 13px; height: 13px; }
  .payment-notice { font-size: 9px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .invite-card { grid-column: 1 / -1; padding: 18px; gap: 10px; display: grid; grid-template-columns: 35px 1fr auto; align-items: center; }
  .invite-card .stat-icon { grid-row: 1 / 3; width: 32px; height: 32px; }
  .invite-card > strong { font-size: 20px; grid-column: 2; }
  .invite-card button { grid-row: 1 / 3; grid-column: 3; font-size: 0; width: 34px; padding: 8px; min-height: 34px; }
  .invite-card button .icon { width: 16px; height: 16px; }
  .team-grid .stat-card { padding: 15px; gap: 14px; }
  .team-grid .stat-card:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; }
  .stat-value { font-size: 20px; }
  .stat-label { font-size: 9px; margin-top: 5px; }
  .stat-card .stat-icon { width: 33px; height: 33px; }
  .stat-card .icon { width: 17px; height: 17px; }
  .team-list .empty-state { padding: 23px 12px; }
  .me-layout { display: block; }
  .profile-summary { padding: 12px 0 20px; border: 0; border-bottom: 1px solid var(--line); }
  .profile-avatar { width: 50px; height: 50px; font-size: 22px; margin-bottom: 12px; }
  .profile-summary h2 { font-size: 16px; }
  .profile-summary > p { font-size: 10px; margin-top: 7px; }
  .profile-level { margin-top: 10px; }
  .profile-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; padding-top: 0; border: 0; }
  .profile-links button { justify-content: center; font-size: 9px; padding: 8px; gap: 6px; }
  .profile-links button > span { flex: 0; }
  .profile-links button .icon:last-child { display: none; }
  .profile-settings { padding: 20px 0 0; }
  .profile-settings h2 { font-size: 13px; margin-bottom: 18px; }
  .profile-form { gap: 15px; }
  .profile-actions { gap: 8px; }
  .profile-actions button { font-size: 10px; min-height: 38px; padding: 9px 12px; }
  .profile-actions .icon { width: 15px; height: 15px; }
  .account-note { margin-top: 18px; padding-top: 15px; font-size: 9px; }
  .company-masthead { padding: 26px 22px; }
  .company-masthead h1 { font-size: 43px; }
  .company-masthead p { font-size: 12px; }
  .company-signature { margin-top: 22px; padding-top: 18px; }
  .company-intro { display: block; padding: 24px 0; }
  .company-intro h2 { font-size: 19px; margin: 10px 0 12px; }
  .company-intro p { font-size: 11px; }
  .company-principles { display: block; padding: 0; }
  .company-principles article { padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); }
  .company-principles article:first-child { padding: 20px 0; }
  .company-principles h3 { font-size: 12px; }
  .company-principles p { font-size: 10px; }
  .company-status { flex-direction: column; align-items: flex-start; gap: 15px; border: 0; }
  .support-layout { display: block; }
  .faq-item { padding: 18px 0; }
  .faq-item summary { font-size: 12px; }
  .faq-item p { font-size: 11px; }
  .support-aside { border: 0; padding: 25px 0 0; }
  .public-header { padding: 18px; gap: 10px; flex-wrap: wrap; }
  .public-header .brand-wordmark { font-size: 20px; }
  .public-header .brand-mark { width: 28px; height: 28px; }
  .public-header > nav { order: 3; width: 100%; gap: 25px; margin-top: 4px; }
  .public-header > div { gap: 8px; }
  .public-header .primary-button { min-height: 33px; font-size: 10px; padding: 7px 10px; }
  .public-header .primary-button .icon { display: none; }
  .public-header .language-select { max-width: 85px; }
  .public-shell main { padding: 20px 18px; }
  .public-footer { padding-inline: 18px; }
  .dialog-backdrop { padding: 16px; }
  .dialog { max-height: calc(100dvh - 32px); }
  .dialog-head { padding: 20px 20px 0; }
  .dialog-body { padding: 20px; }
  .dialog-body h2 { font-size: 19px; }
  .dialog-description { font-size: 11px; }
  .wallet-form input, .wallet-form select { font-size: 16px; }
  .address-row input { font-size: 10px; }
  .toast-region { bottom: 82px; right: 18px; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .auth-panel { padding-top: 16px; }
  .auth-content { padding-top: 22px; padding-bottom: 18px; }
  .auth-form { gap: 10px; }
  .auth-tabs { margin-block: 15px; }
  .auth-heading h2 { font-size: 21px; }
  .auth-content > .eyebrow { display: none; }
  .auth-note { margin-top: 12px; }
  .auth-submit { min-height: 42px; }
  .dashboard-page .page-heading { margin-bottom: 12px; }
  .app-content:has(.dashboard-page) { padding-top: 14px; }
  .dashboard-page .page-kicker { display: none; }
  .dashboard-page .metric-card { padding-block: 8px; }
  .dashboard-page .metric-card > strong { margin: 5px 0 0; }
  .dashboard-page .metrics-grid { gap: 8px; margin-bottom: 12px; }
  .dashboard-page .metric-card > small { display: none; }
  .dashboard-page .recent-panel .activity-list { display: none; }
  .dashboard-page .recent-panel .section-heading { margin: 0; }
  .dashboard-page .daily-panel, .dashboard-page .recent-panel { padding: 10px 13px; }
  .dashboard-page .membership-panel { padding-block: 10px; }
  .dashboard-page .task-row { min-height: 42px; }
  .dashboard-page .daily-panel .section-heading p { display: none; }
  .dashboard-page .mobile-wallet-actions { margin-top: 6px; }
}
@media (max-width: 760px) and (max-height: 680px) {
  .auth-panel { padding-block: 14px; }
  .auth-content { padding-block: 16px; }
  .auth-heading p { display: none; }
  .auth-form { gap: 8px; }
  .auth-form .field-control { height: 40px; }
  .auth-tab { height: 35px; }
  .auth-tabs { margin-block: 14px; }
}
@media (max-width: 360px) {
  .auth-topline { gap: 8px; }
  .auth-topline .brand-wordmark { font-size: 20px; }
  .auth-topline .language-select { max-width: 85px; }
  .topbar { padding-inline: 14px; }
  .mobile-brand .brand-wordmark { font-size: 19px; }
  .topbar .language-select { max-width: 85px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.native-deposit { display: grid; gap: 14px; }
.deposit-qr { width: 200px; height: 200px; justify-self: center; background: #fff; }
.deposit-address-label { font-size: 12px; font-weight: 600; }
.native-address-row { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 12px; border: 1px solid #d4e2da; border-radius: 5px; background: #f4f8f5; }
.native-address-row code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 12px; line-height: 1.7; }
.native-address-row button { flex-shrink: 0; }
.deposit-warning { display: flex; align-items: flex-start; gap: 9px; padding: 12px; background: #fff6df; color: #7a5a26; font-size: 12px; line-height: 1.7; border-left: 3px solid #d8aa43; }
.deposit-warning svg { flex-shrink: 0; margin-top: 2px; }
.native-deposit p { margin: 0; font-size: 12px; line-height: 1.7; }
.deposit-status { display: flex; align-items: center; gap: 8px; color: #657a6d; font-size: 12px; }
.reserved-funds { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 0; font-size: 12px; color: #647b70; }
.reserved-funds strong { margin-inline-start: auto; color: #2f5141; }
.withdrawal-preview { display: grid; gap: 5px; padding: 10px 0; font-size: 12px; border-top: 1px solid #e1e9e3; }
.withdrawal-preview output { font-size: 16px; font-weight: 600; color: #246d50; }
.withdrawal-state { display: block; margin-top: 5px; font-size: 10px; color: #6a7d71; overflow-wrap: anywhere; }
.transaction-explorer { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 10px; color: #157152; }
.transaction-explorer .icon { width: 12px; height: 12px; }
