.tlr-mortgage-calculator{max-width:1180px;margin:28px auto;background:#f7fafb;border:1px solid #dfe8eb;border-radius:24px;overflow:hidden;box-shadow:0 18px 50px rgba(15,23,42,.09);color:#17252a;font-family:inherit}.tlr-mc-header{padding:34px 38px 24px;background:linear-gradient(135deg,#fff,#eef7f8)}.tlr-mc-eyebrow{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--tlr-mc-primary)}.tlr-mc-header h2{font-size:34px;line-height:1.1;margin:8px 0 10px;color:var(--tlr-mc-accent)}.tlr-mc-header p{max-width:780px;margin:0;color:#53666c;line-height:1.6}.tlr-mc-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.8fr);gap:24px;padding:26px}.tlr-mc-input-card,.tlr-mc-result-card{background:#fff;border:1px solid #e2eaed;border-radius:18px;padding:24px}.tlr-mc-field-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.tlr-mc-field label{display:block;font-size:13px;font-weight:750;color:#33474e;margin-bottom:7px}.tlr-mc-field small{display:block;margin-top:6px;color:#71858b;font-size:11px}.tlr-mc-field input,.tlr-mc-field select{width:100%;height:48px;border:1px solid #cedbdd;border-radius:12px;background:#fff;padding:0 13px;font-size:16px;box-sizing:border-box}.tlr-mc-money-input,.tlr-mc-percent-input{position:relative}.tlr-mc-money-input span,.tlr-mc-percent-input span{position:absolute;top:50%;transform:translateY(-50%);font-weight:700;color:#60757b}.tlr-mc-money-input span{left:14px}.tlr-mc-money-input input{padding-left:30px}.tlr-mc-percent-input span{right:14px}.tlr-mc-percent-input input{padding-right:32px}.tlr-mc-split-input{display:grid;grid-template-columns:1.4fr .8fr;gap:8px}.tlr-mc-more{margin-top:22px;border-top:1px solid #e4ecee;padding-top:18px}.tlr-mc-more summary{cursor:pointer;font-weight:800;color:var(--tlr-mc-primary);list-style:none}.tlr-mc-more summary:after{content:'+';float:right;font-size:20px}.tlr-mc-more[open] summary:after{content:'−'}.tlr-mc-result-card{background:var(--tlr-mc-accent);color:#fff;align-self:start;position:sticky;top:18px}.tlr-mc-result-label{font-size:13px;color:#b8d0d5}.tlr-mc-total{font-size:46px;font-weight:850;line-height:1.1;margin:8px 0 16px}.tlr-mc-payment-bar{display:flex;height:10px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.15);margin-bottom:22px}.tlr-mc-payment-bar span{display:block;height:100%}.tlr-mc-bar-pi,.tlr-mc-dot-pi{background:#5fd3de}.tlr-mc-bar-tax,.tlr-mc-dot-tax{background:#f6c85f}.tlr-mc-bar-ins,.tlr-mc-dot-ins{background:#ff8a72}.tlr-mc-bar-hoa,.tlr-mc-dot-hoa{background:#a88ef4}.tlr-mc-bar-pmi,.tlr-mc-dot-pmi{background:#e276c8}.tlr-mc-breakdown{margin:0}.tlr-mc-breakdown>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.12)}.tlr-mc-breakdown dt,.tlr-mc-breakdown dd{margin:0}.tlr-mc-breakdown dt{font-size:13px;color:#d8e6e9}.tlr-mc-breakdown dd{font-weight:750}.tlr-mc-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px}.tlr-mc-loan-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.tlr-mc-loan-summary div{background:rgba(255,255,255,.08);padding:12px;border-radius:12px}.tlr-mc-loan-summary span{display:block;color:#bad0d4;font-size:11px}.tlr-mc-loan-summary strong{display:block;margin-top:4px}.tlr-mc-disclaimer{font-size:10px;line-height:1.45;color:#a9c0c5;margin:0}.tlr-mc-lead-card{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(420px,1.3fr);gap:24px;align-items:center;background:#fff;border-top:1px solid #dfe8eb;padding:26px 34px}.tlr-mc-lead-card h3{margin:0 0 6px;color:var(--tlr-mc-accent)}.tlr-mc-lead-card p{margin:0;color:#63777d}.tlr-mc-lead-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tlr-mc-lead-form input{height:46px;border:1px solid #cfdbde;border-radius:11px;padding:0 12px;box-sizing:border-box}.tlr-mc-lead-form button{height:46px;border:0;border-radius:11px;background:var(--tlr-mc-primary);color:#fff;font-weight:800;cursor:pointer}.tlr-mc-form-status{grid-column:1/-1;font-size:13px;color:#b42318}.tlr-mc-form-status.is-success{color:#087a55}.tlr-mortgage-admin-note{padding:12px;border:1px solid #dba617;background:#fff8d8;border-radius:8px}.tlr-mc-field-wide{margin-bottom:4px}@media(max-width:900px){.tlr-mc-layout{grid-template-columns:1fr}.tlr-mc-result-card{position:static}.tlr-mc-lead-card{grid-template-columns:1fr}}@media(max-width:620px){.tlr-mortgage-calculator{border-radius:0;margin:0}.tlr-mc-header{padding:26px 18px 18px}.tlr-mc-header h2{font-size:28px}.tlr-mc-layout{padding:14px}.tlr-mc-input-card,.tlr-mc-result-card{padding:18px}.tlr-mc-field-group,.tlr-mc-lead-form{grid-template-columns:1fr}.tlr-mc-lead-card{padding:22px 18px}.tlr-mc-total{font-size:40px}}


/* v2.9.1: responsive to the shortcode container, not only the browser viewport */
.tlr-mortgage-calculator{
  container-type:inline-size;
  width:100%;
  max-width:1180px;
  box-sizing:border-box;
}
.tlr-mortgage-calculator *,
.tlr-mortgage-calculator *::before,
.tlr-mortgage-calculator *::after{box-sizing:border-box}
.tlr-mc-layout,
.tlr-mc-input-card,
.tlr-mc-result-card,
.tlr-mc-field,
.tlr-mc-field-group,
.tlr-mc-split-input,
.tlr-mc-lead-card,
.tlr-mc-lead-form{min-width:0}
.tlr-mc-field input,
.tlr-mc-field select,
.tlr-mc-lead-form input,
.tlr-mc-lead-form button{max-width:100%;min-width:0}
.tlr-mc-lead-form button{white-space:normal;padding:0 16px;line-height:1.15}

@container (max-width: 880px){
  .tlr-mc-layout{grid-template-columns:1fr;gap:18px;padding:20px}
  .tlr-mc-result-card{position:static}
  .tlr-mc-lead-card{grid-template-columns:1fr;padding:24px}
  .tlr-mc-lead-form{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@container (max-width: 620px){
  .tlr-mc-header{padding:26px 20px 20px}
  .tlr-mc-header h2{font-size:clamp(26px,8cqw,34px)}
  .tlr-mc-layout{padding:14px;gap:14px}
  .tlr-mc-input-card,.tlr-mc-result-card{padding:18px}
  .tlr-mc-field-group{grid-template-columns:1fr;gap:14px;margin-top:14px}
  .tlr-mc-split-input{grid-template-columns:minmax(0,1.35fr) minmax(88px,.65fr)}
  .tlr-mc-loan-summary{grid-template-columns:1fr}
  .tlr-mc-lead-card{padding:22px 18px;gap:18px}
  .tlr-mc-lead-form{grid-template-columns:1fr}
  .tlr-mc-total{font-size:clamp(38px,13cqw,48px)}
}

@container (max-width: 390px){
  .tlr-mc-split-input{grid-template-columns:1fr}
  .tlr-mc-input-card,.tlr-mc-result-card{padding:15px}
  .tlr-mc-header{padding-left:16px;padding-right:16px}
  .tlr-mc-layout{padding:10px}
}

/* v2.9.2: administrator and shortcode-controlled width modes */
.tlr-mortgage-calculator{
  max-width:var(--tlr-mc-max-width,1180px);
}
.tlr-mortgage-calculator.tlr-mc-width-contained{
  width:min(100%,var(--tlr-mc-max-width,1180px));
  max-width:var(--tlr-mc-max-width,1180px);
  margin-left:auto;
  margin-right:auto;
}
.tlr-mortgage-calculator.tlr-mc-width-inherit{
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}
/* v2.11.1: full fills the available row safely; viewport is the explicit breakout mode */
.tlr-mortgage-calculator.tlr-mc-width-full{
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}
.tlr-mortgage-calculator.tlr-mc-width-viewport{
  width:100vw;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  border-left:0;
  border-right:0;
  border-radius:0;
}
.tlr-mc-width-viewport .tlr-mc-header,
.tlr-mc-width-viewport .tlr-mc-layout,
.tlr-mc-width-viewport .tlr-mc-lead-card,
.tlr-mc-width-viewport .tlr-mc-amortization{
  padding-left:max(26px,calc((100vw - var(--tlr-mc-max-width,1180px))/2));
  padding-right:max(26px,calc((100vw - var(--tlr-mc-max-width,1180px))/2));
}
@media(max-width:700px){
  .tlr-mortgage-calculator.tlr-mc-width-viewport{
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
  }
  .tlr-mc-width-viewport .tlr-mc-header,
  .tlr-mc-width-viewport .tlr-mc-layout,
  .tlr-mc-width-viewport .tlr-mc-lead-card,
  .tlr-mc-width-viewport .tlr-mc-amortization{
    padding-left:16px;
    padding-right:16px;
  }
}

/* v2.10.0: formatted inputs, sliders and quick presets */
.tlr-mc-range{
  --tlr-range-progress:50%;
  width:100%;
  height:6px;
  margin:12px 0 8px;
  padding:0;
  border:0;
  border-radius:999px;
  appearance:none;
  -webkit-appearance:none;
  background:linear-gradient(90deg,var(--tlr-mc-primary) 0 var(--tlr-range-progress),#dce7e9 var(--tlr-range-progress) 100%);
  cursor:pointer;
}
.tlr-mc-range::-webkit-slider-thumb{
  appearance:none;
  -webkit-appearance:none;
  width:20px;
  height:20px;
  border-radius:50%;
  border:3px solid #fff;
  background:var(--tlr-mc-primary);
  box-shadow:0 1px 7px rgba(15,23,42,.28);
}
.tlr-mc-range::-moz-range-thumb{
  width:15px;
  height:15px;
  border-radius:50%;
  border:3px solid #fff;
  background:var(--tlr-mc-primary);
  box-shadow:0 1px 7px rgba(15,23,42,.28);
}
.tlr-mc-presets{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:5px;
}
.tlr-mc-presets button{
  min-height:31px;
  padding:5px 10px;
  border:1px solid #d6e1e4;
  border-radius:999px;
  background:#f7fafb;
  color:#40555c;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
  transition:background .15s,border-color .15s,color .15s;
}
.tlr-mc-presets button:hover,
.tlr-mc-presets button.is-active{
  border-color:var(--tlr-mc-primary);
  background:color-mix(in srgb,var(--tlr-mc-primary) 12%,#fff);
  color:var(--tlr-mc-primary);
}
.tlr-mc-tax-preset{
  margin-top:8px;
  height:40px!important;
  font-size:13px!important;
  color:#52676d;
  background:#f8fbfc!important;
}
.tlr-mc-formatted-money,
.tlr-mc-formatted-percent{
  font-variant-numeric:tabular-nums;
}
@container (max-width:620px){
  .tlr-mc-presets button{flex:1 1 auto}
}

/* v2.11.0: payoff insights and annual amortization schedule */
.tlr-mc-payoff-note{
  margin:0 0 14px;
  padding:11px 12px;
  border-radius:11px;
  background:rgba(95,211,222,.12);
  color:#dffbff;
  font-size:12px;
  line-height:1.5;
}
.tlr-mc-amortization{
  margin:0 26px 26px;
  border:1px solid #dce6e9;
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}
.tlr-mc-amortization>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 22px;
  cursor:pointer;
  list-style:none;
  color:var(--tlr-mc-accent);
  background:linear-gradient(180deg,#fff,#f8fbfc);
}
.tlr-mc-amortization>summary::-webkit-details-marker{display:none}
.tlr-mc-amortization>summary span:first-child{display:flex;flex-direction:column;gap:3px}
.tlr-mc-amortization>summary strong{font-size:18px}
.tlr-mc-amortization>summary small{font-size:12px;font-weight:500;color:#667a80}
.tlr-mc-amortization-toggle{
  flex:0 0 auto;
  border:1px solid #cfdcde;
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:800;
  color:var(--tlr-mc-primary);
  background:#fff;
}
.tlr-mc-amortization[open] .tlr-mc-amortization-toggle{font-size:0}
.tlr-mc-amortization[open] .tlr-mc-amortization-toggle:after{content:'Hide schedule';font-size:12px}
.tlr-mc-amortization-body{padding:0 22px 22px}
.tlr-mc-amortization-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:4px 0 18px;
}
.tlr-mc-amortization-kpis>div{
  border:1px solid #e0e8eb;
  border-radius:13px;
  padding:13px;
  background:#f8fbfc;
}
.tlr-mc-amortization-kpis span{display:block;font-size:11px;color:#6c7f85;margin-bottom:4px}
.tlr-mc-amortization-kpis strong{display:block;color:#18343c;font-size:17px}
.tlr-mc-amortization-table-wrap{
  max-height:430px;
  overflow:auto;
  border:1px solid #e1e9eb;
  border-radius:13px;
}
.tlr-mc-amortization-table{width:100%;border-collapse:collapse;font-size:13px}
.tlr-mc-amortization-table th,
.tlr-mc-amortization-table td{padding:11px 13px;text-align:right;border-bottom:1px solid #e8eef0;font-variant-numeric:tabular-nums}
.tlr-mc-amortization-table th:first-child,
.tlr-mc-amortization-table td:first-child{text-align:left}
.tlr-mc-amortization-table th{position:sticky;top:0;z-index:1;background:#f3f8f9;color:#42585f;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.tlr-mc-amortization-table tbody tr:last-child td{border-bottom:0}
.tlr-mc-amortization-table tbody tr:hover{background:#f9fcfc}
.tlr-mc-width-full .tlr-mc-amortization{
  margin-left:max(26px,calc((100vw - var(--tlr-mc-max-width,1180px))/2));
  margin-right:max(26px,calc((100vw - var(--tlr-mc-max-width,1180px))/2));
}
@container (max-width:760px){
  .tlr-mc-amortization-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container (max-width:520px){
  .tlr-mc-amortization{margin:0 14px 18px}
  .tlr-mc-width-full .tlr-mc-amortization{margin-left:16px;margin-right:16px}
  .tlr-mc-amortization>summary{padding:16px;align-items:flex-start}
  .tlr-mc-amortization-body{padding:0 14px 16px}
  .tlr-mc-amortization-kpis{grid-template-columns:1fr 1fr;gap:8px}
  .tlr-mc-amortization-table{min-width:520px}
}

/* v2.11.2: automatically combine calculator + Realty Intake columns into a full-row calculator and popup expert form */
.tlr-mc-combined-row{display:flex!important;flex-wrap:wrap!important}
.tlr-mc-combined-row>.tlr-mc-expanded-column,
.tlr-mc-combined-row .tlr-mc-expanded-column{width:100%!important;max-width:100%!important;flex:0 0 100%!important}
.tlr-mc-combined-row>.tlr-mc-expert-source-column,
.tlr-mc-combined-row .tlr-mc-expert-source-column{display:none!important}
.tlr-mc-combined-row .tlr-mortgage-calculator{width:100%;max-width:var(--tlr-mc-max-width,1400px);margin-left:auto;margin-right:auto}
.tlr-mc-header{position:relative}
.tlr-mc-expert-open{position:absolute;right:34px;top:34px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:1px solid rgba(47,127,137,.35);background:#fff;color:var(--tlr-mc-accent);border-radius:14px;padding:11px 16px;box-shadow:0 8px 24px rgba(15,45,53,.08);cursor:pointer;text-align:left}
.tlr-mc-expert-open span{font-size:11px;color:#6a7c82}
.tlr-mc-expert-open strong{font-size:14px;color:var(--tlr-mc-primary)}
.tlr-mc-expert-open:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(15,45,53,.14)}
.tlr-mc-expert-overlay{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(9,25,30,.68);backdrop-filter:blur(5px)}
.tlr-mc-expert-overlay.is-open{display:flex}
.tlr-mc-expert-dialog{position:relative;width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;border-radius:24px;background:#fff;box-shadow:0 30px 100px rgba(0,0,0,.32)}
.tlr-mc-expert-dialog-body{padding:12px}
.tlr-mc-expert-dialog .tlr-realty-guide{max-width:none;margin:0}
.tlr-mc-expert-dialog .tlr-guide-shell{box-shadow:none;border:0}
.tlr-mc-expert-close{position:sticky;float:right;top:12px;right:12px;z-index:5;width:40px;height:40px;border-radius:50%;border:1px solid #d8e2e5;background:#fff;color:#243a40;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 5px 16px rgba(15,45,53,.12)}
html.tlr-mc-dialog-open{overflow:hidden}
@media(max-width:900px){.tlr-mc-expert-open{position:static;margin-top:18px}.tlr-mc-expert-overlay{align-items:flex-end;padding:0}.tlr-mc-expert-dialog{width:100%;max-height:92vh;border-radius:22px 22px 0 0}}

/* v2.11.3: remove orphaned legacy expert heading/empty source wrappers */
.tlr-mc-orphan-expert-heading,.tlr-mc-empty-expert-source{display:none!important}


/* v2.11.4: page-builder-friendly presentation and optional internal header */
.tlr-mortgage-calculator.tlr-mc-header-hidden{margin-top:0}
.tlr-mortgage-calculator.tlr-mc-header-hidden .tlr-mc-layout{padding-top:28px}
.tlr-mortgage-calculator.tlr-mc-width-contained,
.tlr-mortgage-calculator.tlr-mc-width-full{
  width:calc(100% - 32px);
  margin-left:auto;
  margin-right:auto;
}
@media(min-width:1200px){
  .tlr-mortgage-calculator.tlr-mc-width-full{width:calc(100% - 56px)}
}
@media(max-width:620px){
  .tlr-mortgage-calculator.tlr-mc-width-contained,
  .tlr-mortgage-calculator.tlr-mc-width-full{width:100%}
}


/* Compact listing-page calculator: inspired by the restrained left-column treatment common on premium brokerage sites. */
.tlr-mc-listing-compact{margin:0;max-width:760px!important;border-radius:14px;box-shadow:none;background:#fff;border-color:#e3e7e8}
.tlr-mc-listing-compact .tlr-mc-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(230px,.85fr);gap:14px;padding:14px}
.tlr-mc-listing-compact .tlr-mc-input-card,.tlr-mc-listing-compact .tlr-mc-result-card{padding:16px;border-radius:12px}
.tlr-mc-listing-compact .tlr-mc-field-group{gap:10px;margin-top:10px}
.tlr-mc-listing-compact .tlr-mc-field input,.tlr-mc-listing-compact .tlr-mc-field select{height:42px;font-size:14px;border-radius:8px}
.tlr-mc-listing-compact .tlr-mc-field label{font-size:12px;margin-bottom:5px}
.tlr-mc-listing-compact .tlr-mc-range,.tlr-mc-listing-compact .tlr-mc-presets{display:none}
.tlr-mc-listing-compact .tlr-mc-more{margin-top:12px;padding-top:12px}
.tlr-mc-listing-compact .tlr-mc-more summary{font-size:13px}
.tlr-mc-listing-compact .tlr-mc-total{font-size:34px;margin:6px 0 12px}
.tlr-mc-listing-compact .tlr-mc-breakdown>div{padding:6px 0}
.tlr-mc-listing-compact .tlr-mc-breakdown dt{font-size:11px}
.tlr-mc-listing-compact .tlr-mc-breakdown dd{font-size:12px}
.tlr-mc-listing-compact .tlr-mc-loan-summary{display:none}
.tlr-mc-listing-compact .tlr-mc-disclaimer{font-size:9px;margin-top:10px}
.tlr-mc-listing-compact .tlr-mc-amortization{display:none}
@media(max-width:700px){.tlr-mc-listing-compact .tlr-mc-layout{grid-template-columns:1fr}.tlr-mc-listing-compact .tlr-mc-result-card{position:static}}


/* v3.21.40: mobile calculator, amortization and expert-intake usability */
@media (max-width: 700px) {
  .tlr-mortgage-calculator,
  .tlr-mortgage-calculator.tlr-mc-width-contained,
  .tlr-mortgage-calculator.tlr-mc-width-full {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 16px;
    overflow: clip;
  }
  .tlr-mc-header { padding: 22px 18px 18px; }
  .tlr-mc-header h2 { font-size: clamp(23px, 7vw, 30px); line-height: 1.08; }
  .tlr-mc-header p { font-size: 14px; line-height: 1.5; }
  .tlr-mc-layout,
  .tlr-mc-listing-compact .tlr-mc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .tlr-mc-input-card,
  .tlr-mc-result-card,
  .tlr-mc-listing-compact .tlr-mc-input-card,
  .tlr-mc-listing-compact .tlr-mc-result-card {
    min-width: 0;
    padding: 16px;
    border-radius: 14px;
  }
  .tlr-mc-result-card { position: static; top: auto; }
  .tlr-mc-field-group { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tlr-mc-field input,
  .tlr-mc-field select,
  .tlr-mc-listing-compact .tlr-mc-field input,
  .tlr-mc-listing-compact .tlr-mc-field select {
    min-height: 46px;
    height: 46px;
    font-size: 16px;
  }
  .tlr-mc-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tlr-mc-presets button { min-height: 42px; padding: 8px 10px; }
  .tlr-mc-total,
  .tlr-mc-listing-compact .tlr-mc-total { font-size: clamp(32px, 10vw, 44px); overflow-wrap: anywhere; }
  .tlr-mc-breakdown > div { gap: 12px; }
  .tlr-mc-breakdown dd { max-width: 55%; overflow-wrap: anywhere; text-align: right; }
  .tlr-mc-expert-open {
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    align-items: center;
    text-align: center;
  }
  .tlr-mc-amortization,
  .tlr-mc-width-full .tlr-mc-amortization { margin: 0 12px 16px; }
  .tlr-mc-amortization > summary { gap: 10px; padding: 15px; }
  .tlr-mc-amortization > summary strong { font-size: 16px; }
  .tlr-mc-amortization-toggle { min-height: 40px; display: inline-flex; align-items: center; }
  .tlr-mc-amortization-kpis { grid-template-columns: minmax(0, 1fr); }
  .tlr-mc-amortization-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .tlr-mc-amortization-table { min-width: 620px; }
  .tlr-mc-expert-overlay { align-items: flex-end; padding: 0; }
  .tlr-mc-expert-dialog {
    width: 100%;
    max-width: none;
    max-height: min(92dvh, 860px);
    border-radius: 22px 22px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
    overscroll-behavior: contain;
  }
  .tlr-mc-expert-dialog-body { padding: 6px 10px 12px; }
  .tlr-mc-expert-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
  .tlr-mc-expert-dialog .tlr-guide-shell { padding: 24px 16px 20px; border-radius: 18px 18px 0 0; }
  .tlr-mc-expert-dialog .tlr-guide-step h2 { padding-right: 42px; }
  .tlr-mc-expert-dialog input,
  .tlr-mc-expert-dialog select,
  .tlr-mc-expert-dialog textarea { font-size: 16px; }
}
@media (max-width: 390px) {
  .tlr-mc-presets { grid-template-columns: minmax(0, 1fr); }
  .tlr-mc-header { padding-inline: 14px; }
  .tlr-mc-layout { padding: 8px; }
  .tlr-mc-input-card, .tlr-mc-result-card { padding: 14px; }
}
