/* THMC loan application: Score builder */
.thmc-score { max-width: 1040px; margin: 0 auto; }
.thmc-score .frame { display: grid; grid-template-columns: 1fr 340px; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; overflow: clip; background: var(--paper); }
.thmc-score .main { padding: 40px 44px; min-width: 0; }
.thmc-score .bars { display: flex; gap: 6px; margin: 12px 0 4px; }
.thmc-score .bars i { flex: 1; height: 3px; background: var(--rule); }
.thmc-score .bars i.on { background: var(--signal); }
.thmc-score .sl { margin-bottom: 26px; }
.thmc-score .seg-field { margin-bottom: 22px; }
.thmc-score .out { background: var(--deep); color: var(--paper); }
.thmc-score .out-in { position: sticky; top: 0; padding: 40px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.thmc-score .out .eyebrow { color: rgba(255,255,255,.6); align-self: stretch; text-align: left; }
.thmc-score .gauge { width: 100%; max-width: 260px; margin: 28px 0 0; }
.thmc-score .g-num { font: 800 64px/1 var(--display); letter-spacing: -.03em; margin-top: -70px; }
.thmc-score .g-tier { font: 600 18px var(--display); color: var(--signal); margin-top: 14px; }
.thmc-score .g-tier.amber { color: #F5B942; } .thmc-score .g-tier.red { color: #FF7A6B; }
.thmc-score .g-line { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 2px; }
.thmc-score .parts { list-style: none; width: 100%; margin-top: 28px; display: grid; gap: 10px; text-align: left; }
.thmc-score .parts li { display: flex; justify-content: space-between; font-size: 14px; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.12); padding-top: 10px; }
.thmc-score .parts b { font: 500 14px var(--data); color: var(--paper); }
.thmc-score .tip { width: 100%; text-align: left; margin-top: 20px; padding: 14px 16px; border-left: 3px solid var(--signal); background: rgba(255,255,255,.05); font-size: 14px; line-height: 1.45; }
.thmc-score .tip span { display: block; font: 700 11px var(--display); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.thmc-score .fine { margin-top: 24px; font: 12px/1.45 var(--data); color: rgba(255,255,255,.55); text-align: left; }
.thmc-score .g-mini { display: none; }
@media (max-width: 860px) {
  .thmc-score .frame { grid-template-columns: 1fr; }
  .thmc-score .out { order: -1; position: sticky; top: 0; z-index: 5; }
  .thmc-score .out-in { position: static; padding: 14px 20px; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .thmc-score .out .eyebrow, .thmc-score .gauge, .thmc-score .g-num, .thmc-score .g-tier, .thmc-score .g-line, .thmc-score .parts, .thmc-score .tip, .thmc-score .fine { display: none; }
  .thmc-score .g-mini { display: flex; width: 100%; align-items: center; gap: 14px; }
  .thmc-score .g-mini b { font: 800 32px/1 var(--display); letter-spacing: -.03em; }
  .thmc-score .g-mini div { flex: 1; }
  .thmc-score .g-mini span { display: block; font: 700 11px var(--display); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
  .thmc-score .g-mini em { font: 600 15px var(--display); font-style: normal; color: var(--signal); }
  .thmc-score .g-mini i { display: block; height: 3px; background: rgba(255,255,255,.14); margin-top: 6px; }
  .thmc-score .g-mini i u { display: block; height: 100%; background: var(--signal); width: 0; transition: width .3s ease; }
  .thmc-score .main { padding: 28px 20px; }
}

.thmc-score .checklist { margin-top: 24px; }
.thmc-score .tone-wait { color: rgba(255,255,255,.6); }
.thmc-score .tone-stop { color: #FF5A4E; }
.thmc-score .sl.is-error .rng-head .lbl { color: var(--error); }
.thmc-score .check-h { width: 100%; text-align: left; margin-top: 24px; font: 700 11px var(--display); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.thmc-score .checklist { margin-top: 10px; }
@media (max-width: 860px) { .thmc-score .check-h, .thmc-score .checklist { display: none; } }
