/* Cofrinhos — a mesma linguagem Neon Plan, com espaço para cada objetivo. */
.np-cofrinhos{display:grid;gap:var(--np-page-gap,24px);width:100%;min-width:0;margin:0}
.np-pot-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px 24px;padding:0;color:var(--muted);font-size:12px}
.np-pot-summary>span:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}.np-pot-summary b{font-size:25px;letter-spacing:-.04em;color:var(--ink)}
.np-pot-summary small{margin-left:auto;font-size:11px}
.np-pot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--np-card-gap,16px)}
.np-pot-card{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 3px 15px rgb(0 0 0 / .025)}
.np-pot-card>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:18px}
.np-pot-state{min-width:0;font-size:12px;line-height:1.5;color:var(--muted);text-align:left;display:flex;align-items:center;gap:6px;overflow-wrap:anywhere}.np-pot-state svg{width:14px;height:14px;flex-shrink:0}
.np-pot-card.is-complete .np-pot-state{color:var(--in)}
.np-pot-open{display:flex;align-items:center;gap:12px;justify-content:space-between;width:100%;padding:0;min-height:44px;border:0;background:transparent;color:var(--ink);text-align:left}
.np-pot-open h3{font-size:18px;font-weight:650;letter-spacing:-.025em;line-height:1.3;overflow-wrap:anywhere;margin:0}.np-pot-open>svg{width:17px;height:17px;flex-shrink:0;color:var(--muted)}
.np-pot-balance-label{margin-top:18px;font-size:11px;color:var(--muted)}
.np-pot-balance{font-size:clamp(22px,2.25vw,30px);letter-spacing:-.045em;line-height:1.35;overflow-wrap:anywhere;margin:5px 0 22px}
.np-pot-progress{margin:0 0 20px;font-size:11px}.np-pot-progress-label{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--muted);margin-bottom:9px}
.np-pot-progress .meter{height:7px;border-radius:8px;background:var(--sunk)}.np-pot-progress .fill{border-radius:8px;background:var(--pot-color,var(--accent));height:100%}
.np-pot-progress p{line-height:1.6;margin:10px 0 0;color:var(--muted)}.np-pot-progress b{color:var(--ink);font-weight:600}
.np-pot-no-goal{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 20px}
.np-pot-card footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:8px}.np-pot-card footer .btn{min-height:44px;flex:1;white-space:nowrap;padding-inline:12px;font-size:12px}
.np-pot-start h3{font-size:20px;letter-spacing:-.03em;margin:0 0 8px}.np-pot-start>div>p{font-size:13px;color:var(--muted);line-height:1.6;margin:0}
.np-pot-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}
.np-pot-presets>button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left;padding:22px 18px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);transition:border-color .15s,transform .15s}
.np-pot-presets>button:hover{border-color:var(--accent);transform:translateY(-2px)}.np-pot-presets b{font-size:14px;font-weight:650}.np-pot-presets small{font-size:11px;color:var(--muted);line-height:1.5}
.np-pot-presets>button>svg{position:absolute;right:16px;top:20px;width:16px;height:16px;color:var(--muted)}
.np-preset-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:color-mix(in srgb,var(--pot-color) 12%,var(--surface));color:var(--pot-color);margin-bottom:8px}.np-preset-icon svg{width:23px;height:23px}
.np-cofrinhos-entry{display:flex;align-items:center;gap:16px;border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:18px 22px;margin:0 0 4px}
.np-cofrinhos-entry>div{flex:1;min-width:0}.np-cofrinhos-entry h2{font-size:15px;margin:0 0 5px}.np-cofrinhos-entry p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.np-cofrinhos-entry p b{font-weight:600;color:var(--ink)}.np-cofrinhos-entry .btn{min-height:44px;font-size:12px;flex-shrink:0}
.np-pot-entry-icon{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:16px;background:var(--accent-soft);color:var(--accent)}.np-pot-entry-icon svg{width:26px;height:26px}
.np-pot-home-row{width:100%;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;color:var(--ink);font:inherit;cursor:pointer}.np-pot-home-row:last-child{border-bottom:0}
.np-pot-reserve{margin:0;border:1px solid var(--line);border-radius:20px;background:var(--surface)}
.np-pot-reserve>summary{display:flex;align-items:center;gap:15px;padding:20px;list-style:none;cursor:pointer}.np-pot-reserve>summary::-webkit-details-marker{display:none}.np-pot-reserve>summary>span:nth-child(2){flex:1;min-width:0}.np-pot-reserve>summary b{display:block;font-size:14px;font-weight:650;line-height:1.5}.np-pot-reserve>summary small{display:block;font-size:12px;font-weight:400;color:var(--muted);line-height:1.6;margin-top:4px}.np-pot-reserve>summary>svg{width:17px;height:17px;flex-shrink:0}
.np-pot-reserve-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:14px;background:var(--sunk);color:var(--ink)}.np-pot-reserve-icon svg{width:22px;height:22px}
.np-pot-reserve>div{padding:0 22px 22px;max-width:640px;display:grid;gap:14px}.np-pot-reserve label{display:grid;gap:8px;font-size:12px}.np-pot-reserve>div>p{line-height:1.7;font-size:13px;margin:0}.np-pot-reserve .btn{justify-self:start;white-space:normal;text-align:left;min-height:44px}
.np-pot-footnote{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.7;color:var(--muted);margin:0}.np-pot-footnote>svg{width:15px;height:15px;flex-shrink:0;margin-top:2px}
.np-pot-detail{overflow-y:auto;flex:1;min-height:0;padding:26px;display:flex;flex-direction:column;gap:23px}.np-pot-detail-balance{display:grid;justify-items:center;gap:14px;padding:3px 0 6px}.np-pot-detail-balance>span:not(.badge){color:var(--muted);font-size:12px}.np-pot-detail-balance>strong{font-size:35px;letter-spacing:-.05em;overflow-wrap:anywhere;max-width:100%}.np-pot-detail>.np-pot-progress{margin:0}
.np-pot-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.np-pot-detail-actions .btn{min-height:46px}
.np-pot-insight{background:var(--accent-soft);border-radius:16px;padding:18px;color:var(--ink)}.np-pot-insight h3{font-size:14px;margin:0 0 8px}.np-pot-insight p{font-size:13px;line-height:1.7;margin:0 0 8px}.np-pot-insight small{font-size:11px;line-height:1.7;display:block;color:var(--muted)}.np-pot-insight .linkbtn{margin-top:12px;min-height:34px}
.np-pot-settings{display:flex;flex-wrap:wrap;gap:10px 20px}.np-pot-settings>span{display:flex;align-items:flex-start;gap:10px;flex-basis:100%;font-size:12px;line-height:1.7}.np-pot-settings>span>svg{width:17px;height:17px;margin-top:2px;flex-shrink:0}.np-pot-settings small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.np-pot-settings .linkbtn{min-height:36px}
.np-pot-history{border-top:1px solid var(--line);padding-top:20px}.np-pot-history h3{font-size:14px;margin:0}.np-pot-history ul{list-style:none;margin:0 0 12px;padding:0}.np-pot-history li{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.np-pot-history li>span:nth-child(2){flex:1;min-width:0}.np-pot-history li b{display:block;font-size:12px;overflow-wrap:anywhere;font-weight:500}.np-pot-history small{display:block;color:var(--muted);font-size:11px;line-height:1.7}.np-pot-history li strong{font-size:12px;white-space:nowrap}.np-pot-move-icon{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:9px;background:var(--sunk)}.np-pot-move-icon svg{width:15px;height:15px}
.np-pot-options{border:1px solid var(--line);border-radius:14px;min-width:0}.np-pot-options>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:15px 14px;font-size:12px;font-weight:600;line-height:1.5;color:var(--ink)}.np-pot-options>summary::-webkit-details-marker{display:none}.np-pot-options>summary>svg{width:17px;height:17px;flex-shrink:0}.np-pot-options>summary>svg:last-child{margin-left:auto;width:14px;height:14px}.np-pot-options>div{display:flex;flex-direction:column;gap:16px;padding:2px 14px 17px}.np-pot-options p{font-size:12px;line-height:1.7;margin:0}.np-pot-options small{color:var(--muted);font-size:11px;line-height:1.7}.np-pot-options label small{display:block;margin-top:5px;font-weight:400}
.np-pot-editor .two label>small{display:inline;font-weight:400}.np-pot-existing{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px}.np-pot-existing span{flex:1}.np-pot-existing b{display:block;margin-top:8px;font-size:20px}
.np-pot-move-context{display:flex;align-items:center;gap:12px;padding:14px;border-radius:15px;background:var(--sunk);font-size:13px}.np-pot-move-context small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.np-pot-move-check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6}.np-pot-move-check input{margin-top:3px;width:18px;height:18px;flex-shrink:0}
@media(max-width:1100px){.np-pot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.np-pot-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.np-cofrinhos{gap:var(--np-page-gap,24px)}.np-pot-grid{grid-template-columns:1fr;gap:16px}.np-pot-card{padding:var(--np-surface-padding,16px)}.np-pot-balance{font-size:30px}.np-pot-summary{gap:8px 16px}.np-pot-summary small{margin-left:0;flex-basis:100%;line-height:1.7}.np-pot-summary b{font-size:24px}.np-pot-presets{gap:11px}.np-pot-presets>button{padding:18px 14px}.np-pot-presets b{font-size:13px}.np-pot-presets small{font-size:11px}.np-pot-presets>button>svg{right:10px;top:15px}.np-pot-start h3{font-size:18px}.np-cofrinhos-entry{padding:16px;gap:12px;flex-wrap:wrap}.np-cofrinhos-entry .btn{width:100%;justify-content:center}.np-cofrinhos-entry p{font-size:11px}.np-pot-reserve>summary{padding:17px 15px;gap:11px}.np-pot-reserve>summary b{font-size:13px}.np-pot-reserve>summary small{font-size:11px}.np-pot-reserve-icon{flex-basis:35px;height:35px;border-radius:12px}.np-pot-detail{padding:22px}.np-pot-detail-balance>strong{font-size:30px}}
@media(max-width:350px){.np-pot-card{padding:20px}.np-pot-presets>button{padding:17px 12px}.np-pot-presets b{font-size:12px}.np-pot-detail{padding:18px}.np-pot-history li{gap:7px}.np-pot-history li strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){.np-cofrinhos *{transition:none!important;animation:none!important}}

.np-pot-move-check small{display:block;margin-top:5px}.np-wallet-drawer:has(.np-pot-detail)>header h2{overflow-wrap:anywhere;min-width:0}
@media(max-width:600px){.np-pot-card>header{margin-bottom:10px}.np-pot-open{min-height:34px}.np-pot-balance-label{margin-top:12px}.np-pot-balance{margin:4px 0 16px}.np-pot-card .np-pot-progress{margin-bottom:13px}.np-pot-card footer{padding-top:0}}

/* Foto original e texto independente: leitura preservada em qualquer tela. */
.np-pot-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:300px;padding:0;border:0;border-radius:var(--np-hero-radius,28px);background:#f5f6eb;color:#0b211b}
.np-pot-hero-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
.np-pot-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f5f6eb 0%,rgb(245 246 235/.96) 27%,rgb(245 246 235/.72) 43%,transparent 62%);pointer-events:none}
.np-pot-hero-copy{width:min(53%,570px);position:relative;padding:32px 40px;display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box}
.np-pot-hero-copy h2{font-family:var(--f-display);font-size:clamp(30px,3vw,42px);font-weight:600;line-height:1.07;letter-spacing:-.04em;margin:12px 0}
.np-pot-hero-copy p{font-size:14px;line-height:1.5;max-width:330px;margin:0 0 22px;color:#3f5248}
.np-pot-hero-copy .np-section-label{color:#3f5248}.np-pot-hero-copy .np-section-label::before{background:#008a65}
.np-pot-hero-copy .btn.primary{min-height:44px;padding:11px 18px;border-color:#0b211b;background:#0b211b;color:#f4ff00;gap:8px}
.np-pot-hero-copy .btn.primary:hover{background:#193d31;border-color:#193d31}
.np-pot-summary{align-items:center;gap:12px 24px;padding:4px 0}
.np-pot-summary>span:first-child{gap:10px}.np-pot-summary b{font-family:var(--f-display);font-weight:600;font-size:32px;line-height:1.15}
.np-pot-card{border-radius:var(--np-card-radius,24px);box-shadow:none}
.np-pot-card>header .badge{border-radius:14px}
.np-pot-balance{font-family:var(--f-display);font-weight:600;font-size:32px;line-height:1.12}
:root.is-dark .np-pot-hero,:root[data-theme="dark"] .np-pot-hero{background:#13251f;color:#f5f7ed}
:root.is-dark .np-pot-hero::after,:root[data-theme="dark"] .np-pot-hero::after{background:linear-gradient(90deg,#13251f 0%,rgb(19 37 31/.98) 27%,rgb(19 37 31/.78) 43%,transparent 65%)}
:root.is-dark .np-pot-hero-copy p,:root[data-theme="dark"] .np-pot-hero-copy p,:root.is-dark .np-pot-hero-copy .np-section-label,:root[data-theme="dark"] .np-pot-hero-copy .np-section-label{color:#d3dfd8}
:root.is-dark .np-pot-hero-copy .np-section-label::before,:root[data-theme="dark"] .np-pot-hero-copy .np-section-label::before{background:#f4ff00}
:root.is-dark .np-pot-hero-copy .btn.primary,:root[data-theme="dark"] .np-pot-hero-copy .btn.primary{background:#f4ff00;border-color:#f4ff00;color:#0b211b}
@media(max-width:1050px) and (min-width:761px){.np-pot-hero-copy{padding:28px;width:61%}.np-pot-hero-copy h2{font-size:34px}.np-pot-hero::after{background:linear-gradient(90deg,#f5f6eb 0%,rgb(245 246 235/.95) 35%,transparent 80%)}}
@media(max-width:760px){.np-pot-hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;border-radius:24px}.np-pot-hero-copy{width:100%;padding:24px;order:1}.np-pot-hero-copy h2{font-size:32px;margin:10px 0}.np-pot-hero-copy p{font-size:13px;margin-bottom:18px;max-width:100%}.np-pot-hero-photo{position:relative;inset:auto;z-index:0;order:2;display:block;height:150px;width:100%;object-fit:cover;object-position:right center}.np-pot-hero::after{display:none}.np-pot-summary small{flex-basis:100%;margin-left:0}.np-pot-summary b,.np-pot-balance{font-size:30px}}
