/* Dialogs own their tokens because they are mounted outside the workspace. */
.lpp-dialog,.lp-dialog,.lbpc-dialog{--lp-ink:#080b12;--lp-paper:#f7f4ed;--lp-white:#fffcf6;--lp-muted:#666a7b;--lp-line:#d9d2c6;--lp-spectrum:linear-gradient(105deg,#8267ff,#49bfd0,#ed929a);color:#080b12;font-family:Manrope,Arial,sans-serif;box-sizing:border-box}
.lpp-dialog{background:#fffcf6;border:1px solid #d9d2c6;border-radius:24px;padding:32px;width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 20px 70px #080b122a}
.lpp-dialog::backdrop{background:#080b1280;backdrop-filter:blur(5px)}
.lpp-dialog *{box-sizing:border-box}.lpp-dialog h2{font-size:28px;line-height:1.2;letter-spacing:-.04em;margin:24px 0 12px;color:#080b12}.lpp-brand{font-size:25px;font-weight:750;letter-spacing:-.06em}.lpp-brand>span{color:#8d7cff}.lpp-dialog .lpp-close{position:absolute;right:18px;top:18px;border:1px solid #d9d2c6;background:transparent;color:#080b12;border-radius:50%;width:36px;height:36px;padding:0;font-size:23px}
.lpp-description,.lpp-help{color:#666a7b;line-height:1.7;font-size:14px}.lpp-help{font-size:12px;margin:10px 0 20px}.lpp-people{display:grid;gap:10px;margin:24px 0}.lpp-dialog label{display:block;font-size:13px;font-weight:700;margin:24px 0 9px}.lpp-dialog input{width:100%;min-width:0;font:inherit;font-size:16px;border:1px solid #cfc7bb;background:#fff;border-radius:12px;padding:14px 16px;color:#080b12}.lpp-dialog button{font:inherit;font-size:14px;font-weight:650;cursor:pointer;min-height:44px;border-radius:12px;padding:13px 18px}.lpp-person,.lpp-secondary{background:#fffcf6;border:1px solid #cfc7bb;color:#080b12}.lpp-person{text-align:left;width:100%}.lpp-dialog .lpp-primary{color:#fff;background:linear-gradient(#080b12,#080b12) padding-box,linear-gradient(105deg,#8267ff,#49bfd0,#ed929a) border-box;border:1px solid transparent;width:100%}.lpp-person:hover,.lpp-secondary:hover{background:#ece7ff;border-color:#a18ee3;color:#30224f}.lpp-error{color:#963e48;font-size:13px;line-height:1.6}.lpp-dialog :focus-visible{outline:2px solid #8066d8;outline-offset:3px}.lpp-dialog button:disabled{opacity:.5;cursor:wait}
.lp-dashboard .lp-workspace-top{display:none!important}.lp-dashboard .lp-catalog-grid,.lp-dashboard .lpv .lpv-current-panels .lp-catalog-grid,.lp-dashboard .lp-stack-panels{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lp-dashboard [data-intelle-compare],.lp-dashboard [data-care-compare-pick],.lp-dashboard [data-compare-link]{display:none!important}.lp-dashboard .lpp-page-hero{margin-bottom:28px}.lp-dashboard .lpp-explainer{padding:24px 28px;margin:24px 0;background:#eeebe3;border-radius:18px}.lpp-explainer p{font-size:14px;line-height:1.8;margin:10px 0!important}.lpp-explainer h3{font-size:19px!important}.lp-dashboard .lpv-hero h2{color:#fffcf6!important}.lp-dashboard .lpv-hero{min-width:0}.lp-dashboard .lpp-person-label{color:#62518e;font-size:12px;font-weight:650;margin:12px 0}.lp-dashboard .lp-nav-hint{text-align:center;color:#85838a;font-size:11px}.lp-dashboard .lpp-household-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.lpp-profile-card{padding:28px;border:1px solid #d6cdef;border-radius:22px;background:linear-gradient(130deg,#eee8ff88,#e5f1ea66),#fffcf6;min-width:0}.lpp-profile-card h3{font-size:24px!important;margin:16px 0 10px!important;overflow-wrap:anywhere}.lpp-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#dad0f8;color:#3e315f;font-size:22px;font-weight:650}.lpp-profile-card p{font-size:13px;line-height:1.8;color:#666a7b}.lp-dashboard .lpp-profile-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.lp-dashboard .lpp-profile-tabs button[aria-pressed=true]{background:#080b12;color:#fffcf6}.lp-dashboard .lpp-household-empty{padding:32px;margin:24px 0;border-radius:22px;border:1px solid #d9d2c6;background:#fffcf6}.lp-dashboard .lpp-household-empty p{margin:12px 0 24px!important;font-size:14px;line-height:1.8}.lp-dashboard .lp-panel-actions button{border:1px solid #d5cfc4;border-radius:10px;padding:10px 13px;min-height:42px}.lp-dashboard .lp-panel-actions button:hover{background:#080b12;color:#fff}.lp-dashboard .lp-stack-grid .lpp-person-label{margin:0 0 12px}
@media(max-width:760px){.lp-dashboard .lp-catalog-grid,.lp-dashboard .lpv .lpv-current-panels .lp-catalog-grid,.lp-dashboard .lp-stack-panels,.lp-dashboard .lpp-household-grid{grid-template-columns:minmax(0,1fr)!important}.lpp-dialog{padding:26px 22px}.lp-dashboard .lpp-explainer{padding:22px}.lp-dashboard input,.lp-dashboard select,.lp-dashboard textarea,.lp-dialog input,.lp-dialog select,.lp-dialog textarea{font-size:16px!important;max-width:100%;min-width:0;box-sizing:border-box}.lp-dashboard .lpv-hero{padding:28px 24px}.lp-dashboard .lpv-hero .lpv-orbit{display:none}}
.lp-dashboard .lpp-disclosure{border:1px solid #d9d2c6;border-radius:16px;padding:18px 22px;margin:20px 0;background:#fffcf6;min-width:0}.lp-dashboard .lpp-disclosure>summary{font-size:14px;font-weight:700;cursor:pointer;list-style:disclosure-closed;padding:6px 0}.lp-dashboard .lpp-disclosure[open]>summary{list-style:disclosure-open;margin-bottom:18px}.lp-dashboard .lpp-disclosure p{font-size:13px;line-height:1.8;margin:12px 0}.lp-dashboard .lpp-disclosure:not([open])>:not(summary){display:none}.lp-dashboard .lpp-details-form label{display:block;font-size:12px;font-weight:700;margin:18px 0 8px}.lp-dashboard .lpp-details-form legend{display:block;font-size:12px;font-weight:700;margin:0 0 8px;padding:0}.lp-dashboard .lpp-details-form fieldset{border:0;padding:0;margin:18px 0 0;min-width:0}.lp-dashboard .lpp-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lp-dashboard .lpp-details-form input,.lp-dashboard .lpp-details-form select,.lp-dashboard .lpp-details-form textarea,.lp-dashboard .lpp-disclosure input[type=search]{width:100%;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid #d0c9bd;border-radius:12px;padding:13px 16px;font:inherit;font-size:16px;color:#080b12;background:#fffdf9}.lp-dashboard .lpp-concern-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.lp-dashboard button.lpp-pill{border:1px solid #cfc7bb;border-radius:999px;padding:9px 14px;background:#fffcf6;color:#34333f;font-size:12px;font-weight:600;line-height:1.5;max-width:100%;white-space:normal;cursor:pointer;min-height:40px}.lp-dashboard button.lpp-pill[aria-pressed=true]{border-color:#9c83e2;background:#eee8ff;color:#4d347e}.lp-dashboard button.lpp-pill:hover{background:#080b12;color:#fff}.lp-dashboard .lpp-save-bar{position:sticky;bottom:12px;z-index:3;padding:14px;margin-top:20px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid #d9d2c6;border-radius:14px;background:#fffcf6;box-shadow:0 5px 20px #080b120c}.lp-dashboard .lpp-panel-disclosure .lp-catalog-grid{margin:24px 0}.lp-dashboard .lpp-panel-disclosure>div{min-width:0}@media(max-width:760px){.lp-dashboard .lpp-field-grid{grid-template-columns:1fr}.lp-dashboard .lpp-disclosure{padding:16px}.lp-dashboard .lpp-save-bar{bottom:8px}.lp-dashboard .lpp-save-bar button{width:100%}}
.lp .lpv-hero h1,.lp .lpv-hero h2{color:#fffcf6}.lp-guide-document .lp-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lp-guide-document [data-intelle-compare],.lp-guide-document label:has([data-intelle-compare]){display:none!important}.lp-guide-document .lpv-hero{margin-bottom:32px}.lp-guide-document .lpv-hero .lp-text-link{color:#f7f4ed}.lp-billing-page .lpv-hero{margin:24px 0 32px}.lpp-dialog ul{padding-left:20px;font-size:14px;line-height:1.9}.lpp-dialog .lpp-primary+.lpp-secondary,.lpp-dialog .lpp-secondary+.lpp-primary{margin-top:12px}.lp-dashboard .lp-actions+.lba-household{margin-top:20px}.lp-dashboard .lpp-details-form input[hidden]{display:none}
.lbpx-auth .lp-login-story{padding:36px;border:1px solid transparent;border-radius:24px;background:linear-gradient(155deg,#171527,#172c35,#28463f) padding-box,var(--lp-spectrum) border-box;color:#fffcf6}.lbpx-auth .lp-login-story h1,.lbpx-auth .lp-login-story .lp-text-link,.lbpx-auth .lp-login-story strong{color:#fffcf6}.lbpx-auth .lp-login-story p,.lbpx-auth .lp-login-story .lp-eyebrow{color:#d7d9df}.lbpx-dark .lp>.lp-hero{border:1px solid transparent;border-radius:24px;background:linear-gradient(155deg,#171527,#172c35,#28463f) padding-box,var(--lp-spectrum) border-box;padding:40px;margin-top:24px}
@media(max-width:760px){.lp-guide-document .lp-catalog-grid{grid-template-columns:1fr}.lbpx-auth .lp-login-story,.lbpx-dark .lp>.lp-hero{padding:26px 22px}.lp-guide-document .lpv-hero h1,.lp-billing-page .lpv-hero h1{font-size:35px}}
@media print{.lp-guide-document .lpv-hero,.lp-guide-document .lpv-hero h1{color:#080b12;background:#fff}.lp-guide-document .lpv-orbit{display:none}}

.lpp-dialog .lpp-person[aria-pressed=true]{background:#ece7ff;border-color:#9474d6;color:#39245e;box-shadow:inset 0 0 0 1px #9474d6}.lpp-dialog .lpp-person[aria-pressed=true]::after{content:'✓';float:right;font-weight:800}.lpp-dialog .lpp-secondary{margin:0 8px 10px 0}.lpp-dialog .lpp-secondary+.lpp-secondary{margin-left:0}.lp-stack-card>.lp-text-button{border:1px solid #d9d2c6;border-radius:10px;padding:10px 14px;margin:8px 8px 0 0}

/* Legacy workspace dialogs use the same approved Plus shell and controls. */
.lp-dialog{background:#fffcf6;border-color:#d9d2c6;border-radius:24px;padding:32px;max-height:calc(100dvh - 48px);overflow:auto}
.lp-dialog .lpp-brand{display:block;margin:0 36px 24px 0;color:#080b12}.lp-dialog>.lp-eyebrow{display:block;margin-top:20px}.lp-dialog .lp-dialog-close{display:grid;place-items:center;right:18px;top:18px;width:36px;height:36px;min-height:36px;padding:0;border:1px solid #d9d2c6;border-radius:50%;background:transparent;color:#080b12;font:23px/1 Manrope,Arial,sans-serif}
.lp-dialog button,.lp-dialog input,.lp-dialog select,.lp-dialog textarea{font-family:Manrope,Arial,sans-serif}.lp-dialog .lp-button{font-size:14px;font-weight:650;line-height:1.5;min-height:44px}.lp .lp-dialog input,.lp .lp-dialog select,.lp .lp-dialog textarea,.lp-dialog input,.lp-dialog select,.lp-dialog textarea{font-size:16px!important;box-sizing:border-box;max-width:100%;min-width:0}.lp-dialog h2{line-height:1.2;letter-spacing:-.04em}.lp-dialog :focus-visible{outline:2px solid #8066d8;outline-offset:3px}.lp-dialog .lp-dialog-close:hover{background:#ece7ff;color:#30224f}.lp-dialog button:disabled{opacity:.5;cursor:wait}
.lpp-dialog .lpp-primary{margin-top:12px}.lpp-dialog .lpp-error:empty{display:none}.lpv-how .lp-onboarding-steps{margin-bottom:24px}.lpv-how .lpp-disclosure{margin-top:0}
@media(max-width:760px){.lp-dialog{padding:26px 22px}.lp-dialog input[type=date]{appearance:none;-webkit-appearance:none;width:100%}.lp-dialog input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0}}

/* Joseph's design fixes, 2026-09-21 (Codex housekeeping polish). */
/* 1. Getting Started (desktop): the three step buttons share one baseline. */
.lp-dashboard .lp-onboarding-steps li{display:flex;flex-direction:column;align-items:flex-start}
.lp-dashboard .lp-onboarding-steps li>p{flex:1 0 auto}
.lp-dashboard .lp-onboarding-steps li>button{margin-top:24px}
/* 2. Getting Started (mobile): the step button belongs in the wide column, not the 28px number column. */
@media(max-width:760px){
  .lp-dashboard .lp-onboarding-steps li{display:grid}
  .lp-dashboard .lp-onboarding-steps li>button{grid-column:2;justify-self:start;margin-top:14px;white-space:nowrap}
}
/* 3. Household cards: breathing room between the metrics line and Open Profile. */
.lp-dashboard .lpp-profile-card>p{margin:0 0 22px}
/* 3b/5/7. Accordions: the disclosure arrow goes after the label, never before it. */
.lp-dashboard .lpp-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}
.lp-dashboard .lpp-disclosure>summary::-webkit-details-marker{display:none}
.lp-dashboard .lpp-disclosure>summary::after{content:'\25B8';font-size:11px;flex:none;transition:transform .18s ease}
.lp-dashboard .lpp-disclosure[open]>summary::after{transform:rotate(90deg)}
/* 4. Dialog close: no circle at all, and no oval from the 44px button min-height. */
.lpp-dialog .lpp-close{border:0;border-radius:0;min-height:0}
.lp-dialog .lp-dialog-close{border:0}
/* 5. Active profile tab: white text must beat the .lp-secondary !important. */
.lp-dashboard .lpp-profile-tabs button[aria-pressed=true]{background:#080b12;color:#fffcf6!important;border-color:#080b12}
/* 6. Budget: gap between the preset dropdown and the custom amount field. */
.lp-dashboard .lpp-details-form select+input{margin-top:14px}
/* 6b. Suggested panels: same breathing room between search and grid as the saved panels disclosure. */
.lp-dashboard .lpp-disclosure .lp-catalog-grid{margin:24px 0}
