.sd-table-filter-toolbar{margin:10px 0 12px;padding:10px;border:1px solid rgba(113,178,255,.28);border-radius:10px;background:rgba(10,25,40,.55)}
.sd-filter-row{display:flex;align-items:end;flex-wrap:wrap;gap:10px}
.sd-filter-field{display:flex;flex-direction:column;gap:4px;color:#cfe7ff;font-size:12px;font-weight:700}
.sd-filter-search{min-width:260px;flex:1 1 260px}
.sd-filter-field input,.sd-filter-field select{min-height:34px;border:1px solid rgba(113,178,255,.30);border-radius:8px;background:rgba(5,12,18,.88);color:#eef8ff;padding:6px 9px;outline:none}
.sd-filter-field input:focus,.sd-filter-field select:focus{border-color:rgba(74,163,255,.85);box-shadow:0 0 0 2px rgba(74,163,255,.16)}
.sd-filter-actions{display:flex;flex-wrap:wrap;gap:8px}
.sd-filter-actions button{min-height:34px;border:1px solid rgba(113,178,255,.35);border-radius:8px;background:rgba(13,39,62,.92);color:#eaf7ff;font-weight:800;padding:6px 10px;cursor:pointer}
.sd-filter-actions button:hover{background:rgba(24,76,118,.95)}
.sd-filter-count{color:#91cfff;font-weight:800;min-height:34px;display:flex;align-items:center;padding:0 4px}
@media(max-width:900px){.sd-filter-search{min-width:100%}.sd-filter-field{flex:1 1 150px}}

/* Milestone 8H-F: compact customization price range */
.custom-price-range,
.sd-custom-price-range,
.price-range-custom {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(2.15rem, 4.2vw, 3.1rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.custom-price-subtitle,
.sd-custom-price-subtitle {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 800;
  color: rgba(235, 247, 255, 0.92);
}

.custom-price-note,
.sd-custom-price-note {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(235, 247, 255, 0.82);
}

@media (max-width: 420px) {
  .custom-price-range,
  .sd-custom-price-range,
  .price-range-custom {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
    letter-spacing: -0.055em;
  }
}

/* Milestone 8H-K: customer account table filter date alignment */
.sd-table-filter-toolbar {
  overflow: visible;
}

.sd-filter-row {
  align-items: end;
}

.sd-table-filter-toolbar .sd-filter-field {
  min-width: 0;
}

.sd-table-filter-toolbar .sd-filter-field:not(.sd-filter-search) {
  flex: 0 0 auto;
}

.sd-table-filter-toolbar .sd-filter-field input,
.sd-table-filter-toolbar .sd-filter-field select {
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  line-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
}

.sd-table-filter-toolbar .sd-filter-field input[type="date"] {
  width: 142px;
  min-width: 142px;
  max-width: 142px;
  padding: 0 9px;
  line-height: 38px;
  font-size: 0.9rem;
}

.sd-table-filter-toolbar .sd-filter-field select {
  width: 138px;
  min-width: 138px;
}

.sd-table-filter-toolbar .sd-filter-search input {
  width: 100%;
}

.sd-table-filter-toolbar .sd-filter-actions {
  align-items: end;
}

.sd-table-filter-toolbar .sd-filter-actions button {
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 12px;
  line-height: 1;
}

.sd-table-filter-toolbar .sd-filter-count {
  width: 100%;
  min-height: 26px;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .sd-table-filter-toolbar .sd-filter-field input[type="date"],
  .sd-table-filter-toolbar .sd-filter-field select {
    width: 100%;
    max-width: none;
  }

  .sd-table-filter-toolbar .sd-filter-field:not(.sd-filter-search) {
    flex: 1 1 150px;
  }

  .sd-table-filter-toolbar .sd-filter-actions button {
    flex: 1 1 auto;
  }
}

/* Milestone 8I-A: compact custom build price display */
.custom-build-price-range,
.sd-custom-build-price-range,
.custom-price-range,
.sd-custom-price-range,
.price-range-custom {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.custom-build-price-subtitle,
.sd-custom-build-price-subtitle,
.custom-price-subtitle,
.sd-custom-price-subtitle {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 850;
}

/* Milestone 8I-C: prevent pricing-card amount style inside support workflow copy */
.support-workflow .custom-build-price-range,
.support-workflow .sd-custom-build-price-range,
.support-workflow .custom-price-range,
.support-workflow .sd-custom-price-range,
.support-workflow .price-range-custom,
.admin-support-workflow .custom-build-price-range,
.admin-support-workflow .sd-custom-build-price-range,
.admin-support-workflow .custom-price-range,
.admin-support-workflow .sd-custom-price-range,
.admin-support-workflow .price-range-custom {
  display: inline !important;
  white-space: normal !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  font-weight: inherit !important;
}
