/* One action system. Navigation, chart controls and clickable cards retain their own geometry. */
:root{--np-action-height:40px;--np-action-radius:12px;--np-action-pad:9px 14px;--np-action-font:600 12.5px/20px var(--f-body);--np-action-fill:linear-gradient(112deg,#f4ff00,#00ff7c)}
html body :is(.btn,.np-sub-button,.np-sub-refresh,.np-bank-update,.np-check-action){display:inline-flex!important;align-items:center;justify-content:center;gap:8px!important;box-sizing:border-box;min-height:var(--np-action-height)!important;height:auto!important;padding:var(--np-action-pad)!important;border-radius:var(--np-action-radius)!important;font:var(--np-action-font)!important;letter-spacing:0!important;max-width:100%;text-align:center;vertical-align:middle;text-decoration:none;box-shadow:none!important;filter:none!important;transform:none!important;transition:background-color .16s,border-color .16s,box-shadow .16s}
html body :is(.btn,.np-sub-button,.np-sub-refresh,.np-bank-update,.np-check-action):not(.primary):not(.danger):not(.ghost){background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--outline)!important}
html body :is(.btn,.np-sub-button,.np-sub-refresh,.np-bank-update,.np-check-action):not(.primary):not(.danger):not(.ghost):hover:not(:disabled){background:var(--sunk)!important;border-color:var(--muted)!important}
html body :is(.btn.primary,.np-sub-button-primary){background:var(--np-action-fill)!important;background-origin:border-box!important;background-clip:border-box!important;border:1px solid transparent!important;color:#0b0e0d!important}
html body :is(.btn.primary,.np-sub-button-primary):hover:not(:disabled){background:linear-gradient(112deg,#e4f000,#00e970)!important;border-color:transparent!important;box-shadow:0 2px 8px #009d7e20!important}
html body :is(.btn.primary,.np-sub-button-primary):active:not(:disabled){background:linear-gradient(112deg,#d8e400,#00d968)!important;box-shadow:inset 0 1px 3px #0b0e0d26!important}
html body .btn.ghost:not(.primary):not(.danger){background:transparent!important;color:var(--ink)!important;border:1px solid transparent!important}
html body .btn.ghost:not(.primary):not(.danger):hover:not(:disabled){background:var(--sunk)!important;border-color:var(--line)!important}
html body :is(.btn,.np-sub-button,.np-sub-refresh,.np-bank-update,.np-check-action)>svg{width:18px!important;height:18px!important;display:block;flex:0 0 18px;color:currentColor}
html body :is(.btn,.np-sub-button,.np-sub-refresh,.np-bank-update,.np-check-action):focus-visible{outline:2px solid var(--np-focus)!important;outline-offset:3px!important}
html body :is(.btn,.np-sub-button,.np-sub-refresh,.np-bank-update,.np-check-action):disabled{opacity:.5!important;cursor:not-allowed;box-shadow:none!important}
html body .iconbtn{box-sizing:border-box;display:inline-grid;place-items:center;width:var(--np-action-height);min-width:var(--np-action-height);height:var(--np-action-height);min-height:var(--np-action-height);padding:0;border-radius:12px}
html body .iconbtn>svg{width:18px;height:18px;flex:none}
html body .top :is(.btn,.iconbtn),html body :is(#eyeBtn,#addBtn){min-height:var(--np-action-height)!important;height:var(--np-action-height)!important}
html body .top .iconbtn,html body #eyeBtn{width:var(--np-action-height)!important;min-width:var(--np-action-height)!important;padding:0!important}
html body .np-pot-card>footer{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap}
html body .np-pot-card>footer>.btn{flex:0 1 auto!important;min-width:0;white-space:nowrap}
html body :is(.np-pot-hero,.np-sub-current) .btn:not(.primary):not(.danger),html body .np-sub-current .np-sub-button-secondary{background:#ffffff0a!important;border-color:#ffffff59!important;color:#fff!important}
html body .np-sub-current .np-sub-button-secondary{background:var(--np-action-fill)!important;color:#0b0e0d!important;border-color:transparent!important}
html body :is(.np-pot-hero,.np-sub-current) .btn:not(.primary):not(.danger):hover{background:#ffffff18!important;border-color:#ffffffa6!important}
/* A select always advertises its native menu, even after a later field background rule. */
html body select.field:not([multiple]):not([size]),html body select.field[size="1"]{appearance:none!important;-webkit-appearance:none!important;background-image:var(--np-control-chevron)!important;background-repeat:no-repeat!important;background-size:18px 18px!important;background-position:right 12px center!important;padding-right:40px!important;cursor:pointer}
/* Compact cash overview; benefit balance remains outside the available cash total. */
body:not([data-page="painel"]) #view .np-wallet-overview{gap:10px;padding:24px;min-height:0}
body:not([data-page="painel"]) #view .np-wallet-overview>.np-stat-value{margin:0;line-height:1.2}
body:not([data-page="painel"]) #view .np-wallet-pocket{padding:6px 8px;margin:2px 0 0;min-height:30px;background:transparent;border-color:#ffffff26}
body:not([data-page="painel"]) #view .np-wallet-benefit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;padding-top:14px;margin-top:2px;gap:6px 12px}
body:not([data-page="painel"]) #view .np-wallet-benefit>span{font-size:12.5px;line-height:18px}
body:not([data-page="painel"]) #view .np-wallet-benefit b{font-size:18px;line-height:22px}
body:not([data-page="painel"]) #view .np-wallet-benefit small{margin-top:4px;max-width:170px;font-size:11.5px;line-height:16px}
body:not([data-page="painel"]) #view .np-wallet-pot-link{min-height:38px;padding-top:12px;margin-top:2px;font-size:12.5px}
body:not([data-page="painel"]) #view .np-wallet-overview>small{font-size:11.5px;line-height:16px;margin-top:0}
/* Profile uses the person's avatar, with no decorative photograph or empty photo space. */
body:not([data-page="painel"]) #view .np-editorial-profile{background:#0b0e0d;min-height:0}
body:not([data-page="painel"]) #view .np-editorial-profile::after{content:none}
body:not([data-page="painel"]) #view .np-editorial-profile-copy{width:100%;max-width:none;min-height:0;padding:28px;grid-template-columns:56px minmax(0,1fr) auto;gap:12px 16px;align-items:center}
body:not([data-page="painel"]) #view .np-editorial-profile-copy>.prof-av{grid-column:1;grid-row:1;width:56px;height:56px}
body:not([data-page="painel"]) #view .np-editorial-profile-copy>.np-profile-name{grid-column:2;grid-row:1}
body:not([data-page="painel"]) #view .np-editorial-profile-copy>.btn{grid-column:3;grid-row:1;align-self:center}
/* The referral icon occupies the same row as the title, instead of floating above it. */
body:not([data-page="painel"]) #view .np-referral-entry{grid-template-columns:36px minmax(0,1fr);gap:8px 14px;align-content:center}
body:not([data-page="painel"]) #view .np-referral-entry>.np-referral-entry-copy{display:contents}
body:not([data-page="painel"]) #view .np-referral-entry .np-referral-eyebrow{grid-column:2;grid-row:1}
body:not([data-page="painel"]) #view .np-referral-entry-copy>b{grid-column:2;grid-row:2;align-self:center}
body:not([data-page="painel"]) #view .np-referral-entry-copy>small{grid-column:2;grid-row:3}
body:not([data-page="painel"]) #view .np-referral-entry>.np-referral-entry-icon{grid-column:1;grid-row:2;align-self:center;width:36px;height:36px;color:#f4ff00;background:transparent;border-color:#ffffff40}
body:not([data-page="painel"]) #view .np-referral-entry>.np-referral-entry-action{grid-column:2;grid-row:4;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--np-action-height);padding:var(--np-action-pad);box-sizing:border-box;border-radius:12px;font:var(--np-action-font);background:var(--np-action-fill);border:1px solid transparent;color:#0b0e0d;margin-top:8px}
body:not([data-page="painel"]) #view .np-sub-symbol{color:#f4ff00;background:transparent;border-color:#ffffff40;width:36px;height:36px;border-radius:12px}
body .np-referral-symbol{color:#f4ff00;background:#0b0e0d}
/* Editable salary distribution and transparent preview, without changing calculation rules. */
body .np-salary-edit-action{padding:12px 0 0;border-top:1px solid var(--line);margin-top:16px}
body #kForm .np-salary-deductions{display:flex;flex-direction:column;gap:12px}
body #kForm .np-salary-deductions>.btn{align-self:flex-start}
body #k-deductions{display:flex;flex-direction:column;gap:12px}
body #kForm .np-salary-deduction-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 40px;gap:10px;align-items:end}
body #kForm .np-salary-deduction-row:first-child{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
body #kForm .np-salary-deduction-row>.iconbtn{margin-bottom:2px}
body #kForm .np-salary-payment-preview{border:1px solid var(--outline);border-radius:16px;padding:18px;background:var(--sunk);display:flex;flex-direction:column;gap:12px}
body #kForm .np-salary-payment-preview h3{margin:0;font:600 14px/20px var(--f-body)}
body #kForm .np-salary-preview-total{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
body #kForm .np-salary-preview-total>strong{font:600 22px/28px var(--f-display);color:var(--ink);overflow-wrap:anywhere}
body #kForm .np-salary-preview-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body #kForm .np-salary-preview-parts>div{display:flex;flex-direction:column;gap:6px;border-top:2px solid var(--in);padding:12px 0 4px}
body #kForm .np-salary-preview-parts span{font-size:12px;line-height:18px;color:var(--muted)}
body #kForm .np-salary-preview-parts b{font:600 18px/24px var(--f-display);overflow-wrap:anywhere}
body #kForm .np-salary-payment-preview>small{font-size:11.5px;line-height:18px;color:var(--muted)}
@media(max-width:760px){
 :root{--np-action-height:44px;--np-action-pad:11px 14px;--np-action-font:600 14px/20px var(--f-body)}
 body:not([data-page="painel"]) #view .np-editorial-profile-copy{padding:22px 20px;grid-template-columns:44px minmax(0,1fr);gap:16px 12px}
 body:not([data-page="painel"]) #view .np-editorial-profile-copy>.prof-av{width:44px;height:44px;align-self:start}
 body:not([data-page="painel"]) #view .np-editorial-profile-copy>.btn{grid-column:1/-1;grid-row:2;justify-self:start}
 body:not([data-page="painel"]) #view .np-wallet-overview{padding:20px;gap:10px}
 body #kForm .np-salary-deduction-row{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 36px;gap:8px}
 body #kForm .np-salary-deduction-row>.iconbtn{width:36px;min-width:36px}
 body #kForm .np-salary-preview-parts{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){html body :is(.btn,.np-sub-button,.np-sub-refresh,.np-bank-update,.np-check-action){transition:none}}

html body #view .np-sub-current .np-sub-button-secondary{background:var(--np-action-fill)!important;color:#0b0e0d!important;border-color:transparent!important}
html body #view .np-sub-symbol,html body #view .np-sub-symbol svg{color:#f4ff00!important}
html body .np-bank-update>svg{width:18px;height:18px}
html body :is(.iconbtn,.np-action-trigger){height:var(--np-action-height)!important;min-height:var(--np-action-height)!important;width:var(--np-action-height)!important;min-width:var(--np-action-height)!important;padding:0!important;border-radius:12px!important}
html body .linkbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 10px;font:var(--np-action-font);border-radius:10px;box-sizing:border-box}
html body .np-hf-recon{min-height:var(--np-action-height);border-radius:12px;padding:8px 12px;font:var(--np-action-font)}
@media(max-width:760px){html body .linkbtn{min-height:44px}}
