/* Melhorias Claude 36 · Lançamentos > Pesquisa (vidro, acento do painel: verde no Empresarial, violeta no Pessoal) */
.is-search .cx-xl-tools,.is-search [data-xl-list],.is-search .cx-xl-fut{display:none!important}
.cs-host[hidden]{display:none}
.cs-host{--a:var(--cx-acc-rgb,95,227,171);display:flex;flex-direction:column;flex:1;min-height:0}
#personalPanel .cs-host{--a:139,123,255}
.cs{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0}
.cs-bar{position:relative;flex:none;z-index:5}
.cs-q{display:flex;align-items:center;gap:10px;height:48px;padding:0 16px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.02));backdrop-filter:blur(14px);transition:border-color .2s,box-shadow .2s}
.cs-q:focus-within{border-color:rgba(var(--a),.6);box-shadow:0 0 0 4px rgba(var(--a),.12)}
.cs-q svg{width:19px;height:19px;flex:none;fill:none;stroke:rgba(var(--a),.95);stroke-width:2.2;stroke-linecap:round}
.cs-q input{all:unset;flex:1;min-width:0;font-size:15px;font-weight:600;color:#fff}
.cs-q input::placeholder{color:rgba(255,255,255,.45);font-weight:500}
.cs-opts{position:absolute;left:0;right:0;top:calc(100% + 6px);display:flex;flex-direction:column;gap:2px;max-height:340px;overflow:auto;padding:6px;border-radius:16px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(150deg,rgba(28,30,40,.97),rgba(16,18,26,.97));box-shadow:0 24px 50px rgba(0,0,0,.5);animation:csIn .18s cubic-bezier(.2,.8,.2,1)}
.cs-opts button{all:unset;box-sizing:border-box;display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:11px;cursor:pointer}
.cs-opts button span{font-size:14px;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-opts button small{font-size:11.5px;color:rgba(255,255,255,.55);white-space:nowrap}
.cs-opts button.cat span::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:2px;background:rgba(var(--a),.9)}
.cs-opts button:hover,.cs-opts button[aria-selected=true]{background:rgba(var(--a),.14)}
.cs-cats{display:flex;flex-wrap:wrap;gap:6px;flex:none}
.cs-cats button,.cs-subs button{all:unset;box-sizing:border-box;cursor:pointer;transition:background .18s,border-color .18s,transform .12s}
.cs-cats button{padding:8px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);font-size:13px;font-weight:700;color:rgba(255,255,255,.88)}
.cs-cats button:hover{border-color:rgba(var(--a),.5);background:rgba(var(--a),.1)}
.cs-cats button:active,.cs-subs button:active{transform:scale(.97)}
.cs-res{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0}
.cs-head{display:flex;align-items:center;gap:12px;flex:none}
.cs-head>div{flex:1;min-width:0}
.cs-head small{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(var(--a),.95)}
.cs-head h3{margin:2px 0 0;font-size:22px;font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-x{all:unset;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:#fff;cursor:pointer}
.cs-x:hover{background:rgba(255,255,255,.1)}
.cs-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex:none}
.cs-k{display:flex;flex-direction:column;gap:3px;min-width:0;padding:11px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04)}
.cs-k small{font-size:10.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:rgba(255,255,255,.55)}
.cs-k strong{font-size:19px;font-weight:800;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.cs-k span{font-size:11.5px;color:rgba(255,255,255,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-k.main{border-color:rgba(var(--a),.45);background:radial-gradient(ellipse at top left,rgba(var(--a),.18),transparent 70%),rgba(255,255,255,.04)}
.cs-k.main.out strong{color:#ff9b9b}.cs-k.main.in strong{color:#7ef0bd}
.cs-chart{flex:none;padding:10px 14px 8px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025)}
.cs-ch{display:flex;justify-content:space-between;gap:10px;font-size:11.5px;color:rgba(255,255,255,.6)}
.cs-ch span{font-weight:800;letter-spacing:.07em;text-transform:uppercase;font-size:10.5px}
.cs-ch b{font-weight:700;color:rgba(255,255,255,.85)}.cs-ch b.up{color:#ff9b9b}.cs-ch b.down{color:#7ef0bd}
.cs-bars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;height:96px;align-items:end;margin-top:6px}
.cs-bars>div{display:grid;grid-template-rows:auto 1fr auto;height:100%;justify-items:center;gap:3px}
.cs-bars b{font-size:9.5px;font-weight:700;color:rgba(255,255,255,.55);white-space:nowrap}
.cs-bars i{align-self:end;width:min(70%,26px);height:var(--h);border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,rgba(var(--a),.95),rgba(var(--a),.35));opacity:.6;transform-origin:bottom;animation:csGrow .55s cubic-bezier(.16,1,.3,1) both}
.cs-bars small{font-size:10px;font-weight:700;text-transform:uppercase;color:rgba(255,255,255,.5)}
.cs-bars>.on i{opacity:1}.cs-bars>.on b,.cs-bars>.on small{color:#fff}
.cs-subs{display:flex;gap:6px;overflow-x:auto;flex:none;padding-bottom:2px;scrollbar-width:none}
.cs-subs button{flex:none;display:flex;align-items:baseline;gap:7px;padding:8px 12px;border-radius:13px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035)}
.cs-subs span{font-size:12.5px;font-weight:700;color:#fff}.cs-subs b{font-size:12px;color:rgba(255,255,255,.75)}.cs-subs small{font-size:11px;color:rgba(255,255,255,.45)}
.cs-subs button:hover{border-color:rgba(var(--a),.5);background:rgba(var(--a),.1)}
.cs-list{flex:1;min-height:120px;overflow:auto;display:flex;flex-direction:column;gap:4px;padding-right:2px;scrollbar-width:thin}
.cs-g{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;padding:7px 10px;border-radius:10px;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:rgba(var(--a),.95);background:linear-gradient(rgba(22,22,32,.97),rgba(22,22,32,.9));backdrop-filter:blur(6px)}
.cs-g b{letter-spacing:0;color:rgba(255,255,255,.8)}
.cs-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 12px 8px 8px;border-radius:13px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.04);animation:csIn .3s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--i,0)*15ms)}
.cs-row:hover{background:rgba(255,255,255,.06)}
.cs-row.fut{opacity:.7}
.cs-d{display:flex;flex-direction:column;align-items:center;line-height:1.05;padding:5px 0;border-radius:10px;background:rgba(255,255,255,.05)}
.cs-d b{font-size:15px;font-weight:800;color:#fff}.cs-d small{font-size:9.5px;text-transform:uppercase;color:rgba(255,255,255,.5)}
.cs-m{display:flex;flex-direction:column;gap:2px;min-width:0}
.cs-m b{font-size:14px;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-m small{font-size:11.5px;color:rgba(255,255,255,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-m em{font-style:normal;font-weight:700;color:rgba(var(--a),1)}
.cs-inst,.cs-fut{font-style:normal;padding:0 6px;border-radius:999px;background:rgba(var(--a),.16);color:#fff;font-weight:700}
.cs-row>strong{font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.cs-row.out>strong{color:#ff9b9b}.cs-row.in>strong{color:#7ef0bd}
.cs-more{all:unset;box-sizing:border-box;margin:6px 0 2px;padding:10px;text-align:center;border-radius:12px;border:1px dashed rgba(255,255,255,.18);font-size:12.5px;font-weight:700;color:#fff;cursor:pointer}
.cs-more:hover{background:rgba(255,255,255,.05)}
.cs-note{margin:6px 2px;font-size:12.5px;color:rgba(255,255,255,.55)}
.cs-msg{margin:0;padding:10px 14px;border-radius:12px;background:rgba(255,120,120,.08);border:1px solid rgba(255,120,120,.25);color:#ffd0d0;font-size:13px}
.cs-sk{border-radius:16px;min-height:70px;background:linear-gradient(100deg,rgba(255,255,255,.04) 30%,rgba(255,255,255,.1) 45%,rgba(255,255,255,.04) 60%) 0 0/300% 100%;animation:csSk 1.2s linear infinite}
.cs-sk.h{min-height:46px;width:40%}.cs-sk.bars{min-height:120px}.cs-sk.list{flex:1;min-height:180px}
.cs-cats button:focus-visible,.cs-subs button:focus-visible,.cs-opts button:focus-visible,.cs-x:focus-visible,.cs-more:focus-visible{outline:2px solid rgba(var(--a),.9);outline-offset:2px}
.cs-in .cs-res{animation:csIn .4s cubic-bezier(.16,1,.3,1) both}
@keyframes csIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes csGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes csSk{to{background-position:-300% 0}}
@media(max-width:820px){.cs-kpis{grid-template-columns:1fr 1fr;gap:8px}.cs-k strong{font-size:17px}.cs-head h3{font-size:19px}.cs-bars{height:110px;gap:3px}.cs-bars b{visibility:hidden}.cs-bars>.on b{visibility:visible}.cs-list{overflow:visible;flex:none}.cs-g{position:static}.cs-row{grid-template-columns:38px minmax(0,1fr) auto;gap:9px}}
@media(prefers-reduced-motion:reduce){.cs-row,.cs-bars i,.cs-in .cs-res,.cs-opts,.cs-sk{animation:none}}
.cx-xl.is-search{flex:1 1 auto;min-height:0}
@media(max-width:820px){.cx-xl.is-search{flex:none}}
.cs-q input[data-cs-q]{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;height:auto!important;padding:0!important;margin:0!important;border-radius:0!important}
.cs-q input[data-cs-q]::-webkit-search-cancel-button{filter:grayscale(1) brightness(1.6)}
@media(max-width:820px){.cs-m small{white-space:normal}}
/* Melhorias Claude 46: data opcional na Pesquisa, ao lado da busca */
.cs-bar{display:flex;align-items:center;gap:8px}
.cs-bar>.cs-q{flex:1;min-width:0}
.cs-date{display:flex;align-items:center;gap:8px;flex:0 0 186px;height:48px;box-sizing:border-box;padding:0 14px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.02));backdrop-filter:blur(14px);transition:border-color .2s,box-shadow .2s;cursor:text}
.cs-date svg{width:17px;height:17px;flex:none;fill:none;stroke:rgba(var(--a),.95);stroke-width:2;stroke-linecap:round}
.cs-date input{all:unset;flex:1;min-width:0;font-size:14px;font-weight:600;color:#fff}
.cs-date input::placeholder{color:rgba(255,255,255,.5)}
.cs-date:focus-within{border-color:rgba(var(--a),.6);box-shadow:0 0 0 3px rgba(var(--a),.14)}
.cs-date.bad{border-color:rgba(255,120,120,.7)}
.cs-pchip{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:800;color:#fff;cursor:pointer;border:1px solid rgba(255,255,255,.2);background:linear-gradient(160deg,rgba(var(--a),.32),rgba(255,255,255,.05));white-space:nowrap}
.cs-pchip span{opacity:.7}.cs-pchip:hover{background:linear-gradient(160deg,rgba(var(--a),.45),rgba(255,255,255,.08))}
.cs-pchip:focus-visible{outline:2px solid rgba(255,255,255,.85);outline-offset:2px}
@media(max-width:760px){.cs-bar{flex-wrap:wrap}.cs-date{flex:1 1 100%}}
.cs-date input:focus,.cs-date input:focus-visible{outline:none!important;box-shadow:none!important}
html body #ownerPortal .cs-date input,html body .cs-date input{all:unset;flex:1;min-width:0;height:auto!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;outline:none!important;font-size:14px;font-weight:600;color:#fff}
