<style>
/* ─────────────────────────────────────────────────────────────────────────────
   READABILITY SYSTEM
   ─ Minimum body text: 18px
   ─ Label text: 15px minimum, always font-weight 600
   ─ Number displays: DM Mono, never below 20px
   ─ Interactive targets: minimum 56px height
   ─ Contrast: all text WCAG AAA on white backgrounds
───────────────────────────────────────────────────────────────────────────── */

#blc-root *, #blc-root *::before, #blc-root *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}

#blc-root {
  /* ── Exact token match to Equipment Lease calculator ──────────────── */
  --bg:             #f8fafc;
  --bg-card:        #ffffff;
  --bg-input:       #f8fafc;
  --bg-row-alt:     #f1f5f9;
  --bg-highlight:   #f1f5f9;

  --border:         #e2e8f0;
  --border-hi:      #cbd5e1;
  --border-focus:   #0891b2;

  --amber:          #d97706;
  --amber-lt:       #b45309;
  --amber-bg:       rgba(217,119,6,0.08);
  --amber-border:   rgba(217,119,6,0.25);

  --cyan:           #0891b2;
  --cyan-lt:        #0369a1;
  --cyan-bg:        rgba(8,145,178,0.08);
  --cyan-border:    rgba(8,145,178,0.25);

  --green:          #059669;
  --green-bg:       rgba(5,150,105,0.08);
  --green-border:   rgba(5,150,105,0.25);

  --red:            #ef4444;
  --red-bg:         rgba(239,68,68,0.08);
  --red-border:     rgba(239,68,68,0.25);

  --text-primary:   #0f172a;
  --text-secondary: #334155;
  --text-tertiary:  #64748b;

  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text-primary);
  padding: 60px 28px 100px;
  -webkit-font-smoothing: antialiased;
}

/* ── Container ──────────────────────────────────────────────────────────────── */
.blc-wrap { max-width: 1100px; margin: 0 auto; }

/* ─────────────────────────────────────────────────────────────────────────────
   HEADER — identical pattern to elb-header
───────────────────────────────────────────────────────────────────────────── */
.blc-header { margin-bottom: 60px; }

.blc-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.blc-eyebrow-rule {
  width: 36px; height: 3px;
  background: var(--cyan);
  border-radius: 2px;
}
.blc-eyebrow-text {
  font-family: 'DM Mono', monospace;
  font-size: 13px; font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blc-h1 {
  font-family: 'Lora', serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700; line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.blc-h1 em {
  font-style: italic;
  color: var(--cyan);
  font-weight: 700;
}

.blc-lead {
  font-size: 20px; font-weight: 400;
  color: var(--text-secondary);
  max-width: 560px; line-height: 1.75;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LOAN TYPE PILL ROW — sits between header and input cards
───────────────────────────────────────────────────────────────────────────── */
.blc-type-row {
  display: flex; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.blc-type-pills {
  display: flex; gap: 10px; flex-wrap: wrap; flex: 1;
}
.blc-type-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--border-hi);
  border-radius: 40px;
  background: var(--bg-card);
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.18s ease;
  white-space: nowrap;
  line-height: 1.3;
}
.blc-type-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.blc-type-btn.active {
  background: var(--cyan-bg);
  border-color: var(--cyan);
  color: var(--cyan-lt);
}

.blc-type-desc {
  margin-bottom: 40px;
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  border-radius: 10px;
  font-size: 16px; font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.65;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

/* ─────────────────────────────────────────────────────────────────────────────
   LAYOUT — exact match to elb-layout
───────────────────────────────────────────────────────────────────────────── */
.blc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: start;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .blc-layout { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────────────────────
   CARDS — exact match to elb-card
───────────────────────────────────────────────────────────────────────────── */
.blc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}
.blc-card-head {
  padding: 28px 32px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.blc-card-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.blc-card-title {
  font-family: 'Lora', serif;
  font-size: 22px; font-weight: 700;
  color: var(--text-primary); line-height: 1.3;
}
.blc-card-subtitle {
  font-size: 15px; color: var(--text-tertiary);
  font-weight: 500; margin-top: 2px;
}
.blc-card-body { padding: 32px; }

/* ─────────────────────────────────────────────────────────────────────────────
   FORM FIELDS — exact match to elb-field system
───────────────────────────────────────────────────────────────────────────── */
.blc-fields { display: flex; flex-direction: column; gap: 28px; }
.blc-field  { display: flex; flex-direction: column; gap: 10px; }

.blc-label {
  font-size: 15px; font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  display: flex; justify-content: space-between; align-items: center;
}
.blc-label-value {
  font-family: 'DM Mono', monospace;
  font-size: 15px; font-weight: 600;
  color: var(--cyan); background: var(--cyan-bg);
  border: 1px solid var(--border);
  padding: 3px 12px; border-radius: 20px;
}

.blc-input-row {
  display: flex; align-items: stretch;
  background: var(--bg-input);
  border: 2px solid var(--border-hi);
  border-radius: 10px; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 56px;
}
.blc-input-row:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(8,145,178,0.12);
}

.blc-adorn {
  padding: 0 18px;
  font-family: 'DM Mono', monospace;
  font-size: 18px; font-weight: 600;
  color: var(--text-tertiary);
  background: var(--bg-highlight);
  border-right: 2px solid var(--border-hi);
  display: flex; align-items: center;
  flex-shrink: 0; user-select: none;
}
.blc-adorn-r { border-right: none; border-left: 2px solid var(--border-hi); }

.blc-input-row input,
.blc-input-row select {
  flex: 1; border: none; outline: none;
  background: transparent; padding: 0 20px;
  font-family: 'DM Mono', monospace;
  font-size: 20px; font-weight: 600;
  color: var(--text-primary); min-width: 0;
  -webkit-appearance: none; appearance: none;
}
.blc-input-row select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
  padding-right: 48px;
}
.blc-input-row input[type=number]::-webkit-inner-spin-button,
.blc-input-row input[type=number]::-webkit-outer-spin-button { opacity: 0; }

/* ── Slider — exact match ────────────────────────────────────────────────────── */
.blc-slider-wrap { padding: 8px 0 0; }
input[type=range].blc-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--border-hi);
  border-radius: 3px; outline: none; cursor: pointer;
}
input[type=range].blc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  background: var(--bg-card);
  border: 3px solid var(--cyan); border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}
input[type=range].blc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 14px rgba(8,145,178,0.25);
}
input[type=range].blc-slider::-moz-range-thumb {
  width: 26px; height: 26px;
  background: var(--bg-card);
  border: 3px solid var(--cyan); border-radius: 50%;
}
.blc-slider-labels {
  display: flex; justify-content: space-between;
  margin-top: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 13px; color: var(--text-tertiary); font-weight: 600;
}

.blc-hint {
  font-size: 15px; color: var(--text-tertiary);
  font-style: italic; line-height: 1.6;
  padding: 10px 0 0 2px;
}

/* ── Payment frequency toggle ────────────────────────────────────────────────── */
.blc-freq-group {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
}
.blc-freq-btn {
  padding: 14px 10px;
  border: 2px solid var(--border-hi);
  border-radius: 10px;
  background: var(--bg-input);
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--text-secondary);
  text-align: center; transition: all 0.18s ease; line-height: 1.3;
}
.blc-freq-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.blc-freq-btn.active {
  background: var(--cyan-bg); border-color: var(--cyan);
  color: var(--cyan-lt);
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESULTS PANEL — exact match to elb-results
───────────────────────────────────────────────────────────────────────────── */
.blc-results {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

/* ── Verdict banner — exact match to elb-verdict ────────────────────────────── */
.blc-verdict {
  padding: 36px 44px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  background: #f8fafc;
}
.blc-verdict-label {
  font-family: 'DM Mono', monospace;
  font-size: 13px; font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 10px;
}
.blc-verdict-title {
  font-family: 'Lora', serif;
  font-size: 30px; font-weight: 700;
  color: var(--text-primary); line-height: 1.2;
}
.blc-verdict-sub {
  font-size: 18px; color: var(--text-secondary);
  margin-top: 6px; line-height: 1.6;
}
.blc-verdict-badge {
  flex-shrink: 0; padding: 16px 32px;
  border-radius: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 16px; font-weight: 600;
  text-align: center; letter-spacing: 0.04em;
  text-transform: uppercase; line-height: 1.4;
  min-width: 180px;
}
.blc-verdict-badge strong {
  display: block; font-size: 24px; font-weight: 700;
  letter-spacing: -0.01em; margin-top: 4px;
}

/* ── Column headers — exact match ───────────────────────────────────────────── */
.blc-col-header {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  background: var(--bg-highlight);
}
.blc-col-header-cell {
  padding: 18px 32px;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-right: 1px solid var(--border); line-height: 1.4;
}
.blc-col-header-cell:last-child { border-right: none; }

/* ── Stat grid — exact match to elb-stat-grid ───────────────────────────────── */
.blc-stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 640px) { .blc-stat-grid { grid-template-columns: 1fr 1fr; } }

.blc-stat {
  padding: 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.blc-stat:nth-child(3n) { border-right: none; }
@media (max-width: 640px) {
  .blc-stat:nth-child(2n)  { border-right: none; }
  .blc-stat:nth-child(3n)  { border-right: 1px solid var(--border); }
  .blc-stat:nth-child(even){ border-right: none; }
}
.blc-stat-last-row { border-bottom: none; }

.blc-stat-label {
  font-size: 14px; font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 12px; line-height: 1.4;
}
.blc-stat-value {
  font-family: 'DM Mono', monospace;
  font-size: 28px; font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px;
}
.blc-stat-sub {
  font-size: 14px; color: var(--text-tertiary);
  line-height: 1.5; font-weight: 500;
}

/* ── Comparison table — exact match to elb-compare ─────────────────────────── */
.blc-compare {
  width: 100%; border-collapse: collapse;
  border-bottom: 1px solid var(--border);
}
.blc-compare thead th {
  padding: 20px 32px;
  font-size: 14px; font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em; text-transform: uppercase;
  text-align: right;
  background: var(--bg-highlight);
  border-bottom: 2px solid var(--border-hi);
}
.blc-compare thead th:first-child { text-align: left; }
.blc-compare tbody td {
  padding: 22px 32px;
  font-size: 18px; font-weight: 500;
  color: var(--text-secondary);
  text-align: right;
  border-bottom: 1px solid var(--border);
  vertical-align: middle; line-height: 1.4;
}
.blc-compare tbody tr:last-child td { border-bottom: none; }
.blc-compare tbody td:first-child { text-align: left; font-weight: 600; color: var(--text-primary); }
.blc-compare tbody tr:hover td { background: var(--bg-row-alt); }
.blc-compare .td-mono { font-family: 'DM Mono', monospace; font-size: 18px; font-weight: 600; }

/* ── Amortization preview ────────────────────────────────────────────────────── */
.blc-amort {
  border-bottom: 1px solid var(--border);
}
.blc-amort-head {
  padding: 18px 32px;
  background: var(--bg-highlight);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.blc-amort-head-label {
  font-size: 15px; font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.blc-amort-head-note {
  font-family: 'DM Mono', monospace;
  font-size: 13px; font-weight: 600;
  color: var(--cyan);
}

.blc-amort-table { width: 100%; border-collapse: collapse; }
.blc-amort-table thead th {
  padding: 14px 32px;
  font-family: 'DM Mono', monospace;
  font-size: 12px; font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.12em; text-transform: uppercase;
  text-align: right;
  border-bottom: 1px solid var(--border);
}
.blc-amort-table thead th:first-child { text-align: left; }
.blc-amort-table tbody td {
  padding: 16px 32px;
  font-family: 'DM Mono', monospace;
  font-size: 17px; font-weight: 500;
  color: var(--text-secondary);
  text-align: right;
  border-bottom: 1px solid var(--border);
}
.blc-amort-table tbody tr:last-child td { border-bottom: none; }
.blc-amort-table tbody td:first-child { text-align: left; color: var(--text-tertiary); font-weight: 600; }
.blc-amort-table tbody tr:hover td { background: var(--bg-row-alt); }
.blc-amort-table .td-principal { color: var(--cyan-lt); font-weight: 600; }
.blc-amort-table .td-interest  { color: var(--amber);   font-weight: 600; }
.blc-amort-table .td-balance   { color: var(--text-primary); font-weight: 600; }

/* Win chip — exact match ──────────────────────────────────────────────────────── */
.blc-win-chip {
  display: inline-block; padding: 2px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  vertical-align: middle; margin-left: 8px;
}

/* ── Takeaway — exact match to elb-takeaway ─────────────────────────────────── */
.blc-takeaway {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) { .blc-takeaway { grid-template-columns: 1fr; } }
.blc-take-col { padding: 36px 40px; border-right: 1px solid var(--border); }
.blc-take-col:last-child { border-right: none; }
.blc-take-heading {
  font-family: 'Lora', serif;
  font-size: 20px; font-weight: 700;
  margin-bottom: 20px; line-height: 1.3;
}
.blc-take-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.blc-take-arrow { font-size: 20px; font-weight: 700; line-height: 1.6; flex-shrink: 0; }
.blc-take-text  { font-size: 17px; color: var(--text-secondary); line-height: 1.7; font-weight: 500; }

/* ── Footnote — exact match to elb-footnote ─────────────────────────────────── */
.blc-footnote {
  padding: 28px 40px;
  border-top: 1px solid var(--border);
  font-size: 15px; color: var(--text-tertiary);
  line-height: 1.7; font-style: italic;
  background: var(--bg);
}

/* ─────────────────────────────────────────────────────────────────────────────
   ANIMATIONS — identical to elb
───────────────────────────────────────────────────────────────────────────── */
@keyframes blc-up { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.blc-header  { animation: blc-up 0.5s ease both 0.05s; }
.blc-layout  { animation: blc-up 0.5s ease both 0.15s; }
.blc-results { animation: blc-up 0.5s ease both 0.25s; }

.blc-stat-value, .td-mono, .blc-verdict-title,
.blc-verdict-badge strong { transition: all 0.25s ease; }
</style>