/* Melhorias Claude 8: páginas de histórico no modo Pessoal (Mercados, Vendas dos mercados, Investimentos, Vendas online) */
html body #ownerPortal .hz-page,html body #ownerPortal .hz-host{--hz-card:var(--pz-card,linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.018)));--hz-line:var(--pz-line,rgba(255,255,255,.08));--hz-text:var(--pz-text,#eceef4);--hz-muted:var(--pz-muted,#9097a8);--hz-acc:#8b7bff;--hz-acc2:#4fd1c5;--hz-pos:#5be3a5;--hz-neg:#ff8a8a;--hz-on:rgba(139,123,255,.16);--hz-on-line:rgba(139,123,255,.45);color:var(--hz-text);min-height:0}
html body #ownerPortal .hz-host{--hz-card:linear-gradient(160deg,rgba(255,255,255,.1),rgba(255,255,255,.03));--hz-line:rgba(255,255,255,.14);--hz-text:#f2f6f3;--hz-muted:#a9bdb2;--hz-acc:#4ddba3;--hz-acc2:#9ef5d1;--hz-pos:#4ddba3;--hz-neg:#ff9b8a;--hz-on:rgba(77,219,163,.16);--hz-on-line:rgba(77,219,163,.5);display:flex;flex-direction:column}
html body #ownerPortal .hz-mk,html body #ownerPortal .hz-iv,html body #ownerPortal .hz-nb{display:flex;flex-direction:column;gap:12px;min-height:0;flex:1}
html body #ownerPortal .hz-card{position:relative;min-width:0;padding:16px 18px;border-radius:24px;background:var(--hz-card);border:1px solid var(--hz-line);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 18px 40px rgba(0,0,0,.3);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);display:flex;flex-direction:column;gap:8px;min-height:0}
html body #ownerPortal .hz-label{font-size:12.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--hz-muted)}
html body #ownerPortal .hz-pos{color:var(--hz-pos)!important}html body #ownerPortal .hz-neg{color:var(--hz-neg)!important}
html body #ownerPortal .hz-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;flex:none}
html body #ownerPortal .hz-kpi{gap:4px}
html body #ownerPortal .hz-kpi b{font:800 24px/1.15 Manrope,system-ui;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--hz-text)}
html body #ownerPortal .hz-kpi small{font-size:12.5px;color:var(--hz-muted);line-height:1.35}
html body #ownerPortal .hz-kpi-ring{flex-direction:row;align-items:center;gap:14px}
html body #ownerPortal .hz-ring{width:58px;height:58px;flex:none;transform:rotate(-90deg)}
html body #ownerPortal .hz-ring circle{fill:none;stroke-width:7}html body #ownerPortal .hz-ring-bg{stroke:rgba(255,255,255,.08)}html body #ownerPortal .hz-ring-fg{stroke:var(--hz-acc);stroke-linecap:round;transition:stroke-dasharray .8s cubic-bezier(.2,.8,.2,1)}
html body #ownerPortal .hz-kpi-ring>div{display:flex;flex-direction:column;gap:2px}
html body #ownerPortal .hz-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;flex:none}
html body #ownerPortal .hz-head h3{margin:2px 0 0;font:800 20px/1.2 Manrope,system-ui;letter-spacing:-.02em;color:var(--hz-text)}
html body #ownerPortal .hz-head h3 small{font-size:13px;font-weight:600;color:var(--hz-muted);letter-spacing:0}
html body #ownerPortal .hz-scroll{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;margin-right:-6px;padding-right:6px}
html body #ownerPortal .hz-seg{display:inline-flex;gap:2px;padding:3px;border-radius:999px;border:1px solid var(--hz-line);background:rgba(255,255,255,.04);flex-wrap:wrap}
html body #ownerPortal .hz-seg button{border:0;background:transparent;color:var(--hz-muted);font:700 12.5px Manrope,system-ui;padding:7px 12px;border-radius:999px;cursor:pointer;transition:background .2s,color .2s;min-height:0;box-shadow:none}
html body #ownerPortal .hz-seg button:hover{color:var(--hz-text)}
html body #ownerPortal .hz-seg button[aria-pressed="true"]{background:var(--hz-on);color:var(--hz-text);box-shadow:inset 0 0 0 1px var(--hz-on-line)}
html body #ownerPortal .hz-persons{display:flex;justify-content:flex-start;flex:none}
/* mercados */
html body #ownerPortal .hz-mk-grid{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:12px;flex:1;min-height:0}
html body #ownerPortal .hz-mk-list .hz-scroll{display:flex;flex-direction:column;gap:6px}
html body #ownerPortal .hz-mkt{display:flex;flex-direction:column;gap:7px;width:100%;text-align:left;padding:12px 13px;border-radius:16px;border:1px solid transparent;background:rgba(255,255,255,.03);color:var(--hz-text);cursor:pointer;transition:background .2s,border-color .2s,transform .2s cubic-bezier(.2,.8,.2,1);font:inherit;min-height:0;box-shadow:none}
html body #ownerPortal .hz-mkt:hover{background:rgba(255,255,255,.07);transform:translateY(-1px)}
html body #ownerPortal .hz-mkt.on{background:var(--hz-on);border-color:var(--hz-on-line)}
html body #ownerPortal .hz-mkt-top,html body #ownerPortal .hz-mkt-sub{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
html body #ownerPortal .hz-mkt-top b{font-size:15px;font-weight:800}html body #ownerPortal .hz-mkt-top em{font-style:normal;font-weight:800;font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-mkt-sub small{font-size:12px;color:var(--hz-muted)}
html body #ownerPortal .hz-meter{display:block;height:6px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}
html body #ownerPortal .hz-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--hz-acc),var(--hz-acc2));transition:width .8s cubic-bezier(.2,.8,.2,1)}
html body #ownerPortal .hz-mk-det{gap:10px}
html body #ownerPortal .hz-det-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}
html body #ownerPortal .hz-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--hz-muted)}
html body #ownerPortal .hz-legend span{display:inline-flex;align-items:center;gap:6px}html body #ownerPortal .hz-legend i{width:10px;height:10px;border-radius:3px}
html body #ownerPortal .hz-line{flex:1;min-height:150px;display:flex;flex-direction:column;gap:6px}
html body #ownerPortal .hz-line-plot{position:relative;flex:1;min-height:120px}
html body #ownerPortal .hz-line-plot svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
html body #ownerPortal .hz-grid{stroke:rgba(255,255,255,.07);stroke-width:1;vector-effect:non-scaling-stroke}
html body #ownerPortal .hz-line-max{position:absolute;top:-2px;left:0;font-size:12px;color:var(--hz-muted)}
html body #ownerPortal .hz-cursor{position:absolute;top:0;bottom:0;width:1px;background:rgba(255,255,255,.35);pointer-events:none}
html body #ownerPortal .hz-hits{position:absolute;inset:0}html body #ownerPortal .hz-hits i{position:absolute;top:0;bottom:0;cursor:crosshair}
html body #ownerPortal .hz-ticks{position:relative;height:16px;font-size:12px;color:var(--hz-muted)}
html body #ownerPortal .hz-ticks span{position:absolute;transform:translateX(-50%);white-space:nowrap}
html body #ownerPortal .hz-ticks span:first-child{transform:none}html body #ownerPortal .hz-ticks span:last-child{transform:translateX(-100%)}
html body #ownerPortal .hz-note{margin:0;font-size:13px;color:var(--hz-muted)}
html body #ownerPortal .hz-where{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;flex:1;min-height:0}
html body #ownerPortal .hz-catlist{display:flex;flex-direction:column;gap:6px;overflow:auto;min-height:0}
html body #ownerPortal .hz-cat{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;grid-template-rows:auto 5px;align-items:center;gap:6px 9px;padding:9px 10px;border-radius:14px;border:1px solid transparent;background:rgba(255,255,255,.03);color:var(--hz-text);font:600 13.5px Manrope,system-ui;text-align:left;cursor:pointer;min-height:0;box-shadow:none;transition:background .2s}
html body #ownerPortal .hz-cat:hover{background:rgba(255,255,255,.07)}html body #ownerPortal .hz-cat.on{background:var(--hz-on);border-color:var(--hz-on-line)}
html body #ownerPortal .hz-cat i{width:10px;height:10px;border-radius:50%}html body #ownerPortal .hz-cat span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #ownerPortal .hz-cat b{font-variant-numeric:tabular-nums}html body #ownerPortal .hz-cat small{font-size:12px;color:var(--hz-muted);min-width:32px;text-align:right}
html body #ownerPortal .hz-cat em{grid-column:2/-1;height:5px;border-radius:99px;background:rgba(255,255,255,.06);overflow:hidden}html body #ownerPortal .hz-cat em u{display:block;height:100%;border-radius:inherit;text-decoration:none}
html body #ownerPortal .hz-where-side{display:flex;flex-direction:column;gap:8px;min-height:0}
html body #ownerPortal .hz-top{display:flex;flex-direction:column;gap:4px;overflow:auto;min-height:0}
html body #ownerPortal .hz-top span{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:5px 2px;border-bottom:1px solid rgba(255,255,255,.05)}
html body #ownerPortal .hz-top em{font-style:normal;color:var(--hz-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #ownerPortal .hz-bars{display:flex;align-items:stretch;gap:4px;height:110px;flex:none}
html body #ownerPortal .hz-bar{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:var(--hz-muted);cursor:pointer;min-height:0;box-shadow:none;border-radius:8px}
html body #ownerPortal .hz-bar span{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;border-radius:8px;transition:background .2s}
html body #ownerPortal .hz-bar:hover span{background:rgba(255,255,255,.05)}
html body #ownerPortal .hz-bar i{display:block;width:72%;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,var(--hz-acc),color-mix(in srgb,var(--hz-acc) 45%,transparent));transition:height .6s cubic-bezier(.2,.8,.2,1)}
html body #ownerPortal .hz-bar.future i{opacity:.4;background:repeating-linear-gradient(135deg,var(--hz-acc) 0 4px,transparent 4px 7px)}
html body #ownerPortal .hz-bar.on i{background:linear-gradient(180deg,var(--hz-acc2),var(--hz-acc))}
html body #ownerPortal .hz-bar small{font-size:12px;height:13px;line-height:13px;white-space:nowrap}
html body #ownerPortal .hz-bars-mini{height:96px}
html body #ownerPortal .hz-lanc{display:flex;flex-direction:column;gap:12px}
html body #ownerPortal .hz-lgroup p{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:13px}
html body #ownerPortal .hz-lgroup p b::first-letter{text-transform:uppercase}
html body #ownerPortal .hz-lgroup p span{margin-left:auto;font-weight:800;font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-lrow{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.03);margin-bottom:4px;font-size:13.5px}
html body #ownerPortal .hz-lrow small{color:var(--hz-muted);font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-lrow span{display:flex;flex-direction:column;min-width:0}html body #ownerPortal .hz-lrow em{font-style:normal;font-size:12px;color:var(--hz-muted)}
html body #ownerPortal .hz-lrow b{font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-chip{font-style:normal;font-size:12px;font-weight:800;padding:2px 8px;border-radius:99px;background:rgba(255,255,255,.08)}
html body #ownerPortal .hz-chip-fut{background:rgba(246,176,107,.16);color:#f6b06b;text-transform:none}
/* investimentos */
html body #ownerPortal .hz-iv-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;flex:1;min-height:0}
html body #ownerPortal .hz-banks{display:flex;gap:8px;flex-wrap:wrap;flex:none}
html body #ownerPortal .hz-banks span{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid var(--hz-line);font-size:12.5px;color:var(--hz-muted)}
html body #ownerPortal .hz-banks span b{color:var(--hz-text)}html body #ownerPortal .hz-banks i{width:8px;height:8px;border-radius:50%;background:var(--hz-acc)}html body #ownerPortal .hz-banks span:nth-child(2) i{background:var(--hz-acc2)}
html body #ownerPortal .hz-apps .hz-scroll{display:flex;flex-direction:column;gap:6px}
html body #ownerPortal .hz-app{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.03);font-size:13.5px}
html body #ownerPortal .hz-app span{display:flex;flex-direction:column;gap:2px;min-width:0}html body #ownerPortal .hz-app em{font-style:normal;font-size:12px;color:var(--hz-muted)}
html body #ownerPortal .hz-app-d{align-items:flex-end;text-align:right}html body #ownerPortal .hz-app-d small{font-size:12px;color:var(--hz-muted)}
/* negócios antigos */
html body #ownerPortal .hz-nb-top{display:flex;flex:none}
html body #ownerPortal .hz-nb-body{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0}
html body #ownerPortal .hz-nb-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:12px;flex:1;min-height:0}
html body #ownerPortal .hz-nb-chart{gap:10px}
html body #ownerPortal .hz-bars-years{height:74px}html body #ownerPortal .hz-bars-years .hz-bar small{font-size:12px;font-weight:700}
html body #ownerPortal .hz-bars-months{flex:1;height:auto;min-height:110px}
html body #ownerPortal .hz-nb-top .hz-scroll{display:flex;flex-direction:column;gap:4px}
html body #ownerPortal .hz-prod{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.03);overflow:hidden;font-size:13.5px}
html body #ownerPortal .hz-prod small{color:var(--hz-muted);font-weight:800}html body #ownerPortal .hz-prod span{display:flex;flex-direction:column;min-width:0}html body #ownerPortal .hz-prod em{font-style:normal;font-size:12px;color:var(--hz-muted)}
html body #ownerPortal .hz-prod u{position:absolute;left:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--hz-acc),var(--hz-acc2));text-decoration:none;border-radius:0 3px 3px 0}
html body #ownerPortal .hz-table{display:flex;flex-direction:column;gap:4px;overflow:auto;min-height:0}
html body #ownerPortal .hz-tr{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr 1fr;gap:10px;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.03);font-size:13.5px;font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-th{background:transparent;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--hz-muted)}
html body #ownerPortal .hz-tr span:first-child::first-letter{text-transform:uppercase}
html body #ownerPortal .hz-empty{padding:30px;text-align:center;color:var(--hz-muted)}
html body #ownerPortal .hz-loading{display:flex;gap:6px;justify-content:center;padding:40px}html body #ownerPortal .hz-loading i{width:8px;height:8px;border-radius:50%;background:var(--hz-acc);animation:hzDot 1s infinite ease-in-out}
html body #ownerPortal .hz-loading i:nth-child(2){animation-delay:.15s}html body #ownerPortal .hz-loading i:nth-child(3){animation-delay:.3s}
@keyframes hzDot{50%{transform:translateY(-6px);opacity:.5}}
html body #ownerPortal .hz-pop{animation:hzPop .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes hzPop{from{opacity:0;transform:translateY(8px)}}
/* no pessoal, essas páginas não usam a barra do mês */
html body #ownerPortal .pz.pz-mode-static .pz-month{visibility:hidden}
/* dica flutuante */
.hz-tip{position:fixed;left:0;top:0;z-index:3000;pointer-events:none;display:flex;flex-direction:column;gap:2px;padding:9px 12px;border-radius:14px;background:rgba(14,16,26,.92);border:1px solid rgba(255,255,255,.16);box-shadow:0 14px 30px rgba(0,0,0,.45);color:#f2f2f6;font:600 12.5px/1.35 Manrope,system-ui;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.hz-tip b{font-size:13px;display:block}.hz-tip b::first-letter{text-transform:uppercase}.hz-tip span{color:#c3c7d4}
.hz-tip[hidden]{display:none}
/* gaveta "Mais" do pessoal (celular) */
.hz-sheet{position:fixed;inset:0;z-index:1500}.hz-sheet[hidden]{display:none}
.hz-sheet-bg{position:absolute;inset:0;background:rgba(5,4,12,0);transition:background .3s;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}
.hz-sheet.open .hz-sheet-bg{background:rgba(5,4,12,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hz-sheet-panel{position:absolute;left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom) + 10px);padding:12px 16px 18px;border-radius:30px;color:#f2f2f6;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.04) 45%,rgba(139,123,255,.16)),rgba(16,14,30,.75);border:1px solid rgba(255,255,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 30px 60px rgba(0,0,0,.6);-webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%);transform:translateY(110%);transition:transform .42s cubic-bezier(.2,.9,.2,1)}
.hz-sheet.open .hz-sheet-panel{transform:none}
.hz-grab{display:block;width:44px;height:5px;border-radius:99px;background:rgba(255,255,255,.3);margin:0 auto 12px}
.hz-sheet .hz-label{display:block;margin:0 4px 10px;font-size:12.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;background:linear-gradient(90deg,#8b7bff,#4fd1c5);-webkit-background-clip:text;background-clip:text;color:transparent}
.hz-sheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hz-sheet-grid button{display:flex;align-items:center;gap:10px;padding:14px;border-radius:18px;border:1px solid rgba(255,255,255,.18);background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.04));color:#fff;font:700 14.5px Manrope,system-ui;box-shadow:inset 0 1px 0 rgba(255,255,255,.3)}
.hz-sheet-grid svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hz-sheet-grid button:active{transform:scale(.97)}
@media(prefers-reduced-motion:reduce){.hz-sheet-panel,.hz-sheet-bg,.hz-pop,.hz-meter i,.hz-bar i{transition:none!important;animation:none!important}}
/* telas menores */
@media(min-width:1100px) and (max-height:820px){html body #ownerPortal .hz-card{padding:12px 15px;gap:6px}html body #ownerPortal .hz-kpi b{font-size:21px}html body #ownerPortal .hz-ring{width:50px;height:50px}html body #ownerPortal .hz-bars-years{height:58px}html body #ownerPortal .hz-mkt{padding:10px 12px}}
@media(max-width:1099px){html body #ownerPortal .hz-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}html body #ownerPortal .hz-mk-grid,html body #ownerPortal .hz-iv-grid,html body #ownerPortal .hz-nb-grid{grid-template-columns:1fr}html body #ownerPortal .hz-scroll{max-height:none;overflow:visible;margin:0;padding:0}html body #ownerPortal .hz-line{min-height:220px}}
@media(max-width:760px){
 html body #ownerPortal .pz.pz-mode-static .pz-month{display:none}
 html body #ownerPortal .hz-kpis{gap:10px}html body #ownerPortal .hz-card{padding:14px;border-radius:22px}html body #ownerPortal .hz-kpi b{font-size:19px}html body #ownerPortal .hz-kpi small{font-size:12px}
 html body #ownerPortal .hz-kpi-ring{gap:10px}html body #ownerPortal .hz-ring{width:46px;height:46px}
 html body #ownerPortal .hz-where{grid-template-columns:1fr}html body #ownerPortal .hz-head h3{font-size:18px}
 html body #ownerPortal .hz-tr{grid-template-columns:1.2fr 1fr 1fr;font-size:12.5px}html body #ownerPortal .hz-tr span:nth-child(2),html body #ownerPortal .hz-tr span:nth-child(5){display:none}
 html body #ownerPortal .hz-bars-months small{font-size:12px}
 html body #ownerPortal .hz-mk-list .hz-scroll{flex-direction:row;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;padding-bottom:4px}
 html body #ownerPortal .hz-mkt{flex:0 0 78%;scroll-snap-align:start}
}
@media(max-width:760px){html body #ownerPortal .hz-ticks span[data-o]{display:none}}
.hz-sheet-grid button{text-align:left;line-height:1.2}
/* vendas no marketplace: total e cada ano em destaque */
html body #ownerPortal .hz-years-row{display:grid;grid-template-columns:1.25fr repeat(4,minmax(0,1fr));gap:12px;flex:none}
html body #ownerPortal .hz-ycard{text-align:left;cursor:pointer;font:inherit;color:var(--hz-text);transition:transform .25s cubic-bezier(.2,.8,.2,1),border-color .2s,background .2s;min-height:0}
html body #ownerPortal .hz-ycard:hover{transform:translateY(-2px)}
html body #ownerPortal .hz-ycard.on{border-color:var(--hz-on-line);background:linear-gradient(160deg,rgba(139,123,255,.22),rgba(79,209,197,.06))}
html body #ownerPortal .hz-ycard b{font:800 22px/1.15 Manrope,system-ui;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-ytotal b{font-size:26px;background:linear-gradient(90deg,#fff,#cfc8ff);-webkit-background-clip:text;background-clip:text;color:transparent}
html body #ownerPortal .hz-ycard small{font-size:12.5px;color:var(--hz-muted)}
html body #ownerPortal .hz-ycard .hz-label em{font-style:normal;margin-left:6px;padding:1px 7px;border-radius:99px;background:rgba(91,227,165,.15);color:var(--hz-pos);font-size:12px;letter-spacing:.04em}
html body #ownerPortal .hz-ycard u{display:block;height:5px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden;text-decoration:none;margin-top:4px}
html body #ownerPortal .hz-ycard u i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--hz-acc),var(--hz-acc2))}
html body #ownerPortal .hz-mini-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;flex:none}
html body #ownerPortal .hz-mini-kpis.hz-investment{grid-template-columns:1fr}
html body #ownerPortal .hz-investment span{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:6px 12px}
html body #ownerPortal .hz-investment em{margin-left:auto}
html body #ownerPortal .hz-mini-kpis span{display:flex;flex-direction:column;gap:1px;padding:9px 12px;border-radius:14px;background:rgba(255,255,255,.035)}
html body #ownerPortal .hz-mini-kpis small{font-size:12px;color:var(--hz-muted)}html body #ownerPortal .hz-mini-kpis b{font-size:16px;font-variant-numeric:tabular-nums}html body #ownerPortal .hz-mini-kpis em{font-style:normal;font-size:12px;color:var(--hz-muted)}
@media(max-width:1099px){html body #ownerPortal .hz-years-row{grid-template-columns:repeat(2,minmax(0,1fr))}html body #ownerPortal .hz-ytotal{grid-column:1/-1}}
/* sócia no modo pessoal: só Mercados */
html body #ownerPortal.pz-partner .pz-nav [data-pz]:not([data-pz="mercados"]):not([data-pz="vendasmercados"]):not([data-pz="aportes"]):not([data-pz="rotina"]),html body #ownerPortal.pz-partner .pz-nav .nav-label:first-child{display:none!important}
html.pz-partner-root .pz-dock button[data-pz]:not([data-pz="mercados"]){display:none!important}
html body #ownerPortal .hz-years-row{grid-template-columns:1.25fr repeat(var(--n,4),minmax(0,1fr))}
html body #ownerPortal .hz-stack .hz-bar>span{align-items:flex-end}
html body #ownerPortal .hz-stackcol{display:flex;flex-direction:column-reverse;width:72%;border-radius:6px 6px 2px 2px;overflow:hidden;transition:height .6s cubic-bezier(.2,.8,.2,1)}
html body #ownerPortal .hz-stackcol i{display:block;width:100%;min-height:0;border-radius:0;background:var(--hz-acc)}
html body #ownerPortal .hz-nb-chart .hz-legend{gap:10px}
html body #ownerPortal .hz-import{max-width:620px;margin:6vh auto 0;align-items:flex-start;gap:10px;padding:26px 28px}
html body #ownerPortal .hz-import h3{margin:0;font:800 24px/1.2 Manrope,system-ui}
html body #ownerPortal .hz-import p{margin:0;color:var(--hz-muted);line-height:1.5}html body #ownerPortal .hz-import p b{color:var(--hz-text)}
html body #ownerPortal .hz-file span{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:999px;cursor:pointer;font-weight:800;color:#fff;background:linear-gradient(160deg,rgba(139,123,255,.55),rgba(79,209,197,.25));border:1px solid rgba(255,255,255,.25);box-shadow:inset 0 1px 0 rgba(255,255,255,.35);transition:transform .2s}
html body #ownerPortal .hz-file span:hover{transform:translateY(-1px)}
html body #ownerPortal .hz-history-update{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
html body #ownerPortal .hz-history-update .hz-file span{padding:6px 12px;font-size:11px;background:rgba(255,255,255,.06);box-shadow:none;font-weight:600}
html body #ownerPortal .hz-import.busy .hz-file{opacity:.5;pointer-events:none}
html body #ownerPortal .hz-import-msg{font-weight:700;color:var(--hz-text)!important;min-height:1.4em}
@media(max-width:1099px){html body #ownerPortal .hz-years-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){html body #ownerPortal .hz-ycard b{font-size:18px}html body #ownerPortal .hz-ytotal b{font-size:24px}html body #ownerPortal .hz-ycard small{font-size:12px}html body #ownerPortal .hz-ycard{padding:13px 14px}}
/* Melhorias Claude 10: destaque do mercado escolhido (investido, voltou, retorno por mês e recuperação) */
html body #ownerPortal .hz-emph{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex:none}
html body #ownerPortal .hz-em{position:relative;display:flex;flex-direction:column;gap:3px;min-width:0;padding:12px 14px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);overflow:hidden}
html body #ownerPortal .hz-em>span{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--hz-muted)}
html body #ownerPortal .hz-em>b{font:800 21px/1.15 Manrope,system-ui;letter-spacing:-.02em;color:var(--hz-text);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #ownerPortal .hz-em>small{font-size:12px;color:var(--hz-muted);line-height:1.35}
html body #ownerPortal .hz-em>u{display:block;height:5px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;text-decoration:none;margin-top:3px}
html body #ownerPortal .hz-em>u>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--hz-acc),var(--hz-pos));transition:width .9s cubic-bezier(.2,.8,.2,1)}
html body #ownerPortal .hz-em-inv{background:linear-gradient(160deg,rgba(246,176,107,.16),rgba(246,176,107,.03));border-color:rgba(246,176,107,.28)}
html body #ownerPortal .hz-em-inv>b{color:#ffc58f}
html body #ownerPortal .hz-em-ret{background:linear-gradient(160deg,rgba(91,227,165,.16),rgba(91,227,165,.03));border-color:rgba(91,227,165,.28)}
html body #ownerPortal .hz-em-ret>b{color:var(--hz-pos)}
html body #ownerPortal .hz-em-ok{background:linear-gradient(160deg,rgba(91,227,165,.22),rgba(79,209,197,.06));border-color:rgba(91,227,165,.4)}
html body #ownerPortal .hz-em-ok>b{color:var(--hz-pos)}
html body #ownerPortal .hz-em-proj{background:linear-gradient(160deg,rgba(139,123,255,.2),rgba(139,123,255,.04));border-color:rgba(139,123,255,.36)}
html body #ownerPortal .hz-em-proj>b{font-size:17px;white-space:normal}
html body #ownerPortal .hz-legend .hz-dash{width:16px;height:0;border-top:2px dashed;border-radius:0;background:none!important}
@media(min-width:1100px) and (max-height:820px){html body #ownerPortal .hz-em{padding:9px 12px}html body #ownerPortal .hz-em>b{font-size:18px}html body #ownerPortal .hz-em-proj>b{font-size:15px}html body #ownerPortal .hz-em>small{font-size:12px}}
@media(max-width:1399px){html body #ownerPortal .hz-emph{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){html body #ownerPortal .hz-emph{gap:8px}html body #ownerPortal .hz-em{padding:11px 12px}html body #ownerPortal .hz-em>b{font-size:17px;letter-spacing:-.03em}html body #ownerPortal .hz-em-proj>b{font-size:15px}html body #ownerPortal .hz-em>span{font-size:11px}}
/* ===== Melhorias Claude 14: Vendas dos mercados · produtos mais vendidos (TouchPay) ===== */
html body #ownerPortal .hz-nb-side{display:flex;flex-direction:column;gap:12px;min-height:0;min-width:0}
html body #ownerPortal .hz-nb-side .hz-nb-top .hz-scroll{flex:none;overflow:visible}
html body #ownerPortal .hz-nb-side .hz-nb-top .hz-prod{padding:7px 10px}
html body #ownerPortal .hz-nb-prod{display:flex;flex-direction:column;gap:10px;flex:1;min-height:260px}
html body #ownerPortal .hz-nb-prod .hz-head{align-items:flex-start}
html body #ownerPortal .hz-nb-prod h3{margin:2px 0 0;font-size:20px}
html body #ownerPortal .hz-nb-prod h3 small{font-size:12px;font-weight:600;color:var(--hz-muted)}
html body #ownerPortal .hz-pseg button{padding:6px 10px;font-size:12px}
html body #ownerPortal .hz-pk{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
html body #ownerPortal .hz-pk span{display:flex;flex-direction:column;gap:1px;padding:7px 10px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid var(--hz-line);min-width:0}
html body #ownerPortal .hz-pk small{font-size:11px;color:var(--hz-muted);font-weight:700}
html body #ownerPortal .hz-pk b{font-size:13.5px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #ownerPortal .hz-psearch{display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:12px;border:1px solid var(--hz-line);background:rgba(255,255,255,.04);transition:border-color .2s}
html body #ownerPortal .hz-psearch:focus-within{border-color:color-mix(in srgb,var(--hz-acc) 60%,transparent)}
html body #ownerPortal .hz-psearch svg{width:16px;height:16px;flex:none;fill:none;stroke:var(--hz-muted);stroke-width:2;stroke-linecap:round}
html body #ownerPortal .hz-psearch input{flex:1;min-width:0;border:0;background:transparent;color:var(--hz-text);font:600 13.5px Manrope,system-ui;padding:9px 0;outline:0;box-shadow:none;min-height:0}
html body #ownerPortal .hz-pt{display:flex;flex-direction:column;gap:4px;min-height:120px}
html body #ownerPortal .hz-pl{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto 70px;gap:10px;align-items:center;width:100%;padding:8px 10px;border:0;border-radius:12px;background:rgba(255,255,255,.03);color:var(--hz-text);font:inherit;font-size:13.5px;text-align:left;cursor:pointer;overflow:hidden;min-height:0;box-shadow:none;transition:background .2s}
html body #ownerPortal .hz-pl:hover,html body #ownerPortal .hz-pl.on{background:rgba(255,255,255,.07)}
html body #ownerPortal .hz-pl>small{color:var(--hz-muted);font-weight:800;font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-pn{display:flex;flex-direction:column;min-width:0;font-weight:700}
html body #ownerPortal .hz-pn,html body #ownerPortal .hz-pn em{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #ownerPortal .hz-pn em,html body #ownerPortal .hz-pq em{font-style:normal;font-weight:600;font-size:11.5px;color:var(--hz-muted)}
html body #ownerPortal .hz-pq{display:flex;align-items:baseline;gap:3px;font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-pq b{font-size:15px}
html body #ownerPortal .hz-pv{text-align:right;font-variant-numeric:tabular-nums;color:var(--hz-pos)}
html body #ownerPortal .hz-pl>u{position:absolute;left:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--hz-acc),var(--hz-acc2));border-radius:0 3px 3px 0;opacity:.75}
html body #ownerPortal .hz-pr{grid-column:1/-1;display:flex;flex-direction:column;gap:4px;padding:6px 0 4px 34px;animation:hzPr .3s cubic-bezier(.2,.8,.2,1)}
html body #ownerPortal .hz-pr i{display:grid;grid-template-columns:10px minmax(0,1fr) auto 38px;gap:8px;align-items:center;font-style:normal;font-size:12.5px;color:var(--hz-muted)}
html body #ownerPortal .hz-pr i em{width:8px;height:8px;border-radius:50%}
html body #ownerPortal .hz-pr i b{color:var(--hz-text);font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-pr i small{text-align:right;font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-pr i.hz-prx{grid-template-columns:10px 1fr;font-size:12px}
@keyframes hzPr{from{opacity:0;transform:translateY(-4px)}}
html body #ownerPortal .hz-pnote,html body #ownerPortal .hz-tpnote{font-size:12px}
@media(max-width:1099px){html body #ownerPortal .hz-nb-prod{min-height:0}html body #ownerPortal .hz-pt{max-height:520px;overflow:auto}}
@media(max-width:640px){html body #ownerPortal .hz-pl{grid-template-columns:20px minmax(0,1fr) auto 62px;gap:8px;font-size:13px}html body #ownerPortal .hz-pr{padding-left:28px}html body #ownerPortal .hz-nb-prod .hz-head{flex-wrap:wrap;gap:8px}}
@media(prefers-reduced-motion:reduce){html body #ownerPortal .hz-pr{animation:none}}
/* com a lista de produtos, o "Por mercado" vai para a legenda do gráfico (valor e %) */
html body #ownerPortal .hz-has-prod .hz-nb-side>.hz-nb-top{display:none}
html body #ownerPortal .hz-mlegend span{white-space:nowrap}
html body #ownerPortal .hz-mlegend b{margin-left:4px;color:var(--hz-text);font-variant-numeric:tabular-nums}
html body #ownerPortal .hz-mlegend small{margin-left:4px;color:var(--hz-muted);font-size:11.5px}
html body #ownerPortal .hz-ptools{display:flex;gap:8px;align-items:center}
html body #ownerPortal .hz-ptools .hz-psearch{flex:1;min-width:0}
html body #ownerPortal .hz-ptools .hz-pseg{flex:none;flex-wrap:nowrap}
html body #ownerPortal .hz-pl{flex:none}
html body #ownerPortal .hz-nb-prod{overflow:hidden}
html body #ownerPortal .hz-pl{grid-template-columns:24px minmax(0,1fr) auto auto}html body #ownerPortal .hz-pv{white-space:nowrap;min-width:64px}
@media(max-width:640px){html body #ownerPortal .hz-ptools{flex-wrap:wrap}html body #ownerPortal .hz-ptools .hz-psearch{flex-basis:100%}}
html body #ownerPortal .hz-nw{white-space:nowrap}
.hz-analysis{display:flex;flex-direction:column;gap:14px;overflow:auto;min-height:0;padding:2px 4px 12px}.hz-analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hz-analysis-grid article{display:flex;flex-direction:column;gap:5px;padding:14px;border-radius:18px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(150deg,rgba(255,255,255,.12),rgba(255,255,255,.03));box-shadow:inset 1px 1px 0 rgba(255,255,255,.15)}.hz-analysis-grid article>span{font-size:12px;color:var(--hz-muted)}.hz-analysis-grid article>b{font-size:22px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.hz-analysis-grid article>small{font-size:11px;line-height:1.5;color:var(--hz-muted)}.hz-analysis-months summary{padding:12px;cursor:pointer;border:1px solid rgba(255,255,255,.14);border-radius:14px}.hz-analysis-table{max-width:100%;overflow:auto}.hz-analysis-table table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.hz-analysis-table th,.hz-analysis-table td{padding:10px;text-align:right;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,.1)}.hz-analysis-table th:first-child{text-align:left}.hz-mk-det:has(.hz-analysis)>.hz-det-body{overflow:auto;min-height:0}.hz-mk-det .hz-head:has([data-v=analise]){flex-wrap:wrap;gap:8px}.hz-mk-det .hz-head:has([data-v=analise]) .hz-seg{flex-wrap:wrap}
@media(max-width:640px){.hz-analysis-grid{grid-template-columns:minmax(0,1fr)}.hz-analysis-grid article>b{font-size:20px}}

/* ---------- Melhorias Claude 52 · Análise detalhada dos mercados ---------- */
.hza{display:flex;flex-direction:column;gap:12px;min-height:0}
.hza-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.hza-t{display:flex;flex-direction:column;gap:2px;min-width:0;padding:10px 12px;border-radius:15px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.02));box-shadow:inset 0 1px 0 rgba(255,255,255,.14)}
.hza-t>span{font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hza-t>b{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.hza-t>b i{font-style:normal;font-size:11px;font-weight:700;color:rgba(255,255,255,.55)}
.hza-t>small{font-size:11px;color:rgba(255,255,255,.55);line-height:1.3;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hza-t small em{font-style:normal;font-weight:800}.hza-t em.up{color:#5be3a5}.hza-t em.down{color:#ff8a8a}
.hza-t.hl{border-color:rgba(150,135,255,.45);background:linear-gradient(160deg,rgba(150,135,255,.24),rgba(150,135,255,.05))}
.hza-t.hl2{border-color:rgba(91,227,165,.4);background:linear-gradient(160deg,rgba(91,227,165,.18),rgba(91,227,165,.03))}
.hza-t.hl2>b{color:#5be3a5}
.hza-row{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:12px}
.hza-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px 14px;border-radius:18px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.015))}
.hza-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.hza-h span{font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.7)}.hza-h small{font-size:11px;color:rgba(255,255,255,.5)}
.hza-plot{position:relative}
.hza-bars{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;align-items:end}
.hza-b{all:unset;display:flex;flex-direction:column;align-items:stretch;gap:4px;cursor:default;min-width:0}
.hza-b>span{position:relative;height:var(--plot);display:flex;align-items:flex-end;justify-content:center}
.hza-b>span i{display:block;width:100%;max-width:26px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#8f80ff,#5b4fd6);box-shadow:inset 0 1px 0 rgba(255,255,255,.35);min-height:2px;transition:filter .15s}
.hza-b>span u{position:absolute;left:50%;transform:translateX(-50%) rotate(-90deg);transform-origin:center;bottom:6px;text-decoration:none;font-size:9.5px;font-weight:800;color:#fff;white-space:nowrap;opacity:0}
.hza-b:hover>span i{filter:brightness(1.25)}
.hza-b.best>span i{background:linear-gradient(180deg,#6ff0b5,#1fb86a)}
.hza-b.part>span i{background:repeating-linear-gradient(135deg,rgba(150,135,255,.75) 0 4px,rgba(150,135,255,.35) 4px 8px)}
.hza-b small{font-size:10px;text-align:center;color:rgba(255,255,255,.5);font-weight:700;line-height:1.1;height:22px}
.hza-avg{position:absolute;left:0;right:0;height:0;border-top:1.5px dashed rgba(91,227,165,.8);pointer-events:none;z-index:1}
.hza-avg em{position:absolute;right:0;top:-17px;font-style:normal;font-size:10.5px;font-weight:800;color:#5be3a5;background:rgba(10,10,18,.75);padding:1px 6px;border-radius:999px}
.hza-tw{overflow:auto;max-height:200px;scrollbar-width:thin}
.hza-rank table{width:100%;border-collapse:collapse;font-size:12.5px;font-variant-numeric:tabular-nums}
.hza-rank th,.hza-rank td{padding:7px 6px;text-align:right;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,.06)}
.hza-rank thead th{font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.hza-rank th:first-child,.hza-rank td:first-child{text-align:left}
.hza-rank tbody th button{all:unset;cursor:pointer;font-weight:800;color:#fff}
.hza-rank tbody th button:hover{color:#cfc6ff}.hza-rank tbody th button:focus-visible{outline:2px solid #9687ff;border-radius:4px}
.hza-rank tr.on{background:rgba(150,135,255,.14)}
.hza-mini{display:inline-block;width:42px;height:5px;margin-right:6px;vertical-align:middle;border-radius:999px;background:rgba(255,255,255,.1);overflow:hidden}
.hza-mini i{display:block;height:100%;background:#9687ff;border-radius:999px}.hza-mini.g i{background:#5be3a5}
@media(max-width:1280px){.hza-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.hza-row{grid-template-columns:1fr}}
@media(max-width:760px){.hza-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.hza-b small br{display:none}}
.hz-det-body:has(.hza){overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;padding-right:2px}
.hza-rank tbody th{font-size:12.5px;letter-spacing:0;text-transform:none;color:#fff}
.hza-t>b>span{font-size:16px}
@media(max-width:1700px){.hza-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.hza-row{grid-template-columns:1fr}}
/* Keep the narrow-screen override after the desktop rules. */
@media(max-width:760px){.hza-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.hza-t>b{white-space:normal;overflow-wrap:anywhere}.hza-t>span{white-space:normal;overflow:visible}}
/* Melhorias Claude 84 · Marina: Aportes mercados (consulta) e Rotina no Pessoal */
/* Melhorias Claude 84: no Pessoal da Marina, sem o título GASTOS vazio */
html body #ownerPortal.pz-partner .pz-nav .nav-label:has(+ [data-pz="apartamento"]){display:none!important}
