/*
 * QA891 Painting room-flow correction.
 *
 * Leads remains the approved visual reference: a near-black canvas with dark
 * blue structural surfaces. Pricing, component formulas, and room totals are
 * intentionally untouched.
 */
.premium-app .proposal-page.pe-live:has(.painting-module-shell),
.premium-app .proposal-section-shell:has(.painting-module-shell),
.premium-app .proposal-section-shell:has(.painting-module-shell) > .proposal-page,
.premium-app .proposal-section-shell:has(.painting-module-shell) .pe-layout,
.premium-app .proposal-section-shell:has(.painting-module-shell) .pe-main,
.premium-app .painting-module-shell.interior,
.premium-app .painting-module-shell.interior .painting-project-builder,
.premium-app .painting-module-shell.interior .painting-module-builder,
.premium-app .painting-module-shell.interior .painting-pricing-workspace,
.premium-app .painting-module-shell.interior .paint-center {
  background:#020811 !important;
  background-image:none !important;
}

.premium-app .painting-module-shell.interior :is(
  .painting-reference-rooms,
  .painting-reference-summary,
  .painting-reference-room,
  .painting-reference-tabs,
  .painting-module-scope-bar,
  .painting-module-workflow
) {
  background:#04101a !important;
  background-image:none !important;
  border-color:#263d51 !important;
}

.premium-app .painting-module-shell.interior :is(
  .paint-room-top,
  .paint-room-total,
  .painting-reference-section,
  .painting-grouped-table,
  .paint-closet-block,
  .painting-whole-home-card,
  .painting-summary-metric,
  .paint-summary-lines,
  .paint-room-breakdown
) {
  background-color:#06111b !important;
  border-color:#263d51 !important;
}

.premium-app .painting-module-shell.interior .painting-room-actions [data-pe-action="add-room"] {
  min-width:132px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  background:#f45a0a !important;
  border-color:#f45a0a !important;
  color:#090d12 !important;
}

.premium-app .painting-module-shell.interior .painting-room-actions [data-pe-action="add-room"] svg {
  width:17px !important;
  height:17px !important;
}

.premium-app .painting-module-shell.interior .painting-room-actions [data-pe-action="add-room"]:hover,
.premium-app .painting-module-shell.interior .painting-room-actions [data-pe-action="add-room"]:focus-visible {
  background:#c94a08 !important;
  border-color:#ff8618 !important;
  outline:2px solid #ff8618 !important;
  outline-offset:2px !important;
}

@media (max-width:760px) {
  .premium-app .painting-module-shell.interior .painting-room-actions [data-pe-action="add-room"] {
    width:100% !important;
    min-height:48px !important;
  }
}
