/* LIF-001/LIF-002 only. PDF pages 4/34/35; shared account theme remains authoritative. */
html.life-pdf-layout[data-wz-module=lifestyle]{
 --life-page:#082130;--life-card:linear-gradient(145deg,#12374b,#082735);--life-raised:#123a4d;
 --life-text:#ecf8ff;--life-muted:#b7cfdd;--life-line:#42758a;--life-accent:#59ddf3;
 --life-primary:linear-gradient(180deg,#32e6ee,#05b7d4);--life-primary-ink:#042633;
 --life-ridge:url(assets/home/ridge-night.webp);--life-scheme:dark;
 --wz-page-bg:var(--life-page);--wz-surface:var(--life-raised);--wz-text:var(--life-text);
 --app-input:var(--life-raised);--app-text:var(--life-text);--app-muted:var(--life-muted);--app-card:var(--life-card);--app-line:var(--life-line);--app-accent:var(--life-accent);
 --balance-surface:var(--life-card);--balance-inset:#16415488;--balance-line:var(--life-line);--balance-text:var(--life-text);--balance-muted:var(--life-muted);
}
html.life-pdf-layout[data-wz-module=lifestyle][data-wz-mode=light]{
 --life-page:#d7eafa;--life-card:linear-gradient(145deg,#f8fcff,#e1f0fc);--life-raised:#eff8ff;
 --life-text:#112e49;--life-muted:#435e76;--life-line:#a8cce5;--life-accent:#075fc5;
 --life-primary:linear-gradient(180deg,#086bd4,#0553c4);--life-primary-ink:#fff;
 --life-ridge:url(assets/home/ridge-day.webp);--life-scheme:light;--balance-inset:#c9e5fa66;
}
html.life-pdf-layout[data-wz-module=lifestyle] *{box-sizing:border-box}
html.life-pdf-layout[data-wz-module=lifestyle] body.wz-lifestyle{margin:0;background:var(--life-page);color:var(--life-text);color-scheme:var(--life-scheme);font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
html.life-pdf-layout[data-wz-module=lifestyle] :is(main.life-phone,main.connected-page){width:min(100%,520px);max-width:520px;min-height:100dvh;margin:0 auto;padding:0 16px max(128px,calc(112px + env(safe-area-inset-bottom)));border:0;border-radius:0;background:var(--life-page)!important;box-shadow:none;overflow:visible;color:var(--life-text)}
html.life-pdf-layout[data-wz-module=lifestyle] #wz-standard-header.wz-standard-header{height:auto;min-height:132px;margin:0 -16px 12px;width:calc(100% + 32px);padding:14px 16px 8px;background:linear-gradient(var(--life-page),transparent 90%),var(--life-ridge) center bottom/100% 66px no-repeat;--wz-ink:var(--life-text);--wz-edge:var(--life-line)}
html.life-pdf-layout[data-wz-module=lifestyle] #wz-standard-header .wz-brand{gap:18px}
html.life-pdf-layout[data-wz-module=lifestyle] #wz-standard-header .wz-logo{max-width:200px}
html.life-pdf-layout[data-wz-module=lifestyle] #wz-standard-header .wz-logo img{height:44px;max-width:200px}
html.life-pdf-layout[data-wz-module=lifestyle] #wz-standard-header .wz-home{min-height:44px;padding:7px 12px}
html.life-pdf-layout[data-wz-module=lifestyle] #wz-standard-header .wz-greeting{font-size:12px}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app){padding:0;font-size:16px;min-width:0;color:var(--life-text)}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace>.life-page-title,#connected-title){margin:8px 0 20px;text-align:center;font-size:27px;line-height:1.2;color:var(--life-text);letter-spacing:-.5px}
html.life-pdf-layout[data-wz-module=lifestyle] #connected-status{margin:0 0 12px;color:var(--life-muted)}
html.life-pdf-layout[data-wz-module=lifestyle] #connected-status:empty{display:none}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(.wz-workspace-card,.connected-card){position:relative;min-width:0;margin:0 0 14px;padding:16px;border:1px solid var(--life-line);border-radius:17px;background:var(--life-card);box-shadow:inset 0 1px 1px #ffffff60,0 2px 5px #092b4318;color:var(--life-text);backdrop-filter:none}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(h2,h3){color:var(--life-text);font-size:19px;line-height:1.3;letter-spacing:-.2px;margin:0 0 10px}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(p,li){font-size:16px;line-height:1.5;color:var(--life-muted);margin:8px 0;overflow-wrap:anywhere}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(a,button,input,select,textarea){font:inherit;font-size:16px;min-width:0;max-width:100%;color:var(--life-text)}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;margin:4px 4px 4px 0;border:1px solid var(--life-line);border-radius:11px;background:var(--life-raised);color:var(--life-accent);line-height:1.35;text-align:center;text-decoration:none;overflow-wrap:anywhere}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(button,input,select,textarea):disabled{opacity:.65}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--life-accent);outline-offset:3px}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) .life-primary{background:var(--life-primary);color:var(--life-primary-ink);border-color:var(--life-accent);font-weight:650}
html.life-pdf-layout[data-wz-module=lifestyle] .life-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-block:8px 14px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-card-actions :is(a,button){flex:1 1 130px;margin:0}
/* Current PDF p34: one entry action above the two secondary balance links. */
html.life-pdf-layout[data-wz-screen=lifestyle-home] .life-balance-card .life-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
html.life-pdf-layout[data-wz-screen=lifestyle-home] .life-balance-card .life-card-actions a{min-width:0;width:100%}
html.life-pdf-layout[data-wz-screen=lifestyle-home] .life-balance-card .life-card-actions .life-primary{grid-column:1/-1}
html.life-pdf-layout[data-wz-screen=lifestyle-home] .life-next-milestone{font-weight:650;overflow-wrap:anywhere}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) .life-caption{color:var(--life-muted);font-size:14px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-candle-periods,html.life-pdf-layout[data-wz-module=lifestyle] .life-range-presets{display:flex;gap:4px;flex-wrap:wrap;padding:4px;border:1px solid var(--life-line);border-radius:12px;background:var(--balance-inset)}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(.life-candle-periods,.life-range-presets) button{flex:1 1 60px;margin:0;padding:8px 5px;border-color:transparent;background:transparent}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(.life-candle-periods,.life-range-presets,.balance-intervals) button[aria-pressed=true]{background:var(--life-primary);color:var(--life-primary-ink);border-color:var(--life-accent);box-shadow:none}
html.life-pdf-layout[data-wz-module=lifestyle] .personal-balance-candles{margin-top:14px}
html.life-pdf-layout[data-wz-module=lifestyle] .personal-balance-candles svg{border:1px solid var(--life-line);border-radius:12px;background:var(--balance-inset)}
html.life-pdf-layout[data-wz-module=lifestyle] .personal-balance-candles details{overflow-x:auto}
html.life-pdf-layout[data-wz-module=lifestyle] .personal-balance-candles table{border-collapse:collapse;font-size:14px}
html.life-pdf-layout[data-wz-module=lifestyle] .personal-balance-candles :is(th,td){padding:8px 4px;text-align:left}
html.life-pdf-layout[data-wz-module=lifestyle] .score-positive{color:var(--life-accent)}
html.life-pdf-layout[data-wz-module=lifestyle] .score-negative{color:#ff9c8c}
html.life-pdf-layout[data-wz-module=lifestyle][data-wz-mode=light] .score-negative{color:#ae2538}
html.life-pdf-layout[data-wz-module=lifestyle] .life-journey-landscape{height:110px;margin:0 -16px 12px;background:linear-gradient(0deg,var(--life-page),transparent 70%),url(assets/lifestyle/journey-landscape-v3.png) center 39%/cover;opacity:.9}
html.life-pdf-layout[data-wz-module=lifestyle] .life-journey-card{overflow:hidden}
html.life-pdf-layout[data-wz-module=lifestyle] progress{width:100%;height:12px;accent-color:var(--life-accent)}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) .life-manage-link{margin-bottom:10px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-area-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html.life-pdf-layout[data-wz-module=lifestyle] #lifestyle-workspace .life-area-grid a{display:flex;flex-direction:column;gap:5px;margin:0;padding:8px 3px;font-size:14px;line-height:1.3;min-height:88px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-area-symbol{width:42px;height:42px;background-image:url(assets/lifestyle/area-icons-v2.png);background-size:300% 200%;background-repeat:no-repeat}
html.life-pdf-layout[data-wz-module=lifestyle] .life-area-symbol[data-area=career]{background-position:0 0}
html.life-pdf-layout[data-wz-module=lifestyle] .life-area-symbol[data-area=health]{background-position:50% 0}
html.life-pdf-layout[data-wz-module=lifestyle] .life-area-symbol[data-area=money]{background-position:100% 0}
html.life-pdf-layout[data-wz-module=lifestyle] .life-area-symbol[data-area=learning]{background-position:0 100%}
html.life-pdf-layout[data-wz-module=lifestyle] .life-area-symbol[data-area=family]{background-position:50% 100%}
html.life-pdf-layout[data-wz-module=lifestyle] .life-area-symbol[data-area=creativity]{background-position:100% 100%}
html.life-pdf-layout[data-wz-module=lifestyle] .life-area-symbol:has(svg){background:none}
html.life-pdf-layout[data-wz-module=lifestyle] .life-area-symbol svg{width:100%;height:100%}
html.life-pdf-layout[data-wz-module=lifestyle] .life-shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
html.life-pdf-layout[data-wz-module=lifestyle] #lifestyle-workspace .life-shortcut-grid a{display:flex;flex-direction:column;gap:6px;padding:9px 2px;margin:0;font-size:14px;min-height:88px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-shortcut-grid svg{width:27px;height:27px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-count{font-weight:700}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) .life-list-link{display:flex;justify-content:start;gap:10px;margin:0;width:100%;border:0;border-radius:0;border-top:1px solid var(--life-line);background:transparent;text-align:left}
html.life-pdf-layout[data-wz-module=lifestyle] .life-list-link svg{width:25px;height:25px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-chevron{margin-left:auto;font-size:24px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-disclosure>summary{cursor:pointer;font-size:18px;font-weight:650;min-height:44px;padding:6px 0}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) .life-fold-content{border:0;padding:8px 0 0;margin:0;background:transparent;box-shadow:none}
html.life-pdf-layout[data-wz-module=lifestyle] #lifestyle-workspace .life-disclosure>.wz-workspace-card{padding:8px 0 0;border:0;background:transparent;box-shadow:none;margin:0}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) label{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:16px;min-width:0;color:var(--life-text)}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) label:has(input[type=checkbox]){flex-direction:row;align-items:center;gap:10px;min-height:44px}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(input:not([type=checkbox]),select,textarea){width:100%;min-height:44px;padding:10px;border:1px solid var(--life-line);border-radius:10px;background:var(--life-raised);color:var(--life-text)}
html.life-pdf-layout[data-wz-module=lifestyle] input[type=checkbox]{width:22px;height:22px;min-width:22px;margin:0;accent-color:var(--life-accent)}
html.life-pdf-layout[data-wz-module=lifestyle] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) textarea{min-height:90px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-balance-banner{padding:16px;margin-bottom:14px;min-height:112px;border-radius:17px;background:linear-gradient(90deg,#05283bf0,#05283b77),url(assets/home/mockup-reading-v1.png) center/cover;color:#fff}
html.life-pdf-layout[data-wz-module=lifestyle] #connected-content .life-balance-banner :is(h2,p){color:#fff}
html.life-pdf-layout[data-wz-module=lifestyle] .life-contribution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html.life-pdf-layout[data-wz-module=lifestyle] #connected-content .life-contribution-grid .connected-card{padding:12px}
html.life-pdf-layout[data-wz-module=lifestyle] #connected-content .life-contribution-grid h3{font-size:16px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-contribution-grid strong{font-size:25px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-manual-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-manual-sides>div{padding:12px;border:1px solid var(--life-line);border-radius:12px;background:var(--balance-inset);text-align:center;overflow-wrap:anywhere}
html.life-pdf-layout[data-wz-module=lifestyle] .life-manual-sides strong{display:block;font-size:27px}
html.life-pdf-layout[data-wz-module=lifestyle] #connected-content .life-contribution-grid p{font-size:13px}
html.life-pdf-layout[data-wz-module=lifestyle] .life-history-filter,html.life-pdf-layout[data-wz-module=lifestyle] .life-custom-range{margin-top:12px}
html.life-pdf-layout[data-wz-module=lifestyle] :is(.life-history-filter,.life-custom-range)>summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--life-accent)}
html.life-pdf-layout[data-wz-module=lifestyle] .balance-date-range{border:0;padding:0;margin-top:8px}
html.life-pdf-layout[data-wz-module=lifestyle] .balance-intervals{margin-block:12px}
html.life-pdf-layout[data-wz-module=lifestyle] .balance-intervals button{font-size:14px;min-height:44px}
html.life-pdf-layout[data-wz-module=lifestyle] .score-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.life-pdf-layout[data-wz-module=lifestyle] .score-counts strong{font-size:27px;display:block}
html.life-pdf-layout[data-wz-module=lifestyle] .connected-event{padding:12px 0;border-top:1px solid var(--life-line)}
html.life-pdf-layout[data-wz-module=lifestyle] .lifestyle-nav{width:min(100%,520px);background:var(--life-raised);border-color:var(--life-line);box-shadow:0 -3px 12px #08243617}
html.life-pdf-layout[data-wz-module=lifestyle] .lifestyle-nav a{color:var(--life-muted);font-size:12px;min-height:56px;margin:0;padding:6px 1px}
html.life-pdf-layout[data-wz-module=lifestyle] .lifestyle-nav a[aria-current=page]{color:var(--life-accent);background:var(--balance-inset);border-radius:12px}
html.life-pdf-layout[data-wz-module=lifestyle] [hidden]{display:none!important}
@media(max-width:374px){html.life-pdf-layout[data-wz-module=lifestyle] .life-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html.life-pdf-layout[data-wz-module=lifestyle] :is(main.life-phone,main.connected-page){padding-inline:12px}html.life-pdf-layout[data-wz-module=lifestyle] #wz-standard-header.wz-standard-header{margin-inline:-12px;width:calc(100% + 24px);padding-inline:12px}}
@media(prefers-reduced-motion:reduce){html.life-pdf-layout[data-wz-module=lifestyle] *{scroll-behavior:auto;animation:none!important;transition:none!important}}
