/* Scoped palette corrections for small text on the site's light reading panels.
   Shared body ink is #1f2a37; controls and dark surfaces retain their palettes. */
@layer sd-inter-light {
 html:root body:is(.sd-lean-page,.home-rebuilt,.marketplace-home){color:#1f2a37!important;}
 html:root body:is(.sd-lean-page,.home-rebuilt,.marketplace-home) :is(main#main-content,dialog,[role="dialog"]) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="range"]):not([type="color"]),select,textarea){color:#1f2a37!important;}
 /* Fully opaque, stronger body ink keeps Inter Light clear on reading surfaces.
    Dark panels, controls, badges and status colours retain their own palettes. */
 html:root body:is(.sd-lean-page,.home-rebuilt,.marketplace-home) :is(main#main-content,dialog,[role="dialog"]) :is(.sd-body-copy,p,li,dt,dd,figcaption,caption,blockquote,label,td,th,small):not(:where(
  .lr-kicker,.lr-eyebrow,[class*="kicker"],[class*="eyebrow"],[class$="-number"],[class*="status"],[role="status"],[role="alert"],
  .lr-tags *,[class*="badge"],[class*="pill"],.lm-card-price,.lm-card-price *,.lr-button *,button *,a.lr-link *,pre *,code *,
  .lr-explore-controls *,.nr-current *,.nr-next *,.lm-controls *,.lm-filter-grid *,.li-filters *,.hp-domain-tabs *,.mt-process-flow *,
  .hp-connected-dark *,.fcte-dark *,.lr-footer *
 )){color:#1f2a37!important;opacity:1!important;}
 html:root body:is(.sd-lean-page,.home-rebuilt,.marketplace-home) :is(main#main-content,dialog,[role="dialog"]) :is(p,li,dt,dd,figcaption,caption,blockquote,label,td,th) > :is(span,small,em,strong):not(:where(
  [class*="badge"],[class*="pill"],[class*="status"],.lr-kicker *,[class*="eyebrow"] *,
  .lr-tags *,.lm-card-price *,.lr-button *,button *,a.lr-link *,pre *,code *,
  .lr-explore-controls *,.nr-current *,.nr-next *,.lm-controls *,.lm-filter-grid *,.li-filters *,.hp-domain-tabs *,.mt-process-flow *,
  .hp-connected-dark *,.fcte-dark *
 )){color:inherit!important;opacity:1!important;}
 html:root body.sd-lean-page main#main-content :is(.lm-results-status,.lpr-preview-placeholder p){color:#1f2a37!important;opacity:1!important;}
 html:root body.home-rebuilt main#main-content :is(.hp-work-uses,.hp-published-datasets) :is(p.sd-body-copy,.hp-work-applications > p,.hp-work-tailored p){color:#1f2a37!important;opacity:1!important;}
 body.sd-lean-page main#main-content .lr-tags > *,
 body.sd-lean-page main#main-content .lr-event-copy .lr-badge,
 body.sd-lean-page main#main-content .hcr-link,
 body.sd-lean-page main#main-content .co-catalogue-update a,
 body.sd-lean-page main#main-content .lr-semantic-audit .lsa-chapters a[aria-current],
 body.home-rebuilt main#main-content .hp-published-datasets .hp-published-tags > li,
 body.sd-lean-page main#main-content .lr-kicker:not(:where(.nr-current *, .nr-next *)),
 body.sd-lean-page main#main-content a.lr-link:not(.lr-button):not(:where(.nr-current *, .nr-next *)),
 body.sd-lean-page main#main-content .lr-button-secondary:not(:where(.nr-current *, .nr-next *)),
 body.sd-lean-page.lr-app-page main#main-content .lc-button:not(.lc-button-primary),
 body.sd-lean-page.lr-app-page main#main-content .lc-trust a,
 body.sd-lean-page.lr-methodology-page main#main-content .mt-link,
 body.sd-lean-page.lr-purchase-terms-page main#main-content a.xp-link,
 body.sd-lean-page main#main-content #topics .li-topic-count,
 body.sd-lean-page main#main-content .lean-source-document :is(.finding-tag, .resolved-badge),
 body.sd-lean-page.lr-assumptions-register-page main#main-content .ar-section-number {
  color:#006e78!important;
 }
 body.sd-lean-page main#main-content .lr-event-audit {
  --lea-review:#765824!important;
 }
 body.sd-lean-page main#main-content .li-filters button[type=submit]{color:#fff!important;}
 body.sd-lean-page main#main-content .lr-event-audit :is(.lea-chapters a > span, .lea-event-number),
 body.sd-lean-page.lr-domain-checks-page main#main-content .lr-domain-checks .audit-disabled {
  color:#526575!important;
 }
}

/* Body copy uses fully opaque ink; dark panels keep their readable palette. */
@layer sd-inter-light {
 body main :is(p,li,dt,dd,figcaption,caption,blockquote,label,td,th){opacity:1!important;}
 body.home-rebuilt main#main-content .hp-hero .v2-hero-deck{color:#1f2a37!important;opacity:1!important;}
}

/* Decorative footer cards are removed on every page. */
@layer sd-inter-light {
 footer:is(.lr-footer,.rb-footer)::before{content:none!important;display:none!important;background:none!important;}
 footer :is(.hp-footer-health-engraving,.sd-footer-card,.lr-footer-card){display:none!important;}
 body footer:is(.lr-footer,.rb-footer) p{color:#fff!important;opacity:1!important;}
}

/* Link arrows stay next to the label, including full-width reading rows. */
@layer sd-inter-light {
 html:root body[class] :is(main#main-content,header.lr-header,footer.lr-footer) :is(a,a :is(span,div)):has(>span[aria-hidden="true"]){justify-content:flex-start!important;column-gap:8px!important;}
 html:root body[class] :is(main#main-content,header.lr-header,footer.lr-footer) a span[aria-hidden="true"]{margin-inline:0!important;flex:0 0 auto!important;}
 html:root body[class] :is(main#main-content,header.lr-header,footer.lr-footer) a:is(.btn,.hd-history-link,[class*="button"],[role="button"]):has(>span[aria-hidden="true"]){justify-content:center!important;}
 html:root body[class] :is(main#main-content,header.lr-header,footer.lr-footer) :is(a,a :is(span,div)):has(>span[aria-hidden="true"])>span:not([aria-hidden="true"]){flex:0 1 auto!important;}
 html:root body.sd-lean-page main#main-content .ev-stage-navigation a{grid-template-columns:32px minmax(0,max-content) 16px!important;}
}

/* Audit previews follow the existing Evidence library city tabs. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content [data-ev-city-panel]>.apdf-section{padding:28px 0 0!important;margin-top:24px;border-top:1px solid #bedbe5;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content [data-ev-city-panel]>.apdf-section:where([data-sd-section-space]){padding-top:max(calc((28px) * 2),var(--sd-section-min-padding,0px))!important;padding-bottom:max(0px,var(--sd-section-min-padding,0px))!important;margin-top:calc((24px) * 2);}html:root body.sd-lean-page main#main-content [data-ev-city-panel]>.apdf-section:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(0px,var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content [data-ev-city-panel]>.apdf-section:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((28px) * 2),var(--sd-divider-min-padding,0px))!important;--sd-divider-next-margin:calc((24px) * 2);}html:root body.sd-lean-page main#main-content [data-ev-city-panel]>.apdf-section{border-top-color:rgba(92,160,164,.12);}html:root body.sd-lean-page main#main-content [data-ev-city-panel]>.apdf-section:where([data-sd-linear-section]){border-top-width:0!important;border-bottom-width:0!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content [data-ev-city-panel]>.apdf-section>.apdf-shell{width:100%;max-width:none;padding-inline:0!important;}
}

/* The FCTE release process shares the footer's full-width navy surface. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content #process:has(.lr-fcte-release-flow){background:#061b2b!important;width:100%;max-width:none;}
 html:root body.sd-lean-page main#main-content #process:has(.lr-fcte-release-flow) :is(h2,h3,p,li){color:#fff!important;opacity:1!important;}
 html:root body.sd-lean-page main#main-content #process:has(.lr-fcte-release-flow) .lr-fcte-release-step{border-color:#315063!important;}
 html:root body.sd-lean-page main#main-content #process:has(.lr-fcte-release-flow) :is(.lr-fcte-step-marker,.lr-fcte-step-count){color:#48dacf!important;}
 html:root body.sd-lean-page main#main-content #process:has(.lr-fcte-release-flow) .lr-fcte-step-marker svg{stroke:#48dacf!important;}
}

/* Evidence sample checks share the footer navy palette. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content #samples.ev-section{background:#061b2b!important;width:100%;max-width:none;}
 html:root body.sd-lean-page main#main-content #samples.ev-section :is(h2,h3,p,li){color:#fff!important;opacity:1!important;}
 html:root body.sd-lean-page main#main-content #samples.ev-section :is(a.lr-link,.ev-flow-marker,.ev-section-index,.ev-card-icon){color:#48dacf!important;border-color:#48dacf!important;}
 html:root body.sd-lean-page main#main-content #samples.ev-section svg{stroke:#48dacf!important;}
 html:root body.sd-lean-page main#main-content #samples.ev-section .ev-download-band{border-color:#315063!important;}
 html:root body.sd-lean-page main#main-content #samples.ev-section .ev-flow-marker::after{border-color:#315063!important;}
}

/* Homepage evidence uses the footer's full-width navy surface. */
@layer sd-inter-light {
 html:root body.home-rebuilt main#main-content .hp-evidence-adoption{background:#061b2b!important;border-color:#315063!important;width:100%;max-width:none;}
 html:root body.home-rebuilt main#main-content .hp-evidence-adoption::before{mix-blend-mode:screen!important;opacity:.035!important;}
 html:root body.home-rebuilt main#main-content .hp-evidence-adoption #hpChecksTitle{color:#fff!important;}
 html:root body.home-rebuilt main#main-content .hp-evidence-adoption :is(h2,h3,p,.hp-release-links>span){color:#fff!important;opacity:1!important;}
 html:root body.home-rebuilt main#main-content .hp-evidence-adoption :is(.sd-eyebrow,.hp-check-number,.hp-check-action,.hp-release-links a){color:#48dacf!important;border-color:#48dacf!important;}
 html:root body.home-rebuilt main#main-content .hp-evidence-adoption .hp-check-card{background:transparent!important;border-color:#315063!important;}
 html:root body.home-rebuilt main#main-content .hp-evidence-adoption .hp-check-card:hover{background:#0b2a3e!important;border-color:#48dacf!important;}
 html:root body.home-rebuilt main#main-content .hp-evidence-adoption .hp-check-card:focus-visible{outline-color:#48dacf!important;}
 html:root body.home-rebuilt main#main-content .hp-evidence-adoption .hp-release-links{border-color:#315063!important;}
}

@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content #samples.ev-section .ev-flow-marker{background:#061b2b!important;}
 html:root body.home-rebuilt main#main-content .hp-evidence-adoption :is(.hp-check-action,.hp-release-links a)>span[aria-hidden="true"]{color:#48dacf!important;}
}

@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content #samples.ev-section .ev-sample-flow li+li::before{background:#061b2b!important;color:#48dacf!important;}
 html:root body.sd-lean-page main#main-content #samples.ev-section :is(.ev-sample-flow,.ev-sample-flow li){border-color:#315063!important;}
}

/* Explorer control labels remain white on the footer-navy form panel. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content #lrExplorer .lr-explore-controls :is(label,legend){color:#fff!important;opacity:1!important;}
}

/* About: the operator and legal notices stay visible on footer navy. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content #operator:has(.lr-operator-notices){background:#061b2b!important;width:100%;max-width:none;}
 html:root body.sd-lean-page main#main-content #operator:has(.lr-operator-notices) :is(h2,h3,p){color:#fff!important;opacity:1!important;}
 html:root body.sd-lean-page main#main-content #operator:has(.lr-operator-notices) a.lr-link{color:#48dacf!important;border-color:#48dacf!important;}
 html:root body.sd-lean-page main#main-content #operator:has(.lr-operator-notices) .lr-operator-notices{margin-top:28px;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #operator:has(.lr-operator-notices) .lr-operator-notices:where([data-sd-section-space]){margin-top:calc((28px) * 2);}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #operator .lr-operator-notices:where([data-sd-linear-section]))){--sd-divider-next-margin:calc((28px) * 2);}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content #operator:has(.lr-operator-notices) .lr-operator-notices h3{font-size:20px!important;margin-bottom:12px;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #operator:has(.lr-operator-notices) .lr-operator-notices h3:where([data-sd-section-space]){margin-bottom:calc((12px) * 2);}html:root body.sd-lean-page main#main-content #operator:has(.lr-operator-notices) .lr-operator-notices h3:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:calc((12px) * 2);}/* sd-section-spacing:end */
}

/* Delivery package file trees use the footer navy background. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content .dsg-tree-grid .dsg-tree{background:#061b2b!important;color:#fff!important;border-color:#315063!important;opacity:1!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;}
}

/* Share header and panel rows so desktop file trees align at both edges. */
@layer sd-inter-light {
 @media(min-width:761px){
  html:root body.sd-lean-page main#main-content .dsg-tree-grid{align-items:stretch;row-gap:0;}
  html:root body.sd-lean-page main#main-content .dsg-tree-grid .dsg-tree-card{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0;}
 }
}

/* Keep the Explorer portrait and citizen identity in one compact row. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading{display:flex;align-items:center;gap:24px;}
 html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-copy{min-width:0;flex:1;}
 html:root body.sd-lean-page main#main-content #lrExplorer .lr-summary-avatar{order:-1;display:block;flex:0 0 112px;width:112px;height:112px;object-fit:cover;margin:0;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-summary-avatar:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-summary-avatar:where([data-sd-linear-section]))){--sd-divider-next-margin:0px;}/* sd-section-spacing:end */
 @media(max-width:760px){
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading{gap:16px;}
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-summary-avatar{flex-basis:72px;width:72px;height:72px;}
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-copy h2{font-size:24px!important;line-height:1.2!important;}
 }
}

/* Give the citizen row breathing room and separate its download badges. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary{padding-block:32px!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-section-space]){padding-block-start:max(calc((32px) * 2),var(--sd-section-min-padding,0px))!important;padding-block-end:max(calc((32px) * 2),var(--sd-section-min-padding,0px))!important;}html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((32px) * 2),var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((32px) * 2),var(--sd-divider-min-padding,0px))!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary [data-lr-downloads]{margin-top:0!important;padding-top:24px!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary [data-lr-downloads]:where([data-sd-section-space]){margin-top:0!important;padding-top:max(calc((24px) * 2),var(--sd-section-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary [data-lr-downloads]:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;--sd-divider-next-padding:max(calc((24px) * 2),var(--sd-divider-min-padding,0px))!important;}/* sd-section-spacing:end */
 @media(max-width:760px){
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary{padding-block:24px!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-section-space]){padding-block-start:max(calc((24px) * 2),var(--sd-section-min-padding,0px))!important;padding-block-end:max(calc((24px) * 2),var(--sd-section-min-padding,0px))!important;}html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((24px) * 2),var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((24px) * 2),var(--sd-divider-min-padding,0px))!important;}/* sd-section-spacing:end */
 }
}

/* Separate downloads from the domain cards with space instead of a divider. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary{border-bottom:0!important;padding-top:40px!important;padding-bottom:48px!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-section-space]){padding-top:max(calc((40px) * 2),var(--sd-section-min-padding,0px))!important;padding-bottom:max(calc((48px) * 2),var(--sd-section-min-padding,0px))!important;}html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((48px) * 2),var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((40px) * 2),var(--sd-divider-min-padding,0px))!important;}html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-linear-section]){border-top-width:0!important;border-bottom-width:0!important;}/* sd-section-spacing:end */
 @media(max-width:760px){
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary{padding-top:32px!important;padding-bottom:40px!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-section-space]){padding-top:max(calc((32px) * 2),var(--sd-section-min-padding,0px))!important;padding-bottom:max(calc((40px) * 2),var(--sd-section-min-padding,0px))!important;}html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((40px) * 2),var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((32px) * 2),var(--sd-divider-min-padding,0px))!important;}/* sd-section-spacing:end */
 }
}

/* Frame the citizen identity separately from the download badges. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading{border:1px solid #b7dce5!important;padding:24px!important;box-sizing:border-box;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading:where([data-sd-section-space]){padding-top:max(calc((24px) * 2),var(--sd-section-min-padding,0px))!important;padding-bottom:max(calc((24px) * 2),var(--sd-section-min-padding,0px))!important;}html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((24px) * 2),var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((24px) * 2),var(--sd-divider-min-padding,0px))!important;}html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading:where([data-sd-linear-section]){border-top-width:0!important;border-bottom-width:0!important;}/* sd-section-spacing:end */
 @media(max-width:760px){
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading{padding:16px!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading:where([data-sd-section-space]){padding-top:max(calc((16px) * 2),var(--sd-section-min-padding,0px))!important;padding-bottom:max(calc((16px) * 2),var(--sd-section-min-padding,0px))!important;}html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((16px) * 2),var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((16px) * 2),var(--sd-divider-min-padding,0px))!important;}/* sd-section-spacing:end */
 }
 @media(max-width:360px){
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading{padding:12px!important;gap:12px;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading:where([data-sd-section-space]){padding-top:max(calc((12px) * 2),var(--sd-section-min-padding,0px))!important;padding-bottom:max(calc((12px) * 2),var(--sd-section-min-padding,0px))!important;}html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((12px) * 2),var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((12px) * 2),var(--sd-divider-min-padding,0px))!important;}/* sd-section-spacing:end */
 }
}

/* Desktop downloads share the profile row; mobile downloads remain below it. */
@layer sd-inter-light {
 @media(min-width:1025px){
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:32px;}
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary [data-lr-downloads]{min-width:0;width:auto;padding-top:0!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary [data-lr-downloads]:where([data-sd-section-space]){padding-top:max(0px,var(--sd-section-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary [data-lr-downloads]:where([data-sd-linear-section]))){--sd-divider-next-padding:max(0px,var(--sd-divider-min-padding,0px))!important;}/* sd-section-spacing:end */
 }
}

/* Mobile identity: full-width label, portrait and name, then full-width metadata. */
@layer sd-inter-light {
 @media(max-width:760px){
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading{display:grid;grid-template-columns:72px minmax(0,1fr);row-gap:16px;align-items:center;}
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-copy{display:contents;}
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading [data-lr-city-label]{grid-column:1/-1;grid-row:1;margin:0!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading [data-lr-city-label]:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading [data-lr-city-label]:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-summary-avatar{grid-column:1;grid-row:2;order:0;}
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading [data-lr-name]{grid-column:2;grid-row:2;margin:0!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading [data-lr-name]:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading [data-lr-name]:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
  html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading [data-lr-profile-meta]{grid-column:1/-1;grid-row:3;margin:0!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading [data-lr-profile-meta]:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content #lrExplorer .lr-citizen-summary-heading [data-lr-profile-meta]:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
 }
}

/* Explicit city selection before a dataset is added to the cart. */
@layer sd-inter-light {
 html:root body.sd-lean-page .lc-city-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid #b7dce5;border-radius:8px;background:#fff;color:#1f2a37;font-family:inherit;}/* sd-section-spacing:begin */html:root body.sd-lean-page .lc-city-dialog:where([data-sd-section-space]){padding-top:max(calc((28px) * 2),var(--sd-section-min-padding,0px));padding-bottom:max(calc((28px) * 2),var(--sd-section-min-padding,0px));}html:root body.sd-lean-page .lc-city-dialog:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((28px) * 2),var(--sd-divider-min-padding,0px));}.sd-section-divider:has(+ :is(html:root body.sd-lean-page .lc-city-dialog:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((28px) * 2),var(--sd-divider-min-padding,0px));}html:root body.sd-lean-page .lc-city-dialog:where([data-sd-linear-section]){border-top-width:0!important;border-bottom-width:0!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page .lc-city-dialog::backdrop{background:rgb(6 27 43 / 65%);}
 html:root body.sd-lean-page .lc-city-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;}
 html:root body.sd-lean-page .lc-city-dialog h2{margin:0!important;font-size:28px!important;font-weight:300;line-height:1.2!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page .lc-city-dialog h2:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page .lc-city-dialog h2:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page .lc-city-dialog p{color:#1f2a37!important;opacity:1!important;}
 html:root body.sd-lean-page .lc-city-product{margin:24px 0 8px!important;font-size:20px!important;line-height:1.4!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page .lc-city-product:where([data-sd-section-space]){margin-top:calc((24px) * 2)!important;margin-bottom:calc((8px) * 2)!important;}html:root body.sd-lean-page .lc-city-product:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:calc((8px) * 2)!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page .lc-city-product:where([data-sd-linear-section]))){--sd-divider-next-margin:calc((24px) * 2)!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page .lc-city-options{border:0;margin:24px 0;padding:0;}/* sd-section-spacing:begin */html:root body.sd-lean-page .lc-city-options:where([data-sd-section-space]){margin-top:calc((24px) * 2);margin-bottom:calc((24px) * 2);padding-top:max(0px,var(--sd-section-min-padding,0px));padding-bottom:max(0px,var(--sd-section-min-padding,0px));}html:root body.sd-lean-page .lc-city-options:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:calc((24px) * 2);--sd-divider-prev-padding:max(0px,var(--sd-divider-min-padding,0px));}.sd-section-divider:has(+ :is(html:root body.sd-lean-page .lc-city-options:where([data-sd-linear-section]))){--sd-divider-next-margin:calc((24px) * 2);--sd-divider-next-padding:max(0px,var(--sd-divider-min-padding,0px));}html:root body.sd-lean-page .lc-city-options:where([data-sd-linear-section]){border-top-width:0!important;border-bottom-width:0!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page .lc-city-options legend{margin-bottom:12px;color:#1f2a37;}/* sd-section-spacing:begin */html:root body.sd-lean-page .lc-city-options legend:where([data-sd-section-space]){margin-bottom:calc((12px) * 2);}html:root body.sd-lean-page .lc-city-options legend:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:calc((12px) * 2);}/* sd-section-spacing:end */
 html:root body.sd-lean-page [data-cart-city-options]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 html:root body.sd-lean-page [data-cart-city-options] label{display:flex;align-items:center;gap:12px;min-height:52px;padding:12px;border:1px solid #b7dce5;color:#1f2a37;cursor:pointer;}/* sd-section-spacing:begin */html:root body.sd-lean-page [data-cart-city-options] label:where([data-sd-section-space]){padding-top:max(calc((12px) * 2),var(--sd-section-min-padding,0px));padding-bottom:max(calc((12px) * 2),var(--sd-section-min-padding,0px));}html:root body.sd-lean-page [data-cart-city-options] label:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((12px) * 2),var(--sd-divider-min-padding,0px));}.sd-section-divider:has(+ :is(html:root body.sd-lean-page [data-cart-city-options] label:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((12px) * 2),var(--sd-divider-min-padding,0px));}html:root body.sd-lean-page [data-cart-city-options] label:where([data-sd-linear-section]){border-top-width:0!important;border-bottom-width:0!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page [data-cart-city-options] label:has(:checked){border-color:#007579;background:#eaf5f7;}
 html:root body.sd-lean-page [data-cart-city-options] input{width:20px;height:20px;flex:none;margin:0;accent-color:#007579;}/* sd-section-spacing:begin */html:root body.sd-lean-page [data-cart-city-options] input:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page [data-cart-city-options] input:where([data-sd-linear-section]))){--sd-divider-next-margin:0px;}/* sd-section-spacing:end */
 html:root body.sd-lean-page .lc-city-total{padding:20px;background:#eaf5f7;}/* sd-section-spacing:begin */html:root body.sd-lean-page .lc-city-total:where([data-sd-section-space]){padding-top:max(calc((20px) * 2),var(--sd-section-min-padding,0px));padding-bottom:max(calc((20px) * 2),var(--sd-section-min-padding,0px));}html:root body.sd-lean-page .lc-city-total:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((20px) * 2),var(--sd-divider-min-padding,0px));}.sd-section-divider:has(+ :is(html:root body.sd-lean-page .lc-city-total:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((20px) * 2),var(--sd-divider-min-padding,0px));}/* sd-section-spacing:end */
 html:root body.sd-lean-page .lc-city-total p{margin:0 0 8px!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page .lc-city-total p:where([data-sd-section-space]){margin-top:0!important;margin-bottom:calc((8px) * 2)!important;}html:root body.sd-lean-page .lc-city-total p:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:calc((8px) * 2)!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page .lc-city-total p:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page [data-cart-city-total]{display:block;font-size:28px;line-height:1.3;font-weight:400;}
 html:root body.sd-lean-page .lc-city-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px;}/* sd-section-spacing:begin */html:root body.sd-lean-page .lc-city-actions:where([data-sd-section-space]){margin-top:calc((24px) * 2);}.sd-section-divider:has(+ :is(html:root body.sd-lean-page .lc-city-actions:where([data-sd-linear-section]))){--sd-divider-next-margin:calc((24px) * 2);}/* sd-section-spacing:end */
 html:root body.sd-lean-page .lc-city-dialog button:disabled{opacity:.5;cursor:not-allowed;}
 @media(max-width:760px){html:root body.sd-lean-page .lc-city-dialog{padding:20px;}/* sd-section-spacing:begin */html:root body.sd-lean-page .lc-city-dialog:where([data-sd-section-space]){padding-top:max(calc((20px) * 2),var(--sd-section-min-padding,0px));padding-bottom:max(calc((20px) * 2),var(--sd-section-min-padding,0px));}html:root body.sd-lean-page .lc-city-dialog:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((20px) * 2),var(--sd-divider-min-padding,0px));}.sd-section-divider:has(+ :is(html:root body.sd-lean-page .lc-city-dialog:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((20px) * 2),var(--sd-divider-min-padding,0px));}/* sd-section-spacing:end */html:root body.sd-lean-page .lc-city-dialog h2{font-size:24px!important;}html:root body.sd-lean-page .lc-city-head button{padding:8px 12px;flex:none;}/* sd-section-spacing:begin */html:root body.sd-lean-page .lc-city-head button:where([data-sd-section-space]){padding-top:max(calc((8px) * 2),var(--sd-section-min-padding,0px));padding-bottom:max(calc((8px) * 2),var(--sd-section-min-padding,0px));}html:root body.sd-lean-page .lc-city-head button:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((8px) * 2),var(--sd-divider-min-padding,0px));}.sd-section-divider:has(+ :is(html:root body.sd-lean-page .lc-city-head button:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((8px) * 2),var(--sd-divider-min-padding,0px));}/* sd-section-spacing:end */html:root body.sd-lean-page [data-cart-city-options]{grid-template-columns:minmax(0,1fr);}}
}

/* Repeat paging controls beside the count above each marketplace list. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content .lm-results-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;margin:24px 0;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content .lm-results-header:where([data-sd-section-space]){margin-top:calc((24px) * 2);margin-bottom:calc((24px) * 2);}html:root body.sd-lean-page main#main-content .lm-results-header:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:calc((24px) * 2);}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content .lm-results-header:where([data-sd-linear-section]))){--sd-divider-next-margin:calc((24px) * 2);}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content .lm-results-header .lm-results-status{margin:0!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content .lm-results-header .lm-results-status:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content .lm-results-header .lm-results-status:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content .lm-pagination-top{display:flex;align-items:center;gap:8px;margin-left:auto;flex:none;}
 html:root body.sd-lean-page main#main-content .lm-pagination-top button{min-height:44px;padding:8px 14px;font-size:14px!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content .lm-pagination-top button:where([data-sd-section-space]){padding-top:max(calc((8px) * 2),var(--sd-section-min-padding,0px));padding-bottom:max(calc((8px) * 2),var(--sd-section-min-padding,0px));}html:root body.sd-lean-page main#main-content .lm-pagination-top button:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((8px) * 2),var(--sd-divider-min-padding,0px));}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content .lm-pagination-top button:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((8px) * 2),var(--sd-divider-min-padding,0px));}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content .lm-pagination-top button:disabled{opacity:.4;cursor:default;}
 html:root body.sd-lean-page main#main-content .lm-pagination-top>span{color:#8bb7c5;}
}

/* Allocate all five receipt columns, including Amount, within the panel. */
@layer sd-inter-light {
 html:root body.sd-lean-page .lc-receipt-table :is(th,td){box-sizing:border-box!important;}
 html:root body.sd-lean-page .lc-receipt-table thead th:nth-child(1){width:36%!important;}
 html:root body.sd-lean-page .lc-receipt-table thead th:nth-child(2){width:18%!important;}
 html:root body.sd-lean-page .lc-receipt-table thead th:nth-child(3){width:20%!important;}
 html:root body.sd-lean-page .lc-receipt-table thead th:nth-child(4){width:8%!important;}
 html:root body.sd-lean-page .lc-receipt-table thead th:nth-child(5){width:18%!important;}
 html:root body.sd-lean-page .lc-receipt-table :is(.lc-receipt-dataset,.lc-receipt-cities){overflow-wrap:anywhere!important;}
 html:root body.sd-lean-page .lc-receipt-table :is(.lc-receipt-amount,tfoot td){white-space:nowrap!important;}
 html:root body.sd-lean-page .lc-receipt-table thead :is(th:nth-child(3),th:nth-child(5)){text-align:right!important;}
}

/* Stack the mobile care heading and its explanatory copy into two full rows. */
@layer sd-inter-light {
 @media(max-width:760px){
  html:root body.home-rebuilt main#main-content #sample-panel-health .hd-history-heading{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;}
  html:root body.home-rebuilt main#main-content #sample-panel-health .hd-history-heading>div{min-width:0;width:100%!important;}
  html:root body.home-rebuilt main#main-content #sample-panel-health .hd-history-heading [data-home-record-unit-scope]{grid-row:2;min-width:0;max-width:none!important;margin:0!important;}/* sd-section-spacing:begin */html:root body.home-rebuilt main#main-content #sample-panel-health .hd-history-heading [data-home-record-unit-scope]:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.home-rebuilt main#main-content #sample-panel-health .hd-history-heading [data-home-record-unit-scope]:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
 }
}

/* A solid teal circle frames the white mobile care chevron. */
@layer sd-inter-light {
 html:root body.home-rebuilt main#main-content #sample-panel-health .hd-history-toggle svg{width:32px!important;height:32px!important;padding:8px!important;box-sizing:border-box;border-radius:50%;background:#007579;color:#fff;}/* sd-section-spacing:begin */html:root body.home-rebuilt main#main-content #sample-panel-health .hd-history-toggle svg:where([data-sd-section-space]){padding-top:max(calc((8px) * 2),var(--sd-section-min-padding,0px))!important;padding-bottom:max(calc((8px) * 2),var(--sd-section-min-padding,0px))!important;}html:root body.home-rebuilt main#main-content #sample-panel-health .hd-history-toggle svg:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((8px) * 2),var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.home-rebuilt main#main-content #sample-panel-health .hd-history-toggle svg:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((8px) * 2),var(--sd-divider-min-padding,0px))!important;}/* sd-section-spacing:end */
 html:root body.home-rebuilt main#main-content #sample-panel-health .hd-history-toggle svg path{fill:none!important;stroke:#fff!important;stroke-width:1.7!important;}
}

/* Match the mobile Life events control to the care milestone toggle. */
@layer sd-inter-light {
 @media(max-width:650px){
  html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline-toggle{font-size:22px!important;line-height:1.3!important;letter-spacing:normal!important;text-transform:none!important;color:#0a3a66!important;}
  html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline-toggle svg{width:32px!important;height:32px!important;padding:8px!important;box-sizing:border-box;border-radius:50%;background:#007579;color:#fff;flex-shrink:0;}/* sd-section-spacing:begin */html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline-toggle svg:where([data-sd-section-space]){padding-top:max(calc((8px) * 2),var(--sd-section-min-padding,0px))!important;padding-bottom:max(calc((8px) * 2),var(--sd-section-min-padding,0px))!important;}html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline-toggle svg:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((8px) * 2),var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline-toggle svg:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((8px) * 2),var(--sd-divider-min-padding,0px))!important;}/* sd-section-spacing:end */
  html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline-toggle svg path{fill:none!important;stroke:#fff!important;stroke-width:1.7!important;}
 }
}

/* Footer navy for the Life events panel, with readable event text and icons. */
@layer sd-inter-light {
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline{background:#061b2b!important;border-color:#315063!important;}
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline :is(h3,.cc-timeline-label,.cc-timeline-toggle,.cc-timeline-description,.cc-event-year,.cc-event-time,.cc-event p,.cc-timeline-note){color:#fff!important;opacity:1!important;}
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline .cc-event svg{color:#48dacf!important;stroke:#48dacf!important;}
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline .cc-event:not(:last-child)::after{background:#48dacf80!important;}
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline .cc-event-year:focus-visible{outline-color:#48dacf!important;}
}

@layer sd-inter-light {
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline .cc-event :is(strong,p,span:not(.cc-event-dot)){color:#fff!important;opacity:1!important;}
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline .cc-event-year:hover{background:#24465b!important;color:#fff!important;}
}

/* Distinguish activity details from white event titles and dates. */
@layer sd-inter-light {
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline .cc-event.cc-event p,
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline .cc-event.cc-event p *{color:#9ce8df!important;opacity:1!important;}
}

@layer sd-inter-light {
 @media(max-width:650px){
  html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline[data-cc-expanded="false"],
  html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline-heading,
  html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-timeline-description{cursor:pointer;}
 }
}

/* Footer navy inside the citizen circle; retain its existing teal border. */
@layer sd-inter-light {
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-identity{background:#061b2b!important;box-shadow:inset 0 0 0 9px #fff!important;}
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-identity :is(strong,p){color:#fff!important;opacity:1!important;}
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-identity .cc-identity-label{color:#9ce8df!important;opacity:1!important;}
 html:root body.home-rebuilt main#main-content #connected-life.cc-section .cc-identity .cc-person{stroke:#48dacf!important;}
}

/* Angle the hero gold accent downward from left to right. */
@layer sd-inter-light {
 html:root body.home-rebuilt main#main-content #v2HomeTitle .hp-hero-underline-tail::after{transform:rotate(4deg)!important;transform-origin:center!important;}
}
/* Study and Insights card prices match dataset catalogue typography. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-card-price{display:flex!important;align-items:baseline;gap:10px;box-sizing:border-box;width:100%;padding:10px 14px!important;margin-top:auto!important;border-left:3px solid #00888c;background:#e8f6f5!important;color:#00666b!important;line-height:1.2!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-card-price:where([data-sd-section-space]){padding-top:max(calc((10px) * 2),var(--sd-section-min-padding,0px))!important;padding-bottom:max(calc((10px) * 2),var(--sd-section-min-padding,0px))!important;margin-top:auto!important;}html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-card-price:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-padding:max(calc((10px) * 2),var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-card-price:where([data-sd-linear-section]))){--sd-divider-next-padding:max(calc((10px) * 2),var(--sd-divider-min-padding,0px))!important;--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-price-label{font-size:16px!important;font-weight:400!important;letter-spacing:0!important;color:inherit!important;white-space:nowrap;}
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-card-price strong{font-size:34px!important;font-weight:300!important;letter-spacing:-.035em!important;color:inherit!important;white-space:nowrap;}
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-card-price span{font-size:13px!important;font-weight:300!important;letter-spacing:.06em!important;color:inherit!important;white-space:nowrap;}
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-data{font-size:14px!important;line-height:1.5!important;margin:0!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-data:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-data:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content .lm-question-card .lm-card-copy{gap:12px;}
 @media(max-width:760px){html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-card-price strong{font-size:32px!important;}}
}

/* Larger catalogue titles distinguish datasets and study questions from supporting copy. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content :is(.lm-dataset-card,.lm-question-card,.li-question) h3,
 html:root body.sd-lean-page main#main-content :is(.lm-dataset-card,.lm-question-card,.li-question) h3 a{font-size:28px!important;line-height:1.25!important;}
 @media(max-width:760px){
  html:root body.sd-lean-page main#main-content :is(.lm-dataset-card,.lm-question-card,.li-question) h3,
  html:root body.sd-lean-page main#main-content :is(.lm-dataset-card,.lm-question-card,.li-question) h3 a{font-size:26px!important;}
 }
}

/* Keep study domains and related dataset links visible without expanding the card. */
@layer sd-inter-light {
 html:root body.sd-lean-page main#main-content .li-question .lm-study-connections{margin-block:14px;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content .li-question .lm-study-connections:where([data-sd-section-space]){margin-block-start:calc((14px) * 2);margin-block-end:calc((14px) * 2);}html:root body.sd-lean-page main#main-content .li-question .lm-study-connections:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:calc((14px) * 2);}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content .li-question .lm-study-connections:where([data-sd-linear-section]))){--sd-divider-next-margin:calc((14px) * 2);}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-connections{display:grid;gap:14px;width:100%;min-width:0;}
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) :is(.lm-study-domains,.lm-study-related){display:grid;gap:8px;min-width:0;}
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-label{font-size:14px!important;font-weight:500!important;line-height:1.4!important;margin:0!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-label:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-label:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-domains .lr-tags{gap:6px;margin:0!important;padding:0!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-domains .lr-tags:where([data-sd-section-space]){margin-top:0!important;margin-bottom:0!important;padding-top:max(0px,var(--sd-section-min-padding,0px))!important;padding-bottom:max(0px,var(--sd-section-min-padding,0px))!important;}html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-domains .lr-tags:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;--sd-divider-prev-padding:max(0px,var(--sd-divider-min-padding,0px))!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-domains .lr-tags:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;--sd-divider-next-padding:max(0px,var(--sd-divider-min-padding,0px))!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-related ul{display:grid;gap:6px;margin:0!important;padding-left:18px!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-related ul:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-related ul:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-related :is(li,a){font-size:15px!important;line-height:1.45!important;overflow-wrap:anywhere;margin:0!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-related :is(li,a):where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-related :is(li,a):where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
 html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-scope{font-size:13px!important;line-height:1.5!important;margin:0!important;}/* sd-section-spacing:begin */html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-scope:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:0px!important;}.sd-section-divider:has(+ :is(html:root body.sd-lean-page main#main-content :is(.lm-question-card,.li-question) .lm-study-scope:where([data-sd-linear-section]))){--sd-divider-next-margin:0px!important;}/* sd-section-spacing:end */
}

/* Leave clear vertical space from the Connected Synthetic Life heading to its domain tabs. */
@layer sd-inter-light {
 html:root body.home-rebuilt main#main-content #free-datasets .hp-free-heading{margin-bottom:96px!important;}/* sd-section-spacing:begin */html:root body.home-rebuilt main#main-content #free-datasets .hp-free-heading:where([data-sd-section-space]){margin-bottom:calc((96px) * 2)!important;}html:root body.home-rebuilt main#main-content #free-datasets .hp-free-heading:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:calc((96px) * 2)!important;}/* sd-section-spacing:end */
 @media(max-width:760px){html:root body.home-rebuilt main#main-content #free-datasets .hp-free-heading{margin-bottom:64px!important;}/* sd-section-spacing:begin */html:root body.home-rebuilt main#main-content #free-datasets .hp-free-heading:where([data-sd-section-space]){margin-bottom:calc((64px) * 2)!important;}html:root body.home-rebuilt main#main-content #free-datasets .hp-free-heading:where([data-sd-linear-section]) + .sd-section-divider{--sd-divider-prev-margin:calc((64px) * 2)!important;}/* sd-section-spacing:end */}
}
