/* Confetti demo 35 — camada visual. Não contém capacidades de canal nem regras financeiras. */
:root{--cor-rosa:#8B2855;--cor-info:#8B2855;--cor-info-fundo:#F8EAF1;--cor-fundo:#F5F3F5;--cor-coluna:#F5F3F5;--cor-superficie:#fff;--cor-titulo:#302734;--cor-texto:#302734;--cor-texto-2:#615666;--cor-apoio:#716575;--cor-borda:#e8dfe6;--cor-borda-controle:#bdadba;--cor-topo:#fff;--cor-topo-texto:#615666;--cor-topo-ativo:#F8EAF1;--cor-sobre-escuro:#302734;--cor-foco:#8B2855;--msg-saida:#F8EAF1;--raio-painel:20px;--raio-controle:12px;--sombra-painel:0 3px 16px #30273406;--cf35-nav:76px;--demo-h:0px}
body.escuro{--cor-superficie:#2b2530;--cor-coluna:#211d25;--cor-fundo:#1b181e;--cor-texto:#f8f1f6;--cor-titulo:#f8f1f6;--cor-texto-2:#d7c6d2;--cor-apoio:#c6b2c0;--cor-topo:#2b2530;--cor-topo-texto:#d7c6d2;--cor-topo-ativo:#4b2d3e;--cor-sobre-escuro:#f8f1f6;--cor-borda:#51404c;--cor-borda-controle:#9f8797;--cor-info:#f4b4d0;--cor-info-fundo:#45283a;--cor-foco:#f4b4d0;--msg-saida:#45283a}
body{font-size:15px;line-height:1.55;background:var(--cor-fundo);color:var(--cor-texto)}
*,*::before,*::after{box-sizing:border-box}button,input,select,textarea{font-family:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}
.logo{font-family:Georgia,'Times New Roman',serif;font-weight:700!important;letter-spacing:-1px!important;color:var(--cor-titulo)!important}.logo::after{background:#d64b87!important}
.topo{min-height:72px;background:var(--cor-superficie);border-bottom:1px solid var(--cor-borda);padding:0 24px;gap:16px;box-shadow:none}
.topo .logo{font-size:30px;height:72px}.topo-dir,.topo .nav{height:72px}.topo-dir{gap:8px}.topo-link,.topo-btn{color:var(--cor-texto-2)}
.navi{font-size:14px;min-height:44px;color:var(--cor-texto-2);border-radius:12px;padding:10px 14px;align-self:center;height:44px;transition:background .16s ease}
.navi.on{background:var(--cor-info-fundo);color:var(--cor-info)}.navi.on::after{display:none}.navi:hover{background:var(--cor-info-fundo)}
.navi .cnt:not(.hot){background:var(--cor-info-fundo);color:var(--cor-info)}.cnt.hot{background:var(--cor-rosa);color:white}
.cf35-avatar{border:0;border-radius:50%;width:44px;height:44px;flex:0 0 44px;background:var(--cor-info-fundo);color:var(--cor-info);font-weight:650;font-size:14px}
.cf35-bottom{display:none}.cf35-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.work,.content,#viewGen,.atendmain,.boardwrap,.inbox{min-height:0;min-width:0}.wrap{max-width:1260px;margin:0 auto;padding:28px 32px 40px}.cabpag{margin-bottom:24px;gap:8px}.cabpag h1{font-size:28px;font-weight:700;letter-spacing:-.7px;line-height:1.25}.cabpag .sub{font-size:14px;color:var(--cor-texto-2)}
.card,.kpi,.tcard,.cc{background:var(--cor-superficie);border:1px solid var(--cor-borda);border-radius:18px;box-shadow:var(--sombra-painel)}.pad{padding:22px}.grid{gap:16px}.kpi{padding:18px;min-width:0}.kpi .v{font-size:28px;line-height:1.25;margin-top:10px;letter-spacing:-.6px}.lbl{font-size:14px;font-weight:650;text-transform:none;letter-spacing:0;color:var(--cor-titulo)}
.btn{min-height:44px;border-radius:12px;font-size:14px;font-weight:600;padding:10px 16px;background:var(--cor-rosa);color:#fff;border:1px solid transparent;box-shadow:none}
.btn.sm,.btn.xs{min-height:44px;font-size:14px;padding:8px 12px}.btn.ghost{background:var(--cor-superficie);color:var(--cor-info);border-color:var(--cor-borda-controle)}.btn.danger{background:var(--cor-erro-fundo);border-color:var(--cor-erro);color:var(--cor-erro)}.btn.teal,.btn.green{background:var(--cor-rosa);color:#fff}
input,select,textarea{font-size:16px;min-height:46px;border:1px solid var(--cor-borda-controle);border-radius:12px;padding:10px 12px;background:var(--cor-superficie);color:var(--cor-texto);max-width:100%}textarea{line-height:1.5}input[type=checkbox]{min-height:20px;width:20px;height:20px;padding:0;accent-color:var(--cor-rosa)}
.subtabs{display:flex;gap:6px;flex-wrap:wrap;background:var(--cor-coluna);padding:5px;border-radius:14px;margin-bottom:22px;border:1px solid var(--cor-borda)}.st{min-height:44px;border:0;border-radius:10px;padding:10px 14px;font-size:14px;color:var(--cor-texto-2);cursor:pointer;display:flex;align-items:center;justify-content:center}.st.on{background:var(--cor-superficie);color:var(--cor-info);box-shadow:0 1px 5px #30273409;font-weight:650}
.tblr{padding:14px 0;gap:12px;align-items:center;min-height:56px;line-height:1.5}.tblr>span{min-width:0;overflow-wrap:anywhere}.pill,.vencpill{border-radius:8px;line-height:1.5;padding:3px 8px;font-size:12px;white-space:normal}.empty,.colempty{padding:28px 16px;line-height:1.6;text-align:center;color:var(--cor-texto-2)}
.cf35-home-cta{width:100%;display:flex;justify-content:center;gap:10px;margin:0 0 20px}.cf35-home-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}.cf35-greeting{font-size:14px;color:var(--cor-texto-2);margin:6px 0 0}.conta3{border-radius:14px;padding:12px 16px;background:var(--cor-coluna)}.c3l{font-size:15px;gap:16px}.c3t b{font-size:26px}.c3n{font-size:13px;line-height:1.6}.yoy{border-radius:12px;padding:12px;font-size:14px;line-height:1.6}.chartwrap{border-bottom:1px solid var(--cor-borda);padding-top:12px}.chbar{border-radius:6px 6px 0 0}.kb{gap:10px;flex-wrap:wrap}.kbc{border-radius:12px;min-width:100px;padding:12px}.ctabs{flex-wrap:wrap}.ctb{border-radius:10px;min-height:44px;font-size:14px}
.cf35-section-title{font-size:22px;letter-spacing:-.4px;line-height:1.3;margin:0 0 16px;font-weight:700;color:var(--cor-titulo)}
.ibhead{padding:20px;gap:12px;background:var(--cor-superficie)}.ibrow{gap:8px}.ibrow select{flex:1 1 160px}.ibrow #ibFase{flex-basis:calc(100% - 54px)}.inbox-body{padding:12px;background:var(--cor-coluna)}.acclist{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.ibcard{border-radius:16px;padding:16px;min-height:104px;gap:12px;box-shadow:0 2px 8px #30273403}.ibcard.on{background:var(--cor-info-fundo);border-color:var(--cor-info);box-shadow:none}.ibmain,.ibl1,.ibl2{min-width:0}.ibnm{font-size:15px;font-weight:650;white-space:normal;line-height:1.4}.ibprev{font-size:14px}.ibhr,.ibmeta{font-size:12px}.ibatender{background:var(--cor-rosa);color:#fff;border:0;border-radius:10px;font-size:14px;padding:10px 14px;min-height:44px}.ibavatar{background:var(--cor-info-fundo);color:var(--cor-info);border-radius:50%;width:42px;height:42px;font-weight:650;display:grid;place-items:center;flex:none}
.board{gap:18px;padding:20px}.col{min-width:280px;max-width:none;width:300px;border-radius:18px;background:var(--cor-coluna);border:1px solid var(--cor-borda)}.colh{padding:16px;min-height:64px}.coln{font-size:15px;font-weight:650}.colb{padding:12px}.tcard{padding:16px;margin-bottom:10px;border-radius:16px}.tcard .nm2{font-size:15px;font-weight:650}.tcard .p{font-size:14px;line-height:1.5}.cardft{margin-top:12px}.cardmv{min-width:44px;min-height:44px;border-radius:50%}.cf35-stage{display:none}
.chat-h{padding:16px 22px;border-bottom:1px solid var(--cor-borda);box-shadow:none;min-height:84px;background:var(--cor-superficie)}.chat-id{min-width:0}.chat-nome{font-size:17px}.chat-sub{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatdock .chat-b{max-width:none;padding:24px;gap:16px;width:100%;background:var(--cor-fundo)}.chat-b>.msg,.daysep{flex-shrink:0}.msg{max-width:min(78%,560px);font-size:15px;line-height:1.6;padding:12px 16px;border-radius:18px;box-shadow:none;overflow-wrap:anywhere}.msg.in{border:1px solid var(--cor-borda);background:var(--cor-superficie);border-top-left-radius:5px}.msg.out{background:var(--msg-saida);border-color:transparent;border-top-right-radius:5px}.msg .who2{font-size:12px}.msg .tm{font-size:11px}.msg img{border-radius:12px!important}.msg-actions{display:flex;flex-wrap:wrap;gap:6px}.msg-actions .btn{min-height:44px;background:var(--cor-superficie);border:1px solid var(--cor-borda);border-radius:10px;font-size:13px;padding:8px 12px}.daysep{align-self:center;font-size:12px}.chat-i{padding:14px 20px;background:var(--cor-superficie);gap:10px;box-shadow:none}.comp-btn,.comp-env,.mais-acoes,.voltar{min-width:44px;min-height:46px;border-radius:50%}#txt{min-height:46px;border-radius:24px;font-size:16px;padding:11px 16px;background:var(--cor-coluna)}.comp-env:not(.mic){background:var(--cor-rosa);min-width:74px;border-radius:24px}.recbar{background:var(--cor-superficie);gap:10px}.recbar audio{min-width:0}.comp-aviso{font-size:14px}.chat-sync,.msg-sync{font-size:13px}
.ov{padding:24px;background:var(--cor-fundo)}.ovcard{width:min(100%,420px);max-height:calc(100dvh - 48px);overflow-y:auto;padding:32px;border:1px solid var(--cor-borda);border-radius:24px;background:var(--cor-superficie)}.ovcard .logo{font-size:34px}.ovcard p{font-size:15px}.ovcard input{margin-top:12px}.pinpad{gap:12px}.pk{min-height:56px;border-radius:14px;font-size:21px;display:grid;place-items:center}.pindots{min-height:36px}.modal-bg,.folha{background:#30273466}.modal,.folha-box{border-radius:24px;padding:24px;background:var(--cor-superficie);max-height:90dvh;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 60px #30273420}.folha-it{min-height:48px;font-size:15px;padding:12px;border-radius:12px}.folha-t{font-size:14px}.folha-it small{font-size:12px}.modal p,.modal .lbl{font-size:15px}.frow{gap:10px}.frow input{min-width:0}.frow .nm{flex:1 1 160px}.frow .ord{width:60px}.cf35-more-intro{padding:0 12px 16px;line-height:1.6;color:var(--cor-texto-2)}.cf35-more-intro strong{display:block;color:var(--cor-titulo);font-size:18px}.cf35-more-link{display:flex;gap:12px;align-items:center;width:100%;text-align:left}.cf35-more-link span{flex:1}.cf35-more-separator{border:0;border-top:1px solid var(--cor-borda);margin:12px 0}
.cbwrap{gap:20px;grid-template-columns:minmax(280px,340px) minmax(0,1fr)}.cc{margin:8px 12px;padding:16px}.cc.on{background:var(--cor-info-fundo)}.cbacc{border-radius:16px;background:var(--cor-superficie);padding:16px;margin:8px 0 16px}.cbsaldo{font-size:20px}.cf35-report-card{overflow:hidden}.cf35-report-card .tblr{display:grid;grid-template-columns:minmax(90px,1.5fr) repeat(3,minmax(48px,.6fr)) minmax(80px,1fr)}.cf35-report-card .tblr>span{width:auto!important}.cf35-report-card .tblr>span:first-child{text-align:left}.avisoerr,.finmsg{font-size:14px;line-height:1.6;border-radius:12px}.avisoerr.on{z-index:100010}
.demo-barra{height:34px;font-size:12px;padding:0 16px;background:var(--cor-info-fundo);color:var(--cor-info);border-bottom:1px solid var(--cor-borda);z-index:100050}.demo-menu summary{min-height:32px;display:flex;align-items:center}.demo-opcoes{max-height:calc(100dvh - 50px);overflow:auto;border-radius:16px;z-index:100051}.demo-opcoes button{font-size:13px}.demo-falha{font-size:13px}.demo-opcoes label{display:grid;gap:6px}.demo-opcoes select{width:100%}body.cf35-demo #faixaAmb{display:none!important}body.cf35-demo #appView.shell{height:calc(100dvh - var(--demo-h));min-height:0}#verBadge{bottom:8px!important}
@media(min-width:1024px){.topo .nav{gap:4px}.atendshell.vinbox.chat-open .atendmain{flex:0 0 380px}.chatdock{border-left:1px solid var(--cor-borda)}.cf35-avatar{display:none}}
@media(min-width:768px) and (max-width:1100px){.topo{gap:8px;padding:0 16px}.topo .logo{font-size:26px}.topo-dir{gap:3px}.navi{padding:8px 10px}.wrap{padding:24px}}
@media(max-width:767px){
 :root{--cf35-nav:calc(68px + env(safe-area-inset-bottom))}
 .topo{height:60px;min-height:60px;padding:0 20px;gap:8px;flex-wrap:nowrap}.topo .logo{height:auto;font-size:30px}.topo .nav,.topo-dir{display:none!important}.cf35-avatar{margin-left:auto}
 .cf35-bottom{position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));left:0;right:0;bottom:0;height:var(--cf35-nav);padding:6px 12px max(6px,env(safe-area-inset-bottom));border-top:1px solid var(--cor-borda);background:var(--cor-superficie);z-index:45;gap:6px}.cf35-bottom button{min-height:54px;border:0;border-radius:14px;background:transparent;color:var(--cor-texto-2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:12px;font-weight:500;position:relative}.cf35-bottom button.on{background:var(--cor-info-fundo);color:var(--cor-info);font-weight:650}.cf35-bottom .cnt{position:absolute;right:12px;top:3px;min-width:18px;line-height:18px;font-size:10px;padding:0 4px}.cf35-auth .cf35-bottom,.cf35-chat .cf35-bottom{display:none}
 .shell>.work{padding-bottom:var(--cf35-nav)}.cf35-chat .shell>.work{padding-bottom:0}.wrap{padding:22px 16px 28px}.cabpag{margin-bottom:20px}.cabpag h1{font-size:25px}.cabpag .sub{font-size:14px}.pad{padding:18px}.card,.kpi{border-radius:18px}.grid{gap:10px}.kpi{padding:14px}.kpi .v{font-size:25px}.cf35-home-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cf35-home-summary>.kpi:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}.cf35-home-summary>.kpi:last-child .v{margin:0;font-size:22px}.cf35-home-cta{margin-bottom:18px;min-height:48px}
 .lbl{font-size:14px}.c3l{font-size:14px}.c3l b{font-size:18px}.c3t b{font-size:24px}.c3n{font-size:13px}.conta3{padding:12px}.kb{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kbc{min-width:0}.ctabs{gap:4px;display:flex;flex-wrap:wrap}.ctb{min-height:44px;flex:1 1 auto;padding:8px;font-size:13px}.ibhead .ctabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.ibhead{padding:20px 16px 14px}.cf35-section-title{font-size:25px;margin-bottom:6px}.ibrow select{font-size:16px}.inbox-body{padding:12px 16px 20px}.ibcard{padding:14px;min-height:108px}.ibnm{font-size:15px}.ibprev{font-size:14px}.ibhr{font-size:11px}.ibatender{min-width:72px;padding:8px 10px;font-size:13px}.ibavatar{width:36px;height:36px;font-size:13px}.ibmeta{font-size:12px}
 .cf35-stage{display:block;margin:0 16px 14px}.cf35-stage label{font-size:13px;color:var(--cor-texto-2);display:block;margin-bottom:6px}.cf35-stage select{width:100%;font-weight:600}.board{display:block;padding:0 16px 20px;overflow:auto}.board>.col{display:none;min-width:0;max-width:none;width:100%;height:auto;border:0;background:transparent}.board>.col.cf35-selected{display:block}.board>.col>.colh{display:none}.board>.col>.colb{padding:0;overflow:visible;height:auto}.board .tcard{width:100%;margin:0 0 12px;padding:18px}.board .tcard .p{font-size:14px;display:block;-webkit-line-clamp:unset}.cf35-stage-empty{padding:24px}
 .chatdock{top:var(--demo-h)!important;bottom:0;left:0;right:0;z-index:46}.chat-h{min-height:78px;padding:12px;gap:8px}.chat-nome{font-size:16px}.chat-sub{font-size:12px}.chatdock .chat-b{padding:16px 12px;gap:14px}.msg{max-width:90%;padding:12px;font-size:15px}.msg .tm{font-size:11px}.msg-actions .btn{min-height:44px;font-size:13px}.chat-i{padding:10px 12px max(10px,env(safe-area-inset-bottom));gap:8px}.comp-btn,.comp-env{min-height:46px}.comp-env:not(.mic){min-width:64px;padding:0 10px}#txt{font-size:16px;min-height:46px}.chat-sync{margin-inline:12px}.recbar{padding:10px 12px;flex-wrap:wrap}.recbar audio{flex-basis:100%!important;width:100%}.daysep{font-size:12px}
 .subtabs{display:grid;grid-template-columns:1fr;padding:0;background:none;border:0}.st{display:none}.cf35-subselect{display:block;width:100%;font-weight:600;margin-bottom:20px}.tblr{flex-wrap:wrap;gap:8px;font-size:14px}.tblr>span:first-child{flex:1 1 140px}.frow{flex-wrap:wrap;gap:10px}.frow .nm{flex:1 1 160px;min-width:0}.cf35-report-card .tblr{grid-template-columns:minmax(80px,1fr) repeat(3,minmax(40px,.5fr)) minmax(60px,.7fr);gap:4px;font-size:12px}.cf35-report-card .tblr .pill{padding:3px 4px;font-size:11px}.cbwrap{display:block}.cbwrap>#cbDet{display:none}.cbwrap #cbListCard{max-height:none!important}.cc{margin:8px 10px;padding:16px}.cbacc{margin:10px;padding:14px}.cbacc>.card{padding:14px!important}.cbacc input{min-width:0}.cbacc .tblr>span{flex:initial}.cbacc .btn{font-size:14px}.cbsaldo{font-size:20px}
 .modal-bg,.folha{padding:12px;align-items:flex-end}.modal,.folha-box{width:100%;max-width:100%;max-height:calc(100dvh - 58px);border-radius:22px;padding:20px 18px;overflow:auto}.folha-it{padding:12px;min-height:48px;font-size:15px}.ov{padding:20px}.ovcard{padding:28px 22px}.pk{min-height:54px}.bj-box{height:calc(100dvh - var(--demo-h));border-radius:18px 18px 0 0}.bj-h{padding:14px}.bj-t{font-size:20px}.bj-rod{padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom))}.bj-rod .btn{min-height:48px}.demo-barra{padding:0 12px}.demo-opcoes{width:min(340px,calc(100vw - 24px))}.avisoerr.on{bottom:calc(var(--cf35-nav) + 12px)}
}
@media(min-width:768px){.cf35-subselect{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Integração com regras responsivas antigas: um único padding e grids explícitos. */
#viewGen.scroll{padding:0;overflow-x:hidden}.wrap{width:100%;min-width:0}.cabpag{flex-direction:column;align-items:flex-start;white-space:normal}.cabpag h1,.cabpag .sub{white-space:normal;overflow:visible}.cabpag .sub{line-height:1.5}
#gen>.card>div:first-child{flex-wrap:wrap}#gen>.card select{max-width:100%;min-width:0}
#gen .grid.cf35-home-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:767px){#gen .grid.cf35-home-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}#gen .grid:has(>.kpi):not(.cf35-home-summary){grid-template-columns:repeat(2,minmax(0,1fr))!important}.kpi .v{overflow-wrap:anywhere;font-size:24px}.cf35-report-card .tblr>span:first-child{flex:initial}}
@media(max-width:767px){#gen>.card>div:first-child:has(>select){display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px}#gen>.card>div:first-child>select{width:100%!important}#gen [style*="justify-content:space-between"]>.lbl{white-space:normal}.ctabs{flex-wrap:wrap}}
@media(max-width:767px){
 .cbacc{padding:12px;margin:8px 0 16px;border:0;box-shadow:none}.cbacc>.card{padding:12px!important;background:var(--cor-coluna)}
 .cbacc>div:first-of-type{gap:12px;flex-wrap:wrap}.cbacc>div:first-of-type>div:first-child{flex:1 1 150px;min-width:0}.cbacc>div:first-of-type>div:last-child{flex:0 0 auto;text-align:left!important}.cbacc>div:first-of-type>div:last-child>div:last-child{white-space:nowrap}
 .cbacc #cbCompra{min-width:0;width:100%}.cbacc #cbCalc>div{gap:12px;flex-wrap:wrap}
}
input,select,textarea{border-radius:12px!important}

body.cf35-demo{--demo-h:34px}
body.escuro .topo .nav .navi.on,body.escuro .topo .nav .navi:hover{background:#45283a!important;color:#f4b4d0!important}
.cf35-demo-hint{padding:12px;border:1px solid var(--cor-borda);border-radius:12px;background:var(--cor-info-fundo);color:var(--cor-info);font-size:14px}
@media(max-width:767px){.kbn{white-space:normal;overflow:visible;text-overflow:clip}}
body.escuro #gen .kpi .v[style*="var(--cor-rosa)"],body.escuro #gen .kpi .v[style*="var(--rosa)"]{color:#f4b4d0!important}
