:root{--ink:#0F2D5B;--muted:#607495;--line:#E2EBF6;--teal:#0066FF;--teal2:#60A5FA;--orange:#FF8A3D;--bg:#F7FAFF;--card:#fff;--soft:#E8F3FF;--danger:#DC3545;--shadow:0 18px 70px #142c4510;font-family:Manrope,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg)}body{line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.56;cursor:not-allowed}a{color:var(--teal);text-decoration:none;font-weight:700}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:clamp(2.1rem,4.2vw,4.2rem);line-height:1.13;letter-spacing:-.055em;font-weight:800}h2{font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.2;letter-spacing:-.035em}h3{font-size:1rem}small,.muted{color:var(--muted)}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(370px,.88fr);gap:clamp(32px,5vw,90px);padding:clamp(22px,5vw,86px);max-width:1580px;margin:auto;align-items:center;background:none,none}.hero{min-width:0}.brand{display:flex;align-items:center;gap:13px;margin-bottom:clamp(38px,6vw,84px)}.brand-mark{font-size:40px;line-height:1;font-weight:950;letter-spacing:-.12em;color:#0066FF;display:grid;place-items:center;width:55px;height:55px;background:none;border-radius:16px;font-style:italic}.brand strong{display:block;font-size:clamp(1.55rem,2.8vw,2.5rem);line-height:1.1;letter-spacing:-.055em}.brand small{font-size:.93rem;font-weight:500}.hero h1{max-width:760px}.hero h1 em{font-style:normal;color:var(--teal)}.intro{font-size:clamp(1rem,1.4vw,1.25rem);color:var(--muted);max-width:600px;margin:20px 0 24px}.benefits{list-style:none;padding:0;margin:30px 0;display:grid;gap:23px}.benefit{display:flex;gap:17px;align-items:center}.benefit-icon{width:51px;height:51px;flex-shrink:0;border-radius:16px;background:#E8F3FF;color:var(--teal);display:grid;place-items:center;font-size:23px;font-weight:700}.benefit b{display:block;font-size:1rem}.benefit small{display:block;font-size:.91rem}.preview{margin-top:35px;max-width:670px;transform:rotate(-2deg);background:#fff;border:1px solid #e6eeed;padding:14px;border-radius:21px;box-shadow:0 20px 65px #0456531e}.mocktop{height:29px;display:flex;gap:5px;align-items:center;border-bottom:1px solid var(--line);padding:0 8px}.dot{width:8px;height:8px;background:#dfe9ed;border-radius:50%}.mockbody{display:grid;grid-template-columns:96px 1fr;gap:18px;padding:16px 8px}.mockmenu{display:grid;gap:10px;align-content:start}.mockmenu span{height:12px;border-radius:5px;background:#e9f1f3}.mockmenu span:first-child{background:#cbf0e9}.mockmain strong{font-size:15px}.mockcards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}.mockcards div{padding:13px 10px;background:#f5fafb;border:1px solid #edf3f5;border-radius:9px}.mockcards small{font-size:10px;display:block}.mockcards b{font-size:17px}.mockchart{width:100%;height:92px;background:none;border-radius:12px}.mockchart svg{width:100%;height:100%}.preview-note{font-size:11px;color:var(--muted);margin-top:3px;text-align:right}.login-card,.panel{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:clamp(23px,3vw,43px);max-width:540px;width:100%;margin-left:auto}.login-card h2{margin-bottom:7px}.login-card>.muted{margin-bottom:26px}.form{display:grid;gap:17px}.field{display:grid;gap:7px}.field label,.field legend{font-weight:700;font-size:.88rem}.field input,.field select,.field textarea{width:100%;min-height:50px;padding:13px 15px;border-radius:11px;border:1px solid #d9e3ec;background:#fff;color:var(--ink);outline:none}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0066FF26}.field input::placeholder{color:#96a3b5}.fields-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.btn{min-height:49px;padding:11px 18px;border-radius:11px;border:1px solid var(--line);font-weight:750;color:var(--ink);background:#fff;display:inline-flex;align-items:center;gap:8px;justify-content:center;text-align:center}.btn:hover{filter:brightness(.98)}.btn-primary{background:var(--orange);color:white;border-color:var(--orange)}.btn-teal{background:var(--teal);color:white;border-color:var(--teal)}.btn-soft{background:var(--soft);border-color:var(--soft);color:var(--teal)}.btn-block{width:100%}.btn-small{min-height:35px;padding:6px 11px;font-size:.84rem}.split{display:flex;align-items:center;justify-content:space-between;gap:10px}.checkline{display:flex;align-items:center;gap:9px;font-size:.87rem}.checkline input{width:18px;height:18px;accent-color:var(--teal)}.help{font-size:.83rem;color:var(--muted)}.divider-word{display:flex;align-items:center;gap:16px;color:#9aa6b5;font-size:.85rem;text-align:center}.divider-word:before,.divider-word:after{content:"";height:1px;background:var(--line);flex:1}.message{border-radius:12px;padding:13px 15px;font-size:.9rem;background:#fff7e8;color:#805419;border:1px solid #fce7c8}.message.error{background:#fff1f1;border-color:#f7d3d3;color:#a5333c}.message.success{background:#e8f9f1;border-color:#c9eee1;color:#11664d}.subfoot{margin-top:22px;padding:13px;border-radius:14px;background:#F0F7FF;font-size:.82rem;color:#62798a;display:flex;gap:11px}.back{margin-bottom:18px;display:inline-block}.auth-simple{min-height:100vh;display:grid;place-items:center;padding:24px;background:none,#f6f9fa}.auth-simple .panel{margin:0;max-width:610px}.mini-brand{display:flex;align-items:center;gap:8px;margin-bottom:20px;font-size:1.35rem;font-weight:800}.mini-brand .brand-mark{width:38px;height:38px;font-size:26px;border-radius:10px}.progress{height:7px;border-radius:100px;background:#e8eff2;overflow:hidden;margin:18px 0 26px}.progress span{height:100%;display:block;background:var(--teal);transition:width .15s}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choice{display:flex;gap:8px;align-items:center;padding:15px 12px;border:1px solid #dfe8ec;border-radius:13px;background:#fff;cursor:pointer;text-align:left;color:var(--ink);min-height:66px;font-weight:650}.choice.selected{border:2px solid #0066FF;background:#EEF6FF}.choice .symbol{font-size:23px;color:var(--teal)}.choice:hover{border-color:var(--teal)}.step-actions{margin-top:24px;display:flex;gap:12px;justify-content:flex-end}.step-actions .btn{flex:1}.app-frame{display:grid;grid-template-columns:238px 1fr;min-height:100vh;background:#f7f9fa}.sidebar{background:#fff;border-right:1px solid var(--line);padding:24px 14px;display:flex;flex-direction:column;gap:18px}.sidebar .mini-brand{padding:0 8px;margin-bottom:13px}.menu-items{display:grid;gap:5px}.navlink{display:flex;align-items:center;gap:12px;border:0;background:transparent;padding:13px 14px;border-radius:12px;font-weight:650;color:#56657c;text-align:left}.navlink.active{background:#E8F3FF;color:var(--teal)}.navlink:hover{background:#F1F7FF}.navico{font-size:20px;min-width:23px;text-align:center}.app-content{min-width:0;padding:27px clamp(16px,3vw,45px) 60px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px}.topbar h1{font-size:clamp(1.55rem,3vw,2.25rem);letter-spacing:-.04em}.avatar{display:grid;place-items:center;background:#E4EFFF;color:#174EA6;width:39px;height:39px;border-radius:50%;font-weight:800}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:21px 0}.stat{background:white;border:1px solid var(--line);border-radius:16px;padding:20px}.stat span{font-size:.86rem;color:var(--muted)}.stat b{display:block;font-size:clamp(1.5rem,2.6vw,2rem);margin-top:8px;line-height:1.2;letter-spacing:-.04em}.surface{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:18px}.surface h3{font-size:1.05rem;margin-bottom:9px}.trial{display:flex;gap:12px;align-items:flex-start;background:#E9F3FF;color:#174EA6;border:1px solid #D4E7FF;padding:17px;border-radius:14px}.trial small{color:#567AA4;display:block}.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.quick-item{border:1px solid var(--line);padding:18px;text-align:left;background:white;border-radius:13px;display:grid;gap:8px}.quick-item .navico{color:var(--teal);text-align:left}.quick-item b{font-size:.93rem}.quick-item small{font-size:.79rem}.app-brand-mobile{display:none}.footer{font-size:.78rem;color:#8290a1;margin-top:auto;padding:12px;text-align:center}.mobile-head{display:none}.iconbtn{border:0;background:#E8F3FF;border-radius:11px;min-height:42px;min-width:42px;font-size:19px;color:#0066FF}.mini-links{text-align:center;margin:14px 0 0;color:var(--muted);font-size:.87rem}.summary-row{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.badge{font-size:.7rem;font-weight:700;white-space:nowrap;border-radius:999px;padding:4px 9px;background:#E9F3FF;color:#0c766b}.survey-question{margin-bottom:19px}.radio-stack{display:grid;gap:8px}.radio-item{display:flex;gap:10px;align-items:center;padding:12px 13px;border:1px solid var(--line);border-radius:10px}.radio-item input{accent-color:var(--teal)}.hidden{display:none!important}.user-note{font-size:.85rem;max-width:750px;color:#6b7b8c;margin:13px 0}.soft-heading{font-weight:700;color:var(--teal);text-transform:uppercase;letter-spacing:.1em;font-size:.75rem}.menu-shade{display:none}.screen-wrap{max-width:1120px;margin:auto}.button-row{display:flex;gap:9px;flex-wrap:wrap}.large-pad{padding:26px}.loader{width:24px;height:24px;border-radius:50%;border:3px solid #D9E8FF;border-top-color:var(--teal);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}:focus-visible{outline:3px solid #FFCB2B;outline-offset:3px}
@media(max-width:1050px){.auth-shell{gap:25px;padding:30px}.mockbody{grid-template-columns:72px 1fr}}@media(max-width:820px){.auth-shell{grid-template-columns:1fr;gap:26px;max-width:650px;padding:22px 18px 42px}.brand{margin-bottom:22px}.hero h1{font-size:clamp(2rem,7vw,2.7rem)}.hero .intro{font-size:1rem;margin:14px 0}.benefits{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:21px 0}.benefit{align-items:flex-start;gap:8px}.benefit-icon{width:35px;height:35px;border-radius:10px;font-size:17px}.benefit b{font-size:.81rem}.benefit small{font-size:.73rem}.preview{display:none}.login-card{margin:0;max-width:none;box-shadow:0 8px 36px #152c4309}.app-frame{grid-template-columns:1fr}.sidebar{position:fixed;z-index:10;inset:0 auto 0 0;width:min(300px,82vw);transform:translateX(-110%);transition:transform .2s;box-shadow:0 0 60px #001c2f20}.sidebar.open{transform:translateX(0)}.menu-shade.open{display:block;position:fixed;inset:0;background:#11223366;z-index:9}.mobile-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.mobile-head .mini-brand{margin:0}.app-content{padding:17px 16px 60px}.topbar{margin-bottom:18px}.stats{gap:10px}.stat{padding:14px}.quick{grid-template-columns:1fr 1fr}.surface{padding:17px}}@media(max-width:470px){.auth-shell{padding:15px 12px 34px}.hero h1{font-size:2rem}.brand strong{font-size:1.6rem}.benefits{grid-template-columns:1fr 1fr}.benefits .benefit:last-child{grid-column:1/-1}.login-card,.panel{padding:22px 17px;border-radius:17px}.choices{grid-template-columns:1fr 1fr;gap:8px}.choice{padding:11px 8px;min-height:76px;flex-direction:column;align-items:flex-start;font-size:.82rem}.field input,.field select{min-height:52px}.fields-2{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.stats .stat:last-child{grid-column:1/-1}.quick{grid-template-columns:1fr 1fr}.app-content{padding:14px}.topbar h1{font-size:1.6rem}.step-actions{flex-direction:column-reverse}.step-actions .btn{width:100%}}
@media(max-width:760px){.rt444-dialog{width:100vw;max-width:100vw;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);margin:auto 0 0;border-radius:22px 22px 0 0}.rt444-modal-head{padding:16px 18px 14px}.rt444-modal-head h2{font-size:19px}.rt444-modal-icon{width:45px;height:45px}.rt444-modal-scroll{padding:16px 18px;max-height:calc(100dvh - env(safe-area-inset-top) - 204px)}.rt444-feature-grid{grid-template-columns:1fr;gap:10px}.rt444-feature-grid section{padding:13px 15px}.rt444-modal-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:8px}.rt444-modal-actions button{min-width:0;flex:1;font-size:12px;padding:11px 9px}.rt444-choice .rt444-card-hint{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.login-card .mini-brand{display:none}@media(max-width:820px){.auth-shell .login-card{order:1}.auth-shell .hero{order:2}.auth-shell .login-card .mini-brand{display:flex;margin-bottom:25px}.auth-shell .hero .brand{display:none}.auth-shell .hero .soft-heading{margin-top:15px}}

:root{--navy:#0F2D5B;--blue:#0066FF;--blue-soft:#E8F3FF;--yellow:#FFCB2B;--red:#EF4444}
body{background:#F8FAFE;overflow-x:hidden} .brand-mark{width:55px;height:55px;display:block;object-fit:contain;background:none;border-radius:0;letter-spacing:normal} .brand .brand-mark{width:72px;height:72px} .brand strong{letter-spacing:-.055em;color:var(--navy)} .mini-brand{color:var(--navy)}.mini-brand .brand-mark{width:40px;height:40px;border-radius:0}.auth-shell{background:none,none} .auth-simple{background:none,#F9FBFF}
.hero h1 em{color:var(--blue)} .soft-heading{color:#235CA4}.hero-note{font-size:.81rem;color:var(--muted);margin:12px 0}.benefits{gap:15px}.benefit-icon{background:var(--blue-soft);color:var(--blue)}.benefit:nth-child(3) .benefit-icon{background:#FFF3DF;color:#DB771F}.benefit:nth-child(4) .benefit-icon{background:#FFF7E8;color:#BD7918}.preview{transform:rotate(-1.5deg);border-color:#E3EBF8;box-shadow:0 20px 72px #0F2D5B15}.mockmain strong{color:var(--navy)}.mockcards div{background:#F7FAFF}.mockcards b{color:var(--navy)}.mockchart{background:none}.btn-primary,.btn-teal{background:var(--blue);border-color:var(--blue);color:#fff}.btn-primary:hover,.btn-teal:hover{background:#0056D6;filter:none}.btn-soft{background:var(--blue-soft);border-color:var(--blue-soft);color:var(--navy)}a{color:var(--blue)}.checkline input,.radio-item input{accent-color:var(--blue)}.login-greeting{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:0 0 18px}.login-greeting .spike-wrap{order:2;width:95px;height:92px;flex-shrink:0}.login-greeting h2{font-size:clamp(1.65rem,2.5vw,2rem)}.login-greeting .muted{font-size:.88rem}.spike-wrap{display:inline-flex;width:156px;height:145px;align-items:center;justify-content:center}.spike-wrap img{max-width:100%;height:auto;display:block}.spike-moving{animation:spike-wave 2.2s ease-in-out 1;transform-origin:50% 90%}.loader-content{display:flex;align-items:center;flex-direction:column;gap:7px;color:var(--navy);text-align:center}.loader-content span:last-child{color:var(--muted);font-size:.89rem}.loader-content .spike-moving{animation:spike-bob 1.15s ease-in-out infinite}.spike-empty{display:block;width:125px;margin:0 auto 8px}.spike-empty img{width:100%}.navico{display:inline-flex;align-items:center;justify-content:center;min-width:24px}.ui-icon{flex-shrink:0;vertical-align:middle}.stat b{color:var(--navy)}.trial{background:#FFF7E8;border-color:#FFE7B5;color:#795016}.trial small{color:#7C6845}.sidebar .navlink.active{background:var(--blue-soft);color:var(--blue)}.surface,.stat{box-shadow:0 4px 16px #0F2D5B04}.subfoot{background:#F0F7FF;color:#5D6E88}.subfoot .ui-icon{color:#0066FF;flex-shrink:0}.choice.selected{border-color:var(--blue);background:#EEF6FF}.choice .symbol{display:flex;color:var(--blue)}.badge{background:#E8F3FF;color:#1857A8}.mobile-head .avatar,.avatar{background:#DFEAFF;color:var(--navy)}.iconbtn{color:var(--blue)}.soft-heading{text-transform:none;letter-spacing:.02em}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0066FF1B}.screen-wrap{max-width:1180px}.app-frame{background:#F8FAFE}.quick-item:hover{border-color:#90BCFF;background:#FAFCFF}.preview-note{font-size:11px} .choice{gap:13px} .choice .symbol{width:30px;height:30px;align-items:center;justify-content:center;border-radius:9px;background:#EDF5FF}
@keyframes spike-wave{0%,100%{transform:rotate(0) translateY(0)}25%{transform:rotate(3deg) translateY(-4px)}60%{transform:rotate(-3deg) translateY(-2px)}}@keyframes spike-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media(max-width:820px){.auth-shell .login-card{order:1}.auth-shell .hero{order:2}.auth-shell .hero .benefits{display:grid;grid-template-columns:1fr 1fr}.hero h1{max-width:620px}.login-card .mini-brand{display:flex!important}.login-greeting .spike-wrap{width:80px;height:82px}.benefit-icon{width:38px;height:38px}.auth-shell{background:#fff}}
@media(max-width:480px){.auth-shell .hero .benefits{grid-template-columns:1fr 1fr}.benefits .benefit:last-child{grid-column:auto}.benefit b{font-size:.83rem}.benefit small{font-size:.72rem}.auth-shell{gap:24px}.auth-shell .login-card{padding:21px 19px}.login-card .mini-brand{margin-bottom:12px}.auth-shell .hero h1{font-size:clamp(1.8rem,8vw,2.35rem)}.auth-shell .hero .intro{font-size:.9rem}.benefits{gap:14px}.benefit{align-items:flex-start}.login-greeting{margin:0 0 17px}}
@media(prefers-reduced-motion:reduce){.spike-moving{animation:none!important}}

.choices .choice{align-items:center}.choices .choice span:last-child{min-width:0}.choices .choice b{display:block;font-size:.87rem}.choices .choice small{font-size:.73rem;line-height:1.3;color:#607495;font-weight:500;display:block;margin-top:3px}
.spike-frames{position:relative;animation:none}.spike-frames img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;animation:spike-frame 1.65s steps(1,end) infinite}.spike-frames img:nth-child(1){animation-name:spike-first}.spike-frames img:nth-child(2){animation-name:spike-second}.spike-frames img:nth-child(3){animation-name:spike-third}@keyframes spike-first{0%,32.99%{opacity:1}33%,100%{opacity:0}}@keyframes spike-second{0%,32.99%{opacity:0}33%,65.99%{opacity:1}66%,100%{opacity:0}}@keyframes spike-third{0%,65.99%{opacity:0}66%,100%{opacity:1}}
.empty-content{text-align:center;max-width:100%;padding:37px 18px}.empty-content h3{margin-top:5px}.empty-content .muted{max-width:540px;margin:auto}.empty-content .btn{margin-top:19px}.spike-wrap{position:relative}.spike-wrap.spike-moving{animation:none}
@media(max-width:480px){.choices .choice{flex-direction:row;align-items:center;min-height:90px}.choices .choice b{font-size:.79rem}.choices .choice small{font-size:.67rem}}
@media(prefers-reduced-motion:reduce){.spike-frames img{animation:none!important}.spike-frames img:nth-child(n+2){display:none}}

.password-box{position:relative;display:flex;align-items:center}.password-box input{padding-right:60px;width:100%}.password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:9px;background:transparent;color:#506789;cursor:pointer}.password-toggle:hover{background:#edf5ff;color:#0066ff}.password-toggle:focus-visible{outline:3px solid #ffa72b;outline-offset:1px}.consent-help{font-size:.82rem;line-height:1.58;padding:12px 14px;border-radius:11px;background:#f1f7ff;color:#526889;margin:0}.consent-help a{font-weight:750}.spike-wrap{width:144px;height:142px;flex:0 0 auto;overflow:visible}.spike-wrap img{max-width:100%;max-height:100%;height:100%;width:100%;object-fit:contain}.login-greeting .spike-wrap{width:88px;height:90px}.spike-calm{animation:none}.spike-frames,.spike-moving{animation:none!important}.spike-wrap img{animation:none!important}.auth-shell .brand-mark{width:66px;height:66px}.mini-brand .brand-mark{width:42px;height:42px}.auth-shell .hero .brand{gap:12px}.auth-shell .brand strong{font-weight:800}.auth-shell .brand small{color:#647898}.login-greeting{align-items:center}.checkline{align-items:flex-start;line-height:1.5}.checkline input{margin-top:4px;flex-shrink:0}.auth-simple .panel h2{letter-spacing:-.035em}.field label{font-weight:750}.message.error{word-wrap:break-word}.auth-shell{background:#fff}.auth-simple{background:#f8faff} @media(prefers-reduced-motion:reduce){.spike-wrap,.spike-wrap img{animation:none!important}}

.official-lockup{display:block;width:195px;height:auto;max-width:100%;object-fit:contain;mix-blend-mode:multiply}.hero-lockup{width:min(340px,100%)}.brand{margin-bottom:45px}.mini-brand{margin-bottom:20px}.login-greeting{margin:0 0 22px}.login-greeting .spike-wrap{display:none}.legal-line{display:flex;align-items:flex-start;gap:11px;padding:3px 0 8px;font-size:.85rem;color:#324b6c;line-height:1.65}.legal-line span{flex:1;min-width:0}.legal-line input{flex:0 0 19px;width:19px;height:19px;margin-top:4px}.text-link{display:inline;padding:0;background:transparent;color:#0066FF;font:inherit;font-weight:750;border:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.text-link:focus-visible,.legal-close:focus-visible,.legal-tabs button:focus-visible{outline:3px solid #FFCB2B;outline-offset:3px}.legal-dialog{width:min(720px,calc(100% - 22px));max-height:min(86vh,880px);padding:0;border:1px solid #DCE8F8;border-radius:20px;box-shadow:0 28px 100px #0F2D5B30;background:white;color:#0F2D5B}.legal-dialog::backdrop{background:#0C23458F;backdrop-filter:blur(3px)}.legal-shell{display:flex;flex-direction:column;max-height:min(86vh,880px)}.legal-head{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px 10px}.legal-head h2{font-size:1.36rem;letter-spacing:-.035em;margin:3px 0}.legal-kicker{font-size:.73rem;text-transform:uppercase;letter-spacing:.08em;color:#587295;margin:0;font-weight:750}.legal-close{width:39px;height:39px;display:grid;place-items:center;border:0;background:#F3F7FC;border-radius:10px;color:#0F2D5B;cursor:pointer}.legal-tabs{display:flex;gap:5px;overflow-x:auto;padding:10px 24px;border-bottom:1px solid #E1EAF7}.legal-tabs button{white-space:nowrap;border:0;border-radius:9px;background:transparent;color:#5D7192;padding:9px 12px;font-size:.83rem;font-weight:700;cursor:pointer}.legal-tabs button[aria-selected=true]{background:#E8F3FF;color:#0066FF}.legal-scroll{padding:17px 25px 26px;overflow-y:auto;min-height:100px;line-height:1.7;font-size:.87rem;color:#496080;overscroll-behavior:contain}.legal-scroll h1{font-size:1.25rem;color:#0F2D5B;margin:0 0 9px}.legal-scroll h2{font-size:1rem;color:#0F2D5B;letter-spacing:-.01em;margin:20px 0 7px}.legal-scroll p{margin:7px 0 12px}.legal-scroll .meta{font-size:.74rem;color:#7889A1}.legal-scroll .notice{padding:12px 14px;background:#F0F7FF;border-radius:10px}.legal-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 24px;border-top:1px solid #E1EAF7}.legal-foot span{font-size:.74rem;color:#697D9B}.legal-foot .btn{padding:9px 16px}.legal-dialog a{color:#0066FF} @media(max-width:540px){.legal-head{padding:16px 16px 6px}.legal-tabs{padding:8px 14px}.legal-tabs button{padding:9px}.legal-scroll{padding:14px 17px}.legal-foot{padding:12px 15px}.legal-foot span{display:none}.official-lockup{width:164px}.hero-lockup{width:260px}.brand{margin-bottom:25px}}

:root{--teal:#0066FF;--navy:#0F2D5B;--orange:#FB923C;--cyan:#0FAED0;--rose:#F43F5E;--yellow:#F8B900;--good:#0A9B7A} .auth-minimal{max-width:1450px;grid-template-columns:minmax(0,1fr) minmax(350px,480px);gap:clamp(45px,7vw,115px);padding:clamp(26px,5vw,78px);background:#fff}.auth-minimal .hero h1{font-size:clamp(2rem,3.1vw,3.05rem);line-height:1.19;letter-spacing:-.045em;max-width:620px}.auth-minimal .brand{margin-bottom:clamp(55px,8vw,105px)}.auth-minimal .hero-lockup{max-width:230px;height:auto}.auth-minimal .intro{font-size:1rem;line-height:1.8;max-width:540px;margin:23px 0 34px}.auth-minimal .benefits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 18px;margin:30px 0}.auth-minimal .benefit{align-items:flex-start;gap:12px}.auth-minimal .benefit-icon{width:44px;height:44px;border-radius:13px}.auth-minimal .benefit:nth-child(2) .benefit-icon{background:#FFF1DF;color:#EE830F}.auth-minimal .benefit:nth-child(3) .benefit-icon{background:#E5FBFF;color:#0793B8}.auth-minimal .benefit:nth-child(4) .benefit-icon{background:#FFF0F2;color:#E34060}.auth-minimal .benefit b{font-size:.89rem}.auth-minimal .benefit small{font-size:.8rem;line-height:1.5}.auth-minimal .login-card{max-width:480px;padding:38px 39px;box-shadow:0 16px 70px #0F2D5B0B}.auth-minimal .login-greeting{margin-bottom:25px}.auth-minimal .login-greeting h2{font-size:1.65rem}.auth-minimal .field input{min-height:48px}.auth-minimal .form{gap:20px}.auth-minimal .hero-note{font-size:.77rem;color:var(--muted);margin-top:28px}.auth-footnote{font-size:.73rem;color:var(--muted);text-align:center;line-height:1.7;margin-top:22px}.auth-footnote a{font-size:inherit}.btn-outline{border-color:#C7DBF8;color:#0066FF}.topbar h1{font-size:1.8rem}.top-notification{border:1px solid var(--line);border-radius:12px;background:#fff;padding:11px}.bottom-nav{display:none}.auth-simple:has(.choices) .panel{max-width:980px}.auth-simple:has(.choices) .choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.auth-simple:has(.choices) .choice{padding:10px;min-height:91px;align-items:flex-start;flex-direction:column}.auth-simple:has(.choices) .choice .symbol{font-size:20px}.auth-simple:has(.choices) .choice b{font-size:.82rem}.auth-simple:has(.choices) .choice small{font-size:.72rem;line-height:1.35}.auth-simple:has(.choices) .panel{padding:28px 36px}.com-stack{display:grid;gap:19px}.com-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.com-heading h2{font-size:1.4rem}.com-heading .muted{font-size:.89rem;margin-top:4px}.com-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.com-search{width:min(100%,420px);min-height:45px;border:1px solid #DCE6F4;border-radius:12px;background:white;padding:10px 15px;color:var(--ink)}.com-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.com-stat{border:1px solid #E0E8F3;background:white;border-radius:16px;padding:19px;display:grid;gap:9px;box-shadow:0 5px 22px #0F2D5B05}.com-stat span{font-size:.84rem;font-weight:700}.com-stat strong{font-size:clamp(1.12rem,2vw,1.62rem);letter-spacing:-.04em}.com-stat small{font-size:.73rem}.com-stat.blue{background:none;border-color:#D6E9FF}.com-stat.orange{background:none;border-color:#FDE5C7}.com-stat.cyan{background:none;border-color:#C9F1F8}.com-stat.rose{background:none;border-color:#FAE0E6}.com-filters{display:flex;gap:9px;flex-wrap:wrap}.com-chip{border:1px solid #DCE6F4;background:#fff;border-radius:99px;padding:8px 15px;color:var(--ink);font-weight:650;font-size:.8rem}.com-chip.selected{background:#0066FF;border-color:#0066FF;color:#fff}.com-panels{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr);gap:16px}.com-chart,.com-card{border:1px solid #E3EBF5;border-radius:16px;background:white;padding:20px}.com-chart svg{width:100%;height:170px;margin-top:20px}.com-chart h3,.com-card h3{font-size:1rem}.com-chart .muted{font-size:.76rem}.com-between{display:flex;justify-content:space-between;gap:14px;align-items:center}.com-between.small{font-size:.72rem}.com-list-entry{border:0;border-bottom:1px solid #EDF1F7;padding:15px 0;width:100%;background:transparent;color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left}.com-list-entry:last-child{border-bottom:0}.com-list-entry>span{display:grid;gap:3px}.com-list-entry>span:last-child{text-align:right}.com-list-entry small{font-size:.73rem;color:var(--muted);display:block}.com-list-entry b{font-size:.86rem}.com-actions,.com-inline{display:flex;gap:11px;align-items:center;flex-wrap:wrap}.com-actions{margin-top:15px}.com-link{padding:3px 2px;background:transparent;border:0;color:#0066FF;font-weight:750;font-size:.81rem}.com-empty{padding:27px;text-align:center;color:var(--muted);font-size:.87rem}.com-dialog{width:min(calc(100vw - 24px),680px);max-height:min(90vh,850px);overflow:auto;border:1px solid #DBE6F4;box-shadow:0 20px 95px #0F2D5B30;border-radius:20px;padding:25px;background:white;color:var(--ink)}.com-dialog::backdrop{background:#071B3D66}.com-modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.com-modal-head h2{font-size:1.3rem}.com-close{border:0;background:#EDF4FF;width:34px;height:34px;border-radius:10px;font-size:24px;color:var(--ink)}.com-form{display:grid;gap:14px}.com-field{display:grid;gap:6px;font-size:.85rem;font-weight:700}.com-field input,.com-field select,.com-field textarea,.com-line-header select,.com-doc-line input,.com-summary input,.com-summary select{min-height:42px;border:1px solid #DDE6F1;border-radius:9px;padding:9px 12px;background:#fff;width:100%;color:var(--ink)}.com-field textarea{min-height:85px}.com-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.com-line-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.com-line-header select{max-width:245px}.com-lines{display:grid;gap:9px}.com-doc-line{display:grid;grid-template-columns:minmax(120px,2fr) 67px 100px 100px 30px;gap:6px;align-items:center}.com-doc-line input{font-size:.78rem;padding:8px}.com-doc-line>button{background:#FFF1F2;border:0;border-radius:8px;color:#C73153;height:39px}.com-summary{border-top:1px solid #EDF1F7;margin-top:8px;padding-top:15px;display:grid;gap:9px}.com-summary>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.com-summary>div:nth-child(2){display:grid;grid-template-columns:1fr 85px 130px}.com-summary .com-field{display:contents}.com-summary input{width:130px}.com-result{background:#EAF5FF;color:#0F2D5B;padding:20px;border-radius:12px}.com-row{display:flex;gap:20px;justify-content:space-between;align-items:center;border-bottom:1px solid #EDF1F7;padding:10px 0}.com-print{display:grid;gap:8px}.com-print hr{border:0;border-top:1px solid #EDF1F7;width:100%}.com-dialog #com-status{margin-top:16px;display:grid;gap:10px}.com-dialog>.btn{margin-top:12px}.com-dialog .com-between{align-items:flex-start}.com-table{padding:8px 20px}.status{color:#086CBC}.status.concluido,.status.aprovado{color:#0A9B7A}.status.cancelado,.status.recusado{color:#DF4261}.status.andamento,.status.enviado{color:#E68A07}.small{font-size:.78rem}
@media(max-width:1060px){.com-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.com-panels{grid-template-columns:1fr}.auth-simple:has(.choices) .choices{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.auth-minimal{grid-template-columns:1fr;gap:28px;padding:25px 19px 42px}.auth-minimal .hero{display:none}.auth-minimal .login-card{max-width:530px;padding:26px 20px;margin:35px auto 0}.auth-minimal .login-card::before{content:'';background:url('/assets/logo-oficial-horizontal.png') left center/contain no-repeat;width:190px;height:66px;display:block;margin-bottom:32px}.auth-minimal .form{gap:17px}.auth-simple:has(.choices) .choices{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-simple:has(.choices) .panel{padding:24px 18px}.auth-simple:has(.choices) .choice{min-height:75px;padding:9px}.auth-simple:has(.choices) .choice small{display:none}.auth-simple:has(.choices) .choice b{font-size:.8rem}.com-heading{align-items:flex-start}.com-heading h2{font-size:1.2rem}.com-stats{gap:9px}.com-stat{padding:14px;min-height:116px}.com-stat strong{font-size:1.2rem}.com-panels{gap:12px}.com-card,.com-chart{padding:15px}.com-doc-line{grid-template-columns:minmax(75px,2fr) 45px 70px 70px 26px;gap:3px}.com-doc-line input{padding:6px 4px;font-size:.72rem}.com-dialog{padding:19px}.com-grid{grid-template-columns:1fr 1fr}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fff;border-top:1px solid #E3EBF5;box-shadow:0 -8px 30px #0F2D5B09;justify-content:space-around;align-items:stretch;padding:5px 5px calc(5px + env(safe-area-inset-bottom))}.bottom-nav button{flex:1;min-height:52px;display:grid;place-items:center;gap:0;border:0;background:none;color:#607495;font-size:.78rem}.bottom-nav button.active{color:#0066FF}.bottom-nav button small{font-size:.68rem}.app-content{padding-bottom:80px}.top-notification{display:none}}
@media(prefers-reduced-motion:reduce){.com-card,.com-chart,.bottom-nav *{animation:none!important;transition:none!important}}

.iconbtn.has-alert{position:relative}.iconbtn.has-alert:after{content:"";position:absolute;top:4px;right:4px;background:#F43F5E;border:2px solid white;width:7px;height:7px;border-radius:99px}.com-field :is(input,textarea,select):focus,.com-search:focus,.com-doc-line input:focus{outline:2px solid #0066FF44;border-color:#0066FF}.com-empty-art img{max-width:80px;height:auto;opacity:.96}
@media(min-width:761px) and (max-width:820px){.bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid #E3EBF5;padding:8px 8px calc(8px + env(safe-area-inset-bottom));justify-content:space-around}.bottom-nav button{flex:1;min-height:52px;display:grid;place-items:center;gap:0;border:0;background:transparent;color:#607495}.bottom-nav button.active{color:#0066FF}.bottom-nav button small{font-size:.74rem}.app-content{padding-bottom:80px}.top-notification{display:none}}
@keyframes com-appear{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}#section-content>.com-stack{animation:com-appear .16s ease-out both}@media(prefers-reduced-motion:reduce){#section-content>.com-stack{animation:none}}

.v3-form .v3-form-group{display:grid;gap:13px;border:1px solid #e4edf6;border-radius:16px;padding:18px;background:#fff}.v3-form{gap:16px}.v3-group-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.v3-group-title b{color:#0f2d5b}.v3-group-title small{color:#687e9f}.v3-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v3-items{display:grid;gap:12px}.v3-item{border:1px solid #e7ecf5;border-radius:14px;padding:14px;background:#fafdff}.v3-item-head,.v3-total-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.v3-item-grid{display:grid;grid-template-columns:minmax(180px,2.5fr) minmax(84px,1fr) 72px minmax(95px,1fr) minmax(95px,1fr);gap:10px;align-items:end}.v3-item small,.v3-customer-results small{color:#71829a}.v3-search,.v3-discount-input{display:flex;gap:6px;align-items:stretch}.v3-search input{min-width:0;flex:1}.v3-search button{width:42px;border:1px solid #dbe6f5;border-radius:9px;background:#edf6ff;color:#0066ff;cursor:pointer}.v3-check{display:flex;align-items:center;gap:9px;font-size:13px;color:#4e678c}.v3-check input{width:16px;height:16px}.v3-search-result{display:flex;justify-content:space-between;gap:8px;align-items:center;min-height:38px;width:100%;text-align:left;background:#f4f9ff;border:1px solid #e0ebf8;border-radius:8px;padding:9px 12px;cursor:pointer;color:#123563}.v3-search-result:hover{background:#e4f2ff}.v3-suggest,.v3-customer-results{display:grid;gap:4px}.v3-suggest:empty,.v3-customer-results:empty{display:none}.v3-add-bottom{width:100%;margin-top:4px}.v3-total-row{font-size:15px}.v3-grand{font-size:20px;color:#0066ff;border-top:1px solid #e2ebf5;padding-top:10px}.v3-discount{max-width:245px;margin-left:auto}.v3-discount-input input{max-width:140px;min-width:0}.v3-clock summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:700;color:#0066ff}.v3-clock[open] summary{margin-bottom:14px}.v3-filter-bar{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.v3-filter-bar label{font-size:12px;display:grid;gap:6px;color:#566a84}.v3-filter-bar input,.v3-filter-bar select{border:1px solid #d8e4f2;border-radius:10px;padding:10px;background:#fff}.v3-row-main{display:grid;gap:4px;text-align:left;flex:1;border:0;background:transparent;color:#173862;cursor:pointer}.v3-row-main small{color:#6780a5}.v3-no-notice{display:grid;justify-items:center;gap:8px;color:#667b95;padding:20px}.v3-no-notice img{object-fit:contain}.v3-notice{padding:15px 4px;border-bottom:1px solid #e9edf3}.v3-notice span{font-size:12px;color:#798da7;margin-left:8px}.v3-notice p{margin:7px 0;color:#526987;line-height:1.5}.v3-simulator .com-result{display:grid;gap:9px}.v3-simulator .com-result strong{font-size:21px;color:#0066ff}.v3-finance-lock{min-height:240px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px}.v3-lookup{max-width:560px}.v3-lookup #v3-lookup-rows{display:grid;gap:7px;max-height:50vh;overflow:auto}.com-dialog:has(.v3-form){width:min(980px,96vw);max-width:980px;max-height:92vh;overflow:auto}.com-dialog:has(.v3-form) .com-modal-head{position:sticky;top:0;background:#fff;z-index:5;padding-top:5px;padding-bottom:12px}.v3-saved-quotes{margin-top:16px}.v3-saved-quotes .com-stack>.com-heading{margin-top:18px}
@media(max-width:760px){.v3-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-item-grid .v3-name{grid-column:span 2}.v3-grid-2{grid-template-columns:1fr}.v3-group-title{display:grid}.v3-form .v3-form-group{padding:13px}.com-dialog:has(.v3-form){width:100vw;max-height:100dvh;min-height:100dvh;border-radius:0;margin:0}.v3-filter-bar{display:grid;grid-template-columns:1fr 1fr}.v3-discount{margin-left:0}.v3-form{padding-bottom:70px}}

.v3-item-grid{grid-template-columns:minmax(105px,.9fr) minmax(200px,2.3fr) 105px 70px minmax(100px,1fr) minmax(100px,1fr)}.v3-item-grid .v3-name{grid-column:auto}@media(max-width:900px){.v3-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-item-grid .v3-name{grid-column:span 2}}
.com-dialog:has(.v3-form){width:min(1160px,96vw);max-width:1160px}
.v31-items{display:grid;gap:12px}
.v31-item{border:1px solid #dce6f0;border-radius:12px;background:#fff;padding:12px;min-width:0}
.v31-item-row{display:grid;grid-template-columns:112px minmax(170px,1fr) 90px 74px 98px 44px 44px 30px;align-items:end;gap:0;min-width:0}
.v31-cell{min-width:0;display:flex;flex-direction:column;gap:7px;padding:0 8px;border-right:1px solid #dce6f0;font-size:12px;font-weight:700;color:#0f2d5b}
.v31-cell:first-child{padding-left:0}
.v31-cell span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v31-cell input,.v31-cell .v3-search{width:100%;min-width:0}
.v31-cell input{min-height:41px;padding:9px 8px;font-size:13px;border:1px solid #dce6f0;border-radius:8px;background:#fff;color:#0f2d5b}
.v31-cell .v3-search input{width:100%}
.v31-square,.v31-remove{height:40px;width:38px;border:1px solid #dce6f0;border-radius:9px;background:#fff;color:#0066ff;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-left:4px}
.v31-square.service{color:#ff8310}.v31-square.active{background:#e8f3ff;border-color:#0066ff}
.v31-remove{border-color:#ffe4e4;background:#fff;color:#ef4444;font-size:19px}
.v31-item-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px;font-size:11px;color:#627793}
.v31-item-foot label{display:flex;align-items:center;gap:5px;cursor:pointer}
.v31-return-panel{margin-top:12px;border-top:1px solid #e1eaf3;padding-top:12px;display:grid;gap:9px}
.v31-return-grid{display:grid;grid-template-columns:1.4fr .75fr 1fr;gap:12px}
.v31-submit{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.v31-submit .btn{width:auto;min-width:190px}
.v31-bulk{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 14px;border:1px solid #dce6f0;border-radius:12px;background:#e8f3ff}
.v31-bulk .btn{width:auto;font-size:12px;padding:8px 12px}
.v31-bulk b{margin-right:auto}
.v31-select-all{padding:9px 14px;border-bottom:1px solid #e2eaf2;font-size:12px}
.v31-select-all label{display:flex;align-items:center;gap:9px;cursor:pointer}
.v31-record{display:flex;align-items:center;gap:14px}
.v31-row-check{flex:none;display:flex;align-items:center;justify-content:center;padding:0 8px}
.v31-record-main,.v31-record .v3-row-main{flex:1;min-width:0}
.v31-actions{position:relative;flex:none}
.v31-actions summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;border:1px solid #dce6f0;border-radius:9px;height:35px;width:35px;font-size:22px;line-height:1;background:#fff;color:#0f2d5b}
.v31-actions summary::-webkit-details-marker{display:none}
.v31-actions-menu{position:absolute;z-index:15;top:40px;right:0;display:flex;flex-direction:column;min-width:190px;background:#fff;border:1px solid #dce6f0;border-radius:10px;box-shadow:0 8px 20px #0f2d5b19;padding:5px}
.v31-actions-menu button{background:#fff;border:0;border-radius:7px;color:#0f2d5b;font-size:13px;text-align:left;padding:10px;cursor:pointer}
.v31-actions-menu button:hover{background:#e8f3ff}
.v31-record:has(.v31-actions[open]){position:relative;z-index:20}
.v31-items .v3-suggest{position:relative;z-index:3}
.v31-item,.v31-record,.v31-bulk,.v31-return-panel,.v31-actions-menu{background-image:none!important}
@media(max-width:900px){.v31-item-row{grid-template-columns:93px minmax(155px,1fr) 85px 70px 86px 40px 40px 28px}.v31-cell{padding:0 4px}.com-dialog:has(.v3-form){width:100vw;max-width:100vw}}
@media(max-width:650px){.v31-item-row{grid-template-columns:1fr 1fr 1fr 38px 38px 29px;gap:8px}.v31-code{grid-column:1}.v31-name{grid-column:2/7}.v31-cost{grid-column:1}.v31-qty{grid-column:2}.v31-price{grid-column:3}.v31-square{grid-row:2}.v31-remove{grid-row:2}.v31-cell{padding:0;border:0}.v31-cell span{font-size:11px}.v31-return-grid{grid-template-columns:1fr}.v31-submit{display:grid;grid-template-columns:1fr}.v31-submit .btn{width:100%;min-width:0}.v31-record{gap:6px}.v31-record .status{font-size:11px}}

.com-card.com-table:has(.v31-actions){overflow:visible}

.v32-form .v3-form-group{background:#fff;border-color:#dce6f0;gap:12px}
.v32-items{display:grid;gap:8px;border:1px solid #dde7f2;border-radius:14px;padding:10px;background:#f7faff}
.v32-item{background:#fff;border:1px solid #dde7f2;border-radius:10px;padding:10px;min-width:0}
.v32-item-grid{display:grid;grid-template-columns:minmax(90px,1fr) minmax(180px,3fr) minmax(78px,.82fr) minmax(65px,.65fr) minmax(82px,.85fr) 40px 40px 36px;gap:8px;align-items:end;min-width:0}
.v32-cell{min-width:0;display:flex;flex-direction:column;gap:5px;font-size:11px;color:#0f2d5b;font-weight:700;position:relative}
.v32-cell>span{min-height:16px;white-space:nowrap}
.v32-cell input{box-sizing:border-box;width:100%;height:40px;min-width:0;padding:9px 8px;border:1px solid #d8e4f1;border-radius:8px;font:inherit;font-size:13px;background:#fff;color:#0f2d5b}
.v32-cell .v3-search{width:100%;display:flex;align-items:center;gap:4px}
.v32-cell .v3-search input{flex:1;width:100%;min-width:0}
.v32-action{margin:0;width:36px;height:40px;align-self:end}
.v32-kind.service{color:#fb923c}
.v32-item-meta{display:grid;grid-template-columns:minmax(200px,1.2fr) minmax(120px,1fr) minmax(130px,1fr);gap:8px;align-items:center;margin-top:8px;min-height:22px;font-size:11px;color:#61758f}
.v32-item-meta label{display:inline-flex;align-items:center;gap:5px;min-width:0}
.v32-code-note,.v32-return-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v32-return-note{text-align:right}
.v32-cell .v3-suggest{position:absolute;left:0;right:0;top:100%;z-index:25;max-height:230px;overflow:auto;border-radius:9px;background:#fff;box-shadow:0 7px 22px #0f2d5b22}
.v32-cell .v3-suggest:empty{display:none}
.v32-lookup-empty{display:block;padding:10px 12px;font-weight:400;color:#627793}
.v32-extra{border:1px solid #dbe5ef;border-radius:10px;padding:11px 13px;background:#fff}
.v32-extra summary{cursor:pointer;font-weight:700;color:#0066ff;font-size:13px}
.v32-extra .com-field{margin-top:10px}
.v32-follow-dialog{width:min(480px,94vw)!important;max-width:480px!important;padding:24px!important;min-height:auto!important;border-radius:16px!important}
.v32-follow-dialog .com-modal-head{margin-bottom:6px}
.v32-modal-subtitle{font-size:13px;line-height:1.5;margin:0 0 15px}
.v32-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.v32-date-field[hidden]{display:none!important}
.com-close{background:#ef4444!important;color:#fff!important;border-color:#ef4444!important}
.com-close:hover{background:#dc2626!important}
.v32-status-menu{position:relative}
.v32-status-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:center;height:100%}
.v32-status-menu summary::-webkit-details-marker{display:none}
.v32-status-menu>div{position:absolute;top:calc(100% + 5px);right:0;z-index:30;display:grid;min-width:170px;background:#fff;border:1px solid #dce6f0;box-shadow:0 6px 18px #0f2d5b20;border-radius:10px;padding:5px}
.v32-status-menu button{font-size:13px;text-align:left;background:#fff;border:0;padding:10px;color:#0f2d5b;cursor:pointer;border-radius:6px}
.v32-status-menu button:hover{background:#e8f3ff}
.v32-form .v3-form-group,.v32-item,.v32-follow-dialog,.v32-items{background-image:none!important;transition:none!important;animation:none!important}
@media(max-width:1090px){.v32-item-grid{grid-template-columns:100px minmax(170px,3fr) 90px 65px 90px 38px 38px 34px;gap:5px}.v32-items{padding:7px}}
@media(max-width:780px){.v32-item-grid{grid-template-columns:1fr 1fr 1fr 36px 36px 34px;gap:8px}.v32-code{grid-column:1/2}.v32-name{grid-column:2/7}.v32-cost{grid-column:1}.v32-qty{grid-column:2}.v32-price{grid-column:3}.v32-action{grid-row:2}.v32-item-meta{grid-template-columns:1fr;gap:5px}.v32-return-note{text-align:left}.v32-modal-actions{grid-template-columns:1fr 1fr}}
@media(max-width:400px){.v32-item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.v32-code{grid-column:1}.v32-name{grid-column:2/4}.v32-action{grid-row:auto;width:100%}.v32-item-meta{font-size:10px}}
.v33-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0 0;color:#0F2D5B;font-size:13px}.v33-pagination label{display:flex;gap:6px;align-items:center;margin-left:auto}.v33-pagination select,.v33-pagination button{background:#fff;border:1px solid #DFE8F4;border-radius:9px;min-height:34px;padding:5px 9px;color:#0F2D5B;font:inherit}.v33-pagination button:disabled{opacity:.4;cursor:default}.v33-client-main{display:flex;flex:1;min-width:0;align-items:flex-start;flex-direction:column;gap:3px;text-align:left;border:0;background:transparent;color:#0F2D5B;cursor:pointer;font:inherit}.v33-client-main small{color:#647B9B;font-size:12px}.v33-history-dialog{width:min(690px,calc(100vw - 28px));max-height:88vh;overflow:auto}.v33-history-content{max-height:60vh;overflow:auto;scrollbar-gutter:stable}.v33-history-content h3{font-size:15px;margin:22px 0 10px}.v33-history-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #E3EBF5;padding:10px 0;font-size:13px}.v33-history-row span{color:#586F8E;text-align:right}.v33-vehicles{padding:14px;background:#E8F3FF;border-radius:14px;margin-top:18px}.v33-vehicles form{display:grid;grid-template-columns:1fr 2fr 1fr auto;align-items:end;gap:9px}.v33-vehicles label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}.v33-vehicles input{width:100%;box-sizing:border-box;min-height:40px;border:1px solid #C8D9EC;border-radius:9px;padding:8px;background:#fff}.v33-vehicles .btn{min-height:40px}.v33-history-dialog .com-close{background:#EF4444;color:#fff}.v33-history-dialog .com-close:hover{background:#D52A36;color:#fff}@media(max-width:680px){.v33-vehicles form{grid-template-columns:1fr 1fr}.v33-vehicles form label:nth-child(2){grid-column:1/-1}.v33-vehicles .btn{grid-column:1/-1}.v33-pagination label{margin-left:0}.v33-history-row{align-items:flex-start;flex-direction:column}.v33-history-row span{text-align:left}}
.v34-customers{gap:17px}.v34-section-header{display:flex;align-items:center;gap:14px;padding:20px 22px;background:#E8F3FF;border:1px solid #D5E8FF;border-radius:18px;color:#0F2D5B}.v34-section-icon{display:grid;place-items:center;flex:none;width:49px;height:49px;border-radius:14px;background:#FFF;color:#0066FF}.v34-section-header>div:nth-child(2){flex:1}.v34-eyebrow{font-size:11px;letter-spacing:.08em;font-weight:800;color:#0066FF;margin:0 0 5px}.v34-section-header>div:nth-child(2)>p:last-child{font-size:14px;color:#4B668C;margin:0}.v34-section-header .btn{flex:none}.v34-customer-table .v31-select-all{display:flex;justify-content:space-between;align-items:center;gap:15px}.v34-table-hint{font-size:12px;color:#617595}.v34-client-record{align-items:center;min-height:86px}.v34-client-main{gap:5px}.v34-client-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.v34-client-no,.v34-profile-number{background:#E8F3FF;border-radius:7px;padding:4px 7px;font-size:11px;font-weight:800;color:#0066FF;white-space:nowrap}.v34-vehicle-hints{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;color:#52698A}.v34-vehicle-hints>span{display:inline-flex;align-items:center;gap:5px;background:#F2F8FF;border-radius:7px;padding:4px 7px}.v34-delete-bulk{background:#FFF1F2;color:#B91C1C;border:1px solid #FFCACF}.v34-profile-dialog{width:min(960px,calc(100vw - 22px));max-height:min(93vh,1000px);padding:0;overflow-y:auto;scrollbar-gutter:stable;border:1px solid #DAE5F2;border-radius:20px}.v34-profile-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 28px;background:#fff;border-bottom:1px solid #EBF0F7}.v34-profile-header h2{font-size:clamp(1.1rem,2vw,1.4rem);margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.v34-profile-header .com-close{flex:none;background:#EF4444;color:#fff;display:grid;place-items:center;font-size:21px;font-weight:700}.v34-profile-form{display:grid;gap:16px;padding:22px 28px}.v34-profile-block{border:1px solid #E1EAF4;background:#fff;border-radius:14px;padding:18px;display:grid;gap:14px}.v34-profile-block h3,.v34-history-block h3{display:flex;align-items:center;gap:9px;font-size:14px;color:#0F2D5B;margin:0}.v34-profile-block h3 svg{color:#0066FF}.v34-main-fields{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1.1fr) minmax(0,.85fr);gap:12px}.v34-secondary-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:12px}.v34-profile-form label,.v34-vehicle-row label{display:grid;gap:6px;font-size:12px;font-weight:750;color:#0F2D5B;min-width:0}.v34-profile-form input,.v34-profile-form textarea{min-width:0;width:100%;min-height:40px;border:1px solid #D7E3F1;border-radius:10px;background:#fff;color:#0F2D5B;padding:9px 12px;font:inherit;font-weight:500;font-size:13px;outline-offset:2px}.v34-profile-form input:focus,.v34-profile-form textarea:focus{border-color:#0066FF;outline:2px solid #BFD9FF}.v34-required{color:#EF4444}.v34-optional-grid{display:flex;gap:18px;flex-wrap:wrap}.v34-extra{font-size:12px;color:#4F6585;min-width:0;max-width:100%;border:0}.v34-extra summary{cursor:pointer;color:#0066FF;font-weight:750;list-style:none}.v34-extra summary::-webkit-details-marker{display:none}.v34-extra[open]{background:#F6FAFF;padding:12px;border-radius:10px;flex:1 1 170px}.v34-extra-items{display:grid;gap:7px;margin-top:9px}.v34-extra>.com-link{font-size:11px;margin-top:8px}.v34-extra .com-link:disabled{opacity:.5}.v34-notes{max-width:none}.v34-notes textarea{margin-top:8px}.v34-auto-block{background:#F7FAFF;border-color:#CFE2F8}.v34-block-title{display:flex;justify-content:space-between;gap:15px;align-items:center}.v34-block-title small{color:#63799A;font-size:11px}.v34-auto-empty{font-size:12px;color:#69809B;margin:0}.v34-vehicle-row{display:grid;grid-template-columns:minmax(100px,.9fr) minmax(140px,1.6fr) minmax(115px,.85fr) 31px;gap:10px;align-items:end;border-top:1px solid #DDEAF7;padding-top:12px}.v34-remove{border:0;border-radius:8px;background:#FFF0F1;color:#D52A36;height:39px;font-size:20px;font-weight:700}.v34-profile-actions{display:flex;justify-content:flex-end}.v34-profile-actions .btn{min-width:175px}.v34-history-block{padding:22px 28px 28px;border-top:1px solid #E7EFF8;background:#F9FBFF}.v34-history-explainer{font-size:12px;margin:9px 0 14px}.v34-history-list{display:grid;gap:8px}.v34-document{background:white;border:1px solid #E0EAF5;border-radius:10px;overflow:hidden}.v34-document-button{display:grid;grid-template-columns:minmax(90px,1fr) minmax(88px,.95fr) minmax(85px,.95fr) 18px;gap:12px;align-items:center;width:100%;padding:13px 15px;text-align:left;border:0;background:white;color:#0F2D5B;cursor:pointer;font-size:12px}.v34-document-button:hover{background:#F0F7FF}.v34-document-button strong{font-weight:800}.v34-document-button>span:nth-child(2){color:#5D7597}.v34-status{display:inline-block;width:max-content;max-width:100%;border-radius:6px;padding:5px 9px;background:#E8F3FF;color:#0066FF;font-weight:700}.v34-status.cancelado{background:#FFECEE;color:#B82539}.v34-status.concluido,.v34-status.aprovado{background:#E8FAF2;color:#12744F}.v34-chevron svg{transition:transform .14s ease}.v34-document-button.expanded .v34-chevron svg{transform:rotate(180deg)}.v34-document-details{padding:9px 15px 15px;border-top:1px solid #E5EEF8;background:#F9FBFF;font-size:12px}.v34-document-item{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #E7EDF6}.v34-document-item span:last-child{white-space:nowrap}.v34-document-total{display:flex;justify-content:flex-end;gap:20px;padding-top:12px}.v34-followups{margin-top:16px}.v34-followup-row{display:flex;justify-content:space-between;gap:12px;margin-top:10px;border-top:1px solid #DBE6F3;padding:7px 0}.v34-followup-row small{color:#657D99}.v34-category-settings{background:#E8F3FF;border:1px solid #D3E5FC}.v34-category-label{display:flex;gap:13px;align-items:center;font-size:13px;font-weight:700}.v34-category-label svg{color:#0066FF}.v34-category-label strong{background:white;border-radius:8px;padding:7px 11px;margin-left:auto}.v34-category-settings p{margin:10px 0 0;font-size:12px}
@media(max-width:760px){.v34-section-header{padding:15px;flex-wrap:wrap}.v34-section-header .btn{width:100%}.v34-main-fields{grid-template-columns:1fr 1fr}.v34-main-fields label:first-child{grid-column:1/-1}.v34-secondary-fields{grid-template-columns:1fr}.v34-profile-header{padding:16px}.v34-profile-form{padding:14px}.v34-history-block{padding:16px}.v34-vehicle-row{grid-template-columns:1fr 1fr}.v34-vehicle-row label:nth-child(2){grid-column:1/-1;grid-row:2}.v34-vehicle-row .v34-remove{justify-self:end}.v34-document-button{grid-template-columns:1fr auto;gap:7px}.v34-document-button>span:nth-child(2){grid-column:1}.v34-document-button .v34-chevron{grid-column:2;grid-row:1}.v34-document-button .v34-status{grid-column:2;grid-row:2}.v34-profile-actions .btn{width:100%}}
@media(max-width:480px){.v34-main-fields{grid-template-columns:1fr}.v34-main-fields label:first-child{grid-column:auto}.v34-vehicle-row{grid-template-columns:1fr 1fr}.v34-vehicle-row label:first-of-type{grid-column:1}.v34-vehicle-row label:nth-of-type(2){grid-column:1/-1}.v34-vehicle-row label:nth-of-type(3){grid-column:1}.v34-vehicle-row .v34-remove{grid-column:2}.v34-optional-grid{gap:10px}.v34-profile-dialog{max-height:calc(100dvh - 10px)}.v34-section-icon{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.v34-chevron svg{transition:none}}

/* V35 clientes refinado */
.v35-selection-strip{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px;border:1px solid #E2EAF5;border-radius:16px;background:#FBFDFF;min-height:64px}.v35-selection-copy{display:grid;gap:3px}.v35-selection-copy b{font-size:14px;color:#0F2D5B}.v35-selection-copy small,.v35-selection-placeholder{font-size:12px;color:#67809D}.v35-selection-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.v35-customer-head,.v34-client-record{display:grid;grid-template-columns:34px minmax(72px,.45fr) minmax(180px,1fr) minmax(220px,1.25fr) minmax(130px,.7fr) minmax(112px,.55fr) 44px;gap:10px;align-items:center}.v35-customer-head{padding:0 4px 8px;color:#627796;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.v35-select-top{padding-bottom:10px;border-bottom:1px solid #ECF1F7;margin-bottom:10px}.v35-row-check{justify-self:center}.v34-client-record{min-height:72px;padding:8px 4px;border-top:1px solid #EEF3F8}.v34-client-record:first-of-type{border-top:0}.v35-client-open{display:grid;grid-template-columns:minmax(72px,.42fr) minmax(180px,.9fr) minmax(220px,1fr);gap:10px;align-items:center;width:100%;padding:10px 12px;border:1px solid transparent;border-radius:14px;background:transparent;text-align:left;color:#0F2D5B;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}.v35-client-open:hover{background:#F5FAFF;border-color:#D6E7FB}.v35-client-col{display:grid;gap:4px;min-width:0}.v35-client-col small,.v35-client-date small{font-size:11px;color:#67809D;font-weight:700}.v35-client-col strong,.v35-client-date strong{font-size:13px;color:#10305F;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v35-client-context strong em{font-style:normal;color:#0066FF;font-weight:800}.v35-client-id strong{font-weight:800;color:#557199}.v35-contact-pop{position:relative}.v35-contact-pop summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 12px;border:1px solid #D7E3F1;border-radius:10px;background:#fff;color:#0F2D5B;font-size:12px;font-weight:700}.v35-contact-pop summary::-webkit-details-marker{display:none}.v35-contact-card{position:absolute;right:0;top:calc(100% + 8px);z-index:10;display:grid;gap:6px;min-width:220px;padding:14px;border:1px solid #D7E3F1;border-radius:14px;background:#fff;box-shadow:0 18px 44px rgba(15,45,91,.14)}.v35-contact-card small{font-size:11px;color:#67809D;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.v35-contact-card span{font-size:13px;color:#0F2D5B}.v35-client-date{display:grid;gap:4px}.v35-profile-form{gap:18px}.v35-profile-meta{margin:6px 0 0;color:#6680A0;font-size:13px}.v35-block-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.v35-main-fields,.v35-address-grid{display:grid;gap:12px}.v35-main-fields{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.v35-secondary-main{grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr)}.v35-address-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr) minmax(0,.7fr) minmax(0,1fr) minmax(0,1fr) 88px}.v35-span-2{grid-column:span 2}.v35-inline-input{display:grid;grid-template-columns:1fr 40px;gap:8px;align-items:center}.v35-plus-btn{height:40px;border:1px solid #D7E3F1;border-radius:10px;background:#F7FAFF;color:#0066FF;font-size:20px;font-weight:800}.v35-tag-list{display:flex;gap:8px;flex-wrap:wrap;min-height:28px;padding-top:6px}.v35-tag{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#EEF5FF;color:#33557B;font-size:12px;font-weight:700}.v35-tag-muted{background:#F4F7FB;color:#7A90AA}.v35-extra-stores{display:grid;grid-template-columns:1fr 1fr;gap:14px}.v35-extra-stores small{display:block;color:#67809D;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.v35-pet-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(150px,1fr) minmax(110px,.6fr) 31px;gap:10px;align-items:end;border-top:1px solid #DDEAF7;padding-top:12px}.v35-mini-dialog{width:min(460px,calc(100vw - 24px));padding:0;border:1px solid #D9E5F4;border-radius:18px}.v35-mini-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #E6EEF8}.v35-mini-head h3{margin:0;font-size:16px;color:#0F2D5B}.v35-mini-body{padding:18px 20px;display:grid;gap:12px}.v35-mini-list{display:grid;gap:10px}.v35-mini-row{display:grid;grid-template-columns:1fr auto;gap:8px}.v35-mini-row input{min-height:40px;border:1px solid #D7E3F1;border-radius:10px;padding:9px 12px}.v35-mini-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 20px 20px}.v34-profile-form input,.v34-profile-form textarea{min-height:40px}.v34-profile-form textarea{resize:vertical}.v35-client-open:hover .v35-client-name strong{text-decoration:underline;text-decoration-color:#D0E2FA;text-underline-offset:4px}
@media (max-width:960px){.v35-customer-head{display:none}.v34-client-record{grid-template-columns:30px 1fr auto;grid-auto-rows:auto;align-items:start}.v35-client-open{grid-column:2;grid-template-columns:1fr;gap:8px;padding:8px 0}.v35-contact-pop{grid-column:2}.v35-client-date{grid-column:2}.v31-actions{grid-column:3;grid-row:1}.v35-selection-strip{flex-direction:column;align-items:flex-start}.v35-main-fields,.v35-secondary-main,.v35-address-grid,.v35-extra-stores,.v35-pet-row{grid-template-columns:1fr}.v35-span-2{grid-column:auto}}

/* Retornei V3.6 — tabela sem colunas independentes, baseada no exemplo aprovado. */
.v36-customers{gap:0;background:#fff;border:1px solid #e1e7f0;border-radius:16px;overflow:visible;padding:0}.v36-page-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-bottom:1px solid #e2e8f0}.v36-page-top h2{margin:0 0 3px;font-size:20px;letter-spacing:-.03em;color:#0f2d5b}.v36-page-top p{margin:0;color:#6c7d95;font-size:12px}.v36-page-top .btn{width:auto;min-height:38px;padding:8px 16px}.v36-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 24px 13px;border-bottom:1px solid #edf1f7}.v36-filters{display:flex;gap:10px;min-width:0;align-items:center;flex-wrap:wrap;flex:1}.v36-search-wrap{position:relative;display:flex;align-items:center;width:min(100%,345px);flex:1 1 230px;min-width:180px}.v36-search-wrap svg{position:absolute;left:12px;color:#8291a9;pointer-events:none}.v36-search-wrap input,.v36-filters select{height:40px;border-radius:9px;border:1px solid #d5dfeb;background:#f8fafc;color:#293c5b;font-size:13px;outline:none}.v36-search-wrap input{width:100%;padding:0 14px 0 38px}.v36-filters select{max-width:180px;padding:0 12px}.v36-search-wrap input:focus,.v36-filters select:focus{background:#fff;border-color:#0066ff;box-shadow:0 0 0 3px #0066ff16}.v36-total-count{font-size:12px;color:#697c95;white-space:nowrap}.v36-total-count b{color:#18365b}.v36-bulk{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:5px 24px;border-bottom:1px solid #e9eef5;background:#f6faff}.v36-bulk-tools{display:flex;align-items:center;gap:10px;min-height:33px;flex-wrap:wrap}.v36-bulk-idle,.v36-bulk-live{color:#66809a;font-size:11px}.v36-bulk-live:empty{display:none}.v36-bulk-number{display:inline-grid;place-items:center;min-width:23px;padding:3px 5px;border-radius:99px;background:#0066ff;color:#fff;font-size:11px;font-weight:800}.v36-bulk-name{font-size:12px;font-weight:700;color:#25456d}.v36-bulk-tools button{padding:6px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#0066ff;font-size:12px;font-weight:750}.v36-bulk-tools .v36-bulk-delete{background:#fff1f1;border-color:#ffdadc;color:#c12a3c}.v36-bulk-tools button:hover{background:#e3f0ff}.v36-bulk-tools .v36-bulk-delete:hover{background:#ffe5e7}.v36-customer-card{padding:0;border:0;box-shadow:none;border-radius:0;background:#fff;overflow:visible}.v36-table-scroll{width:100%;overflow:visible}.v36-table{border-spacing:0;border-collapse:collapse;table-layout:fixed;width:100%;color:#344963}.v36-table .v36-col-check{width:52px}.v36-table .v36-col-id{width:68px}.v36-table .v36-col-name{width:27%}.v36-table .v36-col-context{width:auto}.v36-table .v36-col-date{width:119px}.v36-table .v36-col-actions{width:184px}.v36-table th{height:41px;background:#f8fafc;color:#62758b;text-align:left;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:9px 10px;border-bottom:1px solid #dce5ee;white-space:nowrap}.v36-table td{height:64px;padding:9px 10px;vertical-align:middle;border-bottom:1px solid #e5eaf1;font-size:13px;min-width:0}.v36-table tbody tr:last-child td{border-bottom:0}.v36-check-cell{text-align:center!important;padding-left:12px!important;padding-right:7px!important}.v36-check-cell input{height:16px;width:16px;cursor:pointer;accent-color:#0066ff;vertical-align:middle}.v36-table .v36-id{font-size:12px;font-weight:750;font-variant-numeric:tabular-nums;color:#7587a1}.v36-customer-row{cursor:pointer;transition:background .16s ease;box-shadow:inset 4px 0 transparent}.v36-customer-row:hover{background:#f9731610;box-shadow:inset 4px 0 #f97316}.v36-customer-row.v36-selected{background:#eff6ff}.v36-customer-row.v36-selected:hover{background:#fff2e8}.v36-name button{display:grid;gap:3px;padding:0;background:none;border:none;text-align:left;max-width:100%;color:inherit}.v36-name strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:800;color:#12305b}.v36-name small{color:#7589a0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.v36-name button:hover strong{text-decoration:underline;text-underline-offset:3px}.v36-context-inline{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:nowrap}.v36-ref-main{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;color:#314b68}.v36-plate{flex:none;max-width:115px;overflow:hidden;text-overflow:ellipsis;padding:4px 7px;background:#f1f5f9;border:1px solid #dbe3ec;border-radius:6px;font-size:10px;letter-spacing:.015em;color:#42566e;font-weight:750;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}.v36-more{flex:none;border-radius:6px;background:#eaf2ff;color:#0066ff;font-size:11px;padding:3px 5px;font-weight:800}.v36-muted{font-size:12px;color:#8b9bad}.v36-table .v36-date{font-size:12px;color:#647890;font-variant-numeric:tabular-nums;white-space:nowrap}.v36-row-actions{position:relative}.v36-row-actions>button,.v36-row-actions>details{vertical-align:middle}.v36-row-actions{white-space:nowrap}.v36-contact-btn{display:inline-flex;align-items:center;gap:6px;height:34px;border:1px solid #d3e6ff;border-radius:8px;padding:0 9px;background:#eef6ff;color:#0863ce;font-size:11px;font-weight:750}.v36-contact-btn:hover{background:#dcecff}.v36-row-actions .v31-actions{display:inline-block;margin-left:6px}.v36-row-actions .v31-actions summary{width:31px;height:34px;font-size:20px}.v36-row-actions .v31-actions[open]{z-index:40}.v36-row-actions .v31-actions-menu{right:0;top:37px;z-index:50}.v36-table tr:has(.v31-actions[open]){position:relative;z-index:30}.v36-empty{text-align:center;height:110px!important;color:#7187a0!important}.v36-customers .v33-pagination{padding:14px 24px 16px;margin:0;border-top:1px solid #e9eef5}
/* Modal de cadastro/leitura, sem alteração de altura entre modos. */
.v36-profile-dialog{width:min(830px,calc(100vw - 34px));max-height:min(93dvh,930px);padding:0;border:1px solid #dbe4ef;border-radius:16px;background:#fff;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 25px 70px #0f2d5b32;color:#183555}.v36-profile-dialog::backdrop,.v35-mini-dialog::backdrop{background:#11284394}.v36-profile-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:78px;padding:17px 24px;background:#f8fafc;border-bottom:1px solid #e0e7ef}.v36-profile-head h2{display:flex;gap:10px;align-items:center;margin:0;font-size:17px;font-weight:800;letter-spacing:-.02em}.v36-profile-head p{margin:4px 0 0;font-size:11px;color:#74869b}.v36-head-tools{display:flex;align-items:center;gap:10px}.v36-since{padding:7px 9px;background:#eaf2ff;border:1px solid #d3e6ff;border-radius:8px;font-size:11px;color:#1956a5;white-space:nowrap}.v36-x{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#71829c;font-size:24px}.v36-x:hover{background:#e2eaf4;color:#19375c}.v36-profile-form{display:block}.v36-form-body{padding:20px 24px 8px}.v36-profile-section{padding:0 0 17px;margin:0 0 17px;border-bottom:1px solid #e6ebf2}.v36-profile-section:last-child{border-bottom:0;margin:0}.v36-profile-section h3{display:flex;gap:8px;align-items:center;margin:0 0 13px;color:#0066ff;font-size:11px;line-height:1.3;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.v36-profile-section h3 svg{width:16px;height:16px}.v36-profile-section h3 span{letter-spacing:normal;text-transform:none;font-weight:600;color:#8190a4}.v36-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v36-span-full{grid-column:1/-1}.v36-profile-section label,.v36-vehicle-row label,.v35-pet-row label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px;font-weight:750;color:#374b67}.v36-profile-section label em{font-style:normal;color:#dc3545}.v36-profile-section input,.v36-profile-section textarea{width:100%;min-width:0;height:40px;border:1px solid #d1dce8;border-radius:8px;background:#f8fafc;color:#173458;padding:0 11px;font-size:12px;font-weight:550;outline:none}.v36-profile-section input:focus,.v36-profile-section textarea:focus{background:#fff;border-color:#0066ff;box-shadow:0 0 0 3px #0066ff15}.v36-profile-section input:disabled,.v36-profile-section textarea:disabled{background:#f1f5f9;color:#65778f;border-color:#e1e8f1;opacity:1}.v36-profile-section textarea{height:75px;resize:vertical;padding:10px 11px}.v36-plus-wrap{display:flex;gap:7px;align-items:center}.v36-plus-wrap input{flex:1}.v36-plus-wrap .v35-plus-btn{flex:none;width:40px;height:40px;border:1px solid #dbe5f1;border-radius:8px;background:#f1f6ff;color:#0066ff}.v36-plus-wrap .v35-plus-btn:disabled{opacity:.45;cursor:default}.v36-cpf{max-width:calc(50% - 6px)}.v36-extra-summaries{display:flex;gap:10px;margin-top:8px}.v36-extra-summaries>div{max-width:49%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.v36-tag-list,.v36-extra-summaries [data-v35-store],.v36-extra-address [data-v35-store]{display:flex;gap:6px;flex-wrap:wrap}.v36-profile-form .v35-tag{padding:3px 7px;font-size:10px;line-height:1.5}.v36-profile-form .v35-tag-muted{display:none}.v36-address-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,.55fr) minmax(0,1fr) minmax(0,1.1fr) minmax(55px,.5fr);gap:11px}.v36-cep-label{grid-column:span 2;position:relative}.v36-street-label{grid-column:span 4}.v36-cep-status{position:absolute;top:100%;left:0;font-size:10px;white-space:nowrap;padding-top:2px;line-height:1.2;color:#6483a4}.v36-cep-status[data-status="ok"]{color:#11815c}.v36-cep-status[data-status="error"]{color:#bc3441}.v36-address-fields{row-gap:15px}.v36-address-fields>label:nth-child(3){grid-column:span 1}.v36-address-fields>label:nth-child(4){grid-column:span 2}.v36-address-fields>label:nth-child(5){grid-column:span 2}.v36-address-fields>label:nth-child(6){grid-column:span 1}.v36-extra-address{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:8px}.v36-link{border:0;background:transparent;color:#0066ff;font-size:11px;font-weight:800;padding:5px 0}.v36-link:hover{text-decoration:underline}.v36-link:disabled{color:#a7b8cf;text-decoration:none;cursor:default}.v36-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.v36-section-head h3{margin:0 0 12px}.v36-section-head .v36-link{margin-bottom:10px}.v36-vehicles{display:grid;gap:9px}.v36-vehicle-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,.95fr) minmax(0,1fr) minmax(0,1fr) 28px;gap:9px;align-items:end;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px}.v36-vehicle-row label{font-size:10px}.v36-vehicle-row input{background:#fff;height:36px;padding:0 8px;font-size:11px}.v36-vehicle-row .v34-remove,.v36-profile-section .v35-pet-row .v34-remove{height:36px;width:28px;margin:0;border:0;border-radius:7px;background:#fff1f1;color:#be3141}.v36-inline-empty{font-size:11px;color:#8597ad;margin:5px 0}.v36-profile-notes textarea{width:100%}.v36-profile-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;bottom:0;z-index:4;background:#f8fafc;border-top:1px solid #e3eaf2;padding:13px 24px}.v36-readonly-message{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#a06719}.v36-foot-actions{display:flex;gap:8px;margin-left:auto}.v36-foot-actions button{padding:9px 15px;border-radius:8px;font-size:12px;font-weight:800;white-space:nowrap;min-height:38px}.v36-btn-secondary{border:1px solid #cbd7e5;background:#fff;color:#4a617e}.v36-btn-edit{border:1px solid #FFA72B;background:#FFA72B;color:#0F2D5B}.v36-btn-edit:hover{background:#F59918;border-color:#F59918}.v36-btn-edit:focus-visible{outline:3px solid #0F2D5B;outline-offset:2px}.v36-btn-save{border:1px solid #0066ff;background:#0066ff;color:#fff}.v36-profile-form [hidden]{display:none!important}.v36-history{background:#fff;padding:17px 24px 22px}.v36-history .v36-section-head h3{color:#193c66;font-size:13px;text-transform:none;letter-spacing:0}.v36-history .v36-section-head small{font-size:11px;color:#7990aa}.v36-history .v34-history-list{margin-top:6px}.v36-contact-detail{display:grid;gap:7px}.v36-contact-detail b{font-size:11px;color:#6480a2;letter-spacing:.04em;text-transform:uppercase;margin:7px 0}.v36-contact-item{display:flex;align-items:center;gap:8px;padding:10px;border-radius:9px;background:#f8fafc;color:#193a64;font-size:13px;overflow-wrap:anywhere}.v36-contact-item svg{flex:none;color:#0066ff}.v36-create-from-order{border:1px solid #d5e7ff;border-radius:9px;padding:8px 11px;background:#edf6ff;color:#0066ff;font-size:12px;font-weight:700;text-align:left}.v36-create-from-order:hover{background:#e1efff}
@media(max-width:1000px){.v36-table .v36-col-actions{width:155px}.v36-contact-btn span{display:none}.v36-contact-btn{width:34px;justify-content:center}.v36-row-actions .v31-actions{margin-left:8px}}
@media(max-width:760px){.v36-customers{border-radius:14px}.v36-page-top,.v36-controls{padding:15px}.v36-page-top h2{font-size:17px}.v36-controls{align-items:flex-start;flex-direction:column}.v36-total-count{align-self:flex-end}.v36-bulk{padding:6px 14px}.v36-table-scroll{overflow:visible}.v36-table,.v36-table tbody{display:block;width:100%}.v36-table thead,.v36-table colgroup{display:none}.v36-table tr.v36-customer-row{display:grid;position:relative;grid-template-columns:24px 60px minmax(0,1fr) auto;gap:5px 8px;padding:12px 14px;min-height:114px;box-shadow:inset 4px 0 transparent}.v36-table tr.v36-customer-row:hover{box-shadow:inset 4px 0 #f97316}.v36-table td{display:block;height:auto;min-width:0;border:0;padding:0}.v36-table td.v36-check-cell{grid-column:1;grid-row:1;align-self:center;padding:2px!important}.v36-table td.v36-id{grid-column:2;grid-row:1;align-self:center;font-size:11px}.v36-table td.v36-name{grid-column:3/5;grid-row:1}.v36-table td.v36-context{grid-column:2/5;grid-row:2;padding:5px 0}.v36-table td.v36-date{grid-column:2/4;grid-row:3;padding-top:3px;font-size:11px}.v36-table td.v36-row-actions{grid-column:4;grid-row:3;justify-self:end}.v36-table .v36-date:before{content:'Cadastro: ';font-weight:700;color:#8799ac}.v36-table .v36-name small{display:block}.v36-table .v36-contact-btn span{display:inline}.v36-table .v36-contact-btn{width:auto}.v36-customers .v33-pagination{padding:12px 14px}.v36-profile-head{padding:14px 15px}.v36-profile-head h2{font-size:15px}.v36-profile-head p{max-width:230px}.v36-form-body{padding:17px 15px 8px}.v36-profile-foot{padding:12px 15px}.v36-address-fields{grid-template-columns:1fr 1fr;gap:12px}.v36-cep-label,.v36-street-label{grid-column:auto}.v36-address-fields>label:nth-child(4),.v36-address-fields>label:nth-child(5){grid-column:auto}.v36-address-fields>label:nth-child(3),.v36-address-fields>label:nth-child(6){grid-column:auto}.v36-vehicle-row{grid-template-columns:1fr 1fr 30px}.v36-vehicle-row label:nth-of-type(1){grid-column:1}.v36-vehicle-row label:nth-of-type(2){grid-column:2}.v36-vehicle-row label:nth-of-type(3){grid-column:1}.v36-vehicle-row label:nth-of-type(4){grid-column:2}.v36-vehicle-row label:nth-of-type(5){grid-column:1/3}.v36-vehicle-row .v34-remove{grid-column:3;grid-row:1}.v36-foot-actions{flex-wrap:wrap;justify-content:flex-end}.v36-readonly-message{display:none}}
@media(max-width:480px){.v36-profile-dialog{width:calc(100vw - 14px);max-height:calc(100dvh - 18px)}.v36-head-tools{align-items:flex-end}.v36-since{max-width:116px;white-space:normal;text-align:right;padding:4px 6px;font-size:9px}.v36-fields{grid-template-columns:1fr}.v36-cpf{max-width:none}.v36-address-fields{grid-template-columns:1fr 1fr}.v36-street-label{grid-column:1/-1}.v36-contact-fields>label{grid-column:1/-1}.v36-profile-foot{position:static}.v36-foot-actions{width:100%}.v36-foot-actions button{flex:1}.v36-page-top .btn{font-size:11px;padding:8px 11px}}
/* Área de ações mantém exatamente a mesma altura em ambos os estados. */
.v36-bulk{height:45px;min-height:45px;max-height:45px;overflow:hidden}.v36-bulk-tools{flex-wrap:nowrap;white-space:nowrap;max-width:100%;overflow-x:auto;scrollbar-width:none}.v36-bulk-tools::-webkit-scrollbar{display:none}.v36-bulk-tools>*{flex:none}
@media(max-width:480px){.v36-customers .v33-pagination{display:grid;grid-template-columns:1fr auto auto auto auto;gap:5px;padding:12px 10px;font-size:11px;align-items:center}.v36-customers .v33-pagination label{gap:3px;font-size:10px}.v36-customers .v33-pagination select{width:48px;height:29px;font-size:11px}.v36-customers .v33-pagination button{min-width:25px;width:25px;height:29px;padding:0}.v36-customers .v33-pagination>span{white-space:nowrap}}

/* Retornei V3.7 — pedidos. Usar a mesma escala da página Clientes V3.6. */
.v37-orders{gap:0;background:#fff;border:1px solid #e1e7f0;border-radius:16px;overflow:visible;padding:0}
.v37-orders .v36-page-top h2{color:#0f2d5b}
.v37-orders .v36-page-top .btn{display:inline-flex;gap:8px;align-items:center}
.v37-controls{padding:17px 23px 13px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #edf1f7}
.v37-filters{display:flex;flex:1;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}
.v37-filters .v36-search-wrap{width:min(330px,100%);flex:1 1 195px}
.v37-filters>select,.v37-date-filter input{height:40px;padding:0 11px;border:1px solid #d5dfeb;border-radius:9px;background:#f8fafc;color:#293c5b;font-size:12px}
.v37-date-filter{display:flex;align-items:center;gap:7px;color:#76879a;font-size:11px;font-weight:750}
.v37-date-filter input{max-width:132px;min-width:0}
.v37-bulk{min-height:46px}
.v37-bulk .v36-bulk-tools{gap:7px}
.v37-bulk .v36-bulk-tools>b{font-size:12px;color:#1d3b67}
.v37-bulk-button,.v37-bulk-danger{display:inline-flex!important;align-items:center;gap:6px;min-height:30px!important;padding:6px 9px!important;border-radius:7px!important;background:#fff!important;border:1px solid #d8e3f0!important;color:#304b6d!important;font-size:11px!important;font-weight:750!important;cursor:pointer}
.v37-bulk-danger{color:#b92c3c!important;background:#fff1f1!important;border-color:#f9d6d9!important}
.v37-bulk-status{position:relative}
.v37-bulk-status summary{list-style:none}
.v37-bulk-status summary::-webkit-details-marker{display:none}
.v37-table-scroll{width:100%;overflow:visible}
.v37-orders-table{table-layout:fixed;border-collapse:collapse;border-spacing:0;width:100%;color:#344963}
.v37-col-check{width:44px}.v37-col-code{width:113px}.v37-col-customer{width:20%}.v37-col-vehicle{width:auto}.v37-col-total{width:115px}.v37-col-date{width:100px}.v37-col-status{width:104px}.v37-col-actions{width:54px}
.v37-orders-table th{height:42px;text-align:left;background:#f8fafc;color:#62758b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;padding:10px 8px;white-space:nowrap;border-bottom:1px solid #dce5ee}
.v37-orders-table td{height:64px;padding:10px 8px;vertical-align:middle;border-bottom:1px solid #e5eaf1;font-size:12px;min-width:0}
.v37-orders-table tbody tr:last-child td{border-bottom:0}
.v37-check-cell{text-align:center!important;padding:0 4px 0 8px!important}
.v37-check-cell input{width:16px;height:16px;vertical-align:middle;accent-color:#0066ff;cursor:pointer}
.v37-order-row{cursor:pointer;box-shadow:inset 4px 0 transparent;transition:background .15s ease,box-shadow .15s ease}
.v37-order-row:hover{background:rgba(34,197,94,.08);box-shadow:inset 4px 0 #22c55e}
.v37-order-row.v37-selected{background:#eff6ff}
.v37-order-row.v37-selected:hover{background:#edfdf3}
.v37-code button,.v37-customer button{border:0;background:transparent;padding:0;text-align:left;color:inherit;max-width:100%;cursor:pointer}
.v37-code button{font-size:12px;font-weight:850;color:#233e61;font-variant-numeric:tabular-nums;white-space:nowrap}
.v37-customer button{display:grid;gap:3px}
.v37-customer strong{font-size:12px;font-weight:800;color:#14345d;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.v37-customer small{font-size:11px;color:#7a8ca2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v37-context>div{display:flex;gap:7px;align-items:center;min-width:0}
.v37-context span{font-size:12px;font-weight:650;color:#344c68;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v37-context em{font-size:10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:800;font-style:normal;background:#f1f5f9;border:1px solid #dce4ee;border-radius:6px;padding:4px 6px;white-space:nowrap}
.v37-context small{color:#96a2b3}
.v37-total{font-weight:850;color:#075acc;white-space:nowrap;font-variant-numeric:tabular-nums}
.v37-date{font-size:11px!important;color:#697f99;white-space:nowrap;font-variant-numeric:tabular-nums}
.v37-status{display:inline-flex;padding:5px 8px;border-radius:99px;border:1px solid;font-size:10px;font-weight:800;white-space:nowrap}
.v37-status.novo{background:#fff8eb;border-color:#ffe5bd;color:#a66910}
.v37-status.concluido{background:#eafaef;border-color:#beeccf;color:#188249}
.v37-status.cancelado{background:#fff0f2;border-color:#fad1d7;color:#b62c43}
.v37-actions{white-space:nowrap;text-align:center;position:relative}
.v37-actions .v31-actions[open]{z-index:80}
.v37-orders-table tr:has(.v31-actions[open]){position:relative;z-index:60}
.v37-actions .v31-actions-menu{right:0;top:36px;z-index:90;text-align:left;min-width:175px}
.v37-menu-caption{display:block;padding:7px 12px 3px;color:#8291a4;text-transform:uppercase;letter-spacing:.04em;font-size:10px;font-weight:800;border-top:1px solid #e6ecf3}
.v37-actions .v37-danger-text{color:#be2a3e}
.v37-orders>.v33-pagination{padding:13px 22px 17px;margin:0;border-top:1px solid #e9eef5}
.v37-inline-screen{width:min(100%,950px);padding:21px 25px 22px;margin:0 auto 24px;background:#fff;border:1px solid #dfe7f0;border-radius:15px;box-shadow:0 6px 28px rgba(15,45,91,.03)}
.v37-inline-heading{display:flex;align-items:flex-start;gap:12px;padding-bottom:15px;margin-bottom:16px;border-bottom:1px solid #e1e8f0;position:relative;padding-right:40px}
.v37-inline-heading>div{flex:1;min-width:0}
.v37-inline-heading h2{font-size:20px;font-weight:850;color:#122f55;margin:0 0 4px}
.v37-inline-heading p{margin:0;color:#7a8ca3;font-size:12px}
.v37-code-tag{align-self:center;white-space:nowrap;background:#f1f5f9;color:#435b79;font-size:11px;padding:7px 10px;border:1px solid #dce5ee;border-radius:7px;font-weight:800}
.v37-close-form{position:absolute;right:0;top:0;display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#ef4444;color:#fff;border:0;font-size:22px;cursor:pointer}
.v37-order-form{display:grid;gap:19px;padding:0;border:0;box-shadow:none;background:#fff;width:100%}
.v37-order-form .v37-form-group{padding:15px 17px;gap:12px;border:1px solid #e2e8f0;border-radius:12px;background:#f9fbfd}
.v37-order-form .v37-subhead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}
.v37-order-form .v37-subhead b,.v37-order-form .v37-subhead{font-size:11px;color:#0963da;font-weight:850;letter-spacing:.05em;text-transform:uppercase}
.v37-order-form .v37-subhead b{display:inline-flex;align-items:center;gap:7px}
.v37-order-form .v37-subhead small{font-size:10px;color:#8998a9;text-transform:none;font-weight:500;letter-spacing:normal}
.v37-order-form .com-field>span,.v37-order-form .v32-cell>span{font-size:11px;color:#4e6079;font-weight:750}
.v37-order-form .com-field input,.v37-order-form .com-field select,.v37-order-form textarea,.v37-order-form .v32-cell input{background:#fff;border:1px solid #d6e0eb;border-radius:7px;font-size:12px;min-height:38px}
.v37-complete-customer{margin:0;min-height:38px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:7px;background:#eff6ff;color:#0066dd;border:1px solid #cbe1ff;font-size:12px;font-weight:800}
.v37-address-extra{margin:0}
.v37-associated{border-top:1px solid #e0e7ef;padding-top:13px;margin-top:4px;display:grid;gap:10px}
.v37-context-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.v37-add-item{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;width:100%;border:1px dashed #bdcddd;border-radius:9px;background:#f1f5f9;color:#41536a;font-size:12px;font-weight:800;cursor:pointer}
.v37-add-item:hover{background:#eaf2fa}
.v37-item{padding:10px;background:#fff;border:1px solid #e2e8f0;border-radius:10px}
.v37-item .v32-item-grid{grid-template-columns:minmax(70px,.8fr) minmax(160px,3fr) minmax(74px,.8fr) 65px minmax(77px,.9fr) 35px 35px 30px;gap:7px;align-items:end}
.v37-item .v32-cell input{width:100%;min-width:0}
.v37-item .v32-item-meta{padding:9px 1px 2px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;justify-content:space-between}
.v37-line-discount{display:inline-flex!important;align-items:center;gap:6px;font-size:10px;color:#5e7290;font-weight:750}
.v37-line-discount input{width:80px!important;height:28px!important;min-height:28px!important;padding:5px!important;background:#fff!important}
.v37-totals{background:#f7f9fc!important;padding:17px!important;display:grid;gap:12px}
.v37-totals .v3-discount{border-top:1px solid #e0e7f0;padding-top:13px}
.v37-discount-switch{min-width:42px;height:33px;border:0;border-radius:6px;background:#0066ff;color:#fff;font-weight:850;font-size:12px}
.v37-totals .v3-grand{padding-top:12px;border-top:1px solid #d7e4f1;font-size:17px;color:#075acc}
.v37-notes{display:grid;gap:6px}
.v37-submit{padding-top:15px;border-top:1px solid #e1e8f0}
.v37-submit button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
@media(max-width:1070px){.v37-table-scroll{overflow:visible}.v37-orders-table{min-width:0}.v37-col-code{width:100px}.v37-col-total{width:91px}.v37-col-date{width:87px}.v37-col-status{width:88px}.v37-col-actions{width:40px}.v37-col-check{width:34px}.v37-inline-screen{max-width:100%}.v37-item .v32-item-grid{grid-template-columns:minmax(85px,1fr) minmax(155px,2.4fr) minmax(78px,.7fr) 65px minmax(82px,.9fr) 35px 35px 30px}}
@media(max-width:760px){.v37-orders{border-radius:14px}.v37-controls{align-items:flex-start;flex-direction:column;padding:13px 14px}.v37-controls .v36-total-count{align-self:flex-end}.v37-bulk{padding:7px 13px}.v37-orders-table{min-width:0;display:block;width:100%}.v37-orders-table thead,.v37-orders-table colgroup{display:none}.v37-orders-table tbody{display:block}.v37-orders-table tr.v37-order-row{display:grid;grid-template-columns:24px 105px 1fr auto;gap:8px 10px;min-height:128px;padding:11px 14px}.v37-orders-table td{display:block;padding:0;height:auto;border:0}.v37-orders-table td.v37-check-cell{grid-column:1;grid-row:1;align-self:center}.v37-orders-table td.v37-code{grid-column:2;grid-row:1;align-self:center}.v37-orders-table td.v37-customer{grid-column:3/5;grid-row:1}.v37-orders-table td.v37-context{grid-column:2/5;grid-row:2}.v37-orders-table td.v37-total{grid-column:2/3;grid-row:3}.v37-orders-table td.v37-date{grid-column:3/4;grid-row:3}.v37-orders-table td:has(.v37-status){grid-column:2/4;grid-row:4}.v37-orders-table td.v37-actions{grid-column:4;grid-row:3/5;align-self:center}.v37-orders>.v33-pagination{padding:12px 15px}.v37-inline-screen{padding:16px 12px;border-radius:12px}.v37-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v37-order-form .v37-form-group{padding:13px 11px}.v37-item .v32-item-grid{grid-template-columns:1fr 1fr 1fr 34px 34px 30px}.v37-item .v32-code{grid-column:1}.v37-item .v32-name{grid-column:2/7}.v37-item .v32-cost{grid-column:1}.v37-item .v32-qty{grid-column:2}.v37-item .v32-price{grid-column:3}.v37-item .v32-action{grid-row:2}.v37-order-form .v37-subhead{flex-wrap:wrap}.v37-inline-heading{gap:7px}.v37-code-tag{font-size:10px}}
@media(max-width:440px){.v37-date-filter input{max-width:119px}.v37-filters>select{width:100%}.v37-order-form .v3-grid-2{grid-template-columns:1fr}.v37-context-grid{grid-template-columns:1fr}.v37-inline-heading h2{font-size:17px}.v37-item .v32-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v37-item .v32-code{grid-column:1}.v37-item .v32-name{grid-column:2/4}.v37-item .v32-action{grid-row:auto}.v37-submit{display:grid;grid-template-columns:1fr}.v37-submit button{width:100%}.v37-orders>.v33-pagination{display:grid;grid-template-columns:1fr auto auto auto auto;gap:5px;padding:12px 9px;font-size:10px}.v37-orders>.v33-pagination select{width:47px}}

/* V3.7.1 — somente itens de Pedidos: uma linha compacta, sem painel inferior. */
.v37-order-form .v37-item{padding:7px 9px;border-radius:9px}
.v37-order-form .v37-item .v32-item-grid{gap:6px;align-items:end}
.v37-order-form .v37-item .v32-cell{gap:3px}
.v37-order-form .v37-item .v32-cell>span{min-height:13px;font-size:10px}
.v37-order-form .v37-item .v32-cell input{height:34px;min-height:34px;padding:6px 8px;font-size:12px}
.v37-order-form .v37-item .v32-action{height:34px;min-height:34px;width:33px}
.v37-order-form .v37-item .v3-search button{height:34px;min-height:34px}
.v37-order-form .v37-item .v32-item-meta{display:none!important}
.v37-order-form .v37-hidden-catalog[hidden]{display:none!important}
.v43-order-block{position:relative}
.v43-order-block .v37-subhead b svg{opacity:.95}
.v43-order-block-customer{background:#f4f9ff!important;border-color:#cfe1ff!important}
.v43-order-block-customer .v37-subhead b,.v43-order-block-customer .v37-subhead{color:#0f5fd6}
.v43-order-block-items{background:#fff8f1!important;border-color:#ffdcb4!important}
.v43-order-block-items .v37-subhead b,.v43-order-block-items .v37-subhead{color:#d97706}
.v43-order-block-totals{background:#f3fbf6!important;border-color:#bfe5ca!important}
.v43-order-block-totals .v37-subhead b,.v43-order-block-totals .v37-subhead{color:#1f7a4f}
.v43-order-block-totals .v3-grand span,.v43-order-block-totals .v3-grand b{color:#166534}
.v43-order-notes{display:grid;gap:6px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:12px;background:#fbfcfe}
.v43-order-notes>span{font-size:11px;color:#5b6f8d;font-weight:750}
@media(max-width:760px){.v37-order-form .v37-item{padding:8px}.v37-order-form .v37-item .v32-item-grid{row-gap:7px}}

/* V3.7.1: menu de status fica fora da faixa fixa para não ser recortado. */
.v37-status-popover{position:fixed;z-index:10000;width:180px;padding:5px;border:1px solid #d9e4f0;background:#fff;border-radius:10px;box-shadow:0 10px 30px #0f2d5b2a;display:grid;gap:3px}
.v37-status-popover>button{width:100%;min-height:34px;padding:8px 11px;border:0;border-radius:7px;background:#fff;color:#25436a;font-size:12px;font-weight:700;text-align:left;cursor:pointer}
.v37-status-popover>button:hover,.v37-status-popover>button:focus-visible{background:#eef6ff;outline:2px solid transparent}

/* V3.8: títulos únicos e padrão permanente de fechar */
#section-content > .com-stack.v36-customers .v36-page-top h2,
#section-content > .com-stack.v37-orders .v36-page-top h2 {display:none!important}
#section-content > .com-stack.v36-customers .v36-page-top,
#section-content > .com-stack.v37-orders .v36-page-top{padding-top:0}
.com-dialog .com-close,.v35-mini-dialog .com-close,.v38-report-dialog .com-close,
.legal-close,.v37-close-form{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important;min-width:34px!important;width:34px!important;height:34px!important;border:0!important;border-radius:9px!important;background:#EF4444!important;color:#FFFFFF!important;font-size:21px!important;font-weight:750!important;line-height:1!important;cursor:pointer!important;box-shadow:none!important;transition:background .15s ease!important}
.com-dialog .com-close:hover,.v35-mini-dialog .com-close:hover,.v38-report-dialog .com-close:hover,.legal-close:hover,.v37-close-form:hover{background:#DC2626!important;color:#fff!important}
.com-dialog .com-close svg,.v35-mini-dialog .com-close svg,.v37-close-form svg,.legal-close svg{color:#fff!important;stroke:#fff!important}

/* Catálogo - tabela e modal derivados do padrão aprovado da ficha de clientes */
.v38-catalog{gap:18px}.v38-panel{padding:22px;border:1px solid #E2E8F0;border-radius:15px;background:#fff;display:grid;gap:16px}.v38-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.v38-panel-heading h2{font-weight:800;font-size:16px;color:#0F2D5B;margin:0 0 5px}.v38-panel-heading p{color:#64748B;font-size:12px;margin:0}.v38-panel-heading .btn{flex:none}.v38-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px;border-top:1px solid #EFF2F6;padding-top:14px}.v38-filters .v38-search{flex:1 1 270px;min-width:150px}.v38-filters .com-search{min-width:0;width:100%;margin:0;min-height:40px;background:#fff}.v38-filters select{border:1px solid #D9E4F0;border-radius:9px;padding:9px 12px;min-height:40px;color:#0F2D5B;font-weight:650;background:#fff;font-size:12px;outline-color:#0066FF}.v38-count{font-size:12px;color:#64748B;margin-left:auto;white-space:nowrap}.v38-count strong{color:#0F2D5B}.v38-bulk-line{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:10px 14px;border-radius:10px;background:#F8FAFC;border:1px solid #E8EEF6}.v38-bulk-count{font-size:12px;color:#64748B}.v38-bulk-count b{color:#0F2D5B}.v38-bulk-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v38-bulk-buttons .btn{min-height:34px;padding:6px 12px;font-size:12px;display:inline-flex;align-items:center;gap:6px}.v38-placeholder{font-size:11px;color:#92A2B7}.v38-danger{background:#DC2626!important;color:#fff!important;border:1px solid #DC2626!important}.v38-danger:hover{background:#B91C1C!important}.v38-table-card{border:1px solid #E2E8F0;border-radius:15px;background:#fff;overflow:visible}.v38-table-scroller{overflow-x:auto;border-radius:15px}.v38-table{border-collapse:collapse;width:100%;min-width:820px;table-layout:fixed;text-align:left;color:#0F2D5B}.v38-table col.v38-col-check{width:52px}.v38-table col.v38-col-code{width:125px}.v38-table col.v38-col-type{width:128px}.v38-table col.v38-col-cost{width:135px}.v38-table col.v38-col-price{width:160px}.v38-table col.v38-col-menu{width:80px}.v38-table thead{background:#F8FAFC}.v38-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:800;color:#667A96;white-space:nowrap;padding:14px 10px;border-bottom:1px solid #E2E8F0}.v38-table td{height:64px;max-height:64px;padding:12px 10px;border-bottom:1px solid #E7EEF6;vertical-align:middle;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v38-table th:first-child,.v38-table td:first-child{text-align:center;padding-left:10px}.v38-table td:nth-child(7){overflow:visible}.v38-table tbody tr:last-child td{border-bottom:0}.v38-item-row{border-left:4px solid transparent;transition:background .16s ease,border-color .16s ease;cursor:pointer}.v38-item-row:hover{background:#FEF2F2;border-left-color:#EF4444}.v38-item-row.v38-selected{background:#FFF0F0;border-left-color:#EF4444}.v38-code{color:#0066FF;font-weight:800;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.v38-name{font-weight:800;color:#0F2D5B}.v38-number{text-align:right!important}.v38-cost{color:#64748B}.v38-price{font-weight:850;color:#0066FF}.v38-action-col{text-align:center}.v38-table .v31-actions{display:inline-block;position:relative}.v38-table .v31-actions summary{cursor:pointer;font-size:21px;line-height:30px;width:34px;height:34px;display:flex;justify-content:center;align-items:center;border:1px solid #DFE8F3;border-radius:9px;background:#fff;color:#64748B;list-style:none}.v38-table .v31-actions summary::-webkit-details-marker{display:none}.v38-table .v31-actions-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:40;min-width:155px;box-shadow:0 10px 26px #0F2D5B22}.v38-table .v31-actions-menu button{display:flex;align-items:center;gap:8px}.v38-table .v31-actions-menu .v38-menu-delete{color:#DC2626}.v38-table .v31-actions-menu .v38-menu-delete:hover{background:#FEF2F2}.v38-type{display:inline-flex;gap:7px;align-items:center;justify-content:flex-start;border-radius:999px;font-size:11px;font-weight:750;padding:5px 10px}.v38-type.produto{color:#0066FF;background:#E8F3FF}.v38-type.servico{color:#0F2D5B;background:#F1F5F9}.v38-empty{text-align:center!important;height:110px!important;color:#64748B;font-weight:550}.v38-product-form{padding:22px!important;gap:16px!important}.v38-product-form .com-field>span{font-size:12px;font-weight:780;color:#0F2D5B}.v38-kind-select{border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.v38-kind-select legend{font-size:12px;font-weight:800;color:#0F2D5B;margin-bottom:10px}.v38-kind-select label{border:1px solid #E2E8F0;border-radius:12px;display:flex;align-items:center;gap:9px;padding:12px;font-size:12px;font-weight:800;cursor:pointer}.v38-kind-select label:has(input:checked){border-color:#0066FF;background:#E8F3FF}.v38-kind-select input{width:auto!important;min-height:unset!important}.v38-kind-select label:has(input:disabled){cursor:default}.v38-form-note{font-size:11px;color:#8796AA;margin-top:-11px}.v38-money-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v38-form-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:12px;border-top:1px solid #E2E8F0;padding-top:16px}.v38-form-footer .btn{min-height:39px;font-size:12px}.v38-report-dialog{width:min(800px,calc(100vw - 20px));max-height:92dvh;overflow-y:auto;padding:0!important}.v38-report-dialog .com-modal-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.v38-report-dialog .com-modal-head h2{font-size:16px}.v38-report-dialog .com-modal-head small{color:#64748B}.v38-report-sheet{padding:24px;overflow-x:auto}.v38-report-title{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#0F2D5B}.v38-report-sheet>p{font-size:11px;margin:10px 0 18px}.v38-report-sheet table{border-collapse:collapse;width:100%;min-width:550px;text-align:left;font-size:11px}.v38-report-sheet th,.v38-report-sheet td{padding:9px;border-bottom:1px solid #E2E8F0}.v38-report-sheet th{color:#0F2D5B;background:#F8FAFC}.v38-report-sheet th:nth-child(n+4),.v38-report-sheet td:nth-child(n+4){text-align:right}.v38-report-sheet .v38-report-note{margin-top:14px;color:#64748B}.v38-report-foot{display:flex;justify-content:flex-end;padding:15px 20px;border-top:1px solid #E2E8F0;background:#F8FAFC}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:720px){.v38-panel{padding:15px}.v38-panel-heading{flex-wrap:wrap}.v38-panel-heading .btn{width:100%}.v38-filters>select{flex:1;min-width:120px}.v38-count{margin-left:0}.v38-bulk-line{align-items:flex-start;flex-direction:column}.v38-bulk-buttons{width:100%}.v38-product-form{padding:15px!important}.v38-money-fields{grid-template-columns:1fr}.v38-report-sheet{padding:14px}}
@media print{@page{size:A4;margin:13mm}body:has(#v38-report-modal[open]) *{visibility:hidden!important}body:has(#v38-report-modal[open]) #v38-print,body:has(#v38-report-modal[open]) #v38-print *{visibility:visible!important}body:has(#v38-report-modal[open]) #v38-print{position:fixed;left:0;top:0;width:100%;max-height:none!important;overflow:visible!important;padding:0!important;background:#fff!important}body:has(#v38-report-modal[open]) #v38-report-modal{position:static!important;border:0!important;box-shadow:none!important;overflow:visible!important;margin:0!important;max-width:100%!important;max-height:none!important}}

/* Menus do catálogo fora do recorte da rolagem horizontal */
.v38-table .v31-actions-menu{position:fixed;right:auto;top:auto;z-index:9999}
/* Evitar que a tabela force largura extra no mobile; a rolagem fica somente dentro do cartão. */
#section-content:has(.v38-catalog),.v38-catalog,.v38-panel,.v38-table-card,.v38-table-scroller{min-width:0;max-width:100%;box-sizing:border-box}
.v38-table-scroller{width:100%;overflow-x:auto;overflow-y:visible}
@media(max-width:720px){.v38-catalog{width:100%;min-width:0}.v38-filters{align-items:stretch}.v38-filters .v38-search{flex-basis:100%;min-width:0}.v38-filters>select{width:calc(50% - 6px);min-width:0;max-width:calc(50% - 6px)}.v38-count{width:100%;text-align:right}}

/* V3.8.1: hierarquia tipográfica e controles globais aprovados */
#section-content>.com-stack.v36-customers .v36-page-top h2,
#section-content>.com-stack.v37-orders .v36-page-top h2{display:block!important;font-size:16px!important;line-height:1.35!important;letter-spacing:normal!important;margin:0 0 5px!important;font-weight:800!important;color:#0F2D5B!important}
#section-content>.com-stack.v36-customers .v36-page-top p,
#section-content>.com-stack.v37-orders .v36-page-top p{font-size:12px!important;line-height:1.5!important;color:#64748B!important;font-weight:400!important;margin:0!important}
#section-content>.com-stack.v36-customers .v36-page-top,
#section-content>.com-stack.v37-orders .v36-page-top{padding:22px!important;min-height:82px;align-items:center}
/* O mesmo formato de Novo... independentemente da aba */
.ret-new-btn,
#section-content .v36-page-top .btn.btn-primary,
#section-content .v38-panel-heading .btn.btn-primary,
#section-content .com-heading [data-com^="new-"],
#section-content .com-heading [data-v3^="new-"]{box-sizing:border-box;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:40px!important;height:40px!important;border:1px solid #0066FF!important;border-radius:10px!important;background:#0066FF!important;color:#fff!important;padding:0 16px!important;font-size:13px!important;line-height:1.2!important;font-weight:750!important;white-space:nowrap!important;box-shadow:none!important;cursor:pointer}
.ret-new-btn:hover,
#section-content .v36-page-top .btn.btn-primary:hover,
#section-content .v38-panel-heading .btn.btn-primary:hover{background:#0055D4!important;border-color:#0055D4!important}
.ret-new-btn svg{width:16px;height:16px;flex-shrink:0;stroke:currentColor}
/* Sempre X branco e botão vermelho para fechar modais e formulários */
.com-close,.v36-x,.v37-close-form,.legal-close,
.v35-mini-dialog .com-close,.v38-report-dialog .com-close,
.com-dialog .com-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;border-radius:10px!important;background:#EF4444!important;color:#FFFFFF!important;font-size:22px!important;line-height:1!important;font-weight:750!important;cursor:pointer;box-shadow:none!important}
.com-close:hover,.v36-x:hover,.v37-close-form:hover,.legal-close:hover{background:#DC2626!important;color:#fff!important}
.com-close svg,.v36-x svg,.v37-close-form svg,.legal-close svg{color:#fff!important;stroke:#fff!important}
/* Ícone de serviço: estrelas laranja idênticas a Pedidos */
.v38-type.servico{color:#C96509;background:#FFF2E7}
.v38-type.servico svg,.v38-kind-select label:has(input[value="servico"]) svg{color:#FF8310!important;stroke:#FF8310!important}
.v38-kind-select label:has(input[value="servico"]:checked){background:#FFF4E9;border-color:#FF8310}
.v38-kind-select label:has(input[value="servico"]:checked) input{accent-color:#FF8310}
.v38-kind-select label:has(input[value="produto"]:checked) input{accent-color:#0066FF}
/* Menu real fora da rolagem da tabela: área de toque confortável */
.v38-table .v39-menu-trigger{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;min-height:42px;border:1px solid #DCE6F2;background:#fff;color:#0F2D5B;border-radius:10px;font-size:24px;line-height:1;cursor:pointer}
.v38-table .v39-menu-trigger:hover,.v38-table .v39-menu-trigger[aria-expanded="true"]{border-color:#0066FF;background:#E8F3FF;color:#0066FF}
.v39-floating-menu{position:fixed;z-index:2147483000;display:grid;min-width:184px;padding:5px;border:1px solid #DCE6F2;border-radius:12px;background:#FFF;box-shadow:0 14px 30px rgba(15,45,91,.22)}
.v39-floating-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:9px 12px;border:0;border-radius:8px;background:transparent;color:#0F2D5B;text-align:left;font-size:13px;font-weight:650;cursor:pointer}
.v39-floating-menu button:hover,.v39-floating-menu button:focus-visible{background:#E8F3FF}
.v39-floating-menu button[data-v38="delete"]{color:#DC2626}
.v39-floating-menu button[data-v38="delete"]:hover{background:#FEF2F2}
@media(max-width:720px){#section-content>.com-stack.v36-customers .v36-page-top,#section-content>.com-stack.v37-orders .v36-page-top{padding:15px!important}#section-content .v38-panel-heading .btn.btn-primary{width:100%!important}}

/* Retornei V3.9 — simulador e orçamentos; sem alterar Clientes, Pedidos ou Catálogo */
.v39-simulator-section{gap:20px;max-width:100%;--v39-blue:#0066FF;--v39-navy:#0F2D5B;--v39-border:#E2E8F0;--v39-muted:#64748B}
.v39-sim-panel,.v39-quote-section{border:1px solid var(--v39-border);background:#fff;border-radius:15px;box-shadow:0 2px 8px rgba(12,36,75,.025);overflow:hidden}
.v39-sim-panel{padding:22px;max-width:900px}
.v39-sim-panel-form{display:grid;gap:17px}
.v39-sim-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.v39-sim-grid label,.v39-quote-form label{min-width:0}
.v39-sim-grid .com-field{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--v39-navy)}
.v39-sim-grid input,.v39-sim-grid select{width:100%;height:40px;border:1px solid var(--v39-border);border-radius:9px;padding:8px 12px;background:#fff;font-size:13px;color:var(--v39-navy)}
.v39-sim-output{display:grid;gap:8px;background:#E8F3FF;border:1px solid #C9E0FF;border-radius:12px;padding:16px 18px;font-size:13px;color:var(--v39-navy)}
.v39-sim-output>strong{color:var(--v39-blue);font-size:17px;font-weight:800}.v39-sim-output>div{display:flex;flex-wrap:wrap;gap:8px 17px;color:var(--v39-muted);font-size:12px}
.v39-from-sim{height:40px;justify-content:center}
.v39-local-header{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #EDF1F6}
.v39-local-header h2{margin:0 0 5px;color:var(--v39-navy);font-size:16px;font-weight:800;line-height:1.35}
.v39-local-header p{margin:0;color:var(--v39-muted);font-size:12px;line-height:1.5}
.v39-local-header .ret-new-btn{height:40px;min-height:40px;flex-shrink:0;white-space:nowrap}
.v39-quote-filter{display:flex;align-items:center;flex-wrap:wrap;gap:11px;padding:16px 22px}
.v39-quote-filter input,.v39-quote-filter select{height:40px;min-width:0;border:1px solid var(--v39-border);border-radius:9px;background:#fff;color:var(--v39-navy);font-size:12px;padding:8px 13px}
.v39-quote-filter input{width:min(360px,100%);flex:1 1 215px}.v39-quote-filter select{flex:0 1 210px}
.v39-quote-filter>span{margin-left:auto;color:var(--v39-muted);font-size:12px}
.v39-quote-bulk{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin:0 22px 12px;min-height:46px;padding:6px 12px;border-radius:10px;background:#FAF7FF;border:1px solid #F0E4FF}
.v39-quote-bulk .muted{margin-right:auto;font-size:12px}.v39-selected-count{margin-right:auto;font-weight:800;font-size:12px;color:#7E22CE}.v39-danger{background:#FEF2F2;border:1px solid #FECACA;color:#B91C1C}
.v39-table-scroll{overflow-x:auto;overflow-y:visible}
.v39-quote-table{width:100%;min-width:900px;border-collapse:collapse;text-align:left;table-layout:auto}
.v39-quote-table th{background:#F8FAFC;color:#63748C;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.045em;padding:12px;white-space:nowrap;border-bottom:1px solid var(--v39-border)}
.v39-quote-table th:first-child,.v39-quote-table td:first-child{width:43px;text-align:center}
.v39-quote-table th:last-child,.v39-quote-table td:last-child{width:66px;text-align:center}
.v39-quote-row{height:65px;cursor:pointer;transition:background .16s ease;box-shadow:inset 4px 0 transparent}
.v39-quote-row:hover{background:#F3E8FF;box-shadow:inset 4px 0 #A855F7}
.v39-quote-row.v39-selected{background:#F5EDFF;box-shadow:inset 4px 0 #A855F7}
.v39-quote-row td{padding:12px;color:#293A52;border-bottom:1px solid #E9EEF5;font-size:12px;vertical-align:middle}
.v39-quote-number{white-space:nowrap;font-weight:800;color:#0066FF!important;font-variant-numeric:tabular-nums}
.v39-quote-row td strong{display:block;color:#0F2D5B;font-size:13px;font-weight:800}.v39-quote-row td small{display:block;margin-top:3px;color:#64748B;font-size:11px}
.v39-quote-value{font-weight:800;white-space:nowrap;text-align:right;color:#0F2D5B!important}
.v39-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:750;white-space:nowrap;border:1px solid transparent}
.v39-status.rascunho{color:#986112;background:#FFF6DE;border-color:#F7E7B7}.v39-status.enviado{background:#E8F3FF;color:#0066FF;border-color:#CFE2FB}
.v39-status.aprovado{background:#DCFCE7;color:#15803D;border-color:#B6E7C7}.v39-status.convertido{background:#F3E8FF;color:#7E22CE;border-color:#D8B4FE}.v39-status.recusado,.v39-status.cancelado{background:#FEE2E2;color:#B91C1C;border-color:#FECACA}
.v39-actions button[data-v39="menu"]{border:1px solid #E2E8F0;background:#fff;color:#0F2D5B;width:34px;height:34px;font-size:21px;border-radius:9px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.v39-actions button:hover{background:#F5F7FB}
.v39-floating-menu{position:fixed;z-index:100200;min-width:205px;background:#fff;border:1px solid #E2E8F0;border-radius:11px;padding:5px;box-shadow:0 15px 40px rgba(8,31,63,.19);display:grid;gap:2px}
.v39-floating-menu button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:#fff;padding:9px 11px;font-size:12px;text-align:left;color:#0F2D5B;border-radius:7px;font-weight:700;cursor:pointer}
.v39-floating-menu button:hover{background:#EFF5FF}.v39-floating-menu button.danger{color:#B91C1C}.v39-floating-menu button.danger:hover{background:#FEF2F2}.v39-floating-menu button:disabled{opacity:.4;cursor:not-allowed}
.v39-quote-section>.v33-pagination{margin:0;padding:15px 20px;border-top:1px solid #E6EDF6}
/* Formulário de orçamento: modal existente do app + novo conteúdo */
.com-dialog:has(.v39-quote-form){width:min(820px,calc(100vw - 24px));max-height:90dvh;overflow-y:auto;padding:0;border-radius:16px}
.com-dialog:has(.v39-quote-form)>.com-modal-head{position:sticky;top:0;z-index:5;background:#F8FAFC;padding:17px 22px;border-bottom:1px solid #E2E8F0}
.v39-quote-form{display:grid;gap:22px;padding:20px 24px 24px}
.v39-quote-form>section{display:grid;gap:13px}
.v39-quote-form section h3{font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:800;color:#0066FF;margin:0;padding-bottom:9px;border-bottom:1px solid #EDF1F6}
.v39-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v39-quote-form .com-field{display:grid;gap:5px;color:#0F2D5B;font-size:12px;font-weight:750}
.v39-quote-form .com-field input,.v39-quote-form .com-field textarea{width:100%;min-width:0;min-height:40px;border:1px solid #DDE5F0;border-radius:9px;background:#fff;padding:8px 11px;color:#0F2D5B;font-size:12px}
.v39-context-fields{display:grid;gap:9px}.v39-context-fields .com-field{margin:0}
.v39-full-customer{justify-self:start;font-size:12px}
.v39-quote-table-wrap{overflow-x:auto;overflow-y:visible}
.v39-quote-items{width:100%;min-width:550px;border-collapse:collapse}
.v39-quote-items th{font-size:11px;color:#64748B;text-align:left;border-bottom:1px solid #E2E8F0;padding:10px 6px}
.v39-quote-items th:nth-child(2){width:68px}.v39-quote-items th:nth-child(3){width:120px}.v39-quote-items th:nth-child(4){width:110px}.v39-quote-items th:nth-child(5){width:35px}
.v39-quote-item td{vertical-align:top;padding:9px 6px;border-bottom:1px solid #EDF1F6;font-size:12px}
.v39-quote-item td input:not([type=hidden]):not([type=checkbox]){width:100%;height:37px;border:1px solid #DDE5F0;border-radius:7px;padding:7px;color:#0F2D5B;font-size:12px;min-width:0}
.v39-quote-item td:nth-child(2) input{text-align:center}.v39-quote-item td:nth-child(3) input{text-align:right}.v39-quote-item td:nth-child(4){white-space:nowrap;text-align:right;padding-top:19px}
.v39-quote-item .v3-search{display:flex;position:relative;align-items:center;gap:4px}.v39-quote-item .v3-search input{flex:1;min-width:0}
.v39-quote-item .v3-search button{flex:0 0 34px;height:34px;border:1px solid #E2E8F0;background:#F8FAFC;border-radius:7px;color:#0066FF;display:grid;place-items:center}
.v39-quote-item .v3-suggest{position:relative;z-index:1}.v39-kind{display:inline-flex;align-items:center;justify-content:center;width:27px;height:24px;border:0;background:transparent;color:#718199}.v39-kind.service{color:#FF8310}
.v39-remove-line{color:#EF4444;font-size:22px;font-weight:800;display:grid;place-items:center;width:28px;height:32px;border:0;background:transparent}
.v39-add-item{border:1px solid #D2E4FF;background:#F0F7FF;color:#0066FF;font-size:12px;font-weight:800;padding:10px 13px;border-radius:9px;justify-self:start;display:flex;align-items:center;gap:8px}
.v39-quote-bottom{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px!important;align-items:start}
.v39-quote-totals{display:grid;gap:10px;background:#F8FAFC;border:1px solid #E2E8F0;border-radius:11px;padding:16px}
.v39-quote-totals>div{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;color:#64748B}
.v39-quote-totals strong{color:#0F2D5B;font-weight:800}
.v39-quote-totals .v3-discount-input{display:flex;gap:5px;align-items:center}.v39-quote-totals .v3-discount-input input{width:85px;min-height:33px;text-align:right;padding:6px;border:1px solid #DDE5F0;border-radius:7px;background:#fff}
.v39-quote-totals .v39-grand-total{border-top:1px solid #E2E8F0;padding-top:10px;font-weight:800;color:#0066FF}.v39-grand-total strong{color:#0066FF;font-size:16px}
.v39-quote-footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;border-top:1px solid #E2E8F0;padding-top:16px}.v39-quote-footer .btn{min-height:40px}
.v39-report-dialog{width:min(850px,calc(100vw - 22px));max-height:90vh;overflow-y:auto}
.v39-printable{padding:20px 24px}.v39-print-heading{display:flex;justify-content:space-between;align-items:center}.v39-print-heading h2{color:#0F2D5B}.v39-printable table{border-collapse:collapse;width:100%;font-size:12px;margin-top:16px}.v39-printable th,.v39-printable td{text-align:left;padding:11px 7px;border-bottom:1px solid #E2E8F0}.v39-printable th:last-child,.v39-printable td:last-child{text-align:right}.v39-print-actions{padding:12px 24px 20px;display:flex;justify-content:flex-end}
@media(max-width:760px){.v39-sim-grid,.v39-two-col,.v39-quote-bottom{grid-template-columns:1fr}.v39-sim-panel{padding:15px}.v39-local-header{padding:17px;align-items:flex-start;flex-direction:column}.v39-quote-filter{padding:13px}.v39-quote-bulk{margin:0 12px 12px;justify-content:flex-start}.v39-quote-form{padding:14px}.v39-quote-filter select{flex:1 1 140px}.v39-quote-filter>span{margin-left:0}.v39-quote-table{min-width:790px}}
@media print{body:has(#v39-quote-report[open]) *{visibility:hidden!important}body:has(#v39-quote-report[open]) #v39-printable,body:has(#v39-quote-report[open]) #v39-printable *{visibility:visible!important}body:has(#v39-quote-report[open]) #v39-printable{position:fixed;inset:0;width:100%;background:#fff;padding:10mm!important;z-index:999999}}
.v39-quote-form .com-field select{width:100%;min-height:40px;border:1px solid #DDE5F0;border-radius:9px;background:#fff;padding:8px 11px;color:#0F2D5B;font-size:12px}

/* V4.0 — Retornos integrados · usa o design system do Retornei */
.v40-returns{gap:16px}.v40-return-panel{background:#fff;border:1px solid #E2E8F0;border-radius:14px;overflow:hidden}.v40-return-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 22px 16px}.v40-return-head h2{margin:0 0 5px;color:#0F2D5B;font-size:16px;line-height:1.35;font-weight:800}.v40-return-head p{margin:0;font-size:12px;line-height:1.5;color:#64748B}.v40-return-head .btn{height:40px;min-height:40px;white-space:nowrap}.v40-return-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 22px;padding:14px 0;border-top:1px solid #EEF1F6;border-bottom:1px solid #EEF1F6}.v40-tab{display:inline-flex;align-items:center;gap:6px;min-height:33px;border:1px solid transparent;background:#F1F5F9;border-radius:8px;padding:7px 12px;color:#526781;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s ease,color .15s ease}.v40-tab:hover{background:#E8F3FF;color:#0066FF}.v40-tab.active{background:#0066FF;border-color:#0066FF;color:white}.v40-tab span{font-variant-numeric:tabular-nums}.v40-return-filters{display:flex;align-items:center;gap:10px;padding:16px 22px;flex-wrap:wrap}.v40-return-filters label{min-width:0}.v40-return-filters label:first-child{flex:1 1 245px}.v40-return-filters input,.v40-return-filters select{width:100%;min-height:40px;border:1px solid #DCE5F0;border-radius:9px;background:#fff;color:#0F2D5B;padding:8px 11px;font:inherit;font-size:12px}.v40-return-filters input[type=date]{width:142px;max-width:100%}.v40-date-separator{font-size:12px;color:#718198}.v40-total{font-size:12px;color:#64748B;margin-left:auto;white-space:nowrap}.v40-return-bulk{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:54px;padding:9px 22px;background:#F8FBFF;border-top:1px solid #E9F0FA;color:#0F2D5B;font-size:12px;font-weight:700}.v40-bulk-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.v40-bulk-buttons .btn{height:34px;min-height:34px;padding:6px 11px;font-size:12px}.v40-table-scroll{background:#fff;border:1px solid #E2E8F0;border-radius:14px;overflow-x:auto}.v40-return-table{width:100%;min-width:910px;border-collapse:collapse;table-layout:fixed;font-size:12px;color:#1E293B}.v40-return-table th{padding:13px 11px;text-align:left;background:#F8FAFC;border-bottom:1px solid #E2E8F0;font-size:11px;letter-spacing:.03em;text-transform:uppercase;color:#0F2D5B;white-space:nowrap;font-weight:800}.v40-return-table th:first-child,.v40-return-table td:first-child{text-align:center}.v40-return-table th:last-child,.v40-return-table td:last-child{text-align:center}.v40-return-table td{border-bottom:1px solid #E9EEF5;padding:13px 11px;height:64px;vertical-align:middle}.v40-return-table tr:last-child td{border-bottom:0}.v40-return-row{transition:background .15s ease;box-shadow:inset 4px 0 transparent}.v40-return-row:hover{background:#E8F3FF;box-shadow:inset 4px 0 #BFDBFE}.v40-return-row.selected{background:#DBEAFE;box-shadow:inset 4px 0 #0066FF}.v40-return-table input[type=checkbox]{accent-color:#0066FF;width:15px;height:15px;cursor:pointer}.v40-doc button{border:0;background:none;color:#0066FF;padding:3px 0;text-align:left;font-weight:800;cursor:pointer;font-size:12px}.v40-doc button:hover{text-decoration:underline}.v40-doc span{color:#64748B}.v40-customer strong{display:block;color:#0F2D5B;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v40-item{line-height:1.5}.v40-item>span:last-child{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v40-type{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:800;padding:2px 7px;border-radius:999px;margin-bottom:4px}.v40-type.produto{background:#E8F3FF;color:#0066FF}.v40-type.servico{background:#FFF2E5;color:#FF8310}.v40-date{color:#0F2D5B;font-weight:750;font-variant-numeric:tabular-nums}.v40-status{display:inline-flex;padding:5px 9px;border-radius:20px;font-weight:800;font-size:11px;white-space:nowrap}.v40-status.pendente{background:#FEF3C7;color:#A16207}.v40-status.atrasado{background:#FEE2E2;color:#B91C1C}.v40-status.contatado{background:#E8F3FF;color:#0066FF}.v40-status.concluido{background:#DCFCE7;color:#15803D}.v40-status.cancelado{background:#F1F5F9;color:#64748B}.v40-contact-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:35px;white-space:nowrap;padding:6px 12px;border:1px solid #D6E8FF;border-radius:8px;background:#E8F3FF;color:#0066FF;font-size:12px;font-weight:800;cursor:pointer}.v40-contact-button:hover{background:#D7E9FF}.v40-empty{color:#718198;text-align:center!important;padding:34px!important}.v40-contact-pop{position:fixed;z-index:4000;width:300px;max-width:calc(100vw - 16px);padding:15px;border:1px solid #D9E4F0;border-radius:15px;background:#fff;color:#0F2D5B;box-shadow:0 20px 50px rgba(15,45,91,.23);font-size:12px}.v40-contact-pop header{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid #E9EEF5}.v40-contact-pop header strong{font-size:14px}.v40-contact-pop header .com-close{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;flex-basis:32px!important}.v40-contact-pop>div{display:grid;gap:4px;padding:12px 0}.v40-contact-pop small{margin-top:7px;color:#64748B;text-transform:uppercase;font-size:10px;font-weight:750}.v40-contact-pop span{overflow-wrap:anywhere}.v40-whatsapp{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:39px;border:0;border-radius:8px;background:#15803D;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.v40-whatsapp:hover{background:#166534}.v40-contact-pop footer{display:flex;gap:6px;margin-top:12px;padding-top:12px;border-top:1px solid #E9EEF5}.v40-contact-pop footer button{flex:1;border:1px solid #DCE6F0;background:#F8FAFC;padding:9px 7px;border-radius:8px;font-size:11px;color:#0F2D5B;font-weight:800;cursor:pointer}.v40-contact-pop footer button:hover{background:#E8F3FF}
@media(max-width:760px){.v40-return-head{padding:16px;align-items:flex-start;flex-direction:column}.v40-return-head .btn{align-self:flex-start}.v40-return-tabs{margin:0 16px;padding:12px 0;gap:6px}.v40-tab{font-size:11px;padding:6px 9px}.v40-return-filters{padding:14px 16px;gap:8px}.v40-return-filters label:first-child{flex:1 1 100%}.v40-return-filters label{flex:1 1 120px}.v40-return-filters input[type=date]{width:100%}.v40-date-separator{flex:none}.v40-total{margin-left:0}.v40-return-bulk{padding:10px 16px;flex-direction:column;align-items:flex-start}.v40-bulk-buttons{width:100%}}

/* V4.1 — Cards de retornos e ações persistentes. Base visual V3.6/V4.0 preservada. */
.v41-overview{margin:0;display:grid;gap:18px}
.v41-period{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:76px;padding:16px 20px;border:1px solid #E2E8F0;border-radius:14px;background:#FFF;box-shadow:0 2px 4px rgba(15,45,91,.04)}
.v41-period-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.v41-period-buttons>strong{font-size:14px;color:#0F2D5B;margin-right:5px}
.v41-period-btn{border:0;border-radius:100px;padding:9px 16px;min-height:36px;background:#F1F5F9;color:#64748B;font-size:13px;font-weight:750;cursor:pointer;transition:background .15s,color .15s}
.v41-period-btn:hover{background:#E8F3FF;color:#0066FF}.v41-period-btn.active{background:#0066FF;color:#FFF}.v41-updated{color:#64748B;font-size:12px;white-space:nowrap}.v41-updated b{color:#0F2D5B}
.v41-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.v41-stat-card{min-height:172px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:22px 24px;border:1px solid #DFE7F2;border-radius:16px;background:#FFF;box-shadow:0 2px 4px rgba(15,45,91,.045)}
.v41-stat-name{font-size:15px;line-height:1.3;font-weight:750;color:#64748B}.v41-stat-count{margin-top:10px;font-size:34px;line-height:1.1;font-weight:850;font-variant-numeric:tabular-nums;color:#0F2D5B}.v41-stat-note{margin-top:12px;font-size:12px;line-height:1.4;font-weight:650;color:#0066FF}
.v41-atrasados .v41-stat-count{color:#DC2626}.v41-atrasados .v41-stat-note{color:#EF4444}.v41-contatados .v41-stat-note{color:#64748B}.v41-concluidos .v41-stat-count,.v41-concluidos .v41-stat-note{color:#16A34A}
.v41-actions-cell{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.v41-more{display:inline-grid;place-items:center;width:36px;height:36px;flex:none;border:1px solid #DCE7F3;border-radius:9px;background:#FFF;color:#526989;font-size:23px;line-height:1;cursor:pointer;transition:background .15s,border-color .15s}.v41-more:hover,.v41-more[aria-expanded=true]{background:#E8F3FF;border-color:#9DC4FB;color:#0066FF}
.v41-return-menu{position:fixed;z-index:5000;min-width:210px;padding:6px;border-radius:12px;background:#FFF;border:1px solid #DCE7F3;box-shadow:0 18px 50px rgba(15,45,91,.2)}.v41-return-menu>button{display:flex;align-items:center;gap:9px;width:100%;padding:11px 12px;text-align:left;border:0;border-radius:7px;background:#FFF;color:#0F2D5B;font-size:12px;font-weight:750;cursor:pointer}.v41-return-menu>button:hover{background:#F0F7FF}.v41-return-menu>button.v41-danger{color:#DC2626}.v41-return-menu>button.v41-danger:hover{background:#FFF1F2}
.v41-schedule-dialog{width:min(475px,calc(100vw - 24px));max-height:min(90vh,720px);padding:0!important;overflow:auto}.v41-schedule-dialog .com-modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #E3ECF6}.v41-schedule-dialog .com-modal-head h2{margin:0;color:#0F2D5B;font-size:17px}.v41-schedule-dialog .com-modal-head small{display:block;margin-top:6px;color:#64748B;font-size:12px}.v41-schedule-dialog .com-close{background:#EF4444!important;color:#FFF!important;width:36px!important;height:36px!important;flex:none}.v41-reschedule-body{padding:20px;display:grid;gap:15px}.v41-reschedule-body>label{display:grid;gap:8px;color:#0F2D5B;font-size:12px;font-weight:750}.v41-reschedule-body input{min-height:42px;border:1px solid #D5E2F0;border-radius:9px;padding:8px 10px;color:#0F2D5B;background:#FFF;font:inherit}.v41-reschedule-body>p{margin:0;padding:12px;border-radius:9px;background:#F6FAFF;color:#526989;font-size:12px;line-height:1.5}.v41-schedule-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:5px}.v41-schedule-actions .btn{min-height:40px}
@media(max-width:1050px){.v41-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v41-period{align-items:flex-start;flex-direction:column}.v41-stat-card{min-height:156px}}
@media(max-width:620px){.v41-overview{margin:0;gap:12px}.v41-period{padding:12px 13px;gap:12px}.v41-period-buttons{gap:6px}.v41-period-buttons>strong{width:100%;font-size:12px}.v41-period-btn{padding:7px 11px;min-height:33px;font-size:11px}.v41-stat-grid{gap:10px}.v41-stat-card{min-height:145px;padding:15px 13px}.v41-stat-name{font-size:12px}.v41-stat-count{font-size:28px}.v41-stat-note{font-size:11px}.v41-updated{font-size:11px}}
/* RETORNEI V4.2 — interface responsiva: apenas apresentação, nenhuma alteração de dados */
:root{--ret-app-blue:#0066FF;--ret-app-navy:#0F2D5B;--ret-app-line:#E2E8F0;--ret-app-red:#EF4444}
@media (max-width:1024px) and (min-width:821px){
  .app-frame{grid-template-columns:1fr}
  .sidebar{position:fixed;z-index:42;inset:0 auto 0 0;width:min(310px,86vw);transform:translateX(-110%);transition:transform .2s;box-shadow:0 0 50px #11223328}
  .sidebar.open{transform:translateX(0)}
  .menu-shade.open{display:block;position:fixed;inset:0;z-index:41;background:#142c4566}
  .mobile-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.mobile-head .mini-brand{margin:0}
  .app-content{padding:20px 24px calc(92px + env(safe-area-inset-bottom));min-width:0}
  .bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:35;justify-content:space-around;align-items:stretch;background:#fff;border-top:1px solid #dce6f2;box-shadow:0 -8px 22px #0F2D5B0A;padding:7px 12px calc(7px + env(safe-area-inset-bottom))}
  .bottom-nav button{flex:1;min-width:0;min-height:54px;display:grid;place-items:center;gap:2px;border:0;background:transparent;color:#617595}
  .bottom-nav button.active{color:var(--ret-app-blue)}
  .screen-wrap{width:100%;max-width:100%;min-width:0}
  .top-notification{display:none}
}
@media(max-width:1024px){
  .app-content,.screen-wrap,#section-content,#section-content>.com-stack{min-width:0;max-width:100%}
  .com-panels{grid-template-columns:1fr}
  .com-dialog{max-width:calc(100vw - 28px)}
  .v39-quote-table-wrap,.v38-table-scroller,.v37-table-scroll,.v40-table-scroll,.v36-table-scroll{max-width:100%}
  .v41-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v41-stat-card{min-width:0}
  .v39-quote-table{min-width:0}
}
@media(max-width:900px){
  html,body{max-width:100%;overflow-x:clip}
  .app-content{padding:10px 12px calc(92px + env(safe-area-inset-bottom))}
  .mobile-head{min-height:50px;margin:0 0 10px}
  .topbar{margin-bottom:13px;gap:9px}
  .topbar h1,.topbar h2{font-size:clamp(20px,5vw,25px);line-height:1.16}
  .com-stack{gap:13px}
  .com-heading{gap:10px}
  .com-stats,.stats,.v41-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .com-stat,.v41-stat-card{min-height:120px;padding:14px 12px;border-radius:14px}
  .com-stat strong{font-size:clamp(20px,6vw,29px)}
  .v41-stat-card{min-height:131px}
  .v41-stat-name{font-size:12px;line-height:1.35}
  .v41-stat-count{font-size:clamp(26px,8vw,35px)}
  .v41-stat-note{font-size:11px;line-height:1.35}
  .v41-period{gap:10px;padding:12px}
  .v41-period-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:5px}
  .v41-period-buttons>strong{grid-column:1/-1}
  .v41-period-btn{padding:8px 1px;min-width:0;font-size:11px;min-height:40px}
  .v41-updated{align-self:flex-end}
  .v36-page-top,.v38-panel-heading,.v40-return-head,.v39-quote-heading,.v37-inline-heading{gap:10px;align-items:flex-start;flex-wrap:wrap}
  .v36-page-top .btn,.v38-panel-heading .btn,.v40-return-head .btn,.v39-quote-heading .btn{width:100%;min-height:46px}
  .ret-new-btn,.btn.btn-primary,.btn.btn-soft{min-height:44px}
  .com-search,.v36-controls input,.v37-filters input,.v37-filters select,.v38-filters input,.v38-filters select,.v39-quote-filter input,.v39-quote-filter select,.v40-return-filters input,.v40-return-filters select{min-height:44px;font-size:14px}
  .v37-filters,.v38-filters,.v39-quote-filter,.v40-return-filters{gap:9px}
  .v37-filters>label:first-child,.v38-filters .v38-search,.v40-return-filters>label:first-child{flex:1 1 100%;width:100%}
  .v40-return-filters .v40-date-separator{flex:none}
  .v36-bulk,.v37-bulk,.v38-bulk-line,.v39-quote-bulk,.v40-return-bulk{gap:9px;min-height:52px}
  .v36-bulk-tools,.v38-bulk-buttons,.v40-bulk-buttons{flex-wrap:wrap}
  .v36-bulk button,.v37-bulk button,.v38-bulk-line button,.v39-quote-bulk button,.v40-return-bulk button{min-height:42px}
  .v36-table-scroll,.v37-table-scroll,.v38-table-scroller,.v39-quote-table-wrap,.v40-table-scroll{overflow:visible!important;max-width:100%}
  .v37-orders-table,.v38-table,.v39-quote-table,.v40-return-table{min-width:0!important;width:100%;display:block;table-layout:auto}
  .v37-orders-table colgroup,.v38-table colgroup,.v40-return-table colgroup,.v39-quote-table colgroup,
  .v37-orders-table thead,.v38-table thead,.v39-quote-table thead,.v40-return-table thead{display:none!important}
  .v37-orders-table tbody,.v38-table tbody,.v39-quote-table tbody,.v40-return-table tbody{display:grid;width:100%;gap:9px}
  .v37-orders-table tr.v37-order-row,.v38-table tr.v38-item-row,.v39-quote-table tr.v39-quote-row,.v40-return-table tr.v40-return-row{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-auto-flow:row;gap:7px 10px;min-height:0!important;
    padding:14px 13px!important;border:1px solid #e2e8f0!important;border-left:4px solid transparent!important;border-radius:14px;background:#fff;box-shadow:0 2px 9px #12345609;
    width:100%;position:relative;overflow:visible;
  }
  .v37-orders-table tr.v37-order-row:has(input:checked),.v38-table tr.v38-item-row:has(input:checked),.v39-quote-table tr.v39-quote-row:has(input:checked),.v40-return-table tr.v40-return-row:has(input:checked){border-left-color:#0066FF!important;background:#f4f9ff}
  .v37-orders-table td,.v38-table td,.v39-quote-table td,.v40-return-table td{display:block!important;grid-column:1/-1;grid-row:auto!important;min-width:0;width:auto!important;height:auto!important;padding:0!important;border:0!important;align-self:center;text-align:left!important;white-space:normal!important;line-height:1.4}
  .v37-orders-table td::before,.v38-table td::before,.v39-quote-table td::before,.v40-return-table td::before{display:block;color:#788ba4;font-size:10px;line-height:1.1;font-weight:800;letter-spacing:.035em;text-transform:uppercase;margin-bottom:3px}
  .v37-orders-table td:first-child,.v38-table td:first-child,.v39-quote-table td:first-child,.v40-return-table td:first-child{grid-column:1;grid-row:1!important;justify-self:start}
  .v37-orders-table td:first-child::before,.v38-table td:first-child::before,.v39-quote-table td:first-child::before,.v40-return-table td:first-child::before{display:none}
  .v37-orders-table td:nth-child(2),.v38-table td:nth-child(2),.v39-quote-table td:nth-child(2),.v40-return-table td:nth-child(2){grid-column:1;grid-row:2!important;justify-self:start;font-weight:800}
  .v37-orders-table td:nth-child(3),.v38-table td:nth-child(4),.v39-quote-table td:nth-child(3),.v40-return-table td:nth-child(3){grid-column:1/-1;grid-row:3!important;font-weight:750;color:#0f2d5b;font-size:14px}
  .v37-orders-table td:last-child,.v38-table td:last-child,.v39-quote-table td:last-child,.v40-return-table td:last-child{grid-column:2;grid-row:1/3!important;justify-self:end;align-self:start}
  .v37-orders-table td:last-child::before,.v38-table td:last-child::before,.v39-quote-table td:last-child::before,.v40-return-table td:last-child::before{display:none}
  .v37-orders-table td:nth-child(4)::before{content:'Atendimento'}
  .v37-orders-table td:nth-child(5)::before{content:'Total'}
  .v37-orders-table td:nth-child(6)::before{content:'Data'}
  .v37-orders-table td:nth-child(7)::before{content:'Situação'}
  .v38-table td:nth-child(3)::before{content:'Tipo'}
  .v38-table td:nth-child(5)::before{content:'Custo'}
  .v38-table td:nth-child(6)::before{content:'Preço de venda'}
  .v39-quote-table td:nth-child(4)::before{content:'Atendimento'}
  .v39-quote-table td:nth-child(5)::before{content:'Total'}
  .v39-quote-table td:nth-child(6)::before{content:'Data'}
  .v39-quote-table td:nth-child(7)::before{content:'Situação'}
  .v40-return-table td:nth-child(4)::before{content:'Produto ou serviço'}
  .v40-return-table td:nth-child(5)::before{content:'Retorno'}
  .v40-return-table td:nth-child(6)::before{content:'Situação'}
  .v37-orders-table .v37-actions,.v38-table .v38-action-col,.v39-quote-table .v39-actions{z-index:2}
  .v37-orders-table .v37-code button,.v37-orders-table .v37-customer button{font-size:inherit;text-align:left;max-width:100%}
  .v37-orders-table td.v37-total,.v39-quote-table td.v39-quote-value,.v38-table td.v38-price{font-weight:850;color:#0066FF}
  .v40-return-table .v41-actions-cell{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
  .v40-return-table .v40-contact-button,.v40-return-table .v41-more,.v39-quote-table [data-v39='menu'],.v38-table .v39-menu-trigger,.v37-orders-table .v31-actions>summary{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .v40-return-table td.v40-item,.v37-orders-table td.v37-context,.v39-quote-table td.v39-quote-context{overflow-wrap:anywhere}
  .v40-return-table td.v40-doc button{font-weight:800}
  .v36-table tr.v36-customer-row{border-radius:13px;min-height:0}
  .v36-table .v36-contact-btn,.v36-table .v36-row-actions button,.v36-table .v36-row-actions summary{min-height:44px;min-width:44px}
  .v33-pagination{flex-wrap:wrap;gap:7px}
  .com-dialog,.v36-profile-dialog,.v34-profile-dialog,.v35-mini-dialog,.v41-schedule-dialog{width:100%!important;max-width:100%!important;min-height:0;max-height:calc(100dvh - env(safe-area-inset-top) - 8px)!important;border-radius:18px 18px 0 0!important;margin:auto 0 0!important;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom)}
  dialog::backdrop{background:#13294699}
  .com-modal-head,.v36-profile-head,.v34-profile-header{position:sticky;top:0;z-index:7;background:#fff;padding:13px 16px;gap:10px}
  .com-close,.v36-x,.v34-profile-header .com-close{display:inline-grid;place-items:center;min-width:44px;min-height:44px;width:44px;height:44px;background:#EF4444!important;color:#fff!important;border-radius:11px;font-size:22px;flex:none}
  .v36-form-body,.v36-profile-form,.v34-profile-form,.v39-quote-form,.com-dialog .com-form{padding:15px!important}
  .v36-form-body .v36-fields,.v36-address-fields,.v36-contact-fields,.v39-two-col,.v37-context-grid{grid-template-columns:1fr 1fr;gap:10px}
  .v36-form-body input,.v36-form-body textarea,.v34-profile-form input,.v39-quote-form input,.v39-quote-form select,.v37-order-form input,.v37-order-form select,.com-dialog input,.com-dialog select,.com-dialog textarea{min-height:44px;font-size:16px;max-width:100%}
  .v36-profile-foot,.v34-profile-actions,.v37-submit,.v31-submit,.v39-quote-form .v39-quote-bottom{padding-bottom:12px}
  .v37-inline-screen{padding:14px 12px 20px;border-radius:14px;margin-bottom:12px}
  .v37-inline-heading{align-items:flex-start}
  .v37-inline-heading h2{font-size:20px}
  .v37-item .v32-item-grid{grid-template-columns:repeat(3,minmax(0,1fr)) 44px 44px 40px;gap:7px 6px}
  .v37-item .v32-name{grid-column:1/-1;grid-row:1}
  .v37-item .v32-code{grid-column:1/4;grid-row:2}
  .v37-item .v32-cost{grid-column:1;grid-row:3}
  .v37-item .v32-qty{grid-column:2;grid-row:3}
  .v37-item .v32-price{grid-column:3/7;grid-row:3}
  .v37-item .v32-action{min-width:40px;min-height:44px}
  .v39-quote-form>.v42-mobile-step,.v37-order-form>.v42-mobile-step{display:block;min-width:0;border:1px solid #dce6f3;border-radius:16px;background:#fff;overflow:visible}
  .v42-mobile-step>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:13px 15px;font-size:14px;font-weight:850;color:#0F2D5B;cursor:pointer;list-style:none}
  .v43-step-title{display:inline-flex;align-items:center;gap:10px;min-width:0}
  .v43-step-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;background:#e8f3ff;color:#0066FF}
  .v42-mobile-step>summary::-webkit-details-marker{display:none}
  .v42-mobile-step>summary::after{content:'+';display:grid;place-items:center;flex:none;width:28px;height:28px;background:#e8f3ff;border-radius:8px;color:#0066FF;font-size:20px}
  .v42-mobile-step[open]>summary::after{content:'−'}
  .v42-mobile-step>section,.v42-mobile-step>.v43-order-notes{border:0!important;margin:0!important;border-top:1px solid #e5eef8!important;border-radius:0!important;padding:13px!important;box-shadow:none;background:transparent!important}
  .v42-mobile-step .v42-next-btn{display:flex;align-items:center;justify-content:center;width:calc(100% - 26px);min-height:44px;margin:0 13px 13px;border:1px solid #bfdaff;border-radius:9px;background:#edf5ff;color:#0066FF;font-size:13px;font-weight:800}
  .v43-mobile-step-customer{background:#f4f9ff;border-color:#cfe1ff}
  .v43-mobile-step-customer>summary{color:#0f5fd6}
  .v43-mobile-step-customer>summary::after,.v43-mobile-step-customer .v43-step-icon{background:#e6f0ff;color:#0f5fd6}
  .v43-mobile-step-items{background:#fff8f1;border-color:#ffdcb4}
  .v43-mobile-step-items>summary{color:#c56a03}
  .v43-mobile-step-items>summary::after,.v43-mobile-step-items .v43-step-icon{background:#fff0db;color:#c56a03}
  .v43-mobile-step-items .v42-next-btn{background:#fff4e7;border-color:#ffd4a6;color:#c56a03}
  .v43-mobile-step-totals{background:#f3fbf6;border-color:#bfe5ca}
  .v43-mobile-step-totals>summary{color:#1f7a4f}
  .v43-mobile-step-totals>summary::after,.v43-mobile-step-totals .v43-step-icon{background:#e6f7ec;color:#1f7a4f}
  .v43-mobile-step-totals .v3-grand span,.v43-mobile-step-totals .v3-grand b{color:#166534}
  .v43-mobile-step-notes{background:#fbfcfe;border-color:#dbe4f0}
  .v43-mobile-step-notes>summary{color:#516781}
  .v43-mobile-step-notes>summary::after,.v43-mobile-step-notes .v43-step-icon{background:#eef3f8;color:#516781}
  .v39-quote-table-wrap{overflow:visible!important}
  .v39-quote-items,.v39-quote-items tbody{display:block;min-width:0!important;width:100%}
  .v39-quote-items thead{display:none}
  .v39-quote-items tr.v39-quote-item{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:8px;padding:12px 10px;border:1px solid #e0e8f4;border-radius:11px;margin-bottom:9px}
  .v39-quote-items tr.v39-quote-item td{display:block;min-width:0;padding:0;width:auto!important}
  .v39-quote-items tr.v39-quote-item td:first-child{grid-column:1/-1}
  .v39-quote-items tr.v39-quote-item td:nth-child(2){grid-column:1}
  .v39-quote-items tr.v39-quote-item td:nth-child(3){grid-column:2}
  .v39-quote-items tr.v39-quote-item td:nth-child(4){grid-column:1/3}
  .v39-quote-items tr.v39-quote-item td:last-child{grid-column:3;grid-row:2/4;align-self:end}
  .v39-quote-items tr.v39-quote-item td input{width:100%;min-width:0;min-height:44px}
  .v39-quote-items tr.v39-quote-item td:nth-child(2)::before{content:'Quantidade';display:block;font-size:10px;color:#6c809f;font-weight:750}
  .v39-quote-items tr.v39-quote-item td:nth-child(3)::before{content:'Preço unitário';display:block;font-size:10px;color:#6c809f;font-weight:750}
  .v39-quote-items tr.v39-quote-item td:nth-child(4)::before{content:'Subtotal';display:block;font-size:10px;color:#6c809f;font-weight:750}
  .v39-remove-line{min-width:44px;min-height:44px}
  .v39-quote-bottom{grid-template-columns:1fr!important}
  .v39-quote-totals{width:100%}
  .v39-quote-form .v39-quote-actions,.v37-submit{display:flex;flex-wrap:wrap;gap:8px}
  .v39-quote-form .v39-quote-actions>*{flex:1 1 auto;min-height:46px}
  .bottom-nav button{min-height:56px;touch-action:manipulation}
  .com-card,.v38-panel,.v40-return-panel{border-radius:14px}
}
@media(max-width:390px){
  .app-content{padding-left:10px;padding-right:10px}
  .v36-address-fields,.v36-contact-fields,.v39-two-col{grid-template-columns:1fr}
  .v41-period-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v37-item .v32-item-grid{grid-template-columns:repeat(2,minmax(0,1fr)) 44px 44px}
  .v37-item .v32-name{grid-column:1/-1}
  .v37-item .v32-code{grid-column:1/-1}
  .v37-item .v32-cost{grid-column:1;grid-row:auto}
  .v37-item .v32-qty{grid-column:2;grid-row:auto}
  .v37-item .v32-price{grid-column:1/3;grid-row:auto}
  .v37-item .v32-action{grid-row:auto}
}

/* Ajustes de legibilidade para cartões em celulares e tablets compactos */
@media (max-width:900px){
  .v37-orders-table tr.v37-order-row td,.v38-table tr.v38-item-row td,.v39-quote-table tr.v39-quote-row td,.v40-return-table tr.v40-return-row td{font-size:13px}
  .v37-orders-table tr.v37-order-row td:nth-child(2),.v38-table tr.v38-item-row td:nth-child(2),.v39-quote-table tr.v39-quote-row td:nth-child(2),.v40-return-table tr.v40-return-row td:nth-child(2){font-size:13px}
  .v37-orders-table td::before,.v38-table td::before,.v39-quote-table td::before,.v40-return-table td::before{font-size:11px}
  .v37-orders-table td.v37-total,.v39-quote-table td.v39-quote-value,.v38-table td.v38-price{font-size:15px}
  .v39-quote-table tr.v39-quote-row:focus-within,.v40-return-table tr.v40-return-row:focus-within,.v38-table tr.v38-item-row:focus-within,.v37-orders-table tr.v37-order-row:focus-within{outline:2px solid #b8d8ff;outline-offset:1px}
  .com-dialog .v42-mobile-step:focus-within{border-color:#98c2ff}
  .v42-mobile-step>summary{scroll-margin-top:70px}
  .v42-mobile-step .v42-next-btn{touch-action:manipulation}
}
@media (max-width:600px){
  .v37-filters,.v38-filters,.v39-quote-filter,.v40-return-filters{font-size:13px}
  .v33-pagination{font-size:12px}
  .v41-stat-card{min-height:136px}
}
/* Cards menores: valores lado a lado e ações preservadas */
@media(max-width:900px){
  .v38-table tr.v38-item-row td:nth-child(3){grid-column:1/-1;grid-row:4!important}
  .v38-table tr.v38-item-row td:nth-child(4){grid-column:1/-1;grid-row:3!important}
  .v38-table tr.v38-item-row td:nth-child(5),.v37-orders-table tr.v37-order-row td:nth-child(5),.v39-quote-table tr.v39-quote-row td:nth-child(5),.v40-return-table tr.v40-return-row td:nth-child(5){grid-column:1;grid-row:5!important}
  .v38-table tr.v38-item-row td:nth-child(6),.v37-orders-table tr.v37-order-row td:nth-child(6),.v39-quote-table tr.v39-quote-row td:nth-child(6),.v40-return-table tr.v40-return-row td:nth-child(6){grid-column:2;grid-row:5!important;justify-self:end;text-align:right!important}
  .v37-orders-table tr.v37-order-row td:nth-child(7),.v39-quote-table tr.v39-quote-row td:nth-child(7){grid-column:1/-1;grid-row:6!important}
  .v38-table td.v38-price,.v37-orders-table td.v37-total,.v39-quote-table td.v39-quote-value{white-space:nowrap}
}
@media(min-width:620px) and (max-width:900px){
  .v37-orders-table tbody,.v38-table tbody,.v39-quote-table tbody,.v40-return-table tbody{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .v37-orders-table tr.v37-order-row,.v38-table tr.v38-item-row,.v39-quote-table tr.v39-quote-row,.v40-return-table tr.v40-return-row{align-content:start}
  .v36-page-top .btn,.v38-panel-heading .btn,.v40-return-head .btn,.v39-quote-heading .btn{width:auto;min-width:155px}
}

/* RETORNEI V4.3 - listagens mobile (Clientes, Pedidos, Catálogo).
   Padrão visual exclusivo até 760px. Tabelas, eventos e APIs desktop intactos. */
.v43-select-page{display:none}
@media (max-width:760px){
  .app-content{padding:12px 12px calc(94px + env(safe-area-inset-bottom))}
  .v36-customers,.v37-orders,.v38-catalog{min-width:0;width:100%}
  .v36-page-top,.v38-panel-heading{padding:15px 14px;gap:10px}
  .v36-page-top h2,.v38-panel-heading h2{font-size:18px;line-height:1.26;letter-spacing:-.02em}
  .v36-page-top p,.v38-panel-heading p{font-size:12px;line-height:1.45}
  .v36-page-top .ret-new-btn,.v38-panel-heading .ret-new-btn{min-height:46px;font-size:14px;font-weight:800;border-radius:11px}
  .v36-controls,.v37-controls,.v38-filters{padding:13px 14px 12px;min-width:0}
  .v36-filters,.v37-filters,.v38-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important;align-items:stretch;width:100%}
  .v36-filters .v36-search-wrap,.v37-filters .v36-search-wrap,.v38-filters .v38-search{grid-column:1/-1;width:100%;min-width:0!important;max-width:none!important;margin:0}
  .v36-filters>select,.v37-filters>select,.v38-filters>select{min-width:0!important;max-width:100%;width:100%!important;height:46px;font-size:13px;font-weight:700;padding:9px 11px}
  .v37-filters>select{grid-column:1/-1}
  .v37-filters .v37-date-filter{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0;width:100%;font-size:12px;font-weight:750;color:#64748b}
  .v37-filters .v37-date-filter input{max-width:none!important;width:100%;min-width:0;font-size:13px;padding:8px 9px}
  .v38-filters>.sr-only{display:none}
  .v38-filters .v38-count{grid-column:1/-1;justify-self:end;font-size:12px}
  .v36-total-count{font-size:12px;margin-top:3px}
  .v36-bulk,.v37-bulk{height:auto;max-height:none;min-height:54px;overflow:visible;padding:6px 10px!important;background:#f7faff;border-block:1px solid #e6edf7}
  .v36-bulk-tools,.v37-bulk .v36-bulk-tools{display:flex;align-items:center;gap:8px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;padding:0 3px;width:100%;max-width:100%;flex-wrap:nowrap!important}
  .v36-bulk-tools::-webkit-scrollbar{display:none}
  .v38-bulk-line{min-height:54px;padding:6px 10px!important;display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap!important;overflow-x:auto;gap:9px}
  .v38-bulk-count,.v38-bulk-buttons{flex:none;white-space:nowrap}
  .v36-bulk-idle,.v38-bulk-count>span,.v38-placeholder{font-size:12px;color:#71859f}
  .v43-select-page{display:inline-flex!important;align-items:center;flex:none;gap:8px;padding:9px 10px;border:1px solid #cfdff3;border-radius:10px;background:white;color:#0f2d5b;font-size:12px;font-weight:780;white-space:nowrap;cursor:pointer;min-height:42px}
  .v43-select-page input{width:19px;height:19px;min-width:19px;accent-color:#0066ff;cursor:pointer}
  .v38-bulk-line .v43-select-page{order:0}
  .v38-bulk-line .v38-bulk-count{order:1}
  .v38-bulk-line .v38-bulk-buttons{order:2}
  .v36-table-scroll,.v37-table-scroll,.v38-table-scroller{max-width:100%;overflow:visible!important;padding:0!important}
  .v36-table,.v36-table tbody,.v37-orders-table,.v37-orders-table tbody,.v38-table,.v38-table tbody{display:block;width:100%;min-width:0!important}
  .v36-table thead,.v37-orders-table thead,.v38-table thead{display:none!important}
  .v36-table tr.v36-customer-row,.v37-orders-table tr.v37-order-row,.v38-table tr.v38-item-row{
    display:grid!important;position:relative;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 12px!important;
    min-height:0!important;margin:0 0 10px!important;padding:14px!important;border:1px solid #dfe8f4!important;
    border-left:1px solid #dfe8f4!important;border-radius:15px!important;background:white;
    box-shadow:0 2px 6px rgba(15,45,91,.035)!important;align-content:start;cursor:pointer;
  }
  .v36-table tr.v36-customer-row:has(input:checked),.v37-orders-table tr.v37-order-row:has(input:checked),.v38-table tr.v38-item-row:has(input:checked){background:#f4f9ff;border-color:#94bbf8!important}
  .v36-table td,.v37-orders-table tr.v37-order-row td,.v38-table tr.v38-item-row td{display:block!important;grid-column:auto;grid-row:auto;min-width:0!important;width:auto!important;max-width:100%;height:auto!important;border:0!important;padding:0!important;margin:0;line-height:1.4;white-space:normal!important;align-self:stretch}
  .v36-table td.v36-check-cell,.v37-orders-table tr.v37-order-row td.v37-check-cell,.v38-table tr.v38-item-row td:first-child{position:absolute!important;top:14px;left:14px;z-index:3;width:23px!important;height:30px!important;display:flex!important;align-items:center;justify-content:center;grid-column:auto!important;grid-row:auto!important}
  .v36-table td.v36-check-cell input,.v37-orders-table td.v37-check-cell input,.v38-table td:first-child input{width:19px;height:19px;min-width:19px;accent-color:#0066ff}
  .v36-table td.v36-id,.v37-orders-table tr.v37-order-row td.v37-code,.v38-table tr.v38-item-row td.v38-code{grid-column:1/-1!important;grid-row:1!important;padding:2px 52px 7px 32px!important;border-bottom:1px solid #eef2f8!important;font-size:13px!important;line-height:1.35;min-height:34px;color:#0066ff;font-weight:850;letter-spacing:.01em}
  .v36-table td.v36-id{font-variant-numeric:tabular-nums;color:#647b9b}
  .v37-orders-table td.v37-code button{font-size:13px!important;color:#0066ff;font-weight:850;min-height:20px}
  .v36-table td.v36-name,.v37-orders-table tr.v37-order-row td.v37-customer,.v38-table tr.v38-item-row td.v38-name{grid-column:1/-1!important;grid-row:2!important;align-self:center;min-width:0;margin-top:2px}
  .v36-table .v36-name button,.v37-orders-table .v37-customer button{display:grid;gap:4px;min-width:0;width:100%;max-width:100%;text-align:left;padding:0}
  .v36-table .v36-name strong,.v37-orders-table .v37-customer strong,.v38-table td.v38-name{font-size:18px!important;line-height:1.28;font-weight:860;color:#0f2d5b;white-space:normal;overflow-wrap:anywhere;letter-spacing:-.025em}
  .v36-table .v36-name small,.v37-orders-table .v37-customer small{font-size:12px!important;line-height:1.35;color:#697f9a;font-weight:600;white-space:normal}
  .v36-table td.v36-context,.v37-orders-table tr.v37-order-row td.v37-context{grid-column:1/-1!important;grid-row:3!important;padding:9px 10px!important;border:1px solid #edf2f8!important;border-radius:10px;background:#f8fafd;color:#365276;font-size:12px!important}
  .v36-table .v36-context-inline{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-height:24px;font-size:12px;font-weight:750}
  .v36-table .v36-ref-main,.v36-table .v36-plate,.v37-orders-table .v37-context *{font-size:12px!important}
  .v36-table td.v36-date,.v37-orders-table tr.v37-order-row td.v37-date{color:#7487a2;font-size:11px!important;line-height:1.3}
  .v36-table td.v36-date{grid-column:1!important;grid-row:4!important;align-self:center;padding-top:4px!important}
  .v36-table td.v36-row-actions{grid-column:2!important;grid-row:4!important;display:flex!important;align-items:center;justify-content:flex-end;gap:8px;padding-top:0!important}
  .v36-table td.v36-row-actions .v36-contact-btn{width:auto!important;min-width:0;padding:0 12px;min-height:43px;font-size:12px;border-radius:11px;display:inline-flex;align-items:center;gap:6px}
  .v36-table td.v36-row-actions .v36-contact-btn span{display:inline!important;white-space:nowrap}
  .v36-table td.v36-row-actions .v31-actions{position:absolute;top:12px;right:12px;margin:0;z-index:7}
  .v36-table td.v36-row-actions .v31-actions>summary{display:flex;align-items:center;justify-content:center;width:43px;height:43px;min-height:43px;font-size:22px;border-radius:11px;border:1px solid #dce6f3;background:#fff;color:#0f2d5b}
  .v36-table td.v36-row-actions .v31-actions-menu{position:absolute;right:0;top:46px;z-index:90;min-width:175px}
  .v37-orders-table tr.v37-order-row td.v37-context::before{display:none!important}
  .v37-orders-table tr.v37-order-row td.v37-total{grid-column:1!important;grid-row:4!important;align-self:start;font-size:17px!important;font-weight:860;color:#0066ff;white-space:nowrap!important}
  .v37-orders-table tr.v37-order-row td.v37-date{grid-column:2!important;grid-row:4!important;justify-self:end;text-align:right!important;align-self:start;white-space:nowrap!important}
  .v37-orders-table tr.v37-order-row td:has(.v37-status){grid-column:1/-1!important;grid-row:5!important;justify-self:start;padding-top:4px!important}
  .v37-orders-table tr.v37-order-row td.v37-actions{position:absolute!important;top:12px;right:12px;z-index:6;width:auto!important;grid-column:auto!important;grid-row:auto!important}
  .v37-orders-table .v37-actions .v31-actions>summary{display:flex;align-items:center;justify-content:center;width:43px;height:43px;min-height:43px;font-size:22px;border:1px solid #dce6f3;border-radius:11px;background:#fff;color:#0f2d5b}
  .v37-orders-table td.v37-total::before,.v37-orders-table td.v37-date::before{font-size:10px!important;margin-bottom:3px}
  .v37-orders-table td:has(.v37-status)::before{display:none!important}
  .v37-orders-table .v37-status{font-size:11px;font-weight:800}
  .v37-orders-table .v37-actions .v31-actions-menu{position:absolute;right:0;top:46px;min-width:195px;z-index:95}
  .v38-table tr.v38-item-row td.v38-name::before{display:none!important}
  .v38-table tr.v38-item-row td:nth-child(3){grid-column:1/-1!important;grid-row:3!important}
  .v38-table tr.v38-item-row td:nth-child(4){grid-column:1/-1!important;grid-row:2!important}
  .v38-table tr.v38-item-row td.v38-cost{grid-column:1!important;grid-row:4!important;justify-self:start;font-size:13px!important;color:#6b7f9c;white-space:nowrap!important}
  .v38-table tr.v38-item-row td.v38-price{grid-column:2!important;grid-row:4!important;justify-self:end;text-align:right!important;white-space:nowrap!important;font-size:18px!important;font-weight:860;color:#0066ff}
  .v38-table tr.v38-item-row td.v38-action-col{position:absolute!important;top:12px;right:12px;z-index:5;grid-column:auto!important;grid-row:auto!important}
  .v38-table .v39-menu-trigger{height:43px!important;min-height:43px!important;width:43px!important;min-width:43px!important;border-radius:11px;font-size:22px}
  .v38-table td.v38-price::before,.v38-table td.v38-cost::before{font-size:10px!important;margin-bottom:3px}
  .v38-table tr.v38-item-row td.v38-price::before{content:'PREÇO DE VENDA';display:block!important}
  .v38-table tr.v38-item-row td.v38-cost::before{content:'CUSTO';display:block!important}
  .v38-table .v38-type{font-size:11px!important;line-height:1.3;padding:5px 10px;min-height:27px}
  .v38-table tr.v38-item-row td:nth-child(3)::before{display:none!important}
  .v36-customers .v33-pagination,.v37-orders .v33-pagination,.v38-catalog .v33-pagination{justify-content:space-between;padding:13px 10px!important;gap:5px 7px;font-size:12px}
  .v33-pagination button{min-width:35px!important;min-height:40px!important;width:35px!important}
  .v33-pagination select{min-height:40px!important;font-size:12px!important}
}
@media(max-width:390px){
  .v36-table td.v36-date{font-size:10px!important}
  .v36-table td.v36-row-actions .v36-contact-btn{padding:0 9px;font-size:11px}
  .v38-table td.v38-price{font-size:17px!important}
  .v36-table tr.v36-customer-row,.v37-orders-table tr.v37-order-row,.v38-table tr.v38-item-row{padding:12px!important}
}
@media(max-width:760px){
  .v36-customers,.v37-orders,.v38-catalog{grid-template-columns:minmax(0,1fr)!important}
  .v36-customers>* ,.v37-orders>*,.v38-catalog>*,.v38-panel>*{min-width:0!important;max-width:100%!important;box-sizing:border-box}
  .v36-page-top,.v37-controls,.v37-table-scroll,.v37-bulk,.v38-panel-heading,.v38-filters,.v36-controls,.v36-bulk,.v38-table-card{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
  .v36-page-top>div,.v38-panel-heading>div{min-width:0;max-width:100%;flex:1 1 100%}
  .v38-table-scroller,.v36-table-scroll,.v37-table-scroll{width:100%;min-width:0;max-width:100%}
}
@media(max-width:760px){
  .v36-table td.v36-row-actions{position:static!important}
  .v36-table td.v36-row-actions .v31-actions{position:absolute!important;top:12px;right:12px;z-index:8}
  .v36-bulk-idle,.v38-bulk-count:has(>span),.v38-bulk-buttons:has(>.v38-placeholder){display:none!important}
  .v38-bulk-line{justify-content:flex-start;gap:8px}
}


/* Retornei V4.4 — Financeiro normalizado à identidade visual do projeto */
.v44-finance{gap:18px}.v44-fin-heading{display:grid;gap:14px}.v44-fin-heading .com-heading{margin-bottom:0}.v44-fin-callout{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #E3EAF4;border-radius:14px;background:#F8FBFF;color:#4F6583;font-size:12px;line-height:1.55}.v44-fin-callout strong{display:block;color:#0F2D5B;font-size:13px;margin-bottom:2px}.v44-fin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v44-fin-card{background:#fff;border:1px solid #E2E8F0;border-radius:16px;padding:16px 17px;display:grid;gap:8px;min-height:126px;box-shadow:0 8px 24px rgba(15,45,91,.04)}.v44-fin-card span{font-size:12px;font-weight:800;color:#5F738E;text-transform:uppercase;letter-spacing:.02em}.v44-fin-card strong{font-size:28px;line-height:1.1;color:#0F2D5B}.v44-fin-card small{font-size:12px;line-height:1.5;color:#6E8199}.v44-fin-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v44-fin-summary-strip>div{background:#fff;border:1px solid #E2E8F0;border-radius:14px;padding:13px 15px;display:grid;gap:6px}.v44-fin-summary-strip span{font-size:12px;color:#6C8099;font-weight:700}.v44-fin-summary-strip b{color:#0F2D5B;font-size:16px;line-height:1.3}.v44-fin-panels{align-items:start}.v44-fin-chart{display:grid;gap:14px}.v44-fin-chart .com-between{align-items:flex-start}.v44-fin-chart svg{width:100%;height:210px;border:1px solid #E8EEF5;border-radius:14px;background:linear-gradient(180deg,#FBFDFF 0%,#F7FAFE 100%)}.v44-grid-line{stroke:#E3EAF4;stroke-width:1;stroke-dasharray:4 4;fill:none}.v44-fin-polyline{fill:none;stroke:#0066FF;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.v44-fin-axis{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#7A8EA8}.v44-fin-lock{min-height:210px;display:grid;place-items:center;text-align:center;padding:20px;gap:10px;color:#526781}.v44-fin-lock strong{font-size:17px;color:#0F2D5B}.v44-fin-recent-list{display:grid;gap:10px;margin-top:6px}.v44-fin-order{border:1px solid #E3EAF4;border-radius:14px;padding:12px;background:#fff;display:grid;gap:10px}.v44-fin-order-main{width:100%;border:0;background:transparent;padding:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;text-align:left;color:#0F2D5B;cursor:pointer}.v44-fin-order-main span{display:grid;gap:4px;min-width:0}.v44-fin-order-main strong{font-size:15px;color:#0F2D5B}.v44-fin-order-main small{font-size:12px;color:#6B809A}.v44-fin-order-main b{font-size:18px;color:#0F2D5B;white-space:nowrap}.v44-fin-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.v44-fin-badge.recebido{background:#EAF8EF;color:#15803D}.v44-fin-badge.pendente{background:#FFF4E5;color:#C16A00}.v44-fin-badge.cancelado{background:#F3F5F8;color:#64748B}.v44-fin-order-actions{display:flex;justify-content:flex-end;gap:8px}.v44-fin-order-actions .btn{min-height:36px}.v44-finance .com-filters{margin-top:-4px}@media (max-width:1040px){.v44-fin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v44-fin-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.v44-finance{gap:16px}.v44-fin-callout{display:grid;padding:12px 14px}.v44-fin-grid,.v44-fin-summary-strip{grid-template-columns:1fr 1fr;gap:10px}.v44-fin-card{padding:15px;min-height:114px}.v44-fin-card strong{font-size:22px}.v44-fin-summary-strip>div{padding:12px 14px}.v44-fin-chart svg{height:190px}.v44-fin-order{padding:12px}.v44-fin-order-main{align-items:flex-start}.v44-fin-order-main b{font-size:16px}.v44-fin-order-actions{justify-content:stretch}.v44-fin-order-actions .btn{width:100%}}@media (max-width:560px){.v44-fin-grid,.v44-fin-summary-strip{grid-template-columns:1fr}.v44-fin-card strong{font-size:24px}.v44-fin-axis{font-size:10px}.v44-fin-order-main{flex-direction:column}.v44-fin-order-main b{white-space:normal}.v44-fin-order-actions{grid-template-columns:1fr;display:grid}}

/* V4.5 Financeiro refinado */
.v45-finance{gap:18px}.v45-fin-heading{display:grid;gap:14px}.v45-fin-toolbar{display:grid;gap:12px}.v45-fin-periods{overflow:auto;padding-bottom:2px;white-space:nowrap}.v45-fin-periods::-webkit-scrollbar{display:none}.v45-fin-segment{display:flex;gap:8px;flex-wrap:wrap;overflow:auto;padding-bottom:2px}.v45-fin-segment::-webkit-scrollbar{display:none}.v45-fin-segment button{appearance:none;border:1px solid #D5E1F0;background:#F5F8FC;color:#56708F;min-height:42px;padding:0 16px;border-radius:999px;font-weight:800;font-size:13px;cursor:pointer;transition:.18s ease}.v45-fin-segment button.selected{background:#0B66FF;border-color:#0B66FF;color:#fff;box-shadow:0 10px 22px rgba(11,102,255,.18)}.v45-fin-note{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid #E2EAF4;border-radius:16px;background:linear-gradient(180deg,#F9FBFF 0%,#F4F8FF 100%);color:#5B708C;font-size:12px;line-height:1.6}.v45-fin-note strong{display:block;color:#0F2D5B;font-size:13px;margin-bottom:2px}.v45-fin-note.success{background:linear-gradient(180deg,#F8FFFB 0%,#EFFBF4 100%)}
.v45-fin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v45-fin-stat{border:1px solid #E2EAF4;border-radius:20px;padding:18px;display:grid;gap:12px;min-height:144px;background:#fff;box-shadow:0 14px 30px rgba(15,45,91,.05)}.v45-fin-stat>div{display:grid;gap:8px}.v45-fin-stat span{font-size:12px;font-weight:900;letter-spacing:.02em;text-transform:uppercase}.v45-fin-stat strong{font-size:31px;line-height:1.05;color:#0F2D5B}.v45-fin-stat small{font-size:12px;line-height:1.55;color:#6C8099}.v45-fin-stat>b{display:inline-flex;align-items:center;min-height:32px;width:max-content;padding:0 12px;border-radius:999px;font-size:12px;font-weight:900}.v45-fin-stat.blue{background:linear-gradient(180deg,#F8FBFF 0%,#FFFFFF 100%)}.v45-fin-stat.blue span,.v45-fin-stat.blue b{color:#0B66FF}.v45-fin-stat.blue b{background:#EAF2FF}.v45-fin-stat.green{background:linear-gradient(180deg,#F8FFFB 0%,#FFFFFF 100%)}.v45-fin-stat.green span,.v45-fin-stat.green b{color:#15924D}.v45-fin-stat.green b{background:#EAF8F0}.v45-fin-stat.orange{background:linear-gradient(180deg,#FFFBF4 0%,#FFFFFF 100%)}.v45-fin-stat.orange span,.v45-fin-stat.orange b{color:#C47211}.v45-fin-stat.orange b{background:#FFF1DB}.v45-fin-stat.cyan{background:linear-gradient(180deg,#F7FCFF 0%,#FFFFFF 100%)}.v45-fin-stat.cyan span,.v45-fin-stat.cyan b{color:#0E6E8E}.v45-fin-stat.cyan b{background:#E7F7FF}
.v45-fin-main-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.95fr);gap:14px;align-items:start}.v45-fin-main-grid.second{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)}.v45-fin-main-grid>.com-card{padding:18px;border-radius:22px}.v45-fin-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.v45-fin-panel-head h3{margin:0;color:#0F2D5B;font-size:18px}.v45-fin-panel-head p{margin-top:4px}.v45-fin-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:#667B96;font-weight:700}.v45-fin-legend span{display:inline-flex;align-items:center;gap:6px}.v45-fin-legend i{display:inline-block;width:10px;height:10px;border-radius:999px;background:#0B66FF}.v45-fin-legend i.received{background:#1BAA61}
.v45-fin-chart-card svg{width:100%;height:228px;border:1px solid #E6EEF7;border-radius:18px;background:linear-gradient(180deg,#FCFDFF 0%,#F5F9FF 100%)}.v45-fin-grid-line{stroke:#E1EAF4;stroke-width:1;stroke-dasharray:4 4;fill:none}.v45-fin-area{fill:rgba(11,102,255,.10)}.v45-fin-polyline{fill:none;stroke:#0B66FF;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}.v45-fin-polyline.received{stroke:#1BAA61;stroke-width:3.1}.v45-fin-axis{display:flex;justify-content:space-between;gap:10px;margin-top:10px;font-size:11px;color:#7A8EA8}.v45-fin-lock{min-height:260px;display:grid;place-items:center;text-align:center;gap:10px;padding:24px}.v45-fin-lock strong{font-size:18px;color:#0F2D5B}.v45-fin-health{display:grid;gap:14px}.v45-fin-ring-grid{display:grid;grid-template-columns:1fr;gap:12px}.v45-fin-ring-card{display:flex;align-items:center;gap:14px;border:1px solid #E6EEF7;border-radius:18px;padding:14px;background:#fff}.v45-fin-ring{--percent:0;position:relative;width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--ring,#0B66FF) calc(var(--percent)*1%), #EAF0F7 0)}.v45-fin-ring::after{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff;border:1px solid #EDF3F9}.v45-fin-ring span{position:relative;z-index:1;font-size:18px;font-weight:900;color:#0F2D5B}.v45-fin-ring-card.green .v45-fin-ring{--ring:#18A957}.v45-fin-ring-card.blue .v45-fin-ring{--ring:#0B66FF}.v45-fin-ring-card.orange .v45-fin-ring{--ring:#F59E0B}.v45-fin-ring-copy{display:grid;gap:4px}.v45-fin-ring-copy small{font-size:12px;font-weight:900;letter-spacing:.02em;text-transform:uppercase;color:#5E7591}.v45-fin-ring-copy strong{font-size:24px;line-height:1.05;color:#0F2D5B}.v45-fin-ring-copy p{margin:0;color:#6D819A;font-size:12px;line-height:1.45}.v45-fin-ring-copy b{font-size:12px;color:#50709A}.v45-fin-status-panel{border:1px solid #E8EFF7;border-radius:18px;background:linear-gradient(180deg,#FAFCFF 0%,#FFFFFF 100%);padding:14px}.v45-fin-mini-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.v45-fin-mini-head h4{margin:0;color:#0F2D5B;font-size:15px}.v45-fin-mini-head span{font-size:12px;color:#6D819A}.v45-fin-status-list{display:grid;gap:9px}.v45-fin-status-list>div{display:flex;align-items:center;justify-content:space-between;border-radius:14px;background:#F7FAFD;padding:11px 12px}.v45-fin-status-list span{font-size:13px;color:#607792;font-weight:800}.v45-fin-status-list b{font-size:18px;color:#0F2D5B}
.v45-fin-insights-wrap{display:grid;gap:14px}.v45-fin-insights-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.v45-fin-insights-head h3{margin:0;color:#0F2D5B;font-size:18px}.v45-fin-loading{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#F2F7FF;color:#0B66FF;font-weight:800;font-size:12px}.v45-fin-highlight{display:grid;gap:4px;border:1px solid #E8EFF8;border-radius:18px;padding:14px 16px;background:linear-gradient(135deg,#F5FAFF 0%,#FFFFFF 100%)}.v45-fin-highlight small{font-size:11px;font-weight:900;letter-spacing:.02em;text-transform:uppercase;color:#5C7490}.v45-fin-highlight strong{font-size:22px;color:#0F2D5B;line-height:1.05}.v45-fin-highlight span{font-size:13px;color:#5F728C}.v45-fin-insights-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v45-fin-insight-block{border:1px solid #E8EEF6;border-radius:18px;padding:14px;background:#fff}.v45-fin-insight-block ol{margin:0;padding:0;list-style:none;display:grid;gap:10px}.v45-fin-insight-block li{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px;border-radius:14px;background:#F8FBFE}.v45-fin-insight-block li.empty{display:block}.v45-fin-insight-block strong{display:block;color:#0F2D5B;font-size:14px}.v45-fin-insight-block small{display:block;color:#72859D;font-size:12px;margin-top:3px}.v45-fin-insight-block b{display:block;color:#0B66FF;font-size:18px;line-height:1.1;text-align:right}.v45-fin-insight-block li span{display:block;color:#5F7591;font-size:12px;margin-top:4px;text-align:right}.v45-fin-details{border:1px solid #E8EEF6;border-radius:18px;background:#FCFDFF;padding:0 16px}.v45-fin-details summary{cursor:pointer;list-style:none;min-height:52px;display:flex;align-items:center;justify-content:space-between;font-weight:800;color:#0F2D5B}.v45-fin-details summary::-webkit-details-marker{display:none}.v45-fin-details summary::after{content:'+';font-size:20px;color:#0B66FF}.v45-fin-details[open] summary::after{content:'–'}.v45-fin-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 0 16px}.v45-fin-detail-grid .com-row{border:1px solid #E7EDF6;border-radius:14px;padding:11px 12px;background:#fff}.v45-fin-detail-grid .com-row span{font-size:12px;color:#5D738E}.v45-fin-detail-grid .com-row strong{font-size:15px;color:#0F2D5B}
.v45-fin-recent-card{display:grid;gap:12px}.v45-fin-order-list{display:grid;gap:10px}.v45-fin-order-card{border:1px solid #E4ECF6;border-radius:18px;padding:14px;background:#fff;display:grid;gap:12px}.v45-fin-order-main{width:100%;padding:0;border:0;background:transparent;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}.v45-fin-order-main span{display:grid;gap:4px;min-width:0}.v45-fin-order-main strong{font-size:15px;color:#0F2D5B}.v45-fin-order-main small{font-size:12px;color:#6C8099}.v45-fin-order-main b{font-size:18px;color:#0F2D5B}.v45-fin-order-top{display:grid;gap:10px}.v45-fin-order-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:14px;background:#F7FAFD;font-size:12px;color:#607791}.v45-fin-order-line b{font-size:14px;color:#0F2D5B}.v45-fin-order-actions{display:flex;gap:8px;justify-content:flex-end}.v45-fin-order-actions .btn{min-height:40px}.v45-fin-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}.v45-fin-badge.recebido{background:#EAF8F0;color:#15924D}.v45-fin-badge.pendente{background:#FFF3E1;color:#C36A0A}.v45-fin-badge.cancelado{background:#EEF2F7;color:#6B7B8F}
@media (max-width:1180px){.v45-fin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v45-fin-main-grid,.v45-fin-main-grid.second{grid-template-columns:1fr}.v45-fin-insights-grid{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.v45-finance{gap:16px}.v45-fin-heading .com-heading{gap:10px}.v45-fin-note{padding:13px 14px}.v45-fin-stat-grid{grid-template-columns:1fr 1fr;gap:10px}.v45-fin-stat{padding:15px;min-height:128px;border-radius:18px}.v45-fin-stat strong{font-size:24px}.v45-fin-main-grid>.com-card{padding:15px;border-radius:20px}.v45-fin-chart-card svg{height:206px}.v45-fin-ring-grid{grid-template-columns:1fr}.v45-fin-ring-card{padding:13px;gap:12px}.v45-fin-ring{width:84px;height:84px}.v45-fin-ring span{font-size:16px}.v45-fin-insights-grid{grid-template-columns:1fr}.v45-fin-detail-grid{grid-template-columns:1fr}.v45-fin-order-main{flex-direction:column}.v45-fin-order-actions{display:grid;grid-template-columns:1fr 1fr}.v45-fin-order-actions .btn{width:100%}}
@media (max-width:560px){.v45-fin-periods,.v45-fin-segment{flex-wrap:nowrap}.v45-fin-periods .com-chip,.v45-fin-segment button{flex:0 0 auto}.v45-fin-stat-grid{grid-template-columns:1fr}.v45-fin-stat{min-height:auto}.v45-fin-stat strong{font-size:28px}.v45-fin-panel-head,.v45-fin-insights-head,.v45-fin-mini-head{flex-direction:column;align-items:flex-start}.v45-fin-chart-card svg{height:190px}.v45-fin-ring-card{align-items:flex-start}.v45-fin-order-card{padding:13px}.v45-fin-order-actions{grid-template-columns:1fr}.v45-fin-axis{font-size:10px}}

/* RETORNEI V4.6 — Inicio unificado: indicadores operacionais e financeiros */
.v46-home{gap:15px;min-width:0}.v46-home .v45-fin-heading{gap:10px}.v46-home .com-heading{margin:0;align-items:center}.v46-home .com-heading h2{font-size:19px;line-height:1.25}.v46-home .com-heading p{font-size:13px}.v46-home .v45-fin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.v46-home .v45-fin-toolbar>div{min-width:0}.v46-home .v45-fin-periods{display:flex;flex-wrap:nowrap;gap:6px;margin:0;min-width:0;scrollbar-width:none}.v46-home .v45-fin-segment{flex-wrap:nowrap;gap:5px;min-width:0;scrollbar-width:none}.v46-home .v45-fin-segment button{font-size:12px;min-height:38px;padding:0 12px}.v46-ops-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v46-op{min-width:0;border:1px solid #E2EAF4;background:#FFF;border-radius:15px;padding:11px 13px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:8px;box-shadow:0 3px 11px rgba(15,45,91,.025);cursor:pointer;transition:border-color .16s,transform .16s}.v46-op:hover{border-color:#9DBFFD;transform:translateY(-1px)}.v46-op>span{display:flex;align-items:center;gap:8px;color:#637A96;font-size:12px;font-weight:700;line-height:1.3}.v46-op>span svg{flex:0 0 auto;color:#0066FF}.v46-op>strong{font-size:23px;line-height:1.1;color:#0F2D5B}.v46-home .v45-fin-stat-grid{gap:10px}.v46-home .v45-fin-stat{padding:14px 15px;min-height:127px;border-radius:16px;gap:10px}.v46-home .v45-fin-stat>div{gap:5px}.v46-home .v45-fin-stat span{font-size:11px}.v46-home .v45-fin-stat strong{font-size:clamp(19px,2vw,27px);overflow-wrap:anywhere}.v46-home .v45-fin-stat small{font-size:11px;line-height:1.45}.v46-home .v45-fin-stat>b{min-height:27px;font-size:11px;padding:3px 9px;max-width:100%;width:fit-content;line-height:1.25}.v46-quick-actions{display:flex;flex-wrap:wrap;gap:9px}.v46-quick-actions .btn{min-height:40px;border-radius:11px;gap:6px;font-size:12px;padding:8px 13px}.v46-home-main,.v46-home-secondary{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:14px;align-items:stretch;min-width:0}.v46-home-main>.com-card,.v46-home-secondary>.com-card{border:1px solid #E3ECF6;border-radius:19px;padding:17px;min-width:0;margin:0;height:100%}.v46-home-main>.com-card{align-self:stretch}.v46-home-insights{overflow:hidden}.v46-home-insights .v45-fin-insights-head,.v46-home-recent .v45-fin-panel-head{gap:12px;margin-bottom:4px}.v46-home-insights .v45-fin-insights-head h3,.v46-home-recent .v45-fin-panel-head h3{font-size:16px}.v46-home-insights .v45-fin-highlight{padding:11px 13px;border-radius:13px}.v46-home-insights .v45-fin-highlight strong{font-size:18px}.v46-home-insights .v45-fin-insights-grid{gap:10px}.v46-home-insights .v45-fin-insight-block{padding:10px;border-radius:14px;min-width:0}.v46-home-insights .v45-fin-mini-head{display:block;margin-bottom:9px}.v46-home-insights .v45-fin-mini-head h4{font-size:13px;line-height:1.35}.v46-home-insights .v45-fin-mini-head span{display:block;font-size:11px;line-height:1.4;margin-top:4px}.v46-home-insights .v45-fin-insight-block ol{gap:7px}.v46-home-insights .v45-fin-insight-block li{padding:9px;border-radius:10px}.v46-home-insights .v45-fin-insight-block strong{font-size:13px;line-height:1.25;overflow-wrap:anywhere}.v46-home-insights .v45-fin-insight-block b{font-size:14px}.v46-home-insights .v45-fin-insight-block small,.v46-home-insights .v45-fin-insight-block li span{font-size:10.5px}.v46-home-insights .v45-fin-details{border-radius:14px}.v46-home-insights .v45-fin-details summary{min-height:44px;font-size:13px}.v46-home-recent .v45-fin-order-list{margin-top:8px;gap:9px}.v46-home-recent .v45-fin-order-card{border-radius:13px;padding:11px;gap:7px}.v46-home-recent .v45-fin-order-top{gap:6px}.v46-home-recent .v45-fin-order-line{padding:7px 9px}.v46-home-recent .v45-fin-order-line span{font-size:11px}.v46-home-recent .v45-fin-order-line b{font-size:12px}.v46-home-recent .v45-fin-order-main strong{font-size:13px}.v46-home-recent .v45-fin-order-main b{font-size:15px}.v46-home-recent .v45-fin-order-actions .btn{min-height:35px;padding:5px 10px;font-size:12px}.v46-home-secondary .v45-fin-chart-card svg{height:218px}.v46-home-health .v45-fin-ring-grid{grid-template-columns:1fr;gap:8px}.v46-home-health .v45-fin-ring-card{padding:10px 12px;border-radius:14px}.v46-home-health .v45-fin-ring{width:64px;height:64px;flex:0 0 64px}.v46-home-health .v45-fin-ring::after{inset:7px}.v46-home-health .v45-fin-ring span{font-size:12px}.v46-home-health .v45-fin-ring-copy strong{font-size:17px}.v46-home-health .v45-fin-ring-copy small{font-size:11px}.v46-home-health .v45-fin-ring-copy p{font-size:11px}.v46-home-health .v45-fin-status-panel{padding:11px;border-radius:14px}.v46-home-health .v45-fin-status-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.v46-home-health .v45-fin-status-list>div{display:grid;padding:8px 9px;gap:5px;text-align:center}.v46-home-health .v45-fin-status-list span{font-size:10px}.v46-home-health .v45-fin-status-list b{font-size:16px}.v46-home-health .v45-fin-mini-head{display:block}.v46-home-health .v45-fin-mini-head span{display:block;margin-top:3px}.v46-security-details{border:1px solid #E5ECF5;border-radius:15px;background:#fff;padding:0 15px}.v46-security-details>summary{min-height:45px;display:flex;align-items:center;gap:7px;cursor:pointer;color:#637995;font-size:12px;font-weight:750;list-style:none}.v46-security-details>summary::-webkit-details-marker{display:none}.v46-security-details>summary:after{content:'+';margin-left:auto;font-size:17px}.v46-security-details[open]>summary:after{content:'−'}.v46-security-details .v45-fin-note{margin:0 0 9px}.v46-security-details p{font-size:12px;padding-bottom:12px;margin:0}
@media(max-width:1190px){.v46-home .v45-fin-toolbar{display:grid;grid-template-columns:1fr}.v46-home-main,.v46-home-secondary{grid-template-columns:1fr}.v46-home .v45-fin-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.v46-home-health .v45-fin-ring-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v46-home-health .v45-fin-ring-card{align-items:center}.v46-home-health .v45-fin-ring{width:64px;height:64px;flex:0 0 64px}}
@media(max-width:850px){.v46-home .v45-fin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v46-ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v46-home .v45-fin-toolbar{display:grid}.v46-home-health .v45-fin-ring-grid{grid-template-columns:1fr}}
@media(max-width:600px){.v46-home{gap:12px}.v46-home .com-heading{display:flex;align-items:flex-start;gap:10px;flex-direction:column}.v46-home .com-heading h2{font-size:18px}.v46-home .com-heading p{font-size:12px}.v46-home .com-heading .btn{min-height:42px;max-width:100%;align-self:flex-start}.v46-home .v45-fin-toolbar{gap:8px}.v46-home .v45-fin-periods{overflow-x:auto;padding-bottom:4px}.v46-home .v45-fin-segment{overflow-x:auto;padding-bottom:4px}.v46-home .v45-fin-periods .com-chip{min-height:40px;min-width:72px;flex:0 0 auto}.v46-home .v45-fin-segment button{min-height:40px}.v46-ops-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v46-op{padding:10px 11px;min-height:84px;border-radius:13px}.v46-op>span{font-size:11px;gap:5px;align-items:flex-start}.v46-op>span svg{width:16px;height:16px}.v46-op>strong{font-size:20px}.v46-home .v45-fin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v46-home .v45-fin-stat{padding:12px;min-height:123px;gap:8px;border-radius:15px}.v46-home .v45-fin-stat strong{font-size:clamp(18px,5vw,23px);line-height:1.1}.v46-home .v45-fin-stat span{font-size:10px;line-height:1.25}.v46-home .v45-fin-stat small{font-size:10px}.v46-home .v45-fin-stat>b{font-size:10px;min-height:25px}.v46-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v46-quick-actions .btn{min-width:0;min-height:44px;justify-content:center;font-size:11px;padding:9px 7px;white-space:normal;text-align:center}.v46-quick-actions .btn:last-child{grid-column:1/-1}.v46-home-main,.v46-home-secondary{grid-template-columns:1fr;gap:11px}.v46-home-main>.com-card,.v46-home-secondary>.com-card{padding:13px;border-radius:15px}.v46-home-insights .v45-fin-insights-grid{grid-template-columns:1fr 1fr;gap:8px}.v46-home-insights .v45-fin-insight-block{padding:9px}.v46-home-insights .v45-fin-insight-block li{flex-direction:column;gap:4px;align-items:flex-start}.v46-home-insights .v45-fin-insight-block b,.v46-home-insights .v45-fin-insight-block li span{text-align:left}.v46-home-insights .v45-fin-highlight strong{font-size:17px}.v46-home-recent .v45-fin-order-main{flex-direction:row;align-items:flex-start}.v46-home-recent .v45-fin-order-actions{display:flex;justify-content:stretch}.v46-home-recent .v45-fin-order-actions .btn{flex:1;min-height:42px;white-space:normal}.v46-home-secondary .v45-fin-chart-card svg{height:175px}.v46-home-health .v45-fin-ring-grid{grid-template-columns:1fr}.v46-home-health .v45-fin-status-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:350px){.v46-home-insights .v45-fin-insights-grid{grid-template-columns:1fr}.v46-home .v45-fin-stat strong{font-size:18px}}
/* Painéis crescem conforme conteúdo; sem área branca preenchendo a altura do vizinho. */
.v46-home-main,.v46-home-secondary{align-items:start}
.v46-home-main>.com-card,.v46-home-secondary>.com-card{height:auto;align-self:start}

/* Retornei V4.7 — Configurações nativas e assinatura */
.v47-settings{display:grid;gap:18px;max-width:1100px;margin:0 auto;color:#0f2d5b}.v47-settings-heading{display:grid;gap:5px}.v47-settings-heading>span,.v47-eyebrow{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0066ff}.v47-settings-heading h2{margin:0;font-size:26px;color:#0f2d5b;letter-spacing:-.025em}.v47-settings-heading p{margin:0;color:#637a98;font-size:13px;line-height:1.5}.v47-settings-tabs{display:flex;gap:7px;padding:7px;border:1px solid #e2eaf4;border-radius:16px;background:#fff;overflow-x:auto;scrollbar-width:none}.v47-settings-tabs::-webkit-scrollbar{display:none}.v47-settings-tabs button{min-height:44px;border:0;border-radius:11px;padding:0 17px;display:inline-flex;gap:8px;align-items:center;justify-content:center;flex:none;color:#596e8e;background:transparent;font-weight:750;font-size:13px;cursor:pointer}.v47-settings-tabs button svg{width:18px;height:18px}.v47-settings-tabs button.selected{color:#fff;background:#0066ff;box-shadow:0 5px 14px rgba(0,102,255,.16)}.v47-settings-panel{background:#fff;border:1px solid #e2eaf4;border-radius:20px;padding:24px;box-shadow:0 8px 28px rgba(15,45,91,.035);display:grid;gap:20px;min-width:0}.v47-settings-panel>header{display:grid;gap:7px}.v47-settings-panel>header h2{margin:0;color:#0f2d5b;font-size:23px;letter-spacing:-.02em}.v47-settings-panel>header p{margin:0;color:#617794;font-size:13px;line-height:1.6}.v47-fixed-category{padding:14px 16px;border-radius:15px;border:1px solid #e3eaf5;background:#f7faff;display:flex;align-items:center;gap:14px}.v47-fixed-category>svg{color:#0066ff;flex:none}.v47-fixed-category>span:not(.v47-lock-label){display:grid;gap:3px;min-width:0}.v47-fixed-category small,.v47-account-row small{font-size:11px;color:#69819f}.v47-fixed-category strong,.v47-account-row strong{font-size:15px;line-height:1.4;color:#0f2d5b}.v47-lock-label{margin-left:auto;padding:4px 9px;border-radius:999px;background:#e6efff;color:#0066ff;font-size:11px;font-weight:800}.v47-settings-form{display:grid;gap:15px;max-width:730px}.v47-settings-subtitle{margin-top:4px;padding-top:18px;border-top:1px solid #e6edf5;font-size:14px;font-weight:800;color:#0f2d5b}.v47-settings-actions{display:flex;justify-content:flex-start;padding-top:6px}.v47-settings .btn{min-height:44px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800}.v47-pin-state{display:flex;align-items:center;gap:14px;padding:15px 17px;border:1px solid #e4ebf5;border-radius:15px;background:#f8fbff}.v47-pin-state.enabled{background:#f1fbf6;border-color:#d9eee2}.v47-pin-state>svg{color:#0066ff;flex:none}.v47-pin-state.enabled>svg{color:#0f9751}.v47-pin-state span{display:grid;gap:3px}.v47-pin-state b{font-size:15px;color:#0f2d5b}.v47-pin-state small{font-size:12px;color:#637b98;line-height:1.5}.v47-settings-twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.v47-settings-miniform{display:grid;gap:13px;border:1px solid #e3eaf4;border-radius:17px;padding:20px;min-width:0}.v47-settings-miniform h3{font-size:17px;margin:0;color:#0f2d5b}.v47-settings-miniform p{font-size:12px;line-height:1.6;color:#6a809b;margin:0}.v47-settings-miniform input{max-width:100%}.v47-settings-miniform-single{max-width:450px}.v47-btn-danger{background:#fff0f0;border:1px solid #ffd1d1;color:#d73838}.v47-btn-danger:hover{background:#ffe3e3}.v47-security-hint,.v47-billing-note{font-size:12px;line-height:1.6;color:#657e9a;background:#f8fbff;border:1px solid #e4edf6;padding:13px 15px;border-radius:15px;margin:0}.v47-plan-summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px;border-radius:18px;background:linear-gradient(135deg,#f2f8ff,#ffffff);border:1px solid #e0eafa}.v47-plan-summary>div{display:grid;gap:5px}.v47-plan-summary small{font-size:12px;text-transform:uppercase;letter-spacing:.025em;font-weight:800;color:#6881a0}.v47-plan-summary strong{font-size:34px;line-height:1.1;letter-spacing:-.035em;color:#0f2d5b}.v47-plan-summary em{font-style:normal;font-size:14px;font-weight:700;color:#607a99}.v47-plan-summary div span{font-size:12px;color:#607995}.v47-plan-status{padding:9px 12px;background:#e8f1ff;color:#0066ff;font-size:12px;font-weight:800;border-radius:999px;white-space:nowrap}.v47-subscription-data{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.v47-subscription-data article{border:1px solid #e4ebf4;padding:14px;border-radius:15px;display:grid;gap:7px}.v47-subscription-data small{font-size:11px;color:#6b83a0;font-weight:700}.v47-subscription-data b{font-size:17px;color:#0f2d5b}.v47-plan-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v47-plan-methods article{display:flex;flex-direction:column;align-items:flex-start;gap:11px;border:1px solid #e2eaf4;border-radius:17px;padding:18px;background:#fff}.v47-method-icon{height:43px;width:43px;display:grid;place-items:center;background:#eaf2ff;color:#0066ff;border-radius:12px}.v47-plan-methods h3{font-size:17px;margin:0;color:#0f2d5b}.v47-plan-methods p{font-size:12px;color:#607b99;line-height:1.6;margin:0;flex:1}.v47-plan-methods button{width:100%}.v47-billing-note p{margin:6px 0 0}.v47-billing-note b{color:#0f2d5b}.v47-sub-details{border:1px solid #e6ecf4;border-radius:14px;padding:0 15px}.v47-sub-details summary{cursor:pointer;min-height:50px;display:flex;align-items:center;color:#0f2d5b;font-size:13px;font-weight:800}.v47-sub-details p{color:#657d98;font-size:12px;line-height:1.65;padding-bottom:15px;margin:0}.v47-account-row{display:flex;align-items:center;gap:15px;border:1px solid #e4ebf4;background:#f9fbfe;border-radius:15px;padding:15px}.v47-account-row>span{flex:none;color:#0066ff}.v47-account-row>div{display:grid;gap:3px;overflow-wrap:anywhere}
@media(max-width:840px){.v47-settings-panel{padding:19px}.v47-settings-twocol{grid-template-columns:1fr}.v47-plan-methods{grid-template-columns:1fr}}
@media(max-width:600px){.v47-settings{gap:14px}.v47-settings-heading h2{font-size:22px}.v47-settings-tabs{padding:6px;border-radius:14px;margin:0 -2px}.v47-settings-tabs button{padding:0 13px;font-size:12px;min-height:44px}.v47-settings-panel{border-radius:17px;padding:16px;gap:17px}.v47-settings-panel>header h2{font-size:21px}.v47-plan-summary{padding:16px;align-items:flex-start;flex-direction:column}.v47-plan-summary strong{font-size:30px}.v47-plan-status{align-self:flex-start}.v47-subscription-data{grid-template-columns:1fr 1fr}.v47-subscription-data article:last-child{grid-column:1/-1}.v47-subscription-data b{font-size:15px}.v47-plan-methods article{padding:16px}.v47-settings .btn{width:100%}.v47-settings-actions{width:100%}.v47-settings-miniform{padding:16px}.v47-fixed-category{padding:12px}.v47-fixed-category strong{font-size:14px}}

/* V4.8 — Suporte oficial, notificações operacionais e Spike original */
.v48-support{display:grid;gap:16px}.v48-support-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 2px 9px}.v48-support-heading h2,.v48-support-panel h3{color:#0F2D5B;margin:3px 0 5px}.v48-support-heading p{color:#6B819C;margin:0;font-size:13px;line-height:1.5}.v48-support-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(290px,.9fr);align-items:start;gap:14px}.v48-support-panel{background:#fff;border:1px solid #E3ECF6;border-radius:20px;padding:20px;min-width:0;box-shadow:0 5px 20px rgba(15,45,91,.035)}.v48-support-intro{display:flex;gap:13px;align-items:center;padding:12px 8px 19px;border-bottom:1px solid #EFF2F7}.v48-support-intro img{object-fit:contain;flex-shrink:0}.v48-support-intro h3{font-size:19px}.v48-support-intro p{color:#637894;font-size:13px;line-height:1.5;margin:0}.v48-support-form,.v48-support-reply{display:grid;gap:14px;margin-top:18px}.v48-support-form label,.v48-support-reply label{display:grid;gap:7px;font-weight:800;font-size:13px;color:#0F2D5B}.v48-support-form input,.v48-support-form select,.v48-support-form textarea,.v48-support-reply textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #D5E1F0;background:#F8FAFD;border-radius:12px;padding:12px 13px;font:inherit;font-size:15px;line-height:1.5;color:#0F2D5B;min-height:48px;resize:vertical}.v48-support-form textarea,.v48-support-reply textarea{min-height:104px}.v48-support-form .btn,.v48-support-reply .btn{min-height:44px;display:inline-flex;justify-content:center;align-items:center;gap:8px}.v48-support-list-head,.v48-support-ticket-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:14px}.v48-support-list-head small,.v48-support-ticket-head p{font-size:12px;color:#7A8EA8}.v48-support-ticket{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;background:#F8FAFE;border:1px solid #E9F0F8;border-radius:14px;padding:14px 12px;margin-bottom:10px;cursor:pointer;min-height:60px}.v48-support-ticket strong{display:block;font-size:14px;color:#0F2D5B}.v48-support-ticket small{display:block;margin-top:4px;color:#7185A0}.v48-support-status{display:inline-flex;white-space:nowrap;font-weight:800;font-size:11px;border-radius:999px;padding:5px 10px;background:#ECF3FF;color:#0B66FF}.v48-support-status.respondido{background:#E7F7EB;color:#168047}.v48-support-status.fechado{background:#F0F3F6;color:#63748A}.v48-support-empty{text-align:center;color:#69819F;display:grid;place-items:center;gap:8px;padding:30px 10px}.v48-support-empty img{object-fit:contain}.v48-support-back{display:inline-flex;gap:8px;align-items:center;border:none;background:none;color:#0B66FF;cursor:pointer;font-size:13px;font-weight:800;padding:8px 0 17px;min-height:40px}.v48-support-ticket-head h3{overflow-wrap:anywhere}.v48-support-thread{background:#F7FAFE;border:1px solid #E9EFF8;border-radius:16px;padding:14px;display:grid;gap:12px;max-height:52vh;overflow:auto}.v48-support-message{display:flex;align-items:flex-start;gap:10px}.v48-support-message>img{object-fit:contain;flex-shrink:0}.v48-support-message>div{max-width:85%;background:white;border:1px solid #E5EDF7;border-radius:14px;padding:12px 14px}.v48-support-message.own{justify-content:flex-end}.v48-support-message.own>div{background:#EAF2FF;border-color:#CFE0FF}.v48-support-message strong{display:block;font-size:12px;color:#0F2D5B}.v48-support-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;margin:6px 0;color:#38506F}.v48-support-message time{display:block;text-align:right;font-size:10px;color:#778DA8}.v48-support-closed{margin-top:14px;color:#617591;padding:13px;background:#F4F7FB;border-radius:12px;font-size:13px}
.v48-notices .v48-order-events{display:grid;gap:10px;margin-top:16px}.v48-event{display:flex;align-items:center;gap:10px;border:1px solid #E5EDF7;border-radius:15px;padding:10px 14px;min-height:76px}.v48-event img{flex-shrink:0;object-fit:contain;width:55px;height:55px}.v48-event>div{min-width:0;flex:1}.v48-event strong{font-size:14px;color:#0F2D5B}.v48-event p{margin:4px 0;font-size:12px;color:#617793;overflow-wrap:anywhere}.v48-event small{color:#91A1B4}.v48-event>.com-link{min-height:40px;flex-shrink:0}.v48-order-feedback{position:fixed;bottom:24px;right:20px;z-index:110;display:flex;align-items:center;gap:12px;max-width:min(380px,calc(100vw - 24px));background:#fff;border:1px solid #D9E7F5;border-radius:17px;box-shadow:0 18px 48px rgba(15,45,91,.20);padding:12px 14px;animation:v48-spike-enter .36s ease both}.v48-order-feedback img{object-fit:contain;max-width:76px}.v48-order-feedback>div{display:grid;gap:3px;min-width:0}.v48-order-feedback strong{font-size:15px;color:#0F2D5B}.v48-order-feedback span{color:#667C98;font-size:12px}.v48-feedback-close{border:0;background:#F1F6FC;border-radius:10px;min-width:36px;min-height:36px;font-size:18px;color:#57728E;cursor:pointer}@keyframes v48-spike-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:820px){.v48-support-layout{grid-template-columns:1fr}.v48-support-panel{padding:16px}.v48-support-heading{align-items:start;gap:8px}.v48-support-intro img{width:72px;height:72px}.v48-support-message>div{max-width:90%}}
@media(max-width:600px){.v48-support{gap:12px}.v48-support-heading{flex-wrap:wrap}.v48-support-heading .btn{width:100%;min-height:44px}.v48-support-panel{padding:14px;border-radius:17px}.v48-support-ticket{gap:6px}.v48-support-ticket strong{font-size:14px}.v48-support-ticket-head{flex-wrap:wrap}.v48-support-thread{max-height:47vh}.v48-event{flex-wrap:wrap}.v48-event>.com-link{margin-left:62px}.v48-order-feedback{left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));max-width:none;padding:10px 12px}.v48-order-feedback img{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.v48-order-feedback{animation:none}}

/* V4.9 — Notificações sem repetição do Spike */
.v49-notices{gap:14px}.v49-notices-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.v49-notices-header h2{margin:0;font-size:21px;color:#0F2D5B}.v49-notices-header p{font-size:13px;color:#667C99;margin:5px 0 0;line-height:1.5}.v49-clear-all{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;white-space:nowrap}.v49-notice-summary{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:#7185A1;font-weight:750}.v49-notice-list{display:grid;gap:11px}.v49-notice{display:flex;align-items:flex-start;gap:15px;border:1px solid #E4ECF6;background:white;padding:19px;border-radius:18px;box-shadow:0 4px 15px rgba(15,45,91,.025);min-width:0}.v49-notice.is-read{background:#FAFCFE}.v49-notice-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:13px;background:#E9F2FF;color:#0066FF}.v49-notice-icon.plan{background:#FFF3E5;color:#B96E18}.v49-notice-text{display:grid;gap:6px;flex:1;min-width:0}.v49-notice-heading{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.v49-notice-category{font-size:11px;font-weight:850;letter-spacing:.01em;color:#69819F;text-transform:uppercase}.v49-notice-unread{border-radius:999px;background:#E9F2FF;color:#0066FF;font-size:10px;font-weight:850;padding:3px 8px}.v49-notice-text>strong{color:#0F2D5B;font-size:16px;line-height:1.3;overflow-wrap:anywhere}.v49-notice-text p{margin:0;line-height:1.65;font-size:14px;color:#516A87;white-space:pre-wrap;overflow-wrap:anywhere}.v49-notice-text>small{font-size:11px;color:#7B90AB}.v49-notice-actions{display:flex;flex-wrap:wrap;gap:8px 17px;margin-top:8px}.v49-notice-actions button{min-height:38px}.v49-notice-empty{text-align:center;min-height:230px;display:grid;align-content:center;justify-items:center;gap:8px;background:#fff;border:1px solid #E4ECF6;border-radius:19px;padding:28px;color:#8094B0}.v49-notice-empty h3{color:#0F2D5B;margin:2px 0;font-size:17px}.v49-notice-empty p{color:#69809B;margin:0;line-height:1.6;max-width:350px;font-size:13px}.v49-notice-footer{color:#8292AB;font-size:11px;line-height:1.6;margin:2px 0}.com-empty-simple{display:grid;place-items:center;color:#9BB0C9}.v49-simple-empty-icon{display:grid;place-items:center;color:#8BA8CA}
@media(max-width:760px){.v49-notices-header{flex-direction:column;gap:12px}.v49-clear-all{width:100%}.v49-notice{padding:14px;gap:11px;border-radius:16px}.v49-notice-icon{width:40px;height:40px}.v49-notice-text>strong{font-size:16px}.v49-notice-actions button{min-height:44px}.v49-notice-footer{font-size:12px}}

.v49-support-brand-icon{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;background:#EAF2FF;color:#0066FF;border-radius:18px}

/* V4.10 — Petshop: tutor, espécie e raça (não afeta outras categorias) */
.v35-pet-row.v410-pet-profile{grid-template-columns:minmax(120px,1.1fr) minmax(112px,.9fr) minmax(125px,1fr) minmax(82px,.65fr) 34px;gap:10px}
.v410-pet-associated{padding:16px;border:1px solid #DFEAF6;border-radius:14px;background:#FAFCFF;margin-top:10px}
.v410-pet-associated .v37-subhead{color:#0F2D5B;font-weight:800;font-size:15px}
.v410-pet-note{font-size:12px;line-height:1.55;color:#607895;margin:0 0 5px}
.v410-pet-fields{display:grid;gap:12px}
.v410-pet-fields>.com-field{margin:0}
.v410-new-pet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v410-new-pet[hidden]{display:none!important}
.v410-new-pet>.com-field{margin:0}
.v410-new-pet input,.v410-pet-fields select{min-height:44px;max-width:100%;width:100%}
@media(max-width:760px){.v35-pet-row.v410-pet-profile{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v35-pet-row.v410-pet-profile .v34-remove{grid-column:1/-1;justify-self:end;min-width:44px;min-height:44px}.v410-pet-associated{padding:14px}.v410-pet-note{font-size:13px}.v410-new-pet{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.v35-pet-row.v410-pet-profile,.v410-new-pet{grid-template-columns:minmax(0,1fr)}.v35-pet-row.v410-pet-profile .v34-remove{grid-column:1}}

/* Preserve espécie e raça legíveis nas fichas Petshop mobile */
.v410-pet-customers .v36-context .v36-plate{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;line-height:1.35}
@media(max-width:760px){.v410-pet-customers .v36-context .v36-context-inline{min-width:0;flex-wrap:wrap;align-items:center}.v410-pet-customers .v36-context .v36-plate{white-space:normal;flex:0 1 auto;max-width:100%}}

/* Retornei V4.11 — vínculos e filtros exclusivamente para Oficina */
.v411-vehicle-context{display:grid;gap:12px}.v411-vehicle-context .v37-subhead{margin-bottom:0}.v411-help{margin:0;color:#647892;font-size:12px;line-height:1.5}.v411-vehicle-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v411-vehicle-fields[hidden]{display:none!important}.v411-vehicle-fields .com-field{min-width:0}.v411-vehicle-context select{min-height:44px}.v36-customers .v36-filters:has([data-v36-filter="km"]){grid-template-columns:minmax(230px,1.8fr) repeat(5,minmax(120px,1fr));align-items:center}.v36-vehicle-row{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1170px){.v36-customers .v36-filters:has([data-v36-filter="km"]){grid-template-columns:repeat(3,minmax(0,1fr))}.v36-customers .v36-filters:has([data-v36-filter="km"]) .v36-search-wrap{grid-column:1/-1}}
@media(max-width:760px){.v411-vehicle-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v36-customers .v36-filters:has([data-v36-filter="km"]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v36-customers .v36-filters:has([data-v36-filter="km"]) .v36-search-wrap{grid-column:1/-1}.v36-customers .v36-filters:has([data-v36-filter="km"]) select{min-width:0;width:100%;min-height:44px;font-size:14px}}
@media(max-width:390px){.v411-vehicle-fields{grid-template-columns:1fr}}


/* V4.12: modal único do pedido, fiel ao formulário aprovado na V4.11. */
.v412-order-dialog{box-sizing:border-box;width:min(1050px,calc(100vw - 42px));max-width:1050px;max-height:min(92dvh,980px);padding:0;overflow-x:hidden;overflow-y:auto;border-radius:20px;overscroll-behavior:contain}
.v412-order-dialog::backdrop{background:rgba(7,27,61,.55);backdrop-filter:blur(2px)}
.v412-order-dialog .v37-inline-screen{width:100%;max-width:100%;margin:0;padding:22px 26px 28px;border:0;border-radius:0;box-shadow:none;box-sizing:border-box}
.v412-order-dialog .v37-inline-heading{position:sticky;top:-22px;z-index:8;background:#fff;padding-top:5px;padding-bottom:16px;min-height:54px}
.v412-order-dialog .v37-close-form{width:44px!important;height:44px!important;min-width:44px!important;flex:0 0 44px!important;border-radius:12px!important;position:absolute;right:0;top:1px}
.v412-order-dialog .v37-code-tag{margin-right:46px}
.v412-order-dialog .v37-order-form{width:100%;min-width:0}
@media(max-width:900px){.v412-order-dialog{width:calc(100vw - 22px);max-width:calc(100vw - 22px);max-height:calc(100dvh - 22px);margin:auto;border-radius:18px}.v412-order-dialog .v37-inline-screen{padding:16px 15px 24px}.v412-order-dialog .v37-inline-heading{top:-16px;padding:8px 46px 13px 0}.v412-order-dialog .v37-code-tag{display:none}.v412-order-dialog .v37-close-form{top:5px}}
@media(max-width:760px){.v412-order-dialog{width:100%!important;max-width:100%!important;max-height:calc(100dvh - env(safe-area-inset-top) - 8px)!important;margin:auto 0 0!important;border-radius:18px 18px 0 0!important;padding-bottom:env(safe-area-inset-bottom);min-height:0}.v412-order-dialog .v37-inline-screen{padding:15px 13px 28px}.v412-order-dialog .v37-inline-heading{top:-15px}.v412-order-dialog .v37-order-form{padding:0!important}.v412-order-dialog .v37-order-form>.v42-mobile-step{min-width:0}.v412-order-dialog .v31-submit{display:grid;grid-template-columns:1fr;gap:10px}.v412-order-dialog .v31-submit .btn{min-height:46px;width:100%}}

/* V4.13 — vínculos específicos por categoria: Petshop e Oficina permanecem como eram */
.v413-profile-section{border-color:#E2EAF4}.v413-profile-list{display:grid;gap:12px}.v413-profile-row{border:1px solid #E2EAF4;border-radius:15px;padding:14px;background:#FAFCFF;min-width:0}.v413-profile-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.v413-profile-row-head strong{font-size:14px;color:#0F2D5B}.v413-delete{width:44px;height:44px;border-radius:12px;border:1px solid #F9CDCD;background:#FFF1F1;color:#E23C3C;font-size:20px;font-weight:800;cursor:pointer;flex-shrink:0}.v413-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;min-width:0}.v413-field{min-width:0;display:grid;gap:6px;color:#0F2D5B;font-weight:750;font-size:13px}.v413-field>span{min-height:18px}.v413-field input,.v413-field select{width:100%;height:44px;min-width:0;background:#fff;color:#0F2D5B;border:1px solid #D7E2F1;border-radius:11px;padding:0 12px;font:inherit;font-weight:500;box-sizing:border-box}.v413-field input:disabled,.v413-field select:disabled{background:#F2F5F9;color:#60748F}.v413-field:focus-within input,.v413-field:focus-within select{outline:2px solid rgba(0,102,255,.16);border-color:#0066FF}.v413-multi{grid-column:1/-1;min-width:0;display:grid;gap:9px;border:1px solid #E1EAF5;border-radius:12px;padding:12px;background:white}.v413-multi legend{color:#0F2D5B;font-weight:750;font-size:13px;padding:0 5px}.v413-multi>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v413-multi label{display:flex;align-items:center;gap:9px;font-size:13px;color:#385472;min-height:40px}.v413-multi input{width:19px;height:19px;flex:0 0 auto;accent-color:#0066FF}.v413-reveal{margin-top:12px;border:0;border-radius:10px;color:#0066FF;background:#EAF3FF;font-weight:750;padding:10px 12px;min-height:44px;cursor:pointer}.v413-order-context{margin-top:16px;display:grid;gap:12px;padding:17px;background:#F8FAFF;border:1px solid #E0E9F6;border-radius:16px}.v413-order-head{display:grid;gap:6px}.v413-order-head b{display:flex;align-items:center;gap:7px;color:#0F2D5B;font-size:14px}.v413-order-head small,.v413-link-hint{font-size:12px;color:#66809D;margin:0;line-height:1.5}.v413-order-fields{padding:6px 0 2px}.v413-order-fields[hidden],.v413-existing[hidden]{display:none!important}.v413-existing{color:#0F2D5B;background:#EEF5FF;border:1px solid #D6E5FC;padding:12px 14px;border-radius:12px;font-size:13px;font-weight:600}.v413-birthday-card{display:flex;gap:14px;width:100%;text-align:left;align-items:center;border:1px solid #D5E4F9;border-radius:17px;padding:16px;background:#F3F8FF;color:#0F2D5B;cursor:pointer}.v413-birthday-card>span:first-child{display:grid;place-items:center;background:#E3F0FF;color:#0066FF;border-radius:14px;width:46px;height:46px;flex-shrink:0}.v413-birthday-card>span:nth-child(2){flex:1;min-width:0;display:grid;gap:3px}.v413-birthday-card strong{font-size:17px}.v413-birthday-card small{font-size:12px;color:#637D9A}.v413-birthday-card b{font-size:27px;color:#0066FF}.v413-birthdays-dialog{width:min(520px,calc(100vw - 24px));max-height:85dvh;padding:18px}.v413-birthday-list{display:grid;gap:9px;max-height:60dvh;overflow:auto}.v413-birthday-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:12px;border:1px solid #E2EAF4;padding:12px}.v413-birthday-list strong,.v413-birthday-list small{display:block}.v413-birthday-list strong{color:#0F2D5B;font-size:15px}.v413-birthday-list small{font-size:12px;color:#698099}.v413-birthday-list .btn{min-height:44px;flex-shrink:0}.v36-customers .v36-filters select[data-v413-filter]{min-height:44px;max-width:100%}
@media(max-width:760px){.v413-fields{grid-template-columns:1fr 1fr}.v413-profile-row{padding:12px}.v413-order-context{padding:13px}.v413-multi>div{grid-template-columns:1fr}.v413-birthday-card{padding:13px}.v413-birthday-card strong{font-size:16px}.v36-customers .v36-filters select[data-v413-filter]{width:100%;min-width:0}}
@media(max-width:480px){.v413-fields{grid-template-columns:1fr}.v413-multi{grid-column:1}.v413-order-context{padding:12px}.v413-birthday-list>div{align-items:stretch;flex-direction:column}.v413-birthday-list .btn{width:100%}.v413-profile-row-head strong{line-height:1.4}}
.v413-profile-details{min-width:0}.v413-profile-details summary,.v413-order-details summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 12px;background:#fff;border-radius:11px;border:1px solid #E1EAF5;color:#0F2D5B;font-size:13px;font-weight:750}.v413-profile-details summary::-webkit-details-marker,.v413-order-details summary::-webkit-details-marker{display:none}.v413-profile-details summary:after,.v413-order-details summary:after{content:'+';color:#0066FF;font-weight:900;font-size:19px}.v413-profile-details[open] summary:after,.v413-order-details[open] summary:after{content:'−'}.v413-profile-details[open] .v413-fields,.v413-order-details[open] .v413-fields{margin-top:12px}.v413-order-details>.v413-fields{padding:6px 0}

.v413-field[hidden]{display:none!important}

/* V4.15: leitura de hodômetro exclusiva do atendimento e hierarquia de ações */
.v415-current-km{display:grid;gap:7px;max-width:440px;margin-top:2px}.v415-current-km[hidden]{display:none!important}.v415-current-km input{min-height:44px}.v412-order-dialog .v31-submit .btn-primary,.v39-quote-footer .btn-primary{background:#0066FF;color:#fff;border-color:#0066FF;box-shadow:0 6px 18px rgba(0,102,255,.13)}.v412-order-dialog .v31-submit .btn-soft,.v39-quote-footer .btn-soft{background:#F5F8FD;color:#0F2D5B;border-color:#D9E6F6}.v412-order-dialog .v31-submit,.v39-quote-footer{gap:10px}.v412-order-dialog .v31-submit button,.v39-quote-footer button{min-height:44px}@media(max-width:760px){.v415-current-km{max-width:100%}.v39-quote-footer .btn{width:100%}.v39-quote-footer{display:grid;grid-template-columns:1fr}.v412-order-dialog .v31-submit .btn-primary,.v39-quote-footer .btn-primary{order:2}}

/* Retornei V4.17 - navegação compacta e Despesas */
@media (min-width:821px){
 html:not(.v417-sidebar-fixed) .app-frame{grid-template-columns:78px minmax(0,1fr)}
 html:not(.v417-sidebar-fixed) .sidebar{width:78px;overflow:visible;background:#112F58;color:#e9f3ff;transition:width .18s ease;position:relative;z-index:20}
 html:not(.v417-sidebar-fixed) .sidebar:hover,html:not(.v417-sidebar-fixed) .sidebar:focus-within{width:256px;box-shadow:10px 0 30px #0b26552a}
 html:not(.v417-sidebar-fixed) .sidebar .navlabel,html:not(.v417-sidebar-fixed) .sidebar .footer,html:not(.v417-sidebar-fixed) .sidebar .v417-sidebar-pin span{display:none}
 html:not(.v417-sidebar-fixed) .sidebar:hover .navlabel,html:not(.v417-sidebar-fixed) .sidebar:focus-within .navlabel,html:not(.v417-sidebar-fixed) .sidebar:hover .footer,html:not(.v417-sidebar-fixed) .sidebar:hover .v417-sidebar-pin span{display:inline}
 html:not(.v417-sidebar-fixed) .sidebar:hover .navlink,html:not(.v417-sidebar-fixed) .sidebar:focus-within .navlink{justify-content:flex-start}
 html.v417-sidebar-fixed .sidebar{background:#112F58;color:#e9f3ff}
 .sidebar .navlink{color:#d7e8ff}
 .sidebar .navlink:hover{background:#234976;color:#fff}
 .sidebar .navlink.active{background:#24568E;color:#fff}
 .sidebar .mini-brand{color:#fff}
 .v417-sidebar-pin{margin:16px 10px 8px;border:1px solid #789bc84d;background:#224876;color:#eff7ff;min-height:40px;border-radius:10px;display:flex;gap:9px;align-items:center;justify-content:center;cursor:pointer}
}
.v417-expenses .v417-expense-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v417-expenses .v417-expense-list{padding:10px 22px}
.v417-expense-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid var(--line)}
.v417-expense-row:last-child{border-bottom:0}
.v417-expense-row>div:first-child{display:grid;gap:2px;min-width:0}
.v417-expense-row strong{color:var(--ink)}
.v417-expense-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.v417-expense-pill{border-radius:100px;padding:5px 10px;background:#fff2dc;color:#975b07;font-size:12px;font-weight:700}
.v417-expense-pill.pago{background:#e3f7ed;color:#236e48}
.v417-expense-dialog{max-width:min(94vw,580px)}
.v417-expense-dialog form{padding:24px}
.v417-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}
.v417-stats .v45-fin-stat{min-width:0}
@media(max-width:820px){.v417-expense-row{align-items:flex-start;flex-direction:column}.v417-expense-actions{justify-content:flex-start}.v417-expenses .v417-expense-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.v417-sidebar-pin{display:none}}

/* V4.18 — padronização sem gradientes, contraste e navegação fixa */
@media(min-width:821px){
  .app-frame{min-height:100vh;align-items:start}
  .app-frame>.sidebar{position:sticky;top:0;height:100dvh;max-height:100dvh;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;overscroll-behavior:contain;border-right:0;box-shadow:none;z-index:30;background:#112F58;color:#fff}
  .app-frame>.sidebar::-webkit-scrollbar{width:0;height:0;display:none}
  .app-frame>.sidebar .mini-brand{flex-shrink:0}
  html:not(.v417-sidebar-fixed) .app-frame>.sidebar{position:sticky;top:0;height:100dvh;overflow-y:auto;overflow-x:hidden}
  html:not(.v417-sidebar-fixed) .app-frame>.sidebar:hover{overflow-y:auto;overflow-x:hidden}
}
.sidebar{background:#112F58;color:#e8f1ff;border-right:0;box-shadow:none}
.sidebar::before,.sidebar::after{content:none!important}
.sidebar .menu-items{border:0;box-shadow:none}
.sidebar .navlink{color:#d7e8f8;transition:background-color .15s}
.sidebar .navlink.active{background:#255991;color:#fff}
.sidebar .navlink:hover{background:#234876;color:#fff}
.sidebar .official-lockup,.mobile-head .official-lockup{filter:grayscale(1) brightness(0) invert(1);object-fit:contain;max-width:100%;height:auto}
.sidebar .mini-brand{min-width:0}
.topbar .soft-heading{font-family:Manrope,ui-sans-serif,system-ui,sans-serif;font-size:clamp(15px,1.45vw,20px);font-weight:850;letter-spacing:-.025em;text-transform:none;color:#153969;line-height:1.25;display:block;margin-bottom:5px;overflow-wrap:anywhere}
.topbar h1{font-size:clamp(23px,2.15vw,30px);font-weight:800;line-height:1.2;letter-spacing:-.035em}
.com-heading h2,.v45-fin-heading .com-heading h2,.v46-home .com-heading h2{font-size:20px;line-height:1.3;font-weight:800;letter-spacing:-.02em}
.com-heading p{font-size:13px;line-height:1.5}
.v45-fin-stat,.v45-fin-stat.blue,.v45-fin-stat.green,.v45-fin-stat.orange,.v45-fin-stat.cyan,.v45-fin-stat.purple,.com-stat,.com-stat.blue,.com-stat.orange{background:#fff!important;background-image:none!important;box-shadow:0 4px 18px rgba(15,45,91,.035)}
.v45-fin-stat.orange>b,.v45-fin-stat.orange b,.v45-fin-stat.orange .btn,.v417-expenses .com-stat.orange{background:#fff!important;background-image:none!important}
.v45-fin-stat.orange .btn{border:1px solid #cbdcf0;color:#174b85;border-radius:10px;min-height:32px}
.v417-stats{align-items:stretch}
.v417-stats .v45-fin-stat{display:flex;flex-direction:column;justify-content:space-between;min-height:175px;padding:17px;gap:14px}
.v417-stats .v45-fin-stat>div{gap:7px}
.v417-stats .v45-fin-stat>b{margin-top:auto;align-self:flex-start}
.v46-home-recent .v45-fin-order-list{display:block;max-height:330px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;box-sizing:border-box;scrollbar-color:#c3d3e8 transparent;padding-right:5px}
.v46-home-recent .v45-fin-order-card{padding:9px 10px;border-radius:10px;margin-bottom:7px;gap:5px;background:#fff;box-shadow:none}
.v46-home-recent .v45-fin-order-main{align-items:center;gap:8px}
.v46-home-recent .v45-fin-order-main span{gap:2px}
.v46-home-recent .v45-fin-order-main strong{font-size:12px}
.v46-home-recent .v45-fin-order-main small{font-size:11px}
.v46-home-recent .v45-fin-order-main b{font-size:13px}
.v46-home-recent .v45-fin-order-line{background:transparent;padding:2px 0;border-radius:0;font-size:11px}
.v46-home-recent .v45-fin-order-line b{font-size:11px}
.v46-home-recent .v45-fin-order-actions .btn{min-height:30px;padding:4px 8px;font-size:11px}
.v46-home-recent .v45-fin-panel-head p{font-size:12px;line-height:1.4}
.v418-expense-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}
.v418-expense-filters .com-field{min-width:0;margin:0}
.v418-expense-filters select{min-height:42px;background:#fff}
.v418-due{font-size:12px;color:#637991;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.v418-due.warning{color:#b83243;font-weight:850}
.v418-due em{font-style:normal;font-size:10px;letter-spacing:.02em;font-weight:850;border-radius:5px;background:#fff0f1;color:#b52b41;padding:3px 6px}
.v417-expense-row{align-items:center;min-height:88px}
.v37-status{gap:6px}
.v37-status:before,.v37-status-popover button[data-action]:before,.v31-actions-menu button[data-action="novo"]:before,.v31-actions-menu button[data-action="concluido"]:before,.v31-actions-menu button[data-action="cancelado"]:before{content:"";display:inline-block;width:6px;height:6px;flex:0 0 6px;border-radius:100%;background:#d2a04c;vertical-align:middle;margin-right:5px}
.v37-status.novo:before,.v37-status-popover [data-action="novo"]:before,.v31-actions-menu [data-action="novo"]:before{background:#d6a13e}
.v37-status.concluido:before,.v37-status-popover [data-action="concluido"]:before,.v31-actions-menu [data-action="concluido"]:before{background:#23975a}
.v37-status.cancelado:before,.v37-status-popover [data-action="cancelado"]:before,.v31-actions-menu [data-action="cancelado"]:before{background:#d34758}
.v37-status-popover button[data-action="novo"]::before,.v31-actions-menu button[data-action="novo"]::before{background-color:#d99725}
.v37-status-popover button[data-action="concluido"]::before,.v31-actions-menu button[data-action="concluido"]::before{background-color:#20965b}
.v37-status-popover button[data-action="cancelado"]::before,.v31-actions-menu button[data-action="cancelado"]::before{background-color:#d34250}
.v37-status-popover button[data-action]{display:flex;align-items:center;gap:6px}
@media(max-width:820px){
  .app-frame>.sidebar{background:#112F58!important;color:#fff;border:0;box-shadow:10px 0 28px rgba(5,25,53,.2);overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain}
  .app-frame>.sidebar::-webkit-scrollbar{display:none}
  .app-frame>.sidebar .navlink{min-height:46px;border-radius:11px}
  .app-frame>.sidebar .mini-brand{background:transparent}
  .mobile-head .official-lockup{filter:none}
  .v418-expense-filters{grid-template-columns:1fr;gap:9px}
  .v417-stats .v45-fin-stat{min-height:152px}
  .v46-home-recent .v45-fin-order-list{max-height:300px}
}

/* V4.18 - alinhamento de títulos e navegação nos módulos */
#section-content .v36-page-top h2,#section-content .v38-panel-heading h2,#section-content .v49-notices-header h2,#section-content .v39-quote-header h2,#section-content .com-heading h2{font-size:20px;line-height:1.3;letter-spacing:-.025em;font-weight:800}
#section-content .v36-page-top p,#section-content .v38-panel-heading p,#section-content .v49-notices-header p,#section-content .v39-quote-header p{font-size:13px;line-height:1.5}
.sidebar .footer{background:transparent;border:0;box-shadow:none}
.sidebar .navlink,.sidebar .navlink.active{border:0}
@media(max-width:820px){#section-content .v36-page-top h2,#section-content .v38-panel-heading h2,#section-content .v49-notices-header h2,#section-content .com-heading h2{font-size:19px}}

/* Retornei V4.19 — listagem de despesas alinhada à tabela de pedidos */
html,body{overscroll-behavior-y:none;background:#f7f9fa}
.app-frame,.app-content,.screen-wrap{background:#f7f9fa;overscroll-behavior-y:none}
.app-frame{min-height:100dvh}
.v419-expense-table-card{padding:0!important;overflow:hidden;border:1px solid #dee8f3;border-radius:18px;box-shadow:none}
.v419-expense-header{padding:20px 24px 16px;border-bottom:1px solid #e4ecf5}
.v419-expense-header .com-heading{margin:0;align-items:center;gap:12px}
.v419-expense-header .com-heading h2{font-size:19px;letter-spacing:-.02em}
.v419-expense-header .com-heading p{font-size:12px}
.v419-expense-header .btn{min-height:40px;padding:8px 14px;border-radius:10px}
.v419-expense-filters{display:grid;grid-template-columns:minmax(180px,1.35fr) repeat(3,minmax(130px,1fr));gap:10px;align-items:end;padding:16px 24px}
.v419-expense-filters .com-field{margin:0;min-width:0}
.v419-expense-filters .com-field>span,.v419-expense-filters .com-field>label{font-size:11px}
.v419-expense-filters select{min-height:42px;border-radius:10px;background:#fff}
.v419-expense-search{height:42px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #d7e3f1;border-radius:10px;color:#7185a1;background:#fff;min-width:0}
.v419-expense-search input{background:none;outline:none;border:0;min-width:0;flex:1;color:#0f2d5b;font-size:13px}
.v419-expense-search:focus-within{border-color:#0066ff;box-shadow:0 0 0 3px #0066ff12}
.v419-expense-bulk{background:#f6f9fd;border-top:1px solid #e8eef5;border-bottom:1px solid #e8eef5;padding:10px 24px;color:#6b829f;font-size:11px}
.v419-expense-scroll{overflow-x:auto;max-width:100%}
.v419-expense-table{width:100%;min-width:1060px;border-collapse:collapse;text-align:left;table-layout:auto}
.v419-expense-table thead{background:#f7f9fc}
.v419-expense-table th{font-size:10px;text-transform:uppercase;color:#617591;letter-spacing:.025em;font-weight:800;padding:13px 12px;white-space:nowrap}
.v419-expense-table td{padding:14px 12px;border-top:1px solid #e7edf6;color:#516988;font-size:12px;vertical-align:middle}
.v419-expense-table th:first-child,.v419-expense-table td:first-child{padding-left:24px}
.v419-expense-table th:last-child,.v419-expense-table td:last-child{padding-right:24px}
.v419-expense-table td strong{font-size:12px;color:#16335d;font-weight:750}
.v419-expense-table td small{display:block;font-size:10px;color:#8697ab;margin-top:2px}
.v419-expense-money{text-align:right;white-space:nowrap}
.v419-expense-code{white-space:nowrap}
.v419-expense-actions{display:flex;justify-content:flex-end;align-items:center;gap:5px}
.v419-expense-actions .btn{white-space:nowrap;border-radius:8px;font-weight:750;min-height:32px;padding:5px 9px;font-size:11px;box-shadow:none}
.v419-expense-delete{background:transparent!important;color:#7385a0!important;border:1px solid #dbe5f2!important}
.v419-expense-table .v417-expense-pill{display:inline-block;white-space:nowrap}
.v419-expense-table .v418-due.warning{font-weight:800;color:#c5283b}
.v419-expense-table .v418-due.warning em{display:block;width:max-content;margin-top:2px}
.v419-expense-empty{text-align:center;padding:32px!important}
.v419-expense-footer{display:flex;align-items:center;justify-content:space-between;padding:13px 24px;border-top:1px solid #e7edf6;font-size:12px;color:#496487}
.v419-expense-footer>div{display:flex;align-items:center;gap:12px}
.v419-expense-footer button{border:1px solid #dce6f2;background:#fff;color:#0f2d5b;border-radius:9px;min-width:30px;height:30px;font-weight:800}
.v419-expense-footer button:disabled{opacity:.35}
@media(max-width:960px){.v419-expense-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.v419-expense-search{grid-column:span 2}}
@media(max-width:640px){.v419-expense-header,.v419-expense-filters,.v419-expense-bulk{padding-left:14px;padding-right:14px}.v419-expense-header .com-heading{align-items:flex-start;flex-wrap:wrap}.v419-expense-filters{gap:8px}.v419-expense-filters .com-field{min-width:0}.v419-expense-footer{padding:12px 14px}}


/* V4.20 — correções pontuais de identidade, alinhamento e despesas mobile */
/* O logo oficial permanece visível mesmo com menu rolável. */
.app-frame>.sidebar .v420-sidebar-brand{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:86px;padding:16px 12px 12px;background:#102b50;isolation:isolate}
.v420-sidebar-brand img{display:block;object-fit:contain;filter:brightness(0) invert(1);mix-blend-mode:normal;max-width:100%}
.v420-brand-full{width:174px;height:auto;max-height:55px}
.v420-brand-symbol{display:none!important;width:43px;height:43px}
@media(min-width:821px){
 html:not(.v417-sidebar-fixed) .app-frame>.sidebar:not(:hover):not(:focus-within) .v420-brand-full{display:none}
 html:not(.v417-sidebar-fixed) .app-frame>.sidebar:not(:hover):not(:focus-within) .v420-brand-symbol{display:block!important}
 .app-frame>.sidebar{background:#112f58}
}
/* Padroniza o respiro entre painéis sem alterar gráficos, métricas ou conteúdo. */
.v46-home-main,.v46-home-secondary{align-items:stretch;gap:14px}
.v46-home-main>.com-card,.v46-home-secondary>.com-card{padding:18px!important;height:100%;min-width:0;box-sizing:border-box}
.v46-home-main .v45-fin-panel-head,.v46-home-secondary .v45-fin-panel-head{margin:0 0 12px;gap:8px}
.v46-home-main .v45-fin-chart-card svg{background:#fbfcff}
/* Mobile: despesas viram cartões verticais, nunca uma tabela que exige arrastar lateralmente. */
@media(max-width:820px){
 .v419-expense-scroll{overflow-x:hidden;width:100%;padding:0 12px 12px}
 .v419-expense-table{min-width:0!important;width:100%;display:block;border-collapse:separate}
 .v419-expense-table thead{display:none}
 .v419-expense-table tbody{display:grid;grid-template-columns:1fr;gap:11px;width:100%}
 .v419-expense-table .v419-expense-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px 12px;border:1px solid #e0e9f4;border-radius:14px;background:#fff;padding:14px;min-width:0}
 .v419-expense-table .v419-expense-row td{display:block;min-width:0;border:0;padding:0!important;font-size:12px;overflow-wrap:anywhere}
 .v419-expense-table .v419-expense-row td::before{content:attr(data-label);display:block;font-size:10px;font-weight:750;letter-spacing:.02em;text-transform:uppercase;color:#8190a8;margin:0 0 3px}
 .v419-expense-table .v419-expense-row td:nth-child(1){grid-column:1;grid-row:1}
 .v419-expense-table .v419-expense-row td:nth-child(7){grid-column:2;grid-row:1;text-align:right}
 .v419-expense-table .v419-expense-row td:nth-child(2),
 .v419-expense-table .v419-expense-row td:nth-child(3){grid-column:1/-1}
 .v419-expense-table .v419-expense-row td:nth-child(4){grid-column:1}
 .v419-expense-table .v419-expense-row td:nth-child(5){grid-column:2}
 .v419-expense-table .v419-expense-row td:nth-child(6){grid-column:1;align-self:end;text-align:left}
 .v419-expense-table .v419-expense-row td:nth-child(8){grid-column:2;align-self:end}
 .v419-expense-table .v419-expense-row td:nth-child(8)::before{display:none}
 .v419-expense-table .v419-expense-row .v419-expense-actions{justify-content:flex-end;gap:6px;flex-wrap:wrap}
 .v419-expense-table .v419-expense-row .v419-expense-actions .btn{min-height:34px;padding:7px 9px;font-size:11px}
 .v419-expense-table .v419-expense-row .v418-due{gap:3px}
 .v419-expense-table .v419-expense-empty{display:block!important;text-align:center!important;padding:24px 12px!important;border:0}
 .v419-expense-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .v419-expense-search{grid-column:1/-1}
 .v419-expense-footer{gap:8px;flex-wrap:wrap}
 .v419-expense-header .com-heading{align-items:flex-start;gap:12px}
 .app-frame>.sidebar .v420-sidebar-brand{background:#102b50}
}
@media(max-width:640px){
 .v419-expense-filters{grid-template-columns:1fr}
 .v419-expense-search{grid-column:1}
 .v46-home-main>.com-card,.v46-home-secondary>.com-card{padding:15px!important}
}
/* Menu inferior azul, com contraste nos ícones e estado selecionado. */
@media(max-width:1024px){
 .bottom-nav{background:#12345f!important;border-top:1px solid #375b84!important;box-shadow:0 -4px 18px rgba(9,30,60,.13)!important}
 .bottom-nav button{color:#d9e8ff!important;background:transparent;border-radius:10px}
 .bottom-nav button.active{color:#fff!important;background:#275995!important}
 .bottom-nav button:hover{color:#fff!important}
}
/* Gradiente sutil restrito à navegação lateral, sem gradientes nos cards. */
.app-frame>.sidebar{background:linear-gradient(166deg,#183e70 0%,#102f57 58%,#0b2444 100%)!important}
.app-frame>.sidebar .v420-sidebar-brand{background:#183e70}
@media(max-width:820px){.app-frame>.sidebar{background:linear-gradient(166deg,#183e70 0%,#102f57 58%,#0b2444 100%)!important}}

/* V4.20.1 — As duas marcas oficiais do menu usam arquivos diferentes.
   A logo horizontal e branca possui fundo transparente; o símbolo mantém sua máscara. */
.v420-sidebar-brand .v420-brand-full{filter:none!important}
.v420-sidebar-brand .v420-brand-symbol{filter:brightness(0) invert(1)!important}


/* V4.20.2 — navegação lateral compacta e cabeçalho de marca em vidro.
   Alterações limitadas à barra lateral; não mudam telas ou regras operacionais. */
.app-frame>.sidebar{
  gap:7px;
  padding:12px 12px 14px;
}
.app-frame>.sidebar .v420-sidebar-brand{
  position:sticky;
  top:0;
  z-index:40;
  flex:0 0 82px;
  width:100%;
  min-width:0;
  min-height:82px;
  height:82px;
  margin:0 0 6px;
  padding:12px 10px;
  border-radius:16px;
  border:1px solid rgba(229,244,255,.20);
  background:linear-gradient(140deg,rgba(41,89,143,.82),rgba(11,39,77,.78))!important;
  -webkit-backdrop-filter:blur(22px) saturate(150%);
  backdrop-filter:blur(22px) saturate(150%);
  box-shadow:0 8px 22px rgba(4,23,50,.18),inset 0 1px rgba(255,255,255,.15);
  isolation:isolate;
  overflow:hidden;
}
.app-frame>.sidebar .v420-sidebar-brand::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(155deg,rgba(255,255,255,.11),transparent 47%,rgba(255,255,255,.025));
}
.app-frame>.sidebar .v420-sidebar-brand img{
  position:relative;
  z-index:1;
  width:100%;
  max-width:174px;
  max-height:57px;
  object-fit:contain;
  flex-shrink:1;
}
.app-frame>.sidebar .v420-sidebar-brand .v420-brand-symbol{
  width:42px;
  height:42px;
}
.app-frame>.sidebar .menu-items{
  display:grid;
  gap:3px;
  flex:0 0 auto;
  margin:0;
  padding:3px 0 0;
  border:0;
}
.app-frame>.sidebar .navlink{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  min-height:41px;
  padding:8px 10px;
  border-radius:11px;
  font-size:13.5px;
  line-height:1.28;
  font-weight:700;
  text-align:left;
}
.app-frame>.sidebar .navlink .navico{
  display:grid;
  place-items:center;
  flex:0 0 20px;
  width:20px;
  min-width:20px;
  line-height:1;
}
.app-frame>.sidebar .navlink .navico svg{
  width:18px;
  height:18px;
}
.app-frame>.sidebar .navlink .navlabel{
  display:block;
  min-width:0;
  overflow-wrap:normal;
}
.app-frame>.sidebar .v417-sidebar-pin{
  min-height:37px;
  margin:8px 4px 5px;
  padding:7px 8px;
  font-size:12px;
  line-height:1.2;
}
.app-frame>.sidebar .v417-sidebar-pin svg{width:17px;height:17px}
.app-frame>.sidebar .footer{
  padding:6px 8px 2px;
  font-size:10px;
  line-height:1.35;
}
@media(min-width:821px){
  html:not(.v417-sidebar-fixed) .app-frame>.sidebar:not(:hover):not(:focus-within) .v420-sidebar-brand{
    padding:9px 6px;
    min-height:62px;
    height:62px;
    flex-basis:62px;
    border-radius:14px;
  }
  html:not(.v417-sidebar-fixed) .app-frame>.sidebar:not(:hover):not(:focus-within) .navlink{
    justify-content:center;
    gap:0;
    padding:8px 4px;
  }
  html:not(.v417-sidebar-fixed) .app-frame>.sidebar:not(:hover):not(:focus-within) .navlabel{
    display:none;
  }
  html:not(.v417-sidebar-fixed) .app-frame>.sidebar:hover .navlink,
  html:not(.v417-sidebar-fixed) .app-frame>.sidebar:focus-within .navlink{
    justify-content:flex-start;
    gap:10px;
    padding:8px 10px;
  }
}
@media(max-width:820px){
  .app-frame>.sidebar{
    gap:7px;
    padding:12px 12px 14px;
  }
  .app-frame>.sidebar .v420-sidebar-brand{
    min-height:78px;
    height:78px;
    flex-basis:78px;
  }
  .app-frame>.sidebar .navlink{min-height:42px;padding:9px 11px}
}
@media(prefers-reduced-motion:reduce){
  .app-frame>.sidebar .v420-sidebar-brand{transition:none}
}

.v421-warning{display:inline-block;font-size:17px;color:#dc3545;line-height:1;vertical-align:middle;margin-left:4px;cursor:help}
.v421-panel{border:1px solid #d8e5f4;border-radius:15px;background:#fcfdff;padding:16px;display:grid;gap:12px;min-width:0}
.v421-panel h3{margin:0;color:#173760;font-size:16px}
.v421-panel p{margin:0;color:#607796;font-size:12px}
.v421-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.v421-totals>span{background:#f4f8fe;border:1px solid #e4edf7;border-radius:10px;padding:10px;font-size:12px;color:#536a86;display:grid;gap:3px}
.v421-totals>span:nth-child(2){background:#fffaf1;border-color:#f3e8d5}
.v421-totals>span:nth-child(3){background:#f1faf6;border-color:#dcefe6}
.v421-totals strong{color:#142f53;font-size:19px}
.v421-move{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(95px,.6fr) minmax(130px,1.4fr);gap:9px;align-items:end}
.v421-move .btn{grid-column:1/-1;justify-self:start;min-height:33px!important;padding:6px 12px!important;font-size:12px!important;font-weight:750!important;border:1px solid #bdd8fc!important;background:#eaf3ff!important;color:#1356a2!important;border-radius:8px!important;box-shadow:none!important}
.v421-move .btn:hover{background:#dcecff!important}
.v421-move .com-field>span{color:#27496d;font-size:12px;font-weight:750}
.v421-move input,.v421-move select{background:#fff;border:1px solid #c9d9eb;border-radius:8px;color:#173760;min-height:38px}
.v421-move input:focus,.v421-move select:focus{outline:2px solid #a8ceff;outline-offset:1px}
.v421-history{border-top:1px solid #e2eaf4;padding-top:12px;min-width:0;background:#fff;border-radius:8px}
.v421-history-title{font-size:13px;font-weight:700;color:#18385d;display:flex;justify-content:space-between;gap:8px}
.v421-history-title span{font-size:11px;font-weight:400;color:#68809c}
#v421-history-items{max-height:236px;overflow-y:auto;overscroll-behavior:contain;margin-top:8px}
.v421-history-line{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:10px 3px;border-bottom:1px solid #e8eef5}
.v421-history-line>div{display:grid;gap:3px;min-width:0}
.v421-history-line strong{font-size:13px;color:#1c395c}
.v421-history-line small{font-size:11px;color:#657d98;overflow-wrap:anywhere}
.v421-history-line>.positive{color:#138259}.v421-history-line>.negative{color:#ae4545}
@media(max-width:820px){
 .v421-totals{grid-template-columns:repeat(3,minmax(0,1fr))}
 .v421-move{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v421-note{grid-column:1/-1}
 .v38-catalog .v38-table-scroller{overflow:visible;max-width:100%}
 .v38-catalog .v38-table{min-width:0;width:100%;display:block}
 .v38-catalog .v38-table thead,.v38-catalog .v38-table colgroup{display:none}
 .v38-catalog .v38-table tbody{display:grid;gap:10px}
 .v38-catalog .v38-item-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:center;border:1px solid #dbe7f4;border-radius:14px;padding:12px;background:#fff;min-width:0}
 .v38-catalog .v38-item-row td{display:block!important;min-width:0;width:auto!important;padding:2px!important;border:0!important;white-space:normal!important;text-align:left!important;overflow-wrap:anywhere}
 .v38-catalog .v38-item-row .v38-name{grid-column:1/-1;font-weight:700}
 .v38-catalog .v38-item-row .v38-code{grid-column:2;text-align:right!important}
 .v38-catalog .v38-item-row .v38-action-col{grid-column:2;justify-self:end}
 .v38-catalog .v38-item-row .v38-number::before{content:attr(data-label);display:block;font-size:10px;font-weight:600;color:#7789a2;margin-bottom:3px}
 .v38-catalog .v38-item-row>td:first-child{grid-column:1;grid-row:1}
 .v38-catalog .v38-table tbody tr:not(.v38-item-row){display:block}
 .v38-catalog .v38-table tbody tr:not(.v38-item-row) td{display:block}
 .v38-catalog .v38-panel-heading,.v38-catalog .v38-filters,.v38-catalog .v38-bulk-line{min-width:0;flex-wrap:wrap}
}
@media(max-width:420px){.v421-panel{padding:12px}.v421-totals strong{font-size:16px}.v421-move{grid-template-columns:1fr}.v421-note{grid-column:auto}}

.v421-panel[hidden]{display:none!important}


@media(max-width:820px){
 .app-content .screen-wrap{min-width:0}
 .v422-mobile-filter{width:100%;min-width:0;box-sizing:border-box;border:1px solid #d6e4f7;border-radius:12px;background:#f7faff;overflow:hidden}
 .v422-mobile-filter>summary,.v422-analytics>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 13px;color:#17416e;font-size:13px;font-weight:750;user-select:none}
 .v422-mobile-filter>summary::-webkit-details-marker,.v422-analytics>summary::-webkit-details-marker{display:none}
 .v422-mobile-filter>summary>svg:first-child,.v422-analytics>summary>svg:first-child{color:#0066ff;flex-shrink:0}
 .v422-filter-chevron,.v422-analytics>summary>span{margin-left:auto;display:flex;align-items:center;transition:transform .2s}
 .v422-mobile-filter[open] .v422-filter-chevron,.v422-analytics[open]>summary>span{transform:rotate(180deg)}
 .v422-filter-content{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:11px;border-top:1px solid #dce8f8;min-width:0;background:white}
 .v422-filter-content>select,.v422-filter-content>label,.v422-filter-content>.com-field{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box}
 .v422-filter-content select,.v422-filter-content input{width:100%;min-width:0;box-sizing:border-box;min-height:44px;font-size:14px}
 .v422-filter-content .v40-date-separator{display:none}
 .v422-analytics{border:1px solid #dce7f5;border-radius:14px;background:#fff;overflow:hidden;min-width:0}
 .v422-analytics>summary{font-size:14px;padding:14px}
 .v422-analytics .v46-home-secondary{display:grid;gap:12px;padding:0 12px 12px;min-width:0}
 .v45-fin-heading .v45-fin-toolbar{display:block;padding:0;border:0;background:transparent}
 .v45-fin-toolbar .v422-mobile-filter{width:100%}
 .v45-fin-toolbar .v422-filter-content{grid-template-columns:1fr;gap:10px}
 .v45-fin-toolbar .v45-fin-periods{display:flex;overflow-x:auto;gap:7px;flex-wrap:nowrap;white-space:nowrap;padding:2px 0 6px;scrollbar-width:thin}
 .v45-fin-toolbar .v45-fin-periods .com-chip{flex:0 0 auto;min-height:42px}
 .v45-fin-toolbar .v45-fin-segment{display:flex;overflow-x:auto;gap:7px;scrollbar-width:thin;padding:0 0 3px}
 .v45-fin-toolbar .v45-fin-segment button{flex:0 0 auto;min-height:42px;font-size:13px}
 .v46-home{gap:13px}
 .v46-home .v46-ops-grid{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(142px,43vw);grid-template-columns:none!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;gap:10px;padding-bottom:7px;scrollbar-width:thin}
 .v46-home .v46-op{min-height:100px;scroll-snap-align:start;padding:12px!important}
 .v46-home .v46-op span{font-size:12px;line-height:1.4}
 .v46-home .v46-op strong{font-size:24px}
 .v46-home .v46-fin-stats{display:flex!important;align-items:stretch;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;padding-bottom:7px}
 .v46-home .v46-fin-stats>.v45-fin-stat{flex:0 0 min(75vw,310px);min-width:0;scroll-snap-align:start;padding:14px!important}
 .v46-home .v46-fin-stats strong{font-size:22px}
 .v46-home .v46-fin-stats small{font-size:12px;line-height:1.45}
 .v46-home .v46-quick-actions{display:flex!important;flex-wrap:nowrap;overflow-x:auto;gap:8px;scrollbar-width:thin;padding-bottom:6px}
 .v46-home .v46-quick-actions .btn{width:auto!important;flex:0 0 auto;min-height:44px;font-size:13px;padding:10px 13px}
 .v46-home .v46-home-main{display:flex!important;flex-direction:column;gap:12px}
 .v46-home .v46-home-main>.v46-home-recent{order:-1}
 .v46-home .v46-home-main>.v46-home-insights{order:1}
 .v46-home .v45-fin-panel-head p{font-size:12px;line-height:1.4}
 .v36-customers,.v37-orders,.v38-catalog,.v40-returns,.v419-expenses{gap:10px;min-width:0}
 .v36-page-top,.v37-orders>.v36-page-top,.v38-panel-heading,.v40-return-head,.v419-expense-header{padding:13px 13px 11px!important;gap:10px}
 .v36-page-top h2,.v38-panel-heading h2,.v40-return-head h2{font-size:18px}
 .v36-page-top p,.v38-panel-heading p,.v40-return-head p{font-size:12px;line-height:1.4}
 .v36-page-top>.btn,.v38-panel-heading>.btn,.v40-return-head>.btn,.v37-orders>.v36-page-top>.btn{width:auto!important;min-height:44px!important;padding:9px 13px!important;align-self:flex-start}
 .v36-controls,.v37-controls,.v38-filters,.v419-expense-filters,.v40-return-filters{gap:9px;padding:10px 12px!important;min-width:0}
 .v36-filters,.v37-filters,.v38-filters,.v419-expense-filters,.v40-return-filters{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%;min-width:0;gap:9px!important}
 .v36-controls,.v37-controls{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 .v36-filters .v36-search-wrap,.v37-filters .v36-search-wrap,.v38-filters .v38-search,.v419-expense-filters .v419-expense-search,.v40-return-filters>label:first-child{display:flex;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
 .v36-filters .v422-mobile-filter,.v37-filters .v422-mobile-filter,.v38-filters .v422-mobile-filter,.v419-expense-filters .v422-mobile-filter,.v40-return-filters .v422-mobile-filter{width:100%;max-width:100%}
 .v36-filters .v422-filter-content,.v37-filters .v422-filter-content,.v38-filters .v422-filter-content,.v419-expense-filters .v422-filter-content,.v40-return-filters .v422-filter-content{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .v36-customers .v36-filters:has([data-v36-filter="km"]),.v36-customers .v36-filters:has([data-v413-filter]){display:flex!important;grid-template-columns:none!important}
 .v36-total-count,.v38-count,.v40-total{font-size:12px;align-self:flex-start;color:#647991}
 .v38-panel{padding:0!important}
 .v38-filters .v38-count{order:3}
 .v36-bulk,.v37-bulk,.v38-bulk-line,.v40-return-bulk{padding:7px 11px!important;min-height:0!important;gap:7px!important}
 .v36-bulk-idle,.v38-placeholder,.v38-bulk-count>span{display:none}
 .v36-bulk-tools,.v38-bulk-buttons{gap:7px;min-height:0}
 .v36-bulk-tools button,.v38-bulk-buttons button{min-height:40px!important;font-size:12px!important}
 .v36-table-scroll,.v37-table-scroll,.v38-table-scroller,.v40-table-scroll{padding:0 9px 9px!important}
 .v36-table tr.v36-customer-row,.v37-orders-table tr.v37-order-row,.v38-catalog .v38-item-row,.v40-return-table tr.v40-return-row{padding:12px!important;gap:7px 9px!important;border-radius:14px!important}
 .v36-table tr.v36-customer-row .v36-name strong,.v37-orders-table .v37-customer strong,.v40-return-table .v40-customer strong{font-size:15px!important;line-height:1.35}
 .v36-table .v36-context{font-size:12px!important}
 .v36-table .v36-date{font-size:11px!important}
 .v37-orders-table tr.v37-order-row{grid-template-columns:minmax(0,1fr) auto!important;align-items:center}
 .v37-orders-table tr.v37-order-row td:nth-child(3){grid-column:1/-1!important;grid-row:2!important}
 .v37-orders-table tr.v37-order-row td:nth-child(2){grid-column:1!important;grid-row:3!important}
 .v37-orders-table tr.v37-order-row td:nth-child(7){grid-column:2!important;grid-row:3!important;justify-self:end}
 .v37-orders-table tr.v37-order-row td:nth-child(5){grid-column:1!important;grid-row:4!important;justify-self:start}
 .v37-orders-table tr.v37-order-row td:nth-child(6){grid-column:2!important;grid-row:4!important;justify-self:end;text-align:right!important}
 .v37-orders-table tr.v37-order-row td:nth-child(4){grid-column:1/-1!important;grid-row:5!important;border-top:1px solid #eef2f7!important;padding-top:6px!important;color:#647a94}
 .v37-orders-table tr.v37-order-row .v37-total{font-size:19px!important;letter-spacing:-.025em}
 .v37-orders-table tr.v37-order-row .v37-status{font-size:12px!important;min-height:30px;display:inline-flex;align-items:center}
 .v38-catalog .v38-item-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important}
 .v38-catalog .v38-item-row td:nth-child(4){grid-column:1/-1!important;grid-row:2!important;font-size:15px!important;line-height:1.38}
 .v38-catalog .v38-item-row td:nth-child(2){grid-column:1!important;grid-row:3!important;font-size:12px}
 .v38-catalog .v38-item-row td:nth-child(3){grid-column:2!important;grid-row:3!important;justify-self:end;text-align:right!important}
 .v38-catalog .v38-item-row td:nth-child(6){grid-column:1!important;grid-row:4!important;justify-self:stretch}
 .v38-catalog .v38-item-row td:nth-child(7){grid-column:2!important;grid-row:4!important;justify-self:stretch}
 .v38-catalog .v38-item-row td:nth-child(5){grid-column:1!important;grid-row:5!important;opacity:.9}
 .v38-catalog .v38-item-row td:nth-child(8){grid-column:2!important;grid-row:5!important;text-align:right!important}
 .v38-catalog .v38-item-row td:nth-child(6),.v38-catalog .v38-item-row td:nth-child(7){padding:10px!important;border:1px solid #dfebfb!important;border-radius:10px;background:#f2f7ff;min-width:0}
 .v38-catalog .v38-item-row td:nth-child(7){background:#edf7f2;border-color:#d9ede2!important}
 .v38-catalog .v38-item-row td:nth-child(6)::before,.v38-catalog .v38-item-row td:nth-child(7)::before{margin:0 0 5px;font-size:11px;font-weight:800;color:#5b7190}
 .v38-catalog .v38-item-row td:nth-child(7)::before{content:'Em estoque'}
 .v38-catalog .v38-item-row .v38-price,.v38-catalog .v38-item-row .v422-stock-physical{display:inline;color:#0f2d5b;font-size:18px!important;font-weight:850;letter-spacing:-.02em}
 .v38-catalog .v38-item-row .v38-price{color:#0066ff!important}
 .v422-stock-available{display:block;font-size:11px;color:#39785b;font-weight:750;margin-top:3px}
 .v38-catalog .v38-item-row .v422-stock-cell:has(.v421-warning){background:#fff2f2!important;border-color:#efc6cd!important}
 .v38-catalog .v38-item-row .v422-stock-cell:has(.v421-warning) .v422-stock-available{color:#bd2f43}
 .v40-return-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;gap:7px;padding:10px!important}
 .v40-return-tabs .v40-tab{min-height:44px;flex:0 0 auto;white-space:nowrap;scroll-snap-align:start;font-size:13px}
 .v41-stat-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .v41-stat-card{padding:13px!important;min-width:0}
 .v41-stat-name{font-size:12px!important;line-height:1.4}
 .v41-stat-count{font-size:26px!important}
 .v41-stat-note{font-size:11px!important;line-height:1.4}
 .v41-period-buttons{display:flex!important;overflow-x:auto;align-items:center;gap:6px;scrollbar-width:thin}
 .v41-period-buttons>strong{flex:0 0 auto}
 .v41-period-btn{flex:0 0 auto!important;padding:8px 10px!important;min-height:42px;font-size:12px!important}
 .v40-return-table tr.v40-return-row td:nth-child(3){grid-column:1/-1!important;grid-row:2!important}
 .v40-return-table tr.v40-return-row td:nth-child(5){grid-column:1!important;grid-row:3!important;font-size:14px!important;font-weight:800}
 .v40-return-table tr.v40-return-row td:nth-child(6){grid-column:2!important;grid-row:3!important;justify-self:end}
 .v40-return-table tr.v40-return-row td:nth-child(4){grid-column:1/-1!important;grid-row:4!important;border-top:1px solid #e8eef6!important;padding-top:7px!important}
 .v40-return-table tr.v40-return-row td:nth-child(2){grid-column:1!important;grid-row:5!important;font-size:12px!important}
 .v40-return-table .v40-contact-button,.v40-return-table .v41-more{min-height:44px!important;min-width:44px!important;font-size:13px!important}
 .v419-expense-filters .v422-filter-content>.com-field{margin:0!important}
 .v419-expense-header .com-heading{align-items:flex-start!important;flex-wrap:wrap!important}
 .v419-expense-table .v419-expense-row{gap:8px 10px!important;padding:13px!important}
 .v419-expense-table .v419-expense-row td:nth-child(2){grid-column:1!important;grid-row:1!important}
 .v419-expense-table .v419-expense-row td:nth-child(2) strong{font-size:15px!important}
 .v419-expense-table .v419-expense-row td:nth-child(7){grid-column:2!important;grid-row:1!important}
 .v419-expense-table .v419-expense-row td:nth-child(1){grid-column:1/-1!important;grid-row:2!important;color:#71839a}
 .v419-expense-table .v419-expense-row td:nth-child(3){grid-column:1/-1!important;grid-row:3!important;padding:7px 0!important;border-top:1px solid #e8eef5!important}
 .v419-expense-table .v419-expense-row td:nth-child(6){grid-column:1!important;grid-row:4!important}
 .v419-expense-table .v419-expense-row td:nth-child(6) strong{font-size:19px!important;color:#0e3563}
 .v419-expense-table .v419-expense-row td:nth-child(4){grid-column:2!important;grid-row:4!important;justify-self:end;text-align:right!important}
 .v419-expense-table .v419-expense-row td:nth-child(5){grid-column:1!important;grid-row:5!important}
 .v419-expense-table .v419-expense-row td:nth-child(8){grid-column:1/-1!important;grid-row:6!important;justify-self:stretch;border-top:1px solid #edf1f7!important;padding-top:8px!important}
 .v419-expense-table .v419-expense-row .v419-expense-actions{justify-content:flex-end;flex-wrap:nowrap}
 .v419-expense-table .v419-expense-row .v419-expense-actions .btn{min-height:44px!important;font-size:12px!important;padding:9px 13px!important}
 .v39-sim-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .v39-sim-grid>.com-field{min-width:0}
 .v39-sim-grid>.com-field:nth-child(3),.v39-sim-grid>.com-field:nth-child(4){grid-column:1/-1}
 .v39-sim-output{padding:14px!important;line-height:1.45}
 .v39-sim-output strong{font-size:22px!important;color:#0f2d5b}
 .v39-simulator-section input,.v39-simulator-section select{font-size:16px;min-height:44px}
 .v39-quote-filter .v422-mobile-filter{width:100%}
}
@media(max-width:390px){
 .v422-filter-content,.v36-filters .v422-filter-content,.v37-filters .v422-filter-content,.v38-filters .v422-filter-content,.v419-expense-filters .v422-filter-content,.v40-return-filters .v422-filter-content{grid-template-columns:1fr!important}
 .v41-stat-count{font-size:23px!important}
 .v38-catalog .v38-item-row .v38-price,.v38-catalog .v38-item-row .v422-stock-physical{font-size:16px!important}
}
@media(min-width:821px){.v422-stock-available{display:none!important}}
@media(prefers-reduced-motion:reduce){.v422-filter-chevron,.v422-analytics>summary>span{transition:none}}

@media(max-width:820px){
 .v38-catalog .v38-table tr.v38-item-row td:nth-child(5){grid-row:5!important;grid-column:1!important;align-self:center}
 .v38-catalog .v38-table tr.v38-item-row td:nth-child(6){grid-row:4!important;grid-column:1!important;justify-self:stretch!important;text-align:left!important;min-width:0}
 .v38-catalog .v38-table tr.v38-item-row td:nth-child(7){grid-row:4!important;grid-column:2!important;justify-self:stretch!important;text-align:left!important;min-width:0}
 .v38-catalog .v38-table tr.v38-item-row td:nth-child(8){grid-row:5!important;grid-column:2!important;justify-self:end!important}
 .v38-catalog .v38-table tr.v38-item-row:has(.v38-type.servico) td:nth-child(7),
 .v38-catalog .v38-table tr.v38-item-row:has(.v38-type.servico) td:nth-child(8){display:none!important}
 .v38-catalog .v38-table tr.v38-item-row:has(.v38-type.servico) td:nth-child(6){grid-column:1/-1!important}
 .v37-orders-table tr.v37-order-row td:nth-child(3){padding-left:35px!important;padding-right:52px!important;box-sizing:border-box}
}

/* Retornei V4.23 — sistema visual mobile fiel às referências aprovadas.
   Escopo exclusivamente visual: 320 a 820px. Regras de negócio inalteradas. */
@media (max-width:820px){
 :root{--v423-blue:#0868fa;--v423-navy:#0e2c59;--v423-ink:#102e5b;--v423-muted:#6c80a0;--v423-edge:#dce6f4;--v423-bg:#f9fbfe;--v423-radius:15px}
 html,body,.app-content,.screen-wrap,.app-frame{background:var(--v423-bg)!important;color:var(--v423-navy);font-family:Manrope,system-ui,sans-serif}
 *,*::before,*::after{box-sizing:border-box}
 body{overflow-x:hidden}
 .app-content{padding:16px 13px calc(92px + env(safe-area-inset-bottom))!important;max-width:100vw!important;min-width:0!important}
 .app-content .screen-wrap{max-width:100%;width:100%;overflow:visible}
 #section-content,.v423-mobile-root{width:100%;min-width:0;max-width:100%}
 #section-content>section{margin:0}
 .mobile-head{display:flex;align-items:center;gap:10px;min-height:64px;margin:0 0 12px!important;padding:0 126px 0 0}
 .mobile-head .mini-brand img{width:189px!important;max-width:min(58vw,189px);height:auto!important;object-fit:contain}
 .mobile-head>.iconbtn{flex:0 0 44px;width:44px;height:44px;margin-left:auto;border:0;border-radius:14px;background:#edf5ff;color:var(--v423-blue);display:grid;place-items:center}
 .topbar{position:relative;display:flex!important;align-items:flex-start;min-height:64px;gap:7px;padding:0!important;margin:0 0 14px!important;border:0;background:transparent}
 .topbar>div:first-child{min-width:0;max-width:100%}
 .topbar .soft-heading{font-size:13px!important;font-weight:750!important;line-height:1.45;margin:0 0 4px;color:#647899;letter-spacing:0}
 .topbar h1{font-size:clamp(23px,6vw,28px)!important;font-weight:850!important;letter-spacing:-.045em;line-height:1.16;color:var(--v423-navy);margin:0}
 .topbar>.split{position:absolute;right:0;top:-76px;margin:0!important;gap:10px!important;display:flex!important;align-items:center!important}
 .topbar .top-notification{display:none!important}
 .topbar [data-action="logout"]{border:1px solid var(--v423-edge)!important;border-radius:14px!important;background:#fff!important;color:var(--v423-navy)!important;min-height:44px!important;height:44px!important;padding:0 16px!important;font-size:13px;font-weight:800;box-shadow:none;display:inline-flex!important;align-items:center!important;justify-content:center!important}
 .bottom-nav{position:fixed!important;bottom:0!important;left:0!important;right:0!important;display:flex!important;align-items:stretch!important;justify-content:space-around!important;min-height:71px!important;padding:6px 7px calc(7px + env(safe-area-inset-bottom))!important;background:#102f57!important;z-index:70;border-top:1px solid #2d507e!important;box-shadow:0 -4px 18px #15345c19!important}
 .bottom-nav button{flex:1;min-width:0;max-width:95px;padding:6px 2px!important;min-height:56px!important;border-radius:12px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px!important;color:#aac0df!important;background:transparent!important}
 .bottom-nav button.active{color:#fff!important;background:#205eaa!important}
 .bottom-nav button>span{height:25px;display:grid;place-items:center}
 .bottom-nav button svg{height:23px;width:23px}
 .bottom-nav button small{font-size:11.5px!important;line-height:1.1!important;letter-spacing:0}
 #section-content .com-card,#section-content .v36-customers,#section-content .v38-panel,#section-content .v38-table-card,#section-content .v37-orders,#section-content .v40-return-panel,#section-content .v419-expense-table-card,#section-content .v39-sim-panel,#section-content .v39-quote-section{border-radius:var(--v423-radius);box-shadow:0 3px 15px #17375f06}
 #section-content .btn,#section-content button,#section-content summary{font-family:inherit}
 #section-content .btn-primary,#section-content .ret-new-btn{background:#0868fb!important;color:white!important;border-color:#0868fb!important;border-radius:11px!important;font-weight:750;box-shadow:none!important;min-height:45px!important}
 #section-content .com-stack{gap:12px}
 #section-content input[type="checkbox"]{width:19px!important;height:19px!important;accent-color:#0868fb;cursor:pointer}
 #section-content .v33-pagination{border:0!important;background:transparent!important;margin:5px 0 9px!important;padding:8px 4px!important;gap:7px;flex-wrap:wrap;font-size:12px!important}
 #section-content .v33-pagination select{height:37px;min-height:37px;border-radius:9px}
 #section-content .v33-pagination button{width:35px;min-width:35px;height:35px;border-radius:9px}
 #section-content .v422-mobile-filter{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:11px!important;overflow:visible!important}
 #section-content .v422-mobile-filter>summary{display:flex;min-height:45px!important;font-size:13px!important;background:#f1f6ff!important;border:1px solid #d9e6f8;border-radius:10px;padding:10px!important;color:#15558e;font-weight:800}
 #section-content .v422-filter-content{border:1px solid var(--v423-edge)!important;border-radius:12px!important;padding:9px!important;margin-top:5px;box-shadow:none;background:#fff!important}
 #section-content .v422-filter-content select,#section-content .v422-filter-content input{background:#fff!important;border:1px solid var(--v423-edge)!important;border-radius:10px!important;min-height:43px!important;font-size:13px!important;padding:7px 9px!important}
 .v423-mobile-root .v36-filters .v36-search-wrap,.v423-mobile-root .v37-filters .v36-search-wrap,.v423-mobile-root .v38-search,.v423-mobile-root .v419-expense-search,.v423-mobile-root .v40-return-filters>label:first-child{height:45px!important;min-height:45px!important;background:#fff!important;border:1px solid #dce6f3!important;border-radius:11px!important}
 .v423-mobile-root .v36-search-wrap input,.v423-mobile-root .v38-search input,.v423-mobile-root .v419-expense-search input,.v423-mobile-root [data-v40-search]{background:transparent!important;font-size:13px!important;height:100%!important;min-height:43px!important;border:none!important;color:var(--v423-navy)!important;min-width:0}
 .v423-mobile-root .v36-search-wrap:focus-within,.v423-mobile-root .v38-search:focus-within,.v423-mobile-root .v419-expense-search:focus-within{border-color:var(--v423-blue)!important;box-shadow:0 0 0 3px #0066ff12}
 .v423-mobile-root .v36-total-count,.v423-mobile-root .v38-count,.v423-mobile-root .v40-total{font-size:12px!important;color:#7789a2}
 .v423-mobile-root .v36-page-top,.v423-mobile-root .v38-panel-heading{border:0!important}
 .v423-mobile-root .v36-page-top p,.v423-mobile-root .v38-panel-heading p{line-height:1.42!important;color:#7687a3!important;font-size:12px!important}
 .v423-mobile-root .v36-bulk,.v423-mobile-root .v37-bulk,.v423-mobile-root .v38-bulk-line,.v423-mobile-root .v40-return-bulk{background:transparent!important;border:0!important;min-height:0!important}
 .v423-mobile-root .v36-bulk:has(.v36-bulk-idle),.v423-mobile-root .v37-bulk:has(.v36-bulk-idle){padding:0!important}
 .v423-mobile-root .v36-bulk-tools:has(> .v43-select-page):not(:has(.v36-bulk-number)),.v423-mobile-root .v38-bulk-line:not(:has(.v38-bulk-count b)){display:none!important}
 .v423-mobile-root .v36-table-scroll,.v423-mobile-root .v37-table-scroll,.v423-mobile-root .v38-table-scroller,.v423-mobile-root .v40-table-scroll{padding:0!important;overflow:visible!important}
 .v423-mobile-root .v36-table tbody,.v423-mobile-root .v37-orders-table tbody,.v423-mobile-root .v38-table tbody,.v423-mobile-root .v40-return-table tbody{display:grid!important;grid-template-columns:minmax(0,1fr);gap:9px;background:transparent}
 .v423-mobile-root tr.v36-customer-row,.v423-mobile-root tr.v37-order-row,.v423-mobile-root tr.v38-item-row,.v423-mobile-root tr.v40-return-row,.v423-mobile-root tr.v419-expense-row{width:100%;min-width:0;max-width:100%;background:#fff!important;border:1px solid var(--v423-edge)!important;border-radius:15px!important;box-shadow:0 2px 9px #122e5a05!important;overflow:visible!important}
 .v423-mobile-root .v31-actions summary,.v423-mobile-root .v39-menu-trigger,.v423-mobile-root .v41-more,.v423-mobile-root .v423-actions-menu>summary{display:grid!important;place-items:center!important;width:38px!important;height:39px!important;min-width:38px!important;min-height:39px!important;padding:0!important;color:#112e5e!important;background:#fff!important;border:1px solid var(--v423-edge)!important;border-radius:10px!important;font-size:23px!important;line-height:1}
 .v423-mobile-root .v36-customer-card,.v423-mobile-root .v38-table-card{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
 .v423-visual-panel{display:grid!important;grid-template-columns:45px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;padding:13px 12px!important;border:1px solid var(--v423-edge)!important;background:#fff!important;border-radius:14px!important}
 .v423-panel-mark{grid-column:1;grid-row:1;width:43px;height:43px;border-radius:14px;display:grid;place-items:center;background:#eaf4ff;color:var(--v423-blue)}
 .v423-visual-panel>.com-heading,.v423-visual-panel>div:not(.v423-panel-mark){grid-column:2;grid-row:1}
 .v423-visual-panel h2{font-size:16px!important;line-height:1.2;color:var(--v423-navy)!important;margin:0 0 4px;font-weight:850}
 .v423-visual-panel p{font-size:12px!important;line-height:1.48;color:#7486a2!important;margin:0}
 .v423-visual-panel>.btn,.v423-visual-panel .com-heading>.btn{grid-column:1/-1;grid-row:2;justify-self:stretch;width:100%!important;min-height:44px!important}
 .v423-visual-panel .com-heading{display:contents!important}
 .v423-visual-panel .com-heading>div{grid-column:2;grid-row:1}
 .v423-visual-panel .com-heading>.btn{grid-column:1/-1;grid-row:2}
 /* Catálogo: cartão em quatro indicadores com o preço e estoque igualmente legíveis. */
 .v38-catalog{border:0!important;background:transparent!important;gap:9px!important}
 .v38-catalog .v38-panel{background:transparent!important;border:0!important;box-shadow:none!important}
 .v38-catalog .v38-panel-heading{display:none!important}
 .v38-catalog .v38-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 102px 95px!important;align-items:center!important;gap:7px!important;padding:0!important;background:transparent!important}
 .v38-catalog .v38-filters .v38-search{grid-column:1;grid-row:1;min-width:0!important;width:100%!important;margin:0}
 .v38-catalog .v38-filters>select{grid-row:1;min-width:0!important;height:45px!important;font-size:12px!important;padding:0 8px!important;border:1px solid var(--v423-edge)!important;border-radius:10px!important;color:var(--v423-navy);background:white;max-width:100%!important}
 .v38-catalog .v38-filters #v38-kind{grid-column:2}
 .v38-catalog .v38-filters #v38-sort{grid-column:3}
 .v423-count-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 0 2px}
 .v423-count-actions .v38-count{order:0!important;margin:0!important;white-space:nowrap}
 .v423-count-actions .ret-new-btn{min-height:43px!important;padding:9px 12px!important;font-size:13px!important;white-space:nowrap}
 .v38-catalog .v38-table tbody{gap:9px!important}
 .v38-catalog .v38-table tr.v38-item-row{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:5px 4px!important;align-items:center!important;padding:12px!important;min-height:0!important}
 .v38-catalog .v38-table tr.v38-item-row>td{padding:0!important;margin:0!important;min-width:0!important;min-height:0!important;height:auto!important;border:0!important;background:transparent!important;overflow:visible;white-space:normal}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(1){grid-column:1!important;grid-row:1/4!important;align-self:start!important;padding-top:4px!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(2){grid-column:2/11!important;grid-row:1!important;color:#7184a0!important;font-size:11px!important;font-weight:850!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(9){grid-column:11/13!important;grid-row:1/3!important;justify-self:end!important;align-self:start!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(4){grid-column:2/11!important;grid-row:2!important;font-size:16px!important;font-weight:850!important;line-height:1.22!important;color:var(--v423-navy)!important;overflow-wrap:anywhere}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(3){grid-column:2/11!important;grid-row:3!important;justify-self:start!important;line-height:1}
 .v38-catalog .v38-type{display:inline-flex!important;align-items:center;gap:5px;min-height:25px!important;border-radius:999px!important;font-size:11.5px!important;padding:4px 9px!important;white-space:nowrap}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(5),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(6),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(7),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(8){grid-row:4!important;margin-top:7px!important;border:0!important;border-radius:10px!important;background:#f6f9fd!important;padding:8px 6px!important;align-self:stretch!important;min-width:0!important;font-size:13px!important;text-align:left!important;color:var(--v423-navy)!important;white-space:normal}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(5){grid-column:1/4!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(7){grid-column:4/7!important;background:#e9faef!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(8){grid-column:7/9!important;text-align:center!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(6){grid-column:9/13!important;text-align:right!important;background:#f2f7ff!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(5)::before,.v38-catalog .v38-table tr.v38-item-row>td:nth-child(6)::before,.v38-catalog .v38-table tr.v38-item-row>td:nth-child(7)::before,.v38-catalog .v38-table tr.v38-item-row>td:nth-child(8)::before{display:block!important;content:attr(data-label)!important;color:#637896!important;font-size:9px!important;font-weight:750!important;line-height:1.2!important;white-space:nowrap;margin:0 0 4px!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(7)::before{content:'ESTOQUE'!important}
 .v38-catalog .v38-item-row .v38-price,.v38-catalog .v38-item-row .v422-stock-physical{font-weight:850!important;letter-spacing:-.04em;font-size:17px!important;color:#0868fa!important;white-space:nowrap}
 .v38-catalog .v38-item-row .v422-stock-physical{color:#058b3c!important}
 .v38-catalog .v38-item-row .v422-stock-available{font-size:9px!important;margin-top:2px!important;color:#267d50!important;font-weight:750}
 .v38-catalog .v38-item-row>td:nth-child(8){font-size:16px!important;font-weight:850!important}
 .v38-catalog .v38-item-row:has(.v421-warning)>td:nth-child(7){background:#ffe9e9!important}
 .v38-catalog .v38-item-row:has(.v421-warning) .v422-stock-physical,.v38-catalog .v38-item-row:has(.v421-warning) .v422-stock-available{color:#d61632!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(7){display:none!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(8){display:none!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(5){grid-column:1/5!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(6){grid-column:5/13!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(6){text-align:right!important}
 /* Clientes e pedidos compartilham estrutura tipográfica. */
 .v36-customers{background:transparent!important;border:0!important;gap:10px!important}
 .v36-customers .v36-page-top{display:flex!important;justify-content:space-between;align-items:flex-start;background:#fff!important;border:1px solid var(--v423-edge)!important;border-radius:14px!important;padding:13px!important}
 .v36-customers .v36-page-top>div{flex:1;min-width:0}
 .v36-customers .v36-page-top>.btn{align-self:flex-start;min-height:42px!important;padding:9px 12px!important;white-space:nowrap;font-size:12px!important}
 .v36-customers .v36-controls,.v37-orders .v37-controls{background:transparent!important;border:0!important;padding:0!important;gap:8px!important}
 .v36-customers .v36-filters{gap:7px!important}
 .v36-customers .v36-filters .v422-mobile-filter>summary{min-height:42px!important}
 .v36-customers .v36-total-count,.v37-orders .v36-total-count{align-self:flex-start!important;margin:0}
 .v36-customers .v36-table tbody{gap:9px!important}
 .v36-customers tr.v36-customer-row{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:4px 3px!important;padding:12px!important;min-height:0!important;align-items:start!important}
 .v36-customers tr.v36-customer-row>td{display:block!important;height:auto!important;min-width:0!important;border:0!important;padding:0!important}
 .v36-customers tr.v36-customer-row>td:nth-child(1){grid-column:1!important;grid-row:1!important}
 .v36-customers tr.v36-customer-row>td:nth-child(2){grid-column:2/11!important;grid-row:1!important;font-size:11px!important;color:#6982a1}
 .v36-customers tr.v36-customer-row>td:nth-child(3){grid-column:2/12!important;grid-row:2!important;position:relative;min-height:46px;padding-left:51px!important}
 .v36-customers tr.v36-customer-row>td:nth-child(3)::before,.v37-orders-table tr.v37-order-row .v37-customer::before,.v40-return-table tr.v40-return-row .v40-customer::before{content:attr(data-initials);display:grid;place-items:center;position:absolute;left:0;top:0;width:43px;height:43px;border-radius:50%;background:#e9f3ff;color:#13386d;font-size:15px;font-weight:850}
 .v36-customers .v36-name strong{font-size:16px!important;white-space:normal!important;line-height:1.28}
 .v36-customers .v36-name small{font-size:12px!important;line-height:1.4}
 .v36-customers tr.v36-customer-row>td:nth-child(4){grid-column:2/13!important;grid-row:3!important;padding:4px 7px!important;background:#f5f8fd!important;border-radius:9px!important;min-width:0}
 .v36-customers .v36-context-inline{flex-wrap:wrap!important}
 .v36-customers tr.v36-customer-row>td:nth-child(5){grid-column:2/9!important;grid-row:4!important;font-size:11px!important;align-self:center}
 .v36-customers tr.v36-customer-row>td:nth-child(6){grid-column:9/13!important;grid-row:1/5!important;justify-self:end;position:static!important;align-self:end}
 .v36-customers .v36-row-actions .v31-actions{position:absolute!important;right:12px;top:10px;margin:0!important}
 .v36-customers .v36-contact-btn{height:39px!important;min-height:39px!important;font-size:11px!important}
 .v36-customers .v36-date::before{content:'Cadastro: '!important}
 .v37-orders{background:transparent!important;border:0!important;gap:10px!important}
 .v37-orders .v36-page-top{background:#fff!important}
 .v37-orders .v37-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 45px!important;gap:7px!important}
 .v37-orders .v37-filters>.v36-search-wrap{grid-column:1!important;grid-row:1!important;width:100%!important}
 .v37-orders .v37-filters>.v422-mobile-filter{display:contents!important}
 .v37-orders .v37-filters>.v422-mobile-filter>summary{grid-column:2!important;grid-row:1!important;height:45px!important;padding:0!important;justify-content:center}
 .v37-orders .v37-filters>.v422-mobile-filter>summary strong,.v37-orders .v37-filters>.v422-mobile-filter>summary .v422-filter-chevron{display:none!important}
 .v37-orders .v37-filters>.v422-mobile-filter>.v422-filter-content{grid-column:1/3!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
 .v37-orders .v37-filters .v422-filter-content>select{grid-column:1/4}
 .v37-orders .v37-table-scroll{padding:0!important}
 .v37-orders-table tr.v37-order-row{display:grid!important;position:relative;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:4px!important;align-items:start!important;padding:13px!important;min-height:0!important}
 .v37-orders-table tr.v37-order-row>td{display:block!important;min-width:0!important;height:auto!important;padding:0!important;border:0!important;overflow:visible!important}
 .v37-orders-table tr.v37-order-row>td:nth-child(1){grid-column:1;grid-row:1}
 .v37-orders-table tr.v37-order-row>td:nth-child(2){grid-column:2/8!important;grid-row:1!important;font-size:12px!important;align-self:center}
 .v37-orders-table tr.v37-order-row>td:nth-child(7){grid-column:8/13!important;grid-row:1!important;justify-self:end!important;max-width:calc(100% - 29px);padding-right:31px!important}
 .v37-orders-table tr.v37-order-row>td:nth-child(8){position:absolute!important;top:10px!important;right:10px!important;z-index:3!important}
 .v37-orders-table tr.v37-order-row .v37-status{display:inline-flex!important;align-items:center!important;min-height:27px!important;padding:5px 9px!important;font-size:11px!important;border-radius:999px!important;white-space:nowrap}
 .v37-orders-table tr.v37-order-row>td:nth-child(3){grid-column:2/8!important;grid-row:2!important;position:relative;min-height:47px!important;padding:2px 0 2px 48px!important;max-width:100%;align-self:center}
 .v37-orders-table tr.v37-order-row .v37-customer::before{width:41px;height:41px;top:2px}
 .v37-orders-table tr.v37-order-row .v37-customer button{max-width:100%;display:block!important;text-align:left!important}
 .v37-orders-table tr.v37-order-row .v37-customer strong{font-size:15px!important;white-space:normal!important;overflow-wrap:break-word}
 .v37-orders-table tr.v37-order-row .v37-customer small{font-size:11px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere}
 .v37-orders-table tr.v37-order-row>td:nth-child(4){grid-column:2/8!important;grid-row:3!important;background:#f1f5fb!important;border-radius:8px!important;font-size:11px!important;padding:5px 8px!important;white-space:normal!important;min-width:0}
 .v37-orders-table tr.v37-order-row>td:nth-child(5){grid-column:8/13!important;grid-row:2!important;justify-self:end!important;text-align:right!important;font-weight:850!important;font-size:18px!important;color:#0868fb!important;white-space:nowrap;padding:2px 0!important}
 .v37-orders-table tr.v37-order-row .v37-total::before{content:'TOTAL';display:block;font-size:10px!important;letter-spacing:.03em;color:#69809e;font-weight:750;margin-bottom:1px}
 .v37-orders-table tr.v37-order-row>td:nth-child(6){grid-column:8/13!important;grid-row:3!important;justify-self:end!important;text-align:right!important;font-size:11px!important;color:#6b82a4!important;white-space:nowrap}
 .v37-orders-table tr.v37-order-row>td:nth-child(6)::before{content:'▦  ';color:#5d7eae}
 /* Despesas: a listagem é protagonista, ações continuam disponíveis no menu. */
 .v419-expenses .v419-expense-table-card{border:0!important;background:transparent!important;overflow:visible!important;box-shadow:none!important}
 .v419-expenses .v419-expense-header{background:transparent!important;padding:0!important;border:0!important;margin-bottom:11px}
 .v419-expenses .v423-visual-panel{margin-bottom:0!important;background:white!important}
 .v419-expenses .v419-expense-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 45px!important;gap:7px!important;padding:0!important;margin-bottom:9px!important}
 .v419-expenses .v419-expense-filters>.v419-expense-search{grid-column:1!important;grid-row:1!important;width:100%!important}
 .v419-expenses .v419-expense-filters>.v422-mobile-filter{display:contents!important}
 .v419-expenses .v419-expense-filters>.v422-mobile-filter>summary{grid-column:2!important;grid-row:1!important;justify-content:center!important;padding:0!important}
 .v419-expenses .v419-expense-filters>.v422-mobile-filter>summary strong,.v419-expenses .v419-expense-filters>.v422-mobile-filter>summary .v422-filter-chevron{display:none!important}
 .v419-expenses .v419-expense-filters>.v422-mobile-filter>.v422-filter-content{grid-column:1/3!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
 .v419-expenses .v419-expense-filters .com-field>span{font-size:11px!important;color:#6f829d}
 .v419-expenses .v419-expense-bulk{background:transparent!important;border:0!important;padding:0 2px 9px!important;font-size:12px!important;line-height:1.4!important}
 .v419-expenses .v419-expense-scroll{padding:0!important;overflow:visible!important}
 .v419-expenses .v419-expense-table{display:block!important;min-width:0!important;width:100%!important}
 .v419-expenses .v419-expense-table tbody{display:grid!important;gap:9px!important}
 .v419-expenses tr.v419-expense-row{position:relative;display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:4px!important;align-items:center!important;min-height:0!important;padding:13px!important}
 .v419-expenses tr.v419-expense-row>td{display:block!important;border:0!important;min-width:0!important;height:auto!important;padding:0!important;overflow:visible!important;font-size:12px!important}
 .v419-expenses tr.v419-expense-row>td::before{display:none!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(1){grid-column:2/9!important;grid-row:1!important;font-size:11px!important;color:#7889a4!important}
 .v419-expenses .v419-expense-code{font-size:11px!important;font-weight:750!important;color:#7386a2!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(2){grid-column:2/8!important;grid-row:2!important;align-self:center!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(2) strong{font-size:16px!important;color:var(--v423-navy)!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(3){grid-column:2/8!important;grid-row:3!important;border:0!important;min-width:0!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(3) span{font-size:12px;color:#637b9b;display:inline}
 .v419-expenses tr.v419-expense-row>td:nth-child(3) small{display:inline-flex!important;border-radius:99px;background:#f1f5fb;font-size:10px!important;padding:3px 6px;margin-left:5px}
 .v419-expenses tr.v419-expense-row>td:nth-child(4){grid-column:8/13!important;grid-row:3!important;justify-self:end!important;text-align:right!important;font-size:11px!important;color:#7188a7}
 .v419-expenses tr.v419-expense-row>td:nth-child(5){display:none!important}/* A data de lançamento segue no backend, mas o cartão mostra vencimento. */
 .v419-expenses tr.v419-expense-row>td:nth-child(6){grid-column:8/13!important;grid-row:2!important;justify-self:end!important;text-align:right!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(6) strong{font-size:18px!important;white-space:nowrap!important;color:#0868fb!important;letter-spacing:-.035em}
 .v419-expenses tr.v419-expense-row>td:nth-child(7){grid-column:9/12!important;grid-row:1!important;justify-self:end!important;text-align:right!important}
 .v419-expenses .v417-expense-pill{font-size:11px!important;padding:5px 9px!important;border-radius:999px!important;white-space:nowrap}
 .v419-expenses tr.v419-expense-row>td:nth-child(8){grid-column:12!important;grid-row:1!important;justify-self:end!important;align-self:start!important;position:static!important;border:0!important}
 .v419-expenses tr.v419-expense-row::before{content:'▤';position:absolute;left:12px;top:39%;font-size:23px;font-weight:600;color:#1767d5;background:#edf5ff;width:39px;height:39px;border-radius:50%;display:grid;place-items:center}
 .v423-actions-menu{position:relative;z-index:4}
 .v423-actions-menu>summary{list-style:none;cursor:pointer}
 .v423-actions-menu>summary::-webkit-details-marker{display:none}
 .v423-actions-menu .v419-expense-actions{position:absolute!important;right:0;top:44px;display:grid!important;grid-template-columns:1fr;justify-items:stretch;width:max-content;min-width:155px;padding:8px;background:#fff;box-shadow:0 12px 30px #12355b25;border:1px solid var(--v423-edge);border-radius:12px;z-index:20}
 .v423-actions-menu:not([open]) .v419-expense-actions{display:none!important}
 .v423-actions-menu .v419-expense-actions .btn{width:100%;justify-content:flex-start;font-size:12px!important;min-height:40px!important}
 .v419-expenses .v419-expense-footer{background:transparent!important;border:0!important;padding:13px 0!important}
 /* Retornos com quatro indicadores coloridos e legíveis, sem barras duplicadas. */
 .v40-returns .v40-return-panel{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
 .v40-returns .v40-return-head{margin:0!important;background:#fff!important}
 .v40-returns .v41-overview{margin:0!important;padding:0!important}
 .v40-returns .v41-period{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0 0 8px!important}
 .v40-returns .v41-updated{display:none!important}
 .v40-returns .v41-period-buttons{gap:6px!important}
 .v40-returns .v41-period-buttons strong{font-size:11px}
 .v40-returns .v41-period-btn{min-height:35px!important;padding:7px!important;font-size:11px!important}
 .v40-returns .v41-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 .v40-returns .v41-stat-card{display:flex!important;flex-direction:column;align-items:center!important;justify-content:center!important;gap:3px!important;min-width:0!important;min-height:91px!important;padding:10px 4px!important;text-align:center!important;border:1px solid #dce8f7!important;border-radius:13px!important;cursor:pointer}
 .v40-returns .v41-stat-card:focus-visible{outline:3px solid #0870ff;outline-offset:2px}
 .v40-returns .v41-stat-card::before{font-family:inherit;font-size:20px;font-weight:700;line-height:1.2}
 .v40-returns .v41-proximos{background:#ecf5ff!important;color:#0868f9!important}
 .v40-returns .v41-proximos::before{content:'◷'}
 .v40-returns .v41-atrasados{background:#fff0f1!important;color:#d52034!important}
 .v40-returns .v41-atrasados::before{content:'!'}
 .v40-returns .v41-contatados{background:#fff7e8!important;color:#a46c00!important}
 .v40-returns .v41-contatados::before{content:'☎'}
 .v40-returns .v41-concluidos{background:#eafaf0!important;color:#118548!important}
 .v40-returns .v41-concluidos::before{content:'✓'}
 .v40-returns .v41-stat-card .v41-stat-count{order:1;font-size:22px!important;line-height:1.13!important;color:inherit!important}
 .v40-returns .v41-stat-card .v41-stat-name{order:2;font-size:10px!important;line-height:1.25!important;font-weight:800!important;color:inherit!important}
 .v40-returns .v41-stat-card .v41-stat-note{display:none!important}
 .v40-returns .v40-return-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 45px!important;align-items:start!important;gap:7px!important;padding:0!important;margin:0 0 8px}
 .v40-returns .v40-return-filters>label:first-child{grid-column:1!important;grid-row:1!important}
 .v40-returns .v40-return-filters>.v422-mobile-filter{display:contents!important}
 .v40-returns .v40-return-filters>.v422-mobile-filter>summary{grid-column:2!important;grid-row:1!important;justify-content:center!important;padding:0!important}
 .v40-returns .v40-return-filters>.v422-mobile-filter>summary strong,.v40-returns .v40-return-filters>.v422-mobile-filter>summary .v422-filter-chevron{display:none!important}
 .v40-returns .v40-return-filters>.v422-mobile-filter>.v422-filter-content{grid-column:1/3!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
 .v40-returns .v40-return-tabs{grid-column:1/-1;display:flex!important;overflow:auto;padding:0!important;gap:5px}
 .v40-returns .v40-return-tabs button{font-size:11px!important;min-height:35px!important;padding:7px 9px!important}
 .v40-returns .v40-return-bulk:not(:has(.v40-bulk-buttons button)){display:none!important}
 .v40-returns .v40-table-scroll{margin:0!important}
 .v40-returns .v40-return-table tbody{gap:9px!important}
 .v40-returns tr.v40-return-row{position:relative;display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:4px!important;align-items:center!important;min-height:0!important;padding:13px!important}
 .v40-returns tr.v40-return-row>td{display:block!important;border:0!important;height:auto!important;min-width:0!important;padding:0!important}
 .v40-returns tr.v40-return-row>td:nth-child(1){grid-column:1!important;grid-row:1!important}
 .v40-returns tr.v40-return-row>td:nth-child(2){grid-column:2/8!important;grid-row:1!important;justify-self:start!important;align-self:center!important;font-size:12px!important}
 .v40-returns .v40-doc button,.v40-returns .v40-doc span{font-size:12px!important;font-weight:800!important;background:#ecf4ff!important;border-radius:99px!important;padding:5px 9px!important;color:#0870f7!important}
 .v40-returns tr.v40-return-row>td:nth-child(3){grid-column:2/8!important;grid-row:2!important;position:relative;min-height:43px;padding-left:50px!important;align-self:center}
 .v40-returns tr.v40-return-row .v40-customer::before{width:42px;height:42px}
 .v40-returns tr.v40-return-row .v40-customer strong{display:block;font-size:15px!important;line-height:1.3;color:var(--v423-navy)!important}
 .v40-returns tr.v40-return-row>td:nth-child(4){grid-column:2/8!important;grid-row:3!important;background:#f3f6fb;border-radius:9px;padding:4px 8px!important}
 .v40-returns .v40-item .v40-type{display:none!important}
 .v40-returns .v40-item>span:last-child{font-size:11px!important;color:#607695!important}
 .v40-returns tr.v40-return-row>td:nth-child(5){grid-column:8/13!important;grid-row:2!important;justify-self:end;text-align:right;font-size:12px!important;color:#607899}
 .v40-returns tr.v40-return-row>td:nth-child(5)::before{content:'Retorno em';display:block;font-size:10px;color:#7b8ea8}
 .v40-returns tr.v40-return-row>td:nth-child(6){grid-column:8/13!important;grid-row:1!important;justify-self:end!important;padding-right:38px!important}
 .v40-returns .v40-status{font-size:11px!important;border-radius:999px!important;padding:5px 8px!important;white-space:nowrap}
 .v40-returns tr.v40-return-row>td:nth-child(7){grid-column:8/13!important;grid-row:3!important;justify-self:end!important}
 .v40-returns .v41-actions-cell{display:flex;gap:6px}
 .v40-returns .v40-contact-button{min-height:37px!important;padding:6px 9px!important;font-size:11px!important}
 .v40-returns .v41-actions-cell .v41-more{position:absolute;top:10px;right:10px;width:34px!important;min-width:34px!important}
 /* Simulador: controles claros, quatro opções originais de cálculo preservadas. */
 .v39-simulator-section{gap:12px!important}
 .v39-simulator-section .v39-sim-panel{padding:15px!important;background:#fff!important;border:1px solid var(--v423-edge)!important;border-radius:16px!important}
 .v423-sim-intro{margin:0 0 15px!important}
 .v423-sim-intro h2{font-size:19px;letter-spacing:-.04em;margin:0 0 4px;color:var(--v423-navy)}
 .v423-sim-intro p{font-size:13px;margin:0;color:#6e82a1;line-height:1.5}
 .v39-simulator-section .v39-sim-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .v39-simulator-section .v39-sim-grid>.com-field:nth-child(1){grid-column:1!important;grid-row:1!important}
 .v39-simulator-section .v39-sim-grid>.com-field:nth-child(2){grid-column:2!important;grid-row:1!important}
 .v39-simulator-section .v39-sim-grid>.com-field.v423-mode-source{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
 .v39-simulator-section .v39-sim-grid>.v423-mode-choice{grid-column:1/-1;grid-row:2}
 .v423-mode-choice h3{font-size:13px!important;margin:0 0 9px;color:var(--v423-navy)}
 .v423-mode-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .v423-mode-option{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;gap:6px;min-height:95px;width:100%;padding:9px 7px;color:#536a8e;background:#f9fbfe;border:1px solid #dce7f4;border-radius:10px;font-size:10px;font-weight:750;line-height:1.35}
 .v423-mode-option.active{border-color:#0868fb;color:#0868fb;background:#edf5ff;box-shadow:inset 0 0 0 1px #0868fb15}
 .v423-mode-mark{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#8494ad;color:#fff;font-size:14px;font-weight:850}
 .v423-mode-option.active .v423-mode-mark{background:#0868fb}
 .v39-simulator-section .v39-sim-grid>.com-field:last-child{grid-column:1/-1!important;grid-row:3!important}
 .v39-simulator-section .com-field span{font-size:12px!important;font-weight:800!important;color:var(--v423-navy)}
 .v39-simulator-section .com-field input{height:46px!important;min-height:46px!important;font-size:15px!important;border:1px solid var(--v423-edge)!important;border-radius:10px!important;background:#fff!important;width:100%;min-width:0}
 .v423-quantity-stepper{display:flex;align-items:center;width:100%;height:46px;border:1px solid var(--v423-edge);border-radius:10px;overflow:hidden}
 .v423-quantity-stepper input{flex:1;width:35%!important;border:0!important;text-align:center;font-weight:800;border-radius:0!important;padding:0 2px!important;appearance:textfield}
 .v423-quantity-stepper input::-webkit-inner-spin-button,.v423-quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
 .v423-qty-btn{border:0;background:#f8fbff;color:#0868fb;font-weight:850;font-size:20px;width:38px;min-width:38px;height:46px}
 .v39-simulator-section .v39-sim-output{border:1px solid #d3e2fa!important;background:#f5f9ff!important;border-radius:12px!important;padding:13px!important;font-size:12px!important;color:#587091}
 .v39-simulator-section .v39-sim-output::before{content:'Resultado';display:block;font-size:16px;font-weight:850;color:var(--v423-navy);margin-bottom:8px}
 .v39-simulator-section .v39-sim-output>strong{display:block!important;font-size:20px!important;color:#0868fb!important;line-height:1.25!important;margin-bottom:4px}
 .v39-simulator-section .v39-sim-output>span{display:block!important;font-size:12px!important;margin-bottom:6px}
 .v39-simulator-section .v39-sim-output>div{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
 .v39-simulator-section .v39-sim-output>div>span{display:block;font-size:11px!important;border-left:1px solid #c9d9f5;padding-left:7px;overflow-wrap:anywhere}
 .v39-simulator-section .v39-from-sim{width:100%!important;min-height:47px!important;font-size:13px!important;margin-top:10px!important}
 .v39-simulator-section .v39-quote-section{border:1px solid var(--v423-edge)!important;background:#fff!important;padding:12px!important}
 .v39-simulator-section .v39-local-header{display:flex!important;align-items:flex-start!important;gap:8px!important;flex-wrap:wrap}
 .v39-simulator-section .v39-local-header h2{font-size:17px!important}
 .v39-simulator-section .v39-local-header p{font-size:12px!important;color:#7084a0!important}
 .v39-simulator-section .v39-local-header .btn{font-size:12px!important;min-height:40px!important;padding:8px 10px!important}
 /* Início: receitas e lucro em primeiro plano, atalhos e movimentos na sequência. */
 .v46-home{display:flex!important;flex-direction:column!important;gap:11px!important}
 .v46-home>.v45-fin-heading{order:0!important;background:transparent!important;border:0!important;padding:0!important}
 .v46-home .v45-fin-heading>.com-heading{margin:0 0 7px!important;padding:0!important}
 .v46-home .v45-fin-heading h2{font-size:18px!important;line-height:1.2;color:var(--v423-navy)!important;margin:0 0 4px}
 .v46-home .v45-fin-heading p{font-size:12px!important;line-height:1.48!important;color:#7285a3!important}
 .v46-home .v45-fin-heading .com-heading>.btn{font-size:11px!important;min-height:35px!important}
 .v46-home>.v46-fin-stats{order:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;padding:0!important}
 .v46-home .v46-fin-stats>.v45-fin-stat{display:flex!important;flex-direction:column!important;justify-content:space-between!important;min-width:0!important;min-height:150px!important;padding:13px 10px!important;flex:auto!important;background:#fff!important;border:1px solid var(--v423-edge)!important;border-radius:15px!important}
 .v46-home .v46-fin-stats>.v45-fin-stat:nth-child(2){background:#f6fff9!important}
 .v46-home .v45-fin-stat span{font-size:12px!important;line-height:1.4!important;color:#607591!important;font-weight:750!important}
 .v46-home .v45-fin-stat strong{font-size:clamp(18px,5vw,23px)!important;color:var(--v423-navy)!important;line-height:1.3!important;white-space:normal;overflow-wrap:anywhere}
 .v46-home .v45-fin-stat small{font-size:10px!important;line-height:1.4!important;display:block!important}
 .v46-home .v45-fin-stat>b{display:block!important;padding:6px!important;min-height:30px!important;background:#eaf3ff;border-radius:8px;font-size:10px!important;color:#0868fb!important;margin-top:8px;line-height:1.3!important}
 .v46-home .v45-fin-stat.green>b{background:#def7e8!important;color:#078949!important}
 .v423-more-finance{grid-column:1/-1;border:1px solid var(--v423-edge);border-radius:11px;background:#fff}
 .v423-more-finance summary{cursor:pointer;list-style:none;color:#2361ae;font-size:12px;font-weight:800;padding:9px 12px}
 .v423-more-finance summary::-webkit-details-marker{display:none}
 .v423-more-finance-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}
 .v423-more-finance-content>.v45-fin-stat{background:#f7faff!important;min-height:130px!important;padding:10px!important}
 .v46-home>.v46-ops-grid{order:2!important;display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(92px,23vw)!important;grid-template-columns:none!important;gap:7px!important;overflow:auto;scroll-snap-type:x mandatory;padding:0 0 4px!important}
 .v46-home .v46-op{display:flex!important;flex-direction:column!important;gap:10px!important;justify-content:center!important;align-items:flex-start!important;min-height:92px!important;border:1px solid var(--v423-edge)!important;border-radius:14px!important;padding:9px!important;background:#fff!important;scroll-snap-align:start}
 .v46-home .v46-op span{font-size:10px!important;color:#647899!important;display:flex;flex-direction:column!important;align-items:flex-start;gap:4px;line-height:1.25!important}
 .v46-home .v46-op svg{color:#0868fb!important}
 .v46-home .v46-op strong{font-size:20px!important;color:var(--v423-navy)!important;line-height:1.15!important}
 .v46-home>.v46-quick-actions{order:3!important;display:flex!important;gap:7px!important;padding:0!important;overflow-x:auto!important;flex-wrap:nowrap!important}
 .v46-home .v46-quick-actions button{flex:0 0 auto!important;min-height:44px!important;font-size:12px!important;padding:8px 11px!important}
 .v46-home .v45-fin-toolbar{padding:0!important;border:0!important;background:transparent!important;margin-top:7px!important}
 .v46-home .v45-fin-toolbar .v422-mobile-filter>summary{min-height:42px!important}
 .v46-home>.v46-home-main{order:4!important;display:flex!important;flex-direction:column!important;gap:10px!important}
 .v46-home .v46-home-recent{order:-1!important;border:1px solid var(--v423-edge)!important;padding:12px!important}
 .v46-home .v45-fin-panel-head{margin:0 0 9px!important;align-items:center!important}
 .v46-home .v45-fin-panel-head h3{font-size:15px!important;letter-spacing:-.025em!important;color:var(--v423-navy)!important}
 .v46-home .v45-fin-panel-head p{display:none!important}
 .v46-home .v45-fin-panel-head .com-link{font-size:12px!important;color:#0868fb!important}
 .v46-home .v45-fin-order-card{border:1px solid var(--v423-edge)!important;border-radius:12px!important;padding:9px!important;margin:0 0 7px!important}
 .v46-home .v45-fin-order-top{border:0!important;padding:0!important}
 .v46-home .v45-fin-order-main strong{font-size:13px!important}
 .v46-home .v45-fin-order-main small{font-size:11px!important}
 .v46-home .v45-fin-order-line{display:none!important}
 .v46-home .v45-fin-order-actions{display:flex!important;gap:6px!important}
 .v46-home .v45-fin-order-actions button{flex:1!important;min-height:36px!important;padding:8px!important;font-size:11px!important;background:#eef5ff!important;border-radius:9px!important}
 .v46-home .v46-home-insights{padding:12px!important}
 .v46-home>.v422-analytics{order:5!important;border:0!important;background:transparent!important}
 .v46-home .v422-analytics>summary{display:none!important}
 .v46-home .v46-home-secondary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;gap:8px!important;padding:0!important}
 .v46-home .v423-status-board,.v46-home .v46-home-health{min-width:0!important;min-height:185px!important;margin:0!important;padding:11px!important;border:1px solid var(--v423-edge)!important}
 .v46-home .v423-status-board h3{font-size:13px;color:var(--v423-navy);margin:0 0 12px;line-height:1.3}
 .v423-donut{height:90px;width:90px;margin:0 auto 6px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(closest-side,#fff 70%,transparent 73%),conic-gradient(#267bff var(--v423-rate),#eaf1f9 0)}
 .v423-donut strong{font-size:19px;color:var(--v423-navy)}
 .v423-donut small{font-size:10px;color:#6f84a2}
 .v46-home .v423-status-board .v45-fin-status-panel{padding:0!important;border:0!important}
 .v46-home .v423-status-board .v45-fin-mini-head{display:none!important}
 .v46-home .v423-status-board .v45-fin-status-list{display:grid!important;gap:4px;font-size:10px!important}
 .v46-home .v423-status-board .v45-fin-status-list>div{font-size:10px!important;display:flex!important;justify-content:space-between!important;gap:4px}
 .v46-home .v46-home-health .v45-fin-panel-head{margin:0 0 10px!important}
 .v46-home .v46-home-health h3{font-size:13px!important}
 .v46-home .v46-home-health .v45-fin-ring-grid{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
 .v46-home .v46-home-health .v45-fin-ring-card{display:flex!important;align-items:center!important;gap:7px!important;padding:0 0 7px!important;min-width:0!important;border:0!important;border-bottom:1px solid var(--v423-edge)!important}
 .v46-home .v46-home-health .v45-fin-ring{flex:0 0 44px!important;width:44px!important;height:44px!important}
 .v46-home .v46-home-health .v45-fin-ring span{font-size:11px!important}
 .v46-home .v46-home-health .v45-fin-ring-copy{min-width:0}
 .v46-home .v46-home-health .v45-fin-ring-copy small,.v46-home .v46-home-health .v45-fin-ring-copy p,.v46-home .v46-home-health .v45-fin-ring-copy b{font-size:10px!important;line-height:1.35!important}
 .v46-home .v46-home-health .v45-fin-ring-copy strong{font-size:12px!important}
 .v46-home .v46-home-graph{grid-column:1/-1!important;padding:12px!important;border:1px solid var(--v423-edge)!important;min-width:0}
 .v46-home>.v46-security-details{order:6!important}
}
@media(max-width:375px){
 .v38-catalog .v38-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .v38-catalog .v38-filters .v38-search{grid-column:1/3!important}
 .v38-catalog .v38-filters #v38-kind{grid-column:1;grid-row:2}
 .v38-catalog .v38-filters #v38-sort{grid-column:2;grid-row:2}
 .v38-catalog .v38-item-row .v38-price,.v38-catalog .v38-item-row .v422-stock-physical{font-size:15px!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(5),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(6),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(7),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(8){padding:7px 4px!important}
 .v423-mode-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v423-mode-option{min-height:64px!important}
 .v46-home .v46-fin-stats>.v45-fin-stat{min-height:145px!important}
}
@media(prefers-reduced-motion:reduce){.v423-mobile-root *{scroll-behavior:auto!important}}

/* V4.23 — alinhamento fino após captura nos quatro breakpoints. */
@media(max-width:820px){
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(1),.v36-customers tr.v36-customer-row>td:nth-child(1),.v37-orders-table tr.v37-order-row>td:nth-child(1),.v40-returns tr.v40-return-row>td:nth-child(1){justify-self:start!important;align-self:start!important;margin:0!important;padding:2px 0 0!important;text-align:left!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(1) input,.v36-customers .v36-check-cell input,.v37-orders .v37-check-cell input,.v40-returns input[data-v40-select]{margin:0!important}
 .v37-orders-table tr.v37-order-row>td:nth-child(7){position:absolute!important;top:11px!important;right:56px!important;max-width:44%!important;padding:0!important;grid-column:auto!important;grid-row:auto!important;z-index:2!important}
 .v37-orders-table tr.v37-order-row .v37-customer button{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;min-width:0!important}
 .v37-orders-table tr.v37-order-row .v37-customer strong,.v37-orders-table tr.v37-order-row .v37-customer small{display:block!important;width:100%;white-space:normal!important;overflow-wrap:anywhere;line-height:1.3!important}
 .v37-orders-table tr.v37-order-row>td:nth-child(2){align-self:start!important}
 .v37-orders-table tr.v37-order-row>td:nth-child(5){grid-column:8/13!important;grid-row:2!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(1){grid-column:3/9!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(2){grid-column:3/8!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(3){grid-column:3/8!important}
 .v419-expenses tr.v419-expense-row::before{left:12px;top:39%;width:34px;height:34px;font-size:19px}
 .v419-expenses .v419-expense-row td:nth-child(2) strong{overflow-wrap:anywhere!important;line-height:1.28!important}
 .v40-returns tr.v40-return-row>td:nth-child(6){position:absolute!important;top:11px!important;right:53px!important;max-width:42%!important;padding:0!important;grid-column:auto!important;grid-row:auto!important;z-index:2!important}
 .v40-returns tr.v40-return-row>td:nth-child(7){z-index:4}
 .v40-returns .v40-customer strong,.v40-returns .v40-customer small{display:block!important;line-height:1.3!important}
 .v40-returns .v40-customer small{font-size:11px;color:#7184a0;margin-top:3px}
 .v40-returns .v41-overview{background:transparent!important;border:0!important;box-shadow:none!important}
 .v40-returns .v41-period{padding:6px!important;background:#fff!important;border:1px solid var(--v423-edge);border-radius:11px}
 .v46-home .v45-fin-stat strong{overflow-wrap:anywhere}
 .v46-home .v45-fin-heading .com-heading{display:flex!important;align-items:start!important}
 .v46-home .v45-fin-heading .com-heading>div{flex:1;min-width:0}
 .v46-home .v45-fin-heading .com-heading>.btn{flex:0 0 auto!important}
 .v46-home .v45-fin-stat>div>span{font-size:11px!important}
 .v46-home .v46-fin-stats>.v45-fin-stat{min-height:145px!important}
 .v46-home .v46-fin-stats>.v45-fin-stat.green{background:#f4fff8!important}
 .v423-home-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:8px}
 .v423-home-tools .v45-fin-toolbar{grid-column:1;margin:0!important;padding:0!important}
 .v423-home-tools .v422-mobile-filter{height:100%}
 .v423-home-tools .v422-mobile-filter>summary{height:100%!important;min-height:86px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:5px!important;text-align:center}
 .v423-home-tools .v422-mobile-filter>summary .v422-filter-chevron{margin:0!important}
 .v423-home-tools .v422-mobile-filter[open]{position:relative;z-index:5}
 .v423-home-tools .v422-mobile-filter[open] .v422-filter-content{position:absolute;top:100%;left:0;width:min(85vw,335px);z-index:6;box-shadow:0 10px 25px #153a5b22!important}
 .v423-home-tools .v46-quick-actions{grid-column:2!important;display:flex!important;flex-direction:column!important;gap:6px!important;overflow:visible!important;padding:0!important}
 .v423-home-tools .v46-quick-actions button{width:100%!important;min-height:44px!important;font-size:11px!important;flex:0 0 auto!important}
 .v423-home-tools .v46-quick-actions button:nth-child(3){font-size:10px!important;background:#fff!important}
 .v46-home>.v423-home-tools{order:3!important}
 .v46-home>.v46-home-main{order:4!important}
 .v46-home>.v422-analytics{order:5!important}
 .v423-home-tools .v45-fin-toolbar{width:100%}
 .v39-simulator-section .v39-sim-grid>.com-field:last-child{margin-top:0!important}
}
@media(max-width:360px){
 .v37-orders-table tr.v37-order-row>td:nth-child(7){right:54px!important}
 .v37-orders-table tr.v37-order-row .v37-status{font-size:10px!important;padding:4px 6px!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(7){grid-column:8/12!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(6) strong{font-size:16px!important}
 .v40-returns .v41-stat-card{min-height:88px!important}
 .v40-returns .v41-stat-card .v41-stat-name{font-size:9px!important}
}

@media(max-width:820px){
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(1){position:relative;left:-12px!important;top:0!important;}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(9){transform:translateY(-9px)!important}
 .v36-customers tr.v36-customer-row>td:nth-child(1){position:relative;left:-10px!important}
 .v37-orders-table tr.v37-order-row>td:nth-child(1){position:relative;left:-4px!important}
 .v419-expenses .v419-expense-table .v419-expense-row td:nth-child(8){z-index:5}
}

@media(max-width:820px){
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(7){display:block!important;grid-column:5/9!important;grid-row:4!important;background:#f6f9fd!important;color:#5a7192!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(5){grid-column:1/5!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(6){grid-column:9/13!important}
 .v40-returns .v40-return-filters{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;gap:7px!important}
 .v40-returns .v40-return-filters>label:first-child{grid-column:1!important;grid-row:1!important;min-width:0!important;width:100%!important}
 .v40-returns .v40-return-filters>.v422-mobile-filter{display:block!important;grid-column:1!important;grid-row:2!important;min-width:0!important;width:100%!important}
 .v40-returns .v40-return-filters>.v422-mobile-filter>summary{display:flex!important;justify-content:flex-start!important;padding:10px 13px!important;min-height:45px!important}
 .v40-returns .v40-return-filters>.v422-mobile-filter>summary strong,.v40-returns .v40-return-filters>.v422-mobile-filter>summary .v422-filter-chevron{display:inline-flex!important}
 .v40-returns .v40-return-filters>.v422-mobile-filter>.v422-filter-content{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;position:static!important;max-width:100%!important;max-height:none!important;margin-top:6px!important;padding:10px!important}
 .v40-returns .v40-return-filters>.v40-total{grid-column:1;grid-row:3!important;justify-self:start!important}
 .v40-returns .v40-return-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px!important;min-width:0!important;max-width:100%!important}
 .v40-returns .v40-return-tabs .v40-tab{flex:0 0 auto!important;max-width:none!important}
 .v40-returns .v41-period{grid-column:1/-1!important;max-width:100%!important}
 .v46-home>.v46-home-insights{order:6!important}
 .v46-home>.v46-security-details{order:7!important}
}
@media(max-width:360px){
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(5){grid-column:1/7!important;grid-row:4!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(7){grid-column:7/13!important;grid-row:4!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(8){grid-column:1/7!important;grid-row:5!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(6){grid-column:7/13!important;grid-row:5!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(5){grid-column:1/7!important;grid-row:4!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(7){grid-column:7/13!important;grid-row:4!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]>td:nth-child(6){grid-column:1/13!important;grid-row:5!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(5)::before,.v38-catalog .v38-table tr.v38-item-row>td:nth-child(6)::before,.v38-catalog .v38-table tr.v38-item-row>td:nth-child(7)::before,.v38-catalog .v38-table tr.v38-item-row>td:nth-child(8)::before{font-size:10px!important;letter-spacing:0!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(5),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(6),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(7),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(8){min-height:56px!important}
 .v37-orders-table tr.v37-order-row>td:nth-child(1){left:7px!important}
 .v36-customers tr.v36-customer-row>td:nth-child(1){left:-8px!important}
}
@media(max-width:820px){
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(5),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(6),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(7),.v38-catalog .v38-table tr.v38-item-row>td:nth-child(8){justify-self:stretch!important;width:100%!important;max-width:100%!important}
}
@media(max-width:820px){
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]:has(.v38-type.servico)>td:nth-child(7){display:block!important;grid-column:5/9!important;grid-row:4!important;background:#f6f9fd!important;color:#5a7192!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]:has(.v38-type.servico)>td:nth-child(6){grid-column:9/13!important;grid-row:4!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]:has(.v38-type.servico)>td:nth-child(8){display:none!important}
}
@media(max-width:360px){
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]:has(.v38-type.servico)>td:nth-child(5){grid-column:1/7!important;grid-row:4!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]:has(.v38-type.servico)>td:nth-child(7){grid-column:7/13!important;grid-row:4!important}
 .v38-catalog .v38-table tr.v38-item-row[data-kind="servico"]:has(.v38-type.servico)>td:nth-child(6){grid-column:1/13!important;grid-row:5!important}
}
@media(min-width:361px) and (max-width:820px){
 .v37-orders .v423-visual-panel,.v419-expenses .v423-visual-panel{grid-template-columns:42px minmax(0,1fr) auto!important;min-height:75px!important;gap:8px!important;padding:11px!important}
 .v37-orders .v423-visual-panel>.v423-panel-mark,.v419-expenses .v423-visual-panel>.v423-panel-mark{grid-column:1!important;grid-row:1!important;width:40px;height:40px}
 .v37-orders .v423-visual-panel>.com-heading>div,.v419-expenses .v423-visual-panel>.com-heading>div,.v419-expenses .v423-visual-panel>div:not(.v423-panel-mark){grid-column:2!important;grid-row:1!important;min-width:0}
 .v37-orders .v423-visual-panel .com-heading>.btn,.v419-expenses .v423-visual-panel>.btn{grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:center!important;width:auto!important;min-width:110px!important;max-width:134px!important;min-height:41px!important;padding:8px 9px!important;white-space:nowrap!important;font-size:11.5px!important}
 .v37-orders .v423-visual-panel h2,.v419-expenses .v423-visual-panel h2{font-size:14px!important}
 .v37-orders .v423-visual-panel p,.v419-expenses .v423-visual-panel p{font-size:11px!important;line-height:1.32!important}
}
@media(max-width:820px){
 .v37-orders .v37-filters>.v422-mobile-filter>.v422-filter-content{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;overflow-x:auto!important;scrollbar-width:none!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-width:0!important;width:100%!important}
 .v37-orders .v37-filters>.v422-mobile-filter>.v422-filter-content::-webkit-scrollbar{display:none}
 .v37-orders .v37-filters .v422-filter-content>select{grid-column:auto!important;flex:0 0 137px!important;min-width:137px!important;min-height:41px!important;max-height:41px!important;border:1px solid var(--v423-edge)!important;border-radius:10px!important;background:#fff!important;font-size:11px!important;padding:0 7px!important}
 .v37-orders .v37-filters .v422-filter-content>.v37-date-filter{flex:0 0 104px!important;min-width:104px!important;width:104px!important;margin:0!important;padding:4px 6px!important;min-height:41px!important;max-height:41px!important;border:1px solid var(--v423-edge)!important;border-radius:10px!important;background:#fff!important;font-size:10px!important;line-height:1!important;gap:3px!important}
 .v37-orders .v37-filters .v422-filter-content>.v37-date-filter input{width:100%!important;min-width:0!important;max-width:100%!important;padding:0!important;min-height:21px!important;height:21px!important;border:0!important;box-shadow:none!important;background:#fff!important;font-size:10px!important}
 .v37-orders .v37-filters>.v422-mobile-filter{width:100%!important}
 .v37-orders .v37-filters>.v422-mobile-filter>.v422-filter-content{grid-column:1/3!important}
 .v37-orders .v37-filters{gap:7px!important}
}
@media(min-width:361px) and (max-width:820px){
 .v37-orders .v423-visual-panel>.btn,.v37-orders .v423-visual-panel .com-heading>.btn,.v419-expenses .v423-visual-panel>.btn{grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:center!important;width:auto!important;min-width:110px!important;max-width:134px!important;min-height:41px!important;padding:8px 9px!important;white-space:nowrap!important;font-size:11.5px!important}
}
@media(min-width:361px) and (max-width:820px){
 .v37-orders .v423-visual-panel>.btn{min-width:104px!important;max-width:110px!important;font-size:11px!important}
 .v37-orders .v423-visual-panel h2{font-size:13px!important;letter-spacing:-.02em}
}

/* V4.24 — correções mobile: área útil, painéis e alinhamento. Não se aplica ao desktop. */
@media(max-width:820px){
 :root{--v424-edge:#dce7f4;--v424-nav-height:74px;--v424-touch:44px}
 html{scroll-padding-bottom:calc(var(--v424-nav-height) + env(safe-area-inset-bottom) + 16px);overflow-x:clip}
 body{overflow-x:clip;min-height:100dvh}
 .app-frame{min-height:100dvh;height:auto!important;overflow:visible!important}
 .app-content{height:auto!important;min-height:100dvh!important;overflow-y:visible!important;padding-bottom:calc(var(--v424-nav-height) + env(safe-area-inset-bottom) + 22px)!important;overscroll-behavior-y:auto!important}
 .app-content .screen-wrap,#section-content{overflow:visible!important}
 #section-content>.com-stack{padding-bottom:10px!important}
 .bottom-nav{box-sizing:border-box!important;min-height:var(--v424-nav-height)!important;padding:7px 7px calc(8px + env(safe-area-inset-bottom))!important;z-index:70!important}
 .bottom-nav button{min-height:56px!important;line-height:1.2!important}
 #section-content .v423-mobile-root,#section-content .v423-mobile-root>*{max-width:100%;min-width:0;box-sizing:border-box}
 #section-content button,#section-content .btn,#section-content summary{line-height:1.35!important;overflow-wrap:normal}
 #section-content .v422-mobile-filter{display:block!important;grid-column:1/-1!important;grid-row:auto!important;width:100%!important;max-width:100%!important}
 #section-content .v422-mobile-filter>summary{box-sizing:border-box;min-height:var(--v424-touch)!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;padding:10px 13px!important;cursor:pointer!important}
 #section-content .v422-mobile-filter>summary strong{display:inline!important;min-width:0;flex:1}
 #section-content .v422-mobile-filter>summary .v422-filter-chevron{display:inline-flex!important;flex:0 0 auto}
 #section-content .v422-mobile-filter:not([open])>.v422-filter-content{display:none!important}
 #section-content .v422-mobile-filter[open]>.v422-filter-content{display:grid!important;position:static!important;overflow:visible!important;max-height:none!important;width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:9px!important;padding:12px!important;margin:8px 0 0!important;border:1px solid var(--v424-edge)!important;border-radius:13px!important;background:#fff!important;box-shadow:0 6px 20px #12355b0a!important}
 #section-content .v422-filter-content>*{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
 #section-content .v422-filter-content select,#section-content .v422-filter-content input{width:100%!important;min-width:0!important;max-width:100%!important;min-height:var(--v424-touch)!important;font-size:13px!important;white-space:normal!important}
 #section-content .v422-filter-content label{min-width:0!important;max-width:100%!important}
 /* Clientes: pesquisa e um único painel expandível, sem carrossel de filtros */
 .v36-customers .v36-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 125px!important;gap:8px!important;align-items:start!important;overflow:visible!important}
 .v36-customers .v36-filters .v36-search-wrap{grid-column:1!important;grid-row:1!important;min-width:0!important}
 .v36-customers .v36-filters>.v422-mobile-filter{grid-column:2!important;grid-row:1!important;min-width:0!important;align-self:start!important}
 .v36-customers .v36-filters>.v422-mobile-filter[open]{grid-column:1/-1!important;grid-row:2!important}
 .v36-customers .v36-filters>.v422-mobile-filter[open]>summary{width:min(100%,150px)!important;margin-left:auto!important}
 .v36-customers .v36-filters>.v422-mobile-filter>.v422-filter-content{grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;flex-wrap:wrap!important}
 /* Pedidos: filtros recolhidos de verdade, sem rolagem horizontal */
 .v37-orders .v37-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 120px!important;gap:8px!important;overflow:visible!important;align-items:start!important}
 .v37-orders .v37-filters>.v36-search-wrap{grid-column:1!important;grid-row:1!important;min-width:0!important}
 .v37-orders .v37-filters>.v422-mobile-filter{grid-column:2!important;grid-row:1!important;display:block!important;width:100%!important}
 .v37-orders .v37-filters>.v422-mobile-filter[open]{grid-column:1/-1!important;grid-row:2!important}
 .v37-orders .v37-filters>.v422-mobile-filter>.v422-filter-content{overflow:visible!important;flex-wrap:wrap!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .v37-orders .v37-filters .v422-filter-content>select{grid-column:1/-1!important;flex:auto!important;width:100%!important;min-width:0!important;max-width:100%!important}
 .v37-orders .v37-filters .v422-filter-content>.v37-date-filter{min-height:64px!important;max-height:none!important;flex:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 .v37-orders .v37-filters .v422-filter-content>.v37-date-filter input{min-width:0!important;min-height:30px!important;font-size:12px!important}
 /* Despesas: mesma estrutura de filtros usada pelo restante do aplicativo */
 .v419-expenses .v419-expense-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 120px!important;align-items:start!important;gap:8px!important;overflow:visible!important}
 .v419-expenses .v419-expense-filters>.v419-expense-search{grid-column:1!important;grid-row:1!important;min-width:0!important}
 .v419-expenses .v419-expense-filters>.v422-mobile-filter{display:block!important;grid-column:2!important;grid-row:1!important}
 .v419-expenses .v419-expense-filters>.v422-mobile-filter[open]{grid-column:1/-1!important;grid-row:2!important}
 .v419-expenses .v419-expense-filters>.v422-mobile-filter>.v422-filter-content{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .v419-expenses .v419-expense-filters .v422-filter-content>select{grid-column:1/-1!important}
 /* Retornos: as abas existentes permanecem funcionais dentro do painel. */
 .v40-returns .v40-return-filters>.v422-mobile-filter[open]>.v422-filter-content{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .v40-returns .v40-return-tabs{grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:6px!important}
 .v40-returns .v40-return-tabs .v40-tab{flex:1 1 110px!important;min-height:40px!important}
 .v40-returns .v41-period{grid-column:1/-1!important}
 /* Início: seletor único de período, sem botões permanentemente expostos */
 .v423-home-tools .v424-period-filter{position:relative!important;height:auto!important;min-width:0!important}
 .v423-home-tools .v424-period-filter>summary{height:auto!important;min-height:84px!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:6px!important;text-align:center!important;white-space:normal!important}
 .v423-home-tools .v424-period-filter>summary strong{flex:none!important;font-size:12px!important;white-space:normal!important}
 .v423-home-tools .v424-period-filter[open]>.v422-filter-content{position:absolute!important;left:0!important;top:calc(100% + 7px)!important;z-index:65!important;width:min(340px,calc(100vw - 32px))!important;max-height:min(60dvh,460px)!important;overflow-y:auto!important;grid-template-columns:minmax(0,1fr)!important;padding:13px!important}
 .v423-home-tools .v45-fin-periods{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;flex-wrap:wrap!important;width:100%!important}
 .v423-home-tools .v45-fin-periods .com-chip{min-height:var(--v424-touch)!important;min-width:0!important;padding:8px!important;white-space:normal!important}
 .v423-home-tools .v45-fin-segment{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important}
 .v423-home-tools .v45-fin-segment button{min-width:0!important;min-height:40px!important;white-space:normal!important}
 .v46-home>.v46-home-main{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;align-self:stretch!important}
 .v46-home .v46-home-recent{width:100%!important;min-width:0!important;max-width:100%!important;grid-column:1/-1!important;margin:0!important}
 .v46-home .v46-home-secondary,.v46-home .v46-home-insights{width:100%!important;max-width:100%!important}
 /* Estoque sem retângulo verde; mantém valor e alerta de mínimo. */
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(7){background:#f6f9fd!important;border:0!important;box-shadow:none!important}
 .v38-catalog .v38-table tr.v38-item-row>td:nth-child(7)::before{color:#637896!important}
 .v38-catalog .v38-item-row .v422-stock-physical{color:#068a45!important}
 .v38-catalog .v38-item-row:has(.v421-warning) .v422-stock-physical{color:#d61632!important}
 /* Botões, linhas e cartões: impedir textos e badges fora dos limites */
 #section-content .v36-customer-row,#section-content .v37-order-row,#section-content .v38-item-row,#section-content .v419-expense-row,#section-content .v40-return-row{box-sizing:border-box!important;max-width:100%!important}
 #section-content .v37-bulk{position:static!important;bottom:auto!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;z-index:auto!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 #section-content .v37-bulk .v424-open-order-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:var(--v424-touch)!important;padding:10px 15px!important;border:1px solid #1a66d6!important;border-radius:11px!important;background:#0868fb!important;color:#fff!important;font-size:13px!important;font-weight:800!important;white-space:normal!important;text-align:center!important}
 #section-content .v37-bulk button{max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
}
@media(max-width:360px){
 .v36-customers .v36-filters,.v37-orders .v37-filters,.v419-expenses .v419-expense-filters{grid-template-columns:minmax(0,1fr) 108px!important}
 .v46-home .v45-fin-order-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .v46-home .v45-fin-order-actions button{font-size:10px!important;min-width:0!important;white-space:normal!important}
}
@media(max-width:820px){
 dialog.v424-action-dialog{position:fixed!important;inset:0!important;margin:auto!important;box-sizing:border-box;width:min(calc(100vw - 26px),440px)!important;max-width:440px!important;max-height:min(78dvh,680px)!important;overflow:auto!important;padding:0!important;border:1px solid #dce7f4!important;border-radius:18px!important;background:#fff!important;color:#0f2d5b!important;box-shadow:0 18px 62px #081b3855!important;z-index:1000!important;font-family:Manrope,system-ui,sans-serif}
 dialog.v424-action-dialog::backdrop{background:#091c3c90!important;backdrop-filter:blur(2px)}
 .v424-action-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 16px 13px;background:#fff;border-bottom:1px solid #e5edf5;z-index:2}
 .v424-action-header h2{font-size:16px!important;line-height:1.35;font-weight:850;color:#0f2d5b;margin:0}
 .v424-action-close{display:grid;place-items:center;flex:0 0 42px;min-height:42px;border:0;border-radius:10px;background:#fff0f2;color:#c4233a;font-size:26px;font-weight:700}
 .v424-action-list{display:grid;gap:9px;padding:15px!important;max-height:60dvh;overflow:auto}
 .v424-action-list>button,.v424-action-list>.v37-bulk-button,.v424-action-list>.v37-bulk-danger,.v424-action-list>.com-link,.v424-action-list .v424-status-choices>button{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;width:100%!important;max-width:100%!important;min-height:46px!important;margin:0!important;padding:11px 12px!important;white-space:normal!important;line-height:1.3!important;text-align:center!important;font-family:inherit!important;font-size:14px!important;font-weight:750!important;border:1px solid #d9e5f5!important;border-radius:10px!important;background:#f3f7fd!important;color:#143560!important;transform:none!important;position:static!important;box-shadow:none!important;overflow-wrap:break-word!important}
 .v424-action-list>.v37-bulk-danger{color:#b8273a!important;background:#fff2f3!important;border-color:#f4d9de!important}
 .v424-action-list .v36-bulk-number,.v424-action-list>b,.v424-action-list>.v43-select-page{display:none!important}
 .v424-status-choices{display:grid;gap:7px;margin:3px 0 8px;padding:10px;background:#f7faff;border-radius:10px}
}

@media(max-width:820px){.v37-bulk:has(.v424-open-order-actions) .v36-bulk-tools{display:none!important}}

/* V4.25 — acabamento mobile pontual; desktop preservado. */
@media(max-width:820px){
 /* Início: seletor nativo, com opção selecionada persistida nos handlers originais. */
 .v425-period-original{display:none!important}
 .v423-home-tools .v425-home-selectors{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%;max-width:100%;grid-column:1/-1;align-self:stretch}
 .v425-home-select{display:flex;flex-direction:column;gap:5px;padding:8px 10px;border:1px solid #dce7f4;background:#fff;border-radius:12px;min-width:0;min-height:56px}
 .v425-home-select>span{font-size:11px;font-weight:750;color:#637b9b}
 .v425-home-select select{width:100%!important;min-width:0!important;max-width:100%;border:0!important;background:transparent!important;font-family:inherit;color:#102f5e;font-size:13px!important;font-weight:800;min-height:28px;padding:0 18px 0 0;outline-offset:3px}
 .v423-home-tools>.v425-home-selectors{grid-column:1/-1!important}
 /* Cada área fica dentro do quadro, sem selecionar por rolagem lateral. */
 .v36-customers .v36-bulk,.v38-catalog .v38-bulk-line,.v419-expenses .v425-expense-selectbar{display:flex!important;flex-wrap:wrap!important;align-items:center;min-width:0;max-width:100%;width:100%;gap:8px!important;padding:8px 0!important;overflow:visible!important}
 .v36-customers .v36-bulk .v36-bulk-tools{display:flex!important;min-width:0;max-width:100%;flex:0 1 auto;align-items:center;gap:8px}
 .v36-customers .v36-bulk .v36-bulk-tools>.v36-bulk-export,.v36-customers .v36-bulk .v36-bulk-tools>.v36-bulk-delete,.v36-customers .v36-bulk .v36-bulk-tools>.v36-bulk-clear,.v38-catalog .v38-bulk-buttons,.v36-customers .v36-bulk .v36-bulk-tools>.v36-bulk-name{display:none!important}
 .v36-customers .v36-bulk .v36-bulk-tools .v43-select-page{display:flex!important;align-items:center;flex:0 1 auto;min-width:0;font-size:12px!important;white-space:normal!important}
 .v36-customers .v36-bulk-tools .v36-bulk-number{font-size:13px;font-weight:800}
 .v38-catalog .v38-bulk-line .v38-bulk-count{flex:1 1 100%;min-width:0;overflow-wrap:anywhere}
 .v38-catalog .v38-bulk-line .v43-select-page{display:flex!important;align-items:center;gap:6px;font-size:12px!important;max-width:100%;white-space:normal!important}
 .v425-selection-launcher,.v425-expense-actions-btn{display:inline-flex!important;align-items:center;justify-content:center;min-width:0;min-height:44px!important;max-width:100%;padding:9px 13px!important;color:#fff!important;background:#0066ff!important;border:1px solid #0066ff!important;border-radius:11px!important;font:800 13px/1.25 Manrope,system-ui,sans-serif!important;text-align:center;overflow-wrap:anywhere}
 .v425-expense-actions-btn{display:none!important}
 .v425-selection-launcher{flex:1 1 auto}
 .v36-table-scroll,.v36-customers .v36-controls,.v36-customers .v36-filters{overflow:visible!important;max-width:100%!important;min-width:0!important}
 .v36-customers .v36-table,.v36-customers .v36-customer-card,.v36-customers .v36-bulk{max-width:100%;min-width:0}
 .v36-customers .v36-customer-row{min-width:0!important;max-width:100%!important}
 .v36-customers .v36-customer-card .v36-table{width:100%!important}
 .v36-customers .v36-customer-card .v36-table-scroll{overflow-x:clip!important}
 .v36-customers .v36-customer-card,.v36-customers .v36-table-scroll,.v36-customers .v36-table tbody{width:100%!important}
 /* Valores de despesas grandes: não ultrapassar coluna nem o cartão. */
 .v419-expenses tr.v419-expense-row>td:nth-child(6){grid-column:7/13!important;grid-row:2!important;width:100%;min-width:0!important;max-width:100%;text-align:right!important;justify-self:stretch!important;overflow:hidden!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(6) strong{display:block!important;font-size:clamp(13px,3.7vw,17px)!important;line-height:1.25!important;letter-spacing:-.02em!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;max-width:100%!important;min-width:0!important;text-align:right!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(2){grid-column:3/7!important;min-width:0!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(3){grid-column:3/8!important;overflow-wrap:anywhere!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(7){grid-column:8/12!important;min-width:0!important;justify-self:end!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(7) .v417-expense-pill{max-width:100%;font-size:11px!important;padding:4px 7px!important}
 .v419-expenses tr.v419-expense-row>td:nth-child(1){display:flex!important;align-items:center;gap:7px;min-width:0!important;grid-column:3/8!important}
 .v425-expense-check{width:18px!important;height:18px!important;flex:0 0 18px!important;accent-color:#0066ff}
 .v419-expenses .v425-expense-selectbar{margin-top:1px;border-bottom:1px solid #e5edf8!important}
 .v419-expenses .v425-expense-selectbar label{display:flex;align-items:center;gap:6px;min-height:40px;font-size:12px!important;font-weight:700;color:#526b8b;min-width:0}
 .v425-expense-selectbar input{accent-color:#0066ff;width:17px;height:17px}
 .v419-expenses tr.v425-expense-selected{border-color:#8dbdff!important}
 /* Serviço não controla estoque: duas métricas, sem blocos fantasmas. */
 .v38-catalog .v38-item-row[data-kind="servico"]>td:nth-child(7),
 .v38-catalog .v38-item-row[data-kind="servico"]>td:nth-child(8){display:none!important}
 .v38-catalog .v38-item-row[data-kind="servico"]>td:nth-child(5){grid-column:1/7!important;grid-row:4!important;min-width:0!important}
 .v38-catalog .v38-item-row[data-kind="servico"]>td:nth-child(6){grid-column:7/13!important;grid-row:4!important;min-width:0!important}
 .v38-catalog .v38-item-row[data-kind="servico"] .v38-price{font-size:clamp(15px,4vw,18px)!important;overflow-wrap:anywhere!important;max-width:100%!important}
 /* Modal: todos os comandos no mesmo padrão; alerta visual em cada situação. */
 dialog.v424-action-dialog .v425-status-option{justify-content:flex-start!important;gap:11px!important;text-align:left!important;min-height:46px!important}
 dialog.v424-action-dialog .v425-status-option::before{content:"";display:inline-block;flex:0 0 11px;width:11px;height:11px;border-radius:50%;background:#e0a228;box-shadow:0 0 0 4px #fff0cf}
 dialog.v424-action-dialog .v425-status-concluido{color:#176b46!important;background:#eefbf4!important;border-color:#cdecd8!important}
 dialog.v424-action-dialog .v425-status-concluido::before{background:#159a5b;box-shadow:0 0 0 4px #d7f4e6}
 dialog.v424-action-dialog .v425-status-cancelado{color:#ba2b43!important;background:#fff1f3!important;border-color:#fad5db!important}
 dialog.v424-action-dialog .v425-status-cancelado::before{background:#e23953;box-shadow:0 0 0 4px #ffdade}
 dialog.v424-action-dialog .v425-status-novo{color:#935d0b!important;background:#fff8e8!important;border-color:#f8e6bf!important}
 dialog.v424-action-dialog .v425-status-novo::before{background:#dda020;box-shadow:0 0 0 4px #ffedbe}
 .v425-expense-report{width:min(94vw,560px);max-height:84dvh;overflow:auto;padding:18px;background:white;color:#102c56;border:1px solid #dce7f4;border-radius:16px}
 .v425-expense-report #v425-expense-print{overflow-x:auto}
 .v425-expense-report table{border-collapse:collapse;width:100%;font-size:12px}
 .v425-expense-report th,.v425-expense-report td{padding:8px;border-bottom:1px solid #dce7f4;text-align:left;overflow-wrap:anywhere}
 .v425-expense-report .com-actions{margin-top:14px}
}
@media print{
 body:has(#v425-expense-report[open]) > *:not(#v425-expense-report){display:none!important}
 #v425-expense-report[open]{position:static!important;display:block!important;width:100%!important;max-height:none!important;overflow:visible!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important}
 #v425-expense-report .com-modal-head,#v425-expense-report .com-actions{display:none!important}
 #v425-expense-print{width:100%!important;overflow:visible!important}
 #v425-expense-print th,#v425-expense-print td{font-size:11pt;border-bottom:1px solid #ddd}
}

@media(max-width:820px){
 #section-content .v425-period-original{display:none!important} 
 .v423-home-tools .v45-fin-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;grid-column:1!important;min-width:0!important}
 .v423-home-tools .v425-home-selectors{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-self:stretch!important;gap:7px!important;min-width:0!important}
 .v423-home-tools .v425-home-select{padding:7px 9px!important;min-height:56px!important}
 .v423-home-tools .v425-home-select select{font-size:12px!important}
}

@media(max-width:820px){
 #section-content .v38-catalog tr.v38-item-row[data-kind="servico"] > td:nth-child(7),
 #section-content .v38-catalog tr.v38-item-row[data-kind="servico"] > td:nth-child(8){display:none!important;visibility:hidden!important}
 #section-content .v38-catalog tr.v38-item-row[data-kind="servico"] > td:nth-child(5){grid-column:1/7!important;grid-row:4!important}
 #section-content .v38-catalog tr.v38-item-row[data-kind="servico"] > td:nth-child(6){grid-column:7/13!important;grid-row:4!important}
}

@media(max-width:820px){
 .v46-home .v46-ops-grid .v425-expense-op{min-width:0!important;box-sizing:border-box!important;padding:9px 7px!important}
 .v46-home .v46-ops-grid .v425-expense-op>strong{display:block!important;min-width:0!important;max-width:100%!important;font-size:clamp(12px,3.4vw,16px)!important;letter-spacing:-.035em!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;text-align:left!important}
}


/* V4.26 | Instalacao PWA - somente interface de login mobile */
.rt-pwa-card{display:none;align-items:center;gap:10px;background:#f1f7ff;border:1px solid #d8e7fa;border-radius:15px;padding:12px;margin-top:18px;min-width:0}
.rt-pwa-symbol{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;flex:0 0 42px;background:#e1efff;color:#0066ff}
.rt-pwa-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.rt-pwa-copy strong{font-size:13px;line-height:1.25;color:#0f2d5b}
.rt-pwa-copy small{font-size:11px;line-height:1.4;color:#607495}
.rt-pwa-open{display:flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-height:42px;padding:9px 10px;border-radius:10px;border:1px solid #bed8ff;background:#fff;color:#0066ff;font-weight:800;font-size:12px;white-space:nowrap}
.rt-pwa-open:hover{background:#e7f1ff}
.rt-pwa-dialog{border:0;padding:0;color:#0f2d5b;background:#fff;border-radius:20px;box-shadow:0 25px 80px #071b3d55;width:min(480px,calc(100vw - 28px));max-height:min(90dvh,780px);overflow:auto;overscroll-behavior:contain}
.rt-pwa-dialog::backdrop{background:#091d3c9c;backdrop-filter:blur(3px)}
.rt-pwa-sheet{padding:22px;min-width:0}
.rt-pwa-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.rt-pwa-head-brand{display:flex;align-items:center;gap:12px;min-width:0}
.rt-pwa-head-brand img{object-fit:contain;flex-shrink:0}
.rt-pwa-head-brand span{display:flex;flex-direction:column;gap:3px}
.rt-pwa-head-brand strong{font-size:20px;letter-spacing:-.03em;line-height:1.2}
.rt-pwa-head-brand small{font-size:12px;color:#607495}
.rt-pwa-x{border:0;background:#fff0f1;color:#c32745;border-radius:11px;height:42px;width:42px;flex:0 0 42px;display:grid;place-items:center}
.rt-pwa-lead{font-size:13px;line-height:1.65;color:#536887;margin:16px 0}
.rt-pwa-lead strong{color:#0f2d5b}
.rt-pwa-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;border-radius:13px;background:#eef4fc;padding:5px}
.rt-pwa-tabs button{background:transparent;border:0;border-radius:10px;padding:12px 6px;min-height:44px;color:#536887;font-size:13px;font-weight:750}
.rt-pwa-tabs button.active{color:#0066ff;background:#fff;box-shadow:0 1px 6px #0f2d5b16}
.rt-pwa-guidance{margin:14px 0;min-height:170px}
.rt-pwa-steps{margin:0;padding:0 0 0 24px;display:grid;gap:11px;counter-reset:rtstep;list-style:decimal}
.rt-pwa-steps li{color:#405a7b;font-size:13px;line-height:1.55;padding-left:2px;overflow-wrap:anywhere}
.rt-pwa-steps strong{color:#0f2d5b}
.rt-pwa-tip{margin-top:15px;background:#eef5ff;border-radius:11px;padding:11px 12px;color:#405b80;font-size:12px;line-height:1.55}
.rt-pwa-install-now,.rt-pwa-done{width:100%;border:0;border-radius:12px;min-height:46px;padding:12px 15px;font-size:14px;font-weight:750;align-items:center;justify-content:center;gap:8px}
.rt-pwa-install-now:not([hidden]){display:flex;background:#0066ff;color:white;margin-bottom:9px}
.rt-pwa-done{display:flex;background:#eaf2ff;color:#0f2d5b}
.rt-pwa-foot{text-align:center;font-size:11px;color:#7588a1;line-height:1.55;margin-top:13px}
.rt-pwa-dialog button:focus-visible,.rt-pwa-card button:focus-visible{outline:3px solid #ffa72b;outline-offset:2px}
@media(max-width:820px){.auth-minimal .login-card .rt-pwa-card{display:flex}}
@media(max-width:360px){.rt-pwa-card{flex-wrap:wrap}.rt-pwa-open{width:100%;flex-basis:100%}.rt-pwa-sheet{padding:17px}}
@media(max-height:720px) and (max-width:820px){.rt-pwa-dialog{max-height:calc(100dvh - 16px)}}

.v427-finance .v45-fin-stat strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
@media(max-width:820px){.v427-finance .v45-fin-stat{min-width:0}.v427-finance .v45-fin-stat strong{max-width:100%;font-size:clamp(1.15rem,5.1vw,1.7rem)}.v427-finance .v45-fin-stat small{overflow-wrap:break-word}}

.v427-finance.v46-fin-stats .v45-fin-stat:nth-child(2){background:#fff!important}
@media(max-width:820px){.v46-home .v427-finance.v46-fin-stats>.v45-fin-stat:nth-child(2){background:#fff!important}}

.v427-read-only{padding:12px 14px;border:1px solid #bfd5fa;background:#edf5ff;color:#0f2d5b;font-size:13px;line-height:1.4;border-radius:12px;margin:0 0 15px}


/* V4.28 — microinteracoes somente mobile, sem alterar dados nem fluxos. */
@media (max-width: 820px) {
 html, body { overscroll-behavior-y: auto !important; }
 .app-content { overscroll-behavior-y: auto !important; }
 /* Compensacao da barra inferior mantida para permitir chegar ao ultimo registro. */
 .app-content > .screen-wrap { --rt-bounce-shift: 0px; translate: 0 var(--rt-bounce-shift); }
 .app-content > .screen-wrap.rt-bounce-drag { will-change: translate; transition: none !important; }
 .app-content > .screen-wrap.rt-bounce-release { transition: translate 410ms cubic-bezier(.18,.83,.26,1.12) !important; }
 .bottom-nav button { transition: background-color 180ms ease, color 180ms ease, scale 140ms ease !important; }
 .bottom-nav button:active, #section-content button:active, #section-content .btn:active, .mobile-head button:active { scale: .975; }
 #section-content .v422-mobile-filter > summary,
 #section-content .v423-actions-menu > summary { transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease !important; }
 #section-content .v422-mobile-filter[open] > .v422-filter-content { animation: rt428-expand 190ms cubic-bezier(.2,.75,.25,1) both; transform-origin: top center; }
 .sidebar { transition: transform 240ms cubic-bezier(.2,.75,.2,1), opacity 200ms ease !important; }
 .menu-shade { transition: opacity 200ms ease !important; }
 dialog.com-dialog, dialog.v424-action-dialog, dialog.rt-pwa-dialog, dialog#rt429-notices, dialog#legal-dialog,
 dialog#v413-birthdays, dialog#rt-expense-dialog {
   opacity: 0; transform: translateY(9px) scale(.985);
   transition: opacity 210ms ease, transform 240ms cubic-bezier(.2,.8,.2,1), display 240ms allow-discrete, overlay 240ms allow-discrete !important;
   transition-behavior: allow-discrete;
 }
 dialog.com-dialog[open], dialog.v424-action-dialog[open], dialog.rt-pwa-dialog[open], dialog#rt429-notices[open],
 dialog#legal-dialog[open], dialog#v413-birthdays[open], dialog#rt-expense-dialog[open] { opacity: 1; transform: translateY(0) scale(1); }
 dialog.com-dialog::backdrop, dialog.v424-action-dialog::backdrop, dialog.rt-pwa-dialog::backdrop, dialog#rt429-notices::backdrop { opacity: 0; transition: opacity 240ms ease, display 240ms allow-discrete, overlay 240ms allow-discrete; transition-behavior: allow-discrete; }
 dialog.com-dialog[open]::backdrop, dialog.v424-action-dialog[open]::backdrop, dialog.rt-pwa-dialog[open]::backdrop, dialog#rt429-notices[open]::backdrop { opacity: 1; }
 @starting-style {
   dialog.com-dialog[open], dialog.v424-action-dialog[open], dialog.rt-pwa-dialog[open], dialog#rt429-notices[open], dialog#legal-dialog[open], dialog#v413-birthdays[open], dialog#rt-expense-dialog[open] { opacity: 0; transform: translateY(12px) scale(.985); }
   dialog.com-dialog[open]::backdrop, dialog.v424-action-dialog[open]::backdrop, dialog.rt-pwa-dialog[open]::backdrop, dialog#rt429-notices[open]::backdrop { opacity: 0; }
 }
}
@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
 .rt428-page-enter { animation: rt428-page-in 205ms cubic-bezier(.16,.84,.3,1) both; }
}
@keyframes rt428-page-in { from { opacity: .7; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rt428-expand { from { opacity: .55; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
 .rt428-page-enter, #section-content .v422-mobile-filter[open] > .v422-filter-content { animation: none !important; }
 .app-content > .screen-wrap, .bottom-nav button, #section-content button, #section-content .btn,
 .sidebar, .menu-shade, dialog, dialog::backdrop { transition: none !important; transform: none !important; translate: none !important; scale: 1 !important; }
}


/* V4.29 — elasticidade apenas no eixo vertical e teclado sem zoom no iOS. */
@media (max-width:820px) {
 html,body { max-width:100%; overflow-x:clip!important; overscroll-behavior-x:none!important; }
 #app,.app-frame,.app-content,.app-content>.screen-wrap,#section-content { max-width:100%; min-width:0; overscroll-behavior-x:none!important; }
 .app-content { overflow-x:clip!important; }
 /* Mantém carrosséis e tabelas horizontais onde são intencionais, mas não o rebote lateral. */
 .v46-ops-grid,.com-table-scroll,.v36-table-scroll,.v37-table-scroll,.v38-table-scroller,.v40-table-scroll,.v39-quote-table-scroll { overscroll-behavior-x:none!important; }
 input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
 textarea,select { font-size:16px!important; }
 .rt429-notices-dialog { width:min(440px,calc(100vw - 28px)); max-height:min(86dvh,780px); padding:0; border:1px solid #d9e6f6; border-radius:20px; background:#fff; color:#0f2d5b; box-shadow:0 22px 75px #071b3d4a; overflow:hidden; outline:none!important; }
 .rt429-notices-dialog:focus,.rt429-notices-dialog:focus-visible{outline:none!important;box-shadow:0 22px 75px #071b3d4a!important;}
 .rt429-notices-dialog::backdrop { background:#09234488; backdrop-filter:blur(3px); }
 .rt429-notices-sheet { display:flex; flex-direction:column; max-height:min(86dvh,780px); min-width:0; overflow:hidden; }
 .rt429-notices-head { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 17px 13px;border-bottom:1px solid #e4edfa; }
 .rt429-notices-head h2 { display:flex;align-items:center;gap:9px;margin:0;color:#0f2d5b;font-size:18px;line-height:1.3; }
 .rt429-notices-head p { margin:3px 0 0;font-size:12px;color:#627899; }
 .rt429-close { flex:0 0 42px;min-height:42px;border:0;border-radius:12px;background:#df425c;color:#fff;display:grid;place-items:center;font-size:25px;font-weight:800;box-shadow:0 8px 18px rgba(223,66,92,.22); }
 .rt429-notices-content { overflow-y:auto;overscroll-behavior-y:contain;min-height:0;max-height:calc(min(86dvh,780px) - 176px);padding:13px;display:grid;gap:10px; scrollbar-gutter:stable; }
 .rt429-notice { border:1px solid #e0eaf7;border-radius:14px;padding:13px;display:grid;gap:7px;min-width:0;background:#fff; }
 .rt429-notice.rt429-read { background:#fbfdff; }
 .rt429-notice-header {display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;}
 .rt429-notice-kind {display:flex;align-items:center;gap:6px;color:#576f90;font-size:11px;font-weight:700;}
 .rt429-unread {background:#e8f3ff;color:#0066ff;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:750;}
 .rt429-notice strong {font-size:14px;line-height:1.38;overflow-wrap:anywhere;}
 .rt429-notice-copy {font-size:13px;color:#536a88;line-height:1.55;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;}
 .rt429-notice>small {color:#8091a8;font-size:11px;}
 .rt429-notice-actions {display:flex;flex-wrap:wrap;gap:7px;margin-top:3px;}
 .rt429-notice-actions button,.rt429-notices-foot button,.rt429-confirm button {min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d5e3f8;border-radius:10px;padding:8px 11px;background:#eff6ff;color:#0f54ab;font-size:12px;font-weight:750;}
 .rt429-notice-actions .rt429-remove,.rt429-notices-foot>button {background:#fff;color:#a5364a;border-color:#e6d9de;}
 .rt429-notices-foot {border-top:1px solid #e6edf7;padding:11px 14px;display:grid;gap:9px;flex:0 0 auto;}
 .rt429-notices-foot p {margin:0;font-size:13px;}
 .rt429-confirm {display:flex;gap:9px;flex-wrap:wrap;}
 .rt429-notices-disclaimer {font-size:11px;line-height:1.4;color:#7285a0;margin:0;padding:0 15px 13px;}
 .rt429-notices-empty {display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 12px;color:#637994;text-align:center;}
 .rt429-notices-empty strong {color:#0f2d5b;}.rt429-notices-empty p {margin:0;font-size:12px;}
 .rt429-loading,.rt429-notices-error {padding:26px 18px;line-height:1.5;font-size:14px;}
 .rt429-notices-dialog button:focus-visible {outline:3px solid #ffa72b;outline-offset:2px;}
}
@media (max-width:820px) and (prefers-reduced-motion:reduce) { .rt429-notices-dialog,.rt429-notices-dialog::backdrop {animation:none!important;transition:none!important;} }


/* V4.30 — barra flutuante de vidro com reflexo e lente de selecao; somente mobile. */
@media (max-width:820px) {
 :root { --rt430-dock-gap: 12px; --rt430-dock-height: 72px; }
 .bottom-nav {
  position:fixed!important; left:50%!important; right:auto!important;
  bottom:calc(var(--rt430-dock-gap) + env(safe-area-inset-bottom,0px))!important;
  width:min(560px,calc(100% - 24px))!important;
  max-width:calc(100% - 24px)!important;
  height:var(--rt430-dock-height)!important; min-height:var(--rt430-dock-height)!important;
  padding:6px!important; margin:0!important; gap:0!important;
  transform:translateX(-50%)!important;
  display:flex!important; justify-content:space-between!important; align-items:stretch!important;
  border:1px solid rgba(215,237,255,.42)!important; border-radius:25px!important;
  background:linear-gradient(130deg,rgba(27,66,113,.82),rgba(10,34,69,.89) 57%,rgba(11,39,76,.83))!important;
  -webkit-backdrop-filter:blur(24px) saturate(175%);
  backdrop-filter:blur(24px) saturate(175%);
  box-shadow:0 9px 27px rgba(5,26,53,.28),0 1px 5px rgba(6,30,65,.12),inset 0 1px 0 rgba(255,255,255,.23)!important;
  isolation:isolate; overflow:hidden; box-sizing:border-box!important;
  z-index:70!important;
 }
 .bottom-nav::before {
  content:""; position:absolute; z-index:0; pointer-events:none;
  inset:0; border-radius:inherit;
  background:linear-gradient(180deg,rgba(225,242,255,.17) 0%,rgba(225,242,255,.035) 38%,rgba(0,20,56,.12) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.20);
 }
 .bottom-nav .rt430-lens {
  position:absolute; z-index:1; pointer-events:none;
  top:6px; left:0; width:0; height:calc(100% - 12px);
  border-radius:20px; box-sizing:border-box;
  background:linear-gradient(145deg,rgba(147,198,252,.39),rgba(54,124,219,.28) 65%,rgba(101,161,234,.35));
  border:1px solid rgba(226,242,255,.48);
  box-shadow:0 1px 9px rgba(6,20,49,.18),inset 0 1px 0 rgba(255,255,255,.48),inset 0 -1px 1px rgba(11,41,85,.17);
  -webkit-backdrop-filter:blur(11px) saturate(150%);
  backdrop-filter:blur(11px) saturate(150%);
  transform:translate3d(0,0,0);
  transition:transform 370ms cubic-bezier(.23,.78,.17,1),width 370ms cubic-bezier(.23,.78,.17,1),opacity 190ms ease;
  will-change:transform;
 }
 .bottom-nav .rt430-lens::before {
  content:"";position:absolute;left:10%;right:10%;top:1px;height:36%;
  border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.22),transparent);
 }
 .bottom-nav button,.bottom-nav button.active,.bottom-nav button:hover {
  position:relative;z-index:2;flex:1 1 0;min-width:0;max-width:none!important;
  min-height:0!important;height:100%;padding:5px 2px!important;
  border:0!important;border-radius:18px!important;
  background:transparent!important;box-shadow:none!important;
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;
  gap:4px!important;color:#d2e4fb!important;
  text-shadow:0 1px 1px rgba(3,19,45,.34);
  -webkit-tap-highlight-color:transparent;
  transition:color 210ms ease,opacity 210ms ease,scale 150ms ease!important;
 }
 .bottom-nav button.active {color:#fff!important;}
 .bottom-nav button>span {height:25px!important;display:grid;place-items:center;}
 .bottom-nav button svg {height:23px!important;width:23px!important;stroke-width:2.15;filter:drop-shadow(0 1px 1px rgba(0,15,38,.25));}
 .bottom-nav button small {
  color:inherit!important;font-size:11px!important;font-weight:700!important;
  letter-spacing:-.01em!important;line-height:1.2!important;
  white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;
 }
 .bottom-nav button:focus-visible {outline:2px solid #ffe4ac!important;outline-offset:-4px!important;}
 .app-content {
  padding-bottom:calc(var(--rt430-dock-height) + var(--rt430-dock-gap) + env(safe-area-inset-bottom,0px) + 28px)!important;
 }
 html {scroll-padding-bottom:calc(var(--rt430-dock-height) + var(--rt430-dock-gap) + env(safe-area-inset-bottom,0px) + 18px)!important;}
}
@media (max-width:820px) and (prefers-reduced-motion:reduce) {
 .bottom-nav .rt430-lens,.bottom-nav button {transition:none!important;animation:none!important;}
}
@media (max-width:820px) and (prefers-contrast:more) {
 .bottom-nav {background:rgba(11,38,75,.96)!important;border-color:#c3d9f5!important;}
 .bottom-nav button {color:#fff!important;}
 .bottom-nav .rt430-lens {background:rgba(61,118,198,.88);border-color:#fff;}
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
 @media (max-width:820px) {.bottom-nav {background:#102e56!important}.bottom-nav .rt430-lens {background:#2763a7;}}
}


/* V4.31 — vidro claro, sem degradê nem contorno ornamental. Apenas telas móveis. */
@media (max-width:820px) {
 :root {--rt430-dock-gap:12px;--rt430-dock-height:67px;}
 .bottom-nav {
  width:min(530px,calc(100% - 28px))!important;
  max-width:calc(100% - 28px)!important;
  height:var(--rt430-dock-height)!important;
  min-height:var(--rt430-dock-height)!important;
  bottom:calc(var(--rt430-dock-gap) + env(safe-area-inset-bottom,0px))!important;
  padding:5px 6px!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(177,205,228,.54)!important;
  -webkit-backdrop-filter:blur(9px) saturate(135%)!important;
  backdrop-filter:blur(9px) saturate(135%)!important;
  box-shadow:0 7px 23px rgba(30,63,101,.14),inset 0 1px 1px rgba(255,255,255,.42)!important;
 }
 .bottom-nav::before {
  display:none!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
 }
 .bottom-nav .rt430-lens {
  top:5px!important;
  height:calc(100% - 10px)!important;
  border-radius:999px!important;
  background:rgba(248,252,255,.73)!important;
  border:0!important;
  -webkit-backdrop-filter:blur(5px) saturate(125%)!important;
  backdrop-filter:blur(5px) saturate(125%)!important;
  box-shadow:0 2px 9px rgba(36,76,118,.13),inset 0 1px 1px rgba(255,255,255,.60)!important;
 }
 .bottom-nav .rt430-lens::before {display:none!important;background:none!important;}
 .bottom-nav button,.bottom-nav button.active,.bottom-nav button:hover {
  border:0!important;
  border-radius:999px!important;
  color:#163f66!important;
  text-shadow:none!important;
  gap:3px!important;
  padding:5px 1px!important;
 }
 .bottom-nav button.active {color:#005bd4!important;}
 .bottom-nav button svg {
  stroke-width:2.25!important;
  filter:none!important;
  width:23px!important;
  height:23px!important;
 }
 .bottom-nav button small {
  font-size:10.5px!important;
  font-weight:800!important;
  letter-spacing:-.015em!important;
  text-shadow:none!important;
 }
 .app-frame>.sidebar {z-index:92!important;touch-action:pan-y;}
 #shade.menu-shade.open {z-index:91!important;}
 .app-content {padding-bottom:calc(var(--rt430-dock-height) + var(--rt430-dock-gap) + env(safe-area-inset-bottom,0px) + 28px)!important;}
}
@media (max-width:820px) and (prefers-contrast:more) {
 .bottom-nav {background:rgba(219,235,248,.94)!important;}
 .bottom-nav .rt430-lens {background:rgba(255,255,255,.98)!important;}
 .bottom-nav button,.bottom-nav button.active {color:#073b7a!important;}
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
 @media (max-width:820px) {
  .bottom-nav {background:rgba(218,232,246,.94)!important;}
  .bottom-nav .rt430-lens {background:rgba(255,255,255,.91)!important;}
 }
}


/* V4.32 — vidro optico mobile: fundo azul suave, refração nas bordas e reflexos difusos. */
@media (max-width:820px) {
 .bottom-nav {
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  border:0!important;
  border-radius:999px!important;
  overflow:hidden!important;
  isolation:isolate!important;
  box-shadow:0 8px 24px rgba(25,61,102,.14),0 1px 5px rgba(27,70,110,.07)!important;
 }
 .bottom-nav::before {
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  border-radius:inherit!important;
  background:rgba(194,216,233,.38)!important;
  -webkit-backdrop-filter:blur(1.6px) saturate(123%) brightness(1.035)!important;
  backdrop-filter:blur(1.6px) saturate(123%) brightness(1.035)!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.32)!important;
 }
 /* Reflexos internos curvos, sem strokes, contornos ou degradê azul escuro. */
 .bottom-nav::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  border-radius:inherit;
  background:radial-gradient(ellipse 62% 75% at 24% -23%,rgba(255,255,255,.22),transparent 80%),
    radial-gradient(ellipse 48% 60% at 84% 130%,rgba(73,138,198,.09),transparent 83%);
  box-shadow:inset 0 2px 3px rgba(255,255,255,.57),inset 0 -1px 3px rgba(57,104,153,.13);
 }
 .bottom-nav .rt430-lens {
  z-index:1!important;
  background:rgba(247,252,255,.29)!important;
  -webkit-backdrop-filter:blur(1.25px) saturate(127%) brightness(1.035)!important;
  backdrop-filter:blur(1.25px) saturate(127%) brightness(1.035)!important;
  border:0!important;
  box-shadow:0 1px 11px rgba(30,79,125,.12),inset 0 1px 2px rgba(255,255,255,.66),inset 0 -1px 2px rgba(56,111,165,.18)!important;
 }
 .bottom-nav button {z-index:3!important;color:#163f66!important;text-shadow:none!important;}
 .bottom-nav button.active {color:#0057ca!important;}
 /* A navegação real mantém todos os elementos clicáveis acima da lente. */
 .bottom-nav button:focus-visible {outline:2px solid #0066ff!important;outline-offset:-3px!important;}
}
/* Refração real de pixels do fundo quando o motor suporta SVG em backdrop-filter.
   WebKit/iOS usa o vidro de baixo desfoque com reflexos, sem deixar o menu vazio. */
@media (max-width:820px) {
 html.rt432-refraction .bottom-nav::before {
  -webkit-backdrop-filter:url("#rt432-glass-map") blur(1.25px) saturate(121%) brightness(1.03)!important;
  backdrop-filter:url("#rt432-glass-map") blur(1.25px) saturate(121%) brightness(1.03)!important;
 }
}
@media (max-width:820px) and (prefers-reduced-transparency:reduce) {
 .bottom-nav::before{background:rgba(215,231,245,.92)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
 html.rt432-refraction .bottom-nav::before{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
 .bottom-nav .rt430-lens{background:rgba(255,255,255,.81)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
}
@media (max-width:820px) and (prefers-contrast:more) {
 .bottom-nav::before {background:rgba(226,238,248,.95)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
 html.rt432-refraction .bottom-nav::before{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
 .bottom-nav .rt430-lens {background:rgba(255,255,255,.88)!important;}
 .bottom-nav button,.bottom-nav button.active {color:#063b78!important;}
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
 @media (max-width:820px) {
  .bottom-nav::before {background:rgba(213,232,246,.93)!important;}
  .bottom-nav .rt430-lens{background:rgba(247,252,255,.86)!important;}
 }
}


/* V4.33 — ajuste de contraste do vidro. Restrito ao dock mobile.
   Mantem refração optica, transparencia, lente e transicao da V4.32. */
@media (max-width:820px) {
  .bottom-nav::before {
    background:rgba(22,62,104,.79)!important;
    box-shadow:inset 0 1px 1px rgba(255,255,255,.20)!important;
  }
  .bottom-nav::after {
    background:radial-gradient(ellipse 55% 64% at 18% -25%,rgba(255,255,255,.15),transparent 82%),
      radial-gradient(ellipse 47% 47% at 84% 132%,rgba(142,195,239,.08),transparent 84%)!important;
    box-shadow:inset 0 2px 3px rgba(255,255,255,.28),inset 0 -1px 2px rgba(5,28,63,.15)!important;
  }
  .bottom-nav .rt430-lens {
    background:rgba(190,220,248,.13)!important;
    box-shadow:0 1px 10px rgba(7,32,67,.13),inset 0 1px 2px rgba(255,255,255,.28)!important;
  }
  .bottom-nav button,
  .bottom-nav button.active,
  .bottom-nav button:hover {
    color:#ffffff!important;
    text-shadow:0 1px 1px rgba(4,25,57,.16)!important;
  }
  .bottom-nav button small {color:#ffffff!important;}
  .bottom-nav button svg {filter:drop-shadow(0 1px 1px rgba(4,25,57,.14))!important;}
  .bottom-nav button:focus-visible {outline:2px solid #ffffff!important;outline-offset:-3px!important;}
}
@media (max-width:820px) and (prefers-reduced-transparency:reduce) {
  .bottom-nav::before {background:rgba(22,62,104,.97)!important;}
  .bottom-nav .rt430-lens {background:rgba(93,140,183,.67)!important;}
}
@media (max-width:820px) and (prefers-contrast:more) {
  .bottom-nav::before {background:rgba(13,42,82,.97)!important;}
  .bottom-nav .rt430-lens {background:rgba(65,119,174,.78)!important;}
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
  @media (max-width:820px) {
    .bottom-nav::before {background:rgba(22,62,104,.96)!important;}
    .bottom-nav .rt430-lens {background:rgba(85,135,178,.70)!important;}
  }
}


/* V4.34 — acabamento da página Início e do dock; exclusivamente mobile. */
@media (max-width:820px) {
 /* Azul mais sóbrio, próximo à identidade dos botões, sem degradê pesado. */
 .bottom-nav::before {
  background:rgba(12,49,93,.88)!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.16)!important;
 }
 .bottom-nav::after {
  background:radial-gradient(ellipse 58% 58% at 24% -23%,rgba(255,255,255,.12),transparent 80%)!important;
  box-shadow:inset 0 2px 2px rgba(255,255,255,.20),inset 0 -1px 2px rgba(5,24,54,.16)!important;
 }
 .bottom-nav .rt430-lens {
  background:rgba(127,180,227,.20)!important;
  box-shadow:inset 0 1px 2px rgba(255,255,255,.25)!important;
 }
 .bottom-nav button,.bottom-nav button.active,.bottom-nav button:hover,
 .bottom-nav button small {color:#fff!important;}
 /* Título e subtítulo de Início secundários: os dados são o foco. */
 .v46-home .v45-fin-heading {gap:5px!important;}
 .v46-home .v45-fin-heading>.com-heading {align-items:flex-start!important;gap:8px!important;margin-bottom:1px!important;}
 .v46-home .v45-fin-heading .com-heading h2 {font-size:14px!important;line-height:1.25!important;font-weight:800!important;color:#3f587a!important;margin:0 0 2px!important;}
 .v46-home .v45-fin-heading .com-heading p {font-size:11px!important;line-height:1.35!important;color:#7487a2!important;margin:0!important;max-width:100%;}
 .v46-home .v45-fin-heading .com-heading>.btn {
  align-self:flex-start!important;min-height:32px!important;height:32px!important;
  padding:5px 9px!important;margin-top:-3px!important;
  font-size:11px!important;line-height:1.15!important;white-space:nowrap!important;
 }
 /* Somente os cartões financeiros têm rolagem horizontal. */
 .v46-home>.v46-fin-stats.v427-finance {
  display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;
  grid-template-columns:none!important;gap:10px!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  scroll-snap-type:x mandatory!important;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none!important;
  padding:3px 13px 9px!important;
  margin-inline:-13px!important;width:calc(100% + 26px)!important;
  max-width:calc(100% + 26px)!important;
 }
 .v46-home>.v46-fin-stats.v427-finance::-webkit-scrollbar {display:none!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat {
  flex:0 0 clamp(230px,75vw,306px)!important;
  width:clamp(230px,75vw,306px)!important;
  min-width:0!important;min-height:183px!important;
  border-radius:19px!important;padding:15px 16px!important;
  scroll-snap-align:start!important;
  display:flex!important;flex-direction:column!important;justify-content:space-between!important;
  box-shadow:0 4px 12px rgba(15,45,91,.05)!important;
  border:1px solid transparent!important;
 }
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.blue{background:#d7ebff!important;border-color:#b9d7fb!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.orange{background:#ffe1b8!important;border-color:#ffc978!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.cyan{background:#d8f6ff!important;border-color:#aee9fb!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.purple{background:#e7dbff!important;border-color:#d0befa!important;}
 .v46-home .v46-fin-stats.v427-finance>.v45-fin-stat>div{gap:6px!important;}
 .v46-home .v46-fin-stats.v427-finance>.v45-fin-stat span {font-size:11px!important;line-height:1.32!important;letter-spacing:.035em!important;color:#4b678d!important;}
 .v46-home .v46-fin-stats.v427-finance>.v45-fin-stat strong {
  display:block!important;line-height:1.05!important;
  font-size:clamp(24px,6.5vw,34px)!important;color:#0f2d5b!important;
  font-family:"Avenir Next","Montserrat","SF Pro Display",Manrope,ui-sans-serif,system-ui,sans-serif!important;
  font-weight:950!important;letter-spacing:-.065em!important;font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere!important;white-space:normal!important;
 }
 .v46-home .v46-fin-stats.v427-finance>.v45-fin-stat small{font-size:11px!important;line-height:1.4!important;color:#566f8e!important;}
 .v46-home .v46-fin-stats.v427-finance>.v45-fin-stat>b {
  display:inline-flex!important;align-items:center!important;align-self:flex-start!important;
  min-height:30px!important;padding:5px 11px!important;margin-top:8px!important;
  border-radius:999px!important;background:rgba(255,255,255,.72)!important;
  color:#174575!important;font-size:11px!important;line-height:1.2!important;font-weight:850!important;
 }
 .v46-home .v46-fin-stats.v427-finance>.v45-fin-stat.orange>b{padding:0!important;background:transparent!important;}
 .v46-home .v46-fin-stats.v427-finance>.v45-fin-stat.orange>b .btn{min-height:33px!important;border-radius:9px!important;background:rgba(255,255,255,.65)!important;}
 /* A área expansível não faz parte do carrossel: botão laranja acessível. */
 .v46-home>.rt434-extra-finance {
  order:1!important;display:block!important;grid-column:1/-1!important;
  width:100%!important;min-width:0!important;margin:-2px 0 2px!important;
  background:transparent!important;border:0!important;border-radius:14px!important;
 }
 .v46-home>.rt434-extra-finance>summary {
  width:100%!important;min-height:48px!important;box-sizing:border-box!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  padding:11px 15px!important;border:0!important;border-radius:13px!important;
  background:#ffa72b!important;color:#142f53!important;
  font-size:13px!important;font-weight:850!important;
  box-shadow:0 3px 9px rgba(155,87,8,.09)!important;
 }
 .v46-home>.rt434-extra-finance>summary::after {
  content:'+';font-size:23px;line-height:20px;font-weight:500;flex:none;
 }
 .v46-home>.rt434-extra-finance[open]>summary::after{content:'−';}
 .v46-home>.rt434-extra-finance>summary:focus-visible{outline:2px solid #0a60da!important;outline-offset:3px!important;}
 .v46-home>.rt434-extra-finance .v423-more-finance-content {
  display:block!important;padding:12px 0 0!important;background:transparent!important;
 }
 .rt434-indicators-hint{font-size:11px;line-height:1.4;color:#7185a1;margin:0 0 9px;}
 .rt434-rings {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .rt434-indicator{display:flex;align-items:center;min-width:0;gap:9px;padding:10px;border-radius:14px;background:#fff;border:1px solid #e0eaf5;}
 .rt434-ring {flex:0 0 55px;width:55px;height:55px;display:grid;place-items:center;border-radius:50%;position:relative;background:conic-gradient(var(--rt434-ring-color) var(--rt434-progress,0%),#e9eff6 0);}
 .rt434-ring::before {content:'';position:absolute;inset:7px;border-radius:50%;background:#fff;}
 .rt434-ring strong{position:relative;font-size:12px;color:#153865;}
 .rt434-ring-copy{display:grid;gap:3px;min-width:0;}
 .rt434-ring-copy strong{font-size:11px;color:#173658;line-height:1.3;overflow-wrap:anywhere;}
 .rt434-ring-copy small{font-size:10px;color:#74869d;line-height:1.3;}
 .rt434-completed{--rt434-ring-color:#0a9a63;}
 .rt434-open{--rt434-ring-color:#087afa;}
 .rt434-cancelled{--rt434-ring-color:#eb5b69;}
}
@media (max-width:359px){.rt434-rings{grid-template-columns:1fr!important;}}
@media (max-width:820px) and (prefers-reduced-transparency:reduce){
 .bottom-nav::before{background:rgba(12,49,93,.98)!important;}
}
@media (max-width:820px) and (prefers-contrast:more){
 .bottom-nav::before{background:rgba(7,34,73,.99)!important;}
}
@media (max-width:820px) {
 .v46-home .v45-fin-heading>.com-heading {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  column-gap:8px!important;
  align-items:start!important;
 }
 .v46-home .v45-fin-heading>.com-heading>div {grid-column:1;grid-row:1;min-width:0!important;}
 .v46-home .v45-fin-heading>.com-heading>.btn {
  grid-column:2;grid-row:1;
  margin:0!important;justify-self:end!important;
 }
}
@media (max-width:820px) {
 /* Os contadores operacionais não usam rolagem lateral: só os valores financeiros. */
 .v46-home>.v46-ops-grid {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;grid-auto-columns:auto!important;
  overflow-x:visible!important;overflow-y:visible!important;
  scroll-snap-type:none!important;gap:8px!important;padding:0!important;
 }
 .v46-home>.v46-ops-grid>.v46-op {
  min-width:0!important;min-height:77px!important;scroll-snap-align:none!important;
 }
}

@media(max-width:820px){
 .mobile-head,.topbar>.split{contain:layout;}
 .mobile-head>.iconbtn,.topbar [data-action="logout"]{margin:0!important;vertical-align:middle!important;}
 .topbar>.split{transform:translateY(0)!important;}
 .rt429-notices-dialog{scrollbar-width:thin;}
}

/* V4.36 — aviso de e-mail sem cadastro no login, sem impacto em outras telas. */
.rt436-unknown-account{display:flex;align-items:center;gap:16px;margin-top:14px;padding:16px;border-radius:16px;background:#f0f6ff;border:1px solid #d3e5ff;color:#17385e;}
.rt436-spike{flex:0 0 90px;max-width:90px;display:grid;place-items:center;}
.rt436-spike .spike-wrap{display:block;line-height:0;}
.rt436-spike img{display:block;max-width:90px;width:100%;height:auto;object-fit:contain;}
.rt436-account-copy{min-width:0;display:grid;gap:8px;}
.rt436-account-copy strong{font-size:16px;font-weight:850;line-height:1.3;color:#0f2d5b;}
.rt436-account-copy p{margin:0;font-size:13px;line-height:1.5;color:#546c8e;}
.rt436-signup-link{min-height:40px!important;padding:8px 13px!important;font-size:13px!important;justify-self:start;text-decoration:none!important;}
@media(max-width:820px){.rt436-spike{display:none!important}.rt436-unknown-account{padding:14px;gap:0}.rt436-account-copy{gap:8px}}
@media(prefers-reduced-motion:reduce){.rt436-spike *{animation:none!important;transition:none!important}}


/* V4.37 — alinhamento do cabecalho e cores solidas: somente mobile. */
@media (max-width:820px) {
 /* Uma notificacao visivel, imediatamente ao lado de Sair, na mesma linha. */
 .mobile-head {padding-right:128px!important;}
 .mobile-head>.iconbtn {display:none!important;}
 .mobile-head .mini-brand {min-width:0!important;max-width:100%!important;}
 .mobile-head .mini-brand img {max-width:100%!important;}
 .topbar>.split {
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:8px!important;top:-76px!important;right:0!important;
  transform:none!important;height:44px!important;margin:0!important;
 }
 .topbar .top-notification {
  display:grid!important;place-items:center!important;flex:0 0 44px!important;
  width:44px!important;min-width:44px!important;height:44px!important;
  min-height:44px!important;padding:0!important;margin:0!important;
  border:1px solid #dce6f4!important;border-radius:13px!important;
  background:#fff!important;color:#16467c!important;box-shadow:none!important;
 }
 .topbar .top-notification svg {width:22px!important;height:22px!important;stroke:currentColor!important;}
 .topbar [data-action="logout"] {flex:0 0 auto!important;min-height:44px!important;height:44px!important;}
 .topbar .top-notification:focus-visible {outline:3px solid #1558a1!important;outline-offset:2px!important;}

 /* Paleta equilibrada, viva e sem gradientes; manter informacoes contrastantes. */
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat {
  border:1px solid transparent!important;background-image:none!important;
  box-shadow:0 4px 14px rgba(12,35,66,.11)!important;
 }
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.blue {background:#1558a1!important;border-color:#1558a1!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.orange {background:#ffa72b!important;border-color:#ffa72b!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.cyan {background:#197a4f!important;border-color:#197a4f!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.purple {background:#6446a8!important;border-color:#6446a8!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat :is(span,strong,small) {color:#fff!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat span {
  font-weight:650!important;letter-spacing:.005em!important;opacity:.97;
 }
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat strong {
  font-family:Manrope,"Avenir Next",system-ui,sans-serif!important;
  font-weight:780!important;font-size:clamp(23px,6vw,30px)!important;
  letter-spacing:-.035em!important;line-height:1.11!important;
  font-variant-numeric:tabular-nums!important;
 }
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat small {
  font-weight:500!important;opacity:.94;line-height:1.43!important;
 }
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat>b {
  background:rgba(255,255,255,.18)!important;color:#fff!important;
  border:0!important;font-weight:700!important;
 }
 /* A cor laranja institucional precisa de texto escuro, nunca branco. */
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.orange :is(span,strong,small) {color:#122945!important;opacity:1!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.orange>b {background:rgba(255,255,255,.46)!important;color:#122945!important;}
 .v46-home>.v46-fin-stats.v427-finance>.v45-fin-stat.orange>b .btn {
  background:rgba(255,255,255,.6)!important;color:#122945!important;
  border:1px solid rgba(18,41,69,.14)!important;
 }
 /* Outros indicadores fica azul escuro, nao laranja. */
 .v46-home>.rt434-extra-finance>summary {
  background:#16467c!important;color:#fff!important;
  font-weight:750!important;box-shadow:0 4px 12px rgba(12,35,66,.10)!important;
 }
 .v46-home>.rt434-extra-finance>summary::after {color:#fff!important;}
 .v46-home>.rt434-extra-finance>summary:focus-visible {outline:3px solid #1558a1!important;outline-offset:3px!important;}
 /* Ponto preto, equilibrado com os demais indicadores, sem mudar operacoes. */
 .v46-home>.v46-ops-grid>.v46-op:last-child {background:#fff!important;border-color:#d8e5f6!important;box-shadow:0 3px 10px rgba(12,35,66,.04)!important;}
 .v46-home>.v46-ops-grid>.v46-op:last-child span {color:#637a96!important;}
 .v46-home>.v46-ops-grid>.v46-op:last-child strong {color:#0f2d5b!important;}
 .v46-home>.v46-ops-grid>.v46-op:last-child svg {color:#0066ff!important;}
}

.v419-expenses .v425-expense-selectbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:10px 20px;min-height:55px}
.v419-expenses .v425-expense-selectbar>label{display:inline-flex;align-items:center;gap:7px;min-height:40px;font-size:13px;color:#183967;font-weight:700;white-space:nowrap}
.v438-expense-actions-menu{position:relative;margin-left:auto;max-width:100%;z-index:12}
.v438-expense-actions-menu[hidden]{display:none!important}
.v438-expense-actions-menu>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;white-space:normal;background:#16549e;color:#fff;border:1px solid #16549e;border-radius:10px;padding:8px 13px;font:700 12px/1.35 Manrope,system-ui,sans-serif;cursor:pointer}
.v438-expense-actions-menu>summary::-webkit-details-marker{display:none}
.v438-expense-actions-menu>summary::after{content:'⌄';margin-left:6px;font-size:16px;line-height:1}
.v438-expense-actions-menu[open]>summary::after{content:'⌃'}
.v438-expense-actions-menu>summary:focus-visible{outline:3px solid #8ab5fa;outline-offset:3px}
.v438-expense-actions-list{position:absolute;right:0;top:calc(100% + 6px);min-width:min(270px,calc(100vw - 28px));max-width:calc(100vw - 28px);background:#fff;border:1px solid #dce7f5;border-radius:13px;box-shadow:0 16px 35px #102c5626;padding:7px;display:grid;gap:3px;z-index:80}
.v438-expense-actions-list>button{display:flex;align-items:center;width:100%;padding:12px 13px;min-height:43px;background:transparent;color:#12325b;border:0;border-radius:9px;text-align:left;font:700 13px/1.35 Manrope,system-ui,sans-serif;cursor:pointer}
.v438-expense-actions-list>button:hover,.v438-expense-actions-list>button:focus-visible{background:#edf5ff}
.v438-expense-actions-list>.v438-bulk-danger{color:#c82741}
.v438-expense-actions-list>.v438-bulk-danger:hover{background:#ffecf0}
.v47-account-danger{border:1px solid #f1ccd2;border-radius:16px;padding:19px;background:#fffafa;margin-top:25px;max-width:680px}
.v47-account-danger h3{color:#a52640;font-size:17px;margin:0 0 8px}
.v47-account-danger p{color:#5c6170;line-height:1.55;font-size:13px}
.v438-account-deletion[hidden]{display:none!important}
.v438-account-deletion{display:grid;gap:12px;margin-top:14px}
.v438-account-deletion .field{margin:0}
.v438-account-deletion .checkline{display:flex;align-items:flex-start;gap:8px}
.v438-account-deletion .checkline input{flex:0 0 auto;margin-top:4px}
.v438-account-actions{display:flex;flex-wrap:wrap;gap:9px}
.v438-account-actions button{min-height:43px}
@media(max-width:820px){
 .v419-expenses .v425-expense-selectbar{justify-content:space-between;gap:9px;padding:8px 0!important}
 .v438-expense-actions-menu{flex:1 1 185px;min-width:0;margin-left:0}
 .v438-expense-actions-menu>summary{width:100%;min-height:44px}
 .v438-expense-actions-list{left:auto;right:0;min-width:min(270px,calc(100vw - 28px))}
 .v46-home .v46-home-recent,.v46-home .v46-home-main>.v46-home-recent{background:#292f38!important;border:1px solid #303945!important;color:#fff!important}
 .v46-home .v46-home-recent .v45-fin-panel-head h3,.v46-home .v46-home-recent .v45-fin-panel-head p{color:#fff!important}
 .v46-home .v46-home-recent .v45-fin-panel-head .com-link{color:#8bb9ff!important}
 .v46-home .v46-home-recent .v45-fin-order-card{background:#fff!important;border-color:#dfe9f5!important;color:#0f2d5b!important}
}


/* Retornei V4.40 — atualização visual isolada do simulador e filtros da página Início */
.v440-simulator{--v440-ink:#0f2d5b;--v440-blue:#0066ff;--v440-light:#f8fafc;--v440-border:#e2e8f0;gap:23px!important;max-width:1210px;width:100%;margin-inline:auto}
.v440-simulator-heading h2{font-size:clamp(23px,2.5vw,29px);font-weight:800;letter-spacing:-.045em;margin:0 0 5px;color:var(--v440-ink)}
.v440-simulator-heading p{font-size:13px;color:#687b95;margin:0;line-height:1.5}
.v440-simulator-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(290px,5fr);gap:22px;align-items:start;min-width:0}
.v440-parameters{display:grid;gap:23px;padding:28px 30px;background:#fff;border:1px solid var(--v440-border);border-radius:23px;min-width:0;box-shadow:0 6px 24px rgba(16,40,85,.04)}
.v440-parameters>header h3{font-weight:800;font-size:17px;color:#0f172a;margin:0 0 5px}
.v440-parameters>header p{font-size:12px;color:#64748b;margin:0;line-height:1.45}
.v440-input-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.v440-field{display:grid;gap:8px;min-width:0}
.v440-field>span:first-child,.v440-modes>h4{font-size:12px;font-weight:750;color:#26364c;margin:0}
.v440-field input{box-sizing:border-box;width:100%;height:47px;min-height:47px;font-size:14px!important;font-weight:650;color:#132a4e;background:#f8fafc;border:1px solid #d9e2ec;border-radius:13px;padding:10px 13px;min-width:0;outline-offset:2px}
.v440-field input:focus-visible{outline:2px solid #0066ff;border-color:#0066ff}
.v440-currency-wrap{position:relative;display:block;min-width:0}.v440-currency-wrap>i{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:12px;font-weight:800;color:#64748b;font-style:normal;pointer-events:none}.v440-currency-wrap>input{padding-left:44px}
.v440-stepper{display:flex;gap:3px;align-items:center;background:#f8fafc;border:1px solid #d9e2ec;border-radius:13px;padding:4px;min-width:0;height:47px;box-sizing:border-box}
.v440-stepper input{flex:1;max-width:100%;min-width:28px;width:35%;border:none;border-radius:8px;background:transparent;text-align:center;height:36px;min-height:36px;font-size:14px;font-weight:800;padding:0 2px;appearance:textfield}
.v440-stepper input::-webkit-inner-spin-button,.v440-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.v440-stepper button{width:37px;height:36px;flex:0 0 37px;border:0;border-radius:9px;background:#fff;color:#1c3b65;font-size:20px;font-weight:650;cursor:pointer;box-shadow:0 1px 4px rgba(13,37,72,.08)}
.v440-stepper button:hover{background:#eaf2ff}
.v440-modes{display:grid;gap:11px}.v440-mode-source{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;clip-path:inset(50%);pointer-events:none}
.v440-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.v440-mode-button{text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;min-height:132px;padding:12px 10px;background:#fff;border:2px solid #e2e8f0;border-radius:15px;cursor:pointer;color:#162b47;transition:border-color .15s,background .15s}
.v440-mode-button.active{border-color:var(--v440-blue);background:#eff6ff;box-shadow:0 0 0 2px #0066ff16}
.v440-mode-button:focus-visible{outline:2px solid var(--v440-blue);outline-offset:2px}
.v440-mode-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#0066ff;color:#fff;font-size:13px;font-weight:800;flex:0 0 34px}.v440-mode-icon.m1{background:#5754d7}.v440-mode-icon.m2{background:#14865a}.v440-mode-icon.m3{background:#244b79}
.v440-mode-button strong{font-size:12px;font-weight:750;line-height:1.23;color:#1c2c47}.v440-mode-button small{font-size:11px;font-weight:450;color:#61718a;line-height:1.35}
.v440-desired input{background:#f8fafc}
.v440-sim-hint{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;background:#eff6ff;border:1px solid #dceaff;border-radius:14px;color:#546780;font-size:12px;line-height:1.5}
.v440-sim-hint svg{color:#0066ff;flex:none;margin-top:1px}
.v440-result{min-width:0;background:#111b2d;border:1px solid #263347;color:#fff;border-radius:23px;padding:29px 27px;box-shadow:0 12px 28px rgba(11,23,42,.15);display:flex;flex-direction:column;gap:0;position:sticky;top:20px}
.v440-result-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.v440-result-top>span{font-size:11px;font-weight:750;color:#8db5ff;letter-spacing:.065em}.v440-result-top>b{font-weight:650;font-size:10px;background:#183c37;color:#8de8af;border:1px solid #2f6553;border-radius:50px;padding:5px 9px}
.v440-result h3{color:#fff;font-weight:800;font-size:18px;margin:0 0 23px}
.v440-suggested{padding:20px 17px;background:#202d42;border:1px solid #37445b;border-radius:16px;display:grid;gap:9px;margin-bottom:20px}
.v440-suggested>span{font-size:12px;color:#aab8ca;font-weight:550}.v440-suggested>strong{font-size:clamp(26px,3vw,35px);font-weight:800;letter-spacing:-.045em;color:#69a9ff;line-height:1.18;overflow-wrap:anywhere}.v440-suggested>small{color:#aebbcf;font-size:11px;line-height:1.55}.v440-suggested>small b{color:#fff;font-weight:800}
.v440-metrics{display:grid;gap:17px;border-top:1px solid #2c3950;padding-top:21px}.v440-metrics>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.v440-metrics span{font-size:12px;color:#b2bed0}.v440-metrics strong{font-size:14px;color:#fff;text-align:right;white-space:nowrap}.v440-metrics .v440-profit{color:#76dfaa}.v440-metrics .v440-margin{color:#93bbff}
.v440-extra{border-top:1px solid #2c3950;margin-top:22px;padding-top:14px;display:grid;gap:9px;color:#b2bed0;font-size:11px}.v440-extra>span{display:flex;justify-content:space-between;gap:9px}.v440-extra b{font-weight:650;color:#e1eaff;text-align:right}
.v440-sim-empty{border:1px dashed #394a65;border-radius:14px;background:#202d42;color:#b7c8df;padding:24px 17px;font-size:13px;line-height:1.6}
.v440-filter-toolbar{min-width:0;position:relative;z-index:6}
.v440-filter-toggle{display:inline-flex;align-items:center;gap:9px;min-height:39px;padding:7px 12px;background:#fff;border:1px solid #d7e3f3;border-radius:12px;color:#0f2d5b;font-size:12px;cursor:pointer}
.v440-filter-toggle>strong{font-weight:750}.v440-filter-toggle>span{border-left:1px solid #dce7f5;padding-left:10px;color:#526e92;white-space:nowrap;font-weight:550}
.v440-filter-toggle svg{width:16px;height:16px}.v440-filter-toggle:focus-visible{outline:2px solid #0066ff;outline-offset:2px}
.v440-filter-options{display:flex;align-items:center;gap:12px;min-width:0}
@media(min-width:821px){
 .v46-home .v440-filter-toolbar{display:block!important;width:max-content!important;margin:0!important;padding:0!important;overflow:visible!important}
 .v46-home .v440-filter-options{display:none!important;position:absolute;top:calc(100% + 8px);left:0;right:auto;width:min(570px,calc(100vw - 340px));min-width:380px;padding:17px;background:#fff;border:1px solid #d7e3f3;border-radius:16px;box-shadow:0 15px 40px #132b4a25;z-index:100;flex-direction:column;align-items:stretch;gap:14px}
 .v46-home .v440-filter-toolbar.v440-filters-open .v440-filter-options{display:flex!important}
 .v46-home .v440-filter-options>.v45-fin-periods,.v46-home .v440-filter-options>.v45-fin-segment{display:flex!important;flex-wrap:wrap;gap:7px!important;width:100%;min-width:0}
 .v46-home .v440-filter-options>.v45-fin-periods:before,.v46-home .v440-filter-options>.v45-fin-segment:before{display:block;width:100%;font-size:11px;font-weight:800;color:#687c99;content:'Período'}
 .v46-home .v440-filter-options>.v45-fin-segment:before{content:'Situação'}
 .v46-home .v440-filter-options .com-chip,.v46-home .v440-filter-options .v45-fin-segment button{font-size:12px;min-height:34px;padding:7px 11px;white-space:nowrap}
}
@media(max-width:1040px){.v440-simulator-layout{grid-template-columns:minmax(0,1fr);gap:16px}.v440-result{position:static}}
@media(max-width:820px){
 .v440-simulator{gap:14px!important}.v440-simulator-heading h2{font-size:22px}.v440-simulator-heading p{font-size:12px}
 .v440-parameters{padding:17px 14px;border-radius:17px;gap:18px}.v440-input-row{gap:10px}.v440-field input{font-size:16px!important}
 .v440-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v440-mode-button{min-height:111px;padding:11px}.v440-mode-button strong{font-size:12px}.v440-mode-button small{font-size:11px}
 .v440-result{padding:22px 18px;border-radius:18px}.v440-result h3{margin-bottom:16px}.v440-suggested{padding:17px}
 .v440-filter-toggle{display:none!important}.v46-home .v440-filter-options{display:flex!important;flex-direction:column;align-items:stretch;width:100%;gap:8px}
 .v46-home .v440-filter-toolbar{display:flex!important;align-items:stretch;width:100%!important;min-width:0}
}
@media(max-width:360px){.v440-parameters{padding:14px 11px}.v440-stepper button{flex-basis:31px;width:31px}.v440-mode-button{min-height:119px}.v440-result{padding:18px 14px}}

/* V4.41: atributos opcionais Loja e Comércio, sem alterar listagens e filtros existentes. */
.v441-store-attrs{padding:14px;border:1px solid #dce6f4;border-radius:14px;min-width:0}
.v441-store-attrs[hidden]{display:none!important}
.v441-store-attrs legend{font-weight:750;color:#0f2d5b;padding:0 6px;font-size:.86rem}
.v441-store-attrs>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v441-variant-filters{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-width:0;width:100%;flex-wrap:wrap}
.v441-variant-filters select{appearance:auto;flex:1 1 125px;min-width:110px;max-width:245px;min-height:39px;border:1px solid #dce6f4;border-radius:10px;background:#fff;color:#0f2d5b;padding:8px 10px;font-size:12px;font-weight:650;line-height:1.2;font-family:inherit}
.v441-variant-summary{display:block;font-size:11px;line-height:1.5;color:#607495;font-weight:550;margin-top:4px;white-space:normal}
@media(max-width:820px){.v441-store-attrs>div{grid-template-columns:1fr;gap:9px}.v441-variant-filters{grid-column:1/-1!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.v38-catalog .v38-filters .v441-variant-filters>select{width:100%!important;min-width:0!important;max-width:100%!important;min-height:43px!important;font-size:12px!important}.v441-variant-summary{font-size:12px}}
@media(max-width:380px){.v441-variant-filters{grid-template-columns:1fr 1fr}.v441-variant-filters select:last-child{grid-column:1/-1}}


@media(max-width:760px){
  .v412-order-dialog .v43-order-notes textarea{min-height:108px}
  .v412-order-dialog .v42-mobile-step>.v43-order-notes>span{display:block;margin-bottom:8px}
}

/* V4.44: prévia e confirmação de categorias. Restrito ao onboarding. */
.rt444-onboard-help{margin:15px 2px 2px;color:#556e91;font-size:.85rem;line-height:1.6}
.rt444-choices{overflow:visible;isolation:isolate}
.rt444-choice{position:relative;overflow:visible;isolation:auto;text-align:left;cursor:pointer}
.rt444-choice:focus-visible{z-index:4}
.rt444-card-hint{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:#1264cf;margin-top:8px}
.rt444-dialog{border:1px solid #dae6f7;border-radius:22px;width:min(720px,calc(100vw - 28px));max-width:720px;max-height:min(88dvh,790px);padding:0;box-shadow:0 30px 90px #0b234d55;background:#fff;color:#0f2d5b;overflow:hidden}
.rt444-dialog::backdrop{background:#061c3d99;backdrop-filter:blur(3px)}
.rt444-modal-head{display:flex;align-items:center;gap:14px;padding:22px 24px 18px;border-bottom:1px solid #e6edf7}
.rt444-modal-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:15px;background:#e9f2ff;color:#0766f1;flex:none}
.rt444-modal-head>div{flex:1;min-width:0}.rt444-modal-head small{font-size:12px;color:#647e9e;font-weight:700}.rt444-modal-head h2{font-size:23px;line-height:1.2;margin:5px 0 0}
.rt444-close{height:40px;width:40px;flex:none;border:0;border-radius:12px;background:#f23c42;color:white;font-size:25px;line-height:1;cursor:pointer}
.rt444-modal-scroll{overflow:auto;padding:20px 24px;max-height:calc(min(88dvh,790px) - 207px);overscroll-behavior:contain}
.rt444-modal-scroll>p{color:#58708f;font-size:14px;line-height:1.6;margin:0 0 19px}
.rt444-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.rt444-feature-grid section{border:1px solid #dce7f5;border-radius:15px;background:#fbfdff;padding:16px;min-width:0}
.rt444-feature-grid section:first-child{background:#f4f9ff}
.rt444-feature-grid section:last-child{background:#fffaf4;border-color:#f1e4d5}
.rt444-feature-grid h4{font-size:15px;font-weight:800;color:#0f2d5b;margin:0 0 10px}
.rt444-feature-grid b{display:block;font-size:12px;color:#205999;margin:10px 0 6px}
.rt444-feature-grid ul{margin:6px 0 4px;padding-left:18px}.rt444-feature-grid li,.rt444-feature-grid p{font-size:13px;line-height:1.6;color:#3e5473;margin:3px 0}
.rt444-feature-grid .rt444-basic-note{font-size:12px;color:#647995;margin-bottom:7px}
.rt444-lock-warning{display:flex;align-items:flex-start;gap:11px;padding:13px 15px;background:#fff6e8;border:1px solid #f6dfb5;border-radius:13px;margin-top:17px;color:#785018;font-size:13px;line-height:1.55}
.rt444-lock-warning svg{flex:none;margin-top:1px}
.rt444-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #e6edf7;background:#fff}
.rt444-modal-actions button{min-height:46px;min-width:150px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;cursor:pointer}
.rt444-back{background:#edf4ff;color:#17487e;border:1px solid #cfddf1}
.rt444-dialog :is(button,summary):focus-visible,.rt444-choice:focus-visible{outline:3px solid #0766f1;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.rt444-dialog,.rt444-choice{animation:none!important;transition:none!important}}

.rt444-modal-scroll>.rt444-lock-warning{margin:0 0 18px}


/* Retornei onboarding: sem hover visual; apenas selecao e foco por teclado. */
.rt444-choices .rt444-choice:not(.selected):hover{border-color:#dfe8ec;background:#fff}
.rt444-choices .rt444-choice.selected:hover{border-color:#0066FF;background:#EEF6FF}

/* R6.3: o submenu do pedido/cliente não pode ultrapassar a janela. */
.v37-orders-table details.v31-actions[open]:not([data-v63-positioned]) > .v31-actions-menu,
.v36-customers details.v31-actions[open]:not([data-v63-positioned]) > .v31-actions-menu{visibility:hidden}
.v37-orders-table details.v31-actions[data-v63-positioned] > .v31-actions-menu,
.v36-customers details.v31-actions[data-v63-positioned] > .v31-actions-menu{position:fixed!important;z-index:2147483000!important;max-width:calc(100vw - 16px);overscroll-behavior:contain;scrollbar-width:thin;box-sizing:border-box;}

.v37-orders-table details.v31-actions[data-v63-positioned] > .v31-actions-menu > button,
.v37-orders-table details.v31-actions[data-v63-positioned] > .v31-actions-menu > .v37-menu-caption{flex-shrink:0}

/* RETORNEI R6.6 - Apenas títulos únicos + adaptação para tablets. */
.topbar:has(.soft-heading):not(:has(h1)){min-height:0;margin-bottom:14px}
#section-content .rt66-section-title{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;font-family:Manrope,ui-sans-serif,system-ui,sans-serif!important;font-size:22px!important;font-weight:800!important;line-height:1.3!important;letter-spacing:-.025em!important;color:#0f2d5b!important;min-width:0;overflow-wrap:anywhere}
#section-content .rt66-section-icon{width:24px;height:24px;flex:0 0 24px;display:inline-flex;align-items:center;justify-content:center;color:#0066ff}
#section-content .rt66-section-icon svg{width:22px;height:22px;display:block;stroke-width:1.9}
#section-content .rt66-loading-heading{margin-bottom:12px}
@media (max-width:820px){
 .topbar:has(.soft-heading):not(:has(h1)){min-height:0!important;margin-bottom:14px!important}
 #section-content .rt66-section-title{font-size:20px!important;gap:9px!important}
 #section-content .rt66-section-icon{flex-basis:22px;width:22px;height:22px}
 #section-content .rt66-section-icon svg{width:21px;height:21px}
}
/* Tablet: 821-1199px only. Preserve both mobile <=820px and desktop >=1200px. */
@media (min-width:821px) and (max-width:1199px){
 .app-frame{min-width:0;max-width:100%}
 .app-content{min-width:0;padding:18px clamp(14px,2.5vw,28px) 50px}
 .app-content .screen-wrap,#section-content{min-width:0;max-width:100%;width:100%}
 #section-content>.com-stack,#section-content .v47-settings,#section-content .v48-support{min-width:0;max-width:100%}
 #section-content .v440-simulator-layout{grid-template-columns:minmax(0,1fr)!important}
 #section-content .v45-fin-main-grid,#section-content .v45-fin-main-grid.second,#section-content .v46-home-main,#section-content .v46-home-secondary{grid-template-columns:minmax(0,1fr)!important}
 #section-content .v47-settings-tabs{max-width:100%;overflow-x:auto;scrollbar-width:thin}
 #section-content .v37-table-scroll,#section-content .v36-table-scroll,#section-content .v38-table-scroller,#section-content .v419-expense-scroll,#section-content .v39-table-scroll{max-width:100%;min-width:0;overflow-x:auto}
 #section-content .v48-support-layout{grid-template-columns:minmax(0,1fr)!important}
}

/* Source style for compact order/customer headings has higher specificity. */
#section-content>.com-stack.v36-customers .v36-page-top h2.rt66-section-title,
#section-content>.com-stack.v37-orders .v36-page-top h2.rt66-section-title{display:flex!important;font-size:22px!important;line-height:1.3!important;letter-spacing:-.025em!important;margin:0!important}
@media(max-width:820px){#section-content>.com-stack.v36-customers .v36-page-top h2.rt66-section-title,#section-content>.com-stack.v37-orders .v36-page-top h2.rt66-section-title{font-size:20px!important}}

/* R7.6 — Privacidade discreta no Início (desktop e mobile). Sem cards novos. */
.v47-fin-eye-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:0;border:1px solid #dbe8f6;border-radius:12px;background:#fff;color:#0066ff;cursor:pointer;box-shadow:0 3px 12px rgba(15,45,91,.04);transition:background .15s,border-color .15s}
.v47-fin-eye-button:hover{background:#eef5ff;border-color:#bed8ff}
.v47-fin-eye-button[aria-pressed="true"]{background:#eaf2ff;color:#3d648f}
.v47-fin-eye-button:focus-visible{outline:2px solid #0066ff;outline-offset:3px}
@media(hover:hover){.v47-fin-eye-button::after{content:attr(data-tooltip);position:absolute;right:0;top:calc(100% + 8px);width:max-content;max-width:205px;background:#173155;color:#fff;font-size:11px;font-weight:600;line-height:1.4;white-space:normal;text-align:center;padding:7px 10px;border-radius:8px;box-shadow:0 6px 18px rgba(15,45,91,.16);opacity:0;pointer-events:none;z-index:15;transform:translateY(-3px);transition:opacity .12s,transform .12s}.v47-fin-eye-button:hover::after,.v47-fin-eye-button:focus-visible::after{opacity:1;transform:translateY(0)}}
.v47-fin-eye-lock{display:grid;align-content:center;justify-items:center;gap:8px;min-height:136px;padding:14px!important;background:transparent!important;border:0!important}.v47-fin-eye-lock>span{display:inline-flex;gap:8px;align-items:center;color:#647c9b;font-size:13px;font-weight:750}.v47-fin-eye-lock>p{margin:0!important;font-size:11px!important;color:#8295ac;text-align:center;max-width:300px}
@media(max-width:720px){.v47-fin-eye-button{width:38px;height:38px;min-width:38px;border-radius:10px}.v45-fin-heading .com-heading{align-items:center}.v45-fin-heading .com-heading>div{min-width:0}}
