/* Interior Painting audit fixes: presentation and assistive clarity only.
   The protected room fields, calculations, sequence, and saved data stay intact. */

@media (min-width: 901px) {
  .painting-proposal-flow .estimate-workflow,
  .shared-estimate-page .estimate-workflow {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .painting-module-shell.interior .painting-module-action-strip {
    padding: 10px 12px !important;
  }

  .painting-module-shell.interior .painting-module-action-strip .painting-module-actions {
    gap: 10px !important;
  }

  .painting-module-shell.interior .painting-module-action-strip .painting-module-actions > .btn,
  .painting-module-shell.interior .painting-module-action-strip .painting-module-actions > .primary {
    min-height: 46px !important;
    padding: 9px 13px !important;
    font-size: 13px !important;
  }
}

@media (min-width: 981px) {
  .painting-module-shell.interior .painting-prep-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  .painting-module-shell.interior .painting-prep-grid > label {
    min-width: 0 !important;
    align-content: start !important;
  }

  .painting-module-shell.interior .painting-prep-grid > label > :is(input, select) {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }
}

.painting-module-shell.interior .painting-reference-rooms .paint-room-main > div > strong {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: break-word !important;
}

.painting-module-shell.interior .painting-reference-room .paint-item-row.is-off .paint-item-main,
.painting-module-shell.interior .painting-reference-room .paint-item-row.is-off .paint-qty-stack,
.painting-module-shell.interior .painting-reference-room .paint-item-row.is-off .paint-flat-detail,
.painting-module-shell.interior .painting-reference-room .paint-item-row.is-off td:nth-child(4) {
  opacity: .92 !important;
}

.painting-module-shell.interior .painting-reference-room .paint-item-row.is-off .paint-item-main strong {
  color: #e7edf2 !important;
}

.painting-module-shell.interior .painting-reference-room .paint-item-row.is-off .paint-item-main small,
.painting-module-shell.interior .painting-reference-room .paint-item-row.is-off .paint-qty-stack small {
  color: #adbdca !important;
}

.cx-choice-grid:has(> .cx-choice:only-child) {
  grid-template-columns: minmax(0, 1fr) !important;
}

.cx-choice-grid > .cx-choice:only-child {
  width: 100% !important;
  max-width: none !important;
}
