:root {
  --primary: #2590FE;
  --primary-action: #1473D2;
  --primary-pressed: #0F62B8;
  --primary-text: #1456CB;
  --secondary: #7560D9;
  --on-primary: #FFFFFF;
  --border-accent: #AAC8F5;
  --disabled-surface: #EDF1F7;
  --accent-surface: #F1EDFF;
  --shadow-soft: 0 4px 16px #2590FE14;
  --shadow-card: 0 3px 12px #2590FE0A;
  --shadow-nav: 0 -4px 20px #2590FE14;
  --shadow-floating: 0 12px 32px #2590FE24;
  --shadow-modal: 0 16px 48px #102A6326;
  --brand-gradient: linear-gradient(145deg, #3292FE, var(--primary) 55%, #0875DA);
  --accent-gradient: linear-gradient(145deg, #AB4FF4, #8335E8);
  --surface-gradient: linear-gradient(135deg, #EAF6FF, #DCEEFF);
  --accent-surface-gradient: linear-gradient(135deg, #F6F1FF, #EDE5FF);
  --panel-gradient: linear-gradient(120deg, #E8F5FF, #F5FAFF 65%, #D9EDFF);
  --background: #F5F9FF;
  --canvas-background: #E3EAF4;
  --surface: #FFFFFF;
  --surface-tint: #EAF3FF;
  --navigation-background: linear-gradient(180deg, var(--surface-tint) 0%, var(--surface-tint) 20%, var(--background) 100%);
  --text: #102A63;
  --text-secondary: #50658A;
  --border: #D8E5F5;
  --radius-control: 16px;
  --radius-card: 12px;
  --radius-panel: 16px;
  --radius-modal: 24px;
  --radius-action: 9999px;
  --font-supporting: 1.125rem;
  --font-body: 1.25rem;
  --control: #7D91B2;
  --green: #1F6A46;
  --green-surface: #EDF7EF;
  --amber: #855300;
  --amber-surface: #FFF3CC;
  --rose: #A12B24;
  --rose-surface: #FDEDE9;
  --font-scale: 0.8;
  --nav-height: 96px;
  --app-header-height: 64px;
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --capsule-width: 88px;
  --capsule-height: 32px;
  --capsule-right: 12px;
  --capsule-gap: 12px;
  --page-gutter: 16px;
  --space-content: 12px;
  --space-card: 12px;
  --space-detail: 16px;
  --space-section: 20px;
  --tab-bar-padding: 2px;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: calc(100% * var(--font-scale));
  color: var(--text);
  background: var(--canvas-background);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--app-header-height) + 16px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.6; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { transition: background-color 160ms ease, border-color 160ms ease; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 3px; }
button:active { background-color: var(--surface-tint); }
button:disabled { cursor: wait; background: var(--disabled-surface); color: var(--text-secondary); border-color: var(--control); }
a { color: var(--primary-text); }
button svg, a svg { pointer-events: none; }
img, svg { display: block; }
button { border: 0; }
button, h1, h2, h3, p { margin: 0; }
.icon { width: 28px; height: 28px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[data-icon] { display: inline-flex; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -200px; left: 16px; z-index: 10; padding: 16px; background: white; font-size: 1.25rem; }
.skip-link:focus { top: 16px; }
.app-shell { max-width: 480px; min-height: 100dvh; margin-inline: auto; background: var(--background); }
.app-header { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; min-height: calc(56px + var(--safe-area-top)); padding: var(--safe-area-top) calc(var(--capsule-width) + var(--capsule-right) + var(--capsule-gap)) 0 var(--page-gutter); background: var(--navigation-background); }
/* Brand and location share a flexible header; system chrome is never redrawn. */
.header-context { display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; width: 100%; min-width: 0; padding-block: 4px; font-size: var(--font-supporting); line-height: 1.5; }
.header-brand { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 1.75rem; line-height: 1.3; font-weight: 700; white-space: nowrap; }
.header-brand-mark { width: 32px; height: 36px; }
.location-context { display: flex; align-items: center; justify-content: center; gap: 2px; min-height: 56px; background: transparent; color: var(--text); white-space: nowrap; }
.location-context:disabled { background: transparent; }
.location-context .icon { width: 18px; height: 18px; color: var(--primary-text); }
.mini-program-capsule { position: absolute; top: calc(12px + var(--safe-area-top)); right: var(--capsule-right); width: var(--capsule-width); height: var(--capsule-height); display: var(--capsule-preview-display, flex); justify-content: space-evenly; align-items: center; border: 1px solid #C9C8C4; border-radius: 9999px; background: #FFFFFF70; color: var(--text); pointer-events: none; user-select: none; }
.mini-program-capsule svg { width: 24px; height: 24px; fill: currentColor; }
.capsule-divider { height: 18px; width: 1px; background: #C9C8C4; }
.capsule-reset { display: none; position: absolute; right: -7px; top: -13px; width: 56px; height: 56px; padding: 0; border-radius: 50%; background: transparent; pointer-events: auto; }
.on-home-page .capsule-reset { display: block; }
.capsule-reset:active { background: rgb(16 42 99 / 8%); }
main { padding: 8px var(--page-gutter) calc(var(--nav-height) + 16px); }
.service-search { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-items: stretch; gap: .25rem; font-size: var(--font-supporting); line-height: 1.6; }
.service-search::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--control); border-radius: var(--radius-control); background: var(--surface); pointer-events: none; }
.service-search:focus-within::before { border-color: var(--primary-text); }
.service-search-field { display: flex; align-items: center; gap: .5rem; flex: 999 1 12rem; min-width: min(100%, 12rem); padding-inline: .5rem; }
.service-search-field > :is([data-icon], .icon) { color: var(--text-secondary); }
.service-search .icon { width: clamp(18px, 1.375rem, 28px); height: clamp(18px, 1.375rem, 28px); }
.service-search input { flex: 1; width: 0; min-width: 0; min-height: max(56px, 3rem); padding: .5rem 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: var(--font-supporting); line-height: 1.6; }
.service-search input::placeholder { color: var(--text-secondary); opacity: 1; }
.service-search input:focus-visible { outline: 3px solid var(--primary-text); outline-offset: -3px; border-radius: var(--radius-control); }
.service-search button { flex: 1 0 auto; min-width: max(56px, 4rem); min-height: max(56px, 3rem); padding: .5rem; border-radius: var(--radius-control); background: transparent; color: var(--text-secondary); font-size: var(--font-supporting); font-weight: 400; line-height: 1.4; }
.service-search button:active { color: var(--primary-text); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.section-heading h2 { font-size: 1.5rem; line-height: 1.4; font-weight: 600; }
.service-subsidy-tip { display: grid; gap: 8px; min-width: 0; padding: var(--space-detail); border: 1px solid var(--border); border-radius: var(--radius-panel); background: linear-gradient(135deg, var(--surface-tint), var(--background)); }
.service-subsidy-tip h2 { font-size: 1.375rem; line-height: 1.5; }
.service-subsidy-offer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; color: var(--text-secondary); font-size: var(--font-supporting); }
.service-subsidy-offer strong { color: var(--text); font-weight: 600; }
.service-subsidy-offer > span { white-space: nowrap; }
.service-subsidy-offer > span::before { content: '·'; margin-right: 6px; }
.service-subsidy-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.service-subsidy-actions > button { flex: 1 1 8rem; }
.primary-button, .secondary-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 64px; border: 2px solid transparent; border-radius: var(--radius-control); padding: 14px 16px; font-size: var(--font-body); font-weight: 600; line-height: 1.4; }
.primary-button { border-radius: var(--radius-action); box-shadow: var(--shadow-soft); background: var(--primary-action); color: var(--on-primary); }
.primary-button:active { background: var(--primary-pressed); }
.secondary-button { min-height: 56px; background: var(--surface); color: var(--primary-text); border-color: var(--primary-text); }
.tone-green { color: var(--green); background: var(--green-surface); }
.tone-rose { color: var(--rose); background: var(--rose-surface); }
.tone-amber { color: var(--amber); background: var(--amber-surface); }
.on-coupon-page .app-header { padding-inline: 0; }
.coupon-page-heading { --heading-side-width: calc(var(--capsule-width) + var(--capsule-right) + 4px); display: grid; grid-template-columns: var(--heading-side-width) minmax(0, 1fr) var(--heading-side-width); align-items: center; width: 100%; min-width: 0; min-height: 56px; }
.coupon-page-heading h1 { min-width: 0; text-align: center; text-wrap: balance; font-size: 1.375rem; line-height: 1.45; font-weight: 600; }
body.large-text .coupon-page-heading { grid-template-columns: 1fr 1fr; }
body.large-text .coupon-back { grid-column: 1; grid-row: 1; }
body.large-text .coupon-page-heading h1 { grid-column: 1 / -1; grid-row: 2; padding: 4px 16px 12px; }
.coupon-back { display: flex; align-items: center; justify-content: center; justify-self: start; width: 56px; min-height: 56px; padding: 0; margin-left: calc(var(--page-gutter) - 12px); border-radius: var(--radius-control); background: transparent; }
.coupon-back .icon { width: 22px; height: 22px; }
.on-coupon-page main { padding-top: 8px; padding-bottom: calc(16px + var(--safe-area-bottom)); }
.on-coupon-claim-page main { padding-bottom: calc(var(--coupon-claim-height, 89px) + 16px); }
.coupon-claim-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; z-index: 3; padding: 8px var(--page-gutter) calc(8px + var(--safe-area-bottom)); background: var(--surface); border-top: 1px solid var(--border); }
.coupon-claim-bar button:disabled { cursor: default; }
.coupon-wallet-group + .coupon-wallet-group { margin-top: var(--space-section); }
.coupon-wallet-disclosure { margin-top: var(--space-section); border-top: 1px solid var(--border); }
.coupon-wallet-disclosure > summary { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-content); min-height: 64px; padding: var(--space-detail) 0; cursor: pointer; list-style: none; border-radius: var(--radius-control); }
.coupon-wallet-disclosure > summary::-webkit-details-marker { display: none; }
.coupon-wallet-disclosure-copy { flex: 1 1 10rem; min-width: 0; display: grid; gap: 6px; overflow-wrap: anywhere; }
.coupon-wallet-disclosure-copy > strong { font-size: 1.25rem; line-height: 1.45; }
.coupon-wallet-disclosure-copy > span { font-size: var(--font-body); line-height: 1.5; color: var(--text-secondary); }
.coupon-wallet-disclosure-toggle { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--primary-text); font-size: var(--font-body); line-height: 1.5; }
.coupon-wallet-disclosure-toggle .icon { width: 20px; height: 20px; }
.coupon-wallet-disclosure .coupon-disclosure-collapse, .coupon-wallet-disclosure[open] .coupon-disclosure-expand { display: none; }
.coupon-wallet-disclosure[open] .coupon-disclosure-collapse { display: inline; }
.coupon-wallet-disclosure[open] .coupon-wallet-disclosure-toggle .icon { transform: rotate(180deg); }
.coupon-wallet-disclosure-list { padding-bottom: var(--space-detail); }
.coupon-list-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; margin-bottom: 8px; }
.coupon-list-heading h2 { font-size: 1.5rem; line-height: 1.4; font-weight: 600; }
.coupon-list-heading > span { font-size: 1.125rem; color: var(--text-secondary); }
.coupon-list { display: grid; gap: var(--space-content); }
.subsidy-coupon { min-width: 0; padding: var(--space-card); border: 1px solid var(--border-accent); border-radius: var(--radius-card); background: var(--surface); }
.coupon-center-claimed { border-color: var(--border); background: var(--background); }
.coupon-center-unclaimed { border-color: var(--border-accent); background: var(--surface); }
.coupon-center-claimed .coupon-value { color: var(--text-secondary); }
.coupon-center-claimed .coupon-subsidy-tag, .coupon-center-unclaimed .coupon-subsidy-tag { padding: 0; color: var(--text-secondary); background: transparent; }
.coupon-center-claimed .coupon-period, .coupon-center-unclaimed .coupon-period { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 10px; border-radius: var(--radius-action); line-height: 1.5; }
.coupon-center-claimed .coupon-period { color: var(--green); background: var(--green-surface); }
.coupon-center-unclaimed .coupon-period { color: var(--primary-text); background: var(--surface-tint); }
.coupon-center-claimed .coupon-period .icon { flex: 0 0 18px; width: 18px; height: 18px; }
.coupon-center-claimed .coupon-card-rules, .coupon-center-unclaimed .coupon-card-rules { padding: 12px 0 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; }
.coupon-center-claimed .coupon-card-footer, .coupon-center-unclaimed .coupon-card-footer { padding-top: 0; border-top: 0; }
.coupon-center-claimed .coupon-use-footer > .secondary-button { flex: 0 1 auto; width: auto; min-width: 112px; max-width: 100%; margin-inline-start: auto; border-color: transparent; background: var(--surface-tint); }
.coupon-card-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.coupon-subsidy-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 8px; background: var(--green-surface); color: var(--green); font-size: 1.125rem; line-height: 1.5; font-weight: 600; }
.coupon-subsidy-tag .icon { width: 20px; height: 20px; }
.coupon-period { color: var(--primary-text); font-size: 1.125rem; font-weight: 600; }
.coupon-period.coupon-claimed { color: var(--green); }
.coupon-card-main { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: var(--space-content); min-height: 0; margin-top: var(--space-content); }
.coupon-card-main > .coupon-value { justify-self: end; justify-content: flex-end; }
.coupon-value { display: inline-flex; align-items: baseline; flex: 0 0 auto; gap: 4px; color: var(--primary-text); }
.coupon-value strong { font-size: 2.75rem; line-height: 1.15; font-weight: 600; font-variant-numeric: tabular-nums; }
.coupon-value > span { font-size: 1.25rem; font-weight: 600; }
.coupon-card-copy { min-width: 0; }
.coupon-card-copy h3 { font-size: 1.375rem; line-height: 1.45; font-weight: 600; }
.coupon-card-copy p { margin-top: 6px; color: var(--text-secondary); font-size: 1.125rem; line-height: 1.5; }
.coupon-card-rules { display: grid; gap: 4px; margin-top: var(--space-content); padding: 8px; border-radius: var(--radius-control); background: var(--background); font-size: 1.125rem; line-height: 1.5; color: var(--text-secondary); }
.coupon-card-rules p { display: flex; align-items: flex-start; gap: 8px; }
.coupon-card-rules p > span { min-width: 0; }
.coupon-card-rules .icon { width: 20px; height: 20px; margin-top: 3px; }
.coupon-card-rules time { display: inline-block; }
.coupon-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding-top: 8px; margin-top: var(--space-content); border-top: 1px dashed var(--border); }
.coupon-rules-button { display: inline-flex; align-items: center; gap: 2px; min-height: 56px; padding: 8px 0; border-radius: 8px; background: transparent; color: var(--text-secondary); font-size: 1.125rem; }
.coupon-card-footer > .primary-button, .coupon-card-footer > .secondary-button { flex: 1 1 130px; width: auto; max-width: 190px; margin-inline-start: auto; }
.coupon-use-footer > .secondary-button { width: 100%; max-width: none; }
.coupon-expired { border-color: var(--border); background: var(--background); }
.coupon-expired .coupon-value, .coupon-expired .coupon-period { color: var(--text-secondary); }
.coupon-used { border-color: var(--control); border-style: dashed; background: var(--disabled-surface); }
.coupon-used .coupon-value, .coupon-used .coupon-subsidy-tag { color: var(--text-secondary); }
.coupon-used .coupon-subsidy-tag { background: var(--surface); }
.coupon-used .coupon-period { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 1px solid var(--control); border-radius: 9999px; color: var(--text-secondary); background: var(--surface); }
.coupon-used .coupon-period .icon { width: 18px; height: 18px; }
.coupon-expired-label { color: var(--text-secondary); font-size: 1.125rem; }
.coupon-guidance { margin-top: var(--space-section); padding: var(--space-card); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.coupon-guidance h2 { display: flex; align-items: center; gap: 8px; font-size: 1.375rem; line-height: 1.45; }
.coupon-guidance h2 .icon { color: var(--primary-text); width: 24px; height: 24px; }
.coupon-guidance ol { margin: 12px 0; padding-left: 24px; font-size: 1.125rem; }
.coupon-guidance li + li { margin-top: 12px; }
.coupon-guidance li::marker { color: var(--primary-text); font-weight: 600; }
.coupon-guidance li strong, .coupon-guidance li span { display: block; }
.coupon-guidance li span { color: var(--text-secondary); margin-top: 4px; }
.coupon-help { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 56px; padding: 8px 0 0; border-top: 1px solid var(--border); background: transparent; color: var(--primary-text); font-size: 1.125rem; font-weight: 600; text-align: left; }
.dialog .coupon-claim-recipient, .dialog .coupon-claim-notes p { color: var(--text-secondary); font-size: var(--font-supporting); line-height: 1.5; }
.dialog .coupon-claim-results { display: grid; gap: var(--space-content); margin: var(--space-detail) 0; padding: 0; list-style: none; }
.dialog .coupon-claim-results > li { margin: 0; }
.coupon-claim-result { display: flex; align-items: center; gap: var(--space-content); min-width: 0; min-height: 64px; padding: var(--space-card); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.coupon-claim-result-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; color: var(--green); background: var(--green-surface); }
.coupon-claim-result-icon .icon { width: 24px; height: 24px; }
.coupon-claim-result-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.coupon-claim-result-copy strong { flex: 1 1 9rem; font-size: var(--font-body); line-height: 1.5; }
.coupon-claim-result-copy > span { color: var(--green); font-size: var(--font-supporting); line-height: 1.5; font-weight: 600; }
.coupon-claim-result-failed { background: var(--rose-surface); }
.coupon-claim-result-failed .coupon-claim-result-icon { color: var(--rose); background: var(--surface); }
.coupon-claim-result-failed .coupon-claim-result-copy > span { color: var(--rose); }
.coupon-claim-notes p + p { margin-top: 4px; }
.coupon-claim-outcome { margin-bottom: var(--space-detail); }
.coupon-loading, .coupon-error { padding: 24px 16px; font-size: 1.25rem; text-align: center; }
.coupon-error { border: 1px solid var(--rose); border-radius: var(--radius-card); color: var(--rose); background: var(--rose-surface); }
.coupon-error .secondary-button { margin-top: 16px; }
.coupon-list .empty-state { padding: 24px 16px; border: 1px solid var(--border); border-radius: var(--radius-panel); background: var(--surface); font-size: 1.25rem; }
.coupon-list .empty-state h2 { margin-bottom: 12px; font-size: 1.375rem; line-height: 1.45; }
.coupon-list .empty-state .secondary-button, .coupon-list .empty-state .primary-button { margin-top: 20px; }
.dialog .coupon-success { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--radius-control); background: var(--green-surface); color: var(--green); font-size: 1.125rem; }
.coupon-eligibility-confirm { margin-top: 16px; }
.coupon-detail-summary { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 0; }
.coupon-detail-summary h3 { font-size: 1.375rem; line-height: 1.45; }
.coupon-detail-status { color: var(--text-secondary); font-size: 1.125rem; }
.coupon-detail-rules { display: grid; gap: 12px; margin: 0; font-size: 1.125rem; }
.coupon-detail-rules dt { color: var(--text-secondary); }
.coupon-detail-rules dd { margin: 4px 0 0; }
.coupon-detail-rules + .primary-button { margin-top: 20px; }
.coupon-quota-detail .care-quota-summary { font-size: var(--font-supporting); }
.community-help { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: var(--space-card); min-height: 64px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.community-help:active { background: var(--surface-tint); }
.help-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 4px; }
.help-copy strong { font-size: 1.375rem; font-weight: 600; line-height: 1.45; }
.help-copy > span { font-size: 1.125rem; line-height: 1.5; color: var(--text-secondary); }
.community-help > [data-icon]:last-child { color: var(--primary-text); }
.page-footer { padding-top: 16px; text-align: center; color: var(--text-secondary); font-size: 1.125rem; }
.footer-brand { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-brand .icon { width: 22px; height: 22px; color: var(--primary-text); }
.bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; z-index: 3; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: end; gap: 4px; padding: calc(var(--tab-bar-padding) + 4px) 8px calc(var(--tab-bar-padding) + var(--safe-area-bottom)); background: #FFFFFFF2; backdrop-filter: blur(16px); border-top: 1px solid var(--border); box-shadow: var(--shadow-nav); }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: var(--radius-control); min-height: 56px; min-width: 0; padding: 2px; font-size: 1.125rem; line-height: 1.5; text-decoration: none; color: var(--text-secondary); background: transparent; overflow-wrap: anywhere; }
.nav-item[aria-current="page"] { color: var(--primary-text); background: transparent; font-weight: 600; }
.nav-voice { color: var(--text-secondary); font-weight: 400; padding-top: 0; gap: 0; }
.nav-ai-portrait { display: flex; justify-content: center; align-items: center; flex-shrink: 0; width: 72px; height: 72px; margin-top: -24px; }
.nav-ai-portrait img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.nav-ai-label { position: relative; width: max-content; max-width: calc(100vw - 32px); white-space: nowrap; margin-top: -18px; padding: 3px 8px; border: 1px solid white; border-radius: var(--radius-action); background: linear-gradient(120deg, var(--primary-action), #6751CC); color: white; font-size: 1.125rem; font-weight: 600; line-height: 1.4; box-shadow: 0 2px 8px #2590FE30; }
.nav-voice:active .nav-ai-label { background: var(--primary-pressed); }
.dialog { width: calc(100% - 32px); max-width: 448px; max-height: min(88dvh, calc(100dvh - var(--app-header-height) - max(12px, var(--safe-area-bottom)) - 24px)); margin: calc(var(--app-header-height) + 12px) auto max(12px, var(--safe-area-bottom)); padding: var(--space-detail); border: 1px solid var(--border); border-radius: var(--radius-modal); background: var(--background); color: var(--text); box-shadow: var(--shadow-modal); overflow-y: auto; overscroll-behavior: contain; }
.dialog::backdrop { background: #102A6361; }
.dialog-heading { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: start; gap: 8px; margin-bottom: 8px; }
.dialog-heading > h2 { grid-column: 2; }
.dialog-heading > .close-button { grid-column: 3; }
.dialog h2 { flex: 1; text-align: center; text-wrap: balance; font-size: 1.5rem; line-height: 1.4; font-weight: 600; padding-top: 10px; }
.close-button { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 56px; min-width: 56px; border-radius: var(--radius-control); border: 1px solid var(--control); background: var(--surface); }
.dialog p, .dialog li { font-size: 1.25rem; line-height: 1.6; }
.dialog ul { padding-left: 24px; margin: 12px 0; }
.dialog li + li { margin-top: 10px; }
.dialog .dialog-note { border-radius: var(--radius-control); background: var(--surface-tint); padding: var(--space-content); font-size: 1.125rem; margin: 12px 0; }
.dialog .scope-note { color: var(--text-secondary); font-size: 1.125rem; margin: 12px 0; }
.dialog .secondary-button { margin-top: 16px; }
.dialog.dialog-sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: 480px; max-height: min(90dvh, calc(100dvh - var(--safe-area-top) - 16px)); margin: 0 auto; padding: 0; border: 0; border-radius: var(--radius-modal) var(--radius-modal) 0 0; background: var(--surface); overflow: hidden; transform: translateY(var(--sheet-drag, 0px)); }
.dialog-sheet[open] { display: flex; flex-direction: column; animation: dialog-sheet-enter 180ms ease-out; }
.dialog-sheet .dialog-heading { position: relative; flex: 0 0 auto; margin: 0; padding: 20px var(--page-gutter) 8px; border-bottom: 1px solid var(--border); touch-action: none; }
.dialog-sheet .dialog-heading::before { content: ''; position: absolute; top: 10px; left: calc(50% - 22px); width: 44px; height: 4px; border-radius: 9999px; background: var(--control); }
.dialog-sheet #dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; overflow-wrap: anywhere; padding: var(--space-detail) var(--page-gutter) calc(16px + var(--safe-area-bottom)); }
@keyframes dialog-sheet-enter { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .dialog-sheet[open] { animation: none; } }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.size-options button { flex: 1 1 88px; padding: 14px 10px; min-height: 56px; border: 2px solid var(--control); background: var(--surface); border-radius: var(--radius-control); font-size: 1.125rem; }
.size-options button[aria-pressed="true"] { color: var(--primary-text); border-color: var(--primary-text); background: var(--surface-tint); font-weight: 600; }
.size-preview { padding: var(--space-content); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-control); }
.size-preview > span { display: inline-block; max-width: 100%; text-wrap: balance; }
.on-profile-page .app-header { min-height: calc(56px + var(--safe-area-top)); padding-inline: calc(var(--capsule-width) + var(--capsule-right) + 4px); }
.on-profile-page main { padding-top: 8px; }
.profile-header-title { width: 100%; text-align: center; font-size: 1.375rem; font-weight: 600; }
.profile-welcome { position: relative; margin: -8px calc(var(--page-gutter) * -1) 0; padding: 8px var(--page-gutter) 12px; background: transparent; }
.profile-user-info { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 0; border-radius: var(--radius-card); background: transparent; text-align: left; }
.profile-user-info:active { background: #EAF3FF; }
.profile-avatar { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 56px; height: 56px; color: var(--primary-text); }
.profile-avatar .icon { width: 30px; height: 30px; }
.profile-greeting { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.profile-greeting .profile-eyebrow { color: var(--primary-text); font-size: 1.125rem; margin-bottom: 4px; text-wrap: balance; }
.profile-greeting strong { font-size: 1.5rem; font-weight: 600; line-height: 1.4; }
.profile-greeting > span:last-child { margin-top: 4px; color: var(--text-secondary); font-size: 1.125rem; }
.profile-section + .profile-section { margin-top: var(--space-section); }
.profile-section .section-heading { flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; }
.profile-menu { display: grid; gap: 0; padding: 4px; border: 1px solid var(--border); border-radius: var(--radius-panel); background: var(--surface); }
.profile-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 88px; min-width: 0; padding: 12px 8px; background: var(--surface); border-radius: var(--radius-control); text-align: left; }
.profile-menu .profile-row { min-height: 64px; gap: 10px; padding: 8px; }
.profile-menu .profile-row-icon { width: 32px; height: 36px; background: transparent; border-radius: 0; }
.profile-menu .profile-row-copy { gap: 2px; }
.profile-menu .profile-row + .profile-row { position: relative; }
.profile-menu .profile-row + .profile-row::before { content: ""; position: absolute; top: 0; left: 50px; right: 8px; height: 1px; background: var(--border); }
.profile-row-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 40px; flex: 0 0 auto; color: var(--primary-text); background: var(--surface-tint); border-radius: 10px; }
.profile-row-icon.tone-green { color: var(--green); background: var(--green-surface); }
.profile-row-icon.tone-amber { color: var(--amber); background: var(--amber-surface); }
.profile-row-icon.tone-rose { color: var(--rose); background: var(--rose-surface); }
.profile-row-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.profile-row-copy strong { font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
.profile-row-copy > span { color: var(--text-secondary); font-size: 1.125rem; line-height: 1.5; }
.profile-row-value { color: var(--primary-text); font-size: 1.125rem; flex: 0 0 auto; }
.row-chevron { color: var(--text-secondary); }
.row-chevron .icon { width: 18px; height: 24px; }
.profile-community { margin-top: 16px; padding: 4px 12px 12px; border: 1px solid var(--border-accent); border-radius: var(--radius-panel); background: var(--surface-tint); }
.profile-community .community-help { min-height: 64px; padding: 8px 0; border: 0; background: transparent; border-radius: var(--radius-control); }
.profile-community-icon { display: inline-flex; justify-content: center; align-items: center; width: 36px; height: 40px; color: var(--primary-text); }
.profile-community-icon .icon { width: 32px; height: 32px; }
.profile-community .community-help > [data-icon]:last-child .icon { width: 18px; }
.profile-community-hours { font-size: 1.125rem; color: var(--text-secondary); padding-top: 8px; border-top: 1px solid var(--border-accent); }
.profile-footer { padding-top: 12px; }
.profile-footer > p { margin-top: 6px; }
.profile-account { margin-bottom: 12px; }
.profile-identity-card { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; width: 100%; min-height: 64px; padding: 8px var(--space-content); text-align: left; border: 1px solid var(--border-accent); border-radius: var(--radius-panel); background: var(--surface-tint); }
.profile-identity-card .profile-row-copy { flex: 1 1 8rem; }
.identity-card-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 40px; color: var(--primary-text); }
.identity-card-icon .icon { width: 32px; height: 32px; }
.identity-card-action { font-size: 1.125rem; color: var(--primary-text); font-weight: 600; flex: 0 0 auto; }
.on-account-page .app-header { padding-inline: 0; }
.account-page-heading { --heading-side-width: calc(var(--capsule-width) + var(--capsule-right) + 4px); display: grid; grid-template-columns: var(--heading-side-width) minmax(0, 1fr) var(--heading-side-width); align-items: center; min-width: 0; width: 100%; min-height: 56px; }
.account-page-heading h1 { min-width: 0; text-align: center; font-size: 1.25rem; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.account-back { display: flex; align-items: center; justify-content: center; justify-self: start; width: 56px; min-height: 56px; border-radius: var(--radius-control); background: transparent; margin-left: calc(var(--page-gutter) - 12px); }
.on-account-page main { padding-top: var(--space-detail); padding-bottom: calc(16px + var(--safe-area-bottom)); }
.account-page { min-height: calc(100dvh - var(--app-header-height) - 60px); }
.account-page .account-flow { max-width: 400px; margin-inline: auto; }
.account-flow p { font-size: 1.25rem; line-height: 1.6; }
.account-flow .secondary-button { margin-top: 16px; }
.account-flow > .secondary-button,
#identity-form > .account-community-link { border-radius: var(--radius-action); }
.on-account-page:has(.login-layout) .app-shell { background: linear-gradient(180deg, var(--surface-tint) var(--app-header-height), var(--surface) calc(var(--app-header-height) + 220px)); }
.on-account-page:has(:is(.login-layout, #community-form, .account-community-code)) .app-header { container: account-header / inline-size; }
.on-account-page:has(.login-layout) .app-header { background: var(--surface-tint); }
.on-account-page:has(:is(.login-layout, #community-form, .account-community-code)) .account-page-heading h1 { padding-block: 4px; text-wrap: balance; }
@container account-header (width < 17rem) {
  .account-page-heading { grid-template-rows: minmax(56px, auto) auto; }
  .account-page-heading h1 { grid-area: 2 / 1 / 3 / -1; margin-inline: var(--page-gutter); }
}
.account-page .account-flow:has(> .login-layout) { max-width: 360px; }
.login-brand { display: grid; justify-items: center; gap: 8px; padding: clamp(16px, 5svh, 40px) 0 32px; text-align: center; }
.login-brand .brand-logo { width: 72px; height: auto; aspect-ratio: 96 / 76; }
.login-brand > strong { font-size: 2rem; line-height: 1.35; font-weight: 600; }
.account-flow .login-brand > p { color: var(--text-secondary); font-size: var(--font-supporting); line-height: 1.5; }
.login-actions { display: grid; gap: 8px; }
.login-actions > button { text-wrap: balance; }
.login-alternative { min-height: 56px; padding: 8px 16px; border-radius: var(--radius-control); background: transparent; color: var(--primary-text); font-size: var(--font-body); font-weight: 600; line-height: 1.4; }
.login-alternative:active, .login-agreement-links > button:active { background: var(--surface-tint); }
.login-agreement { display: flex; align-items: center; justify-content: center; gap: 0 8px; margin-top: var(--space-detail); border-top: 1px solid var(--border); color: var(--text-secondary); font-size: var(--font-supporting); flex-wrap: wrap; }
.login-check-target { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; min-height: 56px; cursor: pointer; white-space: nowrap; }
.login-check-target input { appearance: none; display: grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; margin: 0; border: 2px solid var(--control); border-radius: var(--radius-action); background: var(--surface); cursor: pointer; }
.login-check-target input:checked { border-color: var(--primary-action); background: var(--primary-action); }
.login-check-target input:checked::after { content: ""; width: 6px; height: 11px; margin-top: -3px; border: solid var(--on-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.login-check-target input:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 3px; }
.login-agreement-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 8px; max-width: 100%; }
.login-agreement-links > button { flex: 0 0 auto; min-width: 56px; min-height: 56px; padding: 8px 0; border-radius: 8px; color: var(--primary-text); background: transparent; font-size: inherit; white-space: nowrap; }
.phone-authorization { position: fixed; inset: auto 0 0; width: 100%; max-width: 480px; max-height: calc(100dvh - max(16px, var(--safe-area-top))); margin: 0 auto; padding: 16px var(--page-gutter) calc(16px + var(--safe-area-bottom)); border: 0; border-radius: 16px 16px 0 0; background: #F7F7F7; color: #171717; overflow-y: auto; overscroll-behavior: contain; }
.phone-authorization::backdrop { background: #0005; }
.phone-authorization-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; min-height: 40px; }
.phone-authorization-logo { display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 28px; }
.phone-authorization-logo .icon { width: 22px; height: 22px; }
.phone-authorization-brand strong { font-size: 1.25rem; font-weight: 600; }
.phone-authorization-info { display: flex; justify-content: center; align-items: center; width: 56px; min-height: 56px; margin: -8px -12px -8px auto; border-radius: 12px; color: #50658A; background: transparent; font-size: 1.125rem; font-family: Georgia, serif; }
.phone-authorization-info::before { content: ""; position: absolute; width: 21px; height: 21px; border: 1px solid #AAAAAA; border-radius: 50%; pointer-events: none; }
.phone-authorization h2 { font-size: 1.375rem; line-height: 1.5; font-weight: 600; }
.phone-authorization-purpose { margin-top: 4px; font-size: 1.125rem; line-height: 1.6; color: #707070; }
.phone-authorization-explanation { padding: 12px; margin-top: 12px; border: 1px solid #D8D8D8; border-radius: 10px; background: white; font-size: 1.125rem; }
.phone-authorization-options { display: grid; gap: 8px; margin-top: 16px; }
.phone-authorization-number, .phone-authorization-deny { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 64px; padding: 10px 12px; border-radius: 12px; background: white; font-size: 1.375rem; line-height: 1.5; }
.phone-authorization-number { flex-direction: column; min-height: 72px; }
.phone-authorization-history { color: #23884A; font-size: 1.125rem; }
.phone-authorization-number:active, .phone-authorization-deny:active { background: #ECECEC; }
.phone-authorization-other { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 56px; margin-top: 16px; padding: 12px; border-radius: 12px; background: transparent; color: #576B95; font-size: 1.125rem; font-weight: 600; }
.phone-authorization-error { padding: 12px; margin-top: 16px; border: 1px solid var(--rose); border-radius: 12px; color: var(--rose); background: var(--rose-surface); font-size: 1.125rem; }
.sms-code-controls { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.sms-code-controls input { flex: 1 1 calc(7.5rem + 28px); }
.sms-code-controls .secondary-button { flex: 0 1 auto; min-width: 128px; width: auto; min-height: 64px; margin: 0; font-size: 1.125rem; padding-inline: 12px; }
.sms-login-form > .primary-button { margin-top: 16px; }
.account-flow .sms-status { color: var(--text-secondary); font-size: 1.125rem; margin: 0 0 20px; }
.sms-status:empty { display: none; }
.account-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0 0 16px; list-style: none; }
.account-steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--text-secondary); font-size: 1.125rem; line-height: 1.5; overflow-wrap: anywhere; }
.account-steps li + li { margin-top: 0; }
.account-steps li > span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--control); border-radius: 50%; font-weight: 600; }
.account-steps li[aria-current="step"] { color: var(--primary-text); font-weight: 600; }
.account-steps li[aria-current="step"] > span { background: var(--surface-tint); border: 2px solid var(--primary-text); }
.account-intro { text-align: center; padding: 0 0 16px; }
.account-page .account-intro { padding-top: 4px; }
.account-emblem { display: flex; justify-content: center; align-items: center; width: 56px; height: 56px; margin: 0 auto 12px; color: var(--primary-text); background: var(--surface-tint); border-radius: var(--radius-card); }
.account-emblem .icon { width: 32px; height: 32px; }
.account-intro h3, .account-form-intro h3 { font-size: 1.5rem; line-height: 1.45; margin: 0 0 12px; }
.account-intro > p, .account-form-intro > p { color: var(--text-secondary); font-size: 1.125rem; }
.account-form-intro { margin-bottom: 16px; }
.account-consent { display: flex; align-items: flex-start; gap: 12px; min-height: 56px; padding-block: 12px; font-size: 1.125rem; line-height: 1.6; cursor: pointer; }
.account-consent input { width: 28px; height: 28px; margin: 0; margin-top: 2px; flex: 0 0 auto; accent-color: var(--primary-text); }
.account-consent input:focus-visible, .account-field input:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 3px; }
.account-inline-link { display: flex; align-items: center; justify-content: center; min-width: 56px; min-height: 56px; padding: 8px; border-radius: 8px; font-size: 1.125rem; background: transparent; color: var(--primary-text); text-decoration: underline; text-underline-offset: 4px; }
.account-inline-link { width: 100%; margin-bottom: 12px; }
.account-text-button { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 56px; margin-top: 12px; padding: 12px; font-size: 1.125rem; border-radius: var(--radius-control); background: transparent; color: var(--primary-text); }
.account-notice { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0; padding: var(--space-content); background: var(--surface-tint); border: 1px solid var(--border); border-radius: var(--radius-control); font-size: 1.125rem; line-height: 1.6; }
.account-notice > .icon { width: 24px; height: 28px; color: var(--primary-text); }
.account-field { margin-bottom: 12px; }
.account-field label { display: block; margin-bottom: 8px; font-size: 1.25rem; font-weight: 600; }
.account-field input { width: 100%; min-width: 0; min-height: 64px; padding: 12px; border: 2px solid var(--control); border-radius: var(--radius-control); background: var(--surface); color: var(--text); font: inherit; font-size: 1.25rem; }
.account-field input::placeholder { color: var(--text-secondary); opacity: 1; }
.account-field input[aria-invalid="true"] { border-color: var(--rose); }
.account-field > p { margin-top: 8px; font-size: 1.125rem; color: var(--text-secondary); }
.account-details { display: grid; gap: 12px; padding: var(--space-card); margin: 0 0 16px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.account-details > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; font-size: 1.125rem; }
.account-details dt { color: var(--text-secondary); }
.account-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.account-details .account-verified { color: var(--green); }
.account-flow .account-error, .account-logout-dialog .account-error { margin-top: 16px; padding: 16px; border: 1px solid var(--rose); border-radius: var(--radius-control); background: var(--rose-surface); color: var(--rose); font-size: 1.125rem; }
.account-logout-dialog { margin: auto; }
.account-logout-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: var(--space-content); margin-top: var(--space-section); }
.account-logout-actions .secondary-button { min-height: 64px; margin-top: 0; border-radius: var(--radius-action); }
.dialog:has(.face-recovery-content) {
  margin: auto;
  max-height: calc(100dvh - max(16px, var(--safe-area-top)) - max(16px, var(--safe-area-bottom)));
  padding: var(--space-section);
  background: var(--surface);
}
.face-recovery-content {
  display: grid;
  gap: var(--space-detail);
  width: min(100%, 22rem);
  margin-inline: auto;
}
.face-recovery-content p { color: var(--text-secondary); font-size: var(--font-supporting); line-height: 1.5; }
.face-recovery-actions { display: grid; grid-auto-rows: 1fr; gap: var(--space-content); }
.face-recovery-actions > button { min-height: 64px; padding-block: 10px; }
.face-recovery-actions .secondary-button { margin-top: 0; border-radius: var(--radius-action); }
.account-policy h3 { font-size: 1.375rem; margin: 24px 0 8px; }
.account-policy p { font-size: 1.125rem; }
.account-service-note { display: flex; align-items: flex-start; gap: 10px; padding: var(--space-content); margin-bottom: 12px; color: var(--green); background: var(--green-surface); border-radius: var(--radius-control); }
.account-service-note > [data-icon] { margin-top: 4px; }
.on-face-page .app-shell, .on-face-page .app-header { background: #FFFFFF; }
.on-face-page .mini-program-capsule { display: none; }
.on-face-page .account-page-heading h1 { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.on-face-page main { padding: 0 28px calc(24px + var(--safe-area-bottom)); }
.on-face-page .account-page { min-height: 0; }
.on-face-page .account-page .account-flow { max-width: none; }
.face-authorization-page { display: flex; flex-direction: column; min-height: calc(100dvh - var(--app-header-height) - 24px - var(--safe-area-bottom)); }
.face-application { padding-top: 24px; }
.face-application-brand { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; color: #171717; }
.face-application-brand > span:first-child { color: var(--primary-text); }
.face-application-brand .icon { width: 26px; height: 26px; }
.face-application h2 { margin-top: 20px; font-size: 1.5rem; line-height: 1.5; font-weight: 500; color: #171717; }
.face-authorization-actions { margin-top: auto; padding-top: 32px; }
.face-native-agreement { display: flex; align-items: flex-start; gap: 4px; font-size: 1.125rem; line-height: 1.6; }
.face-native-check { display: flex; align-items: flex-start; justify-content: center; flex: 0 0 32px; min-height: 56px; padding-top: 4px; cursor: pointer; }
.face-native-check input { appearance: none; display: grid; place-content: center; width: 24px; height: 24px; margin: 0; border: 1px solid #A5A5A5; border-radius: 50%; background: white; cursor: pointer; }
.face-native-check input:checked { border-color: #008A43; background: #008A43; }
.face-native-check input:checked::after { content: ""; width: 6px; height: 12px; margin-top: -3px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.face-native-check input:focus-visible { outline: 3px solid #008A43; outline-offset: 3px; }
.face-native-agreement-copy { flex: 1; min-width: 0; color: #707070; }
.face-native-agreement-copy > label { cursor: pointer; }
.face-native-agreement-copy button { display: inline; min-height: 44px; padding: 4px 0; border-radius: 4px; color: #576B95; background: transparent; font-size: inherit; line-height: inherit; text-align: left; }
.face-native-next { display: flex; align-items: center; justify-content: center; width: min(100%, 240px); min-height: 56px; margin: 16px auto 0; padding: 12px 20px; border-radius: 10px; background: #008A43; color: #FFFFFF; font-size: 1.375rem; line-height: 1.5; }
.face-native-next:active { background: #007A3B; }
.face-native-help { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 12px; padding: 12px; border-radius: 10px; color: #576B95; background: transparent; font-size: 1.125rem; }
.face-capture-page { padding-top: 16px; }
.face-capture-page h2 { margin-bottom: 16px; font-size: 1.75rem; font-weight: 600; line-height: 1.5; text-align: center; color: #171717; }
.face-camera { position: relative; width: min(82vw, 320px); max-width: 100%; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; background: radial-gradient(ellipse at 30% 30%, #EEF2F0, #C4D0C9); }
.face-camera video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.face-camera-guide { position: absolute; inset: 8% 19%; border: 2px solid #FFFFFFA6; border-radius: 50%; }
.face-camera-scan { position: absolute; left: 0; right: 0; top: 18%; height: 2px; opacity: 0; background: #FFFFFFAA; box-shadow: 0 0 20px 4px #00BA6C30; }
[data-phase="checking"] .face-camera-scan { opacity: 1; animation: face-sweep 1.6s ease-in-out infinite alternate; }
[data-phase="failed"] .face-camera { box-shadow: 0 0 0 2px var(--rose-surface); }
@keyframes face-sweep { from { top: 18%; } to { top: 80%; } }
body.large-text .profile-identity-card { flex-wrap: wrap; }
body.large-text .profile-identity-card .profile-row-copy { flex-basis: calc(100% - 56px); }
body.large-text .identity-card-action { margin-left: 52px; }
body.large-text .profile-identity-card > .row-chevron { margin-left: auto; }
body.extra-large-text .account-steps { grid-template-columns: 1fr; gap: 12px; }
body.extra-large-text .account-steps li { flex-direction: row; text-align: left; }
body.extra-large-text .account-details > div { flex-direction: column; }
.empty-state { text-align: center; padding: 12px 0 24px; }
.empty-state-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: var(--radius-panel); background: var(--surface-tint); color: var(--primary-text); }
.empty-state-icon .icon { width: 40px; height: 40px; }
.empty-state h3 { margin-bottom: 12px; font-size: 1.375rem; line-height: 1.45; }
.empty-state p { color: var(--text-secondary); }
.favorite-list { display: grid; gap: 12px; margin-top: 20px; }
.favorite-list .profile-row { border: 1px solid var(--border); padding: 16px 12px; }
.favorite-button[aria-pressed="true"] .icon { fill: var(--surface-tint); stroke-width: 2.5; }
.about-brand { text-align: center; padding: 4px 0 16px; }
.about-brand > .icon { width: 48px; height: 48px; color: var(--primary-text); margin: 0 auto 8px; }
.about-brand strong { font-size: 1.75rem; color: var(--primary-text); }
.about-brand p { margin-top: 8px; font-size: 1.125rem; color: var(--text-secondary); }
.dialog-subtitle { margin: 16px 0 8px; font-size: 1.375rem; }
body.large-text .profile-user-info { align-items: flex-start; }
body.large-text .profile-row { flex-wrap: wrap; }
body.large-text .profile-row-value { margin-left: 42px; }
body.large-text .profile-row-copy { flex-basis: calc(100% - 60px); }
body.large-text .profile-row > .row-chevron { margin-left: auto; }
body.large-text .profile-community .community-help { flex-wrap: wrap; }
body.large-text .profile-community .help-copy { flex-basis: calc(100% - 56px); }
body.large-text .profile-community .community-help > [data-icon]:last-child { display: none; }
body.extra-large-text .profile-user-info { flex-wrap: wrap; }
body.extra-large-text .profile-user-info .profile-greeting { flex-basis: calc(100% - 72px); }
body.extra-large-text .profile-row-icon { display: none; }
body.extra-large-text .profile-row-copy { flex-basis: calc(100% - 32px); }
body.extra-large-text .profile-row-value { margin-left: 0; }
body.large-text .bottom-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding-inline: 8px; }
body.large-text .coupon-card-main { grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .app-shell { box-shadow: 0 0 60px #2590FE12; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
@media (prefers-reduced-motion: reduce) { .face-camera-scan { animation: none !important; } }

/* Shared C-end density: preserve typography and touch targets while reducing whitespace. */
.care-stack, .mall-stack, .meal-stack { display: grid; gap: var(--space-content); }
.care-panel, .mall-panel, .meal-panel { min-width: 0; padding: var(--space-card); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }

/* Shared C-end navigation and controls. */
.mall-bottom:has(> .mall-tabs:only-child) { padding-block: var(--tab-bar-padding) calc(var(--tab-bar-padding) + var(--safe-area-bottom)); }
:is(.mall-back, .care-back, .meal-back, .account-back, .coupon-back) { margin-left: 4px; border-radius: var(--radius-control); }


.account-flow .account-community-link { margin-block: 12px; }
.account-community-code { display: grid; gap: 12px; margin-block-end: 20px; text-align: center; }
.account-community-code .work-qr { display: block; width: min(100%, 224px); height: auto; margin-inline: auto; }
.account-community-countdown { font-variant-numeric: tabular-nums; white-space: nowrap; }
