/* Final requested cleanup: one logo rule, no redundant leader kickers, compact quote modal. */
@media (min-width:901px){
  /* Keep exactly one red rule under the company logo on every desktop page. */
  html body .jmf-logo-link{
    border:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
    background:none!important;
  }
  html body .jmf-logo-link::before{content:none!important;display:none!important;}
  html body .jmf-logo-link::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:2px!important;
    width:100%!important;
    height:2px!important;
    margin:0!important;
    background:#e21d3a!important;
    border:0!important;
    box-shadow:none!important;
  }

  /* Remove redundant uppercase page name and its short red underline from every leader. */
  html body.interior-page .jmf-matched-interior-kicker,
  html body.interior-page .jmf-trc-kicker,
  html body.interior-page .products-kicker,
  html body.interior-page .leadership-kicker,
  html body.interior-page .page-kicker,
  html body.interior-page .eyebrow{
    display:none!important;
  }
  html body.interior-page .jmf-matched-interior-title,
  html body.interior-page .jmf-trc-hero h1,
  html body.interior-page .jmf-mockup-leader h1{
    margin-top:0!important;
  }

  /* Compact Request Quote modal so its top and bottom remain visible in one desktop viewport. */
  html body #quoteModal.quote-modal{
    align-items:center!important;
    justify-content:center!important;
    padding:16px!important;
    overflow:hidden!important;
  }
  html body #quoteModal .quote-modal-panel{
    width:min(900px,calc(100vw - 32px))!important;
    max-width:900px!important;
    max-height:calc(100vh - 32px)!important;
    margin:0!important;
    overflow:auto!important;
    border-radius:18px!important;
  }
  html body #quoteModal .quote-modal-close{
    top:8px!important;
    right:10px!important;
    width:34px!important;
    height:34px!important;
    font-size:24px!important;
    line-height:28px!important;
  }
  html body #quoteModal .quote-modal-header{
    grid-template-columns:42% 58%!important;
    gap:18px!important;
    padding:14px 30px 10px!important;
  }
  html body #quoteModal .quote-modal-header>img{
    width:285px!important;
    max-width:100%!important;
    max-height:64px!important;
    object-fit:contain!important;
  }
  html body #quoteModal .quote-modal-header h2{
    font-size:30px!important;
    margin:0 0 3px!important;
    line-height:1!important;
  }
  html body #quoteModal .quote-modal-header p{
    font-size:14px!important;
    line-height:1.22!important;
    margin:0!important;
  }
  html body #quoteModal .quote-form{
    padding:12px 30px 8px!important;
  }
  html body #quoteModal .quote-form-grid{
    column-gap:20px!important;
    row-gap:6px!important;
  }
  html body #quoteModal .quote-form label{
    font-size:14px!important;
  }
  html body #quoteModal .quote-form input,
  html body #quoteModal .quote-form textarea{
    margin-top:3px!important;
    padding:7px 11px!important;
    border-radius:10px!important;
  }
  html body #quoteModal .quote-form input{height:34px!important;}
  html body #quoteModal .quote-form-bottom{
    grid-template-columns:330px 1fr!important;
    gap:20px!important;
    margin-top:5px!important;
    align-items:end!important;
  }
  html body #quoteModal .quote-form-doctor img{
    width:330px!important;
    max-height:285px!important;
    object-fit:contain!important;
    object-position:center bottom!important;
  }
  html body #quoteModal .quote-form textarea,
  html body #quoteModal .quote-form-notes textarea{
    min-height:190px!important;
    height:190px!important;
    resize:none!important;
    font-size:15px!important;
    line-height:1.25!important;
  }
  html body #quoteModal .quote-form-actions{
    gap:14px!important;
    margin-top:8px!important;
  }
  html body #quoteModal .quote-primary,
  html body #quoteModal .quote-secondary{
    min-width:150px!important;
    padding:10px 22px!important;
    font-size:14px!important;
  }
  html body #quoteModal .quote-form-note{
    margin:5px 0 0!important;
    font-size:11px!important;
    line-height:1.2!important;
  }

  /* Older duplicate quote implementation, when present. */
  html body #jmfQuoteModal .jmf-quote-modal{
    width:min(900px,calc(100vw - 32px))!important;
    max-width:900px!important;
    max-height:calc(100vh - 32px)!important;
    overflow:auto!important;
    margin:auto!important;
  }
}
