*{box-sizing:border-box}.is-hidden{display:none!important}:root{color-scheme:light;--bg-1: #eef3f9;--bg-2: #dbe5f2;--panel: rgba(255, 255, 255, .82);--panel-border: rgba(148, 163, 184, .22);--text: #14213d;--muted: #64748b;--accent: #274bdb;--accent-2: #12b76a;--danger: #ef4444;--shadow: 0 24px 60px rgba(15, 23, 42, .16)}html,body{width:100%;min-height:100%;margin:0}body{font-family:Manrope,sans-serif;color:var(--text);background:radial-gradient(circle at 20% 10%,rgba(39,75,219,.16),transparent 28%),radial-gradient(circle at 80% 20%,rgba(18,183,106,.14),transparent 30%),linear-gradient(180deg,var(--bg-1),var(--bg-2));overflow:hidden}body{overflow:auto}button{font:inherit}button:focus-visible{outline:3px solid rgba(39,75,219,.35);outline-offset:3px}#root{width:100%;min-height:100vh}.app-stage{position:relative;width:100%;min-height:100vh;display:grid;place-items:center;padding:16px}.app-stage:before,.app-stage:after{content:"";position:absolute;inset:auto;pointer-events:none;filter:blur(18px);opacity:.55}.app-stage:before{width:220px;height:220px;top:10%;left:8%;background:#274bdb29;border-radius:50%}.app-stage:after{width:280px;height:280px;right:6%;bottom:4%;background:#12b76a1f;border-radius:50%}.app-shell{position:relative;width:min(100%,430px);border-radius:36px;padding:16px;background:#ffffff7a;-webkit-backdrop-filter:blur(24px) saturate(170%);backdrop-filter:blur(24px) saturate(170%);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.5);z-index:1}.app-shell{width:min(100%,760px);min-height:100dvh;border-radius:0;padding:24px 18px 18px;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;border:0;display:flex;flex-direction:column;gap:14px;align-items:stretch}.app-stage{align-items:stretch}.app-surface{position:relative;flex:1;display:block;padding:18px;border-radius:32px;background:#ffffffa8;border:1px solid rgba(148,163,184,.18);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(22px) saturate(150%);backdrop-filter:blur(22px) saturate(150%)}.phone-screen{position:relative;inset:auto;min-height:calc(100dvh - 184px);padding:0;border-radius:0;background:transparent;display:flex;flex-direction:column;justify-content:space-between;gap:16px;overflow:hidden;transition:opacity .2s ease,transform .2s ease}.app-bg{background:transparent}.app-card,.notice-card,.service-item,.action-card,.qr-card,.code-pill{background:#fffffff5;border:1px solid rgba(148,163,184,.14);box-shadow:0 14px 28px #0f172a14}.screen-hero,.screen-visual,.screen-actions,.screen-header,.screen-toolbar,.center-stack,.help-actions{display:flex;flex-direction:column}.screen-hero{align-items:center;text-align:center;gap:10px;margin-top:8px}.hero-icon,.money-icon,.support-avatar,.action-icon,.service-icon,.error-icon{display:grid;place-items:center}.hero-icon{font-size:2rem;color:#2563eb}.app-title,.screen-toolbar h3,.center-stack h4,.service-item h4{margin:0;font-family:Fraunces,serif;letter-spacing:-.03em}.app-title{font-size:1.38rem;color:#0f172a}.app-copy{margin:0;font-size:.78rem;line-height:1.45;color:var(--muted);font-weight:700}.app-copy.strong,.balance-label,.service-item strong,.status-note,.step-badge,.code-pill{font-weight:900}.screen-visual{align-items:center;gap:14px}.face-ring{position:relative;width:148px;height:148px;border-radius:50%;display:grid;place-items:center;border:4px dashed rgba(59,130,246,.56);background:linear-gradient(180deg,#eff6fff2,#e0e7ffb3);overflow:hidden}.face-ring .fa-face-smile{font-size:4rem;color:#3b82f6;position:relative;z-index:1}.scanner-line{position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,transparent,#2563eb,transparent);opacity:.9;animation:scan 1.8s linear infinite}.status-note{display:inline-flex;align-items:center;gap:8px;color:#059669;font-size:.72rem}.screen-actions,.help-actions{gap:10px}.primary-action,.secondary-action,.sos-button{width:100%;border-radius:20px;padding:14px 16px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:900;letter-spacing:.01em;text-decoration:none;border:0;cursor:pointer}.primary-action{color:#fff;background:linear-gradient(135deg,#2563eb,#4f46e5);box-shadow:0 14px 28px #2563eb3d}.primary-action:disabled,.secondary-action:disabled{opacity:.6;cursor:not-allowed}.secondary-action{color:#334155;background:#fff}.mini-action,.back-button{border-radius:16px;padding:10px 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:900;border:0;cursor:pointer}.mini-action{min-width:42px;min-height:42px;color:#0f766e;background:#ecfdf5f2}.screen-header,.screen-toolbar{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.header-actions{display:flex;gap:8px}.logout-action{color:#b91c1c;background:#fee2e2f2}.voice-toggle{position:relative;transition:background .16s ease,color .16s ease,transform .12s ease}.voice-toggle:active{transform:scale(.96)}.voice-toggle--active{color:#0f766e;background:#ecfdf5f2}.voice-toggle--muted{color:#b91c1c;background:#fee2e2f2}.voice-toggle--muted i{opacity:.85}.voice-toggle__dot{position:absolute;top:6px;right:6px;width:8px;height:8px;border-radius:50%;border:2px solid #ffffff;box-shadow:0 0 0 1px #0f172a14}.voice-toggle--active .voice-toggle__dot{background:#10b981}.voice-toggle--muted .voice-toggle__dot{background:#ef4444}.screen-toolbar h3{font-size:1rem;color:#0f172a;text-align:center}.screen-toolbar{grid-template-columns:auto 1fr auto}.back-button{color:#334155;background:#fff;justify-self:start}.user-chip{display:flex;align-items:center;gap:10px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#3b82f6,#4f46e5);font-weight:900;box-shadow:0 12px 20px #4f46e533}.eyebrow{margin:0;font-size:.65rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.16em;font-weight:900}.user-chip h3{margin:2px 0 0;font-size:.92rem;color:#0f172a}.balance-card{position:relative;min-height:112px;overflow:hidden;border-radius:24px;padding:18px;color:#fff;background:linear-gradient(135deg,#2563eb,#4f46e5 48%,#7c3aed)}.balance-card>div:first-child{position:relative;z-index:1}.balance-label{margin:0;font-size:.66rem;letter-spacing:.06em;text-transform:uppercase;opacity:.85}.balance-amount{margin-top:6px;font-size:2rem;line-height:.95;font-weight:900;letter-spacing:-.05em}.balance-amount span{font-size:.78rem;vertical-align:middle;opacity:.84}.balance-subtitle{margin:8px 0 0;font-size:.72rem;font-weight:700;opacity:.86}.balance-orb{position:absolute;width:120px;height:120px;border-radius:50%;right:-34px;bottom:-28px;background:radial-gradient(circle,rgba(255,255,255,.26),transparent 65%)}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.action-card{min-height:100px;border-radius:20px;padding:16px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:0;cursor:pointer}.action-icon{width:48px;height:48px;border-radius:16px;font-size:1.15rem}.action-label{font-size:.72rem;font-weight:900;text-align:center;color:#0f172a}.sos-button{color:#fff;background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 16px 30px #ef444438;border:0;cursor:pointer}.center-stack{align-items:center;justify-content:center;text-align:center;gap:12px;flex:1}.center-stack--tight{padding-top:12px}.money-icon,.support-avatar{width:70px;height:70px;border-radius:24px;background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#2563eb;font-size:2rem}.balance-big{font-size:2.5rem;line-height:1;color:#0f172a;letter-spacing:-.05em}.notice-card{width:100%;border-radius:18px;padding:14px;display:flex;align-items:flex-start;gap:10px}.notice-card i{color:#16a34a;margin-top:2px}.notice-card--success i{color:#0f766e}.qr-card{width:164px;height:164px;border-radius:24px;padding:16px}.qr-grid{width:100%;height:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:#f8fafc}.qr-grid span{border-radius:6px;background:#0f172a}.qr-grid span.dark{background:#14b8a6}.step-badge{font-size:.7rem;color:#1d4ed8;background:#e0e7fff2;padding:6px 12px;border-radius:999px}.code-pill{width:100%;border-radius:20px;padding:14px 16px;text-align:center;font-size:1.35rem;letter-spacing:.26em;color:#0f172a}.service-item{width:100%;border-radius:20px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:inherit;text-align:left;border:1px solid rgba(148,163,184,.14);background:#fffffff5;box-shadow:0 14px 28px #0f172a14;cursor:pointer}.service-info{display:flex;align-items:center;gap:12px}.service-icon{width:44px;height:44px;border-radius:16px;font-size:1rem;flex:0 0 auto}.service-icon--light{color:#d97706;background:#fef3c7f2}.service-icon--water{color:#0284c7;background:#dbeafef2}.service-item h4{font-size:.8rem;color:#0f172a}.service-item p{margin:3px 0 0;font-size:.68rem;color:#ef4444;font-weight:800}.service-item strong{font-size:.9rem;color:#0f172a}.help-actions{gap:10px}.login-form{display:flex;flex-direction:column;gap:10px;padding:0 8px}.login-input{width:100%;padding:14px 16px;border-radius:16px;border:1px solid rgba(148,163,184,.3);background:#ffffffe6;font-family:Manrope,sans-serif;font-size:.9rem;font-weight:600;color:#0f172a;outline:none;transition:border-color .18s ease,box-shadow .18s ease}.login-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.login-input::placeholder{color:#94a3b8;font-weight:500}.toast{position:fixed;right:16px;bottom:16px;max-width:min(92vw,340px);padding:14px 16px;border-radius:18px;background:#0f172a;color:#e2e8f0;display:flex;align-items:flex-start;gap:12px;box-shadow:0 24px 50px #0f172a40;border:1px solid rgba(148,163,184,.18);transform:translateY(18px);opacity:0;pointer-events:none;transition:transform .22s ease,opacity .22s ease;z-index:50}.toast.is-visible{transform:translateY(0);opacity:1}.toast-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#2563eb;color:#fff;flex:0 0 auto}.toast h4{margin:0;font-size:.86rem;color:#f8fafc}.toast p{margin:4px 0 0;font-size:.75rem;color:#cbd5e1;line-height:1.4}.toast--success .toast-icon{background:#16a34a}.toast--warning .toast-icon{background:#ca8a04}.toast--info .toast-icon{background:#2563eb}.toast--error .toast-icon{background:#dc2626}.route-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:60vh;color:var(--muted);font-weight:700}.route-loading i{font-size:1.4rem;color:var(--accent)}.error-screen{text-align:center}.error-icon{width:80px;height:80px;border-radius:24px;background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#2563eb;font-size:2.4rem}.profile-switcher{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;margin-bottom:14px;padding:12px;border-radius:18px}.profile-setting-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#92400e;background:#fef3c7;font-size:1rem}.profile-setting-copy{min-width:0}.profile-setting-copy h2{margin:0;color:#0f172a;font-size:.88rem;line-height:1.15;font-weight:900}.profile-setting-copy p{margin:4px 0 0;color:#64748b;font-size:.72rem;line-height:1.25;font-weight:700}.vision-switch{width:54px;height:32px;padding:0;border:0;background:transparent;cursor:pointer}.vision-switch-track{position:relative;display:block;width:54px;height:32px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px #0f172a14;transition:background-color .18s ease}.vision-switch-thumb{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:999px;background:#fff;box-shadow:0 6px 14px #0f172a38;transition:transform .18s ease}.vision-switch.is-on .vision-switch-track{background:#facc15}.vision-switch.is-on .vision-switch-thumb{transform:translate(22px);background:#111827}@keyframes scan{0%{top:-8px}to{top:calc(100% + 8px)}}@media(max-width:640px){.app-shell{padding:16px 12px 12px}.app-surface{padding:14px;border-radius:26px}.phone-screen{min-height:calc(100dvh - 160px)}}@media(max-width:480px){.app-stage{padding:0}.app-shell{width:100%;min-height:100vh;border-radius:0;padding:12px}}.install-prompt{position:fixed;left:12px;right:12px;bottom:12px;z-index:1000;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:14px;border-radius:18px;background:#fff;color:#0f172a;border:1px solid rgba(148,163,184,.25);box-shadow:0 18px 40px #0f172a2e;animation:install-prompt-slide .24s ease-out}.install-prompt__icon{width:44px;height:44px;border-radius:12px;background:#f43f5e1f;color:#f43f5e;display:inline-flex;align-items:center;justify-content:center;font-size:1.25rem}.install-prompt__body{min-width:0}.install-prompt__title{margin:0 0 2px;font-size:.95rem;font-weight:800;color:#0f172a}.install-prompt__copy{margin:0;font-size:.8rem;line-height:1.35;color:#475569}.install-prompt__actions{grid-column:1 / -1;display:flex;gap:8px;justify-content:flex-end;margin-top:4px}.install-prompt__btn{border:0;border-radius:12px;padding:10px 14px;font-size:.85rem;font-weight:800;cursor:pointer;font-family:inherit;transition:transform .12s ease,background .16s ease,color .16s ease}.install-prompt__btn:disabled{opacity:.6;cursor:not-allowed}.install-prompt__btn:active:not(:disabled){transform:scale(.97)}.install-prompt__btn--ghost{background:#94a3b826;color:#475569}.install-prompt__btn--primary{background:#0f172a;color:#fff}.install-prompt__btn--primary:hover:not(:disabled){background:#1e293b}@keyframes install-prompt-slide{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.install-prompt{animation:none}}.high-contrast-mode{color:#ff0;background:#000}.high-contrast-mode .app-stage{background:#000}.high-contrast-mode .app-shell{background:#000;border-color:#ff0}.high-contrast-mode .app-card,.high-contrast-mode .phone-screen,.high-contrast-mode .notice-card,.high-contrast-mode .toast,.high-contrast-mode .secondary-action,.high-contrast-mode .back-button,.high-contrast-mode .mini-action,.high-contrast-mode .logout-action,.high-contrast-mode .service-item,.high-contrast-mode .profile-switcher{background:#000;color:#ff0;border-color:#ff0}.high-contrast-mode .app-copy,.high-contrast-mode .eyebrow,.high-contrast-mode .balance-label,.high-contrast-mode .service-item p,.high-contrast-mode .profile-setting-copy h2,.high-contrast-mode .profile-setting-copy p{color:#ff0}.high-contrast-mode .app-btn-accent,.high-contrast-mode .primary-action,.high-contrast-mode .sos-button{background:#0ff;color:#000;border:2px solid #ffff00}.high-contrast-mode .profile-setting-icon,.high-contrast-mode .vision-switch-track{background:#ff0;color:#000}.high-contrast-mode .vision-switch-thumb{background:#000}.high-contrast-mode .balance-card,.high-contrast-mode .action-icon,.high-contrast-mode .money-icon,.high-contrast-mode .support-avatar,.high-contrast-mode .toast-icon,.high-contrast-mode .error-icon{background:#0ff;color:#000}
