/* RetireNerd Planner — Retirement details (step 2) as the approved mockup, design/studio-retirement-details.html (2026-10-11).
   Layout by js/55a-details-layout.js, behavior by js/55-details.js. In the "studio" cascade layer (declared first in
   index.html) so these rules outrank the theme's own !important card rules; they apply in every theme. */
@layer studio {
  #toolView .rd-away { display:none !important; }
  #toolView .rd-group[hidden], #toolView .ssc-who[hidden], #toolView .rd-ss-sp[hidden] { display:none !important; }

  /* two cards side by side: you · your spouse; spending and Social Security across; what you add · match; assumptions · estate */
  html.studio #toolView .rd-group.rd-ss { grid-column:1 / -1; }
  html.studio #toolView .panel:not(.rd-has-spouse) > .rd-group.rd-you { grid-column:1 / -1; }
  html.studio #toolView .rd-spouse { --chip-bg:var(--s-violet-l); --chip-fg:var(--s-violet); --chip-ic:var(--ic-users); }
  html.studio #toolView .rd-group.rd-you .inputs-grid, html.studio #toolView .rd-group.rd-spouse .inputs-grid { grid-template-columns:repeat(3, minmax(0, 1fr)) !important; }
  html.studio #toolView .rd-group.rd-spouse .contrib-field { grid-column:1 / -1; }

  /* the year beside each age */
  /* the year on its own line under the name (the tip ? stays beside the name), so every label in the row is two
     lines and the boxes line up — "Retirement age · 2034" wrapped in a narrow column and pushed its box down */
  #toolView .field > label:has(> .rd-cap) { flex-wrap:wrap; }
  #toolView .field > label:has(> .rd-cap)::after { order:2; }
  #toolView .rd-cap { order:3; flex-basis:100%; font-size:12px; font-weight:500; line-height:1.3; color:var(--s-muted, var(--c-slate-55)); white-space:nowrap; }
  #toolView .rd-cap:empty { display:none; }
  #toolView .rd-cap.is-bad { color:var(--s-red, var(--c-red-55b)); white-space:normal; font-weight:600; } /* a value the plan can't use (2026-11-09, B8) */
  #toolView .rd-note { margin:10px 0 0; font-size:12.5px; line-height:1.5; color:var(--s-muted, var(--c-slate-55)); }
  #toolView .rd-note[hidden] { display:none !important; }
  #toolView .rd-link { color:var(--s-blue, var(--c-blue-50)); font-weight:600; text-decoration:underline; text-underline-offset:3px; }

  /* spending eases with age, as a sentence */
  #toolView .rd-ease { grid-column:1 / -1 !important; margin:14px 0 0; }
  #toolView .rd-ease-s { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0; font-size:14px; line-height:2; color:var(--s-ink2, var(--c-slate-35)); }
  #toolView .rd-ease-box { display:inline-flex; align-items:center; gap:2px; font-weight:700; color:var(--s-ink, var(--c-slate-15)); }
  #toolView .rd-ease-box input { width:64px !important; min-width:0 !important; height:36px !important; min-height:0 !important; padding:0 8px !important; text-align:right; font-weight:700 !important; }
  #toolView .rd-ease-until { display:inline-flex; align-items:center; gap:6px; }
  #toolView .rd-ease-until.off { color:var(--s-muted, var(--c-slate-55)); } /* not faded: a dashed box says it waits for a percent */
  #toolView .rd-ease-until.off input { border-style:dashed !important; color:var(--s-muted, var(--c-slate-55)) !important; }

  /* Social Security by claim age */
  #toolView .ssc { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:20px; }
  #toolView .rd-group:not(.rd-has-sp) .ssc:has(> .ssc-who[hidden]) { grid-template-columns:minmax(0, 1fr); }
  #toolView .ssc-h { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; margin-bottom:8px; font-size:12.5px; color:var(--s-muted, var(--c-slate-55)); }
  #toolView .ssc-h b { font-size:14px; color:var(--s-ink, var(--c-slate-15)); }
  #toolView .ssc-rec { color:var(--s-blue, var(--c-blue-50)); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
  #toolView .ssc-ages { display:grid; grid-template-columns:repeat(9, minmax(0, 1fr)); gap:4px; }
  #toolView .ssc-ages button { display:flex !important; flex-direction:column; align-items:center; gap:1px; min-width:0 !important; height:auto !important; min-height:0 !important; padding:7px 2px 6px !important;
    border:1px solid var(--s-line2, var(--c-gray-90)) !important; border-radius:10px !important; background:var(--s-card, var(--c-gray-99)) !important; box-shadow:none !important; font:inherit; cursor:pointer; color:var(--s-ink, var(--c-slate-15)) !important; }
  #toolView .ssc-ages button i { font-style:normal; font-size:11.5px; font-weight:700; color:var(--s-muted, var(--c-slate-55)) !important; }
  #toolView .ssc-ages button b { font-size:12.5px; font-weight:700; font-variant-numeric:tabular-nums; color:inherit !important; }
  #toolView .ssc-ages button.fra { border-style:dashed !important; }
  #toolView .ssc-ages button.on { border-color:var(--s-blue, var(--c-blue-50)) !important; background:var(--s-blue-l, var(--c-gray-95)) !important; box-shadow:0 0 0 2px rgba(var(--s-blue-rgb), .18) !important; }
  #toolView .ssc-ages button.on i { color:var(--s-blue-d, var(--c-blue-50)) !important; } /* the darker accent: 4.18:1 on the chip (2026-10-13 audit) */
  #toolView .ssc-pick { margin:10px 0 0; font-size:13px; line-height:1.5; color:var(--s-ink2, var(--c-slate-35)); }
  #toolView .rd-ss-own { margin-top:16px; }
  /* 2026-11-20 (owner, phone): links line, then the typed amounts, then the question and the ages */
  #toolView .ssc-top:empty, #toolView .ssc-pick:empty { display:none; }
  #toolView .ssc-top ~ .rd-ss-own { margin:2px 0 14px; }
  #toolView .ssc-top .ssc-h { margin-bottom:4px; }
  #toolView .rd-ss-own .field[hidden], #toolView .rd-ss-own[hidden] ~ .ssc-spmode { display:none !important; }
  #toolView .ssc-pick.ssc-askp { margin:0 0 8px; }
  html.studio body #toolView .pp-rb > .ssc-spmode { margin-top:14px !important; }
  #toolView .rd-ss-own > summary { cursor:pointer; font-size:13px; font-weight:600; color:var(--s-blue, var(--c-blue-50)); }
  #toolView .rd-ss-sub { margin:12px 0 6px; font-size:12.5px; font-weight:700; color:var(--s-ink2, var(--c-slate-35)); }

  /* Assumptions and Estate: one line with Change on every screen (js/17's fold; it was phone-only) */
  #toolView .rd-group.rd-assume > .rd-fold, #toolView .rd-group.rd-heirs > .rd-fold { display:flex !important; align-items:center; justify-content:space-between; gap:12px; margin:0 0 4px; }
  #toolView .rd-fold-sum { font-size:13.5px; color:var(--s-ink2, var(--c-slate-35)); }
  /* (outranks Studio's "html.studio #toolView .rd-group .inputs-grid:not()…" display:grid) */
  html.studio #toolView .rd-group.rd-collapsed > .inputs-grid:not([data-a]):not([data-b]):not([data-c]), #toolView .rd-group.rd-collapsed > .inputs-grid,
  html.studio #toolView .rd-group.rd-collapsed > .st-more:not([data-a]):not([data-b]):not([data-c]), #toolView .rd-group.rd-collapsed > .rd-group-h > p { display:none !important; }

  /* ---- five steps (2026-10-11, design/studio-plan-flow.html) ---- */
  #toolView .rd-sp-only[hidden], #toolView .rd-group.rd-health[hidden], #toolView .rd-back[hidden], #expBackToPlan[hidden], #toolView #rdPlannerLater[hidden] { display:none !important; }
  html.studio #toolView .rd-group.rd-saving, html.studio #toolView .rd-group.rd-health, html.studio #toolView .rd-group.rd-draw { grid-column:1 / -1; }
  html.studio #toolView .rd-health { --chip-bg:var(--s-teal-l); --chip-fg:var(--s-teal); --chip-ic:var(--ic-heart); }
  html.studio #toolView .rd-draw { --chip-bg:var(--s-blue-l); --chip-fg:var(--s-blue); --chip-ic:var(--ic-trend); }
  html.studio #toolView .rd-saving { --chip-bg:var(--s-green-l); --chip-fg:var(--s-green); --chip-ic:var(--ic-wallet); }
  /* Work and saving: "You", "Your employer's match", "Your spouse" */
  #toolView .rd-sub { margin:16px 0 8px; font-size:13px; font-weight:700; color:var(--s-ink, var(--c-slate-15)); }
  #toolView .rd-saving > .rd-sub:first-of-type { margin-top:0; }
  #toolView .rd-sub .fld-opt { margin-left:6px; font-weight:600; }
  /* About you: filing status and state get room for their words ("Married Filing Jointly" was cut off) */
  html.studio #toolView .rd-group.rd-you .inputs-grid:not([data-a]):not([data-b]):not([data-c]):not([data-d]) { grid-template-columns:repeat(6, minmax(0, 1fr)) !important; } /* (outranks Studio's three-column rule) */
  html.studio #toolView .rd-group.rd-you .inputs-grid > * { grid-column:span 2 !important; }
  html.studio #toolView .rd-group.rd-you .inputs-grid > .field:has(#filingStatus), html.studio #toolView .rd-group.rd-you .inputs-grid > .field:has(#hhState) { grid-column:span 3 !important; }
  html.studio #toolView .rd-group.rd-you .inputs-grid > #hhBox, html.studio #toolView .rd-group.rd-you .inputs-grid > .hh-box, html.studio #toolView .rd-group.rd-you .inputs-grid > :not(.field) { grid-column:1 / -1 !important; }
  /* a pension, under Social Security */
  #toolView .rd-inc { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:16px; padding:12px 14px; border:1px solid var(--s-line2, var(--c-gray-90)); border-radius:12px; }
  #toolView .rd-inc-t { font-size:13.5px; line-height:1.45; color:var(--s-ink2, var(--c-slate-35)); }
  #toolView .rd-inc-t b { color:var(--s-ink, var(--c-slate-15)); }
  #toolView .rd-inc-t .fld-opt { margin-left:4px; }
  #toolView .rd-inc-btn { margin-left:auto !important; }
  /* Health care card: js/53's box and Before Medicare, without boxes of their own */
  #toolView .rd-health .hc-box { margin:0 !important; padding:0 !important; border:0 !important; background:none !important; box-shadow:none !important; }
  #toolView .rd-health .hc-box .hc-head > b { display:none; }
  #toolView .rd-health .hc-box .hc-head { justify-content:flex-end; margin:-44px 0 10px; min-height:24px; pointer-events:none; }
  #toolView .rd-health .hc-box .hc-head > * { pointer-events:auto; }
  #toolView .rd-health #pmRowYou .pm-seg, #toolView .rd-health #pmRowSpouse .pm-seg { display:none !important; } /* each person's marketplace / COBRA choice is on their own health card (2026-10-11); the subsidy rows keep their On / Off */
  #toolView .rd-health #preMedBlock { margin:16px 0 0 !important; padding:14px 0 0 !important; border:0 !important; border-top:1px solid var(--s-line, var(--c-gray-90)) !important; border-radius:0 !important; background:none !important; }
  /* How you'll draw it: the method, spending that eases, which accounts pay first (from Review) */
  #toolView .rd-draw .rd-ease { margin:16px 0 0; }
  #toolView .rd-draw .rd-pay { margin:18px 0 0 !important; padding:16px 0 0 !important; border:0 !important; border-top:1px solid var(--s-line, var(--c-gray-90)) !important; border-radius:0 !important; background:none !important; box-shadow:none !important; }
  #toolView .rd-draw .rd-pay .pay-plan-head h3 { margin:0 0 4px !important; font-size:14px !important; }
  /* the way back from the Expense Planner */
  #expBackToPlan { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:0 0 14px; padding:10px 14px; border-radius:12px; background:var(--s-blue-l, var(--c-gray-95)); color:var(--s-ink, var(--c-slate-15)); font-size:13.5px; }
  #expBackToPlan .preset-btn { margin-left:auto; }

  /* ---- each person's cards (2026-10-11, design/studio-person-flow.html; js/55a, js/55) ---- */
  #toolView .pp-panel { display:grid; grid-template-columns:minmax(0, 1fr); gap:14px; align-items:start; padding:0 !important; border:0 !important; background:none !important; box-shadow:none !important; }
  #toolView .pp-panel > input[type=hidden] { display:none; }
  #toolView .pp-card { min-width:0; padding:18px 20px; border:1px solid var(--s-line, var(--c-gray-90)); border-radius:var(--s-r, 16px); background:var(--s-card, var(--c-gray-99)); box-shadow:var(--s-sh, none); }
  #toolView .pp-card.pp-health, #toolView .pp-card.pp-income { grid-column:1 / -1; }
  #toolView .pp-h h3 { margin:0 0 12px; font-size:16px; font-weight:700; color:var(--s-ink, var(--c-slate-15)); }
  #toolView .pp-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; }
  #toolView .pp-grid > :not(.field) { grid-column:1 / -1; }
  #toolView .pp-grid .field { margin:0 !important; min-width:0; }
  #toolView .pp-dates .pp-grid > .field:has(#filingStatus), #toolView .pp-dates .pp-grid > .field:has(#hhState) { grid-column:span 1; }
  #toolView .pp-dates .pp-grid { grid-template-columns:repeat(4, minmax(0, 1fr)); } /* name · born · retire at · plan until */
  #toolView .pp-dates .pp-grid > .field:has(#filingStatus), #toolView .pp-dates .pp-grid > .field:has(#hhState) { grid-column:span 2; }
  #toolView .pp-row { border-top:1px solid var(--s-line, var(--c-gray-90)); padding:12px 0; }
  #toolView .pp-card > .pp-h + .pp-row { border-top:0; padding-top:0; }
  #toolView .pp-rh { display:flex; align-items:center; gap:12px; }
  #toolView .pp-q { flex:1; min-width:0; font-size:14px; font-weight:600; color:var(--s-ink, var(--c-slate-15)); }
  #toolView .pp-q small { display:block; margin-top:1px; font-size:12.5px; font-weight:500; color:var(--s-muted, var(--c-slate-55)); }
  #toolView .pp-row.is-off .pp-q { color:var(--s-ink2, var(--c-slate-35)); font-weight:500; }
  #toolView .pp-rb { margin-top:12px; }
  #toolView .pp-rb[hidden], #toolView .pp-rh[hidden], #toolView .pp-ways[hidden], #toolView .pp-seg[hidden], #toolView .pp-ask[hidden] { display:none !important; }
  #toolView .pp-sub { display:grid; gap:8px; margin:12px 0; padding:10px 12px; border-radius:12px; background:var(--s-band, var(--c-gray-95)); }
  #toolView .pp-sub .pp-q { font-weight:500; }
  /* the Yes / No switch */
  #toolView .pp-sw { position:relative; flex:none; display:inline-flex; align-items:center; width:74px !important; min-width:0 !important; height:30px !important; min-height:0 !important; padding:0 0 0 30px !important; border:0 !important; border-radius:999px !important; background:var(--s-track, var(--c-gray-85)) !important; box-shadow:none !important; cursor:pointer; font:inherit; }
  #toolView .pp-sw::before { content:''; position:absolute; top:3px; left:3px; width:24px; height:24px; border-radius:50%; background:var(--c-gray-99); box-shadow:0 1px 2px rgba(var(--c-shadow-rgb), .25); transition:left .15s; }
  #toolView .pp-sw .pp-sw-t { font-size:12.5px; font-weight:700; color:var(--s-ink, var(--c-slate-15)); }
  #toolView .pp-sw[aria-checked="true"] { background:var(--s-blue, var(--c-blue-50)) !important; padding:0 30px 0 12px !important; }
  #toolView .pp-sw[aria-checked="true"]::before { left:47px; }
  #toolView .pp-sw[aria-checked="true"] .pp-sw-t { color:var(--c-gray-99); }
  #toolView .pp-sw:focus-visible { outline:2px solid var(--s-blue, var(--c-blue-50)); outline-offset:2px; }
  /* moved option sections: no box of their own */
  #toolView .pp-rb > [id$="Section"] { margin:0 !important; padding:0 !important; border:0 !important; background:none !important; }
  #toolView .pp-rb > [id$="Section"] > .section-desc { font-size:12.5px; color:var(--s-muted, var(--c-slate-55)); margin:0 0 10px !important; }
  /* health: timeline, choices, care use */
  #toolView .pp-tlbar { display:flex; overflow:hidden; border-radius:10px; margin:0 0 10px; font-size:11.5px; font-weight:700; }
  #toolView .pp-tlbar span { padding:6px 8px; color:var(--c-gray-99); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
  #toolView .pp-tlbar .t-j1 { background:var(--c-green-55); } #toolView .pp-tlbar .t-j2 { background:var(--c-purple-50); } #toolView .pp-tlbar .t-r { background:var(--c-pink-60); }
  #toolView .pp-tlbar .t-c { background:var(--c-amber-55); } #toolView .pp-tlbar .t-g { background:var(--c-orange-60); } #toolView .pp-tlbar .t-m { background:var(--s-blue, var(--c-blue-50)); }
  /* E3 (2026-11-10): years before 65 not answered yet — gray, dark text, a dashed edge */
  html body #toolView .pp-tlbar .t-q { background:var(--c-gray-90); color:var(--c-slate-30); box-shadow:inset 0 0 0 1px var(--c-slate-70); }
  html body #toolView .pp-tlkey .t-q { background:var(--c-gray-90); box-shadow:inset 0 0 0 1px var(--c-slate-70); }
  #toolView .pp-why { margin:0 0 8px; font-size:12.5px; line-height:1.5; color:var(--s-ink2, var(--c-slate-35)); }
  #toolView .pp-ask { margin:12px 0 8px; font-size:14px; font-weight:600; color:var(--s-ink, var(--c-slate-15)); }
  #toolView .pp-ask small { display:block; margin-top:2px; font-size:12.5px; font-weight:500; color:var(--s-muted, var(--c-slate-55)); }
  #toolView .pp-retiree { margin-top:10px; } #toolView .pp-retiree[hidden] { display:none !important; } /* the retiree plan's cost, under the answer that picks it (2026-10-11) */
  #toolView .pp-ways { display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:8px; }
  #toolView .pp-way { display:block; text-align:left; padding:10px 12px !important; height:auto !important; min-height:0 !important; border:1px solid var(--s-line2, var(--c-gray-90)) !important; border-radius:12px !important; background:var(--s-card, var(--c-gray-99)) !important; box-shadow:none !important; font:inherit; cursor:pointer; color:var(--s-ink, var(--c-slate-15)) !important; }
  #toolView .pp-way b { display:block; font-size:13.5px; } #toolView .pp-way span { display:block; margin-top:2px; font-size:12px; line-height:1.4; color:var(--s-muted, var(--c-slate-55)); }
  #toolView .pp-way.on { border-color:var(--s-blue, var(--c-blue-50)) !important; background:var(--s-blue-l, var(--c-gray-95)) !important; box-shadow:0 0 0 2px rgba(var(--s-blue-rgb), .15) !important; }
  #toolView .pp-way[disabled] { opacity:.5; cursor:not-allowed; }
  #toolView .pp-mini { grid-column:1 / -1; display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:4px; font-size:12.5px; color:var(--s-muted, var(--c-slate-55)); }
  #toolView .pp-seg { display:inline-flex; gap:2px; padding:3px; border-radius:10px; background:var(--s-band, var(--c-gray-95)); }
  #toolView .pp-seg button { height:30px !important; min-height:0 !important; padding:0 12px !important; border:0 !important; border-radius:8px !important; background:transparent !important; box-shadow:none !important; font:inherit; font-size:12.5px; font-weight:600; color:var(--s-muted, var(--c-slate-55)) !important; cursor:pointer; }
  #toolView .pp-seg button.on { background:var(--s-card, var(--c-gray-99)) !important; color:var(--s-ink, var(--c-slate-15)) !important; box-shadow:0 1px 3px rgba(var(--c-shadow-rgb), .12) !important; }
  #toolView .pp-health .pp-grid:has(#medCoverage2) { display:none !important; } /* the spouse's selects: driven by the buttons above */

  @media (max-width:760px){
    #toolView .pp-panel { grid-template-columns:minmax(0, 1fr); }
    #toolView .pp-card { padding:14px; }
    #toolView .pp-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    #toolView .pp-dates .pp-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    #toolView .pp-ways { grid-template-columns:minmax(0, 1fr); }
    /* 2026-11-04: a long name in a half-width box ("Pay a year, before tax") wraps instead of cutting off its ⓘ */
    html.studio body #toolView .pp-grid > .ofl > label:first-child { white-space:normal !important; overflow:visible !important; }
    html.studio body #toolView .pp-grid > .ofl:has(> label:first-child + .unit-box:last-child) { display:flex; flex-direction:column; } /* the boxes side by side stay level */
    html.studio body #toolView .pp-grid > .ofl > label:first-child + .unit-box:last-child { margin-top:auto; }
  }
  /* 2026-11-19: the 4-across rows (name · born · retire at · plan until; Social Security amounts) go 2-across when the
     step card itself is narrow — the sidebar showing at ~1024px left 148px boxes ("196", "6 yrs") — as on phones */
  #toolView .pp-card { container-type:inline-size; }
  @container (min-width:480px) and (max-width:820px){ /* phones keep their own (one-column) layout */
    html.studio body #toolView .pp-dates .pp-grid,
    html.studio body #toolView .pp-income .rd-ss-own > .inputs-grid { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; }
  }

  @media (max-width:760px){
    html.studio #toolView .rd-group.rd-you .inputs-grid:not([data-a]):not([data-b]):not([data-c]):not([data-d]) { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; }
    html.studio #toolView .rd-group.rd-you .inputs-grid > * { grid-column:span 1 !important; }
    html.studio #toolView .rd-group.rd-you .inputs-grid > .field:has(#filingStatus), html.studio #toolView .rd-group.rd-you .inputs-grid > .field:has(#hhState) { grid-column:1 / -1 !important; }
    #toolView .rd-inc-btn { margin-left:0 !important; }
    #toolView .rd-health .hc-box .hc-head { margin-top:0; justify-content:flex-start; }
  }
  @media (max-width:760px){
    #toolView .ssc { grid-template-columns:minmax(0, 1fr); }
    #toolView .ssc-ages { grid-template-columns:repeat(5, minmax(0, 1fr)); }
    html.studio #toolView .rd-group.rd-you .inputs-grid, html.studio #toolView .rd-group.rd-spouse .inputs-grid { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; }
  }
  /* Social Security: three ways to the full-retirement-age amount, and the estimate from pay (js/55 strip, js/32b; 2026-10-11) */
  #toolView .ssc-btn { display:inline !important; height:auto !important; min-height:0 !important; padding:0 !important; border:0 !important; background:none !important; box-shadow:none !important; font:inherit !important; font-weight:600 !important; cursor:pointer; }
  #toolView .ssc-3 { display:block; }
  #toolView .ssc-3 ol { margin:6px 0 0; padding-left:20px; display:grid; gap:4px; color:var(--s-ink2, var(--c-slate-35)); font-size:13px; line-height:1.5; }
  #toolView .ssc-rough { font-size:12.5px !important; color:var(--s-ink2, var(--c-slate-35)) !important; }
  #toolView .ssc-est { margin:10px 0 4px; padding:12px 14px; border:1px solid var(--s-line2, var(--c-gray-90)); border-radius:12px; background:var(--s-band, var(--c-gray-99)); }
  #toolView .ssc-est[hidden], #toolView .ssc-est .field[hidden] { display:none !important; }
  #toolView .ssc-est-h, #toolView .ssc-est-pay { margin:0 0 8px; font-size:13px; line-height:1.5; color:var(--s-ink2, var(--c-slate-35)); }
  #toolView .ssc-est-h a, #toolView .ssc-est-acts a { color:var(--s-blue, var(--c-blue-50)); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
  #toolView .ssc-est-out { margin:10px 0; font-size:13.5px; line-height:1.5; color:var(--s-ink, var(--c-slate-15)); }
  #toolView .ssc-est-acts { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; font-size:13px; }
  #toolView #poRow_Spouse .po-switch { display:none !important; } /* Survivor years: on whenever a spouse is in the plan (step 1 · Who's in the plan) — 2026-10-11 */
}

/* Choices that are questions look like buttons (2026-10-13; user: "Does your spending above include health care? they do not
   look like two buttons"). In Plan Details every two- or three-way answer (Yes / No, Off / On, Low / Typical / High, Just me /
   Me and a spouse, whose account, the cash rate …) is a row of separate outlined buttons, 44px tall to tap; the chosen one
   is filled blue with a check. View switches elsewhere (Today's $ / Future $) keep the compact segmented look. */
@layer studio {
  html.studio #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) { display:flex !important; flex-wrap:wrap !important; gap:8px !important; padding:0 !important; background:transparent !important; border:0 !important; box-shadow:none !important; overflow:visible !important; }
  html.studio #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button { flex:1 1 auto !important; min-width:72px; min-height:44px !important; height:auto !important; padding:8px 14px !important; border:1.5px solid var(--s-line2) !important; border-radius:10px !important;
    background:var(--s-card) !important; color:var(--s-ink) !important; font-size:14px !important; font-weight:600 !important; line-height:1.25 !important; white-space:normal !important; box-shadow:none !important; opacity:1; }
  html.studio #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button:hover { background:var(--s-hover) !important; }
  html.studio #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button:is(.is-on, .on, .active, [aria-pressed="true"], [aria-checked="true"]) { border-color:var(--s-blue) !important; background:var(--s-blue-l) !important; color:var(--s-blue-d) !important; }
  html.studio #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button:is(.is-on, .on, .active, [aria-pressed="true"], [aria-checked="true"])::before { content:'\002713 '; font-weight:700; }
  html.studio #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button:is(.is-off, :disabled) { opacity:.45; cursor:not-allowed; }
  html.studio #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button:focus-visible { outline:2px solid var(--s-blue) !important; outline-offset:2px !important; }
}

/* Phones (2026-10-13, js/59-mobile.js): a chosen card alone with Change; long notes in three lines with More; the timeline's
   names under the bar; the Social Security dropdown; full-width price boxes; the result bar's "Still needed" on its own line. */
@layer studio {
  #toolView .mb-change, #toolView .mb-more { display:inline-flex; align-items:center; min-height:36px; margin:4px 0 6px; padding:4px 2px; border:0; background:none; color:var(--s-blue); font:inherit; font-size:14px; font-weight:600; text-decoration:underline; cursor:pointer; }
  #toolView .mb-change[hidden], #toolView .mb-more[hidden] { display:none !important; }
  #toolView .pp-tlkey { display:none; }
  html.studio #toolView .ssc-howbox { display:block; }
  html.studio #toolView .ssc-how-l { display:block; margin:0 0 6px; font-size:14px; font-weight:600; color:var(--s-ink); }
  html.studio #toolView select.ssc-how { width:100%; min-height:44px; padding:8px 12px; border:1.5px solid var(--s-line2); border-radius:10px; background:var(--s-card); color:var(--s-ink); font:inherit; font-size:15px; }
  html.studio #toolView .ssc-how-n { margin:8px 0 0; font-size:13px; line-height:1.5; color:var(--s-muted); }
  @media (max-width:600px){
    #toolView .pp-ways.mb-folded > .pp-way:not(.on) { display:none !important; }
    #toolView .mb-clamp { display:-webkit-box !important; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden !important; max-height:4.6em !important; padding-bottom:0 !important; margin-bottom:0 !important; }
    #toolView .pp-tlbar { height:12px; margin-bottom:6px; } #toolView .pp-tlbar span { font-size:0 !important; padding:0 !important; }
    #toolView .pp-tlkey { display:grid; gap:2px; margin:0 0 10px; padding:0; list-style:none; font-size:13px; color:var(--s-ink2); }
    #toolView .pp-tlkey li { display:flex; align-items:center; gap:8px; } #toolView .pp-tlkey i { flex:none; width:12px; height:12px; border-radius:3px; }
    #toolView .pp-tlkey .t-j1 { background:var(--c-green-55); } #toolView .pp-tlkey .t-j2 { background:var(--c-purple-50); } #toolView .pp-tlkey .t-r { background:var(--c-pink-60); }
    #toolView .pp-tlkey .t-c { background:var(--c-amber-55); } #toolView .pp-tlkey .t-g { background:var(--c-orange-60); } #toolView .pp-tlkey .t-m { background:var(--s-blue); }
    #preMedBlock .field, #preMedBlock .field input { width:100% !important; max-width:none !important; min-width:0 !important; }
    /* the result and the live switch on the first row; "Still needed: … Go" on its own row below */
    html.studio #liveBar.lb { flex-wrap:wrap !important; row-gap:4px !important; }
    html.studio #liveBar .lb-side { display:contents !important; }
    html.studio #liveBar .lb-main { order:1; flex:1 1 auto; min-width:0; }
    html.studio #liveBar .lb-live { order:2; }
    html.studio #liveBar .lb-state { order:3; } html.studio #liveBar .lb-btn { order:4; }
    html.studio #liveBar .lb-state.lb-warn { flex:1 1 calc(100% - 80px) !important; white-space:normal !important; }
    /* E3 (2026-11-10): no result yet — the switch, "Still needed: …" and Go on one row; long words wrap inside it (it took three rows, 93 px) */
    html.studio #liveBar.lb.lb-nores { flex-wrap:nowrap !important; align-items:center; }
    html.studio #liveBar.lb-nores .lb-state { flex:1 1 0 !important; min-width:0; white-space:normal !important; line-height:1.25; }
    html.studio #liveBar.lb-nores .lb-btn { flex:0 0 auto; }
  }
}
/* the start age still to choose (js/55 ssAgeAsk, 2026-10-13) */
@layer studio { html.studio #toolView .ssc-ask { display:block; margin:0 0 4px; color:var(--s-orange); font-weight:700; } }
/* Glide Path → Apply it to (js/60-glide.js, 2026-10-13) */
@layer studio {
  html.studio #toolView .glide-accts { margin-top:14px; }
  html.studio #toolView .glide-h { margin:0 0 6px; font-size:14px; font-weight:600; color:var(--s-ink); }
  html.studio #toolView .glide-list { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:8px; }
  html.studio #toolView .glide-acct { display:flex; align-items:center; gap:10px; min-height:44px; padding:8px 12px; border:1.5px solid var(--s-line2); border-radius:10px; background:var(--s-card); cursor:pointer; }
  html.studio #toolView .glide-acct:has(input:checked) { border-color:var(--s-blue); background:var(--s-blue-l); }
  html.studio #toolView .glide-acct input { width:18px; height:18px; flex:none; accent-color:var(--s-blue); }
  html.studio #toolView .glide-acct b { display:block; font-size:14px; color:var(--s-ink); } html.studio #toolView .glide-acct small { display:block; font-size:12px; color:var(--s-muted); }
  html.studio #toolView .glide-note { margin:8px 0 0; font-size:13px; line-height:1.5; color:var(--s-muted); }
  /* several paths (2026-10-14): each its shares, when it starts and ends, and its accounts */
  html.studio #toolView .glide-first[hidden] { display:none !important; }
  html.studio #toolView .glide-path + .glide-path { margin-top:16px; padding-top:14px; border-top:1px solid var(--s-line); }
  html.studio #toolView .glide-path-h { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 6px; font-size:15px; color:var(--s-ink); }
  html.studio #toolView .glide-rm { width:44px; height:44px; border:1px solid var(--s-line2); border-radius:10px; background:var(--s-card); color:var(--s-ink2); font:inherit; font-size:20px; line-height:1; cursor:pointer; }
  html.studio #toolView .glide-grid { grid-template-columns:repeat(4, minmax(0, 1fr)) !important; margin:0 0 12px !important; }
  html.studio body #toolView .glide-path .glide-lab { display:block; margin:0 0 6px; font-size:12.5px; font-weight:600; line-height:1.3; color:var(--s-ink2); }
  html.studio #toolView .glide-when-row { display:flex; gap:8px; min-width:0; }
  html.studio #toolView .glide-when-row select { flex:1 1 auto; min-width:0; }
  html.studio #toolView .glide-when-row .glide-age { flex:0 0 76px; width:76px; min-width:0; }
  html.studio #toolView .glide-when-row .glide-age[hidden] { display:none !important; }
  html.studio #toolView .glide-acct.is-other small { color:var(--s-ink2); }
  html.studio #toolView .glide-add { display:inline-flex; align-items:center; min-height:44px; margin-top:14px; padding:0 14px; border:1px dashed var(--s-line2); border-radius:10px; background:var(--s-card); font:inherit; font-weight:600; color:var(--s-link); cursor:pointer; }
  html.studio #toolView .glide-add:focus-visible, html.studio #toolView .glide-rm:focus-visible { outline:2px solid var(--s-blue); outline-offset:2px; }
}
@media (max-width:900px){ @layer studio { html.studio #toolView .glide-grid { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; } } }
@media (max-width:420px){ @layer studio { html.studio #toolView .glide-grid { grid-template-columns:minmax(0, 1fr) !important; } } }

/* Plan Details audit fixes (2026-10-13, ui-ux-pro-max: contrast 4.5:1, 24 px targets / 44 px on phones, nothing under 13 px).
   In the studio layer (declared first, in index.html): its !important outranks every other layer's; the selectors (an id) outrank
   the theme's own rules in it. */
@layer studio {
  /* units inside fields ($, /yr, % a year): 2.58:1 → the muted text color */
  html body #toolView .unit-box > .unit-pre, html body #toolView .unit-box > .unit-suf { color:var(--s-muted, var(--c-slate-55)) !important; }
  /* labels a little under 4.5:1 */
  html body #toolView :is(.nw-seg, .pp-way span) { color:var(--s-ink2, var(--c-slate-25)) !important; }
  html.studio.studio-dark body .compass-plan-step:is(.active, .is-active, [aria-current="step"]) .compass-step-number { background:var(--s-blue-btn) !important; } /* white on it: 5.85:1 */
  html.studio body .compass-plan-step:not(.active):not(.is-active):not([aria-current="step"]):not(.is-todo) .compass-step-number { color:var(--s-ink2) !important; } /* 4.44:1 */
  html body #toolView .hc-tag.ok { color:var(--c-green-35) !important; }
  html body #toolView :is(.mf-chev, .mf-check) { color:var(--s-muted, var(--c-slate-55)) !important; }
  /* dark: links in the accent, and white on the accent */
  html.studio.studio-dark body #toolView :is(.mb-more, .mb-change, .ssc-rec, .rd-ss-own summary, a) { color:var(--s-link) !important; } /* the timeline's Medicare part: dark text on its tint now (2026-11-12) */
  html.studio.studio-dark body #toolView :is(.pp-sw[aria-checked="true"], .plan-step-next, .runbtn, .mc-cta, .mc-cta-button) { background:var(--s-blue-btn) !important; border-color:var(--s-blue-btn) !important; }
  html.studio.studio-dark body #toolView .pp-sw[aria-checked="true"] .pp-sw-t { color:var(--s-on) !important; }
  /* the ? help: 24 px (WCAG 2.2 AA minimum), 44 px to tap on phones */
  html body #toolView .qm { position:relative !important; width:24px !important; height:24px !important; font-size:13px !important; vertical-align:middle; }
  /* nothing under 13 px */
  html body #toolView :is(#planAgeEstimateLink, .fra i, [data-ssc] i, .pay-tax, .pay-move button, .mf-step-num, .mm-risk span, .mm-who, .mm-add, #activeAllocIndicator, #activeAllocIndicator strong, .compass-step-todo, .hc-tag, .pay-rank, .compass-mix-label span, .fld-opt, .rd-cap) { font-size:13px !important; }
  /* every control at least 24 px (WCAG 2.2 AA) */
  html body #toolView :is(summary, .ssc-rec, .ssc-btn, .xm-pct input) { min-height:24px !important; }
  html body #toolView summary { display:flex; align-items:center; }
  html body #toolView a.ssc-rec { display:inline-flex !important; align-items:center; }
  @media (max-width:760px){
    html body #toolView :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]), select) { min-height:44px !important; }
    html body #toolView :is(.ssc-rec, summary, #pensionLumpRun, .mm-act, .po-chev, .mb-change, .mb-more, #planAgeEstimateLink, .mm-upd-btn, .acct-chip, #runSimBtn) { min-height:44px !important; }
    html body #toolView :is(.ssc-rec, #pensionLumpRun, .mm-act, .po-chev, .mb-change, .mb-more, #planAgeEstimateLink) { display:inline-flex !important; align-items:center; }
    html body #toolView .mm-act { min-width:44px !important; }
    /* the switch and the ? keep their look; their tap area grows to 44 px */
    html body #toolView .pp-sw::after, html body .qm::after { content:''; position:absolute; left:50%; top:50%; width:max(100%, 44px); height:44px; transform:translate(-50%, -50%); } /* 2026-11-04: every page's ? */
    /* 2026-11-04: a mask also clips where a tap lands, so on phones the ⓘ is drawn in ::before and the button stays unmasked
       (its 44 px tap area above then works; the field ⓘ does the same in compass-studio.css) */
    html body .qm { position:relative; }
    html.studio body .qm:not(.qm-fld), html.studio body .qm:not(.qm-fld):is(:hover, :focus-visible) { -webkit-mask:none !important; mask:none !important; background:transparent !important; }
    html.studio body .qm:not(.qm-fld)::before { content:''; position:absolute; inset:0; background:var(--s-faint); -webkit-mask:var(--ic-info) center/16px no-repeat; mask:var(--ic-info) center/16px no-repeat; }
    html.studio body .qm:not(.qm-fld):is(:hover, :focus-visible)::before { background:var(--s-ink2); }
  }
}

/* Folding cards in steps 1 and 2 (js/63, 2026-10-13): a header row per card — title, one-line summary, then ✓ / Review / N needed (2026-10-28), chevron */
@layer studio {
  html body #toolView .pp-card.pf-closed > :not(.pp-h) { display:none !important; }
  html body #toolView .pp-card.pf-closed .pp-h h3 { margin:0 !important; }
}
#toolView .pp-h h3.pf-h3 { margin:0 0 12px; }
#toolView .pf-row { display:grid; grid-template-columns:minmax(0,1fr) auto 24px; gap:12px; align-items:center; width:100%; min-height:52px; padding:2px 0; border:0; background:transparent; font:inherit; color:inherit; text-align:left; cursor:pointer; }
#toolView .pf-row:focus-visible { outline:3px solid var(--s-blue, var(--c-teal-50)); outline-offset:4px; border-radius:10px; }
#toolView .pf-t { display:flex; flex-direction:column; gap:2px; min-width:0; }
#toolView .pf-title { font-size:16px; font-weight:700; color:var(--s-ink, var(--c-slate-15)); }
#toolView .pf-sum { font-size:14.5px; font-weight:400; line-height:1.4; color:var(--s-muted, var(--c-slate-55)); }
#toolView .pp-card:not(.pf-closed) .pf-sum { display:none; } /* open: the fields say it */
#toolView .pf-dot { display:inline-flex; align-items:center; justify-content:center; min-width:26px; height:26px; padding:0 9px; border-radius:13px; font-size:13.5px; font-weight:700; white-space:nowrap; }
#toolView .pf-dot.pf-done { padding:0; }
#toolView .pf-ico { display:none; } /* the large topic icons: Studio (compass-card-bands.css, 2026-10-28) */
#toolView .pf-dot.pf-done { background:var(--c-green-85); color:var(--c-green-35); }
#toolView .pf-dot.pf-need { background:var(--c-amber-90b); color:var(--c-amber-35); }
#toolView .pf-dot.pf-new { border:1px solid var(--s-faint, var(--c-slate-75)); background:transparent; color:var(--s-ink, var(--c-slate-15)); } /* not checked yet: only defaults (js/63, 2026-10-16) */
#toolView .pf-sum b { font-weight:600; color:var(--s-ink2, var(--c-slate-35)); }
#toolView .pf-chev { width:10px; height:10px; justify-self:center; border-right:2px solid var(--s-muted, var(--c-slate-55)); border-bottom:2px solid var(--s-muted, var(--c-slate-55)); transform:rotate(45deg); transition:transform .15s; }
#toolView .pp-card.pf-closed .pf-chev { transform:rotate(-45deg); }
@media (prefers-reduced-motion:reduce){ #toolView .pf-chev { transition:none; } }

/* ---------------------------------------------------------------- Spending, tidied (2026-10-14; user picked B in the Spending review:
   both design skills). One spending figure, the easing age only once there's a percent, tax notes as grey text, one ? per heading,
   44 px on phones, Where extra money goes as one line with Change. In @layer studio: Studio's !important wins otherwise. */
@layer studio {
  /* one figure: what the plan spends, its parts under it (js/53) */
  html.studio body #toolView .spend-planner-card.has-all #spendPlannerTotal { display:none !important; }
  html.studio body #toolView .spend-planner-all strong { font-size:28px; font-weight:700; letter-spacing:-.01em; color:var(--s-ink, var(--c-slate-15)); font-variant-numeric:tabular-nums; }
  html.studio body #toolView .spend-planner-all .spend-planner-unit { font-size:15px !important; color:var(--s-ink2, var(--c-slate-35)) !important; }
  html.studio body #toolView .spend-source-field > .qm[hidden] { display:none !important; }
  html.studio body #toolView .spend-planner-all { margin:0 0 10px; }
  /* F3 (2026-11-10): the total, one small line under it, the parts at body size, the typical-year note small and grey */
  html.studio body #toolView .spend-planner-all .spend-planner-unit { display:block; margin-top:2px; font-size:14px !important; }
  html.studio body #toolView .spend-planner-all .spend-planner-unit.spend-planner-typ { margin-top:12px !important; font-size:13px !important; line-height:1.45; color:var(--s-muted, var(--c-slate-55)) !important; }
  html.studio body #toolView .spend-planner-all .hh-rows { margin-top:12px; gap:6px; }
  html.studio body #toolView .spend-planner-all .hh-rows :is(dt, dd) { font-size:15px; color:var(--s-ink2, var(--c-slate-35)); }
  html.studio body #toolView .spend-planner-all .hh-rows dd { font-weight:600; color:var(--s-ink, var(--c-slate-15)); }
  html.studio body #toolView .hh-rows .hh-why { margin-top:-4px; }
  html.studio body #toolView .hh-rows .hh-why dt { font-size:13px; line-height:1.35; color:var(--s-muted, var(--c-slate-55)); }
  /* the "?" of the hidden second "Spending" label (js/47) sat alone on a phone */
  html.studio body #toolView #spendSourceLabel.q-sr .qm, html.studio body #toolView #spendSourceLabel.q-sr + .qm { display:none !important; }
  /* the easing age only once there's a percent (js/55 ease) */
  html.studio body #toolView .rd-ease-until.off { display:none !important; }
  /* the accounts: tax notes as grey text under the name, not blue pills that look like links */
  html.studio body #toolView .pay-body { display:block !important; }
  html.studio body #toolView .pay-body strong { display:block !important; font-size:15px !important; }
  html.studio body #toolView .pay-body .pay-tax { display:inline !important; margin:0 !important; padding:0 !important; background:none !important; border:0 !important; border-radius:0 !important; color:var(--s-muted, var(--c-slate-55)) !important; font-size:13.5px !important; font-weight:500 !important; }
  html.studio body #toolView .pay-body .pay-tax + .pay-tax::before { content:"\0000B7 "; }
  html.studio body #toolView .pay-move { gap:8px !important; }
  /* Where extra money goes: one line until Change (js/58) */
  html.studio body #toolView .xm-sum { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
  html.studio body #toolView .xm-sum p { flex:1; min-width:200px; margin:0; font-size:15px; color:var(--s-ink2, var(--c-slate-35)); }
  html.studio body #toolView .xm-sum b { color:var(--s-ink, var(--c-slate-15)); }
  html.studio body #toolView .xm-toggle { min-height:40px; padding:0 16px; font-size:15px; font-weight:600; border:1px solid var(--s-line2, var(--c-gray-85)); background:var(--s-card, var(--panel)); color:var(--s-ink, var(--c-slate-15)); border-radius:10px; cursor:pointer; }
  html.studio body #toolView .xm-card.xm-closed > :not(.xm-sum) { display:none !important; }
  html.studio body #toolView .xm-card:not(.xm-closed) > .xm-h { display:none; } /* the line above says it */
  html.studio body #toolView .xm-card:not(.xm-closed) > .xm-sum { margin-bottom:10px; }
  html.studio body #toolView .xm-name small { font-size:13px !important; }
  html.studio body #toolView .xm-pct input { min-height:36px !important; width:72px !important; }
  @media (max-width:760px){
    html.studio body #toolView :is(.spend-source-row .toggle-btn, .pay-presets .preset-btn, .spend-planner-open, .xm-toggle, .xm-add, .xm-btn) { min-height:44px !important; height:auto !important; }
    html.studio body #toolView .toggle-row.spend-source-row > .toggle-btn.toggle-btn { min-height:44px !important; }
    /* the card's heading is the row above on a phone: its ? sat alone on a line, now beside One amount / Itemize */
    html.studio body #toolView .mf-row[aria-expanded="true"] + .rd-group.rd-spend { position:relative; }
    html.studio body #toolView .mf-row[aria-expanded="true"] + .rd-group.rd-spend > .rd-group-h { position:absolute !important; top:10px; right:0; margin:0 !important; z-index:1; border-image:none !important; padding-bottom:0 !important; } /* 2026-11-04: no card band here: it painted a grey strip over the One amount / Itemize choice */ /* Studio's 36 px rule is one class stronger */
    html.studio body #toolView .pay-move button { width:44px !important; height:44px !important; font-size:13px !important; }
    html.studio body #toolView .pay-presets { gap:8px !important; }
    html.studio body #toolView .xm-pct input { min-height:44px !important; }
  }
}

/* ---------------------------------------------------------------- Health care costs, tidied (2026-10-14; user picked B in the Health
   care review): the subsidy warning first, one row per person (before 65 · from 65), the first retired year, the prices, then
   the three settings as switches. js/53 draws the table, js/46 the switches, js/51b the warning (#pmWhy, now in #hcWhySlot). */
@layer studio {
  html.studio body #toolView #preMedBlock.pm-in-table > :is(.th-h, .th-intro, .pm-row) { display:none !important; }
  html.studio body #toolView #preMedBlock.pm-in-table { padding-top:0 !important; border-top:0 !important; margin-top:0 !important; }
  html.studio body #toolView .hc-tab td { white-space:normal !important; overflow-wrap:anywhere !important; }
  html.studio body #toolView .hc-tag.ok { color:var(--s-ink, var(--c-slate-15)) !important; }
  html.studio body #toolView #hcWhySlot:empty { display:none !important; }
  html.studio body #toolView #hcWhySlot .pm-why-warn { margin:4px 0 12px !important; padding:10px 14px !important; border-radius:12px !important; background:var(--c-sand-95b) !important; color:var(--c-amber-35) !important; font-size:15px !important; line-height:1.5 !important; }
  html.studio body #toolView #hcWhySlot .pm-why-warn[hidden] { display:none !important; }
  html.studio body #toolView #hcWhySlot .pm-why-warn a { color:inherit !important; font-weight:700 !important; text-decoration:underline !important; display:inline-flex !important; align-items:center !important; min-height:24px !important; }
  html.studio body #toolView .hc-tab { width:100% !important; border-collapse:collapse !important; margin:4px 0 8px !important; font-size:14.5px !important; }
  html.studio body #toolView .hc-tab thead th { text-align:left !important; font-size:13.5px !important; font-weight:600 !important; color:var(--s-muted, var(--c-slate-55)) !important; padding:0 10px 6px 0 !important; border-bottom:1px solid var(--s-line2, var(--c-gray-85)) !important; }
  html.studio body #toolView .hc-tab tbody th { text-align:left !important; font-weight:700 !important; font-size:15px !important; padding:10px 10px 10px 0 !important; vertical-align:top !important; white-space:nowrap !important; color:var(--s-ink, var(--c-slate-15)) !important; }
  html.studio body #toolView .hc-tab td { padding:10px 10px 10px 0 !important; vertical-align:top !important; border-bottom:1px solid var(--s-line, var(--c-gray-90)) !important; color:var(--s-ink2, var(--c-slate-35)) !important; }
  html.studio body #toolView .hc-tab tbody th { border-bottom:1px solid var(--s-line, var(--c-gray-90)) !important; }
  html.studio body #toolView .hc-tab td b { display:block !important; font-weight:600 !important; color:var(--s-ink, var(--c-slate-15)) !important; }
  html.studio body #toolView .hc-tab .yr { display:block !important; font-size:13.5px !important; color:var(--s-muted, var(--c-slate-55)) !important; }
  /* 2026-10-19 (_audits/2026-10-19-health-card-mockup.html): the prices in one row with Use my own prices on its own side,
     one short line under it; the first retired year as two numbers; the subsidy answer in a small box */
  html.studio body #toolView .hc-prices { display:flex !important; justify-content:space-between !important; align-items:flex-end !important; gap:12px 16px !important; margin:8px 0 0 !important; }
  html.studio body #toolView .hc-pf { display:flex !important; flex-wrap:wrap !important; gap:12px 16px !important; min-width:0 !important; }
  html.studio body #toolView .hc-pf > .field { width:300px !important; max-width:100% !important; margin:0 !important; }
  html.studio body #toolView .hc-pf > .field[hidden] { display:none !important; }
  html.studio body #toolView :is(.hc-prices, .hc-tab) .hc-own { flex:none !important; min-height:44px !important; padding:8px 16px !important; border:1px solid var(--s-line2, var(--c-gray-90)) !important; border-radius:12px !important; background:var(--s-card, var(--c-gray-99)) !important; font-size:14.5px !important; font-weight:600 !important; color:var(--s-link, var(--c-teal-45)) !important; box-shadow:none !important; }
  html.studio body #toolView :is(.hc-prices, .hc-tab) .hc-own:hover { border-color:var(--s-blue, var(--c-teal-50)) !important; }
  html.studio body #toolView .hc-cap { margin:8px 0 0 !important; font-size:14px !important; line-height:1.5 !important; color:var(--s-muted, var(--c-slate-55)) !important; }
  html.studio body #toolView #hcQ:empty { display:none !important; } html.studio body #toolView #hcQ { margin-top:12px !important; }
  html.studio body #toolView #hcCostSlot .pm-cost { margin:18px 0 0 !important; padding-top:16px !important; border-top:1px solid var(--s-line, var(--c-gray-90)) !important; color:var(--s-ink2, var(--c-slate-35)) !important; }
  html.studio body #toolView .pm-cost .pm-y1-h { display:block !important; font-size:15.5px !important; font-weight:700 !important; color:var(--s-ink, var(--c-slate-15)) !important; }
  html.studio body #toolView .pm-cost .pm-y1-h small { margin-left:6px !important; font-size:14px !important; font-weight:500 !important; color:var(--s-muted, var(--c-slate-55)) !important; }
  html.studio body #toolView .pm-cost .pm-y1 { display:grid !important; grid-template-columns:repeat(2, minmax(0, 240px)) !important; gap:12px 28px !important; margin-top:8px !important; }
  html.studio body #toolView .pm-cost .pm-y1-none { display:block; margin-top:8px; font-size:14px; color:var(--s-ink2, var(--c-slate-35)); } /* F3: nobody under 65 in the first retired year */
  html.studio body #toolView .pm-cost .pm-n b { display:block !important; font-size:22px !important; font-weight:700 !important; letter-spacing:-.01em !important; color:var(--s-ink, var(--c-slate-15)) !important; font-variant-numeric:tabular-nums; }
  html.studio body #toolView .pm-cost .pm-n small { display:block !important; font-size:14px !important; line-height:1.4 !important; color:var(--s-muted, var(--c-slate-55)) !important; }
  html.studio body #toolView #preMedBlock.pm-in-table .pm-guard { margin-top:18px !important; padding-top:16px !important; }
  html.studio body #toolView #preMedBlock.pm-in-table > .inputs-grid:not(:has(> .field)) { display:none !important; } /* its fields moved to the prices row */
  html.studio body #toolView .pm-guard.pm-has-sw > #pmVerdict { grid-column:1 / -1 !important; }
  html.studio body #toolView #pmVerdict { display:flex !important; flex-wrap:wrap !important; align-items:baseline !important; gap:2px 12px !important; margin:10px 0 0 !important; padding:10px 14px !important; border-radius:12px !important; background:var(--s-band, var(--c-gray-95)) !important; font-size:14.5px !important; color:var(--s-ink2, var(--c-slate-35)) !important; }
  html.studio body #toolView #pmVerdict b { color:var(--s-ink, var(--c-slate-15)) !important; }
  html.studio body #toolView #pmVerdict a { margin-left:auto !important; font-weight:600 !important; color:var(--s-link, var(--c-teal-45)) !important; text-decoration:none !important; white-space:nowrap !important; }
  html.studio body #toolView #pmVerdict .pm-verdict-note { flex-basis:100% !important; margin:0 !important; }
  /* the settings: a label, a switch, one line under it */
  html.studio body #toolView .pm-guard.pm-has-sw { display:grid !important; grid-template-columns:minmax(0,1fr) auto !important; align-items:center !important; column-gap:16px !important; row-gap:2px !important; }
  html.studio body #toolView .pm-guard.pm-has-sw[hidden] { display:none !important; } /* (2026-10-14: the rule above outranked hidden, so a row that didn't apply still showed) */
  html.studio body #toolView .pm-guard.pm-has-sw > .pm-seg { display:none !important; }
  html.studio body #toolView .pm-guard.pm-has-sw > label { grid-column:1 !important; grid-row:1 !important; margin:0 !important; font-size:15.5px !important; font-weight:700 !important; }
  html.studio body #toolView .pm-guard.pm-has-sw > .pm-sw { grid-column:2 !important; grid-row:1 / span 2 !important; }
  html.studio body #toolView .pm-guard.pm-has-sw > :not(label):not(.pm-sw):not(input) { grid-column:1 !important; }
  html.studio body #toolView .pm-sw { min-height:30px !important; position:relative !important; width:52px !important; height:30px !important; border-radius:999px !important; border:0 !important; padding:0 !important; background:var(--c-gray-75) !important; cursor:pointer !important; flex:none !important; }
  html.studio body #toolView .pm-sw::after { content:""; position:absolute !important; top:3px !important; left:3px !important; width:24px !important; height:24px !important; border-radius:50% !important; background:var(--s-on, var(--c-gray-99)) !important; transition:left .15s !important; }
  html.studio body #toolView .pm-sw::before { content:""; position:absolute !important; inset:-7px !important; } /* a 44 px tap area */
  html.studio body #toolView .pm-sw[aria-checked="true"] { background:var(--s-blue-btn, var(--c-teal-50)) !important; }
  html.studio body #toolView .pm-sw[aria-checked="true"]::after { left:25px !important; }
  /* Use my own Medicare prices, under the From 65 column (2026-10-30) */
  html.studio body #toolView .hc-tab tfoot td { border-bottom:0 !important; padding:12px 10px 4px 0 !important; }
  html.studio body #toolView .pm-sw:focus-visible { outline:3px solid var(--c-teal-50) !important; outline-offset:2px !important; }
  @media (prefers-reduced-motion:reduce){ html.studio body #toolView .pm-sw::after { transition:none !important; } }
  @media (max-width:760px){
    html.studio body #toolView .hc-tab thead { display:none !important; }
    html.studio body #toolView .hc-tab tr { display:grid !important; grid-template-columns:1fr !important; padding:8px 0 !important; border-bottom:1px solid var(--s-line, var(--c-gray-90)) !important; }
    html.studio body #toolView .hc-tab :is(td, tbody th) { display:block !important; border:0 !important; padding:2px 0 !important; }
    html.studio body #toolView .hc-tab tfoot tr { border-bottom:0 !important; }
    html.studio body #toolView .hc-tab tfoot td:empty { display:none !important; }
    html.studio body #toolView .hc-tab tfoot .hc-own { width:100% !important; }
    html.studio body #toolView .hc-tab td:nth-of-type(2)::before { content:"From 65: "; font-size:13.5px !important; color:var(--s-muted, var(--c-slate-55)) !important; }
    html.studio body #toolView #hcWhySlot .pm-why-warn a { min-height:44px !important; }
    html.studio body #toolView #preMedBlock .inputs-grid { grid-template-columns:1fr !important; }
    html.studio body #toolView .hc-prices { flex-direction:column !important; align-items:stretch !important; }
    html.studio body #toolView .hc-pf, html.studio body #toolView .hc-pf > .field { width:100% !important; }
    html.studio body #toolView .pm-cost .pm-y1 { grid-template-columns:1fr 1fr !important; gap:12px 16px !important; }
    html.studio body #toolView #pmVerdict a { margin-left:0 !important; min-height:32px !important; display:inline-flex !important; align-items:center !important; } /* the prices' boxes were too narrow for $1,250 /mo each */
  }
}

/* ---------------------------------------------------------------- Review & run as one checklist (2026-10-14; user picked A in the
   Review & run review): the plan's parts in groups, a row per option, Assumptions and Estate as rows (their Edit opens them
   here, js/17); the step ends with the result and one button (#runSimBtn: See results when current, else Run the plan).
   On this step the glance and "Active in your plan" cards and the "Running with" line are hidden: the list says it. */
@layer studio {
  html.studio body #toolView .rv-g { margin:16px 0 0 !important; font-size:13.5px !important; font-weight:600 !important; color:var(--s-muted, var(--c-slate-55)) !important; }
  html.studio body #toolView .rv-g + .rv-list { margin-top:4px !important; }
  html.studio body #toolView .rv-list li b .rv-opt { display:inline !important; }
  /* "Required entries are present" (js/17; it shows only when nothing is missing): the result line below says it */
  html.studio.rv-step body #toolView .rn-input-check, html.studio.rv-step body #toolView .mf-row:has(+ .rn-input-check), html.studio.rv-step body #toolView .mf-row:has(+ * > .rn-input-check) { display:none !important; }
  html.studio body #toolView .rv-opt { font-size:13.5px !important; font-weight:500 !important; color:var(--s-muted, var(--c-slate-55)) !important; margin-left:4px; }
  html.studio body #toolView .rv-h span { font-size:14px !important; }
  html.studio body #toolView details.rv-more > summary { list-style:none !important; display:flex !important; align-items:center !important; min-height:44px !important; cursor:pointer; font-size:15px !important; font-weight:600 !important; color:var(--s-link, var(--c-teal-40)) !important; border-top:1px solid var(--s-line, var(--c-gray-95)) !important; }
  html.studio body #toolView details.rv-more > summary::-webkit-details-marker { display:none; }
  html.studio body #toolView details.rv-more[open] > summary { display:none !important; }
  html.studio body #toolView details.rv-more > .rv-list { margin-top:0 !important; }
  html.studio.rv-step .compass-plan-glance, html.studio.rv-step body #toolView #activeAllocIndicator { display:none !important; }
  html.studio.rv-step body #toolView .rd-group.rd-collapsed:is(.rd-assume, .rd-heirs) { display:none !important; }
  html.studio.rv-step body #toolView .mf-row:has(+ .rd-group.mf-folded:is(.rd-assume, .rd-heirs)) { display:none !important; } /* the phone's folded rows: the list's last rows say them; Edit opens the group */
  html.studio:not(.rv-step) body #toolView .rv-ready { display:none !important; } /* 2026-10-14: it showed as an empty card under Back / Next on the other steps */
  html.studio.rv-step body #toolView .rv-ready { display:flex !important; flex-wrap:wrap !important; align-items:center !important; gap:12px 18px !important; margin:16px 0 0 !important; padding:16px 18px !important; border:1px solid var(--s-line2, var(--c-gray-85)) !important; border-radius:14px !important; background:var(--s-card, var(--panel)) !important; }
  html.studio body #toolView .rv-res { flex:1 1 240px !important; min-width:0 !important; }
  html.studio body #toolView .rv-res b { display:block !important; font-size:22px !important; font-weight:700 !important; color:var(--s-ink, var(--c-slate-15)) !important; }
  html.studio body #toolView .rv-res span { display:block !important; font-size:14.5px !important; color:var(--s-muted, var(--c-slate-55)) !important; }
  html.studio body #toolView .rv-ready.rv-cur .rv-res b::before { content:""; display:inline-block; width:10px; height:10px; border-radius:50%; background:var(--c-green-45); margin-right:8px; vertical-align:3px; }
  html.studio body #toolView .rv-acts { flex:0 0 auto !important; }
  html.studio body #toolView .rv-acts #runSimBtn { width:auto !important; min-width:200px !important; margin:0 !important; }
  html.studio body #toolView .rv-acts #runSimBtn .mc-cta-subtitle { display:none !important; } /* "Monte Carlo Analysis" */
  @media (max-width:700px){ html.studio body #toolView .rv-acts, html.studio body #toolView .rv-acts #runSimBtn { width:100% !important; } }
}

/* Savings (2026-10-14 review): labels in sentence case at 13 px+, "(optional)" readable, the status line in ink, not link-blue. */
@layer studio {
  html.studio body #toolView .mm-facts span { text-transform:none !important; letter-spacing:0 !important; font-size:13.5px !important; font-weight:600 !important; }
  html.studio body #toolView .aw-list-h { text-transform:none !important; letter-spacing:0 !important; font-size:13.5px !important; }
  html.studio body #toolView .aw-lbl { font-size:14px !important; }
  html.studio body #toolView .aw-opt { font-size:13px !important; color:var(--s-muted, var(--c-slate-55)) !important; }
  html.studio body #toolView #portfolioSaveStatus, html.studio body #toolView #portfolioSaveStatus span { color:var(--s-muted, var(--c-slate-55)) !important; }
  html.studio body #toolView .acct-kind, html.studio body #toolView .acct-add-btn, html.studio body #toolView .aw-hit { border-radius:12px !important; font-weight:inherit !important; }
  html.studio body #toolView .aw-hit { border-radius:0 !important; }
  html.studio body #toolView .acct-add-btn { font-weight:600 !important; }
}

/* Plan options as one list, one pattern (2026-10-14, js/22): a row per option — icon, name with ?, the full summary,
   Change, the switch; inside, the fields then "In your plan: …". Options that are off: a line each with Add.
   In @layer studio with #toolView: Studio's own tile rules (compass-studio.css) are !important too. */
@layer studio {
  html.studio body #toolView #planOptionsList .po-sec-rows { display:flex !important; flex-direction:column !important; gap:8px !important; }
  html.studio body #toolView #planOptionsList .po-row { grid-column:auto !important; border-radius:14px !important; box-shadow:none !important; overflow:visible !important; }
  html.studio body #toolView #planOptionsList .po-head { display:grid !important; grid-template-columns:auto auto minmax(0, 1fr) auto auto !important; grid-template-rows:auto auto !important; align-items:center !important; gap:2px 8px !important; padding:12px 14px !important; min-height:0 !important; }
  html.studio body #toolView #planOptionsList .po-main { grid-column:1 !important; grid-row:1 !important; flex-direction:row !important; align-items:center !important; gap:12px !important; min-height:40px; min-width:0; }
  html.studio body #toolView #planOptionsList .po-icon { flex:0 0 36px !important; width:36px !important; height:36px !important; }
  html.studio body #toolView #planOptionsList .po-text strong { font-size:16px !important; line-height:1.3 !important; }
  html.studio body #toolView #planOptionsList .po-sum { grid-column:1 / 4 !important; grid-row:2 !important; padding-left:48px !important; cursor:pointer; display:block !important; -webkit-line-clamp:unset !important; padding-right:0 !important; margin:0 !important; font-size:14.5px !important; line-height:1.45 !important; font-weight:400 !important; color:var(--s-ink2) !important; overflow:visible !important; white-space:normal !important; }
  html.studio body #toolView #planOptionsList .po-sum:empty { display:none !important; }
  html.studio body #toolView #planOptionsList .po-qm { grid-column:2 !important; grid-row:1 !important; align-self:center !important; justify-self:start !important; }
  html.studio body #toolView #planOptionsList .po-chev { grid-column:4 !important; grid-row:1 / 3 !important; margin-left:4px !important; align-self:center !important; justify-self:auto !important; width:auto !important; min-width:0 !important; height:auto !important; min-height:40px !important; padding:0 12px !important;
    font:inherit !important; font-size:15px !important; font-weight:600 !important; color:var(--s-link) !important; background:var(--s-card) !important; border:1px solid var(--s-line2) !important; border-radius:10px !important; white-space:nowrap !important; cursor:pointer; }
  html.studio body #toolView #planOptionsList .po-chev::before, html.studio body #toolView #planOptionsList .po-chev::after { content:none !important; display:none !important; }
  html.studio body #toolView #planOptionsList .po-chev[hidden] { display:none !important; }
  html.studio body #toolView #planOptionsList .po-chev:hover { border-color:var(--s-link) !important; }
  html.studio body #toolView #planOptionsList .po-switch { grid-column:5 !important; grid-row:1 / 3 !important; min-height:44px !important; display:inline-flex !important; align-items:center !important; }
  html.studio body #toolView #planOptionsList .po-switch-track { width:48px !important; height:28px !important; }
  html.studio body #toolView #planOptionsList .po-switch-knob { width:22px !important; height:22px !important; }
  html.studio body #toolView #planOptionsList .po-switch[aria-checked="true"] .po-switch-knob { left:23px !important; }
  html.studio body #toolView #planOptionsList .po-row.is-open { border:1px solid var(--s-blue) !important; box-shadow:none !important; }
  html.studio body #toolView #planOptionsList .po-row.is-open > .po-head { background:none !important; }
  html.studio body #toolView #planOptionsList .po-row > .po-body { padding:2px 14px 14px 62px !important; border-top:0 !important; }
  html.studio body #toolView #planOptionsList .po-folded { display:none !important; }
  html.studio body #toolView #planOptionsList .po-res { margin:12px 0 0 !important; padding:10px 12px !important; border-radius:10px !important; background:var(--s-band) !important; font-size:14.5px !important; line-height:1.5 !important; color:var(--s-ink2) !important; }
  html.studio body #toolView #planOptionsList .po-res:empty { display:none !important; }
  /* the moved panels: their fields, not a card in the card (Property & debts keeps its own balance-sheet design) */
  html.studio body #toolView #planOptionsList .po-row:not(#poRow_NetWorth) .po-body .section-title { display:none !important; }
  html.studio body #toolView #planOptionsList .po-row:not(#poRow_NetWorth) .po-body .panel { margin:8px 0 0 !important; padding:0 !important; border:0 !important; background:none !important; box-shadow:none !important; border-radius:0 !important; }
  html.studio body #toolView #planOptionsList .po-flat { margin:8px 0 0 !important; padding:0 !important; border:0 !important; background:none !important; box-shadow:none !important; border-radius:0 !important; }
  html.studio body #toolView #planOptionsList .po-lump2 { position:relative !important; margin-top:12px !important; padding:12px 52px 0 0 !important; border-top:1px solid var(--s-line) !important; }
  html.studio body #toolView #planOptionsList .po-lump2[hidden] { display:none !important; }
  html.studio body #toolView #planOptionsList .po-rm { position:absolute; top:12px; right:0; width:44px; height:44px; border:1px solid var(--s-line2); border-radius:10px; background:var(--s-card); color:var(--s-ink2); font:inherit; font-size:20px; line-height:1; cursor:pointer; }
  html.studio body #toolView #planOptionsList .po-add1 { display:inline-flex; align-items:center; min-height:44px; margin-top:10px; padding:0 14px; border:1px dashed var(--s-line2); border-radius:10px; background:var(--s-card); font:inherit; font-weight:600; color:var(--s-link); cursor:pointer; }
  html.studio body #toolView #planOptionsList .po-add1[hidden] { display:none !important; }
  html.studio body #toolView #planOptionsList .po-rm:focus-visible, html.studio body #toolView #planOptionsList .po-add1:focus-visible, html.studio body #toolView #planOptionsList .po-chip:focus-visible { outline:2px solid var(--s-blue); outline-offset:2px; }
  html.studio body #toolView #planOptionsList #advSpouseWrap select { min-width:16em; }
  /* group names in sentence case */
  html.studio body #toolView #planOptionsList .po-group-name { font-size:14px !important; font-weight:600 !important; letter-spacing:0 !important; text-transform:none !important; color:var(--s-muted) !important; }
  html.studio body #toolView #planOptionsList .po-count { font-weight:600; }
  /* not in your plan: a line each — icon, name and what it does, Add */
  html.studio body #toolView #planOptionsList .po-chips { display:flex !important; flex-direction:column !important; gap:8px !important; }
  html.studio body #toolView #planOptionsList .po-chip:not([hidden]):not([style*="display:none"]):not([style*="display: none"]) { display:grid !important; grid-template-columns:36px minmax(0, 1fr) auto !important; align-items:center !important; gap:4px 12px !important; width:100%; min-height:60px !important; padding:12px 14px !important; border-radius:14px !important; font-weight:400 !important; }
  html.studio body #toolView #planOptionsList .po-chip::before, html.studio body #toolView #planOptionsList .po-chip::after { content:none !important; display:none !important; }
  html.studio body #toolView #planOptionsList .po-chip > .po-icon { position:static !important; order:0 !important; margin:0 !important; width:36px !important; height:36px !important; border:0 !important; border-radius:10px !important; display:grid !important; place-items:center !important; background:var(--s-track) !important; color:var(--s-ink2) !important; font-size:inherit !important; }
  html.studio body #toolView #planOptionsList .po-chip > .po-icon::after { content:none !important; }
  html.studio body #toolView #planOptionsList .po-chip > .po-icon svg { width:20px; height:20px; }
  html.studio body #toolView #planOptionsList .po-chip-t { display:flex; flex-direction:column; gap:2px; min-width:0; color:var(--s-ink) !important; font-weight:400 !important; }
  html.studio body #toolView #planOptionsList .po-chip-t b { font-size:16px; font-weight:700; color:var(--s-ink) !important; }
  html.studio body #toolView #planOptionsList .po-chip-t small { font-size:14.5px; line-height:1.45; color:var(--s-ink2) !important; }
  html.studio body #toolView #planOptionsList .po-chip-add { display:inline-flex; align-items:center; min-height:40px; padding:0 14px; border:1px solid var(--s-line2); border-radius:10px; background:var(--s-card); font-size:15px; font-weight:600; color:var(--s-ink) !important; }
  html.studio body #toolView #planOptionsList .po-chip:hover .po-chip-add { border-color:var(--s-link); color:var(--s-link) !important; }
}
@media (max-width:700px){ @layer studio {
  html.studio body #toolView #planOptionsList .po-head { grid-template-columns:auto auto minmax(0, 1fr) auto !important; padding:10px 12px !important; }
  html.studio body #toolView #planOptionsList .po-switch { grid-column:4 !important; grid-row:1 !important; }
  html.studio body #toolView #planOptionsList .po-sum { grid-column:1 / -1 !important; }
  html.studio body #toolView #planOptionsList .po-chev { grid-column:1 / -1 !important; grid-row:3 !important; justify-self:end !important; margin:6px 0 0 !important; min-height:44px !important; }
  html.studio body #toolView #planOptionsList .po-icon { display:grid !important; }
  html.studio body #toolView #planOptionsList .po-row > .po-body { padding:2px 12px 14px !important; }
  html.studio body #toolView #planOptionsList .po-chip:not([hidden]):not([style*="display:none"]):not([style*="display: none"]) { grid-template-columns:36px minmax(0, 1fr) !important; }
  html.studio body #toolView #planOptionsList .po-chip-add { grid-column:2; justify-self:start; min-height:44px; }
  html.studio body #toolView #planOptionsList #advSpouseWrap select { min-width:0; width:100%; }
} }

/* Rental income: each property's rent, then Other rental income (2026-10-14, js/61 rentList) */
@layer studio {
  html.studio #toolView .rent-props { display:flex; flex-direction:column; gap:8px; margin:12px 0 4px; }
  html.studio #toolView .rent-prop { display:flex; align-items:center; gap:12px; padding:10px 12px; border:1px solid var(--s-line); border-radius:12px; background:var(--s-card); }
  html.studio #toolView .rent-prop > span { flex:1 1 auto; min-width:0; }
  html.studio #toolView .rent-prop b { display:block; font-size:15px; color:var(--s-ink); }
  html.studio #toolView .rent-prop small { display:block; font-size:13.5px; line-height:1.45; color:var(--s-ink2); }
  html.studio #toolView .rent-go { flex:none; min-height:40px; padding:0 12px; border:1px solid var(--s-line2); border-radius:10px; background:var(--s-card); font:inherit; font-size:15px; font-weight:600; color:var(--s-link); cursor:pointer; }
  html.studio #toolView .rent-add { align-self:flex-start; display:inline-flex; align-items:center; min-height:44px; padding:0 14px; border:1px dashed var(--s-line2); border-radius:10px; background:var(--s-card); font:inherit; font-weight:600; color:var(--s-link); cursor:pointer; }
  html.studio #toolView .rent-go:focus-visible, html.studio #toolView .rent-add:focus-visible { outline:2px solid var(--s-blue); outline-offset:2px; }
  html.studio #toolView .rent-other-h { margin-top:16px; }
}
@media (max-width:520px){ @layer studio { html.studio #toolView .rent-prop { flex-wrap:wrap; } html.studio #toolView .rent-go { min-height:44px; } } }

/* One-time money as a list (2026-10-14, js/62): each item its type, when (whose age), amount, account and tax */
@layer studio {
  html.studio body #toolView .lump-item { padding:12px 0 4px; }
  html.studio body #toolView .lump-item + .lump-item { border-top:1px solid var(--s-line); }
  html.studio body #toolView .lump-h { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 6px; font-size:15px; color:var(--s-ink); }
  html.studio body #toolView .lump-item .glide-lab { display:block; margin:0 0 6px; font-size:12.5px; font-weight:600; line-height:1.3; color:var(--s-ink2); }
  html.studio body #toolView .lump-item .glide-lab em { font-style:normal; font-weight:400; color:var(--s-muted); }
  html.studio body #toolView .lump-grid { grid-template-columns:repeat(3, minmax(0, 1fr)) !important; margin:0 !important; }
  html.studio body #toolView .lump-item .glide-when-row .lump-who { flex:1 1 auto; min-width:0; }
  html.studio body #toolView .lump-item .glide-when-row .lump-age { flex:0 0 72px; width:72px; }
  html.studio body #toolView .lump-item .glide-when-row:not(:has(select)) .lump-age { flex:1 1 auto; width:auto; }
  html.studio body #toolView .lump-list .glide-add { margin-top:10px; }
}
@media (max-width:900px){ @layer studio { html.studio body #toolView .lump-grid { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; } } }
@media (max-width:600px){ @layer studio { html.studio body #toolView .lump-grid { grid-template-columns:minmax(0, 1fr) !important; } } }

/* Other income as a list per person (2026-10-14, js/64) */
@layer studio {
  html.studio body #toolView .oi-item { padding:10px 0 4px; }
  html.studio body #toolView .oi-item + .oi-item { border-top:1px solid var(--s-line); }
  html.studio body #toolView .oi-item .lump-h { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 6px; font-size:15px; color:var(--s-ink); }
  html.studio body #toolView .oi-item .glide-lab { display:block; margin:0 0 6px; font-size:12.5px; font-weight:600; line-height:1.3; color:var(--s-ink2); }
  html.studio body #toolView .oi-grid { grid-template-columns:repeat(4, minmax(0, 1fr)) !important; margin:0 !important; }
  html.studio body #toolView .oi-item .glide-when-row select { flex:1 1 auto; min-width:0; }
  html.studio body #toolView .oi-item .glide-when-row .glide-age { flex:0 0 76px; width:76px; }
  html.studio body #toolView .oi-item .glide-when-row > .unit-box { flex:0 0 92px !important; width:92px !important; min-width:0 !important; }
  html.studio body #toolView .oi-item .glide-when-row > .unit-box .glide-age { width:100% !important; flex:1 1 auto; }
  html.studio body #toolView .oi-item .glide-when-row > select { flex:1 1 auto; min-width:96px; }
  html.studio body #toolView .oi-list .glide-add { margin-top:10px; }
}
@media (max-width:1100px){ @layer studio { html.studio body #toolView .oi-grid { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; } } }
@media (max-width:600px){ @layer studio { html.studio body #toolView .oi-grid { grid-template-columns:minmax(0, 1fr) !important; } } }
/* Pensions as a list (2026-10-14, js/65): the oi-item layout; Compare spans the row */
@layer studio {
  html.studio body #toolView .pen-item .pl-cmp { grid-column:1 / -1; }
  html.studio body #toolView .pen-list .glide-add { margin-top:10px; }
}
@layer studio { html.studio body #toolView .oi-item .glide-lab em { font-style:normal; font-weight:400; color:var(--s-muted); } }

/* Roth page → more conversion windows (2026-10-14, js/70): the same list pattern as the plan's lists */
@layer studio {
  html.studio body :is(#rothView, #rothPopBody) .rc-more { margin-top:16px; padding-top:14px; border-top:1px solid var(--s-line); }
  html.studio body :is(#rothView, #rothPopBody) .rc-more-h { margin:0 0 4px; font-size:15px; font-weight:700; color:var(--s-ink); }
  html.studio body :is(#rothView, #rothPopBody) .rc-more .oi-item { padding:10px 0 4px; }
  html.studio body :is(#rothView, #rothPopBody) .rc-more .oi-item + .oi-item { border-top:1px solid var(--s-line); }
  html.studio body :is(#rothView, #rothPopBody) .rc-more .lump-h { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 6px; font-size:15px; color:var(--s-ink); }
  html.studio body :is(#rothView, #rothPopBody) .rc-more .glide-lab { display:block; margin:0 0 6px; font-size:12.5px; font-weight:600; line-height:1.3; color:var(--s-ink2); }
  html.studio body :is(#rothView, #rothPopBody) .rc-more .oi-grid { grid-template-columns:repeat(3, minmax(0, 1fr)) !important; margin:0 !important; }
  html.studio body :is(#rothView, #rothPopBody) .rc-more .glide-rm { width:44px; height:44px; border:1px solid var(--s-line2); border-radius:10px; background:var(--s-card); color:var(--s-ink2); font:inherit; font-size:20px; line-height:1; cursor:pointer; }
  html.studio body :is(#rothView, #rothPopBody) .rc-more .glide-add { display:inline-flex; align-items:center; min-height:44px; margin-top:12px; padding:0 14px; border:1px dashed var(--s-line2); border-radius:10px; background:var(--s-card); font:inherit; font-weight:600; color:var(--s-link); cursor:pointer; }
  html.studio body :is(#rothView, #rothPopBody) .rc-more .glide-note { margin:8px 0 0; font-size:13px; line-height:1.5; color:var(--s-muted); }
  html.studio body :is(#rothView, #rothPopBody) .rc-more .glide-add:focus-visible, html.studio body :is(#rothView, #rothPopBody) .rc-more .glide-rm:focus-visible { outline:2px solid var(--s-blue); outline-offset:2px; }
}
@media (max-width:700px){ @layer studio { html.studio body :is(#rothView, #rothPopBody) .rc-more .oi-grid { grid-template-columns:minmax(0, 1fr) !important; } } }

/* An account's savings (2026-10-14, accounts.js contribHtml): dollars or % of pay, its ages, its own match */
@layer studio {
  html.studio body #toolView .aw-seg-sm { margin:0 0 8px; }
  html.studio body #toolView .aw-seg-sm button { height:40px; font-size:13.5px; }
  html.studio body #toolView .aw-2col { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:0 12px; margin-top:8px; }
  html.studio body #toolView .aw-2col .aw-money { margin-bottom:0; }
}
@media (max-width:420px){ @layer studio { html.studio body #toolView .aw-2col { grid-template-columns:minmax(0, 1fr); } } }
/* Adding each year in one fieldset (2026-10-26, compass-accounts.css .aw-aey): the frame in Studio's line color; Yes / No as two small radio cards */
@layer studio {
  html.studio body #toolView .aw-aey { border-color:var(--s-line2); }
  html.studio body #toolView .aw-aey .aw-infl-q { color:var(--s-ink2); }
  html.studio body #toolView .aw-seg.aw-yn { display:inline-flex !important; flex-wrap:nowrap !important; gap:6px !important; }
  html.studio body #toolView .aw-seg.aw-yn > button { flex:0 0 auto !important; min-width:0 !important; padding:8px 16px 8px 38px !important; }
}

/* How you'll pay: a different order from an age (2026-10-14, js/13 renderPayOrderAges) */
@layer studio {
  html.studio body #toolView .pay-ages { margin-top:12px; }
  html.studio body #toolView .pay-age { margin-top:12px; padding-top:12px; border-top:1px solid var(--s-line); }
  html.studio body #toolView .pay-age-h { display:flex; align-items:center; gap:10px; margin:0 0 8px; font-size:14px; font-weight:600; color:var(--s-ink2); }
  html.studio body #toolView .pay-age-h .pay-age-in { width:84px; min-height:44px; padding:0 10px; border:1px solid var(--s-line2); border-radius:10px; font:inherit; font-size:15px; }
  html.studio body #toolView .pay-age-h .glide-rm { margin-left:auto; }
  html.studio body #toolView .pay-order-sm li { min-height:44px; }
}


/* Already getting Social Security (2026-10-14, js/55): this month's check and the age it started, side by side */
@layer studio {
  html.studio body #toolView .ssc-now { display:grid !important; grid-template-columns:repeat(auto-fit, minmax(150px, 220px)) !important; gap:12px !important; margin:10px 0 0 !important; }
  html.studio body #toolView .ssc-now .field { margin:0 !important; }
  html.studio body #toolView .ssc-now .glide-lab { display:block; margin:0 0 6px; font-size:12.5px; font-weight:600; line-height:1.3; color:var(--s-ink2); }
  html.studio body #toolView .rd-retired { margin:4px 0 10px !important; }
}

/* Spending (2026-10-14 journey map): "How you'll draw it" folds to one line on wider screens (js/55); the order before any
   account; the subsidy line on Review & run (js/51b) */
@layer studio {
  @media (min-width:701px){
    html.studio body #toolView .rd-group.rd-draw > .rd-fold { display:flex !important; align-items:center; justify-content:space-between; gap:12px; margin:0 0 4px; }
    html.studio body #toolView .rd-group.rd-draw.rd-collapsed > :not(.rd-group-h):not(.rd-fold) { display:none !important; }
  }
  html.studio body #toolView #payOrderList .pay-none { display:block !important; padding:10px 2px !important; font-size:13.5px; color:var(--s-muted); }
  html.studio body #toolView .rv-aca-why { margin:0 0 12px !important; padding:10px 14px !important; border-radius:12px !important; background:var(--c-sand-95b) !important; color:var(--c-amber-35) !important; font-size:13.5px; line-height:1.5; }
  html.studio body #toolView .rv-aca-why[hidden] { display:none !important; }
  html.studio body #toolView .rv-aca-why a { color:inherit !important; font-weight:700 !important; text-decoration:underline !important; }
}

/* Review & run (2026-10-14 journey map): one line per thing to fix with its own Go to; Run says how many are left; the
   glance panel only on Review; the bar above the steps hidden on a computer (the top bar names the plan, js/19) */
@layer studio {
  html.studio body #toolView .sim-warn-list { list-style:none !important; margin:8px 0 0 !important; padding:0 !important; display:grid !important; gap:8px !important; }
  html.studio body #toolView .sim-warn-list li { display:flex !important; align-items:center !important; justify-content:space-between !important; gap:12px !important; flex-wrap:wrap !important; }
  html.studio body #toolView .sim-warn-list li > span { flex:1 1 260px !important; min-width:0 !important; }
  html.studio body #toolView .sim-warn-list .sim-warn-btn { flex:none !important; margin:0 !important; }
  html.studio body #toolView .sim-warn-notes { margin:10px 0 0 !important; font-size:13px; color:var(--s-muted); }
  html.studio body #toolView #runSimBtn.rv-blocked { opacity:.55 !important; }
  html.studio:not(.rv-step) body #toolView .compass-plan-glance { display:none !important; }
  html.studio body .plan-bar.plan-bar-desk-off { display:none !important; }
  html.studio body .compass-workspace-header #planBarTour { margin-right:8px; }
}
@layer studio {
  @media (min-width:1651px){ html.studio:not(.rv-step) body #toolView:not([style*="display: none"]) { grid-template-columns:minmax(0,1fr) !important; } } /* no empty right column without the glance panel */
}

/* Person cards (2026-10-14 journey map): the match as one sentence; one short line under a switch */
@layer studio {
  html.studio body #toolView .rd-match { margin:10px 0 0 !important; }
  html.studio body #toolView .rd-short { margin:6px 0 10px !important; }
}
/* Plan Details as wide as the Plan Summary (2026-10-15; user: "the sections that have inputs look very long on desktop. the
   buttons are all the way to the right … formatted like the plan summary in size. the rest pages can take the whole screen"):
   the steps and their cards in one 960px column on the left on a computer; results pages keep the full width. */
@layer studio {
  @media (min-width:1001px){
    html.studio body #toolView .compass-main-flow { width:100% !important; max-width:var(--rn-report-width, 960px) !important; margin-inline:0 auto !important; } /* on the left, as the Plan Summary sits */
    html.studio body #toolView:not([style*="display: none"]) { grid-template-columns:minmax(0,1fr) !important; }
  }
}
@layer studio { html.studio body #toolView #pmVerdict { margin:6px 0 0 !important; } html.studio body #toolView #pmVerdict[hidden] { display:none !important; } }
@layer studio { html.studio body #toolView #pmVerdict .pm-verdict-note { display:block !important; margin-top:4px !important; font-size:13px !important; line-height:1.45 !important; color:var(--c-slate-45) !important; } }
/* How you'll draw it, folded: the withdrawal strategy by name on its own line (2026-10-15) */
@layer studio { html.studio body #toolView .rd-fold-draw .rd-fold-sum .rd-fold-wd { display:block; margin:0 0 2px; font-size:15px; font-weight:700; color:var(--s-ink, var(--c-slate-25)); }
  html.studio body #toolView .rd-fold-draw .rd-fold-sum > span { display:block; } }

/* Choices as radio cards (2026-10-15; user: "all of these type of highlighted buttons do not look professional", pointing at a
   settings-style radio list): a thin border, a ring on the left, and the chosen one a filled dot on a soft gray — no blue
   fill, no check. Plan Details' two- and three-way answers, whose account, the health-plan cards, the property questions
   and the Social Security ages (a ring above the age there). */
@layer studio {
  html.studio body #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button, html.studio body #toolView .pp-way, html.studio body .prop-card .prop-seg button {
    position:relative !important; display:flex !important; align-items:center !important; justify-content:flex-start !important; text-align:left !important;
    padding:10px 14px 10px 40px !important; border:1px solid var(--s-line2) !important; border-radius:10px !important;
    background:var(--s-card) !important; color:var(--s-ink) !important; font-weight:500 !important; box-shadow:none !important; }
  html.studio body #toolView .pp-way { display:block !important; padding:12px 14px 12px 40px !important; }
  html.studio body .prop-card .prop-q-open .prop-seg button { display:flex !important; flex-direction:column !important; align-items:flex-start !important; padding:10px 18px 10px 44px !important; }
  html.studio body #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button::before, html.studio body #toolView .pp-way::before, html.studio body .prop-card .prop-seg button::before {
    content:'' !important; position:absolute; left:14px; top:50%; width:16px; height:16px; margin-top:-8px; box-sizing:border-box;
    border:1.5px solid var(--s-faint); border-radius:50%; background:var(--s-card); }
  html.studio body #toolView .pp-way::before { top:14px; margin-top:0; }
  html.studio body .prop-card .prop-q-open .prop-seg button::before { left:18px; }
  html.studio body #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button:hover, html.studio body #toolView .pp-way:hover, html.studio body .prop-card .prop-seg button:hover { border-color:var(--s-faint) !important; }
  html.studio body #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button:is(.is-on, .on, .active, [aria-pressed="true"], [aria-checked="true"]), html.studio body #toolView .pp-way.on, html.studio body .prop-card .prop-seg button.on {
    border-color:var(--s-faint) !important; background:var(--s-band) !important; color:var(--s-ink) !important; box-shadow:none !important; }
  html.studio body #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button:is(.is-on, .on, .active, [aria-pressed="true"], [aria-checked="true"])::before, html.studio body #toolView .pp-way.on::before, html.studio body .prop-card .prop-seg button.on::before {
    border-color:var(--s-blue); background:var(--s-blue); box-shadow:inset 0 0 0 3px var(--s-card); }
  html.studio body #toolView .pp-way.on span { color:var(--s-ink2) !important; }
  html.studio body #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button:has(> small) { flex-direction:column !important; align-items:flex-start !important; justify-content:center !important; gap:1px; }
  html.studio body #toolView :is(.pm-seg, .aw-seg, .acct-seg, .pp-seg) > button > small { display:block; font-size:12.5px; font-weight:400; color:var(--s-muted, var(--s-ink2)); }
  /* the Social Security ages: the same ring, above the age */
  html.studio body #toolView .ssc-ages button::before { content:''; width:12px; height:12px; margin:0 0 3px; box-sizing:border-box; border:1.5px solid var(--s-faint); border-radius:50%; background:var(--s-card); }
  html.studio body #toolView .ssc-ages button:hover { border-color:var(--s-faint) !important; }
  html.studio body #toolView .ssc-ages button.on { border-color:var(--s-faint) !important; background:var(--s-band) !important; box-shadow:none !important; }
  html.studio body #toolView .ssc-ages button.on::before { border-color:var(--s-blue); background:var(--s-blue); box-shadow:inset 0 0 0 2.5px var(--s-card); }
  html.studio body #toolView .ssc-ages button.on i { color:var(--s-ink2) !important; }
}

/* Roth page: the first window as the same card as the others (2026-10-15, js/70); its old rows stay hidden */
@layer studio {
  html.studio body :is(#rothView, #rothPopBody) #rothSection.rc-has-first > .field.rc-line:has(#rothConversionStrategyLabel), html.studio body :is(#rothView, #rothPopBody) #rothSection.rc-has-first > #rothYouHead,
  html.studio body :is(#rothView, #rothPopBody) #rothSection.rc-has-first > .inputs-grid.rc-grid, html.studio body :is(#rothView, #rothPopBody) #rothSection.rc-has-first > #rothSpouseBlock,
  html.studio body :is(#rothView, #rothPopBody) #rothSection.rc-has-first > #rothConvTaxSourceField { display:none !important; }
  html.studio body :is(#rothView, #rothPopBody) .rc-more.rc-first { margin-top:0; padding-top:0; border-top:0; }
  html.studio body :is(#rothView, #rothPopBody) .rc-first [hidden] { display:none !important; }
  html.studio body :is(#rothView, #rothPopBody) .rc-first .oi-grid > .field { margin:0 !important; padding:0 !important; justify-content:flex-start !important; }
  html.studio body :is(#rothView, #rothPopBody) .rc-first .oi-grid > .field > label { display:block !important; height:auto !important; min-height:0 !important; margin:0 0 6px !important; padding:0 !important; font-size:12.5px !important; font-weight:600 !important; line-height:1.3 !important; letter-spacing:0 !important; text-transform:none !important; color:var(--s-ink2) !important; }
  html.studio body :is(#rothView, #rothPopBody) .rc-first.rf-two .oi-grid > :nth-child(10) { order:3; } /* Both: whose · how much · tax, then each person's row */
  html.studio body :is(#rothView, #rothPopBody) .rc-first.rf-two .oi-grid > :nth-child(n+3):nth-child(-n+9) { order:4; }
}

/* TIPS ladder 1 as the same card as the others (2026-10-15, js/71): its hints show, a line between ladders */
@layer studio {
  html.studio body #toolView .tips-first .ofl > label .fld-opt, html.studio body #toolView .tips-first label .fld-opt { display:inline !important; margin-left:0 !important; padding:0 !important; border:0 !important; background:none !important; font-size:inherit !important; font-weight:400 !important; color:var(--s-muted) !important; vertical-align:baseline !important; }
  html.studio body #toolView #tipsMoreList > .oi-item:first-child { border-top:1px solid var(--s-line); }
}

/* Check your plan as grouped cards (2026-10-15; user picked B, _audits/2026-10-15-check-plan-options.html, js/19): a card per
   group with its icon and how many parts need you; each row a button that opens its part, with ✓ or ! and a chevron. */
@layer studio {
  html.studio body #toolView .rv-gs { columns:2; column-gap:14px; margin-top:16px; }
  html.studio body #toolView .rv-card { break-inside:avoid; margin:0 0 14px; border:1px solid var(--s-line2); border-radius:14px; overflow:hidden; background:var(--s-card); }
  html.studio body #toolView .rv-ch { display:flex; align-items:center; gap:12px; padding:12px 14px; background:var(--s-band); border-bottom:1px solid var(--s-band-line); } /* the card-header gray (2026-10-17) */
  html.studio body #toolView .rv-ch b { flex:1; min-width:0; font-size:15px; color:var(--s-ink); }
  html.studio body #toolView .rv-ch small { flex:none; font-size:13px; font-weight:600; }
  html.studio body #toolView .rv-ch small.ok { color:var(--s-green-ink) !important; } html.studio body #toolView .rv-ch small.no { color:var(--c-amber-35) !important; }
  html.studio body #toolView .rv-chip { display:grid; place-items:center; width:40px; height:40px; border-radius:12px; flex:none; }
  html.studio body #toolView .rv-c-you, html.studio body #toolView .rv-c-two { background:var(--s-blue-l); color:var(--s-blue-d); }
  html.studio body #toolView .rv-c-money { background:var(--s-green-l); color:var(--s-green-ink); }
  html.studio body #toolView .rv-c-extra { background:var(--s-violet-l); color:var(--s-violet); }
  html.studio body #toolView .rv-c-assume { background:var(--s-orange-l); color:var(--s-orange); }
  html.studio body #toolView .rv-card .rv-row { display:flex !important; align-items:center !important; gap:10px !important; width:100% !important; min-height:56px !important; height:auto !important; margin:0 !important; padding:11px 14px !important;
    border:0 !important; border-top:1px solid var(--s-line) !important; border-radius:0 !important; background:var(--s-card) !important; box-shadow:none !important; text-align:left !important; font:inherit !important; color:var(--s-ink) !important; cursor:pointer; }
  html.studio body #toolView .rv-card .rv-ch + .rv-row { border-top:0 !important; }
  html.studio body #toolView .rv-card .rv-row:hover { background:var(--s-band) !important; }
  html.studio body #toolView .rv-card .rv-row:focus-visible { outline:2px solid var(--s-blue) !important; outline-offset:-2px !important; }
  html.studio body #toolView .rv-row .rv-t { flex:1; min-width:0; display:block; }
  html.studio body #toolView .rv-row .rv-t > b { display:block; font-size:14.5px; font-weight:700; color:var(--s-ink); }
  html.studio body #toolView .rv-row .rv-t > span { display:block; margin-top:1px; font-size:13.5px; line-height:1.45; color:var(--s-ink2); }
  html.studio body #toolView .rv-row .rv-t .rv-miss { color:var(--s-amber-ink, var(--c-amber-35)) !important; font-weight:600; }
  html.studio body #toolView .rv-mark { display:grid; place-items:center; width:22px; height:22px; border-radius:50%; flex:none; font-size:12px; font-weight:800; background:var(--s-green-l); color:var(--s-green-ink); }
  html.studio body #toolView .rv-mark.no { background:var(--s-amber-l); color:var(--s-amber-ink, var(--c-amber-35)); }
  html.studio body #toolView .rv-mark.add { background:var(--s-blue-l); color:var(--s-blue-d); }
  html.studio body #toolView .rv-chev { flex:none; font-size:22px; line-height:1; color:var(--s-faint); }
}
@media (max-width:760px){ @layer studio { html.studio body #toolView .rv-gs { columns:1; } } }

/* Step 4 · Property & debts (2026-10-15, js/73): the Property & Debts panel and Rental income, each with its own question */
@layer studio {
  html.studio body #toolView #propStepBody > .pd-part { display:block !important; margin:0 0 18px; padding:18px 20px; border:1px solid var(--s-line); border-radius:var(--s-r, 16px); background:var(--s-card); box-shadow:var(--s-sh, none); } /* a white card, as it was in Plan options (2026-10-15) */
  html.studio body #toolView #propStepBody > .pd-part.pd-off { display:none !important; }
  html.studio body #toolView #propStepBody #section02oTitle { display:none !important; } /* the step's own title says it */
  html.studio body #toolView #propStepBody #section02nTitle { margin-top:0 !important; }
}
@layer studio { html.studio body #toolView .rv-c-prop { background:var(--s-violet-l); color:var(--s-violet); } html.studio body #toolView .rv-c-extra { background:var(--s-teal-l); color:var(--s-teal); } }
/* Check your plan (2026-10-23, the user: "make the icons like this"): the icon alone in its color, no tile behind it */
@layer studio { html.studio body #toolView .rv-chip.rv-chip { background:transparent; } }
/* The Health care step (2026-11-06, js/55a + js/73): each person's health card, then the costs, then Medicare from 65 */
@layer studio {
  html.studio body #toolView #healthPeople > .pp-card { margin:0 0 18px; }
  html.studio body #toolView #healthStepBody > .rd-group.rd-health { margin:0 0 18px; }
  html.studio body #toolView #medicarePanel.hc-medicare > details.th-more { display:none !important; } /* Use my own Medicare prices, in the costs card, opens the same boxes */
  html.studio body #toolView .rv-c-health { background:var(--s-red-l); color:var(--s-ic-health-b); }
  html.studio body #toolView .rd-spend #hcQ:empty { display:none; }
}
@layer studio {
  html.studio body #toolView #propStepBody .rn-section-toggle { display:none !important; } /* a step part, not a panel to collapse */
  html.studio body #toolView #propStepBody .pd-folded { display:none !important; }
}
/* Your dates / their dates (2026-10-15, user: "make fields aligned"): every box has its caption line, empty or not, so the
   name, birth year, retire-at and plan-until boxes start at the same height */
@layer studio {
  html.studio body #toolView :is([data-slot="you-dates"], [data-slot="sp-dates"]) .rd-cap:empty { display:block !important; visibility:hidden; }
  html.studio body #toolView :is([data-slot="you-dates"], [data-slot="sp-dates"]) .rd-cap:empty::before { content:'\00a0'; }
  html.studio body #toolView :is([data-slot="you-dates"], [data-slot="sp-dates"]) { align-items:start !important; }
}
/* Itemized with only Property & debts' costs so far (2026-10-17, js/14) */
.spend-planner-only { margin:8px 0 12px; padding:10px 12px; border-radius:10px; background:var(--s-amber-l, var(--c-amber-80)); font-size:14px; line-height:1.5; color:var(--s-ink2, var(--c-slate-35)); }
.spend-planner-only[hidden] { display:none; }
/* Health care & state tax: the plan's State is set in You (2026-10-18, js/53); here, which one it is, with Change */
#toolView .th-state-line { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; grid-column:1 / -1; }
#toolView .th-state-line .th-state-k { width:100%; font-size:13.5px; font-weight:600; color:var(--s-ink2, var(--c-slate-35)); }
#toolView .th-state-line .th-state-v { font-size:15px; color:var(--s-ink2, var(--c-slate-35)); }
#toolView .th-state-line .th-state-go { padding:0; border:0; background:none; font:inherit; font-size:14.5px; font-weight:600; color:var(--s-link, var(--c-teal-45)); cursor:pointer; }
@layer studio { html body #toolView .th-state-line .th-state-go { background:none !important; color:var(--s-link, var(--c-teal-45)) !important; box-shadow:none !important; min-height:0 !important; padding:0 !important; } }
#toolView #hhStateField select { width:100%; max-width:none; }
/* The results pages' "out of date" note (2026-10-18, js/25 CompassLive.paint): what is really happening, with the way forward */
.lv-stale-slot:not([hidden]), #mainSimStaleBanner.lv-banner #mainSimStaleBannerText { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; }
.lv-stale-slot:not([hidden]) { margin:0 0 16px; padding:12px 16px; border:1px solid var(--s-amber, var(--c-amber-50)); border-radius:12px; background:var(--s-amber-l, var(--c-amber-80)); }
.lv-stale-slot p, #mainSimStaleBanner.lv-banner p { margin:0; font-size:14.5px; line-height:1.5; font-weight:400; color:var(--s-ink2, var(--c-slate-35)); }
.lv-stale-slot p b, #mainSimStaleBanner.lv-banner p b { color:var(--s-ink, var(--c-slate-15)); }
.lv-btn { flex:none; min-height:38px; padding:7px 14px; border:1px solid var(--s-line2, var(--c-gray-90)); border-radius:10px; background:var(--s-card, var(--c-gray-99)); font:inherit; font-size:14px; font-weight:600; color:var(--s-link, var(--c-teal-45)); cursor:pointer; }
.lv-busy i { display:inline-block; width:12px; height:12px; margin-right:8px; border:2px solid var(--s-line2, var(--c-gray-90)); border-top-color:var(--s-blue, var(--c-teal-50)); border-radius:50%; vertical-align:-1px; animation:lvSpin .8s linear infinite; }
@keyframes lvSpin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce){ .lv-busy i { animation:none; } }
@layer studio {
  html body #mainSimStaleBanner.lv-banner { background:var(--s-amber-l, var(--c-amber-80)) !important; border-color:var(--s-amber, var(--c-amber-50)) !important; border-radius:12px !important; color:var(--s-ink2, var(--c-slate-35)) !important; font-weight:400 !important; }
  html body .lv-btn { background:var(--s-card, var(--c-gray-99)) !important; color:var(--s-link, var(--c-teal-45)) !important; box-shadow:none !important; }
}
.lv-stale-slot p, #mainSimStaleBanner.lv-banner p { flex:1 1 320px; }
/* While the plan updates: the results under the note fade until the new numbers land (2026-11-09, B7). Optimize (data-what="") locks itself. */
.lv-stale-slot ~ * { transition:opacity .2s ease; }
.lv-stale-slot.lv-dim:not([data-what=""]) ~ * { opacity:.5; }
@media (prefers-reduced-motion: reduce){ .lv-stale-slot ~ * { transition:none; } }

/* Each person's health card, to the mockup (2026-10-19, _audits/2026-10-19-no-insurance-mockup.html; the user: "your mockups
   always look better than the real implementation"): the questions 16.5px, each answer a card with its ring at the top
   left, the title 15.5px and the line under it 14px dark gray, all top-aligned; the chosen one a blue border on a light
   blue. "No insurance" opens how its care is counted. More specific than the radio cards above (.pp-health). */
@layer studio {
  html.studio body #toolView .pp-health .pp-tlbar { height:30px; margin:0 0 16px; border-radius:9px; font-size:13.5px; font-weight:600; }
  html.studio body #toolView .pp-health .pp-tlbar span { display:flex; align-items:center; padding:0 10px; }
  html.studio body #toolView .pp-tlbar .t-n, html.studio body #toolView .pp-tlkey .t-n { background:repeating-linear-gradient(135deg, var(--s-faint) 0 8px, var(--s-muted) 8px 16px); }
  html.studio body #toolView .pp-health .pp-ask { margin:14px 0 12px; font-size:16.5px; font-weight:700; line-height:1.35; color:var(--s-ink); }
  html.studio body #toolView .pp-health .pp-ask small { margin-top:3px; font-size:14.5px; font-weight:500; color:var(--s-muted); }
  html.studio body #toolView .pp-health .pp-ways { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; }
  html.studio body #toolView .pp-health .pp-pre .pp-ways { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  html.studio body #toolView .pp-health .pp-way { display:grid !important; grid-template-columns:20px minmax(0, 1fr); column-gap:12px; align-content:start !important; align-items:start !important; justify-content:stretch !important;
    padding:14px 16px !important; border:1px solid var(--s-line2) !important; border-radius:14px !important; background:var(--s-card) !important; }
  html.studio body #toolView .pp-health .pp-way::before { position:static; grid-row:1 / span 2; width:20px; height:20px; margin:2px 0 0; border:2px solid var(--s-faint); }
  html.studio body #toolView .pp-health .pp-way b { grid-column:2; font-size:15.5px; font-weight:700; line-height:1.4; color:var(--s-ink); }
  html.studio body #toolView .pp-health .pp-way span { grid-column:2; margin-top:2px; font-size:14px; line-height:1.45; color:var(--s-ink2) !important; }
  html.studio body #toolView .pp-health .pp-way.on { border-color:var(--s-blue) !important; background:var(--s-blue-l) !important; }
  html.studio body #toolView .pp-health .pp-way.on::before { border:6px solid var(--s-blue); background:var(--s-card); box-shadow:none; }
  html.studio body #toolView .pp-health .pp-way:focus-visible { outline:2px solid var(--s-blue) !important; outline-offset:2px !important; }
  html.studio body #toolView .pp-health .pp-mini { margin-top:0; font-size:14px; }
  html.studio body #toolView .pp-health .rd-note { margin:10px 0 0; font-size:14px; color:var(--s-muted); }
  /* no insurance: how its care is counted */
  html.studio body #toolView .pp-none { margin:14px 0 0; padding:16px; border-radius:14px; background:var(--s-band); }
  html.studio body #toolView .pp-none-h { margin:0 0 10px; font-size:15px; font-weight:700; color:var(--s-ink); }
  html.studio body #toolView .pp-ch { position:relative; display:grid !important; grid-template-columns:18px minmax(0, 1fr); column-gap:12px; align-items:start !important; justify-content:stretch !important; width:100%; min-height:0 !important; height:auto !important;
    margin:0; padding:10px 12px !important; border:0 !important; border-radius:12px !important; background:transparent !important; box-shadow:none !important; text-align:left; cursor:pointer; font:inherit; color:var(--s-ink) !important; }
  html.studio body #toolView .pp-ch + .pp-ch { margin-top:4px; }
  html.studio body #toolView .pp-ch::before { content:''; grid-row:1 / span 2; width:18px; height:18px; margin-top:3px; box-sizing:border-box; border:2px solid var(--s-faint); border-radius:50%; background:var(--s-card); }
  html.studio body #toolView .pp-ch b { grid-column:2; font-size:15px; font-weight:700; line-height:1.4; color:var(--s-ink) !important; }
  html.studio body #toolView .pp-ch b em { margin-left:6px; font-style:normal; font-size:12.5px; font-weight:700; color:var(--s-green-ink) !important; }
  html.studio body #toolView .pp-ch span { grid-column:2; font-size:14px; line-height:1.45; font-weight:400; color:var(--s-ink2) !important; }
  html.studio body #toolView .pp-ch.on { background:var(--s-card) !important; box-shadow:inset 0 0 0 1px var(--s-blue) !important; }
  html.studio body #toolView .pp-ch.on::before { border:5px solid var(--s-blue); }
  html.studio body #toolView .pp-ch:hover:not(.on) { background:var(--s-hover, var(--s-card)) !important; }
  html.studio body #toolView .pp-ch:focus-visible { outline:2px solid var(--s-blue) !important; outline-offset:2px !important; }
  html.studio body #toolView .pp-none-warn { margin:10px 0 0; padding:10px 12px; border-radius:10px; background:var(--s-amber-l); color:var(--s-amber-ink, var(--c-amber-35)); font-size:14px; }
  html.studio body #toolView .pp-none-facts { margin:12px 0 0; padding:0 0 0 18px; display:grid; gap:6px; font-size:14px; line-height:1.5; color:var(--s-ink2); }
  html.studio body #toolView .pp-none-facts:empty { display:none; }
  html.studio body #toolView .pp-none-facts a { color:var(--s-link); font-weight:600; }
  @media (max-width:900px){ html.studio body #toolView .pp-health .pp-ways { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
  @media (max-width:640px){ html.studio body #toolView .pp-health .pp-ways, html.studio body #toolView .pp-health .pp-pre .pp-ways { grid-template-columns:minmax(0, 1fr); } }
}

/* The state, changed in place (2026-10-19, js/53 statePop): "State: Florida · Change" opens this window instead of jumping
   to step 1. Centered with a dimmed page on a computer; a sheet from the bottom on a phone. */
#toolView .th-state-line .th-state-none { color:var(--s-muted, var(--c-slate-55)); font-weight:600; }
.st-pop-scrim { position:fixed; inset:0; z-index:10000; background:rgba(var(--s-shadow-rgb, 16,24,40), .32); }
.st-pop { position:fixed; z-index:10001; left:50%; top:50%; transform:translate(-50%, -50%); width:min(440px, calc(100vw - 32px)); padding:20px 22px 18px; border:1px solid var(--s-line2, var(--c-gray-90)); border-radius:16px; background:var(--s-card, var(--c-gray-99)); box-shadow:0 16px 40px rgba(var(--s-shadow-rgb, 16,24,40), .22); color:var(--s-ink, var(--c-slate-15)); }
.st-pop[hidden], .st-pop-scrim[hidden] { display:none !important; }
.st-pop h3 { margin:0 0 14px; font-size:17px; font-weight:700; }
.st-pop .st-pop-l { display:block; margin:0 0 6px; font-size:14px; font-weight:600; color:var(--s-ink2, var(--c-slate-35)); }
.st-pop select { width:100%; height:44px; padding:0 12px; border:1px solid var(--s-line2, var(--c-gray-90)); border-radius:12px; background:var(--s-card, var(--c-gray-99)); font:inherit; font-size:15.5px; color:var(--s-ink, var(--c-slate-15)); }
.st-pop .st-pop-note { margin:10px 0 0; font-size:14px; line-height:1.5; color:var(--s-muted, var(--c-slate-55)); }
.st-pop-acts { display:flex; justify-content:flex-end; gap:8px; margin-top:18px; }
.st-pop-acts button { min-height:44px; padding:8px 18px; border-radius:10px; border:1px solid var(--s-line2, var(--c-gray-90)); background:var(--s-card, var(--c-gray-99)); font:inherit; font-size:14.5px; font-weight:600; color:var(--s-ink, var(--c-slate-15)); cursor:pointer; }
.st-pop-acts button.pri { background:var(--s-blue, var(--c-teal-50)); border-color:var(--s-blue, var(--c-teal-50)); color:var(--s-on, var(--c-gray-99)); }
.st-pop-acts button:focus-visible { outline:2px solid var(--s-blue, var(--c-teal-50)); outline-offset:2px; }
html.st-pop-on { overflow:hidden; }
/* Risk check (2026-11-02, js/90): a card inside Check your plan, and its windows on the st-pop look */
html.studio body #toolView .rk-box { margin:0 0 14px; }
html.studio body #toolView .rk-sum { padding:12px 14px; border-bottom:1px solid var(--s-line2); font-size:15px; line-height:1.5; color:var(--s-ink); }
html.studio body #toolView .rk-sum b { font-weight:700; }
html.studio body #toolView .rk-sum-w { color:var(--s-muted); font-size:14px; }
html.studio body #toolView .rv-row .rv-t > span.rk-eff { margin-top:3px; font-weight:600; color:var(--s-ink); }
.rk-link { display:inline-block; margin:2px 0 0; padding:0; border:0; background:none; font:inherit; font-size:14px; font-weight:600; color:var(--s-link, var(--s-blue)); cursor:pointer; }
.rk-note { margin:8px 0 0; font-size:14px; font-weight:600; color:var(--s-amber-ink, var(--c-amber-35)); }
.st-pop .rk-f { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:10px; }
.st-pop .rk-f select { height:44px; }
.st-pop input { width:100%; height:44px; padding:0 12px; box-sizing:border-box; border:1px solid var(--s-line2, var(--c-gray-90)); border-radius:12px; background:var(--s-card, var(--c-gray-99)); font:inherit; font-size:15.5px; color:var(--s-ink, var(--c-slate-15)); }
.st-pop input:disabled { opacity:.55; }

@media (max-width:640px){
  .st-pop { left:0; right:0; top:auto; bottom:0; transform:none; width:100%; border-radius:20px 20px 0 0; padding:12px 18px calc(18px + env(safe-area-inset-bottom)); }
  .st-pop::before { content:''; display:block; width:40px; height:4px; margin:0 auto 14px; border-radius:3px; background:var(--s-line2, var(--c-gray-90)); }
  .st-pop-acts button { flex:1; }
}
@layer studio {
  html body .st-pop-acts button:not(.pri) { background:var(--s-card, var(--c-gray-99)) !important; color:var(--s-ink, var(--c-slate-15)) !important; }
  html body .st-pop-acts button.pri { background:var(--s-blue, var(--c-teal-50)) !important; color:var(--s-on, var(--c-gray-99)) !important; }
  html body .st-pop select { height:44px !important; min-height:44px !important; }
}

/* Which accounts pay first, in a window (2026-10-19, js/13 openPayOrderPop; Paycheck → Change the order). */
.po-pop { width:min(560px, calc(100vw - 32px)); max-height:calc(100vh - 48px); overflow:auto; }
.po-pop .po-sub { margin:4px 0 14px; font-size:14px; line-height:1.5; color:var(--s-muted, var(--c-slate-55)); }
.po-pop .po-pre { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 12px; }
.po-pop .po-pre:empty { display:none; }
.po-pop .po-pre span { font-size:13.5px; color:var(--s-muted, var(--c-slate-55)); margin-right:2px; }
.po-pop .po-pre button { min-height:36px; padding:6px 12px; border-radius:999px; border:1px solid var(--s-line2, var(--c-gray-90)); background:var(--s-card, var(--c-gray-99)); font:inherit; font-size:14px; font-weight:600; color:var(--s-ink, var(--c-slate-15)); cursor:pointer; }
.po-pop .po-pre button.on { border-color:var(--s-blue, var(--c-teal-50)); background:var(--s-blue-l, var(--c-gray-95)); }
.po-pop .po-list { list-style:none; margin:0; padding:0; border:1px solid var(--s-line, var(--c-gray-90)); border-radius:12px; overflow:hidden; }
.po-pop .po-list li { display:grid; grid-template-columns:26px minmax(0, 1fr) auto 84px; gap:4px 12px; align-items:center; padding:10px 12px; border-top:1px solid var(--s-line, var(--c-gray-90)); background:var(--s-card, var(--c-gray-99)); transition:background-color .2s ease; }
.po-pop .po-list li:first-child { border-top:0; }
.po-pop .po-list li.moved { background:var(--s-blue-l, var(--c-gray-95)); }
.po-pop .po-n { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:var(--s-blue, var(--c-teal-50)); color:var(--s-on, var(--c-gray-99)); font-size:12.5px; font-weight:700; }
.po-pop .po-b b { display:block; font-size:15px; color:var(--s-ink, var(--c-slate-15)); } .po-pop .po-b small { display:block; font-size:13px; color:var(--s-muted, var(--c-slate-55)); }
.po-pop .po-bal { font-size:14.5px; font-weight:600; font-variant-numeric:tabular-nums; color:var(--s-ink, var(--c-slate-15)); } .po-pop li.empty .po-bal { font-weight:500; color:var(--s-muted, var(--c-slate-55)); }
.po-pop .po-mv { display:flex; gap:6px; justify-content:flex-end; }
.po-pop .po-mv button { width:38px; height:38px; border-radius:10px; border:1px solid var(--s-line2, var(--c-gray-90)); background:var(--s-card, var(--c-gray-99)); color:var(--s-blue, var(--c-teal-50)); font-size:14px; cursor:pointer; }
.po-pop .po-mv button:disabled { color:var(--s-faint, var(--c-gray-75)); opacity:.5; cursor:default; }
.po-pop .po-mv button:focus-visible, .po-pop .po-pre button:focus-visible, .po-pop .po-foot a:focus-visible { outline:2px solid var(--s-blue, var(--c-teal-50)); outline-offset:2px; }
.po-pop .po-foot { margin:12px 0 0; font-size:14px; line-height:1.5; color:var(--s-muted, var(--c-slate-55)); } .po-pop .po-foot a { color:var(--s-link, var(--c-teal-45)); font-weight:600; }
@media (prefers-reduced-motion:reduce){ .po-pop .po-list li { transition:none; } }
@media (max-width:640px){
  .po-pop { width:100%; max-height:88vh; }
  .po-pop .po-list li { grid-template-columns:24px minmax(0, 1fr) 84px; } .po-pop .po-bal { grid-column:2; grid-row:2; font-size:13px; font-weight:500; color:var(--s-muted, var(--c-slate-55)); } .po-pop .po-mv { grid-row:1 / span 2; grid-column:3; }
}
@layer studio {
  html body .po-pop .po-mv button { background:var(--s-card, var(--c-gray-99)) !important; color:var(--s-blue, var(--c-teal-50)) !important; min-height:38px !important; height:38px !important; padding:0 !important; box-shadow:none !important; }
  html body .po-pop .po-mv button:disabled { color:var(--s-faint, var(--c-gray-75)) !important; }
  html body .po-pop .po-pre button { background:var(--s-card, var(--c-gray-99)) !important; color:var(--s-ink, var(--c-slate-15)) !important; box-shadow:none !important; }
  html body .po-pop .po-pre button.on { background:var(--s-blue-l, var(--c-gray-95)) !important; border-color:var(--s-blue, var(--c-teal-50)) !important; }
}

/* The health card's questions (2026-10-20, _audits/2026-10-20-health-choices-info-mockup.html): choices are names only,
   one ⓘ beside the question explains them all. The ⓘ sits on the question's line (centered on its text), with the
   question's own space below it, so it never touches a card; its panel floats under the question on a computer and
   opens inside the card on a phone. */
@layer studio {
  html.studio body #toolView .pp-health .pp-way { align-items:center !important; padding:12px 14px !important; }
  html.studio body #toolView .pp-health .pp-way::before { grid-row:auto; margin:0; }
  html.studio body #toolView .pp-health .pp-way b { line-height:1.35; }
  html.studio body #toolView .pp-health .pp-ask { position:relative; margin:18px 0 12px; }
  html.studio body #toolView .pp-health .pp-pre > .pp-ask { margin-top:4px; }
  html.studio body #toolView .pp-health .pp-ask-t { display:inline; }
  html.studio body #toolView .pp-qi { position:relative; display:inline-grid !important; place-items:center; width:20px !important; height:20px !important; min-height:0 !important; margin:0 0 0 8px !important; padding:0 !important;
    vertical-align:2px; border:1.5px solid var(--s-faint) !important; border-radius:50% !important; background:transparent !important; box-shadow:none !important;
    color:var(--s-muted) !important; font:italic 700 12px/1 Georgia, 'Times New Roman', serif !important; cursor:pointer; }
  html.studio body #toolView .pp-qi::before { content:''; position:absolute; inset:-12px; } /* a 44 px touch area */
  html.studio body #toolView .pp-qi:hover, html.studio body #toolView .pp-qi[aria-expanded="true"] { border-color:var(--s-blue) !important; color:var(--s-blue) !important; }
  html.studio body #toolView .pp-qi:focus-visible { outline:2px solid var(--s-blue) !important; outline-offset:3px !important; }
  html.studio body #toolView .pp-health { position:relative; }
  html.studio body #toolView .pp-health .pp-pre { position:relative; }
  html.studio body #toolView .pp-ex { position:absolute; z-index:20; width:min(560px, calc(100% - 8px)); margin:-4px 0 0; padding:12px 14px; border:1px solid var(--s-line2); border-radius:12px; background:var(--s-card);
    box-shadow:0 10px 28px rgba(var(--s-shadow-rgb, 16,24,40), .16); font-size:14px; line-height:1.45; color:var(--s-ink2); }
  html.studio body #toolView .pp-ex[hidden] { display:none !important; }
  html.studio body #toolView .pp-ex dl { margin:0; display:grid; gap:6px; }
  html.studio body #toolView .pp-ex dl > div { display:grid; grid-template-columns:190px minmax(0, 1fr); gap:10px; }
  html.studio body #toolView .pp-ex dt { font-weight:700; color:var(--s-ink); } html.studio body #toolView .pp-ex dd { margin:0; }
  @media (max-width:640px){
    html.studio body #toolView .pp-ex { position:static; width:auto; margin:0 0 12px; border:0; box-shadow:none; background:var(--s-band); }
    html.studio body #toolView .pp-ex dl > div { grid-template-columns:1fr; gap:0; }
  }
}

/* Plain choices on the health card (2026-10-20, the user took the boxes off in the browser and liked it): a circle and the
   name, no border or fill — the blue circle says which is chosen. Care use (Low · Typical · High) the same, side by side
   close together instead of spread across the card. */
@layer studio {
  html.studio body #toolView .pp-health .pp-way, html.studio body #toolView .pp-health .pp-way.on, html.studio body #toolView .pp-health .pp-way:hover {
    border-color:transparent !important; background:transparent !important; box-shadow:none !important; }
  html.studio body #toolView .pp-health:not(.pf-closed) :is(.pp-seg[data-use-for]:not([hidden]), .pp-mini .pp-seg) { display:flex !important; flex-wrap:wrap !important; gap:4px 28px !important; }
  html.studio body #toolView .pp-health:not(.pf-closed) :is(.pp-seg[data-use-for]:not([hidden]), .pp-mini .pp-seg) > button, html.studio body #toolView .pp-health:not(.pf-closed) :is(.pp-seg[data-use-for]:not([hidden]), .pp-mini .pp-seg) > button:is(.on, .is-on, [aria-pressed="true"], [aria-checked="true"]), html.studio body #toolView .pp-health:not(.pf-closed) :is(.pp-seg[data-use-for]:not([hidden]), .pp-mini .pp-seg) > button:hover {
    flex:0 0 auto !important; min-width:0 !important; border-color:transparent !important; background:transparent !important; box-shadow:none !important; }
}

/* One Yes / No switch everywhere (2026-10-20, js/83): the last two-button No / Yes (Off / On) choices show the plan cards'
   switch; their buttons stay in the page, hidden. Property & debts, Health care & state tax, Health Before 65. */
.yn-row > :not(.yn-sw) { display:none !important; }
.yn-row { display:flex !important; justify-content:flex-end; align-items:center; gap:0 !important; padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; }
#acaView .yn-sw { position:relative; flex:none; display:inline-flex; align-items:center; width:74px; height:30px; padding:0 0 0 30px; border:0; border-radius:999px; background:var(--s-track, var(--c-gray-85)); box-shadow:none; cursor:pointer; font:inherit; }
#acaView .yn-sw::before { content:''; position:absolute; top:3px; left:3px; width:24px; height:24px; border-radius:50%; background:var(--c-gray-99); box-shadow:0 1px 2px rgba(var(--c-shadow-rgb), .25); transition:left .15s; }
#acaView .yn-sw .pp-sw-t { font-size:12.5px; font-weight:700; color:var(--s-ink, var(--c-slate-15)); }
#acaView .yn-sw[aria-checked="true"] { background:var(--s-blue, var(--c-blue-50)); padding:0 30px 0 12px; }
#acaView .yn-sw[aria-checked="true"]::before { left:47px; }
#acaView .yn-sw[aria-checked="true"] .pp-sw-t { color:var(--c-gray-99); }
#acaView .yn-sw:focus-visible { outline:2px solid var(--s-blue, var(--c-blue-50)); outline-offset:2px; }
@media (prefers-reduced-motion:reduce){ #acaView .yn-sw::before { transition:none; } }
@layer studio {
  html.studio body .yn-row > :not(.yn-sw) { display:none !important; }
  html.studio body :is(#toolView, #acaView) .yn-row { display:flex !important; justify-content:flex-end !important; align-items:center !important; width:auto !important; padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; }
  html.studio body #acaView .yn-sw { width:74px !important; min-width:0 !important; height:30px !important; min-height:0 !important; padding:0 0 0 30px !important; border:0 !important; border-radius:999px !important; background:var(--s-track) !important; box-shadow:none !important; }
  html.studio body #acaView .yn-sw[aria-checked="true"] { background:var(--s-blue) !important; padding:0 30px 0 12px !important; }
  html.studio body #acaView .yn-sw::before { content:'' !important; }
}

/* Dark mode sweep (2026-10-21): the Health care costs table's header (an old dark rule paints every table header teal; the
   other tables opt out the same way), and the switch's knob stays white on any background (it was dark on blue). */
@layer studio {
  html.studio body #toolView .hc-tab thead th, html.studio body #toolView .hc-tab thead td { background:transparent !important; color:var(--s-muted) !important; border-color:var(--s-line) !important; }
  html.studio body :is(#toolView, #acaView) .pp-sw::before { background:var(--s-on) !important; }
}

/* Life insurance (2026-10-22, js/84-life.js): term or permanent side by side, each with its line; a line that pays nothing in amber */
@layer studio {
  html.studio body #toolView .lf-kinds { display:grid !important; grid-template-columns:1fr 1fr !important; gap:10px !important; margin:4px 0 12px !important; }
  html.studio body #toolView .lf-kinds .pp-way { display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:2px !important; text-align:left !important; }
  html.studio body #toolView .lf-kinds .pp-way small { display:block; font-size:13px; font-weight:500; color:var(--s-muted); line-height:1.35; }
  html.studio body #toolView .lf-does { margin-top:10px !important; padding:10px 12px !important; border-radius:10px !important; background:var(--s-band) !important; color:var(--s-ink2) !important; }
  html.studio body #toolView .lf-does.is-warn { background:var(--s-amber-l) !important; color:var(--s-amber-ink, var(--c-amber-35)) !important; }
  html.studio body #toolView .lf-does:empty { display:none !important; }
  @media (max-width:640px){ html.studio body #toolView .lf-kinds { grid-template-columns:1fr !important; } }
}

/* The health timeline fits its names (2026-10-22, js/55 tlFit): each part never narrower than its name; when they can't all fit,
   .pp-tl.is-key is the phone's layout — a plain bar and the names in a key under it */
@layer studio {
  html.studio body #toolView .pp-tlbar span { min-width:max-content !important; text-overflow:clip !important; }
  html.studio body #toolView .pp-tl.is-key .pp-tlbar { height:12px !important; margin-bottom:6px !important; }
  html.studio body #toolView .pp-tl.is-key .pp-tlbar span { font-size:0 !important; padding:0 !important; min-width:0 !important; }
  html.studio body #toolView .pp-tl.is-key .pp-tlkey { display:grid; gap:2px; margin:0 0 12px; padding:0; list-style:none; font-size:13px; color:var(--s-ink2); }
  html.studio body #toolView .pp-tl.is-key .pp-tlkey li { display:flex; align-items:center; gap:8px; } html.studio body #toolView .pp-tl.is-key .pp-tlkey i { flex:none; width:12px; height:12px; border-radius:3px; }
  html.studio body #toolView .pp-tl.is-key .pp-tlkey .t-j1 { background:var(--c-green-55); } html.studio body #toolView .pp-tl.is-key .pp-tlkey .t-j2 { background:var(--c-purple-50); } html.studio body #toolView .pp-tl.is-key .pp-tlkey .t-r { background:var(--c-pink-60); }
  html.studio body #toolView .pp-tl.is-key .pp-tlkey .t-c { background:var(--c-amber-55); } html.studio body #toolView .pp-tl.is-key .pp-tlkey .t-g { background:var(--c-orange-60); } html.studio body #toolView .pp-tl.is-key .pp-tlkey .t-m { background:var(--s-blue); }
}

/* The health card's questions on a band across the card (2026-10-22, mockup _audits/2026-10-22-health-questions-mockup.html,
   the user: the question "is visually lost, as it looks the same as the choice answers" → A): the card header's band colors,
   edge to edge; the answers regular weight. The bands separate the questions (it replaces the thin line of the same day). */
@layer studio {
  html.studio body #toolView .pp-health .pp-ask, html.studio body #toolView .pp-health .pp-pre > .pp-ask { margin:18px -20px 12px !important; padding:12px 20px !important; background:var(--s-band) !important; border-top:1px solid var(--s-band-line) !important; border-bottom:1px solid var(--s-band-line) !important; }
  html.studio body #toolView .pp-health .pp-way b { font-weight:500 !important; }
  @media (max-width:760px){ html.studio body #toolView .pp-health .pp-ask, html.studio body #toolView .pp-health .pp-pre > .pp-ask { margin:16px -14px 10px !important; padding:10px 14px !important; } }
}

/* The spending goal's window: a month and a year side by side (2026-10-22, js/82 openSpend) */
@layer studio {
  html.studio body .fp-pop .fp-two { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  html.studio body .fp-pop .fp-two .fp-field { margin:0; }
  @media (max-width:420px){ html.studio body .fp-pop .fp-two { grid-template-columns:1fr; } }
  /* a group window (js/82 openGroup, 2026-10-30): each person's boxes under their name */
  html.studio body .fp-pop .fp-gh { margin:16px 0 8px; font-size:14px; font-weight:600; color:var(--s-ink2, var(--c-slate-35)); }
  html.studio body .fp-pop h3 + .fp-gh { margin-top:0; }
}

/* Ages with months (2026-10-27 Batch 3c, _audits/2026-10-26-batch3-fields-mockup.html): Retire at [65 years][0 months], and the claim's months
   under the Social Security ages. */
@layer studio {
  html body #toolView .ym-pair { display:flex; gap:8px; align-items:flex-start; min-width:0; }
  html body #toolView .ym-pair > .unit-box { flex:1 1 0 !important; min-width:0 !important; width:auto !important; }
  html body #toolView .ym-pair > .unit-box > input { width:100% !important; min-width:0 !important; max-width:none !important; box-sizing:border-box; }
  html body #toolView .ym-pair > .unit-box:last-child { flex:0.85 1 0 !important; }
  /* Birth year [1971][Month] (2026-10-27 Batch 3d): the year box and the optional month, side by side */
  html body #toolView .ym-pair.by-pair > :is(input, select, .unit-box) { flex:1 1 0 !important; min-width:0 !important; width:auto !important; max-width:none !important; box-sizing:border-box; }
  html body #toolView .ym-pair.by-pair > select { flex:0.9 1 0 !important; }
  html body #toolView .field.ssc-mo { display:flex; flex-direction:row; align-items:center; gap:10px; margin:8px 0 2px; max-width:none; }
  html body #toolView .field.ssc-mo > label { margin:0 !important; white-space:nowrap; }
  html body #toolView .field.ssc-mo > .unit-box { width:128px !important; flex:none !important; }
  html body #toolView .field.ssc-mo > .unit-box > input { width:100% !important; }
  html body #toolView .field.ssc-mo[hidden] { display:none !important; }
  /* #28 (2026-11-18): "and months optional" was cut off on phones; the gray 0 already says it can stay blank */
  @media (max-width: 480px){ html body #toolView .field.ssc-mo > label .fld-opt { display:none; } }
  /* the survivor's share and a public pension on a pension or annuity (IN-15, TX17) */
  html body #toolView :is(.pen-surv, .ann-surv, .pen-pub) .pp-seg { margin-top:6px; }
  html body #toolView :is(.pen-surv, .ann-surv) .pp-seg > button { flex:0 1 auto !important; min-width:64px; }
  html body #toolView :is(.pen-sv-other, .ann-sv-other) { margin-top:8px; max-width:160px; }
  html body #toolView :is(.pen-surv, .ann-surv, .pen-pub) > .rd-note { margin:6px 0 0; }
  html body #toolView .pen-tick { display:flex !important; gap:10px; align-items:flex-start; width:auto !important; height:auto !important; min-height:0 !important; padding:2px 0 !important; border:0 !important; background:none !important; box-shadow:none !important; text-align:left; font:inherit; font-size:14.5px; font-weight:500; color:var(--s-ink, var(--text)) !important; cursor:pointer; }
  html body #toolView .pen-tick > i { flex:none; width:18px; height:18px; margin-top:2px; border:2px solid var(--s-faint, var(--muted2)); border-radius:5px; box-sizing:border-box; }
  html body #toolView .pen-tick[aria-checked="true"] > i { background:var(--s-blue, var(--teal)); border-color:var(--s-blue, var(--teal)); box-shadow:inset 0 0 0 3px var(--s-card, var(--panel)); }
  html body #toolView .pen-tick:focus-visible { outline:2px solid var(--s-blue, var(--teal)); outline-offset:2px; }
  html.studio body #toolView .pp-seg.pen-pubk > button, html body #toolView .pp-seg.pen-pubk > button { flex:0 1 auto !important; min-width:140px; }
  html body #toolView .pen-tick small { display:block; margin-top:2px; font-size:13px; font-weight:400; color:var(--s-muted, var(--muted2)); }
  /* the spending floor (the 3b polish): room under the rate box; the Expense Planner's Need shown as a filled value */
  html body #toolView #pctField + #floorField, html body #toolView #floorField { margin-top:14px !important; }
  html body #toolView #spendFloor.sf-auto::placeholder { color:var(--s-ink, var(--text)) !important; opacity:1; }
  @media (max-width:560px){ html body #toolView .field:has(> .ym-pair) { grid-column:1 / -1 !important; } html body #toolView .ym-pair { max-width:320px; }
    /* the birth year and month take a row as Retire at does (3d), so the name above takes its row too */ html body #toolView .pp-dates .field:has(> :is(#yourName, #spouseName)) { grid-column:1 / -1 !important; } html.studio body #toolView :is([data-slot="you-dates"], [data-slot="sp-dates"]) .field:has(> :is(#yourName, #spouseName)) .rd-cap:empty { display:none !important; } }
}

/* The birth month's blank reads like a box's placeholder (2026-10-27 Batch 3d): the strongest layer, as the theme's select colour is there */
@layer compassNavTop {
  html.studio body #toolView .ym-pair.by-pair > select:has(> option[value=""]:checked) { color:var(--s-faint, var(--muted2)) !important; font-weight:500 !important; }
  html.studio body #toolView .ym-pair.by-pair > select > option { color:var(--s-ink, var(--text)); }
}

/* Who's in the plan (2026-10-28, _audits/2026-10-28-who-in-plan-mockup.html, the user: "remove the shaded selected color and the
   surrounding border", picked A): no box and no shading; the dot, a person or couple icon, then the words. The chosen one: a
   blue dot, a blue icon, bolder words. Still 44px tall to tap. */
@layer studio {
  html.studio body #toolView #hhBox .hh-seg { gap:6px 26px !important; }
  html.studio body #toolView #hhBox .hh-seg > button { flex:0 0 auto !important; min-width:0 !important; min-height:44px !important; gap:10px; padding:0 4px 0 30px !important; border:0 !important; background:transparent !important; color:var(--s-ink2) !important; font-weight:400 !important; }
  html.studio body #toolView #hhBox .hh-seg > button::before { left:4px !important; width:20px !important; height:20px !important; margin-top:-10px !important; border-width:2px !important; border-color:var(--s-off) !important; }
  html.studio body #toolView #hhBox .hh-seg > button:hover::before { border-color:var(--s-blue) !important; }
  html.studio body #toolView #hhBox .hh-seg > button[aria-checked="true"] { background:transparent !important; color:var(--s-ink) !important; font-weight:600 !important; }
  html.studio body #toolView #hhBox .hh-seg > button[aria-checked="true"]::before { border-color:var(--s-blue) !important; background:var(--s-blue) !important; box-shadow:inset 0 0 0 3px var(--s-card) !important; }
  html.studio body #toolView #hhBox .hh-ico { width:24px !important; height:24px !important; margin:0 !important; color:var(--s-faint) !important; }
  html.studio body #toolView #hhBox .hh-seg > button[aria-checked="true"] .hh-ico { color:var(--s-blue) !important; }
}

/* Plan options as tiles (2026-10-28, _audits/2026-10-28-plan-options-tiles-mockup.html, the user: "build it"): each option a
   white tile — a large two-tone icon in its own color (js/22, --s-po-… in compass-studio.css), the name, its line, one button
   (Change, or Add), centered. In your plan: a dark "In your plan" tag on top and the switch in the corner. Change opens the
   option's settings right there: the tile widens to the full row, its fields under it. Same rows, chips and switches as before. */
@layer studio {
  html.studio body #toolView #planOptionsList.po-list .po-sec-rows, html.studio body #toolView #planOptionsList.po-list .po-chips { display:grid !important; grid-template-columns:repeat(auto-fill, minmax(210px, 1fr)) !important; gap:26px 20px !important; padding-top:12px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row { position:relative !important; border:1px solid var(--s-line) !important; border-radius:22px !important; background:var(--s-card) !important; box-shadow:none !important; }
  html.studio body #toolView #planOptionsList.po-list .po-sec-on .po-row { border-color:var(--s-line2) !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row > .po-head { background:transparent !important; border-radius:inherit !important; }
  html.studio body #toolView #planOptionsList.po-list .po-sec-on .po-row::before, html.studio body #toolView #planOptionsList.po-list .po-row.po-suggested::before { content:'In your plan'; position:absolute; z-index:1; top:-12px; left:50%; transform:translateX(-50%); white-space:nowrap; padding:3px 11px; border-radius:8px; background:var(--s-po-tag); color:var(--s-on); font-size:13px; font-weight:600; line-height:1.45; pointer-events:none; }
  html.studio body #toolView #planOptionsList.po-list .po-row.po-suggested::before { content:'Suggested'; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) > .po-head { display:flex !important; flex-direction:column !important; align-items:center !important; text-align:center !important; gap:0 !important; height:100%; padding:34px 18px 22px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-main { flex-direction:column !important; align-items:center !important; gap:18px !important; min-height:0 !important; }
  html.studio body #toolView #planOptionsList.po-list .po-icon { width:auto !important; height:auto !important; flex:none !important; background:none !important; border:0 !important; border-radius:0 !important; color:var(--po-c, var(--s-po-other)) !important; }
  html.studio body #toolView #planOptionsList.po-list .po-icon svg { width:60px !important; height:60px !important; }
  html.studio body #toolView #planOptionsList.po-list [data-key="GlidePath"] { --po-c:var(--s-po-glide); } html.studio body #toolView #planOptionsList.po-list [data-key="Spouse"] { --po-c:var(--s-po-survivor); } html.studio body #toolView #planOptionsList.po-list [data-key="LumpSum"] { --po-c:var(--s-po-money); }
  html.studio body #toolView #planOptionsList.po-list [data-key="Roth"] { --po-c:var(--s-po-roth); } html.studio body #toolView #planOptionsList.po-list [data-key="StateMove"] { --po-c:var(--s-po-move); } html.studio body #toolView #planOptionsList.po-list [data-key="QCD"] { --po-c:var(--s-po-give); } html.studio body #toolView #planOptionsList.po-list [data-key="TipsLadder"] { --po-c:var(--s-po-tips); }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-text strong, html.studio body #toolView #planOptionsList.po-list .po-chip-t b { font-size:18px !important; line-height:1.3 !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-qm { position:absolute !important; top:14px; left:14px; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-sum { flex:1 1 auto; display:block !important; margin:8px 0 20px !important; padding:0 !important; font-size:14.5px !important; line-height:1.45 !important; color:var(--s-ink2) !important; -webkit-line-clamp:unset !important; overflow:visible !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-switch { position:absolute !important; top:12px; right:12px; min-height:0 !important; }
  html.studio body #toolView #planOptionsList.po-list .po-chev, html.studio body #toolView #planOptionsList.po-list .po-chip-add { display:inline-flex !important; align-items:center !important; justify-content:center !important; min-width:112px !important; min-height:46px !important; height:46px !important; margin:0 !important; padding:0 22px !important; border:1px solid var(--s-line2) !important; border-radius:14px !important; background:var(--s-card) !important; color:var(--s-link) !important; font-size:16px !important; font-weight:600 !important; }
  html.studio body #toolView #planOptionsList.po-list .po-chev[hidden] { display:none !important; }
  html.studio body #toolView #planOptionsList.po-list .po-chev:hover, html.studio body #toolView #planOptionsList.po-list .po-chip:hover .po-chip-add { border-color:var(--s-link) !important; }
  /* not in your plan: the whole tile is the Add button */
  html.studio body #toolView #planOptionsList.po-list .po-chip:not([hidden]):not([style*="display:none"]):not([style*="display: none"]) { display:flex !important; flex-direction:column !important; align-items:center !important; text-align:center !important; gap:0 !important; height:100%; min-height:0 !important; padding:34px 18px 22px !important; border:1px solid var(--s-line) !important; border-radius:22px !important; background:var(--s-card) !important; box-shadow:none !important; }
  html.studio body #toolView #planOptionsList.po-list .po-chip > .po-icon { width:auto !important; height:auto !important; margin:0 0 18px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-chip > .po-icon svg { width:60px !important; height:60px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-chip-t { flex:1 1 auto; align-items:center; gap:8px !important; margin-bottom:20px; }
  html.studio body #toolView #planOptionsList.po-list .po-chip-t small { font-size:14.5px !important; color:var(--s-muted) !important; }
  html.studio body #toolView #planOptionsList.po-list .po-chip:hover { border-color:var(--s-line2) !important; }
  /* open: the full row, the head as a line, its fields under it */
  html.studio body #toolView #planOptionsList.po-list .po-row.is-open { grid-column:1 / -1 !important; border-color:var(--s-blue) !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row.is-open > .po-head { display:grid !important; grid-template-columns:auto auto minmax(0,1fr) auto auto !important; align-items:center !important; gap:4px 12px !important; padding:24px 22px 14px !important; text-align:left !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row.is-open .po-icon svg { width:44px !important; height:44px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row.is-open .po-sum { grid-column:1 / -1 !important; padding-left:56px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row.is-open > .po-body { padding:4px 22px 22px 78px !important; }
}
@media (max-width:700px){ @layer studio {
  html.studio body #toolView #planOptionsList.po-list .po-sec-rows, html.studio body #toolView #planOptionsList.po-list .po-chips { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:22px 12px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-sec-on .po-row::before, html.studio body #toolView #planOptionsList.po-list .po-row.po-suggested::before { font-size:11.5px; padding:2px 8px; top:-10px; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) > .po-head, html.studio body #toolView #planOptionsList.po-list .po-chip:not([hidden]):not([style*="display:none"]):not([style*="display: none"]) { padding:28px 10px 14px !important; border-radius:18px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row { border-radius:18px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-icon svg, html.studio body #toolView #planOptionsList.po-list .po-chip > .po-icon svg { width:44px !important; height:44px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-main { gap:12px !important; } html.studio body #toolView #planOptionsList.po-list .po-chip > .po-icon { margin-bottom:12px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-text strong, html.studio body #toolView #planOptionsList.po-list .po-chip-t b { font-size:15.5px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-sum, html.studio body #toolView #planOptionsList.po-list .po-chip-t small { font-size:13px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-sum { margin:6px 0 14px !important; } html.studio body #toolView #planOptionsList.po-list .po-chip-t { margin-bottom:14px; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-qm { display:none !important; }
  html.studio body #toolView #planOptionsList.po-list .po-chev, html.studio body #toolView #planOptionsList.po-list .po-chip-add { min-width:0 !important; height:44px !important; min-height:44px !important; padding:0 16px !important; font-size:14.5px !important; border-radius:12px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-switch { top:18px; right:8px; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-switch-track { width:40px !important; height:24px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-switch-knob { width:18px !important; height:18px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row:not(.is-open) .po-switch[aria-checked="true"] .po-switch-knob { left:19px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row.is-open > .po-head { grid-template-columns:auto auto minmax(0,1fr) auto !important; padding:20px 12px 10px !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row.is-open .po-sum { padding-left:0 !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row.is-open .po-chev { grid-column:1 / -1 !important; justify-self:end !important; }
  html.studio body #toolView #planOptionsList.po-list .po-row.is-open > .po-body { padding:4px 12px 14px !important; }
} }

/* the typical-year budget under a single year's total (2026-11-04) */
html body #toolView .spend-planner-all .spend-planner-unit.spend-planner-typ, html.studio body #toolView .spend-planner-all .spend-planner-unit.spend-planner-typ { display:block; margin-top:4px; font-size:13.5px !important; }
/* B3 (2026-11-09, js/22 rothPop): Roth conversions edited in place from Plan options — the Roth page's own settings in a window */
.st-pop.rp-pop { width:min(680px, calc(100vw - 32px)); max-height:min(86vh, 760px); overflow:auto; overscroll-behavior:contain; }
.rp-pop #rothPopBody { margin:0; padding:0; border:0; background:none; box-shadow:none; }
.rp-pop #rothPopBody #rothSection { padding:0; border:0; }
.rp-pop .rp-warn { margin:0 0 10px; color:var(--s-red, var(--c-red-55b)); }
.rp-pop .st-pop-acts { flex-wrap:wrap; }
.rp-pop .st-pop-acts .rp-page { margin-right:auto; border-color:transparent; background:none; color:var(--s-blue, var(--c-teal-50)) !important; padding-left:4px; padding-right:4px; }
@media (max-width:640px){ .st-pop.rp-pop { width:100%; max-height:88vh; } }

/* Coverage timelines, subtler (2026-11-12, owner: "make the colors more subtle"): each part a soft tint of its color with a
   3px edge in the full color and dark text, 2px apart; the phone key's swatches the same. --tc: the part's color. */
html body #toolView .pp-tl .t-j1 { --tc:var(--c-green-55); } html body #toolView .pp-tl .t-j2 { --tc:var(--c-purple-50); }
html body #toolView .pp-tl .t-r { --tc:var(--c-pink-60); } /* a retiree plan: pink (2026-11-12; teal-40 is a blue in Studio, beside Medicare's) */ html body #toolView .pp-tl .t-c { --tc:var(--c-amber-55); }
html body #toolView .pp-tl .t-g { --tc:var(--c-orange-60); } html body #toolView .pp-tl .t-m { --tc:var(--s-blue, var(--c-blue-50)); }
html body #toolView .pp-tl .pp-tlbar { gap:2px; }
html body #toolView .pp-tl .pp-tlbar > span[class^="t-"]:not(.t-q):not(.t-n) { background:color-mix(in srgb, var(--tc) 16%, var(--s-card, var(--c-gray-99))) !important; color:var(--s-ink, var(--c-slate-15)) !important; box-shadow:inset 0 -3px 0 var(--tc); }
html body #toolView .pp-tl .pp-tlkey i[class^="t-"]:not(.t-q):not(.t-n) { background:color-mix(in srgb, var(--tc) 16%, var(--s-card, var(--c-gray-99))) !important; box-shadow:inset 0 0 0 1.5px var(--tc); }
/* Sex, for life expectancy (2026-11-12, js/77-longevity.js): a row under each person's dates; the line under Plan until says where the
   age came from, offers the estimate back, or warns that Plan until is set by hand ("I'd rather not say"). */
html body #toolView .pp-grid > .pp-sexrow { grid-column:1 / -1; display:flex; align-items:center; flex-wrap:wrap; gap:8px 10px; margin:2px 0 4px; }
html body #toolView .pp-sexq { font-size:14px; font-weight:600; color:var(--s-ink2, var(--c-slate-35)); }
html body #toolView .pp-sexq small { margin-left:6px; font-size:12.5px; font-weight:500; color:var(--s-muted, var(--c-slate-55)); }
html body #toolView .pp-sexrow > .pp-seg { flex:1 1 100%; max-width:520px; }
html body #toolView .pl-est-note { margin-top:6px; }
html body #toolView .pl-est-note.is-warn { padding:6px 9px; border-radius:8px; background:var(--s-amber-l, var(--c-gray-95)); color:var(--s-ink, var(--c-slate-15)) !important; }
html body #toolView .pl-est-note .linklike { display:inline !important; width:auto !important; height:auto !important; min-height:0 !important; min-width:0 !important; padding:0 !important; border:0 !important; background:none !important; box-shadow:none !important; font:inherit; line-height:inherit !important; font-weight:600; color:var(--s-blue, var(--c-blue-50)); text-decoration:underline; text-underline-offset:2px; cursor:pointer; }
