/* Dashboard-only palette inspired by the supplied account screen. */
body:has(.dash){background:#f2f2f7}
body .dash{--ink:#171824;--muted:#656572;--blue:#285ee8;--line:#e1e1e9;--soft:#f2f2f7;background:#f2f2f7;color:#171824}
body .dash>.workspace{background:#f2f2f7!important;padding:36px 34px 60px}
body .dash>aside{background:#f2f2f7!important;border-color:#e4e4eb!important;box-shadow:none!important}
body .dash>aside .profile,body .dash>aside .admin-badge{background:transparent!important;border-color:#e1e1e9!important;border-radius:16px;box-shadow:none}
body .dash>aside>a:not(.brand){color:#60606f;border:0!important;border-radius:14px;padding-block:13px;box-shadow:none!important;transition:background .15s}
body .dash>aside>a:not(.brand):hover{background:#e8e8f0!important;color:#272737;transform:none!important}
body .dash>aside>a.active{background:#e2e5f3!important;color:#244eb5!important;box-shadow:none!important}
body .dash .avatar,body .dash .account-avatar{background:#b6c8fa!important;color:#244ba5;box-shadow:none;border-radius:18px}
body .dash .panel-top{border-bottom:0;padding-bottom:14px;margin-bottom:24px}
body .dash .panel-top h1,body .dash .kc-page-head h1{color:#151522;letter-spacing:-.025em}
body .dash .panel-top p,body .dash .kc-page-head p{color:#646473;line-height:1.8}
body .dash .panel-top>div>small{color:#6a6a78!important}
body .dash :is(.balance-panel,.status-panel,.account-card,.account-security,.activity-section,.card-list-panel,.issue-panel,.admin-section,.kc-card-table,.aff-panel,.table-box){background:#fff!important;color:#171824;border:1px solid #ededf3!important;border-radius:24px;box-shadow:0 3px 0 #d9d9e2!important}
body .dash .balance-panel{background:#fff!important;color:#171824;padding:30px}
body .dash .balance-panel:after{display:none}
body .dash .balance-panel :is(h2,h3,strong,b){color:#171824!important}
body .dash .balance-panel :is(p,small,.balance-head){color:#666675!important}
body .dash .balance-panel .coin{background:#a4f0c9!important;color:#187947!important;border:0!important;box-shadow:none}
body .dash .balance-actions{display:flex;gap:12px;flex-wrap:wrap}
body .dash .balance-actions button{background:#edf0fc!important;color:#274aa7!important;border:1px solid #d8def2!important;border-radius:14px;padding:12px 18px;box-shadow:0 2px 0 #d9dce8!important}
body .dash .balance-actions button:first-child{background:#b9f5d5!important;color:#125d3c!important;border-color:#b9f5d5!important}
body .dash .wallet-hero{background:#fff!important;color:#171824;box-shadow:0 3px 0 #d9d9e2;border:1px solid #ededf3;border-radius:26px}
body .dash .wallet-hero>div:first-child{background:#bcf6d8;border-color:#dce8e3}
body .dash .wallet-hero :is(h2,strong){color:#171824}
body .dash .wallet-hero :is(p,small){color:#485e58}
body .dash .wallet-hero span{background:#e5fff0;color:#216646}
body .dash :is(.button,.issue-submit){background:#b8cafa!important;color:#173e99!important;border:1px solid #b8cafa!important;border-radius:14px;box-shadow:0 2px 0 #a9bce9!important;font-weight:750;min-height:44px;transition:background .15s,box-shadow .15s}
body .dash :is(.button,.issue-submit):hover{background:#a6bef8!important;box-shadow:0 3px 0 #98afe0!important}
body .dash :is(.ghost-button,.row-action){background:#fff;color:#4f5267;border:1px solid #dcdce6;border-radius:12px;box-shadow:0 2px 0 #e0e0e8;min-height:40px}
body .dash .dashboard-site-bar a{background:#ded1fa!important;color:#563b8e!important;box-shadow:none!important;border-radius:14px}
body .dash :is(.service-grid,.inst-service-grid){gap:20px}
body .dash :is(.service-grid,.inst-service-grid)>article{border:0!important;border-radius:24px;box-shadow:none!important;background:#d9e4ff;transform:none!important}
body .dash :is(.service-grid,.inst-service-grid)>article:nth-child(3n+1){background:#baf5d7!important}
body .dash :is(.service-grid,.inst-service-grid)>article:nth-child(3n+2){background:#ffdfbb!important}
body .dash :is(.service-grid,.inst-service-grid)>article:nth-child(3n){background:#bdcdf9!important}
body .dash :is(.service-grid,.inst-service-grid)>article :is(h3,strong){color:#1c2430!important}
body .dash :is(.service-grid,.inst-service-grid)>article p{color:#425367!important}
body .dash :is(.service-grid,.inst-service-grid)>article button{background:#ffffffa6!important;color:#26354b!important;border-radius:12px;box-shadow:none!important;border:1px solid #ffffffa6!important}
body .dash .service-icon{background:#ffffffa6!important;box-shadow:none!important;border-radius:16px;color:#2a5b83!important}
body .dash :is(.kc-stats,.detail-kpis,.kpis,.aff-kpis)>article{background:#fff!important;border:1px solid #ededf3!important;border-radius:22px;box-shadow:0 3px 0 #d9d9e2!important}
body .dash :is(.kc-stats,.detail-kpis,.kpis,.aff-kpis)>article:nth-child(3n+2){background:#e7ddfb!important}
body .dash :is(.kc-stats,.detail-kpis,.kpis,.aff-kpis)>article:nth-child(3n){background:#d9f7e7!important}
body .dash :is(input,select,textarea){background:#fff;border-color:#d9d9e4;border-radius:12px;color:#242636}
body .dash :is(input,select,textarea):focus{outline:2px solid #7898ea;outline-offset:2px}
body .dash table th{background:#ededf4;color:#5c5e70}
body .dash table td{border-color:#ebebf2}
body .dash :is(.activity-filters,.aff-tabs){background:#e6e6ef;border-radius:14px}
body .dash :is(.activity-filters,.aff-tabs) button.active{background:#fff;color:#274ca7;box-shadow:0 2px 0 #d7d7e2}
body .dash .ledger-icon{background:#dce5ff;color:#2b51ad;border-radius:15px}
body .dash .ledger-row.deposit .ledger-icon,body .dash .ledger-row.refund .ledger-icon{background:#baf5d7;color:#17673e}
body .dash a:focus-visible,body .dash button:focus-visible{outline:3px solid #5073d5;outline-offset:4px}
body .dash button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:850px){body .dash>.workspace{padding:24px 20px 40px}}
@media(max-width:560px){body .dash>.workspace{padding:20px 14px 36px}body .dash .balance-panel{padding:22px}body .dash .panel-top{gap:14px;flex-wrap:wrap}body .dash .panel-actions{flex-wrap:wrap;gap:9px}}
@media(prefers-reduced-motion:reduce){body .dash *{transition:none!important}}

/* Clearly distinguish the session exit action from navigation. */
body .dash aside .signout{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:44px;margin-top:24px;padding:11px 16px;border:1px solid #e7c8ce;border-radius:14px;background:#fff0f2;color:#a33549;font:inherit;font-size:14px;font-weight:700;text-decoration:none;box-sizing:border-box;box-shadow:0 2px 0 #ead4d9;cursor:pointer;transition:background .15s,border-color .15s}
body .dash aside .signout:hover{background:#ffe1e7;border-color:#dca4b0;color:#88273b}
body .dash aside .signout:active{box-shadow:none}
body .dash aside .signout:focus-visible{outline:3px solid #bd5269;outline-offset:3px}
