.life-planner{color:#f5f2ff}
.life-planner *{box-sizing:border-box}
.lp-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.4rem}
.lp-eyebrow{color:#bcacf1;font-size:.7rem;font-weight:700;letter-spacing:.18em;margin:0 0 .55rem}
.lp-title{font-size:clamp(1.7rem,5vw,2.35rem);margin:0;color:#fff;line-height:1.1}
.lp-subtitle{color:#bcbad5;line-height:1.5;margin:.6rem 0 0}
.lp-days{display:grid;grid-template-columns:repeat(7,minmax(72px,1fr));gap:8px;overflow-x:auto;padding:4px 2px 12px;scrollbar-width:thin}
.lp-day{font:inherit;text-align:left;border:1px solid #ffffff19;border-radius:16px;min-height:105px;padding:12px 10px;background:#1a1c34;color:#e4e0f5;cursor:pointer;display:flex;flex-direction:column;gap:6px}
.lp-day:hover{border-color:#9d8fce}.lp-day.is-selected{background:#49406d;border-color:#c8b5fb;box-shadow:0 0 20px #987ce544}
.lp-day-name{font-size:.74rem;color:#c5bedb;white-space:nowrap}.lp-day-number{font-size:1.35rem;line-height:1}.lp-day-count{font-size:.68rem;color:#aca5ca;margin-top:auto;white-space:nowrap}
.lp-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:16px 0}
.lp-date-label{display:grid;gap:6px;color:#beb9d6;font-size:.78rem;margin:0}
.lp-date-input{font:inherit;color:#f5f2ff;background:#17192d;border:1px solid #655d84;border-radius:10px;padding:9px;min-height:42px}
.lp-selected-date{margin:0;color:#ede9fb;font-size:1rem;font-weight:600;text-align:right}
.lp-tasks{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.lp-task{border:1px solid #ffffff1b;border-radius:16px;padding:15px;background:#1a1b31;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.lp-task-main{display:flex;flex:1 1 60%;align-items:flex-start;gap:12px;margin:0;cursor:pointer;min-width:0}
.lp-check{flex:none;margin:3px 0 0;accent-color:#bfa6ff;width:20px;height:20px;cursor:pointer}
.lp-task-body{display:grid;gap:5px;min-width:0}.lp-task-text{color:#f7f4ff;line-height:1.4;overflow-wrap:anywhere}
.lp-task-meta{color:#b0a5d0;font-size:.76rem}.lp-task.is-done .lp-task-text{text-decoration:line-through;color:#a6a2bd}
.lp-link{font:inherit;font-size:.77rem;color:#d0bfff;border:1px solid #706394;border-radius:10px;padding:9px 11px;background:transparent;cursor:pointer;white-space:nowrap}
.lp-empty{padding:28px 20px;border:1px dashed #6d648d;border-radius:16px;text-align:center;background:#17182b;color:#ece7fa}
.lp-empty p{max-width:350px;margin:8px auto 0;color:#aaa8c1;font-size:.9rem;line-height:1.5}
.lp-status,.lp-error{min-height:1.4em;color:#d5c6ff;font-size:.85rem}
.life-planner button:focus-visible,.life-planner input:focus-visible{outline:2px solid #e1d3ff;outline-offset:3px}
@media(max-width:480px){.lp-day{min-height:94px}.lp-task{align-items:stretch;flex-direction:column}.lp-link{align-self:flex-start}.lp-toolbar{align-items:start;flex-direction:column}.lp-selected-date{text-align:left}}

/* Shared visual roles for the daily plan. */
.life-planner{color:var(--text)}.lp-eyebrow{color:var(--accent);font-size:.75rem}.lp-title{font-size:1.75rem}.lp-subtitle{color:var(--muted)}
.lp-days{grid-template-columns:repeat(7,minmax(0,1fr));overflow:visible;gap:var(--space-2)}
.lp-day{min-width:0;min-height:90px;background:var(--surface);border-color:var(--line);border-radius:var(--radius);padding:var(--space-3);color:var(--text)}
.lp-day.is-selected{background:#4b426c;border-color:var(--accent);box-shadow:none}
.lp-day-name,.lp-day-count{color:#e0dced;font-size:.78rem;white-space:normal}.lp-day-number{font-size:1.2rem}
.lp-task{background:var(--surface);border-color:var(--line);border-radius:var(--radius);padding:var(--space-4);gap:var(--space-3)}
.lp-task-main{flex-basis:100%}.lp-task-text{font-size:1rem;font-weight:600}.lp-task-meta{font-size:.875rem;color:var(--muted)}
.lp-link,.lp-goal-link{min-height:44px;max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised);color:var(--text);font:inherit;font-size:.875rem;padding:9px 12px;cursor:pointer}
.lp-goal-link{flex:1 1 240px;border-color:transparent;background:transparent;color:var(--accent);padding-left:0}
.lp-details{flex-basis:100%;color:var(--muted);font-size:.95rem}.lp-details summary{min-height:32px}
.lp-date-input{background:#111624;border-color:#8991a6}.lp-empty{background:var(--surface);border-color:var(--line);color:var(--text)}.lp-status{color:var(--accent)}
@media(max-width:600px){.lp-days{grid-template-columns:repeat(4,minmax(0,1fr))}.lp-day{min-height:75px}.lp-toolbar{align-items:start;flex-direction:column}.lp-selected-date{text-align:left}.lp-task{align-items:stretch;flex-direction:column}.lp-goal-link{flex:auto}.lp-link{align-self:flex-start}}
@media(max-width:600px){.lp-task{flex-wrap:nowrap}.lp-task-main,.lp-details{flex-basis:auto;min-width:0}.lp-task>*{max-width:100%}.lp-note,.lp-details input:not([type=checkbox]),.lp-details select{max-width:100%}}
