/* Scoped to this calculator: no global selectors, no external fonts or frameworks. */
.presmart-mvc {
  box-sizing: border-box;
  --psc-ink: #102847;
  --psc-muted: #4d5969;
  --psc-blue: #095b98;
  --psc-border: #cfdae5;
  --psc-soft-blue: #eaf2fb;
  --psc-green: #eaf6d8;
  color: var(--psc-ink);
  background: #fff;
  border: 1px solid var(--psc-border);
  border-radius: 16px;
  width: 100%;
  max-width: 1124px;
  margin: 18px auto;
  padding: clamp(20px, 3vw, 36px);
  font-family: inherit;
  line-height: 1.45;
  font-size: 16px;
  text-align: left;
  box-shadow: none;
}
.presmart-mvc *, .presmart-mvc *::before, .presmart-mvc *::after { box-sizing: border-box; }
.presmart-mvc__header { margin-bottom: 24px; }
.presmart-mvc__header h2 { color: var(--psc-ink); font-weight: 750; font-size: clamp(30px, 3.3vw, 38px); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 4px; }
.presmart-mvc__header .presmart-mvc__tagline { color: var(--psc-ink); font-size: clamp(24px, 2.7vw, 29px); font-weight: 750; font-style: italic; line-height: 1.3; margin: 4px 0 0; }
.presmart-mvc__input-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 20px; margin-bottom: 24px; }
.presmart-mvc__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.presmart-mvc__field label { display: block; color: var(--psc-ink); font-size: 14px; line-height: 1.35; font-weight: 650; margin: 0; }
.presmart-mvc__field :is(input,select) { background: white; color: var(--psc-ink); border: 1px solid #a7b3c0; border-radius: 9px; padding: 9px 12px; min-height: 45px; width: 100%; font-family: inherit; font-size: 16px; line-height: 1.3; box-shadow: none; }
.presmart-mvc__field select { cursor: pointer; }
.presmart-mvc__postage-mode { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.presmart-mvc__back-to-presets { background: none; border: 0; color: var(--psc-blue); text-decoration: underline; font: inherit; font-size: 12px; line-height: 1.35; padding: 0; margin: 1px 0 0; text-align: left; cursor: pointer; align-self: flex-start; }
.presmart-mvc__back-to-presets:hover { color: #073e6c; }
/* Align the USPS benchmark with the slider label in size, while keeping it visually secondary. */
.presmart-mvc__range-top label .presmart-mvc__usps-note { display: inline; font-size: 16px !important; font-weight: 450; color: var(--psc-muted); margin-left: 5px; }

.presmart-mvc__field input::placeholder { color: #737e8c; opacity: 1; }
.presmart-mvc__field input[aria-invalid="true"] { border-color: #a92222; }
.presmart-mvc__range-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.presmart-mvc__range-top label { color: var(--psc-ink); font-weight: 750; font-size: 16px; line-height: 1.35; }
.presmart-mvc__range-top output { color: var(--psc-ink); font-size: 20px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.presmart-mvc__rate-group input[type="range"] { --presmart-progress: 4%; width: 100%; display: block; height: 25px; margin: 0 0 9px; padding: 0; border: 0; background: transparent; cursor: pointer; accent-color: var(--psc-blue); appearance: none; -webkit-appearance: none; }
.presmart-mvc__rate-group input[type="range"]::-webkit-slider-runnable-track { height: 7px; border-radius: 99px; border: 1px solid #c4c9ce; background: linear-gradient(to right,var(--psc-blue) var(--presmart-progress),#e4e6e8 var(--presmart-progress)); }
.presmart-mvc__rate-group input[type="range"]::-moz-range-track { height: 7px; border-radius: 99px; border: 1px solid #c4c9ce; background: linear-gradient(to right,var(--psc-blue) var(--presmart-progress),#e4e6e8 var(--presmart-progress)); }
.presmart-mvc__rate-group input[type="range"]::-webkit-slider-thumb { -webkit-appearance:none; appearance:none; background: var(--psc-blue); border: 0; border-radius: 50%; width: 18px; height: 18px; margin-top: -6px; }
.presmart-mvc__rate-group input[type="range"]::-moz-range-thumb { background: var(--psc-blue); border: 0; border-radius: 50%; width: 18px; height: 18px; }
/* Explicit paragraph selector prevents WordPress themes from enlarging this helper above the 16px label. */
.presmart-mvc p.presmart-mvc__help { margin: 3px 0 0; color: var(--psc-muted); font-size: 14px !important; line-height: 1.5 !important; font-weight: 400; }
.presmart-mvc__opportunity { margin-top: 22px; border-top: 1px solid #8397aa; padding-top: 21px; }
.presmart-mvc__section-title { font-size: 20px; line-height: 1.25; font-weight: 750; color: var(--psc-ink); background: var(--psc-soft-blue); border-radius: 10px; padding: 11px 15px; margin: 0 0 17px; }
.presmart-mvc__op1-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); gap: 24px; align-items: center; padding: 0 7px; }
.presmart-mvc__count-result { min-width: 0; padding: 4px 0; }
.presmart-mvc__count-result p { margin: 0 0 4px; font-size: 14px; color: var(--psc-ink); }
.presmart-mvc__count-result strong { color: var(--psc-ink); display: block; font-size: clamp(24px, 2.5vw, 26px); line-height: 1.2; font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.presmart-mvc__highlight { background: var(--psc-green); border-radius: 12px; padding: 15px 19px; min-width: 0; }
.presmart-mvc__highlight .presmart-mvc__eyebrow { margin: 0 0 4px; color: var(--psc-ink); font-weight: 800; text-transform: uppercase; line-height: 1.3; font-size: 14px; letter-spacing: .025em; }
.presmart-mvc__highlight strong { color: var(--psc-ink); display: block; font-size: clamp(27px, 3vw, 32px); line-height: 1.14; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.presmart-mvc__highlight p:last-child { font-size: 14px; color: #273d49; line-height: 1.45; margin: 5px 0 0; }
.presmart-mvc__op2-grid { display: grid; grid-template-columns: minmax(0,1.72fr) minmax(230px,1fr); gap: 24px; align-items: end; }
.presmart-mvc__op2-left { min-width: 0; }
.presmart-mvc__rate-group--recovery { margin-bottom: 22px; }
.presmart-mvc__rate-group--recovery .presmart-mvc__range-top label { font-weight: 750; font-size: 16px; }
.presmart-mvc__recovery-metrics { display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 17px; align-items: end; }
.presmart-mvc__recovery-metrics .presmart-mvc__count-result p { font-size: 14px; line-height: 1.35; }
.presmart-mvc__recovery-metrics .presmart-mvc__field label { min-height: 2.7em; display: flex; align-items: flex-end; }
.presmart-mvc__highlight--campaign { align-self: end; }
.presmart-mvc__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.presmart-mvc__actions :is(button,a) { min-height: 46px; border-radius: 8px; font: inherit; font-size: 16px; line-height: 1.3; font-weight: 650; text-align: center; text-decoration: none; padding: 12px 18px; cursor: pointer; display:inline-flex; align-items:center; justify-content:center; gap:12px; transition: background-color .15s ease; }
.presmart-mvc__reset { border: 1px solid var(--psc-blue); color: var(--psc-ink); background: white; }
.presmart-mvc__reset:hover { background: #edf5fb; }
.presmart-mvc__cta, .presmart-mvc__cta:visited { border: 1px solid var(--psc-blue); background: #11568b; color: #fff !important; }
.presmart-mvc__cta:hover { background: #0a3e67; color: #fff !important; }
/* Intentionally small legal note; stronger selector prevents WordPress theme paragraph typography from enlarging it. */
.presmart-mvc p.presmart-mvc__disclaimer { font-size: 12px !important; color: var(--psc-muted); line-height: 1.45 !important; margin: 17px 0 0; font-weight: 400; }
.presmart-mvc p.presmart-mvc__disclaimer strong { font-size: inherit !important; font-weight: 700; }
.presmart-mvc__error { color: #a92222; font-size: 13px; margin: 15px 0 0; }
.presmart-mvc [hidden] { display: none !important; }
.presmart-mvc :is(input,select,button,a):focus-visible { outline: 3px solid #f0a640; outline-offset: 3px; }
.presmart-mvc__sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 850px) {
  .presmart-mvc__input-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .presmart-mvc__op2-grid { grid-template-columns: 1fr; gap: 14px; }
  .presmart-mvc__recovery-metrics .presmart-mvc__field label { min-height: 0; }
  .presmart-mvc__highlight--campaign { max-width: 100%; }
}
@media (max-width: 620px) {
  .presmart-mvc { padding: 18px; border-radius: 12px; }
  .presmart-mvc__header h2 { font-size: 30px; }
  .presmart-mvc__section-title { font-size: 18px; }
  .presmart-mvc__input-grid { grid-template-columns: 1fr; gap: 13px; }
  .presmart-mvc__op1-grid { grid-template-columns: 1fr; gap: 13px; padding: 0; }
  .presmart-mvc__recovery-metrics { grid-template-columns: 1fr 1fr; gap: 13px; }
  .presmart-mvc__recovery-metrics .presmart-mvc__count-result { grid-column: 1/-1; }
  .presmart-mvc__actions { align-items: stretch; }
  .presmart-mvc__actions :is(button,a) { width: 100%; }
}
@media (max-width: 380px) { .presmart-mvc__recovery-metrics { grid-template-columns: 1fr; } }
