/* Keep the portal's minimum touch target without changing room rendering. */
[data-theme="d03"] .preference-menu > summary { min-height: 44px; min-width: 44px; }
/* The metric selector must not retain the foundation theme's light surface. */
[data-theme="d03"] .setup-metric-units { background: var(--studio-raised); }
[data-theme="d03"] .setup-metric-options button {
  background: var(--studio-panel);
  color: var(--studio-text);
  border-color: #52616a;
}
[data-theme="d03"] .setup-metric-options button:hover { border-color: var(--studio-accent); }
[data-theme="d03"] .setup-metric-options button.is-active {
  background: var(--studio-accent);
  color: #202226;
  border-color: var(--studio-accent);
}
[data-theme="d03"] .setup-metric-options button:focus-visible {
  outline: 2px solid var(--studio-accent);
  outline-offset: 3px;
}
[data-theme="d03"] .setup-metric-options span { opacity: 1; }
/* The room overlay already makes the drawing editor inert; keep its hidden
   controls out of the visual surface while the room workspace is open. */
body.customer-configuring > .topbar,
body.customer-configuring #editor-shell { visibility: hidden; }
.customer-workspace button,
.customer-workspace summary,
.customer-workspace select,
.customer-workspace input:not([type="checkbox"]):not([type="radio"]),
.customer-quote-dialog button,
.customer-quote-dialog input:not([type="checkbox"]):not([type="radio"]),
.customer-material-dialog button,
.customer-material-dialog select { min-height: 44px !important; min-width: 44px; }
.customer-workspace .customer-swatch { width: 44px; height: 44px; }
.customer-workspace button { min-width: 44px !important; }
.customer-wall-card header > span { color: #4c5449 !important; }

/* Shared identity with the ACUSTIMOD website; retain accessible text labels. */
[data-theme="d03"] .topbar .brand,
.customer-header .customer-brand {
  display: block; flex: 0 0 182px; width: 182px; height: 56px;
  overflow: hidden; font-size: 0; color: transparent;
  background: url("/prototype_customer_site/assets/brand/LogoAR_color_on_dark.svg") left center / contain no-repeat;
}
[data-theme="d03"] .topbar .brand svg,
.customer-header .customer-brand::before { display: none; }
[data-theme="d03"] .topbar .brand span { color: transparent; font-size: 0; }
@media (max-width: 560px) {
  [data-theme="d03"] .topbar .brand,
  .customer-header .customer-brand { flex-basis: 154px; width: 154px; height: 48px; }
}

.customer-quote-dialog select { width:100%; min-height:44px; min-width:0; padding:9px; background:#0c202a; color:#f0f3f4; border:1px solid #557180; border-radius:6px; font:inherit; }
.customer-quote-dialog .customer-change-country { align-self:flex-start; min-height:44px; width:auto; margin-top:4px; }
.customer-quote-dialog label small { color:#d5e1e8; line-height:1.45; }

/* Safari's contact autofill silhouette is unrelated to project geography. */
.customer-quote-dialog input[name=region]::-webkit-contacts-auto-fill-button,
.customer-quote-dialog input[name=city]::-webkit-contacts-auto-fill-button { visibility:hidden; pointer-events:none; position:absolute; }
