/* svc745 desktop pass. Linked with media="(min-width: 901px)" from the 97 non RV pages only.
   Phones never apply this file. The frozen RV pages never link it.
   Every selector starts with html so it outranks same weight rules in page level style blocks. */
@media (min-width: 901px) {

  /* 1. Services menu: one panel centred on the screen, columns, nothing spilling past the edge. */
  html .nav__links > .nav__item--has-dropdown:has(> .nav__dropdown:not(.nav__dropdown--sm)) { position: static; }
  html .nav__item--has-dropdown:has(> .nav__dropdown:not(.nav__dropdown--sm)) > .nav__dropdown-trigger { position: relative; }
  html .nav__item--has-dropdown > .nav__dropdown:not(.nav__dropdown--sm) {
    position: fixed;
    top: 67px;
    left: 50%;
    width: min(940px, calc(100vw - 48px));
    min-width: 0;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 8px;
    padding: 12px;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  html .nav__dropdown:not(.nav__dropdown--sm) > .nav__dd-all { grid-column: 1 / -1; }
  /* Titles line up across each row even when descriptions wrap to different line counts. */
  html .nav__dropdown:not(.nav__dropdown--sm) a { align-items: flex-start; }
  /* Hover bridge, only while open, so a slow mouse does not close the panel on the way down. */
  html .nav__item--has-dropdown.open:has(> .nav__dropdown:not(.nav__dropdown--sm))::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
  }
  html .nav__dropdown a,
  html .nav__dropdown .nav__dd-text { white-space: normal; }
  html .nav__dropdown--sm {
    min-width: 300px;
    width: max-content;
    max-width: min(380px, calc(100vw - 32px));
  }

  /* 2. Lead forms: a form that reads like a form, not a strip across the monitor. */
  html .town-lead-form { max-width: 680px; }
  html .wd__form { max-width: 880px; }
  html .wd__form .wd__submit { width: auto; min-width: 280px; }
  /* Homepage request section: words on the left, the form on the right. Only where the form is present. */
  html .rh-quote .rh-wrap:has(> .town-lead-form) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px); grid-template-rows: auto auto auto 1fr; column-gap: 64px; align-items: start; }
  html .rh-quote .rh-wrap:has(> .town-lead-form) > * { grid-column: 1; }
  html .rh-quote .rh-wrap:has(> .town-lead-form) > .town-lead-form { grid-column: 2; grid-row: 1 / span 4; }

  /* 3. Accordions and question lists: the plus sign stays near the question. */
  html .svc540-faq__list,
  html .ledc__rev,
  html .faq-item,
  html .rr-accordion,
  html .appl-faq,
  html .gxd,
  html .evj__quote { max-width: 880px; }

  /* 4. Pickers and option buttons: grid capped so no single option is a 600 px bar. */
  html .csol__opts,
  html .csol__res,
  html .etri__opts,
  html .rfage__opts,
  html .evsz__opts,
  html .ctd__f,
  html .shrt__eras { max-width: 880px; }
  html .ledc__modes { max-width: 760px; }
  html .ledc__paths { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* 5. LED family: steps side by side, buttons at their own width, notes in two columns. */
  html .ledc-steps--plain,
  html .ledc-steps:not(.ledc-hub__grid) { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  html .ledc-steps:not(.ledc-hub__grid):has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html .ledc__wrap .ledc__btn { width: auto; flex: 0 1 auto; }
  html .ledc__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .ledc-bars,
  html .ledc-flow { max-width: 960px; }

  /* 6. Solar town timeline: centred, same width family as the two cards under it.
     The element carries an inline margin, so the side margins need !important. Bottom margin is untouched. */
  html .rdx.rdx-time { max-width: 880px; margin-left: auto !important; margin-right: auto !important; }

  /* 6b. Cards whose content sits in the left half: capped so the card fits what is inside it. */
  html .rdncta,
  html .ledc-gauge,
  html .bym-sum { max-width: 880px; }
  html .rdncta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  html .rdncta__actions > a,
  html .rdncta__actions > button { width: auto; flex: 0 0 auto; }

  /* 7. Reading measure on long source and note lines. */
  html .ceip-rate__src,
  html .x__src,
  html .shv__src,
  html .ef-job-note,
  html .lv-note,
  html .sub { max-width: 40em; }
  html .onsite-step { max-width: 760px; }

  /* 8. Plain links inside a sentence flow with the sentence on desktop. Tap target sizing stays on phones. */
  html main p a:not([class]),
  html #page-home #main-content.rh-home p a:not([class]) { display: inline; min-height: 0; }
}

@media (min-width: 1200px) {
  /* Four columns on full desktops so the Services panel fits a 720 px tall laptop screen without scrolling. */
  html .nav__item--has-dropdown > .nav__dropdown:not(.nav__dropdown--sm) {
    width: min(1100px, calc(100vw - 48px));
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* svc768 reading measure: only the paragraphs that ran past 72 characters a line in svc767 */
p.amq__doc-note:not(#z768),p.amq__intro:not(#z768),p.amq__sign:not(#z768),p.appl-card__p:not(#z768),p.appl-lede:not(#z768),p.appl-panel__lede:not(#z768),p.asv-close__p:not(#z768),p.asv-sub:not(#z768),p.asvr__hint:not(#z768),p.b7-callout:not(#z768),p.b7-ck__bonus:not(#z768),p.b7-lede:not(#z768),p.b7-note:not(#z768),p.b7-rt__f:not(#z768),p.b7-state:not(#z768),p.batt-math__sign:not(#z768),p.bcfg__draw:not(#z768),p.bdec__calc-sub:not(#z768),p.bdec__p:not(#z768),p.bdec__sub:not(#z768),p.bfact__panel-p:not(#z768),p.bfan__note:not(#z768),p.bflow__caption-p:not(#z768),p.bg-audit-card__lede:not(#z768),p.bg-download-lede:not(#z768),p.bill-cta__p:not(#z768),p.bpick__summary-fine:not(#z768),p.bym-lede:not(#z768),p.calc-email-capture__sub:not(#z768),p.card__body:not(#z768),p.cc-hero__desc:not(#z768),p.ceip-rate__src:not(#z768),p.compare-quote__intro:not(#z768),p.cost-compare__note:not(#z768),p.crisis-hook:not(#z768),p.cs4__lede:not(#z768),p.cs4__note:not(#z768),p.csol__lede:not(#z768),p.csol__rp:not(#z768),p.cta-block__desc:not(#z768),p.dcp__lede:not(#z768),p.dcp__verdict:not(#z768),p.dlp-card__b:not(#z768),p.dlp-pick__body:not(#z768),p.dlp-pick__fine:not(#z768),p.dlp-proof__cap:not(#z768),p.dlp-row__b:not(#z768),p.dlp__lede:not(#z768),p.dlp__note:not(#z768),p.ef-job-note:not(#z768),p.eix__say:not(#z768),p.eos-day__say:not(#z768),p.eos-form__s:not(#z768),p.eos-lede:not(#z768),p.eos-mid:not(#z768),p.eos-next__d:not(#z768),p.eos-note:not(#z768),p.eos-ph__d:not(#z768),p.eos-rail__k:not(#z768),p.eos-src:not(#z768),p.eos-where__d:not(#z768),p.eqp-note:not(#z768),p.eqp-pair__d:not(#z768),p.esym__foot:not(#z768),p.esym__lede:not(#z768),p.esym__rp:not(#z768),p.etri__foot:not(#z768),p.etri__lede:not(#z768),p.etri__rp:not(#z768),p.ev-install-info__sub:not(#z768),p.ev-pricing__custom:not(#z768),p.ev-system__sub:not(#z768),p.evc__close-p:not(#z768),p.evc__lede:not(#z768),p.evc__p:not(#z768),p.evc__vbody:not(#z768),p.evj__bridge-p:not(#z768),p.evj__lede:not(#z768),p.evj__p:not(#z768),p.evj__sizing-p:not(#z768),p.evsz__foot:not(#z768),p.evsz__sub:not(#z768),p.fee-block__sub:not(#z768),p.fee-close__body:not(#z768),p.fee-math__note:not(#z768),p.final-cta__body:not(#z768),p.fit-picker__lede:not(#z768),p.founders-showcase__reconcile:not(#z768),p.founders-showcase__sub:not(#z768),p.gallery-cta__desc:not(#z768),p.gx-fine:not(#z768),p.gx-lede:not(#z768),p.gxc__specl:not(#z768),p.gxc__specn:not(#z768),p.gxh__p:not(#z768),p.gxp__vp:not(#z768),p.gxq__q:not(#z768),p.gxt__p:not(#z768),p.hero__desc:not(#z768),p.hero__sub:not(#z768),p.honesty__intro:not(#z768),p.honesty__point-p:not(#z768),p.hp6-lede:not(#z768),p.hq__war:not(#z768),p.hrw-rule:not(#z768),p.hx__pbody:not(#z768),p.is-fixed:not(#z768),p.jn__fine:not(#z768),p.jn__howto:not(#z768),p.jn__pt:not(#z768),p.lead-card__sub:not(#z768),p.leave-review__desc:not(#z768),p.ledc-bars__f:not(#z768),p.ledc-gauge__n:not(#z768),p.ledc-picto__f:not(#z768),p.ledc-rail__f:not(#z768),p.ledc-step__d:not(#z768),p.ledc__hint:not(#z768),p.ledc__lede:not(#z768),p.ledc__note-d:not(#z768),p.ledintake__hint:not(#z768),p.ledintake__intro:not(#z768),p.ledphoto__p:not(#z768),p.lp-calc__p:not(#z768),p.lp-final__s:not(#z768),p.lp-p:not(#z768),p.lp-price__note:not(#z768),p.lp-price__sub:not(#z768),p.lp-sec__s:not(#z768),p.lp-warn__p:not(#z768),p.lr-lede:not(#z768),p.lr-note:not(#z768),p.lr-sign:not(#z768),p.lv-lede:not(#z768),p.lv-note:not(#z768),p.manifesto__para:not(#z768),p.msm__body:not(#z768),p.msm__note:not(#z768),p.our-story-hero__sub:not(#z768),p.partner-spotlight__body:not(#z768),p.prodproof__lede:not(#z768),p.puea__code:not(#z768),p.puea__v:not(#z768),p.pulc__note:not(#z768),p.rdn-alberta-work__body:not(#z768),p.rdn-bermuda__kicker:not(#z768),p.rdn-bermuda__lede:not(#z768),p.rdn-bridge__copy:not(#z768),p.rdn-carbon__foot:not(#z768),p.rdn-cs__sub:not(#z768),p.rdn-cvs__foot:not(#z768),p.rdn-hero__finetip:not(#z768),p.rdn-hero__lede:not(#z768),p.rdn-hero__sub:not(#z768),p.rdn-math__sign:not(#z768),p.rdn-opts__foot:not(#z768),p.rdn-photo__p:not(#z768),p.rdn-reviews__sub:not(#z768),p.rdn-story__lede:not(#z768),p.rdncta__support:not(#z768),p.rdnpb__lede:not(#z768),p.rdx-cap:not(#z768),p.rdx-play__sub:not(#z768),p.rdxst__cap:not(#z768),p.receipt__lede:not(#z768),p.ref-group__p:not(#z768),p.res-heroes__body:not(#z768),p.rfage__rp:not(#z768),p.rh-intro:not(#z768),p.rh-note:not(#z768),p.rnch__lede:not(#z768),p.rnch__p:not(#z768),p.rpv__fee:not(#z768),p.rpv__note:not(#z768),p.rr-care__foot:not(#z768),p.rr-care__moat:not(#z768),p.rr-care__sub:not(#z768),p.rr-ch__lead:not(#z768),p.rr-dcm__c:not(#z768),p.rr-mesh__p:not(#z768),p.rr-photo-ask:not(#z768),p.rr-sig__sub:not(#z768),p.rr-testimonials__footer-note:not(#z768),p.rr-testimonials__sub:not(#z768),p.rr-watchlist__fine:not(#z768),p.rr-watchlist__sub:not(#z768),p.rr-xlink__p:not(#z768),p.rtier-lede:not(#z768),p.rvx-step__help:not(#z768),p.saft__sub:not(#z768),p.sat6-fine:not(#z768),p.sat6-p:not(#z768),p.sat6-sub:not(#z768),p.section-desc:not(#z768),p.section-sub:not(#z768),p.section-subtitle:not(#z768),p.sh-lane__p:not(#z768),p.sh-lede:not(#z768),p.shui__honest:not(#z768),p.shui__nowsub:not(#z768),p.shv__lede:not(#z768),p.shv__src:not(#z768),p.sj690__lede:not(#z768),p.skeptic-card__lede:not(#z768),p.skeptic-mode__sub:not(#z768),p.sky__ctan:not(#z768),p.sky__hownote:not(#z768),p.sky__note:not(#z768),p.sky__smarttx:not(#z768),p.sp-lede:not(#z768),p.sp-panel__lede:not(#z768),p.sp-row__v:not(#z768),p.stack-fineprint:not(#z768),p.step-flow__text:not(#z768),p.step-sub:not(#z768),p.sub:not(#z768),p.supply-chain__lede:not(#z768),p.svc540-lede:not(#z768),p.svc540-panel__lede:not(#z768),p.town-lead-card__sub:not(#z768),p.town-lead-form__minutes:not(#z768),p.town-section__sub:not(#z768),p.w453lead:not(#z768),p.w65-ba__sub:not(#z768),p.w66hp-cta__lede:not(#z768),p.w66hp-split__lede:not(#z768),p.w67r-sub:not(#z768),p.wd__fine:not(#z768),p.wl-lead:not(#z768),p.wl__note:not(#z768),p.x__lede:not(#z768),p.x__src:not(#z768),.amq__essay>p:not([class]):not(#z768),.container>p:not([class]):not(#z768),.cs4__winter>p:not([class]):not(#z768),.ctd__lane>p:not([class]):not(#z768),.fee-block>p:not([class]):not(#z768),.fee-faq-item__a>p:not([class]):not(#z768),.gxd__b>p:not([class]):not(#z768),.ledc__wrap>p:not([class]):not(#z768),.our-story-prose>p:not([class]):not(#z768),.reveal>p:not([class]):not(#z768),.roof-faq-item__a>p:not([class]):not(#z768),.rr-more__b>p:not([class]):not(#z768),.section__header>p:not([class]):not(#z768),.wl-note__b>p:not([class]):not(#z768){max-width:28.5em}p.rdn-cvs__foot:not(#z768),p.rdn-hero__lede:not(#z768),p.rr-watchlist__sub:not(#z768),p.section-desc:not(#z768),p.town-lead-form__minutes:not(#z768){margin-left:auto;margin-right:auto}
