.client-appearance{margin-top:24px;padding:24px;border:1px solid #e1e8f3;border-radius:18px;background:#fff;max-width:530px}.client-appearance h3{margin:0 0 9px;font-size:22px;color:#102351}.client-appearance>p{margin:0 0 22px;font-size:13px;color:#63718b}.client-theme-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.shell main .client-theme-choices button{display:flex;align-items:center;justify-content:center;gap:10px;padding:18px 12px;border:1px solid #b8c9e9;border-radius:12px;background:#fff!important;color:#173daf!important;font:600 14px system-ui}.shell main .client-theme-choices button[aria-pressed=true]{background:#173daf!important;color:#fff!important;border-color:#173daf;box-shadow:0 4px 14px #173daf20}.client-theme-choices button:focus-visible{outline:2px solid #517ee6;outline-offset:3px}.client-appearance>small{display:block;margin-top:18px;font-size:11px;color:#63718b}
body.client-dark-mode{--navy:#e3ebf7;--muted:#a6b4c9;--line:#2b3b53;--blue:#a7c1ff;background:#101824;color:#e3ebf7}.client-dark-mode .shell{background:#101824}.client-dark-mode .shell aside,.client-dark-mode .shell .top{background:#152133!important;border-color:#2b3b53;color:#e3ebf7}.client-dark-mode :is(.panel,.compact-account,.client-profile-card,.expense-summary,.client-appearance,.savings-carousel,.savings-slide-copy,dialog,.support-chat-panel){background:#182436!important;border-color:#2b3b53!important;color:#e3ebf7}.client-dark-mode :is(h1,h2,h3,.amount,.expense-totals strong,.transaction>strong,.client-profile-row dd,.expense-data td,.expense-data th,.balance>p){color:#e3ebf7!important}.client-dark-mode :is(.muted,.client-profile-row dt,.expense-period,.expense-month,.expense-footnote,.expense-empty,.expense-totals>div,.client-appearance>p,.client-appearance>small){color:#a6b4c9!important}.client-dark-mode :is(input,select,textarea){background:#111c2c!important;color:#e3ebf7!important;border-color:#3a4d68!important}.client-dark-mode input::placeholder,.client-dark-mode textarea::placeholder{color:#9baec8}.client-dark-mode :is(button.secondary,.settings-option,.service-calendar button,.client-profile-nav a:first-child){background:#253953!important;color:#d6e5ff!important}.client-dark-mode .shell nav button.active{background:#2b456d!important;color:#eef4ff!important}.client-dark-mode .shell .actions button{background:#253953!important;color:#d6e5ff!important}.client-dark-mode :is(.quick-access-icon,.client-profile-avatar,.expense-period){background:#293d5d!important;color:#c6d8ff!important}.client-dark-mode .tag{background:#453d26;color:#f0d68e}.client-dark-mode .notice,.client-dark-mode .client-profile-note{background:#203651!important;color:#d9e6f8!important;border-color:#3a4d68}.client-dark-mode :is(a,.expense-data summary){color:#b0c8ff}.client-dark-mode :is(.transaction,.service-item,.client-profile-row,.expense-data td,.expense-data th,.expense-bars){border-color:#2b3b53}.client-dark-mode .expense-bars{background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#2b3b53 calc(25% - 1px),#2b3b53 25%)}.client-dark-mode .progress{background:#2b3b53}.client-dark-mode .support-chat-info{background:#182436;color:#b3c1d7}.client-dark-mode :is(.support-message-client,.support-message-admin){background:#253953;color:#e3ebf7}.client-dark-mode #support-chat-panel .support-chat-form .support-choose-files,.client-dark-mode :is(.support-selected-file,.support-document-link){background:#23354d;border-color:#526d94;color:#d6e5ff}.client-dark-mode :is(.support-choose-plus,.support-document-icon){background:#354c6c;color:#d6e5ff}.client-dark-mode .support-document-link small{color:#a6b4c9}.client-dark-mode .shell main .client-theme-choices button{background:#182436!important;color:#d6e5ff!important;border-color:#526d94}.client-dark-mode .shell main .client-theme-choices button[aria-pressed=true]{background:#315dca!important;color:#fff!important;border-color:#6c91ec}
@media(max-width:420px){.client-appearance{padding:18px}.shell main .client-theme-choices button{font-size:13px;padding:16px 10px}}

/* Form labels and fixed dark text need explicit colors on dark surfaces. */
.client-dark-mode :is(.shell main,dialog) :is(label,legend,dt,dd,.transfer-summary,.service-total,.transaction>strong){color:#e3ebf7!important}
.client-dark-mode :is(.shell main,dialog) :is([style*="color:#000"],[style*="color: #000"],[style*="color:black"],[style*="color: black"]){color:#e3ebf7!important}
.client-dark-mode :is(#services-error,#services-error-text,#account-error,#wallet-error){color:#ffb4ab!important}
