/* v28.0.17 — compact navigation and task-focused mobile settings. */
.np-setting-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:var(--sunk);color:var(--ink)}
.np-setting-icon svg{width:19px;height:19px}
.np-verified{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--in)}
.np-verified svg{width:18px;height:18px}
.np-email-status .note{overflow-wrap:anywhere}
.np-welcome-kicker{font-size:10px;letter-spacing:.11em;font-weight:700;color:var(--muted)}
.np-guide-welcome{padding:18px;border-radius:18px;background:var(--grad-soft)}
.np-guide-welcome>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--surface);color:var(--ink);margin-bottom:13px}
.np-guide-welcome h3{font-size:23px;line-height:1.15;letter-spacing:-.035em;margin:0 0 8px;color:var(--ink)}
.np-guide-welcome p{font-size:13px;line-height:1.6;color:var(--muted);margin:0;max-width:34ch}
.np-start-guide ol{margin:18px 0}
.np-start-guide li{display:block;padding:0;border-bottom:1px solid var(--line)}
.np-start-guide li:last-child{border-bottom:0}
.np-guide-step{border:0;background:transparent;color:var(--ink);display:flex;align-items:center;gap:12px;width:100%;padding:15px 0;text-align:left;font:inherit;cursor:pointer}
.np-guide-step>span:nth-child(2){flex:1;min-width:0}
.np-guide-step b{display:block;font-size:14px;font-weight:600;line-height:1.35}
.np-guide-step small{display:block;color:var(--muted);font-size:12px;line-height:1.55;margin-top:4px}
.np-guide-step>svg{flex:none;width:16px;height:16px;color:var(--muted)}
.np-start-guide>.btn{width:100%;min-height:44px;justify-content:center}
.np-profile-mobile a:focus-visible,.np-profile-mobile button:focus-visible,.np-profile-detail button:focus-visible,.np-more-sheet button:focus-visible,.np-guide-step:focus-visible{outline:3px solid var(--in);outline-offset:3px}
html.np-overlay-open,body.np-overlay-open{overflow:hidden;overscroll-behavior:none}
/* Floating navigation belongs to the page behind the active dialog. */
.np-overlay-open :is(.dock,#dock,#fabNew,.nph-mobile-dock,.nph-dock){visibility:hidden!important;pointer-events:none!important}

@media(max-width:760px){
  html{scroll-padding-block:18px calc(108px + env(safe-area-inset-bottom,0px))}
  .main{padding:12px 14px calc(112px + env(safe-area-inset-bottom,0px))!important}
  #view,.prof,.ppane,.sal-grid,.pcol,.card{min-width:0}
  #view{scroll-margin-top:12px}
  .main input.field,.main textarea.field,.main select.field,.np-journal-results select{font-size:16px!important;min-height:44px;max-width:100%}
  .np-projection-month{display:flex;flex-direction:column;gap:8px;padding:16px;margin-bottom:14px;border:1px solid var(--line);border-radius:15px;background:var(--surface);font-size:12px;font-weight:500;color:var(--muted)}
  .np-projection-month select{width:100%;color:var(--ink)}
  .np-month .prow2 .pb .iconbtn,.np-journal-actions .iconbtn,.np-asset-column .np-wallet-group>header>.iconbtn{width:44px;min-width:44px;min-height:44px}
  .np-month-stat>strong,.np-journal-summary strong,.np-journal-row>.np-journal-value{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
  .np-journal-row{min-width:0}
  .np-journal-actions>div{flex-wrap:wrap;max-width:138px}
  /* Keep the greeting on Home. Other pages lead with their task. */
  body:not([data-page="painel"]) .top{grid-template-areas:"av title eye" "month month month";grid-template-columns:36px minmax(0,1fr) 44px;gap:10px;padding:10px 12px!important;border-radius:18px}
  body:not([data-page="painel"]) .top .hello .hname,body:not([data-page="painel"]) .top .hello .hdate{display:none!important}
  body:not([data-page="painel"]) .top h1{margin:0!important;font-size:20px!important;line-height:1.2;letter-spacing:-.025em}
  body:not([data-page="painel"]) .top .avatar{width:32px!important;height:32px!important;font-size:14px!important;box-shadow:none}
  body:not([data-page="painel"]) .top .month{margin-top:0}
  body[data-page="perfil"] .top{grid-template-areas:"title eye";grid-template-columns:minmax(0,1fr) 44px;background:transparent;padding-inline:2px!important}
  body[data-page="perfil"] .top .avatar{display:none}
  .top .eyebtn{min-width:44px;min-height:44px}
  /* Four destinations + one clearly labelled action. */
  .dock{height:72px;padding:5px 7px;border-radius:24px;width:min(440px,calc(100% - 24px));bottom:calc(10px + env(safe-area-inset-bottom,0px));background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 9px 32px -16px rgb(9 51 44/.30),0 0 0 1px color-mix(in srgb,var(--line) 70%,transparent)}
  .dock .dk,.dock .dk-plus{flex:1 1 0;min-width:0;width:auto;height:58px;margin:0;padding:5px 0 4px;border:0;border-radius:15px;background:transparent;box-shadow:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font:500 10.5px/1.2 var(--f-body);color:var(--muted)}
  .dock .dk svg.i{width:22px;height:22px;transform:none}
  .dock .dk-plus svg.i{box-sizing:border-box;width:36px;height:28px;padding:3px 7px;background:var(--grad-lime);border-radius:10px;stroke-width:2;color:var(--fence)}
  .dock .dk-plus span{font-size:10px;color:var(--ink)}
  .dock .dk.on{background:var(--sunk);color:var(--ink);font-weight:700}
  .dock .dk.on::after{display:none}
  .dock .dk-badge{top:1px;right:calc(50% - 25px)}
  .np-keyboard-open .dock{visibility:hidden;pointer-events:none}
  /* A compact identity card, followed by a predictable settings list. */
  .np-profile-mobile{display:flex;flex-direction:column;gap:16px}
  .np-profile-mobile .np-profile-summary{display:grid;grid-template-columns:48px minmax(0,1fr) 36px;align-items:center;gap:12px;padding:18px 14px;border-radius:21px;background:var(--grad-soft);margin:0;box-shadow:none}
  .np-profile-summary .prof-av,.np-profile-photo .prof-av{width:48px;height:48px;min-width:48px;border-radius:15px;font-size:21px;box-shadow:none}
  .np-profile-name{min-width:0}
  .np-profile-name h2{margin:0 0 4px;font-size:20px;letter-spacing:-.035em;line-height:1.15;overflow-wrap:anywhere}
  .np-profile-name>span{display:block;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5}
  .np-profile-name small{display:block;margin-top:7px;font-size:10.5px;font-weight:600;color:var(--ink);line-height:1.4}
  .np-profile-summary>.iconbtn{width:36px;min-width:36px;min-height:44px;background:transparent;border:0}
  .np-profile-email-hint{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;padding-inline:4px;flex-wrap:wrap}
  .np-profile-email-hint>svg{width:17px;height:17px;flex:none}
  .np-profile-email-hint .linkbtn{margin-left:auto;min-height:44px;font-size:12px}
  .np-profile-menu.card{padding:4px 14px;margin:0;border-radius:21px;overflow:hidden}
  .np-profile-menu>button{display:flex;align-items:center;gap:12px;width:100%;min-height:82px;padding:17px 0;border:0;border-bottom:1px solid var(--line);text-align:left;font:inherit;color:var(--ink);background:transparent;cursor:pointer}
  .np-profile-menu>button:last-child{border-bottom:0}
  .np-profile-menu>button>span:nth-child(2){flex:1;min-width:0}
  .np-profile-menu b{display:block;font-size:14px;font-weight:600;line-height:1.35}
  .np-profile-menu small{display:block;font-size:11.5px;line-height:1.55;color:var(--muted);margin-top:4px}
  .np-profile-menu>button>svg{flex:none;width:16px;height:16px;color:var(--muted)}
  .np-profile-menu>button:active,.np-more-row:active,.np-guide-step:active{background:var(--sunk)}
  .np-profile-help.card{display:flex;align-items:flex-start;gap:13px;padding:18px;border:0;border-radius:20px;background:var(--sunk);box-shadow:none;margin:0}
  .np-profile-help .np-setting-icon{background:var(--surface)}
  .np-profile-help h3{margin:0 0 4px;font-size:14px;letter-spacing:-.015em}
  .np-profile-help p{margin:0;font-size:12px;color:var(--muted);line-height:1.6}
  .np-profile-help .linkbtn{min-height:44px;font-size:12px;margin-top:4px}
  .np-profile-session{display:flex;flex-direction:column;gap:4px;padding:0 6px}
  .np-profile-session>.btn{justify-content:flex-start;min-height:46px;background:transparent;box-shadow:none;border-color:transparent;font-size:13px}
  .np-profile-session>.btn svg{width:18px;height:18px}
  .np-profile-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:4px;font-size:10.5px;color:var(--muted);margin-top:0}
  .np-profile-footer a{color:var(--muted);min-height:44px;display:inline-flex;align-items:center}
  .np-profile-subhead{position:sticky;top:0;z-index:7;padding:0 0 16px;background:var(--ground)}
  .np-profile-subhead>.linkbtn{min-height:44px;font-size:12px;margin-bottom:2px}
  .np-profile-subhead h2{font-size:25px;line-height:1.2;letter-spacing:-.035em;margin:0}
  .np-profile-subhead h2:focus,.np-profile-name h2:focus{outline:none}
  .np-profile-detail .ppane{padding-top:0}
  .np-profile-detail .sal-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
  .np-profile-detail .card{padding:18px;border-radius:20px;margin-bottom:16px}
  .np-profile-detail .np-profile-photo{display:flex;align-items:center;gap:14px}
  .np-profile-photo>div:last-child{min-width:0}
  .np-profile-photo b{font-size:13px}
  .np-profile-photo .prof-acts{justify-content:flex-start;gap:4px;margin-top:5px}
  .np-profile-photo .btn{font-size:12px;min-height:44px;padding-inline:8px}
  .np-profile-detail .ch{flex-wrap:wrap;gap:8px;align-items:flex-start}
  .np-profile-detail .ch h2{font-size:17px;line-height:1.3;flex:1 1 65%;white-space:normal}
  .np-profile-detail .ch .pill{font-size:10px;max-width:100%;white-space:normal}
  .np-profile-detail .bklead,.np-profile-detail .note,.np-profile-detail .privlist{font-size:12.5px;line-height:1.65}
  .np-profile-detail .ln{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding-block:16px}
  .np-profile-detail .ln>span:first-child{flex:1;min-width:160px;font-size:13px;line-height:1.4}
  .np-profile-detail .ln small{font-size:11.5px;line-height:1.55;margin-top:4px}
  .np-profile-detail .ln>.prof-acts{flex-basis:100%;justify-content:flex-start}
  .np-profile-detail .ln>.seg{flex-basis:100%;width:100%}
  .np-profile-detail .seg button{flex:1;min-height:44px;font-size:12px;padding-inline:7px}
  .np-profile-detail .switch{flex:none;min-height:28px;min-width:48px}
  .np-profile-detail .prof-tools{display:flex;flex-wrap:wrap;gap:8px}
  .np-profile-detail .prof-tools>.btn{min-height:44px;max-width:100%;white-space:normal;line-height:1.4}
  .np-profile-detail .danger-zone{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-block:18px}
  .np-profile-detail .danger-zone small{font-size:12px;line-height:1.6}
  .np-profile-detail .dangercard{margin-top:26px;border:1px solid color-mix(in srgb,var(--out) 25%,var(--line));background:var(--surface)}
  .np-profile-detail .dangercard .ch h2{font-size:14px}
  /* Lists in More retain one clear destination per row. */
  .sheet.np-more-sheet{display:flex;flex-direction:column;padding:10px 18px max(12px,env(safe-area-inset-bottom,0px));max-height:min(92dvh,calc(var(--np-viewport-height,100dvh) - 16px));bottom:var(--np-keyboard-inset,0px);overflow:hidden}
  .np-more-sheet>.sheet-handle{flex:none;margin:0 auto 10px}
  .np-more-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:4px 0 12px}
  .np-more-sheet>header small{font-size:9px;letter-spacing:.14em;color:var(--muted);font-weight:700}
  .np-more-sheet h2{font-size:21px;line-height:1.25;letter-spacing:-.03em;margin:5px 0 0}
  .np-more-sheet>header .iconbtn{width:44px;height:44px;flex:none}
  .np-more-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:8px}
  .np-more-group{padding:8px 0 10px;border-top:1px solid var(--line)}
  .np-more-group h3{font-size:10px;letter-spacing:.07em;color:var(--muted);margin:4px 0 5px;text-transform:uppercase}
  .np-more-row{display:flex;align-items:center;gap:12px;width:100%;padding:11px 2px;border:0;border-radius:12px;background:transparent;color:var(--ink);text-align:left;font:inherit;cursor:pointer}
  .np-more-row>span:nth-child(2){flex:1;min-width:0}
  .np-more-row b{display:block;font-size:13px;line-height:1.4;font-weight:600}
  .np-more-row small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:2px}
  .np-more-row>svg{width:15px;height:15px;flex:none;color:var(--muted)}
  .np-more-row.on{background:var(--sunk)}
  .np-more-row.on .np-setting-icon{background:var(--grad-soft)}
  .np-more-sheet>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;padding-top:8px;border-top:1px solid var(--line)}
  .np-more-sheet>footer .linkbtn{min-height:44px;font-size:11px;gap:5px}
  .np-more-sheet>footer .linkbtn svg{width:16px;height:16px}
  /* Sheets stay within the visible viewport when the keyboard is open. */
  .drawer{max-height:min(94dvh,calc(var(--np-viewport-height,100dvh) - 14px));bottom:var(--np-keyboard-inset,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
  .drawer>header{flex:none;flex-wrap:nowrap;padding:22px 18px 13px!important;border-bottom:1px solid var(--line);gap:12px}
  .drawer>header h2{flex:1;font-size:19px;line-height:1.25;min-width:0;overflow-wrap:anywhere}
  .drawer>header>.iconbtn{flex:none;width:44px;height:44px;margin-left:auto}
  .drawer form,.drawer .np-wallet-detail,.drawer .np-start-guide{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0}
  .drawer>form{padding:18px;scroll-padding-block:12px 24px}
  .drawer footer{flex:none;flex-wrap:wrap;gap:8px;padding:12px 18px;background:var(--surface)}
  .drawer footer>.btn{min-height:46px;white-space:normal;line-height:1.3;justify-content:center}
  .drawer footer>.btn.primary{flex:1 1 140px}
  .drawer footer>.spacer{flex:1 1 0}
  .drawer input.field,.drawer textarea.field,.drawer select.field,.np-profile-detail input.field,.np-profile-detail select.field,.wz .field{font-size:16px!important;min-height:46px;min-width:0;max-width:100%}
  .drawer .two,.wz .two{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .drawer label,.wz-fs label{line-height:1.4}
  .drawer label[hidden]{display:none!important}
  .drawer label small{line-height:1.5}
  .np-keyboard-open .drawer{border-radius:18px 18px 0 0!important}
  .np-keyboard-open .drawer footer{padding-block:8px}
  .wz-over{align-items:end;padding:0;background:rgb(6 20 17/.5)}
  .wz{width:100%;max-height:min(95dvh,calc(var(--np-viewport-height,100dvh) - 12px));border-radius:26px 26px 0 0;margin-bottom:var(--np-keyboard-inset,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
  .wz form{padding:24px 22px 16px;overscroll-behavior:contain;min-height:0}
  .wz h2{font-size:26px;line-height:1.2;letter-spacing:-.04em;max-width:22ch}
  .wz form>p{font-size:14px;line-height:1.65}
  .wz footer{flex:none;padding:14px 22px 18px;gap:10px}
  .wz footer .btn{min-height:46px;white-space:normal;line-height:1.3}
  .wz footer .primary{flex:1 1 150px}
  .wz-list{padding:8px 0;gap:14px;font-size:13px}
  .wz-hero{background:var(--grad-lime);color:var(--fence);width:48px;height:48px;border-radius:16px;margin-bottom:3px}
  .wz-opt{min-height:72px;border-radius:16px;padding:14px 12px;gap:10px}
  .wz-opt b{font-size:13px}
  .wz-opt small{font-size:11.5px;line-height:1.5;margin-top:3px}
  .wz-fs{padding:14px;gap:14px}
  .np-start-guide{padding:20px 18px}
  .np-mobile-tour .tour-card{padding:20px 18px 14px;border-radius:22px;max-height:calc(var(--np-viewport-height,100dvh) - 145px);overflow-y:auto}
  .np-mobile-tour .tour-card h3{font-size:20px;letter-spacing:-.03em;line-height:1.3;margin-block:6px}
  .np-mobile-tour .tour-card p{font-size:13px;line-height:1.65}
  .np-mobile-tour .tour-card footer{flex-wrap:wrap;gap:6px;margin-top:14px}
  .np-mobile-tour .tour-card footer .btn{min-height:44px;padding-inline:12px;font-size:12px}
  .np-mobile-tour .tour-hole{transition:none}
}
@media(max-width:420px){
  .main{padding-inline:12px!important}
  .np-profile-summary .np-profile-name h2{font-size:19px}
  .np-profile-menu>button{min-height:80px;gap:10px}
  .np-profile-menu.card{padding-inline:13px}
  .np-setting-icon{width:34px;height:34px;border-radius:11px}
  .drawer .two,.wz .two{grid-template-columns:minmax(0,1fr)}
  .np-profile-detail .prof-tools>.btn{width:100%;justify-content:center}
  .np-more-sheet h2{font-size:20px}
}
@media(prefers-reduced-motion:reduce){.np-profile-mobile *,.np-more-sheet *,.np-mobile-tour *{scroll-behavior:auto;transition:none!important;animation:none!important}}

/* Payment handoff: one clear primary action, generous mobile tap targets. */
.np-checkout-handoff{display:grid;gap:16px;margin:8px 0 20px;min-width:0}
.np-checkout-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink)}
.np-checkout-summary>span{font-size:14px;font-weight:650}
.np-checkout-summary>strong{font-size:22px;letter-spacing:-.03em;white-space:nowrap}
.np-checkout-summary small{font-size:13px;letter-spacing:0;font-weight:500;color:var(--muted);margin-left:3px}
.np-checkout-actions{display:grid;gap:10px;min-width:0}
.np-checkout-actions .btn{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;white-space:normal;text-align:center;line-height:1.3;text-decoration:none;padding:12px 10px;box-sizing:border-box}
.np-checkout-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.np-checkout-handoff>.hint{margin:0;line-height:1.65}
.np-checkout-offer[hidden],.np-checkout-footer-review[hidden]{display:none!important}
@media(max-width:340px){.np-checkout-secondary{grid-template-columns:minmax(0,1fr)}.np-checkout-summary{padding:16px 12px;gap:10px}.np-checkout-summary>strong{font-size:20px}}

/* 28.1 — clear next action, accessible targets and progressive entry. */
.np-home-next{display:flex;align-items:center;gap:10px;padding:11px 12px;margin:14px 0;border:1px solid rgb(8 43 27/.16);border-radius:14px;background:rgb(255 255 255/.32);color:#082B1B}
.np-home-next>svg{flex:none;width:20px;height:20px}
.np-home-next>span{flex:1;min-width:0}
.np-home-next b,.np-home-next small{display:block}
.np-home-next b{font-size:13px;line-height:1.3}
.np-home-next small{font-size:11px;line-height:1.4;margin-top:3px}
.np-home-next .btn{flex:none;min-height:44px;color:#082B1B;border-color:rgb(8 43 27/.3);background:rgb(255 255 255/.5)}
.np-wealth-no-data{min-height:150px;display:grid;place-items:center;text-align:center;font-size:13px;color:#1E4A35;padding:20px}
.np-tx-details{border-top:1px solid var(--line);padding-top:12px}
.np-tx-details>summary{cursor:pointer;min-height:44px;font-weight:600;color:var(--ink);font-size:13px;line-height:1.5}
.np-tx-details>summary>span{display:block;color:var(--muted);font-weight:400;font-size:12px}
.np-tx-advanced{display:flex;flex-direction:column;gap:14px;padding-top:14px}
.np-chart-data{margin-top:14px;border-top:1px solid var(--line);padding-top:8px}
.np-chart-data>summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;color:var(--ink);font-size:13px}
.np-table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain;border:1px solid var(--line);border-radius:12px;margin-top:10px}
.np-chart-data table{border-collapse:collapse;width:100%;font-size:12px;text-align:right}
.np-chart-data th,.np-chart-data td{padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
.np-chart-data th:first-child{text-align:left}
.np-chart-data caption{text-align:left;padding:12px;color:var(--muted)}
.np-chart-data .linkbtn{min-height:44px}
.np-chart-data [aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:4px}
.np-integrity{max-width:620px;margin:24px auto;display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:28px}
.np-integrity h2,.np-integrity p{flex-basis:100%;margin:0;line-height:1.55}
.np-integrity p{color:var(--muted)}
.closelist .na{color:var(--muted)}
.np-tx-details>summary:focus-visible,.np-chart-data summary:focus-visible,.np-table-scroll:focus-visible{outline:3px solid var(--in);outline-offset:3px}
@media(max-width:760px){
 .main .btn.sm,.main .linkbtn,.main .iconbtn,.drawer .btn.sm,.drawer .linkbtn,.drawer .iconbtn,.month .iconbtn,#mPrev,#mNext{min-height:44px;min-width:44px}
 .uprow .btn,.uprow button,.np-wealth-link,.np-wealth-reconcile{min-height:44px}
 .np-home-next{gap:8px;flex-wrap:wrap;padding:10px}
 .np-home-next small{font-size:11px}
 .np-home-next>span{min-width:145px}
 .np-home-next .btn{padding:8px 11px;font-size:12px}
 .np-tx-advanced .two{min-width:0}
 .np-month-nav{flex-wrap:nowrap;gap:18px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}
 .np-month-nav>button{flex:0 0 auto;min-height:44px;min-width:0;justify-content:center;padding:10px 2px;white-space:nowrap}
 .np-month-nav>button span{font-size:11px}
 .np-wealth-no-data{min-height:100px}
 .np-integrity{padding:20px;margin:12px 0}
 .np-integrity .btn{width:100%;justify-content:center}
}
