:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#10213a;background:#f3f6fb}*{box-sizing:border-box}body{margin:0;background:#f3f6fb}.hidden{display:none!important}.muted{color:#697386}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#145a9d,#2475bd)}.login-card{width:min(540px,100%);background:#fff;border-radius:28px;padding:42px;box-shadow:0 24px 65px #08365a55}.brand{display:flex;gap:16px;align-items:center;margin-bottom:30px}.brand h1{margin:0;font-size:30px}.brand p{margin:5px 0;color:#6b7280}.brand-mark{display:grid;place-items:center;width:58px;height:58px;border-radius:15px;background:#1767b4;color:#fff;font-size:32px;font-weight:800}label{display:block;font-weight:650;margin:14px 0 7px}input,select,textarea{width:100%;padding:13px 14px;border:1px solid #ccd6e3;border-radius:11px;background:#fff;font:inherit;outline:none}input:focus,select:focus,textarea:focus{border-color:#1c6fc2;box-shadow:0 0 0 3px #1c6fc21c}button{border:0;border-radius:10px;padding:12px 16px;font:inherit;font-weight:650;cursor:pointer;background:#e8eef5;color:#17314d}.primary{background:#1767b4;color:#fff}.wide{width:100%;margin-top:18px}.error{color:#b42318;background:#fee4e2;padding:10px;border-radius:8px;margin-top:12px}.company-found{background:#eaf8ef;color:#196b3b;padding:10px 12px;border-radius:9px;margin:8px 0 2px}.shell{display:flex;min-height:100vh}.sidebar{width:285px;background:#102d47;color:#fff;padding:28px 18px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.side-brand{font-size:25px;font-weight:800;margin:10px 10px 26px}.tenant-badge{background:#ffffff12;border:1px solid #ffffff19;border-radius:12px;padding:11px 12px;margin:0 0 18px}.tenant-badge small{display:block;color:#aac0d2}.tenant-badge b{display:block;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav{display:grid;gap:6px}.nav button{text-align:left;color:#fff;background:transparent}.nav button.active,.nav button:hover{background:#ffffff14}.side-bottom{margin-top:auto;display:grid;gap:8px}.install-btn{background:#e9f3ff;color:#165c9c}.content{margin-left:285px;width:calc(100% - 285px);padding:34px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.topbar h2{font-size:30px;margin:0 0 5px}.userbox{text-align:right;display:grid}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{background:#fff;border:1px solid #e0e7f0;border-radius:19px;padding:24px;box-shadow:0 5px 22px #12304a08}.card .label{color:#68758a}.card .value{font-size:35px;font-weight:800;margin-top:10px}.section{margin-top:28px}.section h3{font-size:22px}.table-card{overflow:auto;padding:16px 24px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:14px;border-bottom:1px solid #e3e8ef}th{font-size:13px;color:#64748b}.empty{text-align:center;color:#697386;padding:26px}.actions{display:flex;gap:12px;margin-bottom:20px}.actions input{max-width:560px}.list-grid{display:grid;gap:12px}.list-item{background:#fff;border:1px solid #e1e7ef;border-radius:15px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.list-main{min-width:0}.list-main b{font-size:17px}.list-main .meta{display:flex;gap:12px;flex-wrap:wrap;color:#6b7280;margin-top:5px}.list-actions{display:flex;gap:8px;flex-wrap:wrap}.pill{padding:5px 9px;border-radius:99px;background:#edf4fb;color:#1d5f98;font-size:12px}.price{font-size:18px;font-weight:800;color:#0f5b9b}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.product-picker{display:grid;grid-template-columns:1fr 120px 130px;gap:10px;align-items:end;margin:20px 0}.sale-layout{max-width:1000px}.sale-total{display:flex;justify-content:flex-end;gap:18px;align-items:center;font-size:22px;margin:16px 4px}.sale-total b{font-size:30px}.modal{position:fixed;inset:0;background:#08152299;display:grid;place-items:center;padding:18px;z-index:20}.modal-card{width:min(650px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:22px;box-shadow:0 30px 80px #0005}.modal-head{display:flex;align-items:center;justify-content:space-between}.modal-head h3{margin:0}.modal-head button{font-size:28px;background:transparent}.toast{position:fixed;right:22px;bottom:22px;background:#17314d;color:#fff;padding:14px 18px;border-radius:12px;z-index:30;box-shadow:0 8px 30px #0003}.mobile-head,.bottom-nav{display:none}.danger{color:#b42318}.success{color:#147a42}
@media(max-width:820px){.sidebar{display:none}.content{margin-left:0;width:100%;padding:18px 15px 90px}.mobile-head{display:flex;background:#102d47;color:#fff;padding:15px 18px;justify-content:space-between;position:sticky;top:0;z-index:5}.topbar{align-items:flex-start}.userbox{display:none}.cards{grid-template-columns:1fr 1fr;gap:10px}.card{padding:17px}.card .value{font-size:26px}.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #dce4ed;z-index:10;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav button{border-radius:0;background:#fff;padding:9px 2px;color:#526173;font-size:18px}.bottom-nav button.active{color:#1767b4;background:#f4f9ff}.bottom-nav small{display:block;font-size:10px;margin-top:3px}.actions{flex-direction:column}.actions input{max-width:none}.list-item{align-items:flex-start;flex-direction:column}.list-actions{width:100%}.list-actions button{flex:1}.form-grid{grid-template-columns:1fr}.product-picker{grid-template-columns:1fr 80px}.product-picker button{grid-column:1/-1}.login-card{padding:27px 22px;border-radius:20px}.brand h1{font-size:25px}.topbar h2{font-size:26px}}


/* v27 sales */
.sale-v27-head{display:flex;gap:18px;justify-content:space-between;align-items:flex-start}.sale-mode-box{display:flex;gap:6px;background:#eef4fb;padding:5px;border-radius:12px}.sale-mode-box button{border:0;background:transparent;padding:10px 16px;border-radius:9px;font-weight:700}.sale-mode-box button.active{background:#176bbb;color:#fff}.sale-hint{padding:11px 12px;background:#eef6ff;border-radius:10px;min-height:44px}.product-picker-v27,.payment-entry{display:grid;grid-template-columns:minmax(260px,2.5fr) minmax(200px,1.7fr) 120px auto;gap:10px;align-items:end;margin:16px 0}.payments-box{margin:20px 0 16px;padding:16px;border:1px solid #c6d5e4;border-radius:18px;background:#f5f9fd}.payments-title{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:10px}.payments-title h4{margin:0}.payment-list{display:grid;gap:8px;margin-top:12px}.payment-chip{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border:1px solid #d6e1ed;border-radius:10px;background:white}.payment-chip button{width:34px;height:34px;padding:0}.grade-line{display:block;margin-top:4px;color:#617087}.sale-v27-card{max-width:1100px}.sale-v27-card label{font-weight:700}@media(max-width:760px){.sale-v27-head{display:block}.sale-mode-box{margin-top:10px}.product-picker-v27,.payment-entry{grid-template-columns:1fr 1fr}.product-picker-v27>div:first-child,.payment-entry>div:first-child{grid-column:1/-1}.product-picker-v27 button,.payment-entry button{grid-column:1/-1}.payments-title{align-items:flex-start}.table-card{overflow-x:auto}}
/* v28 sales */
.sale-product-search{margin-top:16px}.sale-client-grid{margin-top:8px}.receipt-actions{margin:12px 0}.receipt-actions button{width:100%}
@media(max-width:760px){.sale-product-search{margin-top:12px}}

/* ==========================================================
   v29 - Vendas mobile profissional
   ========================================================== */
.sale-v29-shell{max-width:1040px;margin:0 auto;display:grid;gap:16px;padding:14px 14px 34px;background:linear-gradient(180deg,#d4deea 0%,#c8d4e2 100%);border-radius:28px;box-shadow:inset 0 1px 0 #ffffff55}.sale-v29-hero{background:linear-gradient(135deg,#0d3c76,#176fc5);color:#fff;border-radius:24px;padding:24px;display:flex;justify-content:space-between;gap:18px;align-items:center;box-shadow:0 14px 36px #0e4f8d26}.sale-v29-hero h2{font-size:30px;margin:2px 0 4px}.sale-v29-hero p{margin:0;color:#d9ecff}.v29-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:800;color:#bcdcff}.v29-mode{background:#ffffff18}.v29-mode button{color:#fff}.v29-mode button.active{background:#fff;color:#0c5aa6;box-shadow:0 7px 18px #052c5924}.v29-panel{background:#fff;border:1px solid #cad8e6;border-radius:22px;padding:20px;box-shadow:0 10px 30px #143b5e14}.v29-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.v29-panel-title{display:flex;align-items:center;gap:10px}.v29-panel-title>span{font-size:20px}.v29-panel-title b{font-size:18px}.v29-panel-title small{display:block;color:#6f7d91;margin-top:2px}.v29-link-btn,.v29-danger-link{background:transparent;padding:8px;color:#1269bb;font-weight:750}.v29-danger-link{color:#cc3d3d}.v29-searchbox{display:flex;align-items:center;border:1px solid #cbd9e8;border-radius:16px;background:#fbfdff;padding:0 12px;min-height:54px;transition:.18s}.v29-searchbox:focus-within{border-color:#1771c8;box-shadow:0 0 0 4px #1771c817;background:#fff}.v29-searchbox>span{font-size:25px;color:#7890a9;margin-right:8px}.v29-searchbox input{border:0!important;box-shadow:none!important;background:transparent;padding:14px 2px;font-size:16px}.v29-clear{background:transparent;font-size:24px;padding:5px 8px;color:#718096}.v29-suggestions{margin-top:8px;border:1px solid #dbe5ef;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 14px 35px #102d4720}.v29-client-result{width:100%;border-radius:0;background:#fff;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;border-bottom:1px solid #edf2f7}.v29-client-result:last-child{border-bottom:0}.v29-client-result:hover{background:#f2f8ff}.v29-avatar{width:42px;height:42px;border-radius:50%;background:#e1effd;color:#1268b9;display:grid;place-items:center;font-weight:800;flex:0 0 auto}.v29-client-result-main,.v29-selected-client-main{display:grid;gap:3px;min-width:0;flex:1}.v29-client-result-main small,.v29-selected-client-main small{color:#748297;overflow:hidden;text-overflow:ellipsis}.v29-chevron{font-size:25px;color:#8495a8}.v29-selected-client{margin-top:10px;background:#f4f9ff;border:1px solid #d7e9fb;border-radius:16px;padding:11px 13px;display:flex;align-items:center;gap:12px}.v29-phone{text-decoration:none;color:#1167b5;font-weight:700;white-space:nowrap}.v29-remove-client{background:transparent;font-size:24px;color:#8494a7;padding:4px}.v29-product-results{margin-top:10px;border-radius:18px;overflow:hidden;border:1px solid #e0e8f0;background:#fff}.v29-product-result{min-height:76px;padding:10px 12px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf1f5;transition:.15s}.v29-product-result:last-child{border-bottom:0}.v29-product-result:hover{background:#f4f9ff}.v29-product-thumb,.v29-cart-thumb{width:54px;height:54px;border-radius:12px;background:#f1f5f9;display:grid;place-items:center;overflow:hidden;flex:0 0 auto}.v29-product-thumb img{width:100%;height:100%;object-fit:contain}.v29-product-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#7890a8;font-size:23px;background:linear-gradient(145deg,#f8fbfe,#eaf1f8)}.v29-product-result-main{flex:1;min-width:0;display:grid;gap:4px}.v29-product-result-main b{font-size:16px}.v29-product-result-main small{color:#758398;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v29-product-price{font-size:19px;font-weight:850;color:#0867bd;white-space:nowrap}.v29-product-add{width:42px;height:42px;padding:0;border-radius:50%;font-size:24px;background:#126fc5;color:#fff}.v29-search-tip,.v29-no-result{padding:18px;text-align:center;color:#758398}.v29-product-composer{margin-top:12px;border-radius:18px;padding:14px;background:#f5f9fd;border:1px solid #dae7f3}.v29-composer-product{display:flex;align-items:center;gap:10px}.v29-composer-product>div:nth-child(2){flex:1;display:grid;gap:3px}.v29-composer-product small{color:#718096}.v29-composer-product strong{color:#0766b9;font-size:18px}.v29-composer-actions{display:flex;gap:10px;align-items:center;margin-top:12px}.v29-qty{display:flex;align-items:center;border:1px solid #d4e0ec;border-radius:12px;background:#fff;overflow:hidden}.v29-qty button{border-radius:0;background:#fff;font-size:18px;padding:10px 13px}.v29-qty input{width:64px;border:0!important;box-shadow:none!important;text-align:center;padding:10px 4px}.v29-cart-list{display:grid;gap:9px}.v29-cart-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px;border-radius:16px;background:#f8fbfe;border:1px solid #e4ebf2}.v29-cart-main{display:grid;gap:3px;min-width:0}.v29-cart-main small{color:#758398}.v29-cart-controls{display:flex;align-items:center;gap:5px;margin-top:6px}.v29-cart-controls button{width:31px;height:31px;padding:0;border-radius:9px;background:#eaf2fb;color:#0d67b6}.v29-cart-controls span{min-width:38px;text-align:center;font-weight:750}.v29-cart-values{text-align:right;display:grid;gap:2px}.v29-cart-values b{font-size:17px}.v29-cart-values small{color:#718096}.v29-cart-remove{background:transparent;color:#c43f3f;padding:3px;font-size:12px}.v29-cart-empty{text-align:center;padding:18px;color:#8190a2}.v29-cart-total{margin-top:14px;padding-top:15px;border-top:1px solid #e3eaf1;display:flex;align-items:end;justify-content:space-between}.v29-cart-total span{display:block;font-size:18px;font-weight:800}.v29-cart-total small{display:block;color:#748297;margin-top:3px}.v29-cart-total>b{font-size:30px;color:#075fae}.v29-confirm-sale{width:100%;background:linear-gradient(135deg,#079d4e,#06b15a);color:#fff;padding:17px 22px;border-radius:17px;font-size:18px;box-shadow:0 12px 26px #08904b2d}.v29-confirm-sale span{float:right;font-size:22px}.v29-presale input{margin-top:12px}
@media(max-width:760px){.content{padding:10px 10px 92px}.topbar{display:none}.sale-v29-shell{gap:10px;padding:0 0 24px;background:linear-gradient(180deg,#d4deea 0%,#c8d4e2 100%);border-radius:24px}.sale-v29-hero{margin:-1px -1px 0;border-radius:0 0 24px 24px;padding:19px 16px;display:block}.sale-v29-hero h2{font-size:27px}.v29-mode{margin-top:15px;display:grid;grid-template-columns:1fr 1fr}.v29-mode button{padding:13px 9px}.v29-panel{border-radius:18px;padding:14px}.v29-panel-title b{font-size:16px}.v29-link-btn{font-size:13px;padding:6px}.v29-searchbox{min-height:52px}.v29-client-result{padding:10px}.v29-selected-client{display:grid;grid-template-columns:42px 1fr auto}.v29-phone{grid-column:2/3;font-size:13px}.v29-remove-client{grid-column:3;grid-row:1/3}.v29-product-result{padding:9px 8px;gap:8px}.v29-product-thumb{width:48px;height:48px}.v29-product-result-main b{font-size:14px}.v29-product-result-main small{font-size:11px}.v29-product-price{font-size:16px}.v29-product-add{width:38px;height:38px}.v29-composer-actions{display:grid;grid-template-columns:1fr}.v29-qty{justify-self:start}.v29-cart-row{grid-template-columns:44px 1fr auto;padding:9px;gap:8px}.v29-cart-thumb{width:44px;height:44px}.v29-cart-main b{font-size:14px}.v29-cart-main small{font-size:11px}.v29-cart-values b{font-size:15px}.v29-cart-values small{font-size:10px}.v29-cart-total>b{font-size:27px}.payment-entry{grid-template-columns:1fr 1fr}.v29-confirm-sale{position:sticky;bottom:72px;z-index:8}.payments-box{margin:0}.sale-v29-shell textarea{min-height:72px}}

/* v39 - configuração do tipo de venda */
.mobile-head>div:last-child,.mobile-head .mobile-user-area{display:flex;align-items:center;gap:8px}
.v39-settings-btn{width:34px;height:34px;padding:0;border-radius:10px;display:inline-grid;place-items:center;background:transparent;color:inherit;border:1px solid rgba(255,255,255,.22);font-size:19px;line-height:1;transition:.18s ease}
.v39-settings-btn:hover{background:rgba(255,255,255,.12);transform:rotate(18deg)}
.v39-settings-desktop{color:#17314d;border-color:#d5e0eb;background:#fff;justify-self:end;margin-top:5px}
.v39-sale-mode-status{display:inline-flex;align-items:center;gap:8px;margin-top:13px;padding:10px 14px;border-radius:13px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:14px}
.v39-sale-mode-status.is-pre{background:rgba(11,39,67,.24)}
.v39-settings-modal{padding:2px 2px 6px}.v39-settings-modal>p{margin:6px 0 18px;line-height:1.45}
.v39-sale-type-options{display:grid;gap:12px}.v39-sale-type{width:100%;display:grid;grid-template-columns:46px 1fr 26px;align-items:center;gap:12px;text-align:left;padding:15px;border:1px solid #d6e1ed;background:#f8fbff;border-radius:15px}
.v39-sale-type:hover{border-color:#8fbbe5;background:#f2f8ff}.v39-sale-type.selected{border:2px solid #1767b4;background:#edf6ff;padding:14px}
.v39-sale-type-icon{width:42px;height:42px;border-radius:12px;background:#e4f0fb;display:grid;place-items:center;font-size:20px}.v39-sale-type b{display:block;font-size:16px;color:#10213a}.v39-sale-type small{display:block;margin-top:4px;color:#697386;font-weight:500;line-height:1.35}.v39-check{opacity:0;color:#1767b4;font-size:20px}.v39-sale-type.selected .v39-check{opacity:1}
@media(max-width:820px){.mobile-head{align-items:center}.mobile-head #mobileUser{display:inline-block}.v39-settings-btn{flex:0 0 auto}.sale-v29-hero{padding-bottom:17px}.v39-sale-mode-status{margin-top:10px}}

/* v39 - tipo de venda configurado pela engrenagem */
.v39-settings-btn{width:34px;height:34px;padding:0;border-radius:9px;display:inline-grid;place-items:center;background:transparent;color:inherit;border:1px solid rgba(255,255,255,.28);font-size:19px;line-height:1;margin-left:7px;vertical-align:middle}.v39-settings-btn:hover{background:rgba(255,255,255,.12)}
.v39-settings-desktop{color:#17314d;border-color:#d5e0eb;background:#fff;justify-self:end}
.v39-sale-mode-status{display:inline-flex;align-items:center;gap:8px;margin-top:13px;padding:9px 13px;border-radius:12px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:13px}.v39-sale-mode-status.is-pre{background:rgba(9,37,65,.24)}
.v39-settings-modal>p{margin:6px 0 18px;line-height:1.45}.v39-sale-type-options{display:grid;gap:12px}.v39-sale-type{width:100%;display:grid;grid-template-columns:46px 1fr 26px;align-items:center;gap:12px;text-align:left;padding:15px;border:1px solid #d6e1ed;background:#f8fbff;border-radius:15px}.v39-sale-type:hover{border-color:#8fbbe5;background:#f2f8ff}.v39-sale-type.selected{border:2px solid #1767b4;background:#edf6ff;padding:14px}.v39-sale-type-icon{width:42px;height:42px;border-radius:12px;background:#e4f0fb;display:grid;place-items:center;font-size:20px}.v39-sale-type b{display:block;font-size:16px;color:#10213a}.v39-sale-type small{display:block;margin-top:4px;color:#697386;font-weight:500;line-height:1.35}.v39-check{opacity:0;color:#1767b4;font-size:20px}.v39-sale-type.selected .v39-check{opacity:1}
@media(max-width:820px){.mobile-head{align-items:center}.mobile-head #mobileUser{display:inline-block}.v39-settings-btn{flex:0 0 auto}.sale-v29-hero{padding-bottom:17px}.v39-sale-mode-status{margin-top:10px}}

/* v40 - cabecalho limpo da tela de vendas */
.v40-sale-title h2{margin:0;font-size:28px;font-weight:500;letter-spacing:-.02em}.sale-v29-hero{min-height:92px;align-items:flex-start}.sale-v29-hero .v39-sale-mode-status{display:none!important}@media(max-width:760px){.sale-v29-hero{min-height:92px;padding:17px 16px 23px}.v40-sale-title h2{font-size:25px}.mobile-head{padding:13px 18px}.mobile-head #mobileUser{margin-left:auto;margin-right:8px}}

/* ===== v41 RECEBER CONTAS ===== */
.recv-v41-shell{max-width:1080px;margin:0 auto;display:grid;gap:14px;padding-bottom:30px}.recv-v41-hero{background:linear-gradient(135deg,#0e4f91,#1671c7);color:#fff;border-radius:22px;padding:22px 24px;box-shadow:0 12px 32px #123a6422}.recv-v41-hero small{font-weight:800;letter-spacing:1.4px;font-size:11px;color:#cfe7ff}.recv-v41-hero h2{margin:4px 0 2px;font-size:28px}.recv-v41-hero p{margin:0;color:#e7f3ff}.recv-v41-panel{background:#fff;border:1px solid #d7e2ee;border-radius:20px;padding:18px;box-shadow:0 8px 25px #143b5e0d}.recv-v41-head,.recv-v41-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.recv-v41-head>div{display:flex;align-items:center;gap:9px;font-size:17px}.recv-v41-link{border:0;background:none;color:#0867bd;font-weight:800}.recv-v41-search{height:52px;border:1px solid #c8d7e8;border-radius:15px;display:flex;align-items:center;padding:0 13px;gap:8px;background:#fbfdff}.recv-v41-search input{border:0!important;outline:0;box-shadow:none!important;background:transparent!important;flex:1;margin:0!important;font-size:16px}.recv-v41-search button{border:0;background:none;font-size:24px;color:#708399}.recv-v41-client-results{border:1px solid #d9e5f0;border-radius:15px;margin-top:8px;overflow:hidden;box-shadow:0 14px 30px #153b6418}.recv-v41-client-row{width:100%;border:0;border-bottom:1px solid #edf2f7;background:#fff;padding:12px 14px;display:flex;align-items:center;gap:11px;text-align:left}.recv-v41-client-row:last-child{border-bottom:0}.recv-v41-client-row span:nth-child(2){display:grid;gap:2px;flex:1}.recv-v41-client-row small,.recv-v41-selected small,.recv-v41-toolbar small{display:block;color:#697b90}.recv-v41-client-row i{font-size:24px;color:#6d8096}.recv-v41-avatar{width:42px;height:42px;border-radius:50%;display:grid!important;place-items:center;background:#e3f0ff;color:#0d69bd;font-weight:900;flex:0 0 auto}.recv-v41-selected{margin-top:10px;border:1px solid #bdd8f2;background:#f2f8ff;border-radius:15px;padding:12px;display:flex;align-items:center;gap:11px}.recv-v41-selected div{display:grid;gap:3px}.recv-v41-toolbar button{border:0;border-radius:12px;padding:11px 16px;font-weight:800;background:#e9f1fa;color:#15324f}.recv-v41-empty{text-align:center;padding:34px 10px;color:#6d7f91}.recv-v41-table-scroll{overflow-x:auto;border:1px solid #dce6ef;border-radius:14px}.recv-v41-table{width:100%;border-collapse:collapse;min-width:790px}.recv-v41-table th{background:#f2f6fa;text-align:left;font-size:12px;color:#516378;padding:12px}.recv-v41-table td{padding:12px;border-top:1px solid #e8eef4;font-size:14px}.recv-v41-table td:nth-child(4),.recv-v41-table td:nth-child(5){font-weight:700}.recv-v41-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900}.recv-v41-status.open{background:#fff1dc;color:#9b5c00}.recv-v41-status.partial{background:#e9f1ff;color:#18599b}.recv-v41-status.paid{background:#e4f7eb;color:#17733d}.recv-v41-pay{padding:8px 13px!important}.recv-v41-cards{display:none}.recv-v41-card{border:1px solid #dce6ef;border-radius:16px;padding:14px;background:#fff}.recv-v41-card-top{display:flex;justify-content:space-between;align-items:start}.recv-v41-card-top>div{display:grid;gap:3px}.recv-v41-card-top small{color:#708196}.recv-v41-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.recv-v41-card-grid span{background:#f5f8fb;border-radius:11px;padding:9px;display:grid;gap:2px}.recv-v41-card-grid small{color:#77879a;font-size:11px}.recv-v41-payment-modal{display:grid;gap:10px}.recv-v41-pay-client{display:grid;gap:3px}.recv-v41-pay-client small{color:#6e8093}.recv-v41-pay-total{background:#eaf4ff;border:1px solid #c4def7;border-radius:14px;padding:13px 15px;display:flex;justify-content:space-between;align-items:center}.recv-v41-pay-total b{font-size:20px;color:#0966b7}.recv-v41-no-result{text-align:center;padding:18px;color:#77879a}
@media(max-width:760px){.recv-v41-shell{gap:10px}.recv-v41-hero{border-radius:0 0 22px 22px;padding:18px 16px}.recv-v41-hero h2{font-size:24px}.recv-v41-panel{border-radius:18px;padding:14px}.recv-v41-table-scroll{display:none}.recv-v41-cards{display:grid;gap:10px}.recv-v41-toolbar{align-items:flex-start}.recv-v41-toolbar button{white-space:nowrap;padding:9px 11px}.recv-v41-selected{align-items:flex-start}}

/* v42 - seleção em lote de contas a receber */
.recv-v42-select-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:10px;border:1px solid #d8e4ef;border-radius:12px;background:#f7fafc}.recv-v42-select-tools label{display:flex;align-items:center;gap:8px;font-weight:800}.recv-v42-select-tools input,.recv-v42-check{width:20px;height:20px;accent-color:#126bc0}.recv-v42-select-tools span{font-size:13px;color:#66798c}.recv-v42-table .sel-col{width:46px;text-align:center}.recv-v42-table tr.selected td{background:#eef7ff}.recv-v42-card-select{display:flex;align-items:center;gap:8px;font-weight:800;margin-bottom:8px}.recv-v41-card.selected{border-color:#1680d8;box-shadow:0 0 0 2px #1680d81c}.recv-v42-selection-bar{position:sticky;bottom:14px;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:16px;background:#102f4d;color:#fff;border-radius:18px;padding:14px 16px;box-shadow:0 14px 40px #0b274744;margin:0 4px}.recv-v42-selection-bar>div{display:grid;gap:1px}.recv-v42-selection-bar small{color:#c8ddf2}.recv-v42-selection-bar b{font-size:22px}.recv-v42-selection-bar span{font-size:12px;color:#c8ddf2}.recv-v42-selection-bar button{white-space:nowrap;padding:13px 18px}.recv-v42-selection-bar.hidden{display:none!important}
@media(max-width:760px){.recv-v42-selection-bar{position:fixed;left:10px;right:10px;bottom:74px;margin:0;padding:12px;z-index:60}.recv-v42-selection-bar b{font-size:20px}.recv-v42-selection-bar button{font-size:12px;padding:12px}.recv-v41-shell{padding-bottom:100px}}


/* v43 - pagamento parcial e misto em contas a receber */
.recv-v43-modal{gap:13px}.recv-v43-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.recv-v43-summary-grid>div{background:#edf6ff;border:1px solid #c8dff4;border-radius:13px;padding:11px;display:grid;gap:3px}.recv-v43-summary-grid small{color:#667b90;font-size:11px}.recv-v43-summary-grid b{font-size:16px;color:#0b65b4}.recv-v43-pay-entry{display:grid;grid-template-columns:1.4fr .75fr auto;gap:8px;align-items:end}.recv-v43-pay-entry>div{display:grid;gap:6px}.recv-v43-pay-entry button{height:46px;border:0;border-radius:12px;padding:0 14px;background:#e5eff9;color:#123a5e;font-weight:900}.recv-v43-payment-list{display:grid;gap:7px}.recv-v43-payment-empty{padding:12px;text-align:center;border:1px dashed #cbd8e5;border-radius:12px;color:#73859a}.recv-v43-payment-chip{display:flex;align-items:center;justify-content:space-between;border:1px solid #d7e3ef;border-radius:12px;padding:10px 11px;background:#f8fbfe}.recv-v43-payment-chip span{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:1}.recv-v43-payment-chip small{font-size:14px;color:#0c67b9;font-weight:900}.recv-v43-payment-chip button{border:0;background:#ffe8e8;color:#b92828;width:30px;height:30px;border-radius:9px;font-size:20px;margin-left:10px}.recv-v43-partial-notice{padding:10px 12px;border-radius:11px;background:#fff6df;border:1px solid #f0d597;color:#815b00;font-size:13px;line-height:1.35}.recv-v43-partial-notice.ok{background:#e9f8ef;border-color:#b9e3c8;color:#17683a}.recv-v43-partial-notice.error{background:#ffe9e9;border-color:#efbaba;color:#9b2424}.recv-v43-partial-notice.hidden{display:none}.recv-v43-help{color:#687b8e;line-height:1.35;margin-top:-3px}
@media(max-width:760px){.recv-v43-summary-grid{grid-template-columns:1fr 1fr}.recv-v43-summary-grid>div:first-child{grid-column:1/-1}.recv-v43-pay-entry{grid-template-columns:1fr 1fr}.recv-v43-pay-entry button{grid-column:1/-1}.recv-v43-payment-chip span{align-items:flex-start;flex-direction:column;gap:2px}}
