:root{--cream:#faf6ee;--ivory:#fffdfa;--paper:#fff;--ink:#30291e;--muted:#82766a;--gold:#a98240;--gold-dark:#7d602e;--gold-soft:#f5e9d0;--border:#eae3d7;--green:#3d775a;--red:#a95454;--shadow:0 9px 32px rgba(64,42,21,.055);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:var(--cream);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--gold-dark)}.shell{min-height:100vh;display:flex}.sidebar{width:245px;flex:0 0 245px;background:#fffdf7;border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh;overflow-y:auto;z-index:30}.identity{height:87px;display:flex;align-items:center;gap:12px;padding:17px 21px;border-bottom:1px solid var(--border)}.brand-mark{font-family:Georgia,serif;font-size:28px;font-style:italic;letter-spacing:-4px;width:44px;height:44px;border-radius:14px;border:1px solid #e3d4b5;background:#f6ecda;color:var(--gold-dark);display:grid;place-items:center;padding-right:4px}.identity strong{font:18px Georgia,serif;letter-spacing:.17em;color:#825e24}.identity small{display:block;font-size:9px;letter-spacing:.21em;margin-top:4px;color:#a98b61}.nav-group-caption{font-size:10px;font-weight:800;letter-spacing:.12em;color:#aa9c88;margin:27px 20px 10px}.nav{display:grid;gap:3px;padding:0 10px}.nav button,.settings-nav{border:0;background:transparent;text-align:left;border-radius:10px;display:flex;align-items:center;gap:12px;padding:11px 13px;color:#6b6257;font-weight:600;font-size:13px}.nav button:hover,.settings-nav:hover{background:#f8f2e8}.nav button.active{background:#f3e7d0;color:#77541c}.nav button span,.settings-nav span{font-size:17px;color:#a78c63;width:20px;text-align:center}.side-bottom{padding:18px 10px 6px;margin-top:auto}.settings-nav{width:100%}.sidebar-signature{margin:8px 15px 6px;opacity:.85}.sidebar-signature img{width:100%;mix-blend-mode:multiply}.workspace{flex:1;min-width:0}.topbar{height:75px;border-bottom:1px solid var(--border);background:#fffcf7;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,2.5vw,40px);gap:12px;position:sticky;top:0;z-index:20}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:13px;color:#a08b71}.breadcrumbs i{font-style:normal;font-size:20px}.breadcrumbs strong{color:var(--ink);font-weight:700}.topbar-tools{display:flex;align-items:center;gap:12px}.status-chip{font-size:11px;font-weight:700;color:#9c763f;border:1px solid #e7d8bb;background:#f8f0df;padding:8px 12px;border-radius:30px;white-space:nowrap}.status-chip.online{background:#e8f4eb;color:#31724a;border-color:#cde2d0}.primary-btn{border:1px solid #956e2f;border-radius:10px;background:var(--gold-dark);color:#fff;padding:11px 16px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-btn:hover{background:#664a21}.primary-btn.compact{padding:10px 14px}.secondary-btn{border:1px solid #e4d8c6;border-radius:10px;background:#fffdfa;color:#775726;padding:10px 15px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:8px}.secondary-btn:hover{background:#f5efdf}.ghost-btn{border:0;background:transparent;color:var(--gold-dark);padding:8px;font-weight:700}.danger-btn{border:1px solid #edd1d1;background:#fff5f5;color:#a03f3f;padding:9px 14px;border-radius:9px}.content{max-width:1610px;margin:auto;padding:32px clamp(16px,2.7vw,42px) 55px}.page-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:23px}.eyebrow{font-size:10px;letter-spacing:.16em;color:#ab8550;font-weight:800;text-transform:uppercase;margin-bottom:8px}.page-heading h1{margin:0;font:normal 32px/1.2 Georgia,'Times New Roman',serif;color:#473923}.page-heading p{margin:8px 0 0;color:var(--muted);line-height:1.6}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-card,.panel,.toolbar,.notice,.empty-card{background:var(--paper);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow)}.stat-card{padding:21px 20px;position:relative;overflow:hidden}.stat-card:before{content:'';position:absolute;height:3px;width:55px;left:20px;top:0;background:#c5a873;border-radius:4px}.stat-label{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);font-weight:600}.stat-label b{font-size:19px;font-weight:400;color:#b6a17c}.stat-value{font:normal 29px Georgia,serif;margin:13px 0 6px;color:#493b2b}.stat-foot{font-size:11px;color:#9a8d7d}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:18px}.panel{padding:22px}.panel-header{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:17px}.panel-title{font:normal 21px Georgia,serif;color:#483922;margin:0}.panel-sub{font-size:12px;color:var(--muted);margin-top:5px}.notice{padding:15px 18px;display:flex;align-items:center;gap:15px;margin-bottom:20px;background:linear-gradient(95deg,#fffdf7,#fbf1dd)}.notice .notice-icon{font-size:23px}.notice strong{display:block;color:#775829}.notice p{margin:3px 0;font-size:12px;color:#796d5e}.notice button{margin-left:auto}.toolbar{padding:14px;display:flex;gap:10px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.search-input,.field input,.field select,.field textarea,.toolbar select{width:100%;border:1px solid #e5ddcf;border-radius:9px;background:#fffdfa;padding:10px 12px;outline:none;color:#3b3329}.search-input:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:#ad8949;box-shadow:0 0 0 3px #eadfca}.search-input{flex:1;min-width:160px}.toolbar select{width:auto;min-width:160px}.table-scroll{overflow-x:auto}.table{border-collapse:collapse;min-width:720px;width:100%;font-size:12px}.table th{text-transform:uppercase;letter-spacing:.07em;color:#9d8c76;font-size:10px;font-weight:800;text-align:left;padding:12px 10px;border-bottom:1px solid var(--border);white-space:nowrap}.table td{padding:13px 10px;border-bottom:1px solid #f1ece4;vertical-align:middle}.table tr:last-child td{border-bottom:none}.table tbody tr:hover{background:#fffcf6}.table td strong{font-weight:700}.muted{color:var(--muted)}.tiny{font-size:11px}.pill{display:inline-block;padding:5px 9px;background:#f4f0e7;color:#776448;border-radius:30px;font-size:10px;font-weight:800;white-space:nowrap}.pill.good{background:#e8f4eb;color:#387352}.pill.warn{background:#fff0d7;color:#997025}.pill.bad{background:#fae7e7;color:#ad4e4e}.row-actions{display:flex;gap:6px}.tiny-btn{border:1px solid #e9dfd0;border-radius:8px;background:#fffdf9;color:#806438;padding:6px 10px;font-size:11px;font-weight:700;white-space:nowrap}.tiny-btn:hover{background:#f9efd9}.empty-card{padding:48px 25px;text-align:center;color:var(--muted)}.empty-card h3{color:#655136;font:21px Georgia,serif;margin:10px 0}.empty-card p{max-width:480px;margin:0 auto 17px;line-height:1.6}.empty-icon{font:42px Georgia,serif;color:#ceb48b}.stack{display:grid;gap:10px}.list-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #f2ebe1}.list-row:last-child{border:0}.list-row h4{margin:0 0 5px;font-size:12px}.list-row p{font-size:11px;color:var(--muted);margin:0}.right{text-align:right}.chart-bars{display:grid;gap:15px;padding:6px 0}.bar-item{display:grid;grid-template-columns:76px 1fr 100px;gap:12px;align-items:center;font-size:11px;color:var(--muted)}.bar-track{height:10px;border-radius:50px;background:#f5f0e6;overflow:hidden}.bar-fill{height:100%;background:linear-gradient(90deg,#d8c092,#8c6b35);border-radius:50px}.bar-value{text-align:right;font-weight:800;color:#5f4a2b}.kanban{display:flex;gap:13px;align-items:stretch;overflow-x:auto;padding:2px 0 20px;min-height:440px}.kanban-col{flex:0 0 244px;background:#f6efe4;border:1px solid #eae0cf;border-radius:14px;padding:12px}.kanban-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#756042;font-weight:800;padding:6px 5px 15px}.kanban-head span{background:#fffdf9;padding:4px 8px;border-radius:30px}.kanban-col:nth-child(2){background:#eef2ec}.kanban-col:nth-child(3){background:#f6f0df}.kanban-col:nth-child(4){background:#edf2e9}.kanban-col:nth-child(5){background:#ecf2ee}.kanban-col:nth-child(6){background:#eaf1f4}.kanban-col:nth-child(7){background:#edf3ec}.kanban-card{border:1px solid #eee3d4;background:#fffdfa;border-radius:11px;padding:14px;margin-bottom:9px;box-shadow:0 3px 9px rgba(53,38,18,.035);cursor:grab}.kanban-card strong{display:block;font-size:12px;margin-bottom:6px}.kanban-card p{margin:0 0 11px;color:var(--muted);font-size:11px;line-height:1.5}.kanban-card small{display:flex;justify-content:space-between;color:#9e854f}.kanban-card:hover{border-color:#c6ac77}.kanban-col.drag-over{outline:2px dashed #b68d4e;outline-offset:-4px}.chip-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.summary-strip{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--border);border-radius:12px;background:#fffefa;padding:10px;margin:15px 0}.summary-strip div{padding:10px;text-align:center;border-right:1px solid var(--border)}.summary-strip div:last-child{border:0}.summary-strip strong{display:block;font:22px Georgia,serif}.summary-strip span{display:block;color:var(--muted);font-size:10px;margin-top:5px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:grid;gap:6px}.field.wide{grid-column:1/-1}.field label{font-size:11px;font-weight:800;color:#72624f}.field .hint{font-size:10px;color:#9f9280}.field textarea{min-height:74px;resize:vertical}.form-section-title{grid-column:1/-1;font-size:12px;letter-spacing:.11em;font-weight:800;text-transform:uppercase;color:#ae8c57;margin:12px 0 2px;padding-top:10px;border-top:1px solid var(--border)}.modal-overlay{position:fixed;inset:0;background:rgba(38,29,20,.45);z-index:100;display:flex;align-items:center;justify-content:center;padding:16px}.modal{background:white;border-radius:17px;box-shadow:0 30px 80px rgba(24,17,11,.23);width:min(730px,100%);max-height:min(90vh,900px);overflow-y:auto}.modal-head{padding:23px 26px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:#fff;z-index:1}.modal-head h2{font:24px Georgia,serif;margin:0}.modal-body{padding:23px 26px}.modal-foot{padding:18px 26px;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--border);position:sticky;bottom:0;background:#fff}.icon-btn{border:1px solid var(--border);background:#fff;color:#796447;border-radius:9px;padding:9px 11px}.mobile-only{display:none}.item-table{width:100%;border-collapse:collapse;font-size:12px}.item-table td,.item-table th{padding:9px 5px;text-align:left;border-bottom:1px solid var(--border)}.item-table th{color:#8f806c;font-size:10px}.item-row{display:grid;grid-template-columns:1.5fr 70px 100px auto;gap:8px;align-items:center}.item-row input,.item-row select{min-width:0;width:100%;border:1px solid var(--border);padding:9px;border-radius:8px}.selected-items{display:grid;gap:8px;margin:10px 0}.selected-item{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px;border:1px solid var(--border);border-radius:9px}.selected-item strong{font-size:12px}.selected-item span{font-size:11px;color:var(--muted)}.price-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.price-result{background:#faf4e9;border:1px solid #e7d8bf;padding:20px;border-radius:13px}.price-result p{font-size:11px;color:#8c7653}.price-result strong{font:30px Georgia,serif;display:block;margin:9px 0;color:#73511f}.price-result .subresult{font-size:13px;margin-top:12px}.shipping-box{background:#fbf5e8;border:1px solid #eedfbe;border-radius:11px;padding:17px;margin:15px 0}.shipping-box h3{font:20px Georgia,serif;margin:0 0 10px}.shipping-box p{line-height:1.6;color:#7c6b54;font-size:12px}.toast{position:fixed;bottom:22px;right:23px;background:#433523;color:white;padding:13px 19px;box-shadow:var(--shadow);border-radius:10px;z-index:250;max-width:370px}.auth-bg{position:fixed;inset:0;z-index:140;background:#f7f0e4;display:grid;place-items:center;padding:20px}.auth-card{width:min(440px,100%);padding:31px;background:white;border:1px solid #e6d7bd;border-radius:20px;box-shadow:0 15px 80px #806a4630;text-align:center}.auth-card img{width:245px;max-width:95%;mix-blend-mode:multiply}.auth-card h2{font:24px Georgia,serif;margin:9px 0}.auth-card p{font-size:12px;color:#7e7468;line-height:1.6}.auth-card .field{text-align:left;margin:12px 0}.auth-card .primary-btn{width:100%;margin-top:8px}.auth-card .secondary-btn{width:100%;justify-content:center;margin-top:8px}.setup-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.setup-panel{padding:19px;border:1px solid var(--border);border-radius:12px}.setup-panel h3{font:20px Georgia,serif;margin:0 0 9px}.setup-panel p{color:var(--muted);font-size:12px;line-height:1.6}.callout{border-left:3px solid #bb9b61;background:#faf4e8;padding:14px;margin:14px 0;border-radius:0 8px 8px 0;color:#79664c;font-size:12px;line-height:1.6}.toast.error{background:#8f443d}.mini-link{background:none;border:0;color:#8c692e;text-decoration:underline;cursor:pointer;font-size:11px;padding:0}.inline-note{font-size:11px;color:#8a7c69}.report-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.report-card{padding:19px;border:1px solid var(--border);border-radius:12px;background:#fffdf8}.report-card span{font-size:11px;color:#8d7f6b}.report-card strong{font:24px Georgia,serif;display:block;margin-top:7px}.mobile-shadow{display:none}@media(max-width:1180px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.sidebar{width:220px;flex-basis:220px}.content{padding:24px}}@media(max-width:780px){.sidebar{position:fixed;left:0;transform:translateX(-105%);transition:transform .2s;box-shadow:0 8px 35px #0002}.sidebar.open{transform:translateX(0)}.mobile-shadow.on{display:block;position:fixed;inset:0;background:#241d1590;z-index:25}.mobile-only{display:block}.topbar{padding:0 12px;height:68px}.status-chip{display:none}.breadcrumbs span,.breadcrumbs i{display:none}.topbar-tools{gap:5px}.content{padding:24px 15px 40px}.page-heading{display:block}.page-heading h1{font-size:28px}.heading-actions{margin-top:15px}.price-layout,.setup-grid,.field-grid{grid-template-columns:1fr}.stats-grid{gap:10px}.stat-card{padding:16px}.stat-value{font-size:23px}.stat-foot{font-size:10px}.panel{padding:17px}.notice{align-items:flex-start;flex-wrap:wrap}.notice button{margin-left:0}.report-cards{grid-template-columns:repeat(2,1fr)}.modal-head,.modal-body,.modal-foot{padding:16px}.modal{max-height:95vh}.item-row{grid-template-columns:1fr 50px 73px auto}.bar-item{grid-template-columns:51px 1fr 68px;gap:7px}}

/* Ajustes Verdalle Gestão 1.2 — catálogo Wix e funil compacto */
.kanban-head{display:block;min-height:74px;padding:5px 5px 12px}
.kanban-head>div{display:flex;justify-content:space-between;align-items:center;gap:8px}
.kanban-stage-total{display:block!important;margin-top:9px;font-weight:700;color:#8a672e;font-size:12px}
.kanban-revenue{font-size:11px;border-top:1px solid #e9ddcd;padding-top:8px;color:#856e51}
.kanban-revenue strong{display:inline;font-size:12px;color:#5d4426}
.kanban-col{flex-basis:248px}
.stats-grid{grid-template-columns:repeat(auto-fit,minmax(195px,1fr))}
@media(max-width:780px){.kanban-col{flex-basis:235px}.summary-strip strong{font-size:18px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Verdalle Gestão 1.3 — módulos de operação, com a mesma identidade visual */
.module-home {margin-top:24px;padding:20px;border:1px solid #ebdfca;border-radius:20px;background:linear-gradient(145deg,#fffdfa,#fff8ed)}
.section-heading h2 {font-family:Georgia,'Times New Roman',serif;font-size:23px;margin:0 0 5px;color:#533816}
.section-heading p {color:#8d7860;margin:0 0 14px;font-size:13px}
.ops-links {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ops-links button {text-align:left;background:white;border:1px solid #eadcc6;box-shadow:0 2px 10px #94691c12;border-radius:14px;padding:15px;color:#8b6126;font-size:16px;cursor:pointer}
.ops-links button strong{display:inline-block;margin:0 5px 0 9px;font-size:21px;color:#4c3219}
.ops-links button small{display:block;color:#8e7d69;margin-top:8px;font-size:11px}
.ops-links button:hover{border-color:#bc8c36;background:#fffaf0}
.mini-metric{background:#fffdfa;border:1px solid #ecdcc3;border-radius:16px;padding:17px 18px;box-shadow:0 3px 15px #7f562710;display:flex;flex-direction:column;gap:7px;min-height:110px}
.mini-metric span {font-size:12px;color:#796c5e}
.mini-metric strong {font-size:24px;font-weight:750;color:#4f371a}
.mini-metric small {font-size:11px;color:#967e62;line-height:1.4}
.v13-help {margin:18px 0}
.lot-panel {margin:18px 0}
.check-list {display:grid;gap:9px;padding:7px 0 15px}
.check-line {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#fffaf1;border-radius:11px;border:1px solid #eedfca}
.check-line label {display:flex;align-items:center;gap:10px;font-weight:600;color:#594023;cursor:pointer}
.check-line input {accent-color:#b88735;width:18px;height:18px}
.check-line small {color:#9a8161}
.text-alert {color:#aa531d!important}
.rascunho-banner{padding:10px 18px;border-radius:10px;background:#fff0cb;border:1px solid #d7a955;color:#614918;font-size:12px;margin:14px 24px 0;font-weight:650}
@media(max-width:1150px){.ops-links {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.ops-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ops-links button{padding:12px}.ops-links button strong{font-size:17px}.check-line{flex-direction:column;align-items:flex-start}.mini-metric{min-height:100px}.lot-panel{overflow:auto}}


/* ===== Identidade visual do painel aprovado | Verdalle Gestão 1.4 ===== */
:root{--cream:#fff7ee;--ivory:#fff9f1;--gold:#bd8528;--gold-dark:#99600a;--ink:#352018;--border:#eedbcc;--shadow:0 4px 14px rgba(146,88,22,.08)}
body{background:linear-gradient(135deg,#fffaf5,#fff2e3);font-family:Arial,Helvetica,sans-serif;color:#351f18;font-size:13px}
.shell{background:linear-gradient(115deg,#fff7ee 8%,#fffcf8 72%,#fff1e5)}
.sidebar{width:206px;flex:0 0 206px;min-height:100vh;background:linear-gradient(180deg,#fff9f3 0,#fff6ed 85%,#fff1e1 100%);border-right:1px solid #f0dac8;overflow-y:auto}
.vg-brand{height:174px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1px;padding:7px 10px 10px;border:0;flex:0 0 auto}
.vg-monogram{width:140px;height:79px;object-fit:contain;mix-blend-mode:multiply}.vg-signature{width:150px;height:48px;object-fit:contain;mix-blend-mode:multiply;margin-top:-7px}.vg-brand-system{font:normal 24px/1.1 Georgia,serif;color:#ae791d;margin-top:0}
.vg-navigation{padding:0 8px;display:grid;gap:2px;align-content:start}.vg-navigation button,.settings-nav{width:100%;padding:10px 11px;text-align:left;border-radius:9px;display:flex;gap:11px;align-items:center;font-size:13px;font-weight:500;white-space:nowrap;color:#3b2a22;background:transparent;border:0;box-shadow:none}.vg-navigation button.active{color:#fff;background:linear-gradient(96deg,#a76d0b,#d8a340);box-shadow:0 5px 13px #b57b2860}.vg-navigation button.active .vg-icon{color:#fff}.vg-navigation button:hover:not(.active),.settings-nav:hover{background:#ffeeda}.vg-navigation .nav-symbol,.side-bottom .nav-symbol{width:25px;height:22px;display:flex;align-items:center;justify-content:center;flex:0 0 25px;color:#c2800a}.vg-icon{width:21px;height:21px;flex:0 0 auto;display:inline-block}.vg-navigation button.active .nav-symbol{color:#fff}.vg-nav-more{padding-top:7px;margin:7px 0 0;border-top:1px solid #ebd8c4}.vg-nav-more summary{color:#976e3a;cursor:pointer;padding:10px;font-size:12px;font-weight:700;display:flex;justify-content:space-between}.vg-nav-more button{font-size:12px;padding:8px 11px}.side-bottom{margin-top:auto;padding:8px 9px 20px}.vg-sidebar-foot{font:italic 11px/1.45 Georgia,serif;text-align:center;color:#c49b65;margin:12px 5px 4px}
.vg-topbar{height:68px;background:linear-gradient(100deg,#fff6e9,#fff9f3);border-bottom:0;box-shadow:0 2px 10px #b9936e10;padding:0 17px;gap:14px;position:relative}.vg-header-title{display:grid;flex:0 0 310px;line-height:1.15}.vg-header-title strong{font-size:21px;font-weight:800;letter-spacing:-.5px}.vg-header-title span{font-size:12px;color:#4b3325}.vg-top-search{margin:0 auto;flex:1;max-width:460px;min-width:140px;border:1px solid #ecd9ca;border-radius:16px;display:flex;align-items:center;height:38px;background:#fffaf7;padding:0 12px;gap:12px;box-shadow:0 2px 7px #966d4210}.vg-top-search span{font-size:28px;color:#c3841e;line-height:1}.vg-top-search input{width:100%;background:none;border:0;outline:none;font-size:12px;color:#462f21}.vg-top-search input::placeholder{color:#6d655f}.vg-header-actions{display:flex;gap:14px;align-items:center}.vg-header-bell{font-size:21px;color:#bd811a}.vg-help-btn{border:2px solid #bb8117;border-radius:50%;width:27px;height:27px;background:none;color:#a36c09;font-weight:700;cursor:pointer}.vg-account{border:1px solid #f0dcc9;background:#fff9f1;color:#6f431a;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:0 3px 6px #b78a4a15}.vg-account span{padding-left:7px}.vg-topbar .status-chip{display:none}.vg-topbar #top-new{display:none}
.content{max-width:none;padding:0 16px 22px;margin:0}.rascunho-banner{border-radius:0;margin:0;padding:6px 16px;font-size:10px;border:0;border-bottom:1px solid #f2dfb9;background:#fff1d0;color:#7d560f;font-weight:700}
.vg-home{padding:4px 0 0}.vg-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:11px}.vg-stat{min-height:88px;background:linear-gradient(130deg,#fffaf5,#fff7f0);border:1px solid #f0decb;border-radius:12px;box-shadow:0 4px 9px #bb8e5930;padding:13px 10px;display:flex;gap:9px;min-width:0;overflow:hidden}.vg-stat-symbol{color:#cd840e;flex:0 0 29px}.vg-stat-symbol .vg-icon{width:27px;height:27px;stroke-width:1.7}.vg-stat-body{min-width:0;display:grid;gap:3px;align-content:start}.vg-stat-body>span{font-size:11px;line-height:1.2;font-weight:700;color:#4e2d20}.vg-stat-body>strong{font-size:18px;font-weight:800;white-space:nowrap;letter-spacing:-.5px}.vg-stat-body>small{font-size:10px;line-height:1.3;color:#7f6d59}.vg-stat-body .vg-positive{color:#1d9845}.vg-stat-body .vg-warning{color:#ab6816}
.vg-snapshot-row{display:grid;grid-template-columns:1.28fr 1fr 1fr;gap:10px;margin-bottom:15px}.vg-box{background:linear-gradient(125deg,#fffdfb,#fff8f1);border:1px solid #f0e0ce;border-radius:15px;box-shadow:0 4px 12px #996a4815;padding:12px 15px;min-height:143px}.vg-box-title{font-size:14px;font-weight:800;color:#402923;margin-bottom:12px}.vg-chart-frame{height:94px;display:flex;gap:7px}.vg-axis{width:57px;font-size:9px;color:#5c544c;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:1px;text-align:right}.vg-chart-bars{display:flex;align-items:flex-end;justify-content:space-between;gap:3px;flex:1;border-left:1px solid #e7d7c9;border-bottom:1px solid #e7d7c9;background:linear-gradient(to top,transparent 49%,#f2e9de 50%,transparent 51%)}.vg-chart-bar{flex:1;min-width:3px;height:100%;display:flex;align-items:flex-end}.vg-chart-bar span{width:100%;border-radius:2px 2px 0 0;background:linear-gradient(to top,#ebaf5b,#f9dcb3);min-height:3px}.vg-chart-dates{display:flex;justify-content:space-between;color:#94775d;font-size:10px;margin:5px 0 0 63px}.vg-progress-box{display:flex;align-items:center;justify-content:space-evenly;gap:10px}.vg-donut{width:127px;height:127px;border-radius:50%;flex:0 0 127px;display:flex;align-items:center;justify-content:center}.vg-donut>div{background:#fffaf7;width:84px;height:84px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.vg-donut small{font-weight:600;font-size:12px}.vg-donut strong{font-size:26px;font-weight:800}.vg-legend{min-width:105px;flex:1;display:grid;gap:8px}.vg-legend>div{display:flex;align-items:center;gap:6px;font-size:11px}.vg-legend i{display:inline-block;border-radius:50%;width:10px;height:10px;flex:0 0 10px}.vg-legend span{flex:1}.vg-legend b{font-weight:700}.vg-summary-box{padding:13px 16px}.vg-summary-box>div:not(.vg-box-title){display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #ecdfd4;padding:7px 0;font-size:11px}.vg-summary-box>div:last-child{border:0}.vg-summary-box>div strong{max-width:56%;text-align:right;font-size:11px}
.vg-funnel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px}.vg-funnel-name{display:flex;gap:9px;align-items:center}.vg-funnel-name>.vg-icon{width:30px;height:30px;color:#c78510}.vg-funnel-name h2{margin:0;font-size:19px;letter-spacing:-.5px}.vg-funnel-name p{margin:2px 0;font-size:11px;color:#806d5e}.vg-funnel-actions{display:flex;align-items:center;gap:8px}.vg-funnel-actions input{width:240px;height:35px;border:1px solid #e8d8c6;border-radius:14px;background:#fffaf7;padding:0 12px;box-shadow:0 2px 6px #a7784524;outline:none}.vg-filter-button{width:39px;height:35px;border-radius:13px;border:1px solid #eddcc9;background:#fff8ee;display:grid;place-items:center;color:#c7810e}.vg-filter-button .vg-icon{width:20px;height:20px}.vg-gold-btn{background:linear-gradient(115deg,#b77b0d,#efb95f);border:1px solid #d2a049;border-radius:12px;padding:9px 13px;color:#fff;font-weight:700;box-shadow:0 4px 8px #ba8d4e42;white-space:nowrap}
.vg-actual-kanban{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;overflow-x:auto;border-radius:14px;border:1px solid #f0dac4;background:#fffaf5;min-height:330px}.vg-stage{border-right:1px solid #eddcd1;background:linear-gradient(180deg,#fffaf5,#fff8f1);min-width:0}.vg-stage:last-child{border-right:0}.vg-stage-head{padding:10px 8px 9px;min-height:60px;display:grid;align-content:center;gap:4px;overflow:hidden}.vg-stage-head strong{font-size:11px;line-height:1.2;overflow-wrap:anywhere}.vg-stage-head b{font-size:11px;line-height:1.2;overflow-wrap:anywhere}.vg-stage-head span{font-weight:600}.vg-stage.apricot .vg-stage-head{background:linear-gradient(120deg,#fae4cf,#f9ecdc)}.vg-stage.rose .vg-stage-head{background:linear-gradient(120deg,#f8d8db,#ffe9e7)}.vg-stage.mint .vg-stage-head{background:linear-gradient(120deg,#cfefd8,#e7f6e6)}.vg-stage.blue .vg-stage-head{background:linear-gradient(120deg,#d4e4ff,#edf3ff)}.vg-stage.lavender .vg-stage-head{background:linear-gradient(120deg,#e0d7ff,#f2effd)}.vg-stage.sky .vg-stage-head{background:linear-gradient(120deg,#cfe4fc,#e9f4ff)}.vg-stage.sage .vg-stage-head{background:linear-gradient(120deg,#cfefc9,#eff6e3)}.vg-stage-content{padding:6px 4px 10px;min-height:295px;display:flex;flex-direction:column;gap:6px}.vg-order-card{position:relative;width:100%;border:1px solid #ead8c4;background:linear-gradient(120deg,#fffdfb,#fffaf4);border-radius:11px;box-shadow:0 3px 7px #8a6d4b28;padding:9px 9px 8px;text-align:left;color:#39271f;min-width:0}.vg-order-card:hover{border-color:#cfac70;transform:translateY(-1px)}.vg-order-card strong{display:block;font-size:11px;line-height:1.35}.vg-order-card span:not(.vg-card-dot){display:block;font-size:11px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.vg-order-card small{display:block;line-height:1.4;font-size:10px;margin-top:2px}.vg-order-card small b{white-space:nowrap}.vg-card-dot{position:absolute;right:9px;top:10px;border-radius:50%;background:#e8b46b;width:8px;height:8px}.vg-stage.rose .vg-card-dot{background:#f28f99}.vg-stage.mint .vg-card-dot,.vg-stage.sage .vg-card-dot{background:#48b65f}.vg-stage.blue .vg-card-dot,.vg-stage.sky .vg-card-dot{background:#7badf4}.vg-stage.lavender .vg-card-dot{background:#b899f4}.vg-stage-empty{font-size:11px;padding:8px 5px;color:#bca894}.vg-quick-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border:1px solid #f0dfca;background:#fff8f0;border-radius:14px;padding:10px;margin:10px 0}.vg-quick-label{font-weight:800;font-size:13px;margin-right:4px;white-space:nowrap}.vg-quick-button{border:1px solid #e4cfba;border-radius:11px;background:linear-gradient(125deg,#fffaf6,#fff1e3);padding:8px 11px;font-size:11px;box-shadow:0 3px 8px #d8b99642;display:flex;gap:7px;align-items:center;color:#3a2920}.vg-quick-button .vg-icon{color:#c27c0d;width:19px;height:19px}.vg-note{font-size:11px;color:#946c43}
@media(max-width:1450px){.vg-stat{padding:12px 8px}.vg-stat-body>strong{font-size:16px}.vg-header-title{flex-basis:295px}.vg-snapshot-row{grid-template-columns:1.15fr 1fr .95fr}}
@media(max-width:1180px){.vg-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.vg-snapshot-row{grid-template-columns:1fr 1fr}.vg-summary-box{grid-column:1/-1}.vg-header-title{flex-basis:245px}.vg-actual-kanban{grid-template-columns:repeat(7,168px)} }
@media(max-width:900px){.vg-header-title{flex-basis:auto}.vg-header-title strong{font-size:17px}.vg-header-title span{font-size:10px}.vg-top-search{max-width:310px}.vg-account{font-size:11px;padding:8px}.vg-snapshot-row{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.sidebar{position:fixed;top:0;left:0;transform:translateX(-110%);transition:transform .2s;z-index:100;width:225px}.sidebar.open{transform:translateX(0)}.vg-topbar{gap:10px;padding:0 12px}.vg-top-search{flex:1}.vg-header-title span{display:none}.vg-account{display:none}.vg-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.vg-snapshot-row{grid-template-columns:1fr}.vg-summary-box{grid-column:auto}.vg-actual-kanban{grid-template-columns:repeat(7,200px)}.vg-funnel-heading{align-items:flex-start}.vg-funnel-actions input{width:150px}.content{padding:0 11px 24px}}
@media(max-width:520px){.vg-topbar{height:auto;min-height:59px}.vg-header-title strong{font-size:15px}.vg-top-search{height:32px;min-width:60px}.vg-top-search input{font-size:10px}.vg-top-search input::placeholder{color:transparent}.vg-header-actions{gap:6px}.vg-header-bell{display:none}.vg-help-btn{width:23px;height:23px}.vg-kpis{gap:6px}.vg-stat{min-height:84px;padding:10px 7px;gap:6px}.vg-stat-symbol{flex-basis:23px}.vg-stat-symbol .vg-icon{width:22px;height:22px}.vg-stat-body>span{font-size:10px}.vg-stat-body>strong{font-size:14px}.vg-stat-body>small{font-size:9px}.vg-funnel-heading{flex-direction:column;gap:9px}.vg-funnel-name h2{font-size:19px}.vg-funnel-actions{width:100%}.vg-funnel-actions input{flex:1}.vg-donut{width:104px;height:104px;flex-basis:104px}.vg-donut>div{height:71px;width:71px}.vg-quick-label{width:100%}}

.vg-mobile-hint{display:none;font-size:11px;color:#9b7040;text-align:center;padding:3px 0 0;margin:7px 0}
@media(max-width:780px){.vg-mobile-hint{display:block}}

/* Acesso individual: link de definição e recuperação de senha. */
.vg-reset-password{display:block;margin:15px auto 0;border:0;background:transparent;color:#9a630a;font:inherit;text-decoration:underline;cursor:pointer;padding:5px;}
.vg-reset-password:hover{color:#634000;}

/* Orçamentos — alinhados à identidade aprovada, responsivos */
.vg-quote-intro{display:flex;align-items:center;gap:12px;background:#fff9f0;border:1px solid #e9d7bd;border-radius:13px;padding:15px;margin:14px 0;color:#6f5433}
.vg-quote-intro .vg-icon{width:30px;height:30px;color:#c08a21}
.vg-quote-intro div{display:grid;gap:4px}.vg-quote-intro strong{font-size:13px}.vg-quote-intro span{font-size:12px;line-height:1.6}
.vg-quote-search-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:17px 0}.vg-quote-search-row input{min-width:260px;max-width:420px}.vg-quote-actions{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
.vg-quote-line-label,.vg-quote-line{display:grid;grid-template-columns:minmax(190px,3fr) 74px 120px 40px;gap:8px;align-items:center;margin-bottom:8px}
.vg-quote-line-label{font-size:10px;font-weight:700;color:#937856;margin-bottom:7px}
.vg-quote-line input,.vg-quote-line select{width:100%;min-width:0;padding:10px 8px;border:1px solid #e7dbc9;border-radius:9px;background:#fffcf8;font-size:12px;color:#3d3126}
.vg-quote-line button{padding:9px}
.vg-quote-total{background:linear-gradient(90deg,#fff7e9,#fffdf8);border:1px solid #e4cb9d;border-radius:12px;display:flex;justify-content:space-between;gap:12px;align-items:center;margin:16px 0;padding:17px 20px;color:#835d2b;font-size:13px}
.vg-quote-total strong{font:24px Georgia,serif;color:#a1741b}
.vg-quote-detail-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.vg-quote-detail .list-row{gap:10px;align-items:center}.vg-quote-detail .list-row strong{white-space:nowrap}
@media(max-width:660px){.vg-quote-line-label{display:none}.vg-quote-line{grid-template-columns:1fr 65px 105px 32px;gap:5px}.vg-quote-line input,.vg-quote-line select{font-size:11px}.vg-quote-total{flex-direction:column;align-items:flex-start}.vg-quote-actions{flex-wrap:wrap}}

/* InfinitePay · políticas de pagamento no estilo creme e dourado Verdalle */
.vg-payment-section{background:linear-gradient(95deg,#fff6e7,#fffaf3);border:1px solid #e8d1ac;padding:16px 18px;border-radius:12px;margin-top:6px;color:#624625}
.vg-payment-section h3{font-family:Georgia,serif;font-weight:500;font-size:19px;margin:0 0 7px;color:#8f6319}
.vg-payment-section p{font-size:12px;line-height:1.65;margin:0}
.vg-payment-footnote{font-size:12px;color:#866e50;line-height:1.65;background:#faf5eb;border:1px dashed #e6d6bd;padding:12px;border-radius:10px}
.vg-pay-terms{background:#fff9ef;border:1px solid #e8cf9f;border-left:3px solid #c99430;padding:13px 15px;border-radius:9px;color:#75532b;font-size:12px;line-height:1.55}
.vg-pay-terms small{font-size:11px;color:#8b765f;line-height:1.4}
.vg-payment-preview{margin:8px 0 14px}
@media(max-width:660px){.vg-payment-section h3{font-size:18px}.vg-pay-terms{font-size:11px}}

/* InfinitePay - tabela de parcelas no estilo Verdalle. Apenas simulação, não checkout. */
.vg-pay-section-label{font-size:13px;font-weight:700;color:#805d33;border-top:1px solid #e8d7bf;padding-top:12px;margin-top:3px}
.vg-installments-wrap{border:1px solid #dfc99f;background:#fffaf2;border-radius:12px;padding:14px 15px;margin:12px 0;color:#57432d}
.vg-installments-title{font-family:Georgia,serif;color:#916517;font-size:18px;margin-bottom:9px}
.vg-installments-scroll{overflow-x:auto;max-width:100%}
.vg-installments-table{width:100%;border-collapse:collapse;font-size:12px;min-width:350px}
.vg-installments-table thead th{text-align:left;color:#83633a;font-size:11px;background:#f8eedf;padding:8px;border-bottom:1px solid #e4d2b5}
.vg-installments-table td{padding:8px;border-bottom:1px solid #ebddca;white-space:nowrap}
.vg-installments-table tbody tr:last-child td{border-bottom:0}
.vg-installments-table td:nth-child(2){font-weight:700;color:#47331e}
.vg-installments-table .vg-pay-selected td{background:#f8ead0}
.vg-pay-kind{color:#297347;font-size:10px;margin-left:5px;font-weight:500}
.vg-pay-kind.with-interest{color:#aa6040}
.vg-installments-caveat{font-size:11px;line-height:1.55;color:#795d3e;margin:10px 0 0}
.vg-internal-payment-note{font-size:11px;color:#66553e;padding:8px 10px;background:#faf3e7;border-radius:8px}
@media(max-width:680px){.vg-installments-wrap{padding:11px}.vg-installments-table{font-size:11px;min-width:310px}.vg-pay-kind{display:block;margin:0}}

/* Verdalle Gestão 1.5.6 · precificação padrão pelo cartão 3x */
.vg-price-policy{padding:15px 18px;border:1px solid #e6d3b3;border-radius:11px;background:#fbf6ed;color:#6e532a;font-size:12px;line-height:1.6}
.vg-price-policy strong{color:#754b13;font-size:13px}
.vg-price-policy p{margin:7px 0 0;color:#79684f}
.vg-price-help{font-size:11px;line-height:1.55;color:#756043;background:#faf3e8;border-radius:8px;padding:10px 12px}
.vg-pricing-audit-stats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.vg-price-audit-details>summary{font-size:12px;font-weight:800;cursor:pointer;padding:12px;color:#90662a;background:#faf5ea;border-radius:8px;margin-bottom:12px}
.vg-price-audit .table{min-width:1050px}
.vg-price-audit td{font-size:11px}
.vg-price-audit td strong{font-size:12px}
@media(max-width:780px){.vg-price-policy{padding:13px}.vg-price-audit .table-scroll{max-width:calc(100vw - 60px)}}

/* 1.5.7 - PDF de orçamento e auditoria */
.vg-pdf-send-help{font-size:14px;line-height:1.65;color:#59442d}
.vg-pdf-send-help strong{color:#916018}
.vg-link-btn{display:inline-flex;align-items:center;text-decoration:none;padding:10px 12px}
.vg-audit-controls{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.vg-audit-controls .secondary-btn,.vg-audit-controls .primary-btn{min-width:150px}
.vg-audit-table{min-width:820px}.vg-audit-table th{white-space:nowrap}
.vg-audit-table td{max-width:290px;word-break:break-word;vertical-align:top}
.vg-audit-value{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;color:#795d3a;line-height:1.5}

/* 1.5.9 — kits e compras de embalagens */
.vg-pack-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.vg-pack-summary>div{padding:13px;border:1px solid #e6dbc6;border-radius:13px;background:#fcf9f3;display:flex;flex-direction:column;gap:7px}
.vg-pack-summary strong{font-size:21px;color:#78603d;font-family:Georgia,serif}
.vg-pack-low{padding:11px 13px;margin:10px 0;border:1px solid #e8d0a8;border-radius:10px;color:#7a5626;background:#fffaf0}
.vg-kit-line{display:grid;grid-template-columns:minmax(170px,1.8fr) minmax(115px,.8fr) minmax(132px,1fr);align-items:end;gap:12px;padding:10px 0;border-bottom:1px solid #ede4d6}
.vg-kit-line label{font-size:12px;color:#7d755f;display:flex;flex-direction:column;gap:4px}
.vg-kit-line input,.vg-kit-line select{width:100%;min-height:36px;border:1px solid #ded1bb;border-radius:7px;padding:6px;background:white;color:#38322a}
.vg-pack-check{display:flex;align-items:center;gap:8px;cursor:pointer}
.vg-pack-check input{width:18px;height:18px}
@media(max-width:680px){.vg-pack-summary{grid-template-columns:1fr}.vg-kit-line{grid-template-columns:1fr 1fr}.vg-kit-line>div:first-child{grid-column:span 2}}

/* Acompanhamento guiado de venda */
.vg-sale-guide{display:grid;gap:14px}
.vg-sale-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.vg-sale-step{border:1px solid #eadbc4;border-radius:10px;padding:10px 6px;background:#fffaf4;color:#6b6355;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;font-size:11px;line-height:1.3;min-height:72px}
.vg-sale-step-done{background:#f2e8d5;border-color:#d3b37a;color:#725124;font-weight:600}
.vg-sale-step-num{width:24px;height:24px;border:1px solid #ccb18c;border-radius:50%;display:grid;place-items:center;font-size:12px}
.vg-sale-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
@media(max-width:680px){.vg-sale-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.vg-sale-step{min-height:68px}}

/* v1.5.11: entrada de dinheiro no padrão brasileiro, sem digitar pontuação. */
.vg-money-input{font-variant-numeric:tabular-nums;letter-spacing:.01em;}
.vg-money-guide{font-size:12px;color:#8d6e47;background:#fff7ea;border-radius:9px;padding:9px 12px;margin:0 0 15px;border:1px solid #ebd7b8;}
.vg-quote-line .vg-money-input,.item-row .vg-money-input{font-variant-numeric:tabular-nums;text-align:right;}

/* 1.5.13 — nomes legíveis em Histórico de alterações */
.vg-audit-table td:first-child{min-width:230px;max-width:330px;word-break:normal}
.vg-audit-module{display:block;font-size:10px;letter-spacing:.065em;text-transform:uppercase;color:#a47739;font-weight:700;line-height:1.4;margin-bottom:5px}
.vg-audit-label{display:block;font-size:13px;line-height:1.45;color:#412e20;font-weight:650}
.vg-audit-record{display:block;font-size:11px;line-height:1.4;color:#856a55;margin-top:4px;overflow-wrap:anywhere}
.vg-audit-value{font-variant-numeric:tabular-nums;overflow-wrap:break-word}


/* Verdalle Gestão 1.5.14 — Configurações orientadas por decisões, não por campos soltos */
.vg-settings-v2{display:grid;gap:17px;max-width:1390px;margin:0 auto 35px}
.vg-settings-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.vg-settings-kpis>div{display:grid;align-content:start;gap:7px;padding:16px 17px;background:#fffcf8;border:1px solid #eadbc6;border-radius:13px;min-width:0}
.vg-settings-kpis span{font-size:11px;color:#836d52;font-weight:700}
.vg-settings-kpis strong{font:normal 25px/1.15 Georgia,serif;color:#81550f}
.vg-settings-kpis small{font-size:11px;color:#8c795e;line-height:1.4}
.vg-config-guide{padding:25px 27px;border:1px solid #e7d2b0;border-radius:17px;background:linear-gradient(120deg,#fffaf3,#fffefd 55%,#fff7eb);box-shadow:0 5px 18px #966f2b12}
.vg-cfg-eyebrow{font-size:10px;font-weight:800;letter-spacing:.16em;color:#aa7d41}
.vg-config-guide h2,.vg-config-edit-intro h2{font:normal 29px/1.2 Georgia,serif;color:#4f321f;margin:9px 0 8px}
.vg-config-lead{font-size:14px;line-height:1.75;color:#66503e;max-width:850px;margin:8px 0 19px}
.vg-config-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:17px 0 25px}
.vg-config-how>div{background:#fffdfa;border:1px solid #eadcc7;border-radius:11px;padding:16px;display:flex;flex-direction:column;gap:8px}
.vg-config-how strong{font-size:13px;color:#5d4328}
.vg-config-how p{font-size:12px;color:#735e48;line-height:1.6;margin:0}
.vg-step-num{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;border:1px solid #d9b87a;font-size:11px;font-weight:700;color:#a27322}
.vg-config-sim-box{background:#fffdf9;border:1px solid #e7d8be;border-radius:14px;overflow:hidden}
.vg-config-sim-head{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:17px 20px;border-bottom:1px solid #eadcc7;background:#faf4ea}
.vg-config-sim-head h3{font:normal 21px Georgia,serif;color:#6c4c20;margin:7px 0 0}
.vg-config-sim-controls{display:flex;gap:9px;flex-wrap:wrap}
.vg-config-sim-controls label{display:grid;gap:5px;font-size:11px;color:#745b3a;font-weight:700}
.vg-config-sim-controls input,.vg-config-sim-controls select{width:180px;max-width:100%;height:39px;padding:8px 10px;border:1px solid #d7c4a7;border-radius:8px;background:white;color:#382c22;font-size:13px}
.vg-config-sim-controls select{width:104px}
.vg-pay-sim-results{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}
.vg-pay-sim-card{background:#fff;border:1px solid #e8dccb;border-radius:12px;padding:17px;min-width:0}
.vg-pay-sim-current{background:#fff9ef;border-color:#d9b883}
.vg-pay-sim-card h4{font:normal 20px Georgia,serif;color:#4f361d;margin:9px 0 8px}
.vg-sim-tag{font-size:10px;letter-spacing:.07em;font-weight:800;color:#a77a38}
.vg-pay-sim-card .vg-sim-desc{font-size:11px;line-height:1.55;color:#796653;min-height:36px;margin:0 0 13px}
.vg-pay-sim-card dl{display:grid;gap:0;margin:0}
.vg-pay-sim-card dl>div{display:flex;align-items:center;justify-content:space-between;gap:9px;border-bottom:1px solid #eee5d7;padding:10px 0}
.vg-pay-sim-card dt{color:#775f45;font-size:12px}.vg-pay-sim-card dd{margin:0;color:#49341f;font-weight:750;font-size:14px;text-align:right;font-variant-numeric:tabular-nums}
.vg-pay-sim-card dd.vg-sim-receive{color:#80591e;font-size:21px}
.vg-pay-sim-card .vg-sim-bottom{font-size:11px;line-height:1.65;color:#6c5741;margin:14px 0 0}
.vg-sim-caution{margin:0;padding:12px 17px 16px;font-size:11px;line-height:1.7;color:#775d39}
.vg-config-faq{border:1px solid #ecdfcc;border-radius:11px;background:#fffbf6;margin:11px 0;overflow:hidden}
.vg-config-faq summary{cursor:pointer;padding:13px 15px;color:#685036;font-size:13px;font-weight:700}
.vg-config-faq[open] summary{background:#f8f0e3;border-bottom:1px solid #e9dcc8}
.vg-config-faq>p{padding:0 16px;margin:12px 0;font-size:12px;line-height:1.75;color:#66513c}
.vg-config-faq>.vg-installments-wrap{margin:15px}
.vg-config-source{font-size:11px;color:#877058;line-height:1.8;padding-top:9px}.vg-config-source a{color:#875d1b;text-decoration:underline;text-underline-offset:3px}
.vg-config-edit-intro{margin:10px 0 0}.vg-config-edit-intro h2{font-size:24px}.vg-config-edit-intro p{font-size:12px;color:#796954;line-height:1.6;margin:0}
.vg-settings-form{display:grid;gap:12px}
.vg-config-section{border:1px solid #e9d6bf;background:#fffdfa;border-radius:13px;overflow:hidden}
.vg-config-section>summary{cursor:pointer;list-style:none;padding:18px;display:flex;align-items:center;gap:15px;background:#fffaf4}
.vg-config-section>summary::-webkit-details-marker{display:none}
.vg-config-section[open]>summary{border-bottom:1px solid #eadccc}
.vg-config-count{font:normal 23px Georgia,serif;color:#b3864c;min-width:28px}
.vg-config-section summary strong{display:block;font-size:15px;color:#4d361f;margin-bottom:5px}
.vg-config-section summary small{display:block;color:#8b7358;font-size:11px}
.vg-config-arrow{margin-left:auto;color:#af8649;font-size:23px;transition:transform .2s}
.vg-config-section[open] .vg-config-arrow{transform:rotate(180deg)}
.vg-config-section-body{padding:19px;display:grid;gap:12px}
.vg-config-section-body>.field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.vg-config-section-body .field{min-width:0}
.vg-config-note{font-size:12px;line-height:1.75;color:#765c3e;background:#faf4ea;border:1px solid #eddfce;border-radius:9px;padding:12px 13px;margin:0}
.vg-config-rate-details .field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:16px}
.vg-config-rate-details>p{margin:10px 0}
.vg-settings-savebar{border:1px solid #e6d3b5;border-radius:12px;background:#fcf5e9;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 19px}
.vg-settings-savebar p{font-size:11px;color:#7d684c;line-height:1.55;max-width:640px;margin:0}
.vg-settings-savebar button{white-space:nowrap}
.vg-config-footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.vg-config-footer-grid>.panel{min-width:0}.vg-config-footer-grid .panel>p{font-size:12px;color:#75634b;line-height:1.65}
@media(max-width:980px){.vg-settings-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.vg-config-how{grid-template-columns:1fr 1fr}.vg-pay-sim-results{grid-template-columns:1fr 1fr}.vg-config-section-body>.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.vg-settings-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.vg-settings-kpis strong{font-size:21px}.vg-config-guide{padding:17px 13px}.vg-config-guide h2{font-size:25px}.vg-config-how{grid-template-columns:1fr}.vg-pay-sim-results{grid-template-columns:1fr}.vg-config-sim-head{padding:16px}.vg-config-sim-controls{width:100%}.vg-config-sim-controls input{width:100%}.vg-config-sim-controls label:first-child{flex:1;min-width:140px}.vg-config-sim-controls select{width:87px}.vg-config-section-body>.field-grid,.vg-config-rate-details .field-grid{grid-template-columns:1fr}.vg-config-section-body{padding:14px}.vg-config-section>summary{padding:15px}.vg-settings-savebar{flex-direction:column;align-items:stretch}.vg-config-footer-grid{grid-template-columns:1fr}}

/* 1.5.15 — Central de relatórios mensais e aportes. Visual creme/dourado Verdalle. */
.vg-report-top{padding:22px;margin-bottom:24px;background:linear-gradient(115deg,#fffaf2,#fffefd)}
.vg-report-topline{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:18px}
.vg-report-top-eyebrow{color:#9d7949;font-size:10px;font-weight:800;letter-spacing:.16em}
.vg-report-topline h2{font:normal 27px Georgia,serif;color:#5d4320;margin:5px 0}
.vg-report-topline p{color:#93816a;font-size:12px;margin:0}
.vg-report-period{display:grid;gap:6px}.vg-report-period label{font-size:11px;color:#92774f;font-weight:800}
.vg-report-period>div{display:flex;align-items:center;gap:7px}.vg-report-period select{border:1px solid #e3d5c1;border-radius:10px;padding:10px;background:#fffdf9;color:#664928;font-size:12px;font-weight:700;min-width:175px}
.vg-report-period button{font-size:20px;padding:5px 13px}
.vg-report-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.vg-report-kpi{background:#fffefb;border:1px solid #e8dcca;border-radius:13px;padding:15px 17px;min-width:0;display:flex;flex-direction:column;gap:6px;position:relative}
.vg-report-kpi:before{content:'';position:absolute;top:0;left:16px;width:43px;height:3px;background:#c3a36b;border-radius:3px}
.vg-report-kpi>span{font-size:11px;color:#826a51;font-weight:600}
.vg-report-kpi strong{font:normal 26px Georgia,serif;color:#5a4028;overflow-wrap:anywhere}
.vg-report-kpi small{font-size:10px;color:#a5957e}
.vg-report-overview{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin-top:17px}
.vg-report-overview>section{background:#fffefd;border:1px solid #eadfcd;border-radius:13px;padding:17px}
.vg-report-overview h3{font:normal 17px Georgia,serif;color:#735229;margin:0 0 16px}
.vg-report-overview p{font-size:11px;color:#867761;line-height:1.65;margin:14px 0 0}
.vg-report-chart{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:165px;gap:13px;padding:4px 0}
.vg-report-week{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.vg-report-week-amount{font-size:9px;color:#8e7454;white-space:nowrap}
.vg-report-week-track{width:70%;height:120px;display:flex;align-items:flex-end;justify-content:center;background:#faf7f0;border-radius:7px;overflow:hidden}
.vg-report-week-track span{width:100%;background:linear-gradient(180deg,#d6bc85,#aa7d3c);border-radius:5px 5px 0 0}
.vg-report-week small{font-size:10px;color:#84715a;white-space:nowrap}
.vg-report-source{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f1e9db;font-size:12px;color:#7b6850}
.vg-report-source strong{font-size:14px;color:#705024;white-space:nowrap}
.vg-report-menu{margin:20px 0}.vg-report-section-head{margin:0 0 12px}.vg-report-section-head h2{font:normal 21px Georgia,serif;margin:0 0 5px;color:#634c2a}.vg-report-section-head p{font-size:12px;color:#978674;margin:0}
.vg-report-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.vg-report-tabs button{border:1px solid #e5d6c1;background:#fffdfa;color:#806040;border-radius:11px;padding:12px 10px;font-size:12px;font-weight:700;min-height:47px;transition:background .12s}
.vg-report-tabs button.active{background:#92702f;color:#fff;border-color:#8a6427;box-shadow:0 5px 10px #9e7b4830}
.vg-report-workspace{padding:19px}.vg-report-workspace-head{display:flex;align-items:center;gap:13px;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.vg-report-workspace-head h2{font:normal 23px Georgia,serif;color:#65471f;margin:0 0 5px}
.vg-report-workspace-head span{font-size:11px;color:#91755a;text-transform:capitalize}
.vg-report-workspace-actions{display:flex;gap:8px;flex-wrap:wrap}
.vg-report-explain{font-size:12px;line-height:1.75;color:#7c6241;background:#fcf5e9;border-left:3px solid #bc9656;padding:11px 13px;border-radius:0 9px 9px 0;margin:5px 0 16px}
.vg-report-filter{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 0 15px}
.vg-report-filter label{font-size:11px;color:#8f7859;font-weight:700}
.vg-report-filter input{border:1px solid #e4d5bf;background:#fffefa;border-radius:10px;padding:10px 12px;flex:1;min-width:150px;max-width:470px;font-size:12px;color:#61482d}
.vg-report-table-box{border:1px solid #ebe0d1;border-radius:11px;overflow:hidden;background:#fff}.vg-report-table-meta{font-size:10px;color:#987f5f;padding:10px 13px;border-bottom:1px solid #f0e6d8;background:#fdfaf4}
.vg-report-table{min-width:900px;font-size:11px}.vg-report-table td{max-width:280px;overflow-wrap:anywhere}.vg-report-table th{background:#fdf8f0}
.vg-report-empty{padding:27px;color:#998572;font-size:12px;text-align:center}
.vg-report-partners{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 17px}
.vg-report-partners>div{display:grid;gap:5px;padding:13px 15px;border:1px solid #e9ddc8;border-radius:11px;background:#fffaf3}
.vg-report-partners span{font-size:11px;color:#8b7151}.vg-report-partners strong{font:22px Georgia,serif;color:#6e4d22}
.vg-report-reasons{margin:10px 0 17px;padding:13px;background:#fff9f0;border-radius:9px;display:flex;flex-wrap:wrap;gap:9px;align-items:center;font-size:11px;color:#745b3a}
.vg-report-reason{display:flex;gap:6px;border:1px solid #e9d7bc;border-radius:20px;padding:7px 10px}.vg-report-reason strong{color:#6c4e26}
.vg-report-actions{display:flex;gap:5px;flex-wrap:wrap}
.vg-report-privacy{font-size:11px;line-height:1.7;color:#8a7860;margin-top:15px}
@media(max-width:1050px){.vg-report-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.vg-report-overview{grid-template-columns:1fr}.vg-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.vg-report-topline{align-items:flex-start}.vg-report-top{padding:14px}.vg-report-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.vg-report-workspace{padding:13px}.vg-report-workspace-actions .primary-btn{width:100%}.vg-report-partners{grid-template-columns:1fr}}
@media(max-width:460px){.vg-report-period{width:100%}.vg-report-period>div{width:100%}.vg-report-period select{min-width:0;flex:1}.vg-report-kpi{padding:13px 10px}.vg-report-kpi strong{font-size:20px}.vg-report-tabs button{padding:10px 6px;font-size:11px}.vg-report-chart{gap:4px}.vg-report-week-amount{font-size:8px}}

/* Despesas orientadas: explicações claras e discretas */
.vg-exp-help{border:1px solid #e8d7bf;border-radius:14px;background:linear-gradient(140deg,#fffaf3,#fffefa);padding:18px 20px;margin:0 0 20px;color:#755a34}
.vg-exp-eyebrow{font-size:10px;color:#a88247;letter-spacing:.12em;font-weight:800}
.vg-exp-help h3{font:normal 23px Georgia,serif;color:#684821;margin:5px 0 7px}
.vg-exp-help-head p{font-size:12px;line-height:1.65;margin:0 0 15px;max-width:960px}
.vg-exp-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.vg-exp-help-item{border:1px solid #ecdfcd;border-radius:10px;background:#fffefa;padding:12px 13px}
.vg-exp-help-item strong{font-size:12px;color:#785423}
.vg-exp-help-item p{font-size:11px;color:#76695a;line-height:1.6;margin:7px 0 0}
.vg-exp-yes{border-left:3px solid #a58b56}.vg-exp-route{border-left:3px solid #9f8f77}.vg-exp-no{border-left:3px solid #b7a18d}
.vg-exp-help-details{margin-top:13px;border-top:1px solid #ebdecb;padding-top:10px;font-size:11px;line-height:1.7;color:#73614b}
.vg-exp-help-details summary{cursor:pointer;font-weight:700;color:#8a662e;padding:3px 0}
.vg-exp-help-details p{margin:8px 0 2px}
.vg-exp-modal-hints{background:#fff9ed;border:1px solid #eee1cd;border-radius:9px;padding:10px 13px;margin:0 0 15px;font-size:12px;line-height:1.65;color:#7b633e}
.vg-exp-modal-hints p{margin:2px 0 7px}.vg-exp-modal-hints p:last-child{margin-bottom:1px;font-weight:600}
.vg-exp-submit-note{border-left:3px solid #bca36b;background:#fff9f0;color:#715b43;font-size:11px;line-height:1.65;padding:11px;margin:12px 0 0;border-radius:0 7px 7px 0}
.modal-body .vg-exp-help{margin-bottom:12px;padding:12px 13px}.modal-body .vg-exp-help h3{font-size:19px}.modal-body .vg-exp-help-grid{gap:6px}.modal-body .vg-exp-help-item{padding:8px}.modal-body .vg-exp-help-item strong{font-size:11px}.modal-body .vg-exp-help-item p{font-size:10px}
@media(max-width:850px){.vg-exp-help-grid{grid-template-columns:1fr}.vg-exp-help{padding:13px}.vg-exp-help h3{font-size:21px}}

/* v1.5.17: a falha temporária do banco não é falha de autenticação */
#vg-retry-cloud:disabled{opacity:.65;cursor:progress}

/* v1.5.18 — autosave de rascunhos por usuário e recuperação explícita */
.vg-draft-banner{border:1px solid #ead4ae;background:#fff9ed;color:#664a27;border-radius:12px;padding:9px 12px;margin:0 0 14px;font-size:11px;line-height:1.55}
.vg-draft-status{display:block;color:#806443;font-weight:600}.vg-draft-error{color:#a32d2d;font-weight:700}
.vg-draft-recover{display:grid;gap:6px;margin-bottom:8px}.vg-draft-recover>strong{font-size:13px;color:#5b3811}
.vg-draft-recover>span{font-size:11px;color:#735d49}.vg-draft-recover>div{display:flex;gap:8px;flex-wrap:wrap}
.vg-draft-recover button{font-size:11px}.modal-foot #modal-save:disabled{opacity:.6;cursor:progress}


/* v1.5.19 · Acesso limpo e cabeçalho funcional, sem controles aparentes antes de carregar. */
.shell[hidden]{display:none!important}
.vg-header-actions{position:relative}
.vg-header-bell{cursor:pointer;border:0;background:transparent;font:inherit;font-size:21px;color:#bd811a;padding:4px 6px;border-radius:8px}
.vg-header-bell:hover,.vg-header-bell:focus-visible{background:#f6e6ce;outline-color:#b88637}
button.vg-account{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-family:inherit}
button.vg-account:hover,button.vg-account:focus-visible{background:#f6e9d4;outline-color:#c3a068}
.vg-account-menu{position:absolute;right:0;top:calc(100% + 12px);width:205px;background:#fffefa;border:1px solid #e6d8c4;border-radius:12px;box-shadow:0 16px 42px #604d3030;z-index:140;padding:8px}
.vg-account-menu[hidden]{display:none!important}
.vg-account-menu p{font-size:11px;color:#786243;margin:5px 7px 9px;line-height:1.4}
.vg-account-menu button{display:block;width:100%;text-align:left;border:0;border-radius:7px;padding:11px 10px;background:transparent;color:#624721;font-weight:600}
.vg-account-menu button:hover{background:#fbf0dd}
.vg-quick-alerts p{font-size:12px;color:#7d6c56}
@media(max-width:780px){button.vg-account{display:inline-flex;font-size:10px;padding:7px!important}}
@media(max-width:520px){.vg-header-bell{display:inline-flex;font-size:17px;padding:1px}.vg-header-actions{gap:5px}button.vg-account{font-size:9px;padding:6px!important;max-width:104px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.vg-account-menu{right:0;top:calc(100% + 10px)}}

/* Verdalle Gestão 1.5.21 — telas mais limpas, ajuda contextual e anúncio calculado */
.vg-help-content{font-size:13px;color:#5c4b35;line-height:1.65}
.vg-help-content .vg-help-lead{font:22px Georgia,serif;color:#6c4c20;margin:0 0 16px}
.vg-help-guide{display:grid;gap:5px}
.vg-help-guide h3{font-size:12px;text-transform:uppercase;letter-spacing:.09em;color:#977341;margin:15px 0 0}
.vg-help-guide p{margin:0 0 5px}
.vg-help-example{background:#fffaf1;border:1px solid #ead7b6;padding:15px;border-radius:12px;margin-top:15px}
.vg-help-example strong{color:#7a562d}
.vg-help-example p{margin:7px 0 0}
.vg-help-footer{color:#8b806f;font-size:11px;border-top:1px solid #e8dfd1;padding-top:15px;margin-top:20px}
.vg-help-content .vg-exp-help{box-shadow:none;margin-top:18px}
.vg-help-btn:focus-visible{outline:3px solid #d0a657;outline-offset:3px}
.vg-price-values .vg-ad-price{background:#f4e6c8;border:1px solid #cba66a;border-radius:10px}
.vg-price-values .vg-ad-price strong{color:#704719}
.vg-price-short-note,.vg-price-rule{font-size:11px;color:#89745c;line-height:1.5;margin:0}
.vg-price-rule{margin-top:14px!important}
@media(max-width:550px){.vg-help-content .vg-exp-help-grid{grid-template-columns:1fr}.vg-price-values{grid-template-columns:1fr}.vg-price-values>div{border-right:0;border-bottom:1px solid #e5dacc}.vg-price-values>div:last-child{border-bottom:0}.vg-help-content .vg-help-lead{font-size:19px}}

/* Verdalle 1.5.22: edição em massa, controles claros e responsivos. */
.vg-bulk-page{display:grid;gap:18px}.vg-bulk-page .vg-bulk-live{color:#386d51;background:#edf7ee;border:1px solid #cae5cf;border-radius:10px;padding:11px 14px;font-weight:700;font-size:12px}.vg-bulk-warning{background:#fff8e9;color:#6a5437;border:1px solid #eedab7;padding:12px 15px;border-radius:12px;font-size:13px;line-height:1.55}.vg-bulk-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.vg-bulk-summary>div,.vg-bulk-section,.vg-bulk-actions{background:#fffdf9;border:1px solid #eadfcc;border-radius:16px;padding:18px}.vg-bulk-summary span{display:block;color:#937955;font-size:11px;margin-bottom:6px}.vg-bulk-summary strong{font:18px Georgia,serif;color:#574027}.vg-bulk-controls{display:grid;grid-template-columns:1fr 1.5fr 1.1fr;gap:12px}.vg-bulk-controls label,.vg-bulk-value-grid label,.vg-bulk-reason,.vg-bulk-confirm-label{display:grid;gap:8px;font-size:12px;color:#74573b;font-weight:700}.vg-bulk-controls input,.vg-bulk-controls select,.vg-bulk-value-grid input,.vg-bulk-value-grid select,.vg-bulk-reason input,.vg-bulk-confirm-label input{width:100%;border:1px solid #e4d1b7;border-radius:9px;background:white;padding:11px;color:#513d2e;font:inherit;min-width:0}.vg-bulk-section h3{font-size:15px;color:#614320;margin:0 0 12px}.vg-bulk-fields{display:flex;gap:9px;flex-wrap:wrap}.vg-bulk-choice{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #e4d7c6;border-radius:10px;background:#fff9ef;font-size:12px;cursor:pointer}.vg-bulk-choice input{accent-color:#b48328;width:16px;height:16px}.vg-bulk-list-heading,.vg-bulk-actions{display:flex;justify-content:space-between;align-items:center;gap:14px}.vg-bulk-list-heading{margin:15px 0 11px}.vg-bulk-list-heading>div{display:flex;gap:7px;flex-wrap:wrap}.vg-bulk-list-heading button{font-size:11px}.vg-bulk-table-wrap{max-width:100%;max-height:420px;overflow:auto;border:1px solid #eee0ce;border-radius:12px}.vg-bulk-table-wrap .table{min-width:680px}.vg-bulk-table-wrap th{position:sticky;top:0;background:#fef8ee;z-index:1}.vg-bulk-table-wrap td{vertical-align:middle}.vg-bulk-table-wrap td input[type=checkbox]{accent-color:#b48328;width:16px;height:16px}.vg-bulk-edit-panel{margin-top:12px}.vg-bulk-edit-panel p,.vg-bulk-actions p{font-size:12px;color:#81745d;margin:6px 0 14px}.vg-bulk-edit-table input,.vg-bulk-edit-table select{border:1px solid #dfd1bf;border-radius:7px;background:white;padding:9px;min-width:120px;max-width:200px;width:100%;font-size:12px}.vg-bulk-edit-table tr td:first-child{min-width:210px;position:sticky;left:0;background:#fffdf9;z-index:1}.vg-bulk-value-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:13px}.vg-bulk-reason{margin-top:14px}.vg-bulk-reason small{color:#80725e;font-weight:400}.vg-bulk-actions button{white-space:nowrap}.vg-bulk-preview .vg-bulk-table-wrap{margin:15px 0}.vg-bulk-confirm-label{margin-top:16px}.vg-bulk-confirm-label input{max-width:250px}.vg-bulk-preview .muted{margin:8px 0}.vg-bulk-table-wrap strong{font-size:12px}
@media(max-width:860px){.vg-bulk-controls{grid-template-columns:1fr}.vg-bulk-summary{grid-template-columns:1fr 1fr}.vg-bulk-list-heading,.vg-bulk-actions{align-items:stretch;flex-direction:column}.vg-bulk-list-heading>div{width:100%}.vg-bulk-actions button{white-space:normal}.vg-bulk-section{padding:13px}.vg-bulk-summary strong{font-size:15px}}

/* Celular: tabelas deslizam dentro do cartão, sem alargar a página. */
.vg-bulk-page,.vg-bulk-page>*,.vg-bulk-section,.vg-bulk-controls,.vg-bulk-edit-panel,.vg-bulk-table-wrap{min-width:0;max-width:100%}.vg-bulk-table-wrap{width:100%}.vg-bulk-page .vg-bulk-fields{min-width:0}.vg-bulk-list-heading{flex-wrap:wrap}

/* 1.5.23: precificação no cadastro */
.vg-product-auto-switch{padding:12px 14px;background:#fcf7ee;border:1px solid #e9dac6;border-radius:11px;}
.vg-product-auto-switch label{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:700;color:#765326;cursor:pointer;line-height:1.4}
.vg-product-auto-switch input[type=checkbox]{width:18px;height:18px;accent-color:#b08027;flex-shrink:0;margin-top:1px}
.vg-product-auto-switch small{display:block;margin:6px 0 0 28px;color:#8b785c;font-size:11px;line-height:1.45}
.vg-product-price-feedback{padding:12px 14px;background:#fff9ec;border:1px solid #ebd5ab;border-radius:10px;font-size:12px;line-height:1.65;color:#66512f;margin:0}
.vg-product-price-feedback.vg-auto-error{border-color:#d9a7a0;color:#a24332;background:#fff4f1}
input.vg-price-auto-readonly{background:#f8f1e4!important;border-color:#d5b57a!important;color:#684715;font-weight:700;cursor:default}

/* Compras multifornecedores — base incorporada à v1.5.25 */
.vg-trip-form{display:grid;gap:14px}.vg-trip-help{border:1px solid #e7d4af;background:#fdf9ef;border-radius:10px;padding:10px 14px;font-size:12px}.vg-trip-help summary{cursor:pointer;font-weight:700;color:#89672f}.vg-trip-help-body p{line-height:1.6}.vg-trip-explain{color:#7d715f;font-size:11px;line-height:1.65;margin:0}.vg-trip-suppliers{display:grid;gap:16px}.vg-trip-supplier{border:1px solid #e9dac1;border-radius:13px;padding:16px;background:#fffefb}.vg-trip-supplier-head,.vg-trip-new-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.vg-trip-supplier-head strong,.vg-trip-new-head strong{color:#8d6a38}.vg-trip-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.vg-trip-new-area:empty{display:none}.vg-trip-new-form{border:1px solid #d9c29c;border-radius:10px;padding:14px;margin-top:14px;background:#fdf8ee}.vg-trip-new-form .field-grid{margin-bottom:12px}.vg-trip-subtotal{margin-top:12px;color:#806f54;font-size:11px}.vg-trip-notes label{display:block;font-weight:700;font-size:11px;color:#72624f;margin-bottom:8px}.vg-trip-notes textarea{width:100%;border:1px solid #e5ddcf;border-radius:9px;background:#fffdfa;padding:10px;min-height:66px}.vg-trip-preview{border:1px solid #e8d8bc;border-radius:11px;padding:15px;background:#fdfbf6}.vg-trip-preview h3{margin:0 0 12px;font-size:15px;color:#765a34}.vg-trip-preview .table{min-width:560px}.vg-trip-child{background:#fcf9f2;color:#8b795c}.vg-trip-child td{padding:8px 10px !important;font-size:11px}.vg-trip-line select{background:#fff}.vg-trip-form .modal-foot{background:#fff}.vg-trip-supplier .vg-money-input{text-align:left}
@media(max-width:560px){.vg-trip-supplier{padding:11px}.vg-trip-supplier-head{align-items:flex-start}.vg-trip-line{grid-template-columns:minmax(105px,1fr) 52px 80px 31px;gap:5px}.vg-trip-line input,.vg-trip-line select{font-size:11px;padding:7px 5px}.vg-trip-actions button{flex:1;min-width:130px;justify-content:center}.vg-trip-new-form{padding:11px}}
.vg-trip-advanced{border:1px solid #e9dcc6;border-radius:8px;padding:10px;margin:10px 0;background:#fffdf7}.vg-trip-advanced summary{cursor:pointer;color:#886a3b;font-size:12px;font-weight:700}.vg-trip-advanced .field-grid{margin-top:12px}

/* v1.5.25 — Formulário de compras amplo, sem rolagem horizontal no desktop. */
.vg-purchase-modal{width:min(1320px,calc(100vw - 32px));max-height:calc(100dvh - 26px);height:min(940px,calc(100dvh - 26px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border-radius:16px}
.vg-purchase-modal .modal-head{position:static;padding:15px 24px}
.vg-purchase-modal .modal-head h2{font-size:23px}
.vg-purchase-modal .modal-body{overflow-y:auto;overflow-x:hidden;min-height:0;padding:18px 24px 22px;overscroll-behavior:contain}
.vg-purchase-modal .modal-foot{position:static;padding:12px 24px;z-index:2}
.vg-purchase-modal .vg-trip-form{gap:12px}
.vg-purchase-modal .vg-trip-help{padding:8px 12px}
.vg-purchase-modal .vg-purchase-top-fields{grid-template-columns:1fr 1.45fr 1.4fr 1.25fr;align-items:end;gap:12px}
.vg-purchase-modal .vg-purchase-top-fields .field.wide{grid-column:auto}
.vg-purchase-modal .vg-trip-suppliers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.vg-purchase-modal .vg-trip-supplier{min-width:0;padding:13px}
.vg-purchase-modal .vg-trip-supplier-head{margin-bottom:10px}
.vg-purchase-modal .vg-trip-supplier .field-grid{gap:10px}
.vg-purchase-modal .vg-trip-line{grid-template-columns:minmax(120px,1fr) 58px 105px 32px;gap:6px}
.vg-purchase-modal .vg-trip-line input,.vg-purchase-modal .vg-trip-line select{padding:8px 6px}
.vg-purchase-modal .vg-trip-actions{gap:6px;margin-top:7px}
.vg-purchase-modal .vg-trip-actions button{font-size:11px;padding:8px 10px}
.vg-purchase-modal .vg-trip-supplier .field.wide{grid-column:1/-1}
.vg-purchase-modal .vg-purchase-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:4px}
.vg-purchase-modal .vg-purchase-section-heading .form-section-title{border-top:none;padding:0;margin:0}
.vg-purchase-modal .vg-trip-preview{padding:12px}
.vg-purchase-modal .vg-trip-preview .table{min-width:520px}
.vg-purchase-modal .vg-trip-notes textarea{min-height:52px}
.vg-purchase-modal .vg-purchase-safe-note{font-size:11px;line-height:1.5;color:#806844}
.vg-purchase-modal .vg-trip-new-form{padding:12px}
@media(max-width:1100px){.vg-purchase-modal .vg-trip-suppliers{grid-template-columns:1fr}.vg-purchase-modal .vg-purchase-top-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
 .modal-overlay:has(.vg-purchase-modal){padding:0}
 .vg-purchase-modal{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
 .vg-purchase-modal .modal-head{padding:12px 14px}.vg-purchase-modal .modal-head h2{font-size:19px}
 .vg-purchase-modal .modal-body{padding:12px 13px 20px}
 .vg-purchase-modal .modal-foot{padding:10px 12px}
 .vg-purchase-modal .vg-purchase-top-fields{grid-template-columns:1fr;gap:9px}
 .vg-purchase-modal .vg-trip-supplier{padding:11px}
 .vg-purchase-modal .vg-trip-line{grid-template-columns:minmax(82px,1fr) 48px 78px 30px;gap:5px}
 .vg-purchase-modal .vg-trip-line input,.vg-purchase-modal .vg-trip-line select{padding:7px 4px;font-size:11px}
 .vg-purchase-modal .vg-purchase-section-heading button{width:100%;justify-content:center}
 .vg-purchase-modal .vg-trip-supplier .field-grid{grid-template-columns:1fr}
 .vg-purchase-modal .vg-trip-new-form .field-grid{grid-template-columns:1fr}
}

/* v1.5.26 — contadores e filtros locais de Clientes e Fornecedores */
.vg-nav-count{margin-left:auto;background:#efe3d2;color:#81511d;border-radius:999px;min-width:25px;padding:2px 6px;text-align:center;font-size:11px;font-weight:700}
.vg-contact-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0 16px}
.vg-contact-metrics>div{border:1px solid #eadac5;background:#fffefa;border-radius:13px;padding:13px 15px;display:flex;flex-direction:column;gap:5px}
.vg-contact-metrics strong{font-family:inherit;font-size:24px;color:#7d4c18}
.vg-contact-metrics span{font-size:12px;color:#705f4d}
.vg-contact-filterbar{display:flex;gap:11px;align-items:end;flex-wrap:wrap;margin:2px 0 16px}
.vg-filter-label{display:flex;flex-direction:column;gap:5px;color:#735b43;font-size:12px;font-weight:650}
.vg-filter-label select{background:#fffdfa;border:1px solid #e4c9a7;border-radius:8px;padding:9px 13px;min-width:150px;font-size:13px;color:#3c2e24}
.vg-contact-filterbar .secondary-btn{min-height:38px}
.vg-history-pending{margin:15px 0 8px;border:1px solid #e9d7b6;background:#fffaf0;border-radius:14px;padding:16px}
.vg-history-pending strong{color:#724318}
.vg-history-pending p{font-size:12px;color:#78644a;line-height:1.5}
.vg-history-aliases{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:8px}
.vg-history-aliases>div{background:#fff;border:1px solid #e9dfd1;border-radius:9px;padding:9px;display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.vg-history-aliases span{font-size:12px;color:#524331}
.vg-delete-purchase{background:#fff7f0;border-color:#dfb89f;color:#8e4b27}
.vg-cancel-warning{border-left:3px solid #c99c61;padding:10px 12px;color:#755025;background:#fff6e9}
@media(max-width:720px){.vg-contact-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.vg-contact-metrics>div{padding:9px}.vg-contact-metrics strong{font-size:21px}.vg-contact-filterbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.vg-filter-label select{min-width:0;width:100%}}

/* Formatação legível dos cadastros, preservando dados e enums */
.vg-format-section{border-top:1px solid #eadbc9;margin-top:16px;padding-top:17px}
.vg-format-section p{font-size:13px;color:#6f5a40;line-height:1.5}
.vg-format-note{font-size:13px;color:#6d533e;line-height:1.6}
input[name=phone],input[name=customer_phone],input[name=customerPhone],input[name=recipientPhone],input[name=contactPhone]{font-variant-numeric:tabular-nums}

/* v1.5.27 — Catalogo unificado e controles de exclusao restritos */
.vg-unified-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:14px 0}
.vg-unified-filters label{font-size:12px;font-weight:700;display:flex;flex-direction:column;gap:5px;color:#7f603c}
.vg-unified-filters select{padding:10px;min-width:180px;border:1px solid #dfc7a7;border-radius:9px;background:#fff}
.vg-unified-note{border:1px solid #e9dbcb;background:#fffdfa;border-radius:12px;padding:13px 16px;color:#65523f;font-size:13px;line-height:1.55}
.vg-wix-only{background:#fffbf3}
.vg-admin-panel{margin-top:24px;border:1px solid #ccae83;border-radius:14px;padding:18px;background:#fffaf4}
.vg-admin-panel h3{color:#793b1b;font-size:17px;margin:0 0 10px}
.vg-admin-panel p{line-height:1.6;color:#6d4e36;font-size:13px}
.vg-admin-controls{display:grid;grid-template-columns:1fr 1.4fr;gap:13px;margin:12px 0}
.vg-admin-controls label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700}
.vg-admin-controls select{padding:10px;border:1px solid #d9b997;border-radius:8px;min-width:0;width:100%;background:white}
.vg-admin-danger{border-color:#c7927a!important;color:#8d3424!important;background:#fff7f3!important}
@media(max-width:720px){.vg-admin-controls{grid-template-columns:1fr}.vg-unified-filters{flex-direction:column;align-items:stretch}.vg-unified-filters select{width:100%}}

/* v1.5.28: cards de investimentos legíveis em telas estreitas */
@media (max-width:640px){.vg-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.vg-report-workspace-actions{width:100%}.vg-report-workspace-actions button{flex:1}}
@media (max-width:350px){.vg-report-kpis{grid-template-columns:minmax(0,1fr)}}

/* Verdalle Gestão 1.5.29 — área editorial Wix, separada de custos e estoque. */
.vg-wix-editor-intro{font-size:12px;color:#786953;line-height:1.65;margin:3px 0 5px}
.vg-wix-editor-actions{display:grid;gap:10px}
.vg-wix-editor-actions .row-actions{flex-wrap:wrap}
.vg-wix-editor-actions .secondary-btn{font-size:11px;padding:9px 11px}
.vg-wix-source{background:#faf5e9;border:1px solid #e8d8ba;border-radius:10px;padding:12px 14px;display:grid;gap:5px;font-size:11px;color:#655638}
.vg-wix-source strong{font-size:12px;color:#795b2b}
.vg-wix-source span{overflow-wrap:anywhere}
.vg-wix-source small{color:#837663;line-height:1.45}
.vg-wix-mirror-table{display:grid;gap:0;border:1px solid #e8dcc9;border-radius:10px;overflow:hidden;margin-top:14px}
.vg-wix-mirror-table>div{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(0,2fr);border-bottom:1px solid #eee6dc;gap:13px;padding:12px 14px;font-size:12px;line-height:1.6}
.vg-wix-mirror-table>div:nth-child(odd){background:#fffcf6}
.vg-wix-mirror-table>div:last-child{border-bottom:0}
.vg-wix-mirror-table strong{font-size:11px;color:#796445}
.vg-wix-mirror-table span{overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:560px){.vg-wix-mirror-table>div{grid-template-columns:1fr;gap:4px}}

/* Verdalle Gestão 1.5.30 — busca filtrada e alerta de duplicados em compras */
.vg-purchase-modal .vg-trip-line .vg-trip-choose{position:relative;min-width:0;align-self:start}
.vg-purchase-modal .vg-trip-choose [data-vg-trip-search]{display:block;width:100%;min-width:0;border:1px solid #dfcda9;background:#fffdfa;border-radius:8px;padding:8px 7px;font:inherit;color:#352b20;box-sizing:border-box}
.vg-purchase-modal .vg-trip-choose [data-vg-trip-search]:focus{outline:2px solid #b79358;outline-offset:1px}
.vg-purchase-modal .vg-trip-source-select{display:none!important}
.vg-purchase-modal .vg-trip-search-menu[hidden],.vg-purchase-modal .vg-trip-picked[hidden]{display:none!important}
.vg-purchase-modal .vg-trip-search-menu{position:absolute;top:calc(100% + 3px);left:0;z-index:20;max-height:270px;overflow-y:auto;overflow-x:hidden;width:max(260px,100%);max-width:min(480px,85vw);background:#fff;border:1px solid #dfc8a6;box-shadow:0 10px 23px #3c291929;border-radius:10px;padding:4px;box-sizing:border-box}
.vg-purchase-modal .vg-trip-search-option{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:9px 10px;border:0;border-bottom:1px solid #f0e6d5;background:white;text-align:left;color:#332c23;white-space:normal;cursor:pointer;font-size:12px}
.vg-purchase-modal .vg-trip-search-option strong{font-size:12px;line-height:1.4}
.vg-purchase-modal .vg-trip-search-option small{font-size:10px;color:#78634d;line-height:1.4}
.vg-purchase-modal .vg-trip-search-option:hover,.vg-purchase-modal .vg-trip-search-option:focus{background:#f9f0df;outline:1px solid #b79358}
.vg-purchase-modal .vg-trip-search-hint{font-size:11px;color:#655847;padding:8px 10px;line-height:1.4}
.vg-purchase-modal .vg-trip-picked{font-size:10px;line-height:1.35;color:#57764b;padding:4px 2px 0;overflow-wrap:anywhere}
.vg-purchase-modal .vg-trip-duplicates{margin-top:7px;border-radius:8px;padding:8px;background:#f9f5ec;border:1px solid #e6d7bd;font-size:11px;color:#604d34;line-height:1.5}
.vg-purchase-modal .vg-trip-duplicates.vg-trip-duplicate-alert{background:#fff1e8;border-color:#de9b6e;color:#784025}
.vg-purchase-modal .vg-trip-duplicate-ok{color:#527447}
.vg-purchase-modal .vg-trip-duplicate-list{display:grid;gap:4px;margin-top:6px}
.vg-purchase-modal .vg-trip-duplicate-list button{border:1px solid #e1cfb2;background:white;border-radius:7px;padding:7px 8px;text-align:left;font-size:11px;color:#3d3024;cursor:pointer;display:flex;flex-direction:column;gap:2px}
.vg-purchase-modal .vg-trip-duplicate-list button:hover,.vg-purchase-modal .vg-trip-duplicate-list button:focus{background:#f9ead1}
.vg-purchase-modal .vg-trip-duplicate-list small{color:#7f674b;font-size:10px}
@media(max-width:680px){.vg-purchase-modal .vg-trip-search-menu{max-width:90vw;min-width:240px}}

.vg-purchase-modal .vg-trip-search-menu.vg-trip-search-up{top:auto;bottom:calc(100% + 3px)}


/* Verdalle Gestao 1.5.32: menu lateral compacto e estoque sem arrastar horizontalmente.
   Modificacao visual isolada: nenhum custo, preco, saldo, permissao ou vinculo e alterado. */
@media (min-width:781px) {
  .sidebar {width:184px;flex:0 0 184px;}
  .vg-brand {height:151px;padding:5px 8px 7px;}
  .vg-monogram {width:124px;height:65px;}
  .vg-signature {width:138px;height:45px;}
  .vg-brand-system {font-size:22px;}
  .vg-navigation {padding:0 6px;}
  .vg-navigation button, .sidebar .settings-nav {font-size:12px;line-height:1.2;gap:7px;padding:9px 8px;white-space:normal;overflow-wrap:break-word;}
  .vg-navigation .nav-symbol, .side-bottom .nav-symbol {width:21px;flex-basis:21px;height:21px;}
  .vg-navigation .vg-icon {width:19px;height:19px;}
  .side-bottom {padding:8px 6px 12px;}
  .content {padding-left:12px;padding-right:12px;}
}
@media (min-width:781px) and (max-width:1120px){
  .sidebar{width:170px;flex-basis:170px;}
  .vg-navigation button,.sidebar .settings-nav{font-size:11px;gap:6px;padding:8px 7px;}
  .vg-header-title{flex-basis:auto;}
}
/* Todas as informacoes da tabela anterior continuam disponiveis, agora agrupadas
   em linhas adaptaveis sem largura minima nem deslocamento lateral. */
.vg-stock-list{width:100%;max-width:100%;min-width:0;margin-top:14px;border:1px solid #e8d9c4;border-radius:14px;overflow:hidden;background:#fffdfa;box-shadow:var(--shadow);}
.vg-stock-head,.vg-stock-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,.62fr) minmax(0,1.06fr) minmax(0,1.35fr) minmax(0,1.72fr);gap:12px;align-items:center;min-width:0;}
.vg-stock-head{background:#fcf2e5;border-bottom:1px solid #e6d8c7;padding:11px 13px;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#856847;}
.vg-stock-row{padding:13px;border-bottom:1px solid #eee5d9;background:#fffdfa;}
.vg-stock-row:nth-of-type(even){background:#fffbf5;}
.vg-stock-row:last-child{border-bottom:0;}
.vg-stock-row.vg-wix-only{background:#fff9ef;}
.vg-stock-cell{min-width:0;max-width:100%;overflow-wrap:anywhere;}
.vg-stock-product{display:grid;gap:5px;}
.vg-stock-product>strong{font-size:13px;line-height:1.35;color:#463018;}
.vg-stock-sku{font-size:10px;color:#897861;line-height:1.2;}
.vg-stock-variation{font-size:11px;font-weight:700;color:#785b39;line-height:1.35;}
.vg-stock-label{display:none;}
.vg-stock-quantity>strong{font-size:17px;color:#533b20;}
.vg-stock-quantity>small{display:block;font-size:10px;color:#907f68;line-height:1.3;margin-top:4px;}
.vg-stock-prices{display:grid;gap:9px;}
.vg-stock-prices span{display:grid;gap:2px;}
.vg-stock-prices small{font-size:10px;color:#806f5c;}
.vg-stock-prices strong{font-size:12px;color:#3c3327;white-space:nowrap;}
.vg-stock-catalog .pill{font-size:10px;white-space:normal;line-height:1.3;max-width:100%;}
.vg-stock-wix-details{font-size:10px;color:#75614c;line-height:1.4;margin-top:6px;}
.vg-stock-wix-details strong{display:block;}
.vg-stock-wix-details .tiny{display:block;}
.vg-stock-wix-details small{font-size:10px;display:block;}
.vg-stock-whatsapp{display:block;font-size:10px;color:#8c7e6e;line-height:1.35;margin-top:5px;}
.vg-stock-actions .row-actions{display:flex;gap:5px;flex-wrap:wrap;align-items:center;justify-content:flex-start;max-width:100%;}
.vg-stock-actions .tiny-btn{font-size:10px;padding:7px 8px;white-space:normal;line-height:1.25;min-height:29px;max-width:100%;}
.vg-stock-list button{overflow-wrap:anywhere;}
/* Tablets, notebooks menores e janelas reduzidas: cada item vira uma ficha em 2 colunas. */
@media(max-width:1220px){
 .vg-stock-head{display:none;}
 .vg-stock-list{display:grid;gap:8px;border:0;box-shadow:none;background:transparent;overflow:visible;}
 .vg-stock-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 16px;border:1px solid #ead9c3;border-radius:13px;background:#fffdfa!important;box-shadow:0 2px 7px #b68f6330;}
 .vg-stock-product{grid-column:1/-1;border-bottom:1px solid #f0e5d8;padding-bottom:10px;}
 .vg-stock-actions{grid-column:1/-1;border-top:1px solid #f0e5d8;padding-top:10px;}
 .vg-stock-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.045em;font-weight:800;color:#997449;margin-bottom:5px;}
 .vg-stock-catalog{grid-column:1/-1;}
 .vg-stock-actions .tiny-btn{font-size:11px;padding:8px 10px;}
}
@media(max-width:680px){
 .vg-stock-row{grid-template-columns:minmax(0,1fr);gap:11px;padding:12px;}
 .vg-stock-product,.vg-stock-catalog,.vg-stock-actions{grid-column:1;}
 .vg-stock-prices{display:flex;gap:20px;flex-wrap:wrap;}
 .vg-stock-actions .row-actions{gap:7px;}
 .vg-unified-filters{gap:8px;}
 .vg-unified-filters button{white-space:normal;}
}

/* Busca em estoque: barra completa no celular e hint logo abaixo. */
.vg-stock-search{min-width:0;width:100%;}
.vg-stock-search .search-input{min-width:0;}
@media(min-width:901px) and (max-width:1220px){
 .vg-stock-row{grid-template-columns:minmax(0,1.65fr) minmax(0,.6fr) minmax(0,1.15fr);align-items:start;}
 .vg-stock-product{grid-column:1;border-bottom:0;padding-bottom:0;}
 .vg-stock-catalog{grid-column:1/3;}
 .vg-stock-actions{grid-column:3;grid-row:2;border-top:0;padding-top:0;}
}
@media(max-width:680px){
 .vg-stock-search .toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;}
 .vg-stock-search .search-input{width:100%;min-width:0;}
 .vg-stock-search .toolbar .tiny{display:block;font-size:10px;}
}

/* Verdalle Gestao 1.5.33 — estado automatico de esgotado no estoque fisico.
   Somente leitura: nao altera quantidade nem dados comerciais da Wix. */
.vg-stock-actions .vg-stock-sold-out{display:inline-flex;align-items:center;justify-content:center;min-height:29px;padding:6px 10px;border:1px solid #e9c5c5;border-radius:8px;background:#fff0ef;color:#a33d3d;font-size:10px;line-height:1.25;font-weight:800;white-space:normal;max-width:100%;cursor:default;}
.vg-product-sold-out .vg-stock-quantity>strong{color:#a33d3d;}
@media(max-width:1220px){.vg-stock-actions .vg-stock-sold-out{min-height:32px;font-size:11px;padding:8px 10px;}}

/* v1.5.35 - Inventario fisico em quatro colunas responsivas. */
@media(min-width:1221px){
 .vg-stock-head,.vg-stock-row{grid-template-columns:minmax(0,2fr) minmax(0,.58fr) minmax(0,1.18fr) minmax(0,1.5fr);}
}
@media(min-width:901px) and (max-width:1220px){
 .vg-stock-row{grid-template-columns:minmax(0,1.7fr) minmax(0,.6fr) minmax(0,1.1fr);}
 .vg-stock-product{grid-column:1;grid-row:1;}
 .vg-stock-quantity{grid-column:2;grid-row:1;}
 .vg-stock-prices{grid-column:3;grid-row:1;}
 .vg-stock-actions{grid-column:1/-1;grid-row:2;border-top:1px solid #f0e5d8;padding-top:10px;}
}
@media(max-width:900px){.vg-stock-catalog{display:none!important;}}

/* v1.5.36: Recálculo geral seguro e prévia integral */
.vg-bulk-prices-section{border:1px solid #d7bc91;background:#fff9f0;border-radius:12px;padding:18px}
.vg-price-bulk-intro{background:#fff8ed;border:1px solid #ecd8bd;border-radius:10px;padding:13px;margin-bottom:12px}
.vg-price-bulk-intro p{margin:7px 0;font-size:.88rem;line-height:1.6}
.vg-bulk-price-preview-table{max-height:365px;overflow:auto;border:1px solid #e8d8c5;border-radius:10px}
.vg-bulk-price-preview-table table{min-width:730px}
.vg-bulk-price-preview-table td{white-space:normal;font-size:.81rem}
.vg-bulk-price-preview-table td:nth-child(1){min-width:180px}
.vg-bulk-price-confirm{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.vg-bulk-price-confirm button{align-self:flex-start}
.vg-bulk-price-confirm input{max-width:270px}
@media(max-width:640px){.vg-bulk-prices-section{padding:12px}.vg-bulk-price-preview-table{max-height:280px}.vg-bulk-price-confirm button{width:100%}}

/* Verdalle 1.5.37 — Estoque físico em colunas legíveis e totais auditáveis. */
.vg-stock-total-panel,.vg-stock-filter-panel,.vg-stock-filtered-totals{border:1px solid #e9dbc6;border-radius:14px;background:#fffdf9;box-shadow:0 3px 14px #7b593012;margin:14px 0;min-width:0}
.vg-stock-total-panel{padding:16px}
.vg-stock-total-heading,.vg-stock-filter-title,.vg-stock-filtered-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 18px;flex-wrap:wrap;margin-bottom:12px}
.vg-stock-total-heading strong,.vg-stock-filter-title strong,.vg-stock-filtered-heading strong{font-size:14px;color:#735125}
.vg-stock-total-heading span,.vg-stock-filter-title span,.vg-stock-filtered-heading span{font-size:11px;color:#89775e}
.vg-stock-total-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.vg-stock-total-card{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid #ecdfcb;background:#fbf7f0;border-radius:11px;min-width:0}
.vg-stock-total-card>span{font-size:11px;font-weight:700;color:#866641}
.vg-stock-total-card>strong{font:21px/1.15 Georgia,serif;color:#49351f;overflow-wrap:anywhere}
.vg-stock-total-card>small{font-size:10px;color:#8b7963;line-height:1.4}
.vg-stock-valuation-note{margin:11px 2px 0;font-size:10px;color:#86735e;line-height:1.5}
.vg-stock-filter-panel{padding:15px}
.vg-stock-filter-panel .vg-stock-search{margin-bottom:10px}
.vg-stock-filter-panel .toolbar{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.vg-stock-filter-panel .toolbar .tiny{display:none}
.vg-stock-filter-panel .search-input{width:100%;border:1px solid #e2cdb2;min-width:0}
.vg-stock-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 13px}
.vg-stock-filter{display:grid;gap:5px;min-width:0}
.vg-stock-filter>span{font-size:10px;font-weight:800;letter-spacing:.035em;color:#856842}
.vg-stock-filter select{font:inherit;font-size:12px;width:100%;min-width:0;border:1px solid #e3d5c3;background:#fffefa;color:#51412e;border-radius:8px;padding:9px 25px 9px 9px;min-height:38px}
.vg-stock-tools-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:13px}
.vg-stock-tools-row button{font-size:11px;padding:9px 11px;white-space:normal}
.vg-stock-filtered-totals{padding:13px 15px}
.vg-stock-filtered-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.vg-stock-filtered-grid>div{padding:7px 11px;border-left:3px solid #d7bd90;background:#faf6ef;border-radius:5px;min-width:0}
.vg-stock-filtered-grid span{display:block;color:#866e4d;font-size:10px;margin-bottom:4px}
.vg-stock-filtered-grid strong{font-size:14px;color:#4b351b;overflow-wrap:anywhere}
.vg-stock-table-container{border:1px solid #e6d8c5;border-radius:14px;overflow:hidden;background:#fffdfa;box-shadow:0 2px 10px #6e4d3212;max-width:100%;min-width:0;margin:13px 0}
.vg-stock-detailed-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}
.vg-stock-detailed-table th{color:#755733;text-align:left;letter-spacing:.02em;font-size:10px;line-height:1.3;background:#fbf1e4;padding:11px 6px;border-bottom:1px solid #e5d7c3;vertical-align:middle;overflow-wrap:anywhere}
.vg-stock-detailed-table td{color:#554737;padding:11px 6px;border-bottom:1px solid #eee4d8;line-height:1.45;overflow-wrap:anywhere;vertical-align:middle}
.vg-stock-detailed-table tbody tr:last-child td{border-bottom:0}
.vg-stock-detailed-table tbody tr:nth-child(even){background:#fffbf5}
.vg-stock-detailed-table tbody tr:hover{background:#fff6e8}
.vg-stock-detailed-table th:first-child,.vg-stock-detailed-table td:first-child{padding-left:12px}
.vg-stock-detailed-table th:last-child,.vg-stock-detailed-table td:last-child{padding-right:10px}
.vg-stock-detailed-table th:nth-child(1){width:15%}
.vg-stock-detailed-table th:nth-child(2){width:8%}
.vg-stock-detailed-table th:nth-child(3){width:9%}
.vg-stock-detailed-table th:nth-child(4){width:8%}
.vg-stock-detailed-table th:nth-child(5){width:7%}
.vg-stock-detailed-table th:nth-child(6){width:5.5%}
.vg-stock-detailed-table th:nth-child(7){width:5.5%}
.vg-stock-detailed-table th:nth-child(8){width:8%}
.vg-stock-detailed-table th:nth-child(9){width:8%}
.vg-stock-detailed-table th:nth-child(10){width:8%}
.vg-stock-detailed-table th:nth-child(11){width:8%}
.vg-stock-detailed-table th:nth-child(12){width:10%}
.vg-stock-name{color:#473015;font-size:12px}
.vg-stock-sku-code{font-size:10px;color:#876c45;word-break:break-word}
.vg-stock-col-qty strong{font-size:14px;color:#51391f}
.vg-stock-col-qty small{display:block;margin-top:3px;font-size:9px;font-weight:700}
.vg-stock-zero{color:#aa4c47}.vg-stock-low{color:#956b23}
.vg-stock-col-price strong,.vg-stock-col-cost strong{font-size:11px;white-space:nowrap;color:#493823}
.vg-stock-cell-actions{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.vg-stock-cell-actions .tiny-btn{font-size:9px;line-height:1.1;padding:6px 7px;min-height:27px;white-space:normal}
.vg-stock-cell-actions .vg-stock-sold-out{font-size:9px;padding:5px 6px;min-height:25px}
.vg-stock-item-soldout{background:#fff8f7!important}
@media (min-width:1251px) and (max-width:1580px){
 .vg-stock-detailed-table .vg-stock-col-print,.vg-stock-detailed-table th:nth-child(5){display:none}
 .vg-stock-detailed-table th:nth-child(1){width:16%}
 .vg-stock-detailed-table th:nth-child(2){width:7%}
 .vg-stock-detailed-table th:nth-child(3){width:9%}
 .vg-stock-detailed-table th:nth-child(4){width:8%}
 .vg-stock-detailed-table th:nth-child(6){width:5%}
 .vg-stock-detailed-table th:nth-child(7){width:5%}
 .vg-stock-detailed-table th:nth-child(8){width:9%}
 .vg-stock-detailed-table th:nth-child(9){width:9%}
 .vg-stock-detailed-table th:nth-child(10){width:10%}
 .vg-stock-detailed-table th:nth-child(11){width:9%}
 .vg-stock-detailed-table th:nth-child(12){width:13%}
}
/* Em notebooks e celulares, cada peça vira uma ficha; todos os campos recebem legenda individual. */
@media(max-width:1250px){
 .vg-stock-table-container{border:0;box-shadow:none;background:transparent;overflow:visible}
 .vg-stock-detailed-table,.vg-stock-detailed-table tbody{display:block;width:100%}
 .vg-stock-detailed-table thead{display:none}
 .vg-stock-detailed-table tbody{display:grid;gap:10px}
 .vg-stock-detailed-table tbody tr,.vg-stock-detailed-table tbody tr:nth-child(even){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 12px;padding:13px;border:1px solid #e7d8c5;background:#fffdfa;border-radius:12px;box-shadow:0 2px 9px #ac8b6220}
 .vg-stock-detailed-table td{display:block;min-width:0;padding:0!important;border:0!important;overflow-wrap:anywhere}
 .vg-stock-detailed-table td:before{content:attr(data-label);display:block;color:#997444;font-size:9px;letter-spacing:.025em;text-transform:uppercase;font-weight:800;margin-bottom:4px}
 .vg-stock-detailed-table .vg-stock-col-name{grid-column:span 2}
 .vg-stock-detailed-table .vg-stock-col-actions{grid-column:1/-1;border-top:1px solid #f0e5d8!important;padding-top:10px!important}
 .vg-stock-detailed-table .vg-stock-cell-actions{gap:6px}
 .vg-stock-detailed-table .vg-stock-cell-actions .tiny-btn{font-size:11px;padding:8px 10px}
 .vg-stock-detailed-table .vg-stock-col-price strong,.vg-stock-detailed-table .vg-stock-col-cost strong{font-size:12px}
}
@media(max-width:760px){
 .vg-stock-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vg-stock-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vg-stock-filtered-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vg-stock-detailed-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vg-stock-detailed-table .vg-stock-col-name{grid-column:1/-1}
}
@media(max-width:430px){
 .vg-stock-total-panel,.vg-stock-filter-panel{padding:12px}
 .vg-stock-total-card{padding:10px}
 .vg-stock-total-card>strong{font-size:17px}
 .vg-stock-filtered-totals{padding:11px}
 .vg-stock-filter-grid{grid-template-columns:1fr 1fr;gap:7px}
 .vg-stock-filter select{padding:8px 18px 8px 7px;font-size:11px}
}
/* Mais espaço para as linhas do estoque em monitores comuns. */
@media(min-width:1251px){
 .vg-stock-total-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
 .vg-stock-total-card{padding:10px 11px;min-height:87px}
 .vg-stock-total-card>strong{font-size:18px}
 .vg-stock-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .vg-stock-total-panel,.vg-stock-filter-panel{padding:13px 15px}
}

/* Verdalle 1.5.38 — edição segura do registro de Compras e lotes. */
.vg-edit-purchase-form{display:grid;gap:15px;min-width:0}
.vg-edit-purchase-blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start}
.vg-edit-purchase-block{min-width:0;border:1px solid #e8d7bc;background:#fffdf9;border-radius:13px;padding:14px}
.vg-edit-purchase-block>.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.vg-edit-purchase-lines{display:grid;gap:9px;margin:12px 0}
.vg-edit-purchase-item{display:grid;grid-template-columns:minmax(0,2fr) minmax(70px,0.85fr) minmax(105px,1fr);gap:9px;align-items:end;border-top:1px solid #efe4d1;padding-top:9px}
.vg-edit-purchase-item .field.wide{grid-column:auto}
.vg-edit-purchase-item .field{min-width:0}
.vg-edit-purchase-item .field input,.vg-edit-purchase-item .field select{width:100%;min-width:0}
.vg-edit-purchase-item .tiny-btn{grid-column:1 / -1;justify-self:end}
.vg-edit-purchase-form input[readonly]{background:#f6f2e9;color:#766955}
.vg-purchase-edit-warning{border:1px solid #e5cfa3;background:#fff8ec;border-radius:12px;padding:13px 16px;color:#695136;line-height:1.5;font-size:12px}
.vg-purchase-edit-warning p{margin:5px 0 0}
.vg-edit-purchase-ack{display:flex;align-items:flex-start;gap:10px;border:1px solid #dfcaa3;background:#fffaf0;padding:14px;border-radius:10px;color:#493823;font-size:12px;line-height:1.5}
.vg-edit-purchase-ack input{margin-top:3px;flex-shrink:0}
.vg-edit-purchase-modal #vg-edit-purchase-preview p{margin:7px 0 0}
@media(max-width:1120px){.vg-edit-purchase-blocks{grid-template-columns:1fr}}
@media(max-width:610px){.vg-edit-purchase-block{padding:11px}.vg-edit-purchase-item{grid-template-columns:minmax(0,1fr) minmax(62px,75px);gap:8px}.vg-edit-purchase-item .field.wide{grid-column:1/-1}.vg-edit-purchase-item .field input{padding:8px 6px}.vg-edit-purchase-block>.field-grid{grid-template-columns:1fr}}

/* Verdalle 1.5.39 — complementos históricos de compra recebida */
.vg-edit-historical-note{grid-column:1/-1;border-radius:8px;background:#fff4dd;border:1px solid #e5c996;padding:8px 10px;color:#714d21;font-size:12px;line-height:1.45}
.vg-edit-purchase-added{border-top:2px solid #d2aa62;background:#fffcf6;border-radius:8px;padding:10px}
.vg-edit-purchase-historical{border-left:3px solid #c49a56;padding-left:8px}
.vg-purchase-historical-label{color:#926226;font-weight:600;margin-top:4px;line-height:1.35}
.vg-edit-rateio-details{margin-top:10px;border-top:1px solid #eadbc4;padding-top:10px}
.vg-edit-rateio-details summary{cursor:pointer;font-weight:600;font-size:12px;color:#80511a}
.vg-edit-rateio-details .table-scroll{max-height:250px;overflow:auto;margin-top:8px}
.vg-edit-purchase-subtotal{line-height:1.45}
@media(max-width:650px){.vg-edit-rateio-details .table{min-width:430px}.vg-edit-purchase-added{padding:8px}}

/* Verdalle 1.5.40 — ação evidente para aplicar um valor a todos os marcados */
.vg-bulk-apply-all{background:#fff8ed;border:1px solid #dfbd8f;border-radius:14px;padding:16px;margin-bottom:14px}
.vg-bulk-apply-all h3{font-size:15px;margin:0 0 9px;color:#704616}
.vg-bulk-apply-all p{line-height:1.6;margin:6px 0 14px;color:#65513d}
.vg-bulk-apply-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:16px}
.vg-bulk-apply-actions span{font-size:12px;color:#79634a;flex:1 1 210px}
.vg-bulk-apply-actions .primary-btn{white-space:normal;text-align:center}
@media(max-width:680px){.vg-bulk-apply-actions .primary-btn{width:100%}}

/* Identificação inequívoca do ambiente de testes. */
.vg-test-ribbon{position:fixed;right:12px;bottom:12px;z-index:9999;
 background:#3b2612;color:#fff8e8;border:2px solid #f4bf57;
 box-shadow:0 6px 30px #20100060;border-radius:12px;padding:9px 14px;
 display:flex;flex-direction:column;align-items:center;gap:2px;
 font:700 12px/1.3 Arial,sans-serif;pointer-events:none;max-width:calc(100vw - 24px);
}
.vg-test-ribbon span{font-weight:400;font-size:11px;opacity:.95}
@media(max-width:480px){.vg-test-ribbon{right:8px;bottom:8px;padding:6px 9px;font-size:10px}.vg-test-ribbon span{font-size:9px}}
