/* V384 — Commercial format emphasis shared across positional sales screens.
 * One consistent format indicator, separate from ABV and RF/NRF/T1/T2 colors.
 * Render-only; no data, permissions, pricing or stock changes.
 */
body.emwh-client-portal-page .emwh-v384-format,
body.emwh-public-standalone .emwh-v384-format {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  padding:3px 8px!important;
  margin:0!important;
  background:#fff1d8!important;
  color:#774807!important;
  border:1px solid #e4bb70!important;
  border-radius:6px!important;
  font-weight:850!important;
  font-size:11px!important;
  line-height:1.35!important;
  letter-spacing:.01em!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  box-shadow:none!important;
  text-transform:none!important;
  vertical-align:middle!important;
}
/* Existing ABV band and customs colours remain untouched. */
body.emwh-client-portal-page .emwh-v348-format,
body.emwh-client-portal-page .emwh-v241-format,
body.emwh-client-portal-page .emwh-client-brand-position-spec,
body.emwh-client-portal-page .emwh-client-brand-product-showcase-spec {
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  column-gap:5px!important;
  row-gap:4px!important;
}
body.emwh-client-portal-page main.emwh-private-position-v367 .emwh-v383-detail-format.emwh-v384-format {
  background:#fff1d8!important;
  color:#774807!important;
  border-color:#e4bb70!important;
  font-weight:850!important;
}
/* A format label inside an inline panel is allowed to grow without changing
 * the card height when its value fits naturally. */
body.emwh-client-portal-page .emwh-client-table--positions .emwh-client-format-abv>.emwh-v384-format,
body.emwh-client-portal-page .emwh-v241-card-grid .emwh-v241-format>.emwh-v384-format,
body.emwh-client-portal-page .emwh-v348-offer-card .emwh-v348-format>.emwh-v384-format {
  flex:0 0 auto!important;
}
body.emwh-public-standalone .emwh-public-attribute.emwh-v384-format {
  background:#fff1d8!important;
  color:#774807!important;
  border-color:#e4bb70!important;
}
@media(max-width:700px) {
  body.emwh-client-portal-page .emwh-v384-format,
  body.emwh-public-standalone .emwh-v384-format {
    font-size:10px!important;
    padding:2px 6px!important;
  }
}
