.xml-workspace-modal #modalBody>[hidden]{display:none!important}.xw714100{max-width:1380px;margin:0 auto;padding:8px 12px 24px;color:var(--text,#1c2940)}
.xw714100 h2{margin:3px 0;font-size:26px}.xw714100 h3{margin:16px 0 12px;font-size:18px}.xw714100 p{margin:6px 0 10px}.xw714100 small{display:block;color:var(--muted,#64748b);line-height:1.5}.xw714100 label{display:block;font-weight:600;font-size:13px;margin:8px 0}.xw714100 input,.xw714100 select{width:100%;min-height:42px;margin-top:5px}.xw714100 button{white-space:normal;min-height:40px}.xw-head,.xw-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.xw-head p{color:var(--muted,#64748b)}.xw-original{background:#eff6ff;border:1px solid #bfdbfe;padding:14px 18px;border-radius:10px;margin-top:12px}.xw-original p{font-size:17px;overflow-wrap:anywhere}.xw-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.xw-grid>section{min-width:0;border:1px solid #dbe3ed;border-radius:12px;padding:0 18px 18px;background:var(--panel,#fff)}.xw-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e2e8f0}.xw-card b{display:block;overflow-wrap:anywhere}.xw-card button{flex-shrink:0;max-width:125px}.xw-exact{color:#047857!important;font-weight:700}.xw-difference{color:#9a3412;font-size:12px}.xw-name{display:flex;gap:8px;align-items:center}.xw-name input{min-width:0}.xw-name button{flex-shrink:0}.xw-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.xw-cost{align-self:center;border-radius:8px;background:#f1f5f9;padding:12px}.xw-cost b{display:block;font-size:20px}.xw-help{font-size:13px;line-height:1.5;color:#64748b}.xw-family-choice{padding:12px;background:#eff6ff;border-radius:8px}.xw-family-choice button{margin-top:8px}.xw-message{font-size:14px;padding:10px 0;min-height:24px}.xw-message.error{color:#991b1b;background:#fef2f2;padding:12px;border-radius:8px}.xw-foot{position:sticky;bottom:0;background:var(--panel,#fff);padding:14px 0;margin-top:18px;border-top:1px solid #dbe3ed;z-index:2}.xml-final-review714100{padding:14px 18px;background:#eff6ff;color:#1e3a5f;border:1px solid #bfdbfe;border-radius:10px;margin:12px 0}.xml-product-tabs{flex-wrap:wrap}.xw714100 [hidden]{display:none!important}
@media(max-width:850px){.xw-grid{grid-template-columns:1fr}.xw714100{padding:4px}.xw-head{align-items:flex-start}.xw-head h2{font-size:22px}.xw-head button{width:100%}.xw-grid>section{padding:0 12px 12px}.xw-fields{gap:6px}.xw-foot{gap:8px}.xw-foot span{width:100%;text-align:center;order:3}.xw-name{flex-wrap:wrap}.xw-name input{flex-basis:100%}.xw-card{align-items:flex-start}}

/* 7.14.101: a altura pertence à janela; o corpo inteiro pode rolar.
   Sobrescreve as regras legadas de overflow:hidden e alturas fixas da grade. */
#modal.xml-workspace-modal{display:flex!important;flex-direction:column!important;box-sizing:border-box;min-height:0!important;overflow:hidden!important}
#modal.xml-workspace-modal.xml-force-fullscreen655{height:100vh!important;height:100dvh!important;max-height:100vh!important;max-height:100dvh!important}
#modal.xml-workspace-modal>.modal-head{flex:0 0 auto!important}
#modal.xml-workspace-modal #modalBody{display:block!important;flex:1 1 0%!important;min-height:0!important;min-width:0!important;height:auto!important;max-height:none!important;overflow:auto!important;scrollbar-gutter:stable;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#modal.xml-workspace-modal #xmlGridWrap538{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:55vh!important;max-height:none!important;overflow:auto!important}
#modal.xml-workspace-modal .xml-top-scroll538,#modal.xml-workspace-modal .xml-bottom-scroll598{max-width:100%;min-width:0;flex-shrink:0!important}
#modal.xml-workspace-modal[data-xml-wizard714101="1"] #modalBody{padding:12px 16px 20px!important;overflow-x:hidden!important}
#modal.xml-workspace-modal .xw714100{box-sizing:border-box;width:100%;max-width:none;min-width:0}
#modal.xml-workspace-modal .xw-foot{position:static}
#modal.xml-workspace-modal .xw-fields>div{min-width:0}
#modal.xml-workspace-modal .xw-cost,#modal.xml-workspace-modal .xw-price-help{grid-column:1/-1}
#modal.xml-workspace-modal [data-subgroup-choice]{min-width:0;width:100%;text-overflow:ellipsis}
#modal.xml-workspace-modal #modalBody::-webkit-scrollbar{width:14px;height:14px}
#modal.xml-workspace-modal #modalBody::-webkit-scrollbar-thumb{background:#9caec3;border:3px solid #f1f5f9;border-radius:8px}
#modal.xml-workspace-modal #modalBody::-webkit-scrollbar-track{background:#f1f5f9}
@media(max-width:600px){#modal.xml-workspace-modal[data-xml-wizard714101="1"] #modalBody{padding:8px!important}.xw-fields{grid-template-columns:1fr}.xw-head>div{min-width:0;width:100%}}
.xw714100 .xw-destination{max-width:560px;margin-top:18px}.xw-consumption{padding:16px 20px;border:1px solid #a7d5c4;border-radius:12px;background:#f0fdf4}.xw-consumption select{max-width:360px}.xw-consumption small{margin-top:10px}
.xw-tax{margin:16px 0;padding:0 18px 14px;border:1px solid #cbd5e1;border-radius:12px;background:var(--panel,#fff)}.xw-tax-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.xw-tax-summary b{display:block;font-size:18px;margin-top:4px}.xw-tax-status{font-size:13px;color:#166534}.xw-tax-status.pending{color:#92400e}.xw-tax details>summary{cursor:pointer;font-weight:600;padding:10px 0;color:#1d4ed8}.xw-tax fieldset{min-width:0;margin:0;padding:0;border:0}.xw-tax input[type=checkbox]{width:18px;min-height:18px;flex-shrink:0}.xw-tax .xw-tax-current{background:#eff6ff;outline:2px solid #93c5fd;outline-offset:-2px}.xw-tax .xml-tax71499{margin-top:8px}.xw-tax .xml-tax-scroll{max-width:100%}@media(max-width:600px){.xw-tax{padding:0 12px 12px}.xw-tax-summary{grid-template-columns:1fr 1fr}.xw-tax-summary b{font-size:16px}}
.xw-tax-summary .xw-tax-source{grid-column:1/-1;line-height:1.5;color:#64748b}

.xw-cost-compare714131{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}.xw-cost-compare714131>div{padding:12px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#0f172a}.xw-cost-compare714131 small{display:block;line-height:1.4}.xw-cost-compare714131 b{display:block;font-size:22px;margin:6px 0}.xw-cost-compare714131 .xw-cost-final714131{background:#ecfdf5;border:2px solid #16a34a;color:#14532d}.xw714100 .xw-cost{display:block}@media(max-width:700px){.xw-cost-compare714131{grid-template-columns:1fr}.xw-cost-compare714131 b{font-size:20px}}
