/* Lifestyle v6 artwork and page surfaces consume the shared saved appearance. */
html.life-pdf-layout[data-wz-module="lifestyle"] {
  --life-page:#061c2b;
  --life-card:linear-gradient(155deg,#16394d,#092838 74%);
  --life-raised:#0d3043;
  --life-line:#37637b;
  --life-accent:#65ddf5;
  --life-v6-action:linear-gradient(#4fe8fc,#04c4e4);
  --life-v6-on-action:#052331;
  --life-shadow:0 3px 9px #010d17a6,inset 0 1px 0 #a5e8ff18;
  --life-ridge:url("assets/lifestyle/v6/ridge-dark.webp");
  --life-overview-ridge:url("assets/lifestyle/v6/overview-ridge-reference-dark.webp");
  --life-overview-map:url("assets/lifestyle/v6/overview-journey-reference-dark.webp");
  --life-setup-art:url("assets/lifestyle/v6/getting-started-dark.webp");
  --life-first-goal:url("assets/lifestyle/v6/first-goal-dark.webp");
  --life-first-comparison:url("assets/lifestyle/v6/first-comparison-dark.webp");
  --life-overview-comparison:url("assets/lifestyle/v6/overview-comparison-dark.webp");
  --life-mountain:url("assets/lifestyle/v6/lifestyle-mountain-journey-dark.webp");
  --life-reading:url("assets/lifestyle/v6/lifestyle-comparison-reading-dark.webp");
  --life-balance-history:url("assets/lifestyle/v6/lifestyle-balance-history-dark.webp");
  --life-history-tile:url("assets/lifestyle/v6/balance-tile-history-dark.webp");
  --life-insights-tile:url("assets/lifestyle/v6/balance-tile-insights-dark.webp");
  --life-sources:url("assets/lifestyle/v6/lifestyle-contribution-sources-dark.webp");
  --life-assign:url("assets/lifestyle/v6/lifestyle-area-assignment-dark.webp");
  --life-manage:url("assets/lifestyle/v6/lifestyle-area-management-dark.webp");
  --life-quick:url("assets/lifestyle/v6/quick-actions-dark.webp");
  --life-balance-overview:url("assets/lifestyle/v6/balance-reference-dark.webp");
  --life-goal-learning:url("assets/lifestyle/v6/goal-learning-dark.webp");
  --life-goals-heading:url("assets/lifestyle/v6/goals-heading-dark.webp");
  --life-goal-finished:url("assets/lifestyle/v6/goal-finished-dark.webp");
  --life-goal-editor:url("assets/lifestyle/v6/goal-editor-dark.webp");
  --life-journey-learning:url("assets/lifestyle/v6/journey-learning-dark.webp");
  --life-habits-heading:url("assets/lifestyle/v6/habits-heading-dark.webp");
  --life-habit-learning:url("assets/lifestyle/v6/reference/habit-scene-dark.webp");
  --life-saved:url("assets/lifestyle/v6/saved-dark.webp");
  --life-skills:url("assets/lifestyle/v6/skills-dark.webp");
  --life-history:url("assets/lifestyle/v6/history-dark.webp");
  --life-settings:url("assets/lifestyle/v6/settings-dark.webp");
}
html.life-pdf-layout[data-wz-module="lifestyle"][data-wz-mode="light"] {
  --life-page:#e0f0fc;
  --life-card:linear-gradient(155deg,#f3faff,#dceefb 80%);
  --life-raised:#e9f5fd;
  --life-line:#accfe7;
  --life-accent:#074eac;
  --life-v6-action:linear-gradient(#147ef4,#0048db);
  --life-v6-on-action:#fff;
  --life-shadow:0 3px 9px #225b8730,inset 0 1px 0 #fff;
  --life-ridge:url("assets/lifestyle/v6/ridge-light.webp");
  --life-overview-ridge:url("assets/lifestyle/v6/overview-ridge-reference-light.webp");
  --life-overview-map:url("assets/lifestyle/v6/overview-journey-reference-light.webp");
  --life-setup-art:url("assets/lifestyle/v6/getting-started-light.webp");
  --life-first-goal:url("assets/lifestyle/v6/first-goal-light.webp");
  --life-first-comparison:url("assets/lifestyle/v6/first-comparison-light.webp");
  --life-overview-comparison:url("assets/lifestyle/v6/overview-comparison-light.webp");
  --life-mountain:url("assets/lifestyle/v6/lifestyle-mountain-journey-light.webp");
  --life-reading:url("assets/lifestyle/v6/lifestyle-comparison-reading-light.webp");
  --life-balance-history:url("assets/lifestyle/v6/lifestyle-balance-history-light.webp");
  --life-history-tile:url("assets/lifestyle/v6/balance-tile-history-light.webp");
  --life-insights-tile:url("assets/lifestyle/v6/balance-tile-insights-light.webp");
  --life-sources:url("assets/lifestyle/v6/lifestyle-contribution-sources-light.webp");
  --life-assign:url("assets/lifestyle/v6/lifestyle-area-assignment-light.webp");
  --life-manage:url("assets/lifestyle/v6/lifestyle-area-management-light.webp");
  --life-quick:url("assets/lifestyle/v6/quick-actions-light.webp");
  --life-balance-overview:url("assets/lifestyle/v6/balance-reference-light.webp");
  --life-goal-learning:url("assets/lifestyle/v6/goal-learning-light.webp");
  --life-goals-heading:url("assets/lifestyle/v6/goals-heading-light.webp");
  --life-goal-finished:url("assets/lifestyle/v6/goal-finished-light.webp");
  --life-goal-editor:url("assets/lifestyle/v6/goal-editor-light.webp");
  --life-journey-learning:url("assets/lifestyle/v6/journey-learning-light.webp");
  --life-habits-heading:url("assets/lifestyle/v6/habits-heading-light.webp");
  --life-habit-learning:url("assets/lifestyle/v6/reference/habit-scene-light.webp");
  --life-saved:url("assets/lifestyle/v6/saved-light.webp");
  --life-skills:url("assets/lifestyle/v6/skills-light.webp");
  --life-history:url("assets/lifestyle/v6/history-light.webp");
  --life-settings:url("assets/lifestyle/v6/settings-light.webp");
}

html.life-pdf-layout[data-wz-module="lifestyle"] :is(main.life-phone,main.connected-page) {
  --pearl-wash:linear-gradient(180deg,var(--life-page),var(--life-page));
  --pearl-primary:var(--life-v6-action); --pearl-primary-text:var(--life-v6-on-action);
  width:min(100%,520px); max-width:520px; min-height:100dvh; margin-inline:auto;
  padding-inline:12px; border:0; overflow:visible;
  background:linear-gradient(180deg,var(--life-page),var(--life-page)) !important;
  color:var(--life-text);
}
html.life-pdf-layout[data-wz-module="lifestyle"] #wz-standard-header.wz-standard-header {
  margin-inline:-12px; width:calc(100% + 24px); min-height:0;
  background:linear-gradient(180deg,var(--life-page) 30%,transparent 100%),var(--life-ridge) center bottom/100% 35px no-repeat;
}
html.life-pdf-layout:is([data-wz-screen="lifestyle-home"],[data-wz-screen="lifestyle-goals"],[data-wz-screen="lifestyle-goal-journey"],[data-wz-screen="lifestyle-area"],[data-wz-screen="lifestyle-skills"],[data-wz-screen="lifestyle-balance"]:has(#connected-content[data-life-balance-view="balance"])) #wz-standard-header.wz-standard-header {
  --life-ridge:var(--life-overview-ridge);
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) {
  --goal-panel:var(--life-raised); --goal-ink:var(--life-text); --goal-muted:var(--life-muted);
  --goal-link:var(--life-accent); --goal-edge:var(--life-line);
  --wz-ink:var(--life-text); --wz-muted:var(--life-muted); --wz-link:var(--life-accent);
  --wz-panel:var(--life-raised); --wz-edge:var(--life-line);
  --pearl-ink:var(--life-text); --pearl-muted:var(--life-muted); --pearl-link:var(--life-accent);
  --pearl-glass:var(--life-card); --pearl-solid:var(--life-raised); --pearl-dialog:var(--life-card);
  --pearl-edge:var(--life-line); --pearl-shadow:var(--life-shadow); --pearl-control-edge:var(--life-line);
  width:100%; min-width:0; max-width:100%; font-size:1rem; line-height:1.45;
}
html.life-pdf-layout[data-wz-mode="dark"]:is([data-wz-screen="lifestyle-create-comparison"],[data-wz-screen="lifestyle-history"]),
html.life-pdf-layout[data-wz-mode="dark"][data-wz-screen="lifestyle-comparison-detail"] dialog {
  --life-v6-action:linear-gradient(#1678e3,#0057d2); --life-v6-on-action:#fff;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#review-app,#goal-setup-app,#connected-title) h1,
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#connected-title,#lifestyle-workspace>.life-page-title) {
  margin:0 0 12px; color:var(--life-text); font-size:1.55rem; line-height:1.15; text-align:left;
  font-weight:780; letter-spacing:-.025em; overflow-wrap:anywhere;
}
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace > .life-page-title { text-align:center; }
html.life-pdf-layout[data-wz-module="lifestyle"] main h1.wz-visual-heading { display:block !important; }
html.life-pdf-layout[data-wz-module="lifestyle"] main h1 > .wz-title-art { display:none; }
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(h2,h3) {
  font-size:1.06rem; line-height:1.25; margin:0 0 6px; overflow-wrap:anywhere;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(p,li) {
  font-size:.875rem; line-height:1.45; margin-block:4px 8px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(.wz-workspace-card,.connected-card,.goals-record,.goals-empty,.goals-tools) {
  margin:0 0 9px; padding:11px; border:1px solid var(--life-line); border-radius:14px;
  background:var(--life-card) !important; box-shadow:var(--life-shadow);
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(a,button) {
  min-height:44px; border-radius:9px; font-size:.9rem;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(.life-primary,.goals-primary,.primary,button[type="submit"]):not([role="tab"]) {
  background:var(--life-primary) !important; color:var(--life-primary-ink) !important;
  border-color:transparent !important; font-weight:700;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(input:not([type="checkbox"],[type="radio"]),select,textarea) {
  font-size:max(16px,1rem); margin-top:0; max-width:100%;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) label {
  margin:7px 0; font-size:.875rem; line-height:1.35; gap:5px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) [hidden],
html.life-pdf-layout[data-wz-module="lifestyle"] .life-motif[hidden] { display:none !important; }

/* Artwork is decorative and independent of the text, owner data and controls. */
[data-life-art="getting-started"] { --life-image:var(--life-setup-art); }
[data-life-art="first-goal"] { --life-image:var(--life-first-goal); }
[data-life-art="first-comparison"] { --life-image:var(--life-first-comparison); }
[data-life-art="overview-comparison"] { --life-image:var(--life-overview-comparison); }
[data-life-art="mountain"] { --life-image:var(--life-mountain); }
[data-life-art="reading"] { --life-image:var(--life-reading); }
[data-life-art="balance-overview"] { --life-image:var(--life-balance-overview); }
[data-life-art="balance-history"] { --life-image:var(--life-balance-history); }
[data-life-art="balance-tile-history"] { --life-image:var(--life-history-tile); }
[data-life-art="balance-tile-insights"] { --life-image:var(--life-insights-tile); }
[data-life-art="sources"] { --life-image:var(--life-sources); }
[data-life-art="assign"] { --life-image:var(--life-assign); }
[data-life-art="manage"] { --life-image:var(--life-manage); }
[data-life-art="quick-actions"] { --life-image:var(--life-quick); }
[data-life-art="goal-learning"] { --life-image:var(--life-goal-learning); }
[data-life-art="goals-heading"] { --life-image:var(--life-goals-heading); }
[data-life-art="goal-finished"] { --life-image:var(--life-goal-finished); }
[data-life-art="goal-editor"] { --life-image:var(--life-goal-editor); }
[data-life-art="journey-learning"] { --life-image:var(--life-journey-learning); }
[data-life-art="journey-complete"] { --life-image:url("assets/lifestyle/v6/journey-complete.webp"); }
[data-life-art="journey-mastery"] { --life-image:url("assets/lifestyle/v6/journey-mastery.webp"); }
[data-life-art="habits-heading"] { --life-image:var(--life-habits-heading); }
[data-life-art="habit-learning"] { --life-image:var(--life-habit-learning); }
[data-life-art="saved"] { --life-image:var(--life-saved); }
[data-life-art="saved-idea"] { --life-image:url("assets/lifestyle/v6/saved-idea.webp"); }
[data-life-art="saved-goal"] { --life-image:url("assets/lifestyle/v6/saved-goal.webp"); }
[data-life-art="skills"] { --life-image:var(--life-skills); }
[data-life-art="history"] { --life-image:var(--life-history); }
[data-life-art="guide-empty"] { --life-image:url("assets/lifestyle/v6/guide-empty.webp"); }
[data-life-art="guide-reading"] { --life-image:url("assets/lifestyle/v6/guide-reading.webp"); }
[data-life-art="settings"] { --life-image:var(--life-settings); }
.life-motif { display:block; min-width:0; border-radius:10px; background:var(--life-image) center/cover no-repeat; }
.life-banner {
  display:flex; flex-direction:column; justify-content:center; width:100%; min-width:0;
  aspect-ratio:40/9; padding:10px 13px; margin:0 0 9px; border:1px solid #5d9ac5; border-radius:13px;
  background-color:#082744;
  background-image:var(--life-image);
  background-position:right var(--life-art-y,center);
  background-size:cover; background-repeat:no-repeat;
  box-shadow:var(--life-shadow); overflow-wrap:anywhere;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) .life-banner :is(h2,h3,p),
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#review-app,#goal-setup-app) .life-banner h1 {
  color:#fff; max-width:min(68%,32ch); margin-block:0; text-shadow:0 1px 4px #041221;
}
html.life-pdf-layout[data-wz-module="lifestyle"] .life-banner > p { margin-top:3px !important; }
.life-banner:is([data-life-art="getting-started"],[data-life-art="reading"],[data-life-art="quick-actions"]) { aspect-ratio:3.95; }
.life-banner[data-life-art="reading"] { --life-art-y:69%; }
.life-page-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; }
.life-page-heading > .life-motif { flex:0 0 84px; height:58px; background-size:contain; }
.life-header-strip { aspect-ratio:var(--life-strip-ratio,4.55); margin-bottom:9px; background-color:var(--life-raised); }
[data-life-art="saved"] { --life-strip-ratio:4.1; }
.life-card-cover { aspect-ratio:4.65; margin-bottom:8px; }
.life-card-cover[data-life-art="goal-learning"] { aspect-ratio:5.58; }
.life-card-cover[data-life-art="goal-editor"] { aspect-ratio:6.58; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .life-banner[data-life-art="habit-learning"] {
  aspect-ratio:3.25;
  justify-content:flex-start;
  padding-block:8px;
  background-position:center bottom;
  background-size:100% auto;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .life-banner[data-life-art="habit-learning"] > h2 {
  display:flex;
  align-items:flex-start;
  max-width:80%;
  font-weight:750;
  line-height:1.18;
}
.life-banner[data-life-art="habit-learning"] .life-action-icon {
  color:#f5fbff;
}
.life-habits-toolbar {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  margin-block-end:8px;
}
html.life-pdf-layout[data-wz-screen="lifestyle-goal-plan"] #review-app .life-habits-toolbar > :is(a,button) {
  margin:0;
}
.life-habit-today {
  padding:6px;
  border:1px solid var(--life-line);
  border-radius:10px;
  background:var(--life-raised);
}
html.life-pdf-layout[data-wz-screen="lifestyle-goal-plan"] #review-app .life-habit-today > p {
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 0 5px;
  font-weight:700;
}
.life-habit-today time {
  margin-inline-start:6px;
  padding-inline-start:6px;
  border-inline-start:1px solid var(--life-line);
  color:var(--life-muted);
  font-weight:400;
}
html.life-pdf-layout[data-wz-screen="lifestyle-goal-plan"] #review-app .life-habit-daily > h3 {
  margin:6px 0 0;
}
html.life-pdf-layout[data-wz-screen="lifestyle-goal-plan"] .life-habit-card .life-habit-calendar {
  flex-wrap:nowrap;
  gap:4px;
  margin:0 0 5px;
  padding:4px;
  overflow-x:auto;
}
html.life-pdf-layout[data-wz-screen="lifestyle-goal-plan"] #review-app .life-habit-today .life-check-in-action {
  flex-direction:column;
  gap:3px;
  min-height:48px;
}
html.life-pdf-layout[data-wz-screen="lifestyle-goal-plan"] #review-app .life-habit-card .life-habit-day {
  display:grid;
  flex:0 0 44px;
  justify-items:center;
  gap:1px;
  width:44px;
  min-height:58px;
  margin:0;
  padding:3px 1px;
  font-size:.7rem;
  line-height:1.12;
}
html.life-pdf-layout[data-wz-screen="lifestyle-goal-plan"] #review-app .life-habit-day[aria-pressed="true"] {
  background:var(--life-raised) !important;
  border-color:var(--life-accent) !important;
  color:var(--life-text) !important;
}
.life-habit-day-mark {
  display:grid;
  place-items:center;
  min-width:15px;
  min-height:15px;
  border-radius:50%;
  font-weight:700;
}
.life-habit-day-done > .life-habit-day-mark {
  background:var(--life-positive);
  color:var(--life-page);
}
.life-area-photo { display:block; width:100%; aspect-ratio:1.55; object-fit:cover; border-radius:8px; }

.life-overview-split,.life-first-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; align-items:center; }
.life-first-choices { align-items:stretch; }
.life-first-choices > section { display:flex; flex-direction:column; }
.life-first-choices .life-motif { block-size:clamp(42px,13vw,63px); margin-block:auto 5px; background-size:contain; }
@supports (grid-template-rows:subgrid) {
  .life-first-choices > section { display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:4px; }
}
.life-first-status { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.life-first-status > section { display:flex; flex-direction:column; min-width:0; }
.life-first-status h2 { display:flex;align-items:center;gap:4px;flex-wrap:wrap; }
.life-first-status h2 svg { width:20px;height:20px; }
.life-first-status > section > a { margin-top:auto; }
@supports (grid-template-rows:subgrid) {
  .life-first-status > section { display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:4px; }
}
.life-inline-icon { display:inline-flex; color:var(--life-accent); }
.life-inline-icon svg { width:20px; height:20px; }
.life-page-heading h1 { min-width:0; }
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-overview-split .life-card-actions { display:flex; flex-direction:column; margin:0; gap:4px; }
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-overview-split .life-card-actions a { flex:auto; }
.life-overview-split .life-motif { min-height:80px; align-self:stretch; background-size:contain; }
.life-overview-split [data-life-art="overview-comparison"] {
  aspect-ratio:2.1;
  align-self:center;
}
html.life-pdf-layout[data-wz-module="lifestyle"] .life-overview-split .life-journey-landscape {
  height:auto; min-height:0; margin:0; align-self:center; aspect-ratio:3.2; border-radius:10px;
  background:var(--life-overview-map) center/cover no-repeat; opacity:1;
}
.life-overview-split .life-comparison-totals { grid-template-columns:repeat(2,minmax(0,1fr)); }
.life-compact-disclosure > summary { display:flex; align-items:center; min-height:44px; color:var(--life-accent); cursor:pointer; }
.life-area-grid > a,.life-shortcut-grid > a { min-width:0; }
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace :is(.life-area-grid,.life-shortcut-grid) a { min-height:64px; font-size:.8rem; }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-area-directory { grid-template-columns:repeat(2,minmax(0,1fr)); }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-area-directory a { display:grid; grid-template-columns:50px minmax(0,1fr); text-align:left; min-height:54px; }
.life-area-directory .life-area-photo { width:50px; aspect-ratio:1; }
.life-area-directory .life-area-symbol { flex:none; }
.life-area-choice-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,76px),1fr)); gap:6px; }
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#goal-setup-app) label.life-area-choice {
  position:relative; display:flex; flex-direction:column; align-items:stretch; gap:3px; margin:0; padding:4px;
  border:1px solid var(--life-line); border-radius:9px; background:var(--life-raised); cursor:pointer;
}
html.life-pdf-layout[data-wz-module="lifestyle"] label.life-area-choice:has(:checked) { border-color:var(--life-accent); box-shadow:inset 0 0 0 1px var(--life-accent); }
.life-area-choice .life-area-photo { order:-1; }
.life-area-choice input { position:absolute; inset:7px 7px auto auto; background:var(--life-raised); }
.life-area-choice > span { overflow-wrap:anywhere; }

.life-quick-list { display:grid; gap:7px; }
.life-quick-list [data-action-id] { padding:8px; border:1px solid var(--life-line); border-radius:10px; background:var(--balance-inset); }
.life-quick-list [data-action-id] > :is(label,button) { margin-block:4px; }
.life-catalog-results { display:grid; gap:8px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-catalog-card {
  display:grid; grid-template-columns:minmax(64px,24%) minmax(0,1fr); grid-template-rows:auto 1fr;
  column-gap:10px; margin:0;
}
.life-catalog-card > .life-catalog-art { grid-row:1 / span 2; align-self:start; }
.life-catalog-body { min-width:0; }
.life-catalog-card > h2 { grid-column:2; }
.life-catalog-card .life-catalog-body > button { width:100%; margin-bottom:0; }
.life-catalog-art { display:block; width:100%; background-repeat:no-repeat; overflow:hidden; }
.life-catalog-art img { display:block; width:100%; aspect-ratio:1; object-fit:cover; border-radius:10px; }
.life-record-art { display:grid; grid-template-columns:minmax(64px,25%) minmax(0,1fr); column-gap:10px; align-items:start; }
.life-record-art > .life-motif,.life-record-art > .life-area-photo { grid-row:1 / span 2; aspect-ratio:1.2; }
.life-record-art > .life-record-actions { grid-column:1/-1; }
.life-record-art > :not(.life-motif,.life-area-photo,.life-record-actions) { grid-column:2; }
.life-history-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.life-source-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; padding:0; min-width:0; border:0; }
.life-source-grid legend { margin-bottom:6px; font-weight:700; }
.life-source-grid label { border:1px solid var(--life-line); border-radius:8px; padding:6px; min-width:0; }
.life-recovery-group > summary { cursor:pointer; min-height:44px; padding:10px 0; font-weight:700; }

html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .goals-actions { grid-template-columns:repeat(2,minmax(0,1fr)); margin:8px 0; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .goals-actions a:first-child { grid-column:auto; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .goals-record::before { content:none; }
.life-goal-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.life-goal-shortcuts > a { margin:0 !important; }
.life-progress-dots { display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; margin:4px 0 8px; }
.life-progress-dots > li { width:12px; height:12px; border:1px solid var(--life-muted); border-radius:100%; margin:0 !important; }
.life-progress-dots > [data-done] { background:var(--life-accent); border-color:var(--life-accent); }
.life-goal-summary { display:grid; grid-template-columns:minmax(72px,26%) minmax(0,1fr); column-gap:10px; align-items:center; }
.life-goal-summary > :is(.life-motif,.life-area-photo) { aspect-ratio:1.1; grid-row:1/span 3; }
.life-goal-summary > :not(.life-motif,.life-area-photo) { grid-column:2; }
.life-goal-summary .goals-progress { margin:4px 0; }
.life-goal-view-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; padding:3px; border:1px solid var(--life-line); border-radius:11px; margin-bottom:9px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .life-goal-view-controls button { margin:0; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .life-goal-view-controls [aria-pressed="true"] { background:var(--life-primary); color:var(--life-primary-ink); }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .life-journey-path { padding-left:0; border:0; margin:9px 0; }
.life-preferences-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.life-preferences-grid .life-area-choice { min-height:44px; }
.life-settings-intro { display:grid; grid-template-columns:72px minmax(0,1fr); align-items:center; gap:10px; }
.life-settings-intro .life-motif { height:62px; }

html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(.life-control-sheet,#life-sheet) {
  color:var(--life-text); background:var(--life-card) !important;
  width:min(calc(100% - 18px),480px); max-width:480px; border:1px solid var(--life-line);
  border-radius:20px; box-shadow:0 18px 56px #020e20a8; padding:14px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] .life-control-sheet::before {
  content:""; display:block; width:38px; height:4px; border-radius:4px;
  background:var(--life-line); margin:0 auto 10px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] .life-control-sheet::backdrop { background:#04182a91; }

@media (max-width:360px) {
  .life-first-status { grid-template-columns:repeat(auto-fit,minmax(86px,1fr)); }
  .life-source-grid { grid-template-columns:1fr; }
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) .life-wide-action {
  display:flex; width:100%; margin-inline:0;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app) .life-inline-icon {
  display:inline-flex; vertical-align:middle; margin-inline-end:6px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-first-status a { width:100%; margin-inline:0; padding-inline:4px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-first-choices a { margin:2px 0 0; }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-preferences-grid label { margin:0; border:1px solid var(--life-line); border-radius:8px; padding:4px; overflow-wrap:anywhere; }
.life-preferences-grid .life-area-photo { width:27px; aspect-ratio:1; flex:none; }
.life-history-grid a { flex-direction:column;align-items:flex-start;gap:2px;text-align:start; }
.life-history-grid .life-motif {
  width:100%;height:34px;background-size:contain;background-position:right bottom;
}
.life-goals-icon { color:var(--life-accent); display:inline-flex; align-items:center; flex:none; }
.life-goals-icon svg { width:30px; height:30px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .life-page-heading:has(.life-goals-icon) { justify-content:flex-start; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .life-page-heading h1 { margin:0; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .life-page-heading { margin-bottom:8px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .goals-summary { margin:6px 0 8px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .goals-summary > div { padding:6px 3px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .goals-summary dd { font-size:1.2rem; }
html.life-pdf-layout[data-wz-module="lifestyle"] #goal-setup-app .goals-area-choices { grid-template-columns:repeat(auto-fit,minmax(min(100%,76px),1fr)); }
html.life-pdf-layout[data-wz-module="lifestyle"] #goal-setup-app .goals-area-choices legend { padding:0; }
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-inline-back { margin:0 0 6px; border:0; padding-inline:2px; background:none; }
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-source-grid label { margin:0; }
html.life-pdf-layout[data-wz-module="lifestyle"] .life-goal-summary .life-motif[data-life-art="journey-learning"] { aspect-ratio:1.15; }
.life-area-thumb { position:relative; display:block; }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-area-thumb .life-inline-icon {
  position:absolute; left:2px; bottom:2px; margin:0; padding:2px; border-radius:6px;
  color:#f5fbff; background:#0a2946e0;
}
.life-area-thumb .life-inline-icon svg { width:16px; height:16px; }
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) .life-sheet-actions { gap:8px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-shortcut-grid a { padding-inline:3px; }
@media (max-width:520px) {
  html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) .life-control-sheet:has(form,.life-review-panel) {
    margin:auto auto 0; max-height:min(86dvh,740px); padding-bottom:max(14px,env(safe-area-inset-bottom));
    border-radius:20px 20px 0 0;
  }
}
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-overview-heading {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:6px; margin-bottom:9px;
}
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-overview-heading h1 { margin:0; }
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-search-trigger { margin:0; min-width:44px; padding-inline:8px; }
.life-search-trigger svg { width:21px; height:21px; }
.life-search-results { display:grid; gap:3px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-search-results a { justify-content:flex-start; text-align:left; }

/* The final v6 boards use compact glazed controls, independent artwork and native state. */
html.life-pdf-layout[data-wz-module="lifestyle"] {
  --life-map-landscape:url("assets/lifestyle/v6/journey-reference-dark.webp");
  --life-recovery-landscape:url("assets/lifestyle/v6/reference/recovery-scene-dark.webp");
  --life-recovery-base:#082d4b;
  --life-control:linear-gradient(170deg,#20465c,#0c2e41);
  --life-control-edge:#43728e;
  --life-interactive-shadow:0 2px 5px #010c16a6,inset 0 1px 0 #e3f4ff26;
  --life-on-blue:#fff;
  --life-outline:#7ddfff;
  --life-danger:#ff939d;
  --life-danger-surface:#502734;
  --life-positive:#61e7d0;
  --life-negative:#ff9aa9;
}
html.life-pdf-layout[data-wz-module="lifestyle"][data-wz-mode="light"] {
  --life-map-landscape:url("assets/lifestyle/v6/journey-reference-light.webp");
  --life-recovery-landscape:url("assets/lifestyle/v6/reference/recovery-scene-light.webp");
  --life-recovery-base:#dceffc;
  --life-control:linear-gradient(170deg,#f9fdff,#d8edfc);
  --life-control-edge:#a5c9e5;
  --life-interactive-shadow:0 2px 5px #2163a126,inset 0 1px 0 #fff;
  --life-outline:#084fc4;
  --life-danger:#921a37;
  --life-danger-surface:#ffeced;
  --life-positive:#007d6d;
  --life-negative:#b22a48;
}
.life-banner[data-life-art="balance-overview"] {
  aspect-ratio:4;
}
.life-banner[data-life-art="recovery"] {
  --life-image:var(--life-recovery-landscape);
  aspect-ratio:3.63;
  background-color:var(--life-recovery-base);
  background-position:center;
  background-size:100% auto;
}
html.life-pdf-layout[data-wz-module="lifestyle"][data-wz-mode="light"] #lifestyle-workspace .life-banner[data-life-art="recovery"] > :is(h1,p) {
  color:var(--life-text); text-shadow:none;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(a.wz-workspace-link,button,summary.life-control,.life-choice) {
  border-radius:11px;
  transition:box-shadow .14s ease,transform .14s ease,background-color .14s ease;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(a.wz-workspace-link,button):not(.life-map-node,.life-list-link,.life-search-trigger,.life-sheet-close,[aria-pressed="true"],.life-inline-back,.life-primary,.goals-primary,.primary,[type="submit"]) {
  background:var(--life-control);border-color:var(--life-control-edge);box-shadow:var(--life-interactive-shadow);
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(.life-primary,.goals-primary,.primary,[type="submit"],button[aria-pressed="true"]):not(.life-map-node) {
  background:var(--life-v6-action) !important;
  color:var(--life-v6-on-action) !important;
  border-color:#378eff80 !important;
  box-shadow:inset 0 1px 0 #ffffff75,0 3px 8px #0065f049;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(button,a,summary):focus-visible {
  outline:2px solid var(--life-outline);outline-offset:2px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(button,a.wz-workspace-link):not(:disabled,.life-map-node):active {
  transform:translateY(1px);box-shadow:inset 0 2px 6px #051c554e;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) button:disabled { opacity:.55; cursor:default; box-shadow:none; }
@media (hover:hover) {
  html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#connected-content,#review-app,#goal-setup-app) :is(button,a.wz-workspace-link):hover:not(:disabled,.life-map-node) {
    box-shadow:inset 0 0 0 1px var(--life-control-edge),0 2px 8px #1078d636;
  }
}
html.wz-reduced-motion[data-wz-module="lifestyle"] :is(button,a,summary) { transition:none !important; }
@media (prefers-reduced-motion:reduce) {
  html.life-pdf-layout[data-wz-module="lifestyle"] :is(button,a,summary) { transition:none !important; }
}
.life-action-icon { display:inline-flex;flex:none;vertical-align:middle;margin-inline-end:.42em; }
.life-action-icon svg,.life-sheet-close svg { width:1.1em;height:1.1em; }
html.life-pdf-layout[data-wz-module="lifestyle"] :is(.life-form-section,.life-compact-disclosure,.life-disclosure,.life-custom-range,.life-recovery-group) > summary {
  list-style:none;display:flex;align-items:center;gap:6px;min-height:44px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(.life-form-section,.life-compact-disclosure,.life-disclosure,.life-custom-range,.life-recovery-group) > summary::-webkit-details-marker { display:none; }
html.life-pdf-layout[data-wz-module="lifestyle"] :is(.life-form-section,.life-compact-disclosure,.life-disclosure,.life-custom-range,.life-recovery-group) > summary::after {
  content:"";display:block;width:8px;height:8px;flex:none;margin-inline-start:auto;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);
}
html.life-pdf-layout[data-wz-module="lifestyle"] :is(.life-form-section,.life-compact-disclosure,.life-disclosure,.life-custom-range,.life-recovery-group)[open] > summary::after { transform:rotate(45deg); }

html.life-pdf-layout[data-wz-module="lifestyle"] .life-journey-map-scene {
  min-height:105px;height:auto;aspect-ratio:3/1;color:#fff;
  background:var(--life-map-landscape) center/cover no-repeat;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #review-app .life-map-node {
  display:grid;place-items:center;width:44px;height:44px;min-height:44px;
  margin:0;padding:0;background:transparent !important;border-color:transparent !important;box-shadow:none !important;
  color:inherit;font-size:.73rem;transform:translate(-50%,-50%);
}
.life-map-disk {
  display:grid;place-items:center;min-width:23px;min-height:23px;border:2px solid #fff;border-radius:50%;
  color:#fff;background:#126eaf;box-shadow:0 1px 4px #031f4885;font-weight:750;
}
.life-map-node-locked .life-map-disk { color:#eaf7ff;background:#234a69; }
.life-map-node-available .life-map-disk { background:#075ddd;box-shadow:0 0 0 3px #8be7ff8c,0 1px 7px #075ddd99; }
.life-map-node-completed .life-map-disk { background:#007fc6; }
.life-map-node-optional .life-map-disk { border-style:dashed; }
.life-map-legend { display:flex;flex-wrap:wrap;gap:4px 18px;padding:6px 10px;font-size:.75rem;color:var(--life-text); }
.life-map-legend span::before {
  content:"";display:inline-block;vertical-align:middle;height:10px;width:10px;margin-inline-end:6px;
  background:#0b91e5;border:1px solid #1577c9;border-radius:50%;
}
.life-map-legend .life-map-optional::before { background:transparent;border:1px dashed var(--life-accent); }
html.life-pdf-layout[data-wz-module="lifestyle"] .life-journey-map-compact {
  border:0;background:transparent;padding:0;margin:0;border-radius:inherit;
}
html.life-pdf-layout[data-wz-module="lifestyle"] .life-journey-map-compact .life-journey-map-scene { background:none;min-height:0;height:auto;aspect-ratio:3.2; }
html.life-pdf-layout[data-wz-module="lifestyle"] .life-journey-map-compact .life-journey-map-scene > svg {
  inset-inline-start:22%;top:-16%;width:63%;height:112%;
}
.life-journey-map-compact polyline { stroke-dasharray:none; }
.life-journey-map-compact circle { fill:#fff;stroke:#4096d9;stroke-width:3; }
.life-journey-map-compact [data-state="completed"] { fill:#087fe3;stroke:#fff; }
.life-overview-split .life-journey-landscape { display:grid;align-items:center;overflow:hidden; }

.life-overview-card-title { display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap; }
.life-overview-card-title .life-manage-link { margin:0 !important; }
.life-comparison-pills { display:flex;flex-wrap:wrap;gap:4px;margin:0; }
.life-comparison-pills span,.life-selected-count,.life-record-label {
  border:1px solid var(--life-control-edge);border-radius:999px;padding:2px 8px;background:var(--life-raised);color:var(--life-text);font-size:.77rem;
}
.life-overview-split .life-journey-actions { display:grid;gap:4px;margin:4px 0 0; }
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-journey-actions a { width:100%;margin:0; }
.life-balance-figure { display:flex;align-items:center;gap:9px;margin:5px 0 9px; }
.life-balance-figure strong { white-space:nowrap;font-size:1.6rem;color:var(--life-accent); }
.life-balance-meter { display:flex;overflow:hidden;min-height:9px;flex:1;border-radius:999px;background:var(--balance-inset); }
.life-balance-meter span { background:#1589ee; }
.life-balance-meter span+span { background:var(--life-negative); }
.life-history-header { display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap; }
.life-history-total { font-size:1.65rem;line-height:1.2;color:var(--life-text); }
.life-history-period { padding:6px 9px;border:1px solid var(--life-control-edge);border-radius:9px;color:var(--life-muted);font-size:.81rem; }
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .personal-balance-candles .score-positive { color:var(--life-positive); }
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .personal-balance-candles .score-negative { color:var(--life-negative); }
.life-candle-key { display:flex;flex-wrap:wrap;gap:8px 15px;margin:4px 0 7px;font-size:.78rem; }
.life-candle-key span::before { content:"";display:inline-block;width:8px;height:8px;border-radius:2px;margin-inline-end:5px;background:var(--life-muted); }
.life-candle-key [data-side="up"]::before { background:var(--life-positive); }
.life-candle-key [data-side="down"]::before { background:var(--life-negative); }

.life-catalog-search { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end; }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-catalog-search button { margin:0 0 7px;min-width:76px; }
.life-field-pair { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
.life-area-thumb .life-action-icon { margin:0; }
.life-record-name { display:block;font-weight:700; }
.life-record-name small { display:block;margin:3px 0 0;color:var(--life-muted);font-size:.72rem;font-weight:500; }
.life-entry-row h3 .life-action-icon { color:var(--life-accent); }
.life-choice-set { display:flex;flex-wrap:wrap;gap:4px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-choice-set button {
  flex:1 1 max-content;flex-direction:column;gap:2px;margin:0 !important;padding-inline:4px;
  width:auto;min-width:0;
  white-space:nowrap;overflow-wrap:normal;font-size:13px;
}
.life-choice-set .life-action-icon { margin:0; }
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-choice-set[aria-label="Side"] button {
  white-space:normal;overflow-wrap:anywhere;font-size:inherit;flex:1;
}
.life-switch input[type="checkbox"] {
  appearance:none;width:40px;min-width:40px;height:23px;border:1px solid var(--life-control-edge);
  border-radius:99px;background:var(--life-raised);cursor:pointer;
}
.life-switch input[type="checkbox"]::after { content:"";display:block;width:17px;height:17px;margin:2px;border-radius:50%;background:#f6fbff;box-shadow:0 1px 3px #05274852; }
.life-switch input[type="checkbox"]:checked { background:#087ce4; }
.life-switch input[type="checkbox"]:checked::after { margin-inline-start:19px; }
.life-switch input[type="checkbox"]:focus-visible { outline:2px solid var(--life-outline);outline-offset:3px; }

.life-review-facts { display:grid;gap:4px;margin:5px 0 12px; }
.life-review-facts > div {
  display:grid;grid-template-columns:minmax(70px,.75fr) minmax(0,1.25fr);gap:7px;
  padding:8px 9px;border:1px solid var(--life-control-edge);border-radius:8px;background:var(--life-raised);
}
.life-review-facts dt { color:var(--life-muted);font-size:.85rem;font-weight:650; }
.life-review-facts dd { margin:0;color:var(--life-text);font-size:.875rem;font-weight:650;overflow-wrap:anywhere;white-space:pre-line; }
.life-review-panel h3 { margin-top:10px; }
.life-review-panel .life-review-facts { clear:both; }
.life-review-panel .wz-workspace-error { grid-column:1/-1; }
.life-pending-status::before {
  content:"";display:inline-block;vertical-align:middle;width:14px;height:14px;margin-inline-end:7px;
  border:2px solid var(--life-control-edge);border-top-color:var(--life-accent);border-radius:50%;
}
html.life-pdf-layout[data-wz-module="lifestyle"] .life-control-sheet [hidden] { display:none !important; }
html.life-pdf-layout[data-wz-module="lifestyle"] :is(#lifestyle-workspace,#review-app,#goal-setup-app) dialog .life-sheet-close {
  position:absolute;top:8px;right:8px;width:44px;min-height:44px;margin:0;padding:0;
  border:0;background:transparent;color:var(--life-text);box-shadow:none;
}
html.life-pdf-layout[data-wz-module="lifestyle"] .life-control-sheet:has(.life-sheet-close:not([hidden])) > h2 { padding-inline-end:44px; }
html.life-pdf-layout[data-wz-module="lifestyle"] body > .life-control-sheet {
  width:min(calc(100% - 24px),460px);border:1px solid var(--life-control-edge);border-radius:16px;
  color:var(--life-text);background:var(--life-card) !important;
}
html.life-pdf-layout[data-wz-module="lifestyle"] body > .life-control-sheet button:last-of-type { color:var(--life-on-blue);background:linear-gradient(#1685ec,#0653ca); }
html.life-pdf-layout[data-wz-module="lifestyle"] :is(body > .life-control-sheet[data-life-tone="danger"] button:last-of-type,#lifestyle-workspace button.life-destructive,#review-app button.life-destructive) {
  color:#fff !important;background:linear-gradient(#e74d5f,#b9203d) !important;border-color:#b9203d !important;
}
html.life-pdf-layout[data-wz-module="lifestyle"] .wz-workspace-error {
  padding:8px 10px;border:1px solid var(--life-danger);border-radius:9px;background:var(--life-danger-surface);color:var(--life-danger) !important;
}
@media (max-width:350px) {
  .life-history-header { align-items:flex-start; }
  .life-field-pair { grid-template-columns:1fr; }
}

.life-status-paused,.life-skill-note { padding:8px 10px;border:1px solid var(--life-control-edge);border-radius:9px;background:var(--life-raised); }
.life-entry-history .life-entry-versions { display:grid;gap:7px; }
html.life-pdf-layout[data-wz-module="lifestyle"] .life-entry-history .life-entry-row {
  display:flex;align-items:center;gap:10px;margin:0;padding:8px 10px;
  border:1px solid var(--life-control-edge);border-radius:11px;background:var(--life-raised);
}
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-revision-details :is(h3,p) { margin:0; }
.life-revision-calendar { width:36px;height:36px;margin:0;align-items:center;justify-content:center;border:1px solid var(--life-control-edge);border-radius:8px;background:var(--life-control);color:var(--life-accent); }
.life-revision-calendar svg { width:22px;height:22px; }
.life-entry-history .life-entry-history-note { padding:8px;border:1px solid var(--life-control-edge);border-radius:9px;background:var(--life-control); }
.life-goal-filter-count { display:inline-grid;place-items:center;min-width:1.2em;border-radius:99px;margin-inline-start:4px;font-size:.72em;background:#87bcec55;color:inherit; }
.goals-state[data-state="completed"] { color:var(--life-positive) !important; }
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content :is(.life-source-grid,.life-manual-sides) label { justify-content:space-between; }
html.life-pdf-layout[data-wz-module="lifestyle"] .life-view-title {
  display:grid;grid-template-columns:44px minmax(0,1fr);gap:7px;align-items:center;
  width:100%;margin:0 0 7px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] main .life-view-title :is(h1,#connected-title) { margin:0;text-align:start; }
html.life-pdf-layout[data-wz-module="lifestyle"] .life-view-title > a {
  display:grid;place-items:center;width:44px;min-height:44px;margin:0;
  padding:0;border:1px solid var(--life-control-edge);border-radius:10px;
  background:var(--life-control);color:var(--life-accent);font-size:24px;line-height:1;text-decoration:none;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-source-grid {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,9.25rem),1fr));
  padding:0;margin-inline:0;border:0;min-inline-size:0;width:100%;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-source-grid label {
  display:grid;grid-template-columns:14px minmax(0,1fr) 26px;gap:3px;align-items:start;
  min-height:52px;margin:0;padding:6px;border-color:var(--life-control-edge);background:var(--life-raised);
}
.life-source-copy { display:contents; }
.life-source-copy strong { grid-area:1/2/2/-1;overflow-wrap:anywhere;line-height:1.2; }
.life-source-copy .life-action-icon { grid-area:1/1;margin:0;color:var(--life-accent); }
.life-source-copy .life-action-icon svg { width:14px;height:14px; }
.life-source-copy small { grid-area:2/1/3/3;color:var(--life-muted);line-height:1.25;overflow-wrap:anywhere; }
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-source-grid input[type="checkbox"] {
  position:relative;grid-area:2/3;align-self:center;width:26px;min-width:26px;height:18px;margin:0;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-source-grid input[type="checkbox"]::after {
  position:absolute;inset-block-start:2px;inset-inline-start:2px;width:12px;height:12px;margin:0;transform:none;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-source-grid input[type="checkbox"]:checked::after {
  inset-inline-start:10px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-contribution-grid > div {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;padding:7px 9px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-contribution-grid h3 { margin:0; }
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-contribution-grid > div > p { grid-column:1/-1; }
html.life-pdf-layout[data-wz-module="lifestyle"] #balance-summary .score-counts {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0;
  border:0;background:none;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #balance-summary .score-counts > div {
  display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;
  padding:6px 8px;border:1px solid var(--life-control-edge);border-radius:8px;background:var(--life-raised);
}
html.life-pdf-layout[data-wz-module="lifestyle"] #balance-summary .score-counts strong {
  margin:0;font-size:1.13rem;line-height:1.25;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-history-chart-card .personal-balance-candles {
  margin:0;border:0;box-shadow:none;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content[data-life-balance-view="history"] .life-range-card {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content[data-life-balance-view="history"] .life-range-card > h2 {
  margin:0;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content[data-life-balance-view="history"] .life-range-presets {
  grid-row:2;grid-column:1/-1;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content[data-life-balance-view="history"] .life-custom-range:not([open]) {
  grid-row:1;grid-column:2;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content[data-life-balance-view="history"] .life-custom-range[open] {
  grid-column:1/-1;
}
html.life-pdf-layout[data-wz-module="lifestyle"] #lifestyle-workspace .life-area-directory a[aria-current="page"] {
  border-color:var(--life-accent);box-shadow:inset 0 0 0 1px var(--life-accent);
}
@media (max-width:375px) {
  .life-settings-intro { grid-template-columns:1fr; }
  .life-settings-intro > .life-motif { max-width:78px; }
}

/* Core v6 boards keep the art and actions compact at phone widths. */
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-overview-heading {
  grid-template-columns:44px minmax(0,1fr) 44px;
}
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-overview-heading h1 {
  grid-column:2;text-align:center;font-size:clamp(1.28rem,6vw,1.55rem);
}
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-area-grid {
  grid-auto-columns:minmax(51px,max-content);gap:4px;scrollbar-width:none;padding:3px 2px;
}
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace :is(.life-area-grid,.life-shortcut-grid) a {
  min-height:58px;padding:4px 2px;gap:3px;
}
.life-area-grid .life-area-symbol { width:25px;height:25px; }
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-area-grid > a {
  max-inline-size:160px;
}
.life-area-name { max-inline-size:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis; }
.life-area-grid .life-area-symbol svg,.life-shortcut-grid a svg { width:21px;height:21px; }
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-overview-link {
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;
  width:100%;margin:0 0 6px;padding:5px 9px;text-align:start;min-height:44px;
}
.life-overview-link strong,.life-overview-link small { display:block;overflow-wrap:anywhere; }
.life-overview-link strong { color:var(--life-text); }
.life-overview-link small { color:var(--life-muted);font-size:.76rem; }
.life-overview-link .life-chevron { color:var(--life-accent); }
html.life-pdf-layout[data-wz-screen="lifestyle-home"] #lifestyle-workspace .life-overview-disclosure {
  padding:0 9px;margin:0 0 6px;
}
.life-overview-disclosure > summary,.life-skill-record > summary { min-height:44px;cursor:pointer; }

html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goals-heading { justify-content:flex-start;margin-block-end:6px; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goals-heading :is(h1,p) { margin:0;text-align:start; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goals-heading p { line-height:1.25;font-size:.8rem; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goals-heading .life-search-trigger {
  flex:0 0 44px;min-height:44px;width:44px;margin:0 0 0 auto;padding:0;
}
.life-goal-tools #life-goal-search { padding:0 4px;margin-block-start:6px; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goal-tools .goals-filters {
  display:flex;gap:5px;padding:0;border:0;background:none;
}
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goal-tools .goals-filters button {
  flex:1 1 max-content;width:auto;padding-inline:6px;font-size:.8rem;border-radius:999px;white-space:normal;
}
.life-goal-results { position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%); }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goals-icon {
  flex:0 0 49px;height:44px;background-size:contain;
}
html.life-pdf-layout[data-wz-screen="lifestyle-goals"][data-wz-mode="dark"] .goals-actions .goals-primary {
  --life-v6-action:linear-gradient(#1678e3,#0057d2);--life-v6-on-action:#fff;
}
.life-goal-record-title { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goal-record-title :is(h2,p) { margin:0;max-width:100%; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goal-record-title h2 { font-size:1.05rem; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .goals-record {
  padding:7px;margin-block:0 7px;border-radius:13px;
}
.goals-record > .life-card-cover { margin-block-end:5px; }
.life-goal-record-body { min-width:0; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .goals-record[data-state="completed"] {
  display:grid;grid-template-columns:minmax(60px,23%) minmax(0,1fr);align-items:start;gap:8px;
}
.goals-record[data-state="completed"] > .life-card-cover { width:100%;aspect-ratio:.85;margin:0; }
.goals-record[data-state="completed"] .life-goal-record-title { display:grid;gap:2px; }
.goals-record[data-state="completed"] .life-goal-record-title .goals-state { grid-row:1;justify-self:start; }
.goals-record[data-state="active"] .goals-state { color:var(--life-accent); }
.goals-record[data-state="completed"] .goals-record-actions .goals-primary {
  --life-v6-action:var(--life-control);--life-v6-on-action:var(--life-text);
}
html.life-pdf-layout[data-wz-screen="lifestyle-goals"][data-wz-mode="light"] .goals-record[data-state="active"] .goals-record-actions .goals-primary {
  --life-v6-action:linear-gradient(#e6f5ff,#aed8fa);--life-v6-on-action:#073983;
}
.goals-record[data-state="active"] .life-goal-progress-panel {
  margin:5px 0;padding:4px 6px;border:1px solid var(--life-line);border-radius:9px;background:var(--life-raised);
}
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .goals-record .life-goal-progress-panel p { margin:2px 0; }
.goals-record .life-progress-dots { gap:8px;margin-block:5px; }
.goals-record .life-progress-dots > li { width:14px;height:14px; }
.goals-record .life-progress-dots > [data-done] { display:grid;place-items:center;font-size:10px;line-height:1;color:var(--life-page); }
.goals-record .life-progress-dots > [data-done]::after { content:"✓"; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-next-milestone-link {
  width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px;
  align-items:center;justify-content:stretch;text-align:start;margin:3px 0 0;padding:3px 2px;
  background:none;border:0;border-block-start:1px solid var(--life-line);border-radius:0;box-shadow:none;
}
.life-next-milestone-link :is(small,strong) { display:block;overflow-wrap:anywhere; }
.life-next-milestone-link small { color:var(--life-muted);font-size:.75rem; }
.life-goal-quick-actions { display:flex;flex-wrap:wrap;gap:4px;margin-block-start:5px; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goal-quick-actions > :is(a,button) {
  flex:1 1 min-content;white-space:nowrap;margin:0;padding:4px 6px;font-size:.8rem;
}
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goal-quick-actions [aria-pressed] {
  --life-v6-action:var(--life-control);--life-v6-on-action:var(--life-text);box-shadow:none;
}
.life-goal-quick-actions [aria-pressed]::after {
  content:"";width:21px;height:12px;border-radius:999px;background:var(--life-muted);
  box-shadow:inset 0 0 0 1px var(--life-line);margin-inline-start:4px;
}
.life-goal-quick-actions [aria-pressed="true"]::after { background:var(--life-accent); }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .goals-record .goals-record-actions { gap:4px; }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .goals-record .goals-manage { margin:0;padding:0; }
.goals-record .goals-manage > summary {
  display:flex;align-items:center;gap:3px;min-height:44px;margin:0;padding:4px 6px;font-size:.8rem;cursor:pointer;
}
.goals-record .goals-manage > summary::after { content:"›";font-size:1rem; }
.goals-record .goals-manage[open] { flex:1 0 100%; }
.goals-record .goals-manage[open] > summary::after { transform:rotate(90deg); }
html.life-pdf-layout[data-wz-screen="lifestyle-goals"] #review-app .life-goal-shortcuts a {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:start;padding:6px;min-height:60px;
}
.life-goal-shortcuts .life-action-icon { margin:0 0 3px;color:var(--life-accent); }

.life-comparison-picker { display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-block-end:7px; }
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-comparison-picker h2 { flex:1 1 auto;margin:0; }
html.life-pdf-layout[data-wz-module="lifestyle"] #connected-content .life-comparison-picker select {
  flex:1 1 48%;min-width:min(130px,100%);max-width:100%;width:auto;margin:0;
}
html.life-pdf-layout[data-wz-screen="lifestyle-area"] #lifestyle-workspace .life-area-filter { gap:4px; }
html.life-pdf-layout[data-wz-screen="lifestyle-area"] #lifestyle-workspace .life-area-filter button {
  flex:1 1 min-content;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:4px 6px;font-size:.78rem;white-space:nowrap;overflow-wrap:normal;gap:2px;
}
.life-area-filter .life-inline-icon { margin:0; }
.life-area-filter .life-inline-icon svg { width:16px;height:16px; }

html.life-pdf-layout[data-wz-screen="lifestyle-skills"] #lifestyle-workspace .life-skill-tools { padding:0 8px;margin-block:6px; }
.life-skill-tools-heading { display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px; }
html.life-pdf-layout[data-wz-screen="lifestyle-skills"] #lifestyle-workspace .life-skill-tools-heading h2 { margin:0;flex:1 0 auto; }
.life-skill-count { background:var(--life-raised);border:1px solid var(--life-line);border-radius:999px;padding:2px 8px;font-size:.75rem; }
html.life-pdf-layout[data-wz-screen="lifestyle-skills"] #lifestyle-workspace .life-skill-tools-heading details { margin:0;padding:0;border:0; }
.life-skill-tools-heading details[open] { flex:1 0 100%; }
html.life-pdf-layout[data-wz-screen="lifestyle-skills"] #lifestyle-workspace .life-skill-tools-heading summary { margin:0;min-height:44px;padding:3px 6px; }
html.life-pdf-layout[data-wz-screen="lifestyle-skills"] #lifestyle-workspace .life-skill-record { padding:7px 8px;margin-block:6px;border-radius:13px; }
.life-skill-record > summary {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;column-gap:6px;padding:3px 0;list-style:none;
}
.life-skill-record > summary::-webkit-details-marker { display:none; }
.life-skill-record > summary::after {
  content:"›";grid-area:1/2/span 2/3;align-self:center;color:var(--life-accent);font-size:1.2rem;
}
.life-skill-record[open] > summary::after { transform:rotate(90deg); }
.life-skill-record > summary :is(strong,small) { grid-column:1;overflow-wrap:anywhere; }
.life-skill-record > summary small { color:var(--life-muted);font-size:.78rem; }
.life-skill-note p { margin-block:0; }
html.life-pdf-layout[data-wz-screen="lifestyle-skills"] #lifestyle-workspace .life-skill-record :is(h3,.life-skill-context) { margin:3px 0;font-size:.83rem; }
.life-skill-goals:empty { display:none; }
.life-skill-evidence { margin-block:5px;padding:4px 6px;border:1px solid var(--life-line);border-radius:9px;background:var(--life-raised); }
html.life-pdf-layout[data-wz-screen="lifestyle-skills"] #lifestyle-workspace .life-skill-actions {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:4px;margin-block:4px;
}
html.life-pdf-layout[data-wz-screen="lifestyle-skills"] #lifestyle-workspace .life-skill-actions button {
  margin:0;width:100%;padding:4px;line-height:1.2;font-size:.8rem;
}
html.life-pdf-layout[data-wz-screen="lifestyle-skills"] #lifestyle-workspace .life-skill-actions .life-destructive {
  background:var(--life-danger-surface)!important;color:var(--life-danger)!important;border-color:var(--life-danger)!important;
}
