
/* Soft daylight theme, keeping the original black palette available. */
body[data-theme="light"]{
 --bg:#f5f7f4;--bg-2:#eaf0e9;--panel:#ffffff;--panel-2:#f0f4ef;
 --text:#24372e;--muted:#617368;--accent:#34745b;--accent-2:#427587;--danger:#b34f50;
 --line:rgba(42,73,55,.12);--line-strong:rgba(42,73,55,.24);
 --shadow:0 16px 48px rgba(39,67,49,.08);--panel-glow:0 12px 36px rgba(39,67,49,.06);
 background:radial-gradient(ellipse at 90% 0%,#e5eee4,transparent 48%),#f5f7f4;color:var(--text);
}
body[data-theme="light"] .main::before{opacity:.07;filter:saturate(.35)}
body[data-theme="light"] .main::after{background:linear-gradient(90deg,rgba(245,247,244,.96),rgba(245,247,244,.78))}
body[data-theme="light"] .sidebar{background:rgba(239,244,237,.96);border-color:var(--line);box-shadow:8px 0 32px rgba(39,67,49,.035)}
body[data-theme="light"] .topbar{background:linear-gradient(#f5f7f4ee,#f5f7f4cc,transparent)}
body[data-theme="light"] :is(.panel,.goal-card,.goal-detail,.task-column,.task-insight,.metric-card,.horizon-card,.calendar-day,.calendar-event-item,.calendar-all-item,.review-card,.fact,.expense-category-card,.habit-card,.subtask-row,.planning-subtask-editor-row,.category-toggle,.block-manager-list__row,.life-card,.dashboard-widget,.life-faq){background:rgba(255,255,255,.93);color:var(--text);box-shadow:0 8px 30px rgba(39,67,49,.045);border-color:var(--line)}
body[data-theme="light"] :is(.hero-card,.hero-card--focus,.finance-panel,.finance-entry-panel,.inline-finance-form){background:linear-gradient(135deg,#ffffff,#edf4ec);box-shadow:var(--shadow)}
body[data-theme="light"] :is(.nav__item.active,.theme-choice__btn.active){background:#fff;color:#24583f;border-color:var(--line-strong);box-shadow:0 4px 18px #2743310a}
body[data-theme="light"] :is(.nav__item,.ghost-btn,.icon-btn,.row-action,.block-manage-controls button){color:var(--muted)}
body[data-theme="light"] :is(.primary-btn,.brand__mark,.whatdo-tab.active){background:#34745b;color:#fff;box-shadow:0 6px 18px #34745b24}
body[data-theme="light"] :is(.modal__dialog,.calendar-context-menu,.weekly-review-context-menu,.life-robot__panel,.block-manager-toolbar,.block-manage-controls){background:#fbfdf9;color:var(--text);border-color:var(--line);box-shadow:0 16px 55px #27433124}
body[data-theme="light"] :is(input,select,textarea,.field input,.field select,.field textarea,.life-inline-input input,.life-inline-input textarea){background:#fff;color:var(--text);border-color:var(--line-strong)}
body[data-theme="light"] :is(.progress i,.bar-track i){background:linear-gradient(90deg,#34745b,#8ab699)}
body[data-theme="light"] :is(.life-tabs,.theme-choice__btn,.dashboard-exact-toolbar,.dashboard-exact-empty){background:#edf3eb;color:var(--text);border-color:var(--line)}
body[data-theme="light"] :is(.dashboard-exact-toolbar__copy strong,.dashboard-exact-toolbar__copy span){color:var(--text)}
body[data-theme="light"] :is(.habit-check-ui,.subtask-check){background:#eaf1e7;color:#506c59;border-color:var(--line)}
body[data-theme="light"] :is(.habit-card.done .habit-check-ui,.subtask-row.done .subtask-check,.week-dot.done){background:#34745b;color:#fff}
body[data-theme="light"] .dashboard-source-add-btn{background:#f2f7ef;color:#34745b;border-color:var(--line-strong)}
body[data-theme="light"] .score-ring:after{background:#f5f7f4}
body[data-theme="light"] .score-ring{box-shadow:inset 0 0 0 10px #eaf0e9}
body.block-manager-active .layout-managed-item{overflow:visible!important}
body.block-manager-active .layout-managed-item>.block-manage-controls{position:relative;top:auto;right:auto;justify-content:flex-end;width:max-content;max-width:100%;margin:10px 0 4px auto}
body.block-manager-active .dashboard-source-add-btn{pointer-events:auto!important;position:relative;inset:auto;display:inline-flex;margin:6px;z-index:46}
body.block-manager-active .layout-managed-item .layout-managed-item{pointer-events:auto!important}
body[data-theme="light"].block-manager-active .layout-managed-item{outline-color:#34745b88}
.block-manage-controls button:focus-visible,.dashboard-exact-drag:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:650px){.dashboard-exact-toolbar__actions{flex-wrap:wrap}.dashboard-exact-toolbar{flex-wrap:wrap}}


