/* Shared interface controls and comfortable type scale. Dark is the default. */
.ui-icon{width:24px;height:24px;display:inline-block;vertical-align:middle;flex-shrink:0;pointer-events:none}
body{font-size:16px}label{font-size:15px}input,select,textarea{font-size:16px;min-height:46px}small,label small{font-size:13px}.muted{line-height:1.65}
.button{font-size:15px;min-height:46px}.button.small{font-size:14px;min-height:40px}.icon-button{width:44px;height:44px}.sidebar nav a{font-size:15px;padding:12px}.sidebar nav a>span{display:inline-flex;width:24px}.sidebar-footer{font-size:14px;padding:20px 4px 0}.sidebar-footer small{font-size:12px}.nav-label{font-size:12px}.breadcrumb{font-size:13px}.brand small{font-size:11px}.page-footer{font-size:12px}.eyebrow{font-size:12px}.page-heading .muted{font-size:15px}.section-heading>a{font-size:14px}.hero-top{font-size:15px}.hero-caption{font-size:13px}.hero-amount small{font-size:16px}.balance-row{font-size:15px}.balance-row small{font-size:12px}.balance-row strong{font-size:18px}.stat-card>.muted{font-size:14px;max-width:85%}.stat-card strong small{font-size:13px}.stat-card>a{font-size:13px}.stat-icon{right:17px;top:20px}.shop-details span{font-size:13px}.shop-details strong small{font-size:13px}.owned-shop>small{font-size:12px}.pill{font-size:12px}.empty-shop p,.empty-state,.empty-state p{font-size:14px}.notice{font-size:14px}.shop-card p,.shop-rate,.shop-price small{font-size:14px}.shop-rate strong{font-size:17px}.detail-list,.network-instructions{font-size:14px}.tabs a{font-size:14px}.notification-row h3{font-size:15px}.auth-card>.muted,.auth-switch,.form-link{font-size:14px}.trust-line{font-size:12px}.trust-line span{font-size:11px}table,td{font-size:14px}th{font-size:12px}.review summary,summary{font-size:14px}.pagination{font-size:14px}
.top-actions{gap:12px}.notification-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px}.notification-button .ui-icon{width:26px;height:26px}.notification-button>span{right:0;top:0;font-size:11px;min-width:17px;text-align:center}.avatar{width:42px;height:42px;border-radius:50%;background:#243449;color:#b8ccdf}.avatar .ui-icon{width:26px;height:26px}.profile-avatar{width:88px;height:88px;border:2px solid var(--line)}.profile-avatar .ui-icon{width:45px;height:45px}.profile-avatar img{object-fit:cover}.language-form{display:flex;align-items:center;gap:6px;min-width:0}.language-flag{width:24px;height:18px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #8292a333;flex-shrink:0}.language-form select{font-size:14px;width:64px;min-height:40px;padding:5px 4px;color:var(--text)}.language-select{display:flex;align-items:center;gap:10px}.language-select select{flex:1}.language-select .language-flag{margin-top:7px}
.password-control{display:block;position:relative;margin-top:7px}.password-control input{padding-right:53px;margin-top:0}.password-toggle{position:absolute;right:3px;top:2px;width:44px;height:calc(100% - 4px);max-height:48px;display:grid;place-items:center;background:transparent;color:var(--muted);border:0;border-radius:8px}.password-toggle:hover{color:var(--accent)}.password-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.country-search{margin:8px 0!important;padding-left:14px}.country-search-status{color:var(--muted);font-weight:400}select[size]:not([size="1"]){background-image:none;padding:5px}select[size]:not([size="1"]) option{padding:8px;border-radius:5px}.theme-moon{display:none}[data-theme=light] .theme-moon{display:inline-block}[data-theme=light] .theme-sun{display:none}
#install-dialog{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--text);padding:26px;box-shadow:0 25px 100px #0006}#install-dialog::backdrop{background:#030811b3;backdrop-filter:blur(4px)}#install-dialog .section-heading{margin:0 0 18px}#install-dialog h2{font-size:24px}#install-dialog p{font-size:15px}#install-dialog .button{margin-top:12px}.install-emblem{display:grid;place-items:center;width:52px;height:52px;background:#63a5eb16;color:var(--accent);border-radius:15px}.install-emblem .ui-icon{width:30px;height:30px}
/* Light palette preserves the dark balance card's financial emphasis. */
[data-theme=light]{color-scheme:light;--bg:#f5f7fb;--panel:#fff;--panel-alt:#edf2f8;--line:#d6dfeb;--text:#17263c;--muted:#52647c;--danger:#b32424}
[data-theme=light] body{background:var(--bg);color:var(--text)}[data-theme=light] a{color:#204873}[data-theme=light] input,[data-theme=light] select,[data-theme=light] textarea{background:#fff;color:var(--text);border-color:#bac9dc}[data-theme=light] label{color:#344861}[data-theme=light] .sidebar{background:#fff}[data-theme=light] .sidebar nav a{color:#445a73}[data-theme=light] .sidebar nav a.active{background:#dce8f5;color:#1c3e63}[data-theme=light] .sidebar nav a:hover{background:#edf5f5}[data-theme=light] .topbar{background:#fff}[data-theme=light] .brand{color:var(--text)}[data-theme=light] .brand-mark{color:#27578a}[data-theme=light] .bottom-nav{background:#fffffff5}[data-theme=light] .bottom-nav a{color:#53667f}[data-theme=light] .bottom-nav a.active{color:#1f4670}[data-theme=light] .button{color:#0c1c2c}[data-theme=light] .button.secondary,[data-theme=light] .button.ghost{color:var(--text);border-color:#c2cedc}[data-theme=light] .notification-button{color:#34506b}[data-theme=light] .avatar{background:#e6edf7;color:#46617d}[data-theme=light] .balance-hero{color:#f3f6fb}[data-theme=light] .balance-hero .button.ghost{color:#f3f6fb;border-color:#697887}[data-theme=light] .hero-amount small{color:#566472}[data-theme=light] .balance-hero .hero-amount small{color:#c0ccd8}[data-theme=light] .balance-row small{color:#617186}[data-theme=light] .balance-icon{color:#204873;background:#e1ebf6}[data-theme=light] .tone-1{color:#ba9e56;background:#efedff}[data-theme=light] .tone-2{color:#93631b;background:#fff3dc}[data-theme=light] .accent{color:#204974}[data-theme=light] .pill{color:#516479;border-color:#bfccdd}[data-theme=light] .balance-hero .pill{color:#bfc9d3;border-color:#525e6b}[data-theme=light] .pill.success{background:#e8f7ed;color:#1b3d61;border-color:#b6c7d9}[data-theme=light] .notice{background:#edf6fc;border-color:#bddeeb;color:#31576e}[data-theme=light] .notice.success{background:#eaf8ef;color:#243d58}[data-theme=light] .notice.warning{background:#fff5e1;color:#735314}[data-theme=light] .invite-card{background:linear-gradient(120deg,#f2efff,#e8f6f3)}[data-theme=light] .vip-badge{color:#aa9153}[data-theme=light] .tabs a.active{background:#dce8f5;color:#1c3e63;border-color:#b2c5da}[data-theme=light] .auth-intro>p,[data-theme=light] .stat-card>a,[data-theme=light] .empty-state h3{color:var(--muted)}[data-theme=light] .shop-art{background:radial-gradient(ellipse at 50% 70%,#d8deed,#f1f4fa 75%)}[data-theme=light] .art-1{background:radial-gradient(ellipse at 50% 70%,#bcd0e5,#f3faf7 75%)}[data-theme=light] .art-2{background:radial-gradient(ellipse at 50% 70%,#ebd6b0,#faf7f0 75%)}[data-theme=light] .shop-art .gem{color:#b7a16a}[data-theme=light] .art-1 .gem{color:#315984}[data-theme=light] .art-2 .gem{color:#9f772c}[data-theme=light] .shop-art>span{color:#52647c}[data-theme=light] .notification-mark.unread{color:#214975;background:#e3f5ed}[data-theme=light] .install-emblem{color:#204974;background:#e4f5ef}
@media(max-width:1150px){.top-actions{gap:8px}.breadcrumb{font-size:12px}.topbar{padding-left:20px;padding-right:20px}}
@media(max-width:850px){.breadcrumb{display:none}.top-actions{margin-left:auto}.bottom-nav{padding-top:11px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.bottom-nav a{gap:6px}.bottom-nav a>span{display:grid;place-items:center}.bottom-nav .ui-icon{width:25px;height:25px}.bottom-nav small{font-size:12px}.bottom-nav .deposit-action>span{width:50px;height:46px}.authenticated{padding-bottom:calc(104px + env(safe-area-inset-bottom))}}
@media(max-width:620px){.topbar{min-height:72px;height:auto;padding:12px;gap:8px}.authenticated .install-trigger#install-app{width:40px;padding:6px}.authenticated #install-app>span{display:none}.top-actions{gap:6px}.language-form{gap:3px}.language-form select{width:50px;font-size:13px}.language-flag{width:22px;height:16px}.top-actions .avatar{width:38px;height:38px}.notification-button{width:38px;height:40px}.top-actions .icon-button{width:40px;height:40px}.guest .topbar{flex-wrap:wrap;padding:16px}.guest .topbar>.brand{width:100%;font-size:20px}.guest .top-actions{width:100%;justify-content:flex-end;margin-top:8px}.guest #install-app{font-size:14px;min-height:42px}.page-heading .muted{font-size:14px}.page-heading>.button{font-size:13px;min-height:42px}.eyebrow{font-size:11px;letter-spacing:1px}.hero-caption{font-size:12px}.hero-actions .button{font-size:15px}.hero-amount small{font-size:14px}.stat-card>.muted{font-size:13px;max-width:80%}.stat-card>a{font-size:12px}.stat-card strong small{font-size:12px}.stat-icon{right:12px;top:15px}.stat-icon .ui-icon{width:20px;height:20px}.section-heading h2{font-size:20px}.section-heading>a{font-size:13px}.shop-details{flex-wrap:wrap;gap:16px}.shop-details .muted,.shop-details span{font-size:12px}.shop-details strong{font-size:23px}.shop-details strong small{font-size:12px}.shop-rate{font-size:13px}.shop-card p{font-size:14px}.shop-price small{font-size:13px}.empty-shop p{font-size:14px}.auth-intro>p,.auth-card>.muted,.auth-wide>p{font-size:15px}.form-link,.auth-switch{font-size:14px}.notice{font-size:14px}.detail-list{font-size:14px}.team-member{font-size:14px}.team-member small{font-size:12px}.team-member .pill{font-size:11px}.tabs a{font-size:13px}.invite-actions>*{font-size:14px}.notification-row h3{font-size:15px}.page-footer{font-size:11px}.inline-actions .button{font-size:13px}th{font-size:11px}td{font-size:13px}.table-card{padding:6px}.sidebar-footer small{font-size:12px}.profile-avatar{width:80px;height:80px}.profile-avatar .ui-icon{width:42px;height:42px}}
@media(max-width:390px){.authenticated .topbar{padding:10px 8px;gap:4px}.authenticated .top-actions{gap:4px}.authenticated .top-actions .icon-button,.authenticated #install-app{width:36px;min-width:36px;height:40px}.authenticated .language-form select{width:43px}.authenticated .language-flag{width:20px;height:15px}.notification-button{width:34px}.top-actions .avatar{width:34px;height:34px}.drawer-toggle{width:36px}.bottom-nav small{font-size:11px}.stats-grid{gap:10px}.stat-card>strong{font-size:24px}.page-heading{flex-wrap:wrap}.balance-row{gap:9px;font-size:14px}.balance-row strong{font-size:17px}.balance-row small{font-size:11px}.hero-amount{font-size:40px}.shop-details>div{flex:1 1 40%}.guest .top-actions{gap:8px}.guest #install-app{font-size:13px;padding:9px 12px}}
input[type=checkbox]{min-height:18px}input[type=file]{font-size:14px}.table-scroll td{min-width:125px;overflow-wrap:normal;word-break:normal}.table-scroll td:last-child{overflow-wrap:anywhere}.sidebar-footer .button{font-size:14px;padding:10px 8px}
@media(max-width:850px){.sidebar:not(.open){visibility:hidden;box-shadow:none}.sidebar.open{visibility:visible;box-shadow:15px 0 80px #0006}}

/* Native option popups must have explicit contrasting colors on Windows too. */
:root:not([data-theme=light]) select{color-scheme:dark}select option,select optgroup{background:#121a26;color:#f3f6fb}[data-theme=light] select{color-scheme:light}[data-theme=light] select option,[data-theme=light] select optgroup{background:#fff;color:#17263c}

.install-trigger[hidden],[data-app-installed=true] .install-trigger{display:none!important}
@media(display-mode:standalone),(display-mode:minimal-ui),(display-mode:window-controls-overlay){.install-trigger{display:none!important}}

.business-approval { overflow-wrap: anywhere; }

.deposit-qr{background:#fff;width:220px;max-width:100%;padding:8px;margin:20px 0;border-radius:12px}.deposit-qr svg{display:block;width:100%;height:auto}.payment-exception{margin-bottom:20px}.card pre{white-space:pre-wrap;overflow-wrap:anywhere}

.terms-document{max-width:1000px;overflow-wrap:anywhere}.terms-document>header{padding-bottom:16px}.terms-contents{padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}.terms-contents h2{margin-top:0}.terms-contents ol{columns:2;column-gap:36px;padding-left:22px;margin-bottom:0}.terms-contents li{break-inside:avoid;margin:0 0 12px;padding-left:4px}.terms-contents a{line-height:1.6}.terms-section{padding:28px 0;border-bottom:1px solid var(--line);scroll-margin-top:110px}.terms-section h2{font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.4}.terms-section p{line-height:1.85}.terms-top{font-size:.85rem}.terms-document>footer{padding-top:28px}#terms-contents{scroll-margin-top:110px}@media(max-width:650px){.terms-contents{padding:18px}.terms-contents ol{columns:1}.terms-section{padding:22px 0}}@media print{.terms-document{max-width:none;border:0}.terms-top,.terms-document>footer{display:none}.terms-section{break-inside:avoid}}

.withdrawal-sources{border:0;padding:0;margin:0 0 24px;min-width:0}.withdrawal-sources legend{font-weight:700}.withdrawal-source-row{display:flex;align-items:end;gap:12px;margin-bottom:16px}.withdrawal-source-row label{flex:1;min-width:0;margin-bottom:0}.withdrawal-source-row .button{margin-bottom:0;flex-shrink:0}.activity-photos{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0}.activity-photos img{width:min(100%,260px);max-height:260px;object-fit:contain;border-radius:12px}.activity-product{max-width:950px}.activity-product .checkbox-label{display:flex;gap:12px;align-items:center}.activity-product input[type=checkbox]{width:auto}progress{width:100%;height:16px;accent-color:var(--accent)}.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:390px){.bottom-nav small{font-size:9px}.withdrawal-source-row{gap:8px}.withdrawal-source-row .button{padding:12px 9px;font-size:12px}}
@media(max-width:850px){.bottom-nav a{width:16.666%;min-width:0}.bottom-nav small{max-width:100%;overflow-wrap:anywhere}}

.sheet-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.withdrawal-sheet-table th{white-space:normal}.withdrawal-sheet-table td{min-width:90px}.withdrawal-sheet-table td:first-child{min-width:44px}.withdrawal-sheet-table td:nth-child(2){min-width:170px}.withdrawal-sheet-table td:last-child{min-width:90px}.withdrawal-sheet-table .small{white-space:nowrap}@media(min-width:1200px){.withdrawal-sheet-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.withdrawal-sheet-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.withdrawal-sheet-stats strong{font-size:23px}.withdrawal-sheet-table th,.withdrawal-sheet-table td{padding:12px 8px}}

[data-live-error][hidden]{display:none!important}.withdrawal-detail .detail-list{grid-template-columns:minmax(140px,1fr) minmax(0,2fr)}.withdrawal-detail dd{white-space:normal;overflow-wrap:anywhere}.withdrawal-sheet-stats strong{overflow-wrap:anywhere}[data-live-results]{transition:opacity .15s}@media(min-width:1200px){.withdrawal-sheet-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.withdrawal-detail .detail-list{grid-template-columns:1fr}.withdrawal-detail dd{text-align:left;margin-bottom:10px}.sheet-actions .button{font-size:12px}}
