/* Painting uses the same shared trade header and one-customer entry flow as Home Repair. */
.painting-shared-estimate-page {
  display: grid;
  gap: 12px;
}

.painting-shared-estimate-top {
  margin-top: 0;
}

.painting-shared-trade-command > div > span.orange {
  color: #ff871e;
}

.painting-shared-trade-command > nav {
  flex-wrap: wrap;
}

.painting-shared-trade-command .proposal-workflow-actions {
  display: contents;
}

.painting-estimate-identity > div {
  grid-template-rows: auto auto auto;
}

.painting-estimate-identity > div > span {
  grid-row: 1 / 4;
}

.painting-estimate-identity > div > em {
  grid-column: 2;
  overflow: hidden;
  color: #8fa3b5;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.painting-customer-start-modal .hgc-customer-start-dialog > header > span,
.painting-customer-start-modal .hgc-customer-start-dialog > footer p > span {
  color: #ff8a24;
  border-color: #ff7a18;
}

.painting-customer-start-modal .hgc-customer-start-dialog > header p {
  color: #ff9638;
}

.painting-customer-start-modal .hgc-customer-continue {
  border-color: #ff7a18;
  background: #ff7a18;
  color: #07111a;
}

.painting-customer-start-modal .hgc-customer-continue:hover:not(:disabled) {
  border-color: #ffa14d;
  background: #ff9638;
}

.painting-customer-direct-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff9a42;
  font-size: 14px;
  font-weight: 800;
}

.painting-customer-direct-note svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1180px) {
  .painting-shared-trade-command {
    align-items: flex-start;
    flex-direction: column;
  }

  .painting-shared-trade-command > nav {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .painting-shared-trade-command > nav > button,
  .painting-shared-trade-command > nav .proposal-workflow-actions > button {
    flex: 1 1 190px;
  }

  .painting-estimate-identity {
    grid-template-columns: 1fr;
  }

  .painting-estimate-identity > .hgc-estimate-customer,
  .painting-estimate-identity > div {
    border-right: 0;
    border-bottom: 1px solid #284155;
  }

  .painting-estimate-identity > div:last-child {
    border-bottom: 0;
  }
}
