/* Capabilities control presentation; financial guards live in the modules. */
html[data-kama-checking=false] #dashboard .checking-card,
html[data-kama-checking=false] #dashboard .neon-stat-switchable[data-view=checking],
html[data-kama-credit=false] #dashboard .extra-credit-group,
html[data-kama-credit=false] #dashboard .neon-stat-switchable[data-view=credit],
html[data-kama-direct=false] #dashboard .direct-card-host,
html[data-kama-loans=false] #dashboard #loansCard,
html[data-kama-loans=false] #dashboard .neon-stat-switchable[data-view=loans],
html[data-kama-cards=false] #dashboard .neon-hero,
html[data-kama-cards=false] #dashboard .neon-stat-switchable,
html[data-kama-classification=false] .payment-method-field,
html[data-kama-classification=false] .mobile-row-payment-cell,
html[data-kama-classification=false] .variable-transaction-payment,
html[data-kama-classification=false] .variable-expense-form-field:has(select.payment-method-select),
html[data-kama-classification=false] label:has(select.payment-method-select),
html[data-kama-classification=false] .payment-select-shell,
html[data-kama-checking=false] .savings-withdraw-button{display:none!important}
.direct-card-host{display:contents}
#dashboard .direct-card .extra-credit-content{padding:16px}
#dashboard .direct-card .total-badge{color:#56d9f5!important}
.kama-feature-settings{border:1px solid #23617b;border-radius:18px;padding:16px;margin:18px 0 0;min-width:0;color:#edfaff}
.kama-feature-settings legend{font-size:17px;font-weight:700;padding:0 8px}
.kama-feature-settings>p{font-size:12px;color:#9fc4d5;line-height:1.7;margin:6px 0 13px}
.kama-feature-settings>label{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #23617b55;font-size:15px;cursor:pointer}
.kama-feature-settings input{width:19px;height:19px;min-width:19px;margin:0;accent-color:#62edbd}
.kama-feature-settings input:disabled+span{opacity:.55}
.kama-feature-settings[hidden]{display:none!important}
/* Both header actions share geometry in home and the fixed analysis panel. */
html.kama-ocean-ui :is(#dashboard,#kf-view) .neon-topbar>.kama-help-button,
html.kama-ocean-ui :is(#dashboard,#kf-view) .neon-topbar>.neon-account-settings-button{box-sizing:border-box;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;max-height:48px!important;padding:8px!important;margin:0!important;border-radius:50%!important;align-self:center!important;transform:none!important}
html.kama-ocean-ui #kf-view.kf-neon button.kf-back{border-radius:999px!important}
@media(max-width:640px){html.kama-ocean-ui :is(#dashboard,#kf-view) .neon-topbar>.kama-help-button,html.kama-ocean-ui :is(#dashboard,#kf-view) .neon-topbar>.neon-account-settings-button{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;max-width:42px!important;max-height:42px!important;padding:7px!important}}

#dashboard .tracker-grid .direct-card{order:5}
#dashboard .tracker-grid .direct-card .card-heading>.neon-icon{color:#34e8b1!important}

html.kama-ocean-ui #dashboard.neon-home-dashboard .tracker-grid .summary-card:has(.total-badge.neon-value-negative) .card-heading>.neon-icon{color:#ff8198!important}
