/* QA1125: shared proposal tools belong inside the General Repairs inspector.
   Keep these styles scoped so Painting and Roofing retain their approved rails. */
.premium-app .hgc-root .hgc-gr-summary > .hgc-rail-measurements,
.premium-app .hgc-root .hgc-gr-summary > .hgc-gr-rail-work-order {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid #304657;
  border-radius: 8px;
  background: #071522;
}

.premium-app .hgc-root .hgc-gr-summary > .hgc-rail-measurements > header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.premium-app .hgc-root .hgc-gr-summary > .hgc-rail-measurements > header > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ff8618;
  border-radius: 50%;
  color: #ff8618;
  background: rgba(255, 134, 24, .08);
}

.premium-app .hgc-root .hgc-gr-summary > .hgc-rail-measurements > header svg {
  width: 17px;
  height: 17px;
}

.premium-app .hgc-root .hgc-gr-summary > .hgc-rail-measurements > header div {
  display: grid;
  gap: 2px;
}

.premium-app .hgc-root .hgc-gr-summary > .hgc-rail-measurements > header small,
.premium-app .hgc-root .hgc-gr-summary > .hgc-gr-rail-work-order > header small {
  color: #ff8618;
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: .04em;
}

.premium-app .hgc-root .hgc-gr-summary > .hgc-rail-measurements > header strong,
.premium-app .hgc-root .hgc-gr-summary > .hgc-gr-rail-work-order > header strong {
  color: #f5f9fc;
  font-size: 14px !important;
  line-height: 1.3;
}

.premium-app .hgc-root .hgc-gr-summary > .hgc-rail-measurements > header p,
.premium-app .hgc-root .hgc-gr-summary > .hgc-gr-rail-work-order > header p {
  margin: 0;
  color: #9db2c1;
  font-size: 13px !important;
  line-height: 1.4;
}

.premium-app .hgc-root .hgc-gr-summary > .hgc-rail-measurements > .if-measure-launch.is-compact-menu {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  justify-content: flex-start !important;
  border-color: #ff8618 !important;
  background: rgba(255, 134, 24, .1) !important;
  color: #fff !important;
  font-size: 14px !important;
}

.premium-app .hgc-root .hgc-gr-summary > .hgc-home-repair-approval-rail {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid #304657 !important;
  border-radius: 8px;
  background: #071522 !important;
}

.premium-app .hgc-root .hgc-gr-summary > .hgc-gr-rail-work-order > header {
  display: grid;
  gap: 3px;
}

.premium-app .hgc-root .hgc-gr-summary .hgc-gr-rail-work-order .hgc-work-order-menu {
  position: relative;
  width: 100%;
}

.premium-app .hgc-root .hgc-gr-summary .hgc-gr-rail-work-order .hgc-work-order-menu > summary {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  font-size: 14px;
}

.premium-app .hgc-root .hgc-gr-summary .hgc-gr-rail-work-order .hgc-work-order-menu-panel {
  position: static;
  width: 100%;
  margin-top: 8px;
  box-shadow: none;
}
