/* LifestyleGlide — shared white, blue and navy system. No content, layout order or control behavior is replaced. */
:root[data-lg-ui="life"] {
  --life-font:"Google Sans Flex",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --life-bg:#fff; --life-paper:#fff; --life-ink:#17213b; --life-muted:#596881;
  --life-line:#dce4f2; --life-blue:#3153ef; --life-soft:#edf2ff; --life-raised:#f7f9fd;
  --life-action:#17213b; --life-on-action:#fff; --life-shadow:0 12px 36px #1b366008;
  --life-ease:cubic-bezier(.22,1,.36,1); --life-radius:24px;
  color-scheme:light; scroll-padding-top:110px;
}
:root[data-lg-ui="life"][data-lg-theme="dark"] {
  --life-bg:#0d1420; --life-paper:#141e30; --life-ink:#edf3ff; --life-muted:#b8c6de;
  --life-line:#34435e; --life-blue:#a8bbff; --life-soft:#1e2c48; --life-raised:#19263c;
  --life-action:#dce6ff; --life-on-action:#15213b; --life-shadow:0 12px 36px #0002;
  color-scheme:dark;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) {
  --pui-ink:var(--life-ink)!important; --pui-muted:var(--life-muted)!important;
  --pui-paper:var(--life-paper)!important; --pui-tint:var(--life-soft)!important;
  --pui-line:var(--life-line)!important; --pui-blue:var(--life-blue)!important;
  --lg-ink:var(--life-ink); --lg-muted:var(--life-muted); --lg-line:var(--life-line);
  --lgh-ink:var(--life-ink)!important; --lgh-blue:var(--life-blue)!important; --lgh-line:var(--life-line)!important;
  --ls-ink:var(--life-ink); --ls-muted:var(--life-muted); --ls-line:var(--life-line); --ls-teal:var(--life-blue);
  --foundation-font-body:var(--life-font); --foundation-font-heading:var(--life-font); --foundation-font-accent:var(--life-font);
  --e-global-typography-primary-font-family:"Google Sans Flex"!important;
  --e-global-typography-secondary-font-family:"Google Sans Flex"!important;
  --e-global-typography-text-font-family:"Google Sans Flex"!important;
  --e-global-typography-accent-font-family:"Google Sans Flex"!important;
  margin:0; background:var(--life-bg)!important; color:var(--life-ink)!important;
  font:400 16px/1.7 var(--life-font)!important; -webkit-font-smoothing:antialiased;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :where(main,[role="main"],header,footer,dialog,.lgh-search-dialog) {
  font-family:var(--life-font)!important; color:inherit;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,figcaption,label,input,textarea,select,option,button,summary,a,small,strong,em,table,caption) {
  font-family:var(--life-font)!important;
}
/* Code and icon fonts keep their own semantics and glyphs. */
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(pre,code,kbd,samp) { font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main :is(h1,h2,h3,h4,h5,h6) { color:var(--life-ink)!important; font-style:normal!important; text-wrap:balance; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main h1 {
  font-size:clamp(36px,4.45vw,64px)!important; font-weight:550!important;
  line-height:1.08!important; letter-spacing:-.045em!important; max-width:25ch;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) main h1 :is(em,span,strong) { font-family:var(--life-font)!important; font-style:normal!important; font-weight:inherit; letter-spacing:inherit; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main h2 { font-size:clamp(25px,2.5vw,36px); line-height:1.18; letter-spacing:-.035em!important; font-weight:550; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main h3 { font-size:clamp(20px,1.8vw,25px); line-height:1.25; letter-spacing:-.025em!important; font-weight:550; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main h4 { font-size:19px; line-height:1.35; letter-spacing:-.015em; font-weight:600; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main { color:var(--life-ink)!important; font-family:var(--life-font)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-discovery,.lg-rm-page,.lg-rm-home,.lg-account-page,.lg-gr-review,.lg6-page,.lg-service-main,.ls-detail,.lg5-paper,.lg-articles-page,.lg-ft-page) { background:transparent!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg7-body,.lg-gr-body,.lg-article-body,.prose,.lg-ft-page article) :where(p,ul,ol) {
  font-size:17px; line-height:1.8; max-width:72ch;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg7-body,.lg-gr-body,.lg-article-body,.prose) > p { margin-block:0 1.25em; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg7-body,.lg-gr-body,.lg-article-body,.prose) > :is(h2,h3) { margin-top:1.7em; margin-bottom:.65em; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main :is(.lg5-kicker,.lg-eyebrow,.lg-ui-eyebrow,.lg-gr-eyebrow,.pg-kicker,.ad-eyebrow,.lg-discovery-eyebrow) {
  color:var(--life-blue)!important; font-size:11px; font-weight:600; letter-spacing:.11em; line-height:1.6;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-breadcrumbs,.lg-seon-crumbs,.pg-breadcrumb,.lg-rm-breadcrumbs) { font-size:13px; color:var(--life-muted); line-height:1.6; gap:9px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.prose,.lg7-body,.lg-gr-body,.lg-article-body,.lg-ft-page article) :where(p,li)>a { color:var(--life-blue); text-underline-offset:3px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.prose,.lg7-body,.lg-gr-body,.lg-article-body) :where(p,li)>a:hover { text-decoration-thickness:2px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-breadcrumbs { width:100%!important; max-width:none!important; justify-content:flex-start!important; text-align:left!important; margin-inline:0!important; padding-inline:0!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg6-page-hero,.lg-articles-heading,.lg-gr-intro) {
  padding:clamp(28px,4.4vw,60px)!important; margin:24px 0 42px!important;
  background:linear-gradient(120deg,var(--life-soft),var(--life-raised))!important;
  border:1px solid var(--life-line); border-radius:32px;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg6-page-hero,.lg-articles-heading,.lg-gr-intro) h1 { margin:0 0 22px!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg6-page-hero,.lg-articles-heading,.lg-gr-intro,.cq-heading,.tw-intro) > p:not([class*="eyebrow"]):not(.lg5-kicker) {
  max-width:63ch; color:var(--life-muted)!important; font-size:clamp(16px,1.4vw,19px)!important; line-height:1.65!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) .pg-editorial-hero h1 { font-weight:550!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .pg-editorial-hero h1 em { color:var(--life-blue)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.pg-editorial-note,.pg-collage-caption,.pg-photo-signature) { font-family:var(--life-font)!important; font-style:normal!important; }
/* Existing grid ratios, images, slide geometry and document order are retained. */
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-tools,.lg-ui-card,.lg-ui-topic-card,.lg-ui-group,.lg-ui-guide-card,.lg-ui-guide-section,
 .lg7-toc,.lg-gr-contents,.lg7-prompt,.lg7-answer,.lg7-check,.lg7-example,.lg5-prompt,.lg-prompt-box,
 .lg-article-card,.lg-example,.lg-gr-related,.lg-comments .comment-body,.lg-resource-card,.lg-cp-card,
 .lg6-topic-grid>a,.lg-org-guide,.lg-next-grid>a,.lg-pro-card,.lg-rm-worksheet,.lg-rm-kit,.lg-rm-step,
 .lg-rm-sidebar,.lg-rm-sheet,.tw-builder,.tw-choice,.tw-intro-example,.tw-check,
 .cq-workbench,.cq-case,.cq-facts,.cq-before,.cq-after,.cq-next-tool,.cq-finish,
 .lg-auth-card,.lg-task-demo,.lg-member-card,.lg-profile-card,.lg-account-card,.lg-profile-panel,
 .lg-search-result,.ls-search-result,.lg-search-tools,.lg-search-empty,.lg-discovery-card,.lg-discovery-empty,
 .ad-step,.ad-tool-card,.ad-resource-card,.pg-subpage-card,.pg-prompt-card,.lg-agi-card) {
  background:var(--life-paper)!important; color:var(--life-ink)!important;
  border:1px solid var(--life-line)!important; border-radius:var(--life-radius)!important;
  box-shadow:var(--life-shadow)!important; backdrop-filter:none!important; -webkit-backdrop-filter:none!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-guide-card,.lg-article-card,.lg-resource-card,.lg-discovery-card,.lg-pro-card,.cq-case,.lg7-example) { padding:clamp(22px,2.4vw,32px)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-guide-card,.lg-ui-card,.lg-article-card,.lg-resource-card,.lg-pro-card,.lg-discovery-card,.lg-profile-card,.lg-account-card,.lg7-prompt,.lg7-example) :is(h2,h3) {
  font-size:clamp(20px,1.9vw,26px)!important; line-height:1.25!important; font-weight:550!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-directory-heading,.lg7-toc,.lg-gr-contents) { margin-block:28px 32px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg7-toc,.lg-gr-contents) { padding:18px!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-guide-grid,.lg-article-grid,.lg-discovery-grid,.lg6-topic-grid,.lg-next-grid) { gap:24px!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.cq-tool-output,.cq-change,.cq-context-note,.tw-check,.lg7-check) { background:var(--life-raised)!important; border-color:var(--life-line)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.cq-tool-inputs,.lg-auth-panel,.lg-account-native,.lg-account-form-column) { background:transparent!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-card-description,.lg-ui-guide-card>p,.lg7-intro,.lg-gr-intro>p,.lg-article-card>p,.lg-discovery-card>p,.tw-intro>p,.cq-heading>p,.lg-account-story>p) { color:var(--life-muted)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg7-prompt,.lg-prompt-box,.lg5-prompt) pre { white-space:pre-wrap; overflow-wrap:anywhere; color:var(--life-ink)!important; background:var(--life-raised)!important; border-color:var(--life-line)!important; }
/* Main navigation uses the homepage's compact, white header and original logo. */
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-header {
  width:min(1456px,calc(100% - 80px))!important; margin:0 auto!important; top:0!important;
  background:var(--life-bg)!important; border:0!important; border-bottom:1px solid var(--life-line)!important;
  border-radius:0!important; box-shadow:none!important; backdrop-filter:none!important; -webkit-backdrop-filter:none!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life).admin-bar .lgh-header { top:32px!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-bar { padding:14px 0!important; min-height:76px; gap:18px!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-logo { width:170px!important; max-width:100%!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-logo svg { width:100%; height:auto; display:block; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-nav { gap:22px!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-nav :is(.lgh-direct,.lgh-group>summary,.lg-member-login,.lg-member-signup) { font-size:14px!important; font-weight:500!important; color:var(--life-ink)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-utilities { border-color:var(--life-line)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-header .lgh-utilities .lg-member-search { font-size:0!important; padding:0!important; flex:0 0 44px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-theme-toggle { display:inline-flex!important; align-items:center; justify-content:center; padding:0!important; flex:0 0 40px; width:40px!important; height:40px!important; line-height:1!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lgh-panel,.lgh-about-panel,.lg-member-menu,.lg-search-panel,.lgh-search-dialog) {
  background:var(--life-paper)!important; color:var(--life-ink)!important; border:1px solid var(--life-line)!important;
  border-radius:22px!important; box-shadow:0 18px 52px #17213b12!important; backdrop-filter:none!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lgh-feature,.lgh-panel-main) { background:var(--life-paper)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-feature { background:var(--life-raised)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-panel :is(p,small) { color:var(--life-muted)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-panel :is(strong,h2,h3) { color:var(--life-ink)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lgh-card:hover,.lgh-card:focus-visible,.lgh-about-panel>a:hover) { background:var(--life-soft)!important; color:var(--life-blue)!important; box-shadow:none!important; transform:none!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lgh-menu,.lg-theme-toggle,.lgh-search-toggle) { color:var(--life-ink)!important; background:var(--life-paper)!important; border-color:var(--life-line)!important; box-shadow:none!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lgh-cta,.ls-button,.pg-primary,.pg-hero-actions>a:first-child,.lg-rm-btn,.rm-primary,.tw-primary,.lg-discovery-primary,.lg-ui-primary,.lg-account-primary) {
  background:var(--life-action)!important; color:var(--life-on-action)!important; border:1px solid transparent!important;
  border-radius:999px!important; box-shadow:none!important; text-shadow:none!important; font-weight:550!important;
  min-height:46px; padding:12px 22px; line-height:1.45; letter-spacing:-.015em;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-copy,.lg-pro-copy,.lg-resource-copy,.lg-account-copy,.lg5-copy-row button:first-child,.cq-tool-output>button,.cq-tool-utilities>button:first-child,.lg-auth-panel button[type=submit],.lg-auth-panel input[type=submit]) {
  background:#3153ef!important; color:#fff!important; border:1px solid #3153ef!important; border-radius:14px!important;
  min-height:46px; font-weight:550!important; box-shadow:0 4px 12px #3153ef12!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lgh-cta,.ls-button,.pg-primary,.lg-rm-btn,.tw-primary,.lg-copy,.lg-pro-copy,.lg-resource-copy,.lg-discovery-primary,.lg-ui-primary) {
  transition:background .2s ease,color .2s ease,box-shadow .25s ease,transform .25s var(--life-ease)!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.pg-view-nav,.lg-auth-tabs,.lg-ui-topic-tabs) { gap:8px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.pg-view-nav a,.lg7-toc a,.lg-gr-contents a,.lg-auth-tabs button,.lg-ui-topic-tabs button) {
  border-radius:999px!important; border-color:var(--life-line)!important; font-size:14px!important; min-height:44px;
  background:var(--life-paper)!important; color:var(--life-ink)!important; box-shadow:none!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.pg-view-nav a[aria-current=page],.lg-auth-tabs button[aria-selected=true],.lg-ui-topic-tabs button[aria-selected=true],.lg7-toc a[aria-current=location]) {
  background:var(--life-action)!important; color:var(--life-on-action)!important; border-color:var(--life-action)!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) .tw-choice[aria-current] { border-color:var(--life-blue)!important; box-shadow:inset 3px 0 0 var(--life-blue)!important; background:var(--life-raised)!important; }
/* Forms retain field types, validation states, labels and existing submit handlers. */
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(main,[role=main],dialog,.lgh-search-dialog) :is(input[type=text],input[type=email],input[type=password],input[type=search],input[type=url],input[type=number],input[type=tel],input[type=date],textarea,select) {
  background:var(--life-paper)!important; color:var(--life-ink)!important; border:1px solid var(--life-line)!important;
  border-radius:12px!important; box-shadow:none!important; font-size:16px!important; line-height:1.6;
  padding:12px 15px; box-sizing:border-box; max-width:100%; min-height:46px;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) textarea { line-height:1.75!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) input::placeholder, :root[data-lg-ui="life"] body:not(.lg-home-life) textarea::placeholder { color:var(--life-muted)!important; opacity:1; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(input[type=checkbox],input[type=radio],progress) { accent-color:#3153ef; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(input,textarea,select)[aria-invalid=true] { border-color:#c54343!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(button,input[type=submit]):disabled { cursor:not-allowed; opacity:.55; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(a,button,summary,input,textarea,select):focus-visible { outline:3px solid var(--life-blue)!important; outline-offset:4px!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg7-faq,.lg-resource-faq,.lgx-faq) details { background:var(--life-paper)!important; border:1px solid var(--life-line)!important; border-radius:18px!important; box-shadow:none!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg7-faq,.lg-resource-faq,.lgx-faq) summary { color:var(--life-ink)!important; padding:20px 24px!important; font-size:16px!important; line-height:1.55!important; font-weight:550; }
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg7-faq,.lg-resource-faq,.lgx-faq) details[open] { background:var(--life-raised)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main table { width:100%; border-collapse:collapse; font-size:15px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main :is(th,td) { border-color:var(--life-line)!important; padding:14px 16px; text-align:start; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main th { background:var(--life-raised)!important; color:var(--life-ink)!important; font-weight:600; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main :is(figure.wp-block-image img,.lg-article-hero img,.lg-gr-cover img,.wp-post-image) { border-radius:22px; }
/* Native fallback templates receive the same readable measure without relying on unused utility CSS. */
:root[data-lg-ui="life"] body:not(.lg-home-life) main.flex-1 { width:min(1180px,calc(100% - 48px)); margin:0 auto; padding:40px 0 64px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main.flex-1 > :is(article.max-w-3xl,nav.max-w-3xl,div.max-w-3xl,section.max-w-2xl) { max-width:800px; margin-inline:auto; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main.flex-1 > :is(header.max-w-4xl,div.max-w-4xl) { max-width:1080px; margin-inline:auto; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main.flex-1 article>header { margin-bottom:32px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main.flex-1 article>figure { margin:28px 0 36px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main.flex-1 article>figure img { width:100%; height:auto; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main.flex-1 nav.flex { display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; margin-top:40px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main.flex-1 .grid>article { padding:30px 0; border-bottom:1px solid var(--life-line); }
/* Account widgets used a separate cream palette; share the same tokens without changing saved preferences. */
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-account-page,.lg-dashboard,.lg-mp,.lg-pw) {
  --auth-ink:var(--life-ink)!important; --auth-muted:var(--life-muted)!important;
  --auth-blue:var(--life-blue)!important; --auth-surface:var(--life-paper)!important; --auth-line:var(--life-line)!important;
  --mp-ink:var(--life-ink)!important; --mp-muted:var(--life-muted)!important;
  --mp-paper:var(--life-paper)!important; --mp-soft:var(--life-raised)!important; --mp-line:var(--life-line)!important; --mp-action:#3153ef!important;
  color:var(--life-ink)!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-dash-nav,.lg-personalize,.lg-pu-extra,.lg-mp-card,.lg-pw-card) {
  background:var(--life-paper)!important; color:var(--life-ink)!important; border-color:var(--life-line)!important;
  border-radius:24px!important; box-shadow:var(--life-shadow)!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-mp-save { background:var(--life-raised)!important; color:var(--life-ink)!important; border-color:var(--life-line)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-account-page .lg-member-hero h1 { font-size:clamp(32px,3.5vw,48px)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-account-page h2 { font-size:24px!important; line-height:1.25!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-account-page h3 { font-size:19px!important; line-height:1.3!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-brand::before, :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-brand::after { font-family:var(--life-font)!important; }
/* One navy footer across legacy pages, articles and account routes. */
:root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ft,.lg-articles-footer,.lg-site-footer,.ls-footer,.lg-footer) {
  background:#17213a!important; color:#dce4f8!important; border:0!important; border-top:1px solid #314466!important;
  border-radius:0!important; box-shadow:none!important; backdrop-filter:none!important; margin-top:64px;
}
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-inner { width:min(1320px,calc(100% - 80px)); margin-inline:auto; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-top { display:grid; grid-template-columns:1.7fr .9fr 1.15fr .95fr; padding:54px 0 42px!important; gap:40px!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft :is(p,small,li,a) { color:#c8d5ed!important; font-size:14px; line-height:1.8; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-nav h2 { font-family:var(--life-font)!important; color:#a8bdff!important; font-size:11px!important; font-weight:600!important; letter-spacing:.09em!important; line-height:1.5; margin-bottom:18px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-nav ul { padding:0; list-style:none; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-nav a { text-decoration:none; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft a:hover { color:#fff!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-brand-copy { max-width:30ch; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-brand-link { display:block; width:180px; max-width:100%; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-brand-link svg { display:block; width:100%; height:auto; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-bottom { display:flex; align-items:center; justify-content:space-between; gap:24px; border-color:#314466!important; padding-block:22px!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-bottom :is(p,a) { font-size:12px!important; color:#aebfda!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-articles-footer>div { width:min(1180px,calc(100% - 48px)); padding:32px 0; margin:auto; display:flex; flex-wrap:wrap; gap:22px; }
:root[data-lg-ui="life"] body:not(.lg-home-life) .lg-articles-footer a { color:#a8bdff!important; }
/* Sign-in stays a WordPress form and retains all authentication, reset and protection mechanisms. */
:root[data-lg-ui="life"] body:not(.lg-home-life).login { min-height:100vh; background:linear-gradient(150deg,var(--life-soft),var(--life-bg) 65%)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life).login #login { width:min(390px,calc(100% - 40px)); padding:clamp(48px,9vh,90px) 0 40px; }
:root[data-lg-ui="life"] body:not(.lg-home-life).login #loginform, :root[data-lg-ui="life"] body:not(.lg-home-life).login #lostpasswordform, :root[data-lg-ui="life"] body:not(.lg-home-life).login #registerform {
  background:var(--life-paper)!important; color:var(--life-ink)!important; border:1px solid var(--life-line)!important;
  border-radius:24px; padding:28px!important; box-shadow:0 16px 48px #17213b0b!important;
}
:root[data-lg-ui="life"] body:not(.lg-home-life).login :is(input[type=text],input[type=password],input[type=email]) { background:var(--life-raised)!important; border-color:var(--life-line)!important; color:var(--life-ink)!important; border-radius:10px; min-height:48px; font-size:18px; }
:root[data-lg-ui="life"] body:not(.lg-home-life).login .button-primary { background:#17213b!important; color:#fff!important; border:0!important; border-radius:999px; min-height:42px; padding-inline:22px; box-shadow:none!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life).login :is(#nav,#backtoblog,.privacy-policy-page) a { color:var(--life-muted)!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main [hidden] { display:none!important; }
:root[data-lg-ui="life"] body:not(.lg-home-life) main [id] { scroll-margin-top:112px; }
@media(hover:hover) and (pointer:fine) {
  :root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-guide-card,.lg-article-card,.lg-resource-card,.lg-discovery-card,.lg6-topic-grid>a,.lg-next-grid>a) { transition:transform .3s var(--life-ease),box-shadow .3s ease,border-color .25s ease!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-guide-card,.lg-article-card,.lg-resource-card,.lg-discovery-card,.lg6-topic-grid>a,.lg-next-grid>a):hover { transform:translateY(-3px)!important; border-color:#a9baff!important; box-shadow:0 12px 30px #3153ef0d!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lgh-cta,.ls-button,.pg-primary,.pg-hero-actions>a:first-child,.lg-rm-btn,.tw-primary,.lg-discovery-primary,.lg-ui-primary):hover { background:#3153ef!important; color:#fff!important; transform:translateY(-1px); box-shadow:0 6px 18px #3153ef20!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-copy,.lg-pro-copy,.lg-resource-copy):hover { background:#2444da!important; box-shadow:0 5px 18px #3153ef25!important; }
}
@media(max-width:1100px) and (min-width:901px) {
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-header { width:calc(100% - 48px)!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-bar, :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-nav { gap:15px!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-logo { width:155px!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-cta { padding:11px 16px!important; font-size:13px!important; }
}
@media(max-width:900px) {
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-header { width:calc(100% - 36px)!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-bar { min-height:70px; padding:12px 0!important; gap:12px!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-nav { background:var(--life-paper)!important; color:var(--life-ink)!important; border-color:var(--life-line)!important; border-radius:18px; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-panel { box-shadow:none!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-inner { width:calc(100% - 48px); }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-top { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-brand { grid-column:1/-1; }
}
@media(max-width:782px) { :root[data-lg-ui="life"] body:not(.lg-home-life).admin-bar .lgh-header { top:46px!important; } }
@media(max-width:600px) {
  :root[data-lg-ui="life"] { scroll-padding-top:90px; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) { font-size:16px!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life).admin-bar .lgh-header { top:0!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-logo { width:155px!important; max-width:42vw!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-menu { min-height:44px; padding:8px 12px!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lgh-nav { max-height:calc(100dvh - 100px); overflow-y:auto; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) main h1 { font-size:clamp(33px,8.8vw,44px)!important; letter-spacing:-.04em!important; line-height:1.12!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) main h2 { font-size:27px; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg6-page-hero,.lg-articles-heading,.lg-gr-intro) { padding:28px 22px!important; border-radius:24px; margin:18px 0 30px!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg7-body,.lg-gr-body,.lg-article-body,.prose,.lg-ft-page article) :where(p,ul,ol) { font-size:16px; line-height:1.8; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-guide-grid,.lg-article-grid,.lg-discovery-grid,.lg6-topic-grid,.lg-next-grid) { gap:16px!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-tools,.tw-builder,.cq-tool-inputs,.cq-tool-output) { padding:22px 18px!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg7-toc,.lg-gr-contents) { padding:14px!important; gap:8px; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-inner { width:calc(100% - 40px); }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-top { padding:40px 0 30px!important; gap:30px 22px!important; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) .lg-ft-bottom { gap:14px; flex-wrap:wrap; }
  :root[data-lg-ui="life"] body:not(.lg-home-life) main [id] { scroll-margin-top:90px; }
}
@media(prefers-reduced-motion:reduce) {
  :root[data-lg-ui="life"] body:not(.lg-home-life) :is(.lg-ui-guide-card,.lg-article-card,.lg-resource-card,.lg-discovery-card,.lg6-topic-grid>a,.lg-next-grid>a,.lgh-cta,.ls-button,.pg-primary,.lg-rm-btn,.tw-primary,.lg-copy,.lg-pro-copy,.lg-resource-copy,.lg-discovery-primary,.lg-ui-primary) { transition:none!important; transform:none!important; }
}
