#period-row, #period-row-2{display: none !important;}
h2:before {    content: "";
    margin-bottom: 20px;
    height: 4px;
    width: 33px;
    background-color: #83bf2b;
    display: block;}
#calc {padding: 20px; background-color: #f5f5f5;}
.step-heading {margin-bottom: 40px !important; color: var(--theme-color-primary) !important;}
.rh-col .sfContentBlock {background-color: #f5f5f5; padding: 20px 20px 5px 20px;}
.rh-col table {margin-bottom: 0 !important;}
fieldset {margin-bottom: 20px;}
    legend { font-weight: 600; font-size: 1rem;}
    label {align-items: center; gap: 8px; }
    input[type="number"] { width: 100%; padding: 8px; border: 1px solid #bbb; border-radius: 6px; }
    .out { font-size: 2.5rem;font-weight: 700; color: var(--theme-green-primary); margin: 20px 0;}
    .muted { color: #666; font-size: 0.9rem; }
    .card { border: 1px solid #e5e5e5; border-radius: 10px; padding: 20px 20px 5px 20px; margin-bottom: 12px; }
    .small { font-size: 0.85rem; line-height: 110%;}
    .warn { background: #fff7e6; border-color: #ffd591; }
    .hide { display: none !important; }
    .btnrow{display:flex;gap:12px;flex-wrap:wrap}
    .btnrow .btn{padding:6px 25px; border-radius:8px;background:#fff;cursor:pointer;font-size:.95rem; color: #586476;}
    .btnrow .btn[aria-pressed="true"]{background: var(--theme-color-primary); border-color: var(--theme-color-primary); color: white;}
    /*.btn.alt{background:#f7f7f7}*/
    .kpi{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
    .kpi .card{display:flex;flex-direction:column;gap:6px}
    .mono{font-variant-numeric:tabular-nums}
    .table{width:100%;border-collapse:collapse}
    .table tr+tr td{border-bottom:1px solid #9d9d9c; border-top:1px solid #9d9d9c}
    .table td{padding: 1rem;}
    .right{text-align:right}

    /* header action bar */
    .actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}
    .actions .btn{border:1px solid #999}


/* Constrain dropdowns to container width */
#calc-fieldset select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;       /* allow text to wrap */
  overflow-wrap: break-word; /* break long text */
}

/* Improve dropdown appearance and alignment */
#calc-fieldset fieldset {
  display: block;
  width: 100%;
  max-width: 100%;
}

#calc-fieldset legend {
  font-weight: 600;
  margin-bottom: 4px;
}

#calc-fieldset select,
#calc-fieldset input[type="number"] {
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}
.accordion-ws {padding: 0 !important; margin-bottom: 20px;}
.accordion-ws-toggle {padding: 0.5% !important; font-size: 0.8rem !important;}
.accordion-ws b {color: var(--theme-color-primary) !important;}
#max-evr, #max-ind, #max-clinical {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 25px 0;
  color: var(--theme-green-primary);
}

.max-fees-card-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  font-weight: 600;
  text-align: left;
  line-height: 1.1;
}

/* icon aligned to text height */
.max-fees-card-heading::before {
  font: var(--fa-font-thin);
  font-size: 2.2em;       /* roughly the height of two text lines */
  line-height: 1;
  flex-shrink: 0;
  color: #83bf2b ;
}

/* Icons per card */
.kpi .card:nth-of-type(1) .max-fees-card-heading::before { content: "\f0f0"; } /* user-doctor */
.kpi .card:nth-of-type(2) .max-fees-card-heading::before { content: "\f5e4"; } /* car-side */
.kpi .card:nth-of-type(3) .max-fees-card-heading::before { content: "\f015"; } /* house */

#sah-price-list button:nth-of-type(1)::before { content: "\f0f0"; } /* user-doctor */
#sah-price-list button:nth-of-type(2)::before { content: "\f5e4"; } /* car-side */
#sah-price-list button:nth-of-type(3)::before { content: "\f015"; } /* house */



/* Price list styling */
#sah-price-list {border: 1px solid #f5f5f5;}
#sah-price-list .tabs{display:flex;gap:0}
#sah-price-list button::before{font: var(--fa-font-light);font-size: 1em;line-height: 1;flex-shrink: 0;color: #83bf2b;margin-right: 15px;}
#sah-price-list .tab{padding: 1.5rem 0;border: 0;background: white;font-size: 0.85em;width: 33.3%; color: #586476; font-weight: 600}
#sah-price-list .tab.is-active{background-color:#f5f5f5 ;border-bottom-color:#fff}
#sah-price-list .tabpanes{border:0 #ccc;padding:0;margin-top:-1px}
#sah-price-list table{width:100%;border-collapse:collapse; margin-bottom: 0;}
#sah-price-list th, #sah-price-list td{padding:.5rem;}
#sah-price-list th.right, #sah-price-list td.right{text-align:center; font-weight: 500;}
#sah-price-list .muted{color:#666}
#sah-price-list .pane[hidden]{display:none}
#sah-price-list em {font-size: 0.8rem; font-weight: 500;}
#sah-price-list th {vertical-align: top; padding: 1.5rem 1rem 1rem 1rem;  border-top: 0 !important;  border-bottom: 0 !important; border-radius: 0;}
#sah-price-list thead {background-color: #f5f5f5; border-bottom: 0 !important;}
#sah-price-list td {border-bottom: 1px solid #ebeae8; border-top: 0 !important;     padding: 1rem 1.5rem;}
#sah-price-list .right.green {color: var(--theme-color-primary); font-weight: 500;}

.input-dollar {
  position: relative;
}
.input-dollar::before {
  content: "$";
  position: absolute;
  left: 8px;
  font-size: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
}
.input-dollar {
  position: relative;
}
.input-dollar::before {
  content: "$";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
}
.input-dollar input {
  padding-left: 20px;
      width: 100%;
    max-width: 100%;
}
@media (max-width: 767px) {
  #calc{margin-bottom: 20px;}	
}

@media (max-width: 575px) {
  .kpi{grid-template-columns: none;}
    #sah-price-list .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 33.3%;
    padding: 1rem 0;
    text-align: center;
  }

  #sah-price-list button::before {
    display: block;
    margin: 0 0 6px 0;
    font-size: 1.4em;
  }
   /* constrain only the SAH estimate form */
  .estimate-form.sfContentBlock .row[data-sf-element="Row"] {
    margin-left: 0;
    margin-right: 0;
  }

  .estimate-form.sfContentBlock #contact-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .estimate-form.sfContentBlock #contact-fields input,
  .estimate-form.sfContentBlock #btn-email {
    width: 100%;
    box-sizing: border-box;
  }

  .estimate-form.sfContentBlock img,
  .estimate-form.sfContentBlock svg {
    max-width: 100%;
    height: auto;
  }

  .estimate-form.sfContentBlock [data-lastpass-icon-root] {
    display: none !important;
  }
  
    #sah-price-list .tabpanes {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding-bottom: 4px;

    /* Narrower, softer shadow hint */
    box-shadow: inset -16px 0 10px -10px rgba(0, 0, 0, 0.12);

    background: linear-gradient(to left, rgba(0, 0, 0, 0.08), transparent)
      right/24px 100% no-repeat;

    -webkit-mask-image: linear-gradient(
      to right,
      #000 0,
      #000 calc(100% - 24px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      #000 0,
      #000 calc(100% - 24px),
      transparent 100%
    );
  }
  
}

#results .right {font-weight: 600;}

.is-disabled { pointer-events: none; }

.btn-anchor::after {content: "\f063";font: var(--fa-font-solid);display: inline-block;margin-left: 0.5em;vertical-align: middle;}