/* Melhorias Claude 103 · Pessoal › Lançamentos: compra parcelada com o valor completo (abre as parcelas) */
.pz-inst{border:1px solid var(--pz-line,rgba(255,255,255,.1));border-radius:14px;background:rgba(160,142,220,.05);margin:4px 0;transition:background .3s ease,border-color .3s ease}
.pz-inst[open]{background:rgba(160,142,220,.09);border-color:rgba(167,139,250,.45)}
.pz-inst>summary{list-style:none;cursor:pointer;display:grid!important;grid-template-columns:auto auto minmax(0,1fr) auto 22px;align-items:center;gap:10px;-webkit-tap-highlight-color:transparent}
.pz-inst>summary::-webkit-details-marker{display:none}
.pz-inst>summary:focus-visible{outline:2px solid var(--pz-accent,#a78bfa);outline-offset:-2px}
.pz-inst-badge{display:grid;place-items:center;min-width:34px;height:26px;padding:0 6px;border-radius:8px;background:rgba(167,139,250,.18);color:#d9ceff;font-size:12px}
.pz-inst-badge b{font-weight:800}
.pz-inst>summary>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.pz-inst>summary>div strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pz-inst-period{opacity:.75}
.pz-inst-total{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}
.pz-inst-total>small{font-size:10.5px;color:var(--pz-muted,#a8a3b8)}
.pz-inst-total>b{font-size:15px;white-space:nowrap}
.pz-inst-mes{white-space:nowrap}
.pz-inst-chev svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s cubic-bezier(.22,1,.36,1)}
.pz-inst[open] .pz-inst-chev svg{transform:rotate(180deg)}
.pz-inst-body{padding:2px 12px 12px;animation:pzInstOpen .32s cubic-bezier(.22,1,.36,1) both}
@keyframes pzInstOpen{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.pz-inst-head{display:flex;justify-content:space-between;gap:8px;margin:2px 2px 8px;font-size:12.5px;color:var(--pz-muted,#a8a3b8)}
.pz-inst-head b{color:inherit}
.pz-inst-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}
.pz-inst-p{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:8px;row-gap:1px;padding:8px 10px;border-radius:10px;border:1px solid var(--pz-line,rgba(255,255,255,.08));background:rgba(255,255,255,.03);font-size:12.5px}
.pz-inst-n{grid-row:1/3;align-self:center;font-weight:800;font-variant-numeric:tabular-nums;color:#c9bcff}
.pz-inst-m{font-weight:700;text-transform:capitalize}
.pz-inst-s{grid-column:2;font-size:11px;color:var(--pz-muted,#a8a3b8)}
.pz-inst-p>b{grid-column:2;grid-row:1;justify-self:end;font-variant-numeric:tabular-nums}
.pz-inst-p.past{opacity:.62}
.pz-inst-p.miss{opacity:.45;border-style:dashed}
.pz-inst-p.on{border-color:#a78bfa;background:rgba(167,139,250,.16);opacity:1}
.pz-inst-p.on .pz-inst-s{color:#d9ceff;font-weight:700}
html.tema-claro .pz-inst{background:rgba(124,92,230,.05);border-color:rgba(60,40,120,.14)}
html.tema-claro .pz-inst[open]{background:rgba(124,92,230,.08);border-color:rgba(124,92,230,.4)}
html.tema-claro .pz-inst-badge{background:rgba(124,92,230,.14);color:#4c2fb0}
html.tema-claro .pz-inst-p{background:rgba(255,255,255,.6);border-color:rgba(60,40,120,.12)}
html.tema-claro .pz-inst-n{color:#5b3cc4}
html.tema-claro .pz-inst-p.on{background:rgba(124,92,230,.14);border-color:#7c5ce6}
html.tema-claro .pz-inst-p.on .pz-inst-s{color:#4c2fb0}
@media(max-width:760px){.pz-inst>summary{grid-template-columns:auto minmax(0,1fr) auto 18px;gap:8px}.pz-inst-badge{display:none}.pz-inst-total>b{font-size:14px}.pz-inst-list{grid-template-columns:repeat(2,minmax(0,1fr))}.pz-inst-body{padding:2px 8px 10px}}
/* "Últimos no Excel" (Pessoal › Lançamentos): compra parcelada numa linha só, com o valor completo */
html body #ownerPortal .cx-xl-inst{border:1px solid rgba(167,139,250,.28);border-radius:14px;background:rgba(160,142,220,.05);margin:2px 0;transition:background .25s,border-color .25s}
html body #ownerPortal .cx-xl-inst[open]{background:rgba(160,142,220,.09);border-color:rgba(167,139,250,.55)}
html body #ownerPortal .cx-xl-inst>summary{list-style:none;cursor:pointer;grid-template-columns:10px minmax(0,1fr) auto auto 30px!important;border:0!important;-webkit-tap-highlight-color:transparent}
html body #ownerPortal .cx-xl-inst>summary::-webkit-details-marker{display:none}
html body #ownerPortal .cx-xl-inst>summary:focus-visible{outline:2px solid #a78bfa;outline-offset:-2px}
html body #ownerPortal .cx-xl-inst>summary .cx-xl-dot{background:#a78bfa;box-shadow:0 0 10px -1px #a78bfa}
html body #ownerPortal .cx-xl-inst-tag{font-style:normal;font-weight:800;color:#d9ceff}
html body #ownerPortal .cx-xl-inst-chev{display:grid;place-items:center}
html body #ownerPortal .cx-xl-inst-chev svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s cubic-bezier(.22,1,.36,1)}
html body #ownerPortal .cx-xl-inst[open] .cx-xl-inst-chev svg{transform:rotate(180deg)}
html body #ownerPortal .cx-xl-inst-body{padding:0 8px 8px;animation:pzInstOpen .32s cubic-bezier(.22,1,.36,1) both}
html body #ownerPortal .cx-xl-inst-p{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:6px;border-top:1px solid rgba(255,255,255,.06)}
html body #ownerPortal .cx-xl-inst-n{display:flex;flex-direction:column;font-size:11.5px;color:rgba(200,190,240,.8);padding-left:8px}
html body #ownerPortal .cx-xl-inst-n b{font-size:13px;color:#e4dcff;font-variant-numeric:tabular-nums}
html body #ownerPortal .cx-xl-inst-p .cx-xl-row{animation:none!important}
html body #ownerPortal .cx-xl-inst-p.past{opacity:.6}
html body #ownerPortal .cx-xl-inst-p.now .cx-xl-inst-n,html body #ownerPortal .cx-xl-inst-p.now .cx-xl-inst-n b{color:#fff;font-weight:800}
html.tema-claro body #ownerPortal .cx-xl-inst{background:rgba(124,92,230,.05);border-color:rgba(124,92,230,.25)}
html.tema-claro body #ownerPortal .cx-xl-inst[open]{background:rgba(124,92,230,.08);border-color:rgba(124,92,230,.45)}
html.tema-claro body #ownerPortal .cx-xl-inst-tag,html.tema-claro body #ownerPortal .cx-xl-inst-n b{color:#4c2fb0}
html.tema-claro body #ownerPortal .cx-xl-inst-n{color:#6b5aa8}
html.tema-claro body #ownerPortal .cx-xl-inst-p{border-top-color:rgba(60,40,120,.1)}
html.tema-claro body #ownerPortal .cx-xl-inst-p.now .cx-xl-inst-n,html.tema-claro body #ownerPortal .cx-xl-inst-p.now .cx-xl-inst-n b{color:#2b1a6e}
@media(max-width:760px){html body #ownerPortal .cx-xl-inst>summary{grid-template-columns:8px minmax(0,1fr) auto 22px!important}html body #ownerPortal .cx-xl-inst-p{grid-template-columns:1fr;gap:0}html body #ownerPortal .cx-xl-inst-n{flex-direction:row;gap:6px;padding:6px 10px 0}html body #ownerPortal .cx-xl-inst-body{padding:0 4px 6px}}
/* Parcelas abertas enxutas: sem repetir o nome da compra (só nº, mês, valor e os botões de sempre) */
html body #ownerPortal .cx-xl .cx-xl-inst-p .cx-xl-row :is(.cx-xl-dot,.cx-xl-main,.cx-xl-row-n){display:none!important}
html body #ownerPortal .cx-xl .cx-xl-inst-p .cx-xl-row,html body #ownerPortal .cx-xl .cx-xl-inst-p .cx-xl-row:has(.cx-xl-ed):has(.cx-xl-rep){grid-template-columns:auto 30px 30px!important;justify-content:end;padding:6px 10px!important;min-height:0}
html body #ownerPortal .cx-xl-inst-p{grid-template-columns:minmax(0,1fr) auto!important}
html body #ownerPortal .cx-xl-inst-n{flex-direction:row!important;align-items:baseline;gap:8px;padding:6px 10px!important}
@media(max-width:760px){html body #ownerPortal .cx-xl .cx-xl-inst-p .cx-xl-row,html body #ownerPortal .cx-xl .cx-xl-inst-p .cx-xl-row:has(.cx-xl-ed):has(.cx-xl-rep){grid-template-columns:auto 28px 28px!important;gap:8px;padding:4px 6px!important}}
