/* V4.199: quieter, more readable site-wide presentation. Content and math
   live in their original templates. This layer changes their appearance. */

body.lc-human-site main{color:#263848}
body.lc-human-site main :is(.badge,.meta-pill,.tag,.pill){
  font-weight:650!important;letter-spacing:0!important;text-transform:none!important;
  border-radius:6px!important;box-shadow:none!important;
}
body.lc-human-site main :is(.important-box,.callout,.notice,.note-box,.sc-launch-note):not(.warning-box):not([role="alert"]){
  box-shadow:none!important;border-left-color:#dbe5e9!important;
}
body.lc-human-site main :is(.button,button[type="submit"],input[type="submit"]){
  border-radius:9px!important;box-shadow:none!important;
}
body.lc-human-site main :is(.card,.guide-card,.national-card,.on-card,.qc-card,.rtb-card){
  box-shadow:0 3px 16px rgba(36,56,70,.035)!important;
}
body.lc-human-site main :is(.card,.guide-card,.national-card,.on-card,.qc-card,.rtb-card):hover{
  box-shadow:0 6px 20px rgba(36,56,70,.06)!important;
}

/* Tenancy pages formerly used full-width blood-red banners and all-capital
   data provenance slogans. Lead with the actual question or rule instead. */
body.lc-human-tenancy main :is(
  .ns-hero,.nl-hero,.sk-hero,.nb-hero,.pe-hero,.mb-hero,.ab-hero,
  .on-hero,.qc-hero,.yt-hero,.nt-hero,.nu-hero
){
  background:#f5f3ef!important;background-image:none!important;
  border:0!important;border-bottom:1px solid #e3e4e1!important;
  box-shadow:none!important;color:#253c4f!important;
  padding:35px 0 32px!important;min-height:0!important;
}
body.lc-human-tenancy main :is(
  .ns-hero,.nl-hero,.sk-hero,.nb-hero,.pe-hero,.mb-hero,.ab-hero,
  .on-hero,.qc-hero,.yt-hero,.nt-hero,.nu-hero
) :is(h1,h2,p,.lead,.subtitle){
  color:#263b4b!important;text-shadow:none!important;
}
body.lc-human-tenancy main :is(
  .ns-hero,.nl-hero,.sk-hero,.nb-hero,.pe-hero,.mb-hero,.ab-hero,
  .on-hero,.qc-hero,.yt-hero,.nt-hero,.nu-hero
) h1{
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(29px,3.2vw,40px)!important;
  line-height:1.16!important;font-weight:700!important;
  letter-spacing:-.025em!important;max-width:970px!important;
  margin:5px 0 12px!important;
}
body.lc-human-tenancy main :is(
  .ns-hero,.nl-hero,.sk-hero,.nb-hero,.pe-hero,.mb-hero,.ab-hero,
  .on-hero,.qc-hero,.yt-hero,.nt-hero,.nu-hero
) p{max-width:830px!important;font-size:16px!important;line-height:1.55!important;margin-bottom:0!important}
body.lc-human-tenancy main :is(
  .ns-kicker,.nl-kicker,.sk-kicker,.nb-kicker,.pe-kicker,.mb-kicker,
  .ab-kicker,.on-kicker,.qc-kicker,.yt-kicker,.nt-kicker,.nu-kicker
){
  display:block!important;width:fit-content!important;background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  color:#596b75!important;font:650 13px/1.4 Inter,system-ui,sans-serif!important;
  letter-spacing:0!important;text-transform:none!important;padding:0!important;
  margin:0 0 12px!important;
}

/* Fewer boxes and no artificial vertical inflation in the primary reading
   area. Keep specific legal warning boxes visually distinct. */
body.lc-human-tenancy main :is(
  .ns-content,.nl-content,.sk-content,.nb-content,.pe-content,.mb-content,
  .ab-content,.on-content,.qc-wrap,.rtb-wrap
){max-width:1030px!important}
body.lc-human-tenancy main :is(
  .ns-section,.nl-section,.sk-section,.nb-section,.pe-section,.mb-section,
  .ab-block,.on-section,.qc-block
){margin-block:20px!important}
body.lc-human-tenancy main :is(.ns-section,.nl-section,.sk-section,.nb-section,.pe-section,.mb-section,.ab-block,.on-section,.qc-block) h2{
  margin-top:0!important;font-size:clamp(19px,2vw,23px)!important;line-height:1.3!important;
}
body.lc-human-tenancy main :is(.ns-content,.nl-content,.sk-content,.nb-content,.pe-content,.mb-content,.ab-content,.on-content,.qc-wrap) p{
  line-height:1.65!important;
}
body.lc-human-tenancy main :is(.rtb-heading,.rtb-article){
  background:#fff!important;border:1px solid #e1e7e9!important;
  border-radius:13px!important;box-shadow:none!important;
}
body.lc-human-tenancy main .rtb-heading{padding:25px 28px!important}
body.lc-human-tenancy main .rtb-article{padding:22px 28px!important}
body.lc-human-tenancy main .rtb-answer{
  background:#f4f7f8!important;border:1px solid #e0e7e9!important;
  border-left:3px solid #7f97a5!important;color:#263848!important;
  border-radius:8px!important;box-shadow:none!important;
}

/* Sources are still complete and clickable, but no longer consume a full
   extra screen of dense labels on every short provincial guide. */
body.lc-human-site details.lc-human-sources{
  margin:26px auto 12px!important;padding:0 18px!important;
  background:#fff!important;border:1px solid #e0e7ea!important;
  border-radius:11px!important;max-width:1030px!important;
}
body.lc-human-site details.lc-human-sources>summary{
  display:flex;align-items:center;justify-content:space-between;gap:15px;
  list-style:none;cursor:pointer;padding:16px 0;
  color:#314a5c;font:700 15px/1.5 Inter,system-ui,sans-serif;
}
body.lc-human-site details.lc-human-sources>summary::-webkit-details-marker{display:none}
body.lc-human-site details.lc-human-sources>summary::after{content:'+';font-size:22px;font-weight:400;color:#697c89}
body.lc-human-site details.lc-human-sources[open]>summary::after{content:'−'}
body.lc-human-site details.lc-human-sources>section{
  padding:15px 0 19px!important;margin:0!important;
  border:0!important;border-top:1px solid #edf0f1!important;
  box-shadow:none!important;background:transparent!important;
}
body.lc-human-site details.lc-human-sources>section>h2:first-child{display:none!important}
body.lc-human-site details.lc-human-sources p{color:#526677!important;font-size:13px!important}

/* Distinctive but unobtrusive neutral facts and callouts on court forms. */
body.lc-human-site main .bc8-fact{
  background:#f6f8f9!important;border:1px solid #e1e7eb!important;
  border-top-color:#d7e2e7!important;box-shadow:none!important;
}
body.lc-human-site main .bc8-fact :is(strong,span){color:#354b59!important}
body.lc-human-site main .plain-term-box:not([role="alert"]),
body.lc-human-site main .bc-example{
  background:#f8f9fa!important;border:1px solid #e2e8eb!important;
  border-radius:10px!important;box-shadow:none!important;
}

@media(max-width:640px){
  body.lc-human-tenancy main :is(
    .ns-hero,.nl-hero,.sk-hero,.nb-hero,.pe-hero,.mb-hero,.ab-hero,
    .on-hero,.qc-hero,.yt-hero,.nt-hero,.nu-hero
  ){padding:24px 0 25px!important}
  body.lc-human-tenancy main :is(
    .ns-hero,.nl-hero,.sk-hero,.nb-hero,.pe-hero,.mb-hero,.ab-hero,
    .on-hero,.qc-hero,.yt-hero,.nt-hero,.nu-hero
  ) h1{font-size:clamp(27px,7.3vw,33px)!important;line-height:1.18!important}
  body.lc-human-tenancy main :is(.rtb-heading,.rtb-article){padding:17px 16px!important}
  body.lc-human-site details.lc-human-sources{padding-inline:14px!important;margin-top:20px!important}
  body.lc-human-site main .bc8-fact{padding:11px!important}
}
