body.rm-field #openUnifarmaFair{width:100%;text-align:left;display:block;background:var(--field-brand,#c8f525);color:#003843;border:1px solid #a3c62b;margin:0 0 12px;padding:13px 15px;font-weight:700;font-size:17px}
body.rm-field dialog.showroom-dialog{width:min(1120px,calc(100vw - 24px));max-width:1120px;max-height:94dvh;padding:16px;color:var(--surface-ink);background:var(--glass);box-sizing:border-box}
.showroom-hero{display:flex;align-items:center;justify-content:space-between;padding:18px;border-radius:12px;background:linear-gradient(90deg,#003843e8,#00384380),url('scenes/comercial.webp') center/cover;color:white;gap:12px}
.showroom-hero h2{color:white!important;margin:6px 0;font-size:30px}.showroom-hero p{margin:4px 0;color:#d5f0e9}.showroom-hero small{color:#c8f525}
.showroom-tools{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin:12px 0}.showroom-tools input,.showroom-tools select{width:100%;box-sizing:border-box;min-width:0}
.showroom-row{display:flex;align-items:center;border-bottom:1px solid var(--surface-line);padding:8px 0;gap:6px}.showroom-row>button:last-child{flex:none;font-size:25px}
body.rm-field .showroom-product{display:flex;align-items:center;gap:13px;flex:1;min-width:0;text-align:left;background:transparent;color:var(--surface-ink);border:0;box-shadow:none;padding:4px}
.showroom-thumb{width:62px;height:80px;object-fit:contain;flex:none}.showroom-info{display:block;min-width:0;flex:1}.showroom-info strong{display:block;font-size:16px;line-height:1.35}.showroom-info small{display:block;font-size:12px;margin:4px 0}.showroom-tiers{display:flex;gap:7px;flex-wrap:wrap}.showroom-tiers>span{background:var(--glass-soft);border:1px solid var(--surface-line);padding:5px 8px;border-radius:7px;font-size:12px;font-weight:600}
.photo-missing{display:grid;place-items:center;text-align:center;font-size:11px;color:var(--surface-muted);background:var(--glass-soft);border:1px dashed var(--surface-line);border-radius:7px}
body.rm-field dialog.showroom-presentation{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:20px;border:0;border-radius:0;box-sizing:border-box;background:linear-gradient(#003843d9,#003843e8),url('scenes/comercial.webp') center/cover;color:#fff}
.showroom-presentation>header,.showroom-presentation>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:1200px;margin:auto}.showroom-presentation>header strong{font-size:25px}.showroom-presentation>header p{color:#c8f525;font-size:14px;margin:8px 0}.showroom-presentation>footer{margin-top:14px}
#presentationBody{display:grid;grid-template-columns:1fr 1.35fr;gap:25px;align-items:center;background:var(--glass);color:var(--surface-ink);border-radius:14px;padding:24px;max-width:1120px;margin:20px auto;box-sizing:border-box}.presentation-media{display:flex;justify-content:center}.presentation-photo{width:100%;height:370px;object-fit:contain}.presentation-info h2{font-size:29px;margin:0}.presentation-info>p{font-size:17px}.presentation-tiers{display:grid;gap:9px;margin:18px 0}.presentation-tiers>button{font-size:19px;text-align:left;padding:15px!important;white-space:normal}.presentation-tiers>button[aria-pressed=true]{background:#008f83;color:#fff;border:2px solid #c8f525}.presentation-info input[type=number]{max-width:200px;display:block;font-size:22px}.presentation-total{font-size:26px!important;font-weight:700;color:#008675}.presentation-info details{font-size:12px}.presentation-info details input[type=file]{max-width:100%}
.showroom-shortcuts{display:flex;gap:8px;flex-wrap:wrap}.showroom-shortcuts button{flex:1;white-space:normal}
body.rm-field dialog.material-viewer{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:14px;box-sizing:border-box;background:#003843;color:white;border:0;border-radius:0;overflow:auto}.material-viewer header{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#003843;padding:8px;z-index:1}.material-viewer>img{display:block;max-height:calc(100dvh - 100px);max-width:100%;object-fit:contain;margin:auto}.material-viewer>img.material-zoom{max-height:none;max-width:none;width:150%}.material-viewer textarea{display:block;width:95%;height:110px;margin:15px auto}
@media(max-width:650px){body.rm-field dialog.showroom-presentation{padding:12px}.showroom-tools{grid-template-columns:1fr}.showroom-hero{padding:12px}.showroom-hero h2{font-size:25px}.showroom-info strong{font-size:14px}.showroom-tiers>span{font-size:11px;padding:4px}.showroom-thumb{width:46px;height:68px}#presentationBody{grid-template-columns:1fr;gap:10px;padding:16px;margin:12px auto}.presentation-photo{height:160px}.presentation-info h2{font-size:23px}.presentation-tiers>button{font-size:15px;padding:11px!important}.showroom-presentation>header strong{font-size:20px}.presentation-total{font-size:22px!important}.showroom-presentation>footer{font-size:13px}}
body.rm-field.traxio-ui-ready #showroomPresentation>header,body.rm-field.traxio-ui-ready #showroomPresentation>footer,body.rm-field.traxio-ui-ready #showroomPresentation>header strong,body.rm-field.traxio-ui-ready #presentationCounter{color:#fff}
body.rm-field.traxio-ui-ready #presentationValidity{color:#c8f525}
body.rm-field.traxio-ui-ready #showroomPresentation #presentationBody .presentation-tiers>button[aria-pressed=true]{background:#008f83;color:#fff;border:2px solid #c8f525;box-shadow:none}
body.rm-field.traxio-ui-ready #showroomPresentation #presentationTotal{color:var(--surface-ink);background:var(--glass-soft);border-left:4px solid #008f83;border-radius:6px;padding:12px}
body.rm-field.traxio-ui-ready #showroomDialog .showroom-hero :is(h2,p){color:#fff}
body.rm-field.traxio-ui-ready #savedMaterialViewer>header{color:#fff}
.material-viewer header{flex-wrap:wrap}.material-viewer header strong{flex:1 1 150px;overflow-wrap:anywhere}
body.rm-field #showroomDialog[data-fair=true] .showroom-hero{background-image:linear-gradient(90deg,#082e50e8,#00384380),url('scenes/feira.webp');background-position:center 22%}
body.rm-field dialog#showroomPresentation[data-fair=true]{background-image:linear-gradient(#082e50d9,#003843e8),url('scenes/feira.webp');background-position:center 20%}
body.rm-field .showroom-fair-brands[hidden]{display:none!important}
body.rm-field .showroom-fair-brands{margin-bottom:10px;padding:5px 9px}
body.rm-field .showroom-fair-brands img{height:30px}
body.rm-field .showroom-fair-brands img:first-child{width:45px}
body.rm-field .showroom-fair-brands img:nth-child(2){width:145px}
/* Tier labels sit on a light/dark surface, even inside the product action button. */
body.rm-field.traxio-ui-ready #showroomDialog .showroom-product .showroom-tiers>span{color:var(--surface-ink);background:var(--glass-soft)}
#showroomOrderBar[hidden]{display:none!important}.showroom-order-bar{position:sticky;top:0;z-index:3;background:var(--glass);color:var(--surface-ink);border:1px solid var(--surface-line);padding:9px;display:flex;justify-content:space-between;gap:8px;align-items:center}.showroom-order-bar strong{font-size:13px;overflow-wrap:anywhere}.showroom-order-bar button{flex:none;font-size:13px}
#presentationAddToOrder,#presentationReviewOrder{margin:5px 8px 5px 0}#presentationOrderError{font-size:14px}

#showroomDateLabel{grid-column:1 / -1}
