.lifestyle-page{padding-block:1.25rem 4rem;--life-ink:#173f34;--life-soft:#eef3e9;--life-peach:#f6d6bd;--life-gold:#e8b957}.lifestyle-page h1,.lifestyle-page h2,.lifestyle-page h3{color:var(--life-ink)}
.lifestyle-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:2rem;min-height:285px;padding:clamp(1.5rem,4vw,3rem);overflow:hidden;border:1px solid color-mix(in srgb,var(--life-ink) 18%,transparent);border-radius:32px;background:linear-gradient(135deg,#f9f0dc 0 55%,#cfe2d2 55% 100%);box-shadow:0 20px 50px rgba(32,71,57,.09)}
.lifestyle-hero:before{content:"";position:absolute;right:8%;top:10%;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.48)}.lifestyle-hero>div,.lifestyle-hero img{position:relative;z-index:1}.lifestyle-hero h1{max-width:700px;margin:.25rem 0 .65rem;font-size:clamp(2.35rem,6vw,5rem);line-height:.94}.lifestyle-hero>div>p:not(.eyebrow){max-width:620px;font-size:1.08rem}.lifestyle-hero img{width:180px;height:180px;object-fit:contain;filter:drop-shadow(0 14px 14px rgba(32,71,57,.13))}
.lifestyle-privacy{display:flex;align-items:center;gap:.75rem;width:fit-content;margin-top:1.25rem;padding:.65rem .8rem;border-radius:15px;background:rgba(255,255,255,.7)}.lifestyle-privacy>span:first-child{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--life-ink);color:#fff}.lifestyle-privacy b,.lifestyle-privacy small{display:block}.lifestyle-privacy small{opacity:.72}
.lifestyle-jump{position:sticky;top:72px;z-index:7;display:flex;gap:.5rem;margin:1rem 0;padding:.55rem;overflow-x:auto;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--paper) 92%,transparent);box-shadow:0 8px 25px rgba(32,71,57,.06);backdrop-filter:blur(12px)}.lifestyle-jump a{flex:0 0 auto;padding:.62rem .9rem;border-radius:12px;color:var(--ink);font-weight:700;text-decoration:none}.lifestyle-jump a:hover,.lifestyle-jump a:focus-visible{background:var(--life-soft)}
.lifestyle-card{margin-top:1rem;padding:clamp(1.1rem,3vw,2rem);border:1px solid var(--line);border-radius:28px;background:var(--paper);box-shadow:0 16px 40px rgba(25,61,49,.07)}.lifestyle-section-head,.calendar-head,.deed-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.lifestyle-section-head h2,.calendar-head h2,.deed-heading h2{margin:.15rem 0 .35rem;font-size:clamp(1.55rem,3vw,2.25rem)}
.lifestyle-period-switch{display:flex;gap:.3rem;padding:.3rem;border-radius:14px;background:var(--life-soft)}.lifestyle-period-switch button{border:0;border-radius:10px;padding:.62rem .8rem;background:transparent;color:var(--ink);font-weight:800}.lifestyle-period-switch button[aria-pressed=true]{background:var(--paper);box-shadow:0 3px 12px rgba(25,61,49,.12)}
.lifestyle-checkin fieldset{margin:1.5rem 0 0;padding:0;border:0}.lifestyle-checkin legend{margin-bottom:.75rem;font-weight:800}.emotion-choice-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.65rem}.emotion-choice-grid label{cursor:pointer}.emotion-choice-grid input{position:absolute;opacity:0;pointer-events:none}.emotion-choice-grid span{display:grid;place-items:center;gap:.25rem;min-height:92px;padding:.7rem .3rem;text-align:center;border:1px solid var(--line);border-radius:18px;background:var(--surface,#f8f8f4);font-weight:750;transition:.18s ease}.emotion-choice-grid b{font-size:1.55rem;font-weight:500}.emotion-choice-grid input:checked+span{border-color:var(--life-ink);background:var(--life-soft);box-shadow:0 0 0 3px color-mix(in srgb,var(--life-ink) 15%,transparent);transform:translateY(-2px)}.emotion-choice-grid input:focus-visible+span{outline:3px solid var(--focus,#e8b957);outline-offset:2px}
.lifestyle-sliders{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.25rem 0}.lifestyle-sliders label{display:grid;grid-template-columns:1fr auto;gap:.6rem;padding:1rem;border-radius:18px;background:var(--life-soft);font-weight:800}.lifestyle-sliders input{grid-column:1/-1;width:100%;accent-color:var(--life-ink)}.lifestyle-checkin .field textarea{width:100%;margin-top:.4rem}.lifestyle-checkin-actions{display:flex;align-items:center;gap:1rem;margin-top:1rem}.lifestyle-checkin-actions p{margin:0;color:var(--life-ink);font-weight:700}
.lifestyle-tool-shelf{display:grid;grid-template-columns:minmax(190px,.7fr) 1.3fr;gap:1rem;margin-top:1.5rem;padding:1.2rem;border-radius:22px;background:linear-gradient(135deg,#173f34,#315f4d);color:#fff}.lifestyle-tool-shelf h3{margin:.1rem 0;color:#fff}.lifestyle-tool-shelf>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}.lifestyle-tool-shelf a{display:flex;justify-content:space-between;gap:1rem;padding:.8rem;border-radius:14px;background:rgba(255,255,255,.12);color:#fff;text-decoration:none;font-weight:700}.lifestyle-tool-shelf a:hover{background:rgba(255,255,255,.2)}
.lifestyle-two-column{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:1rem}.calendar-head>div:last-child{display:flex;align-items:center;gap:.45rem}.calendar-head button{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink)}.calendar-head strong{min-width:130px;text-align:center}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.35rem}.calendar-weekdays{margin:1.25rem 0 .4rem;text-align:center;font-size:.74rem;font-weight:800;opacity:.6}.calendar-day{display:grid;align-content:space-between;min-height:72px;padding:.5rem;border:1px solid transparent;border-radius:15px;background:var(--surface,#f7f7f2);color:var(--ink);text-align:left}.calendar-day:hover,.calendar-day.is-selected{border-color:var(--life-ink)}.calendar-day.is-today>span:first-child{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--life-ink);color:#fff}.calendar-day.is-muted{opacity:.38}.calendar-day[data-tone="3"]{background:#d4ead6}.calendar-day[data-tone="2"]{background:#e2eedc}.calendar-day[data-tone="-1"]{background:#e8e7ed}.calendar-day[data-tone="-2"]{background:#e6dce6}.calendar-day[data-tone="-3"]{background:#e3d6df}.calendar-marks{display:flex;gap:.25rem;justify-content:flex-end}.emotion-mark,.task-mark{width:7px;height:7px;border-radius:50%;background:#d99b52}.task-mark{border-radius:2px;background:#537f70}
.lifestyle-day-detail{margin-top:1rem;padding:1rem;border-radius:18px;background:var(--life-soft)}.lifestyle-day-detail h3{margin:.1rem 0}.lifestyle-day-detail ul{display:grid;gap:.55rem;margin:.8rem 0;padding:0;list-style:none}.lifestyle-day-detail li{display:grid;grid-template-columns:auto 1fr auto;gap:.7rem;align-items:start;padding:.65rem;border-radius:14px;background:var(--paper)}.lifestyle-day-detail li>span{font-size:1.4rem}.lifestyle-day-detail small,.lifestyle-day-detail li p{display:block;margin:.2rem 0 0}.lifestyle-day-detail li button{border:0;background:transparent;color:inherit;font-size:1.25rem}.day-tasks{display:flex;flex-wrap:wrap;gap:.4rem;margin:.75rem 0}.day-tasks span{padding:.4rem .55rem;border-radius:8px;background:var(--paper)}.day-tasks .is-done{text-decoration:line-through;opacity:.55}.text-button{border:0;background:transparent;color:var(--life-ink);font-weight:800}
.lifestyle-deed{position:relative;overflow:hidden;background:linear-gradient(155deg,#fff7df,#f5e3bd)}.lifestyle-deed:after{content:"";position:absolute;right:-45px;bottom:-45px;width:150px;height:150px;border:24px solid rgba(49,87,70,.08);border-radius:50%}.deed-heading{justify-content:flex-start}.deed-mark,.reminder-bell{display:grid;place-items:center;flex:0 0 auto;width:50px;height:50px;border-radius:17px;background:var(--life-ink);color:#fff;font-size:1.6rem}.deed-category{display:inline-block;margin-top:1rem;padding:.35rem .55rem;border-radius:8px;background:rgba(49,87,70,.1);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.lifestyle-deed-card p,#lifestyle-deed-card>p{position:relative;z-index:1;margin:1rem 0;font-family:var(--display,Georgia,serif);font-size:clamp(1.45rem,3vw,2.15rem);line-height:1.2;color:var(--life-ink)}#lifestyle-deed-card>div{display:flex;flex-wrap:wrap;gap:.5rem}#lifestyle-deed-card small{display:block;margin-top:.75rem;line-height:1.45}
.lifestyle-task-form{display:grid;grid-template-columns:1.3fr .8fr .55fr auto;gap:.7rem;align-items:end;margin:1.25rem 0}.lifestyle-task-form .field{display:grid;gap:.35rem}.lifestyle-task-notes{grid-column:1/4}.lifestyle-task-form input{width:100%}.task-board-columns{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.task-board-columns>div{min-width:0;padding:1rem;border-radius:20px;background:var(--life-soft)}.lifestyle-task,.focus-import-task{display:grid;grid-template-columns:auto 1fr auto;gap:.65rem;align-items:start;margin-top:.55rem;padding:.8rem;border:1px solid var(--line);border-radius:15px;background:var(--paper)}.focus-import-task{grid-template-columns:1fr auto}.lifestyle-task small,.focus-import-task small{display:block;margin-top:.15rem}.lifestyle-task p{margin:.35rem 0 0}.lifestyle-task>div:last-child{display:grid;gap:.3rem}.lifestyle-task button,.focus-import-task button{padding:.38rem .5rem;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);font-weight:700;font-size:.76rem}.lifestyle-task.is-done strong{text-decoration:line-through;opacity:.58}.lifestyle-empty{margin:.6rem 0;opacity:.7}
.lifestyle-reminders form{display:grid;grid-template-columns:1fr auto 1fr auto;gap:.7rem;align-items:center;margin-top:1.2rem}.lifestyle-reminders form label{font-weight:800}.lifestyle-reminders form button{margin-top:.4rem}.reminder-limit{margin-top:1rem;padding:1rem;border-left:3px solid var(--life-gold);border-radius:0 12px 12px 0;background:var(--life-soft);font-size:.9rem}.lifestyle-reminders [role=status]{font-weight:700;color:var(--life-ink)}
[data-theme=dark] .lifestyle-page{--life-ink:#d8eee1;--life-soft:#213b32}[data-theme=dark] .lifestyle-hero{background:linear-gradient(135deg,#283d35 0 55%,#355346 55% 100%)}[data-theme=dark] .lifestyle-deed{background:linear-gradient(155deg,#3b3524,#302e25)}[data-theme=dark] .calendar-day[data-tone]{color:var(--ink)}
@media(max-width:900px){.emotion-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.lifestyle-two-column{grid-template-columns:1fr}.lifestyle-task-form{grid-template-columns:1fr 1fr}.lifestyle-task-notes{grid-column:1/3}.lifestyle-reminders form{grid-template-columns:1fr auto}}
@media(max-width:680px){.lifestyle-page{padding-top:.5rem}.lifestyle-hero{grid-template-columns:1fr 105px;gap:.5rem;min-height:240px;padding:1.25rem;border-radius:24px}.lifestyle-hero h1{font-size:clamp(2.35rem,13vw,3.8rem)}.lifestyle-hero img{width:110px;height:130px;align-self:end}.lifestyle-privacy{grid-column:1/-1}.lifestyle-jump{top:60px;margin-inline:-.25rem}.lifestyle-card{border-radius:22px}.lifestyle-section-head{display:block}.lifestyle-period-switch{width:100%;margin-top:1rem}.lifestyle-period-switch button{flex:1}.emotion-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lifestyle-sliders,.lifestyle-tool-shelf,.task-board-columns{grid-template-columns:1fr}.lifestyle-tool-shelf>div:last-child{grid-template-columns:1fr}.calendar-day{min-height:56px;padding:.35rem}.calendar-weekdays,.calendar-grid{gap:.2rem}.lifestyle-task-form{grid-template-columns:1fr}.lifestyle-task-notes{grid-column:auto}.lifestyle-task-form .button{width:100%}.lifestyle-reminders form{grid-template-columns:1fr}.lifestyle-reminders form input[type=time]{width:100%}}
@media(max-width:420px){.lifestyle-hero{grid-template-columns:1fr}.lifestyle-hero img{position:absolute;right:-5px;bottom:-15px;opacity:.28}.lifestyle-privacy{max-width:85%}.emotion-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lifestyle-checkin-actions{align-items:flex-start;flex-direction:column}.calendar-head{display:block}.calendar-head>div:last-child{margin-top:.65rem;justify-content:space-between}.calendar-head strong{min-width:0}.lifestyle-task{grid-template-columns:auto 1fr}.lifestyle-task>div:last-child{grid-column:2}.focus-import-task{grid-template-columns:1fr}.focus-import-task button{width:100%}}
/* Lifestyle 2: focused views, persistent forms, calm illustrated overview. */
body.app-body #main .lifestyle-page{--life-ink:var(--ui-ink);--life-soft:var(--ui-soft);max-width:1300px}
.life-panel[hidden]{display:none!important}.life-panel{outline-offset:5px}.life-panel:focus:not(:focus-visible){outline:none}
body.app-body #main .lifestyle-hero{display:grid;grid-template-columns:1fr minmax(220px,39%);gap:1.5rem;min-height:205px;padding:1.8rem 2rem;border-radius:24px;background:var(--ui-paper);box-shadow:none}
.lifestyle-hero:before{display:none}body.app-body #main .lifestyle-hero h1{font-size:clamp(2.1rem,4.3vw,3.5rem);margin:.3rem 0 .6rem;line-height:1.03}.lifestyle-hero>div>p:not(.eyebrow){font-size:14px;max-width:40ch;color:var(--ui-muted)}
.life-hero-scene{display:block;width:100%;height:170px;border-radius:18px;overflow:hidden}.life-date{display:inline-flex;gap:.5rem;align-items:center;font-size:12px;color:var(--ui-muted)}.life-date .ui-symbol{color:#b28241}
.lifestyle-tabs{position:sticky;top:80px;z-index:8;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:18px 0;padding:6px;border:1px solid var(--ui-line);border-radius:17px;background:var(--ui-paper);box-shadow:var(--ui-shadow)}.lifestyle-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:8px;border:0;border-radius:12px;background:transparent;color:var(--ui-muted);font:650 13px system-ui;cursor:pointer}.lifestyle-tabs button:hover{background:var(--ui-soft)}.lifestyle-tabs button[aria-selected=true]{background:var(--ui-green);color:var(--ui-paper)}
.life-today-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 16px}.life-today-heading h2{margin:3px 0;font:400 26px Georgia,serif}.life-privacy-link{display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid var(--ui-line);border-radius:30px;background:var(--ui-paper);color:var(--ui-muted);font-size:10px;white-space:nowrap}
.life-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.life-overview-card{display:grid;grid-template-columns:62px 1fr;align-items:center;gap:12px;position:relative;min-height:148px;padding:20px 18px;border:1px solid var(--ui-line);border-radius:20px;background:var(--ui-paper);color:var(--ui-ink);text-align:left;cursor:pointer;box-shadow:var(--ui-shadow)}.life-overview-card>span:nth-child(2){display:grid;gap:6px}.life-overview-card small{font:700 8px system-ui;letter-spacing:1.1px;color:var(--ui-muted)}.life-overview-card strong{font:400 20px/1.12 Georgia,serif;letter-spacing:-.3px}.life-overview-card>span:nth-child(2)>span{font:11px/1.5 system-ui;color:var(--ui-muted)}.life-overview-card>.ui-symbol{position:absolute;bottom:12px;right:12px;width:16px}.life-overview-icon{display:flex;width:62px;height:75px;overflow:hidden;border-radius:18px}.life-overview-icon .ui-resource{width:100%;height:100%}.life-peach{background:linear-gradient(130deg,var(--ui-paper),#faeee1)}.life-sage{background:linear-gradient(130deg,var(--ui-paper),#e9efdf)}.life-blue{background:linear-gradient(130deg,var(--ui-paper),#e9eff0)}
.life-today-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;margin:20px 0}.life-today-grid .lifestyle-card{height:100%;margin:0}.life-today-grid .lifestyle-deed{padding:26px;background:linear-gradient(135deg,#fbf3de,#f7e9c8);box-shadow:none}.life-today-grid #lifestyle-deed-title{font-size:25px}#lifestyle-deed-card>p{font-size:25px;line-height:1.28;min-height:95px}.deed-mark{width:42px;height:42px;background:#fff8e7;color:#8f6936;border:1px solid #dac69a}.deed-mark .ui-symbol{width:25px;height:25px}.life-daily-tools{display:grid;grid-template-rows:140px 1fr;overflow:hidden;border:1px solid var(--ui-line);border-radius:28px;background:var(--ui-paper)}.life-section-art{overflow:hidden;background:var(--ui-soft)}.life-section-art .ui-resource{display:block;width:100%;height:100%}.life-daily-tools>div:last-child{padding:22px}.life-daily-tools h3{margin:4px 0 12px}#life-today-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}#life-today-tools a{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:11px;border:1px solid var(--ui-line);border-radius:12px;color:var(--ui-ink);font-size:12px;text-decoration:none}#life-today-tools a:hover{background:var(--ui-soft)}#life-today-tools .ui-symbol{width:15px}
.life-panel.lifestyle-card{background:var(--ui-paper);margin-top:0;box-shadow:none}.life-panel .lifestyle-section-head p{max-width:60ch;font-size:13px;color:var(--ui-muted)}.life-panel.lifestyle-checkin{padding:clamp(18px,3vw,32px)}.life-panel .emotion-choice-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.life-panel .emotion-choice-grid span{padding:8px;min-height:115px;gap:6px;border-radius:18px;background:var(--ui-input);font-size:12px}.life-emotion-face{display:block;width:62px;height:67px;margin:auto;border-radius:40%;overflow:hidden}.life-panel .emotion-choice-grid input:checked+span{background:var(--ui-soft);border-color:var(--ui-green);box-shadow:0 0 0 2px var(--ui-line)}
.life-checkin-detail{margin:20px 0 12px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-soft);padding:14px 16px}.life-checkin-detail summary{cursor:pointer;font-size:13px;font-weight:650}.life-checkin-detail summary span{font-size:11px;font-weight:400;color:var(--ui-muted)}.life-checkin-detail .lifestyle-sliders{margin:12px 0}.life-checkin-detail .lifestyle-sliders label{background:var(--ui-paper)}.life-panel .lifestyle-tool-shelf{grid-template-columns:1fr;background:var(--ui-soft);color:var(--ui-ink);padding:20px}.life-panel .lifestyle-tool-shelf h3{color:var(--ui-ink);font-size:20px!important}.life-panel .lifestyle-tool-shelf a{background:var(--ui-paper);border:1px solid var(--ui-line);color:var(--ui-ink);font-size:12px}
.life-panel.lifestyle-calendar .calendar-day{min-height:85px}.life-panel .lifestyle-day-detail{background:var(--ui-soft)}.life-panel .lifestyle-day-detail li{background:var(--ui-paper)}.life-panel .calendar-day{color:#244b3e}.life-panel .calendar-day.is-selected{outline:2px solid var(--ui-green);outline-offset:1px}.life-panel .calendar-day.is-today>span:first-child{background:#285443;color:#fffdf6}
.life-panel .task-board-columns>div{background:var(--ui-soft)}.life-panel .lifestyle-task,.life-panel .focus-import-task{background:var(--ui-paper)}.life-panel .lifestyle-empty{display:grid;justify-items:center;align-content:center;min-height:190px;padding:15px;text-align:center}.life-panel .lifestyle-empty>.ui-resource{height:75px;width:125px;margin:0 0 10px;border-radius:16px}.life-panel .lifestyle-empty b{font:400 19px Georgia,serif}.life-panel .lifestyle-empty p{font-size:12px;max-width:26ch;margin:.4rem 0}.life-panel .reminder-bell{background:var(--ui-soft);color:var(--ui-ink)}.life-panel .lifestyle-reminder-form{gap:15px}
.life-panel [role=status]:not(:empty){padding:10px 14px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-soft);font-size:12px}.life-panel [role=status]:empty{margin:0}.life-panel .reminder-limit{font-size:12px;line-height:1.6}
html[data-theme=dark] body.app-body #main .lifestyle-hero,html[data-theme=dark] body.app-body #main .life-overview-card{background:var(--ui-paper)}html[data-theme=dark] .lifestyle-tabs button[aria-selected=true]{color:#183829}html[data-theme=dark] body.app-body #main .life-today-grid .lifestyle-deed{background:var(--ui-soft)}html[data-theme=dark] .life-emotion-face,html[data-theme=dark] .life-overview-icon{box-shadow:0 0 0 1px #617b6455}html[data-theme=dark] body.app-body #main .calendar-day:not(.is-today) :is(span,i){color:#203e34!important}html[data-theme=dark] body.app-body #main .calendar-day.is-today>span:first-child{color:#fffdf6!important}
@media(max-width:1100px){.life-overview{grid-template-columns:1fr}.life-overview-card{grid-template-columns:54px 1fr;min-height:103px;padding:14px 20px}.life-overview-icon{width:50px;height:60px}.life-overview-card>span:nth-child(2){gap:4px}.life-overview-card>.ui-symbol{position:static;grid-column:3;grid-row:1}.life-today-grid{grid-template-columns:1fr 1fr}.life-panel .emotion-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){body.app-body #main .lifestyle-hero{grid-template-columns:1fr 32%;gap:12px;min-height:180px;padding:20px}.life-hero-scene{height:140px}.lifestyle-tabs{top:66px}.life-today-heading{align-items:flex-start}.life-privacy-link{font-size:0;padding:8px}.life-privacy-link .ui-symbol{width:17px;height:17px}.life-today-heading h2{font-size:24px}.life-today-grid{grid-template-columns:1fr}.life-panel .emotion-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.life-panel.lifestyle-calendar .calendar-day{min-height:60px}.life-panel .task-board-columns{grid-template-columns:1fr}}
@media(max-width:480px){body.app-body #main .lifestyle-page{padding:14px 12px 40px}body.app-body #main .lifestyle-hero{grid-template-columns:1fr;min-height:0;padding:20px}.life-hero-scene{display:none}.lifestyle-tabs{top:64px;gap:2px;margin:12px 0;padding:4px;border-radius:14px}.lifestyle-tabs button{flex-direction:column;gap:4px;padding:9px 2px;min-height:57px;font-size:10px;border-radius:10px}.lifestyle-tabs .ui-symbol{width:18px;height:18px}.life-today-heading{margin:22px 0 13px}.life-overview-card{border-radius:16px}.life-overview-card strong{font-size:20px}.life-panel .emotion-choice-grid{gap:7px}.life-panel .emotion-choice-grid span{padding:6px 3px;min-height:100px;font-size:11px}.life-emotion-face{width:50px;height:55px}.life-panel .lifestyle-sliders{grid-template-columns:1fr}.life-today-grid .lifestyle-deed{padding:20px}.life-panel .calendar-head{display:block}.life-panel .calendar-head>div:last-child{display:flex;justify-content:space-between;margin-top:15px}.life-panel .calendar-head strong{min-width:0}#life-today-tools{grid-template-columns:1fr}.life-panel .lifestyle-period-switch{width:100%}}
.life-privacy-info{position:relative}.life-privacy-info summary{cursor:pointer;list-style:none}.life-privacy-info summary::-webkit-details-marker{display:none}.life-privacy-info>p{position:absolute;right:0;z-index:10;width:min(270px,75vw);margin:7px 0;padding:15px;background:var(--ui-paper);border:1px solid var(--ui-line);box-shadow:var(--ui-shadow);border-radius:12px;font-size:12px;line-height:1.6}.life-task-progress{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:conic-gradient(#4e7c64 var(--completion),#dce5d7 0)}.life-task-progress>span{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:var(--ui-paper);color:var(--ui-ink);font:700 12px system-ui}

/* Reactivated Lifestyle UI sprite basics: scoped so the old global illustration stylesheet is not required. */
body.app-body #main .lifestyle-page .ui-resource{display:inline-block;overflow:hidden;vertical-align:middle;flex:none;pointer-events:none;max-width:100%;}
body.app-body #main .lifestyle-page .ui-resource image{pointer-events:none;}
body.app-body #main .lifestyle-page .ui-symbol{display:inline-block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;}
body.app-body #main .lifestyle-page .life-hero-scene{width:100%;height:170px;display:block;}
/* Reactivated Lifestyle UI sprite basics */


/* Lifestyle stream: every everyday module is visible in a single, calm scroll. */
body.app-body #main .lifestyle-page{
 max-width:980px;width:100%;padding:18px clamp(12px,2.7vw,28px) 115px;
 color:var(--ui-ink);line-height:1.5;
}
body.app-body #main .lifestyle-page .lifestyle-hero{
 grid-template-columns:minmax(0,1fr) 130px;gap:14px;min-height:0;
 padding:clamp(18px,3vw,26px);border-radius:20px;margin:0;
 border:1px solid var(--ui-line);box-shadow:none;background:var(--ui-paper);
}
body.app-body #main .lifestyle-page .lifestyle-hero h1{
 font:500 clamp(27px,3.5vw,36px)/1.15 Georgia,serif;margin:3px 0 7px;
}
body.app-body #main .lifestyle-page .life-hero-scene{
 height:105px;max-height:105px;align-self:center;object-fit:contain;
}
body.app-body #main .lifestyle-page .life-date{margin-top:10px}
body.app-body #main .lifestyle-page .life-mode-switch{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;
 margin:14px 0;padding:5px;max-width:100%;
 border-radius:16px;background:var(--ui-soft);border:1px solid var(--ui-line);
}
body.app-body #main .lifestyle-page .life-mode-switch a{
 display:flex;align-items:center;justify-content:center;gap:8px;
 min-width:0;min-height:46px;padding:9px;border-radius:11px;
 text-decoration:none;font:750 14px/1.3 system-ui,sans-serif;
 color:var(--ui-ink);
}
body.app-body #main .lifestyle-page .life-mode-switch a[aria-current="page"]{
 background:#2e7051;color:#fff;box-shadow:0 2px 6px #173f3416;
}
body.app-body #main .lifestyle-page .life-mode-switch a:focus-visible,
body.app-body #main .lifestyle-page :is(button,input,textarea,a,select):focus-visible{
 outline:3px solid #b58543;outline-offset:2px;
}
body.app-body #main .lifestyle-page .life-glance{
 background:var(--ui-paper);border:1px solid var(--ui-line);
 padding:18px;border-radius:18px;margin:0 0 14px;
}
body.app-body #main .lifestyle-page .life-glance-heading{
 display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px;
}
body.app-body #main .lifestyle-page .life-glance-heading h2{font:500 22px/1.2 Georgia,serif;margin:0}
body.app-body #main .lifestyle-page .life-glance-heading .eyebrow{margin:0;font-size:10px}
body.app-body #main .lifestyle-page .life-overview{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
}
body.app-body #main .lifestyle-page .life-glance-item{
 display:flex;align-items:center;gap:11px;min-width:0;padding:13px;
 background:var(--ui-soft);border-radius:13px;
}
body.app-body #main .lifestyle-page .life-glance-item>span:last-child{display:grid;gap:3px;min-width:0}
body.app-body #main .lifestyle-page .life-glance-item small{font:750 10px/1.3 system-ui,sans-serif;letter-spacing:.045em;color:var(--ui-muted)}
body.app-body #main .lifestyle-page .life-glance-item strong{font:600 17px/1.3 system-ui,sans-serif}
body.app-body #main .lifestyle-page .life-glance-item span span{font:400 12px/1.45 system-ui,sans-serif;color:var(--ui-muted)}
body.app-body #main .lifestyle-page .life-glance-icon{
 flex:none;display:grid;place-items:center;width:36px;height:36px;
 border-radius:11px;background:var(--ui-paper);
}
body.app-body #main .lifestyle-page .life-dashboard-flow{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;
}
body.app-body #main .lifestyle-page .lifestyle-card{
 min-width:0;margin:0;padding:clamp(16px,2.6vw,25px);
 border:1px solid var(--ui-line);border-radius:18px;
 box-shadow:none;background:var(--ui-paper);
}
body.app-body #main .lifestyle-page :is(#lifestyle-deed,#lifestyle-checkin){grid-column:1/-1}
body.app-body #main .lifestyle-page .lifestyle-section-head{gap:12px;flex-wrap:wrap}
body.app-body #main .lifestyle-page .lifestyle-section-head h2,
body.app-body #main .lifestyle-page .calendar-head h2,
body.app-body #main .lifestyle-page .deed-heading h2{
 margin:2px 0 7px;font:500 clamp(20px,2.5vw,26px)/1.25 Georgia,serif;
}
body.app-body #main .lifestyle-page .lifestyle-section-head p{margin:0;color:var(--ui-muted);font:400 13px/1.5 system-ui,sans-serif}
body.app-body #main .lifestyle-page .lifestyle-deed{
 background:var(--ui-paper);overflow:hidden;
}
body.app-body #main .lifestyle-page #lifestyle-deed-card>p{
 min-height:0;max-width:67ch;margin:10px 0 14px;
 font:500 clamp(19px,2.6vw,25px)/1.4 Georgia,serif;
}
body.app-body #main .lifestyle-page #lifestyle-deed-card>div{display:flex;flex-wrap:wrap;gap:8px}
body.app-body #main .lifestyle-page #lifestyle-deed-card>small{display:block;margin-top:8px;font-size:12px;line-height:1.45}
body.app-body #main .lifestyle-page .deed-mark{width:39px;height:39px}
body.app-body #main .lifestyle-page .lifestyle-period-switch{display:flex;flex-wrap:wrap}
body.app-body #main .lifestyle-page .lifestyle-period-switch button{min-height:39px;padding:7px 12px}
body.app-body #main .lifestyle-page .emotion-choice-grid{
 display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;
}
body.app-body #main .lifestyle-page .emotion-choice-grid span{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 min-height:96px;gap:5px;padding:9px 4px;
 border-radius:13px;font-size:12px;
}
body.app-body #main .lifestyle-page .life-emotion-face{
 width:52px;height:52px;margin:0 auto;border-radius:50%;
}
body.app-body #main .lifestyle-page .life-checkin-detail{
 margin:14px 0 0;padding:14px;background:var(--ui-soft);border:0;border-radius:14px;
}
body.app-body #main .lifestyle-page .life-form-label{margin:0 0 8px;font:700 12px/1.4 system-ui,sans-serif;color:var(--ui-muted)}
body.app-body #main .lifestyle-page .life-checkin-detail .lifestyle-sliders{margin:6px 0 12px;gap:10px}
body.app-body #main .lifestyle-page .life-checkin-detail .lifestyle-sliders label{padding:10px 12px;border-radius:11px}
body.app-body #main .lifestyle-page .life-checkin-detail textarea{min-height:70px}
body.app-body #main .lifestyle-page .lifestyle-checkin-actions{margin-top:13px}
body.app-body #main .lifestyle-page .lifestyle-tool-shelf{
 grid-column:1/-1;display:grid;grid-template-columns:1fr;
 background:var(--ui-paper);color:var(--ui-ink);
 border:1px solid var(--ui-line);border-radius:18px;
 margin:0;padding:18px;box-shadow:none;gap:12px;
}
body.app-body #main .lifestyle-page .lifestyle-tool-shelf h3{font:500 22px Georgia,serif;color:var(--ui-ink)}
body.app-body #main .lifestyle-page .lifestyle-tool-shelf>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body.app-body #main .lifestyle-page .lifestyle-tool-shelf a{
 display:flex;align-items:center;justify-content:space-between;gap:9px;
 padding:12px;border:1px solid var(--ui-line);border-radius:11px;
 background:var(--ui-soft);color:var(--ui-ink);text-decoration:none;font:600 12px/1.4 system-ui,sans-serif;
}
body.app-body #main .lifestyle-page .lifestyle-task-form{gap:10px}
body.app-body #main .lifestyle-page .lifestyle-task-form :is(input,textarea){min-width:0}
body.app-body #main .lifestyle-page .lifestyle-task-form .button{min-height:43px}
body.app-body #main .lifestyle-page .task-board-columns{grid-template-columns:1fr;gap:10px}
body.app-body #main .lifestyle-page .task-board-columns>div{padding:12px;border-radius:13px;background:var(--ui-soft);min-width:0}
body.app-body #main .lifestyle-page .task-board-columns>div h3{margin:0 0 9px;font-size:16px}
body.app-body #main .lifestyle-page .lifestyle-task,
body.app-body #main .lifestyle-page .focus-import-task{max-width:100%;overflow-wrap:anywhere}
body.app-body #main .lifestyle-page .lifestyle-empty{min-height:95px;text-align:center}
body.app-body #main .lifestyle-page .lifestyle-empty>.ui-resource{width:90px;height:55px}
body.app-body #main .lifestyle-page .calendar-day{min-height:55px}
body.app-body #main .lifestyle-page .calendar-head{flex-wrap:wrap}
body.app-body #main .lifestyle-page .calendar-head>div:last-child{
 display:flex;align-items:center;gap:7px;flex-wrap:nowrap;
}
body.app-body #main .lifestyle-page .calendar-head strong{font-size:13px;text-align:center}
body.app-body #main .lifestyle-page .lifestyle-day-detail{padding:12px;border-radius:12px}
body.app-body #main .lifestyle-page .lifestyle-reminders form{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 align-items:center;gap:9px 12px;
}
body.app-body #main .lifestyle-page .lifestyle-reminders form :is(label,input,button){min-width:0}
body.app-body #main .lifestyle-page .lifestyle-reminders form label{font-size:13px}
body.app-body #main .lifestyle-page .lifestyle-reminders form :is(button){width:100%;min-height:43px}
body.app-body #main .lifestyle-page .reminder-limit{font-size:11px;margin-top:13px;line-height:1.5}
body.app-body #main .lifestyle-page :is(.life-glance-item,#lifestyle-deed,#lifestyle-checkin,#lifestyle-tasks,#lifestyle-calendar,#lifestyle-reminders,.lifestyle-tool-shelf){scroll-margin-top:90px}
/* SimplyFocus lives in Lifestyle; its storage and controls remain unchanged. */
body.app-body #main .lifestyle-page .life-compact-heading{
 padding:8px 0 2px;
}
body.app-body #main .lifestyle-page .life-compact-heading h1{
 margin:4px 0 7px;font:500 clamp(27px,4vw,38px)/1.15 Georgia,serif;
}
body.app-body #main .lifestyle-page .life-compact-heading p:not(.eyebrow){margin:0;color:var(--ui-muted);font-size:14px}
body.app-body #main .lifestyle-page .life-focus-host{min-width:0}
body.app-body #main .lifestyle-page .life-focus-host .simplyfocus-page{
 max-width:100%;width:100%;padding:0;margin:0;
}
body.app-body #main .lifestyle-page .life-focus-host .focus-intro{
 padding:12px 0 14px;
}
body.app-body #main .lifestyle-page .life-focus-host .focus-intro h2{
 margin:0 0 7px;font:500 25px/1.25 Georgia,serif;color:var(--ui-ink);
}
body.app-body #main .lifestyle-page .life-focus-host .focus-intro .lead{
 font-size:13px;line-height:1.5;margin:0;max-width:70ch;
}
body.app-body #main .lifestyle-page .life-focus-host :is(.focus-mixer,.timed-breathing-card,.pomodoro-card){
 border-radius:17px;box-shadow:none;
}
@media(max-width:800px){
 body.app-body #main .lifestyle-page .life-dashboard-flow{grid-template-columns:1fr}
 body.app-body #main .lifestyle-page .life-dashboard-flow>*{grid-column:1/-1}
 body.app-body #main .lifestyle-page .emotion-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.app-body #main .lifestyle-page .life-focus-host .focus-mixer-head{grid-template-columns:1fr}
 body.app-body #main .lifestyle-page .life-focus-host .focus-tracks{grid-template-columns:1fr}
}
@media(max-width:520px){
 body.app-body #main .lifestyle-page{padding:12px 12px 105px}
 body.app-body #main .lifestyle-page .lifestyle-hero{
  grid-template-columns:1fr;min-height:0;padding:17px;border-radius:17px;
 }
 body.app-body #main .lifestyle-page .life-hero-scene{display:none}
 body.app-body #main .lifestyle-page .lifestyle-hero h1{font-size:29px;margin:3px 0}
 body.app-body #main .lifestyle-page .life-mode-switch{margin:11px 0}
 body.app-body #main .lifestyle-page .life-mode-switch a{min-height:44px;font-size:13px}
 body.app-body #main .lifestyle-page .life-glance{padding:13px;margin-bottom:12px}
 body.app-body #main .lifestyle-page .life-glance-heading h2{font-size:20px}
 body.app-body #main .lifestyle-page .life-overview{grid-template-columns:1fr;gap:7px}
 body.app-body #main .lifestyle-page .life-glance-item{padding:10px}
 body.app-body #main .lifestyle-page .life-dashboard-flow{gap:12px}
 body.app-body #main .lifestyle-page .lifestyle-card{padding:16px;border-radius:15px}
 body.app-body #main .lifestyle-page .lifestyle-section-head h2,
 body.app-body #main .lifestyle-page .deed-heading h2{font-size:21px}
 body.app-body #main .lifestyle-page .lifestyle-period-switch{width:100%}
 body.app-body #main .lifestyle-page .lifestyle-period-switch button{flex:1}
 body.app-body #main .lifestyle-page .emotion-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 body.app-body #main .lifestyle-page .emotion-choice-grid span{min-height:79px;font-size:11px;padding:6px 2px;gap:4px}
 body.app-body #main .lifestyle-page .life-emotion-face{width:39px;height:39px}
 body.app-body #main .lifestyle-page .life-checkin-detail{padding:10px;margin-top:11px}
 body.app-body #main .lifestyle-page .life-checkin-detail .lifestyle-sliders{grid-template-columns:1fr;gap:8px}
 body.app-body #main .lifestyle-page .lifestyle-task-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body.app-body #main .lifestyle-page .lifestyle-task-form>.field:first-child,
 body.app-body #main .lifestyle-page .lifestyle-task-form .lifestyle-task-notes,
 body.app-body #main .lifestyle-page .lifestyle-task-form>.button{grid-column:1/-1}
 body.app-body #main .lifestyle-page .lifestyle-reminders form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body.app-body #main .lifestyle-page .calendar-day{min-height:43px}
 body.app-body #main .lifestyle-page .calendar-head>div:last-child{width:100%;justify-content:space-between}
 body.app-body #main .lifestyle-page .lifestyle-tool-shelf>div:last-child{grid-template-columns:1fr;gap:7px}
 body.app-body #main .lifestyle-page .lifestyle-tool-shelf{padding:14px}
 body.app-body #main .lifestyle-page .life-focus-host :is(.focus-mixer,.timed-breathing-card,.pomodoro-card){padding:15px}
 body.app-body #main .lifestyle-page .life-focus-host .focus-track{
  grid-template-columns:30px minmax(0,1fr) 52px;gap:8px;
  min-height:68px;padding:9px;
 }
 body.app-body #main .lifestyle-page .life-focus-host .focus-track-icon{width:30px;height:30px;font-size:17px}
 body.app-body #main .lifestyle-page .life-focus-host .focus-track input{grid-column:2/4;width:100%}
 body.app-body #main .lifestyle-page .life-focus-host .focus-track-value{grid-column:3;grid-row:1}
 body.app-body #main .lifestyle-page .life-focus-host .focus-track-copy small{font-size:11px}
 body.app-body #main .lifestyle-page .life-focus-host .pomodoro-modes{width:100%}
 body.app-body #main .lifestyle-page .life-focus-host .pomodoro-modes button{min-width:0;padding:9px 6px}
 body.app-body #main .lifestyle-page .life-focus-host .pomodoro-main{padding:18px 12px}
}
html[data-theme="dark"] body.app-body #main .lifestyle-page .life-mode-switch a[aria-current="page"]{color:#fff}
html[data-theme="dark"] body.app-body #main .lifestyle-page .life-glance-item,
html[data-theme="dark"] body.app-body #main .lifestyle-page .lifestyle-tool-shelf a{background:var(--ui-soft);color:var(--ui-ink)}
@media(prefers-reduced-motion:reduce){
 body.app-body #main .lifestyle-page *,body.app-body #main .lifestyle-page *::before,body.app-body #main .lifestyle-page *::after{transition:none!important;animation-duration:.01ms!important}
}


/* Readable quiet text across soft panels: meet WCAG AA contrast. */
body.app-body #main .lifestyle-page .life-glance-item :is(small,span span),
body.app-body #main .lifestyle-page .life-form-label,
body.app-body #main .lifestyle-page .life-checkin-detail .field .fine,
body.app-body #main .lifestyle-page .task-board-columns .lifestyle-empty p,
body.app-body #main .lifestyle-page .lifestyle-day-detail .fine{color:#345343;}
body.app-body #main .lifestyle-page .task-board-columns .lifestyle-empty b{color:#244735;}
body.app-body #main .lifestyle-page .calendar-weekdays>span{color:#365846;}
body.app-body #main .lifestyle-page #lifestyle-day-detail .eyebrow{color:#714a29;}
html[data-theme="dark"] body.app-body #main .lifestyle-page .life-glance-item :is(small,span span),
html[data-theme="dark"] body.app-body #main .lifestyle-page .life-form-label,
html[data-theme="dark"] body.app-body #main .lifestyle-page .life-checkin-detail .field .fine,
html[data-theme="dark"] body.app-body #main .lifestyle-page .task-board-columns .lifestyle-empty :is(b,p),
html[data-theme="dark"] body.app-body #main .lifestyle-page .lifestyle-day-detail .fine,
html[data-theme="dark"] body.app-body #main .lifestyle-page .calendar-weekdays>span,
html[data-theme="dark"] body.app-body #main .lifestyle-page #lifestyle-day-detail .eyebrow{color:#e1eee1;}


/* Override legacy illustrated empty states and calendar weekday tint, which had low contrast. */
body.app-body #main .lifestyle-page #lifestyle-task-list .lifestyle-empty b,
body.app-body #main .lifestyle-page #lifestyle-focus-import .lifestyle-empty b{color:#244735!important;}
body.app-body #main .lifestyle-page #lifestyle-task-list .lifestyle-empty p,
body.app-body #main .lifestyle-page #lifestyle-focus-import .lifestyle-empty p{color:#345343!important;}
body.app-body #main .lifestyle-page .calendar-weekdays span{color:#345343!important;}
html[data-theme="dark"] body.app-body #main .lifestyle-page :is(#lifestyle-task-list,#lifestyle-focus-import) .lifestyle-empty :is(b,p),
html[data-theme="dark"] body.app-body #main .lifestyle-page .calendar-weekdays span{color:#e1eee1!important;}

/* A stable readable colour for day and night, independent of earlier muted UI tokens. */
body.app-body #main .lifestyle-page{--ns-life-readable-ink:#244735;}
html[data-theme="dark"] body.app-body #main .lifestyle-page{--ns-life-readable-ink:#e1eee1;}


/* Accessibility: the legacy interface dimmed whole containers, which also dimmed
 * their text even when the foreground color passed contrast checks in CSS. */
body.app-body #main .lifestyle-page .lifestyle-empty{opacity:1!important;}
body.app-body #main .lifestyle-page .calendar-weekdays{opacity:1!important;}
body.app-body #main .lifestyle-page .calendar-day.is-muted{opacity:.78;}

/* Lifestyle / 2026-11: one compact dashboard, mobile first.
   Older visual layers remain for the embedded timer and soundscape controls. */
body.app-body #main .life-unified{max-width:1100px;padding:clamp(12px,2.5vw,24px) clamp(12px,2.5vw,26px) 120px;--life-focus-outline:#bc8c43}
body.app-body #main .life-unified [hidden]{display:none!important}
body.app-body #main .life-unified .life-page-header{
 display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;
 padding:7px 3px 13px;border-bottom:1px solid var(--ui-line);
}
body.app-body #main .life-unified .life-page-header .eyebrow{margin:0 0 7px;letter-spacing:.11em;font-size:10px}
body.app-body #main .life-unified .life-page-header h1{font:650 clamp(31px,4vw,43px)/1.1 Georgia,serif;margin:0 0 5px;color:var(--ui-ink)}
body.app-body #main .life-unified .life-page-header p:not(.eyebrow){font-size:13px;line-height:1.5;color:var(--ui-muted);margin:0;max-width:58ch}
body.app-body #main .life-unified .life-page-header .life-date{
 display:inline-flex;gap:7px;align-items:center;padding:7px 11px;background:var(--ui-soft);border-radius:999px;
 font-size:12px;color:var(--ui-ink);white-space:nowrap;margin:0;
}
body.app-body #main .life-unified .life-mode-switch{margin:13px 0 15px;padding:4px;gap:4px;max-width:540px;border-radius:13px;box-shadow:none}
body.app-body #main .life-unified .life-mode-switch button{
 display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;
 padding:9px 12px;border:0;border-radius:10px;cursor:pointer;background:transparent;
 color:var(--ui-ink);font:750 13px/1.3 system-ui,sans-serif;
}
body.app-body #main .life-unified .life-mode-switch button[aria-pressed=true]{background:#2e7051;color:#fff;box-shadow:0 2px 6px #173f3412}
body.app-body #main .life-unified .life-mode-switch button:focus-visible{outline:3px solid var(--life-focus-outline);outline-offset:2px}
body.app-body #main .life-unified .life-today-strip{
 padding:14px 16px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-paper);margin:0 0 12px;
}
body.app-body #main .life-unified .life-today-head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:10px}
body.app-body #main .life-unified .life-today-head .eyebrow{margin:0 0 3px;font-size:10px}
body.app-body #main .life-unified .life-today-head h2{font:600 clamp(19px,2.7vw,25px)/1.2 Georgia,serif;margin:0}
body.app-body #main .life-unified .life-today-head>span{font-size:12px;color:var(--ui-muted)}
body.app-body #main .life-unified .life-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.app-body #main .life-unified .life-glance-item{background:var(--ui-soft);border-radius:11px;padding:10px 12px;gap:9px}
body.app-body #main .life-unified .life-glance-icon{width:30px;height:30px;border-radius:9px}
body.app-body #main .life-unified .life-glance-item strong{font-size:14px}
body.app-body #main .life-unified .life-glance-item small{font-size:10px}
body.app-body #main .life-unified .life-glance-item span span{font-size:11px}
body.app-body #main .life-unified .life-dashboard-flow{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:start}
body.app-body #main .life-unified .lifestyle-card{
 margin:0;padding:clamp(15px,2vw,22px);border-radius:16px;box-shadow:none;
 border:1px solid var(--ui-line);background:var(--ui-paper);min-width:0;
}
body.app-body #main .life-unified #lifestyle-deed{grid-column:span 5;background:var(--ui-paper)}
body.app-body #main .life-unified #lifestyle-tasks{grid-column:span 7}
body.app-body #main .life-unified #lifestyle-checkin{grid-column:span 7}
body.app-body #main .life-unified #lifestyle-calendar{grid-column:span 5}
body.app-body #main .life-unified #lifestyle-reminders{grid-column:1/-1}
body.app-body #main .life-unified .lifestyle-section-head h2,
body.app-body #main .life-unified .deed-heading h2,
body.app-body #main .life-unified .calendar-head h2{font:600 clamp(19px,2.3vw,23px)/1.2 Georgia,serif;margin:2px 0 6px}
body.app-body #main .life-unified .lifestyle-section-head p{font-size:12px;line-height:1.45}
body.app-body #main .life-unified #lifestyle-deed-card>p{font:500 clamp(19px,2.2vw,23px)/1.36 Georgia,serif;margin:10px 0 14px}
body.app-body #main .life-unified .lifestyle-deed::after{display:none}
body.app-body #main .life-unified .deed-mark{width:32px;height:32px}
body.app-body #main .life-unified .lifestyle-task-form{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0;
}
body.app-body #main .life-unified .lifestyle-task-form>.field:first-child,
body.app-body #main .life-unified .lifestyle-task-form .lifestyle-task-notes,
body.app-body #main .life-unified .lifestyle-task-form>.button{grid-column:1/-1}
body.app-body #main .life-unified .lifestyle-task-form input{min-height:42px}
body.app-body #main .life-unified .lifestyle-task-form .button{width:100%}
body.app-body #main .life-unified .task-board-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
body.app-body #main .life-unified .task-board-columns>div{padding:10px;border-radius:11px}
body.app-body #main .life-unified .task-board-columns>div h3{margin:0 0 6px;font-size:13px}
body.app-body #main .life-unified .lifestyle-task{gap:8px}
body.app-body #main .life-unified .lifestyle-task :is(button,input){max-width:100%}
body.app-body #main .life-unified .life-task-empty{margin:0;min-height:0;padding:15px 9px;text-align:left;font-size:13px;color:#345343}
html[data-theme="dark"] body.app-body #main .life-unified .life-task-empty{color:#e1eee1}
body.app-body #main .life-unified .emotion-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.app-body #main .life-unified .emotion-choice-grid span{min-height:75px;padding:7px 4px;gap:4px;font-size:11px}
body.app-body #main .life-unified .life-emotion-face{width:36px;height:36px}
body.app-body #main .life-unified .life-checkin-detail{padding:11px;margin-top:12px;border:1px solid var(--ui-line);background:var(--ui-soft)}
body.app-body #main .life-unified .life-checkin-detail .lifestyle-sliders{margin:7px 0 10px}
body.app-body #main .life-unified .life-checkin-detail .lifestyle-sliders label{padding:9px}
body.app-body #main .life-unified .calendar-head>div:last-child{min-width:0}
body.app-body #main .life-unified .calendar-head strong{min-width:92px}
body.app-body #main .life-unified .calendar-day{min-height:45px}
body.app-body #main .life-unified .lifestyle-reminders form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
body.app-body #main .life-unified .lifestyle-reminders form :is(label,input,button){min-width:0}
body.app-body #main .life-unified .life-focus-panel{margin-top:0;min-width:0}
body.app-body #main .life-unified .life-focus-host .simplyfocus-page{max-width:100%;padding:0;margin:0}
body.app-body #main .life-unified .life-focus-host .focus-intro{padding:3px 0 11px}
body.app-body #main .life-unified .life-focus-host .focus-intro h2{font-size:23px}
body.app-body #main .life-unified .life-focus-host :is(.focus-mixer,.timed-breathing-card,.pomodoro-card){box-shadow:none;border-radius:15px}
html[data-theme="dark"] body.app-body #main .life-unified .life-mode-switch button[aria-pressed=true]{background:#417d5b;color:#fff}
@media(max-width:850px){
 body.app-body #main .life-unified .life-dashboard-flow{grid-template-columns:minmax(0,1fr)}
 body.app-body #main .life-unified .life-dashboard-flow>*{grid-column:1/-1!important}
}
@media(max-width:520px){
 body.app-body #main .life-unified{padding:11px 11px 105px}
 body.app-body #main .life-unified .life-page-header{display:block;padding:4px 2px 11px}
 body.app-body #main .life-unified .life-page-header h1{font-size:31px}
 body.app-body #main .life-unified .life-page-header .life-date{margin-top:9px;padding:6px 9px}
 body.app-body #main .life-unified .life-mode-switch{margin:10px 0 12px}
 body.app-body #main .life-unified .life-today-strip{padding:12px;border-radius:13px}
 body.app-body #main .life-unified .life-today-head>span{display:none}
 body.app-body #main .life-unified .life-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 body.app-body #main .life-unified .life-glance-item{display:block;padding:9px}
 body.app-body #main .life-unified .life-glance-icon{display:none}
 body.app-body #main .life-unified .life-glance-item strong{font-size:13px}
 body.app-body #main .life-unified .life-glance-item span span{font-size:10px}
 body.app-body #main .life-unified .lifestyle-card{padding:14px;border-radius:13px}
 body.app-body #main .life-unified .life-dashboard-flow{gap:10px}
 body.app-body #main .life-unified .emotion-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 body.app-body #main .life-unified .emotion-choice-grid span{min-height:71px;padding:6px 1px;font-size:10px;gap:3px}
 body.app-body #main .life-unified .life-emotion-face{width:30px;height:30px}
 body.app-body #main .life-unified .lifestyle-reminders form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body.app-body #main .life-unified .calendar-head>div:last-child{width:100%;justify-content:space-between}
 body.app-body #main .life-unified .calendar-day{min-height:41px}
 body.app-body #main .life-unified .lifestyle-task-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.app-body #main .life-unified .life-focus-host :is(.focus-mixer,.timed-breathing-card,.pomodoro-card){padding:13px}
}
@media(prefers-reduced-motion:reduce){body.app-body #main .life-unified *{scroll-behavior:auto!important;transition:none!important}}

/* Task list / Eisenhower matrix — same saved tasks, two views. */
body.app-body #main .life-unified .life-task-view-switch{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;
 margin:12px 0 6px;padding:4px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-soft);
}
body.app-body #main .life-unified .life-task-view-switch button{
 min-height:39px;padding:7px 10px;cursor:pointer;border:0;border-radius:9px;background:transparent;
 color:var(--ui-ink);font:700 12px/1.3 system-ui,sans-serif;
}
body.app-body #main .life-unified .life-task-view-switch button[aria-pressed=true]{
 background:var(--ui-paper);box-shadow:0 2px 7px #244b3e16;color:var(--ui-ink);
}
body.app-body #main .life-unified .life-task-priority-field{grid-column:1/-1}
body.app-body #main .life-unified .life-task-priority-field select{width:100%;min-height:42px}
body.app-body #main .life-unified .life-quadrants{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;
}
body.app-body #main .life-unified .life-quadrants[hidden],
body.app-body #main .life-unified #lifestyle-task-list[hidden]{display:none!important}
body.app-body #main .life-unified .life-quadrant{
 min-width:0;border:1px solid var(--quadrant-line);border-radius:16px;padding:12px;
 background:var(--quadrant-bg);color:#254436;
}
body.app-body #main .life-unified .life-quadrant--do{--quadrant-bg:#fff0ed;--quadrant-line:#e6b7ae;--quadrant-strong:#7d3631}
body.app-body #main .life-unified .life-quadrant--schedule{--quadrant-bg:#eaf4ec;--quadrant-line:#b5d3bb;--quadrant-strong:#285b40}
body.app-body #main .life-unified .life-quadrant--delegate{--quadrant-bg:#eaf2fc;--quadrant-line:#b9cee8;--quadrant-strong:#325b83}
body.app-body #main .life-unified .life-quadrant--eliminate{--quadrant-bg:#f2ecfa;--quadrant-line:#d1c1e2;--quadrant-strong:#61477e}
body.app-body #main .life-unified .life-quadrant-head{display:flex;align-items:center;gap:8px;min-width:0}
body.app-body #main .life-unified .life-quadrant-head>span{
 display:grid;place-items:center;flex:0 0 33px;width:33px;height:33px;
 background:#fffdfae6;border:1px solid var(--quadrant-line);border-radius:11px;
 color:var(--quadrant-strong);font-size:19px;
}
body.app-body #main .life-unified .life-quadrant-head>div{flex:1;min-width:0}
body.app-body #main .life-unified .life-quadrant-head h3{
 margin:0;color:var(--quadrant-strong);font:750 15px/1.25 system-ui,sans-serif;
}
body.app-body #main .life-unified .life-quadrant-head small{display:block;margin-top:2px;font-size:10px;line-height:1.3;color:var(--quadrant-strong)}
body.app-body #main .life-unified .life-quadrant-head b{
 display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;
 background:#fffdf8;border-radius:50%;color:var(--quadrant-strong);font-size:12px;
}
body.app-body #main .life-unified .life-quadrant-hint{margin:8px 0 9px;font-size:11px;line-height:1.45;color:var(--quadrant-strong)}
body.app-body #main .life-unified .life-quadrant-items{display:grid;gap:7px}
body.app-body #main .life-unified .life-quadrant-empty{margin:0;padding:10px 5px;font-size:12px;color:var(--quadrant-strong);font-style:italic}
body.app-body #main .life-unified .life-priority-inbox-panel{
 grid-column:1/-1;background:var(--ui-soft);border:1px dashed var(--ui-line);border-radius:13px;padding:12px;
}
body.app-body #main .life-unified .life-priority-inbox-panel>div:first-child{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
body.app-body #main .life-unified .life-priority-inbox-panel strong{font-size:13px;color:var(--ui-ink)}
body.app-body #main .life-unified .life-priority-inbox-panel small{color:var(--ui-muted);font-size:11px}
body.app-body #main .life-unified :is(.life-quadrant-items,.life-priority-inbox-panel) .lifestyle-task{
 display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 8px;
 min-width:0;margin-top:6px;padding:9px;background:#fffcf8;border:1px solid #d7e3d8;border-radius:11px;box-shadow:none;
}
body.app-body #main .life-unified .life-task-main{min-width:0;overflow-wrap:anywhere}
body.app-body #main .life-unified .life-task-main strong{display:block;font-size:12px;line-height:1.36;color:#294c39}
body.app-body #main .life-unified .life-task-main small{display:block;font-size:10px;color:#4b6855}
body.app-body #main .life-unified .life-task-main p{font-size:11px;margin:4px 0;color:#385841}
body.app-body #main .life-unified .life-task-controls{
 grid-column:1/-1;display:flex;gap:5px;align-items:end;flex-wrap:wrap;
}
body.app-body #main .life-unified .life-task-controls button{
 flex:0 0 auto;min-height:30px;padding:5px 7px;font-size:10px;border-radius:8px;
}
body.app-body #main .life-unified .life-task-move{
 flex:1 1 95px;min-width:0;display:grid;gap:2px;font:700 10px/1.2 system-ui,sans-serif;color:#3c5947;
}
body.app-body #main .life-unified .life-task-move select{
 min-height:32px;width:100%;min-width:0;padding:4px 22px 4px 6px;
 background:#fffdf8;border:1px solid #b8cdbc;border-radius:8px;color:#2c493a;font-size:11px;
}
body.app-body #main .life-unified #lifestyle-task-list .lifestyle-task{min-width:0}
html[data-theme=dark] body.app-body #main .life-unified .life-quadrant{border-width:1px}
html[data-theme=dark] body.app-body #main .life-unified .life-quadrant--do{background:#45312f;border-color:#96635e}
html[data-theme=dark] body.app-body #main .life-unified .life-quadrant--schedule{background:#293e32;border-color:#60866a}
html[data-theme=dark] body.app-body #main .life-unified .life-quadrant--delegate{background:#2c3b4b;border-color:#62819d}
html[data-theme=dark] body.app-body #main .life-unified .life-quadrant--eliminate{background:#3d3149;border-color:#866c99}
html[data-theme=dark] body.app-body #main .life-unified .life-quadrant-head :is(h3,small,b),
html[data-theme=dark] body.app-body #main .life-unified .life-quadrant-hint,
html[data-theme=dark] body.app-body #main .life-unified .life-quadrant-empty{color:#e4f0e6}
html[data-theme=dark] body.app-body #main .life-unified :is(.life-quadrant-items,.life-priority-inbox-panel) .lifestyle-task{background:#273c30;border-color:#54735c}
html[data-theme=dark] body.app-body #main .life-unified .life-task-main :is(strong,small,p),
html[data-theme=dark] body.app-body #main .life-unified .life-task-move{color:#e4f0e6}
html[data-theme=dark] body.app-body #main .life-unified .life-quadrant-head>span,
html[data-theme=dark] body.app-body #main .life-unified .life-quadrant-head>b{background:#293e31;color:#e4f0e6}
@media(max-width:650px){
 body.app-body #main .life-unified .life-quadrants{grid-template-columns:minmax(0,1fr)}
 body.app-body #main .life-unified .life-quadrant{padding:12px}
 body.app-body #main .life-unified .life-priority-inbox-panel{grid-column:1}
}

/* Lifestyle: direct-edit priority board (Nov 2026).
   In matrix mode the full-width board REPLACES the standard task form/list. */
body.app-body #main .life-unified #lifestyle-tasks.is-matrix-mode{grid-column:1/-1}
body.app-body #main .life-unified #lifestyle-tasks.is-matrix-mode .task-board-columns{
 display:block;min-width:0;
}
body.app-body #main .life-unified #lifestyle-tasks.is-matrix-mode .task-board-columns>.life-quadrants{
 padding:0;margin:12px 0;background:transparent;border:0;
}
body.app-body #main .life-unified #lifestyle-tasks [hidden]{display:none!important}
body.app-body #main .life-unified .life-quadrant{
 align-self:start;min-width:0;transition:border-color .14s,box-shadow .14s;
}
body.app-body #main .life-unified .life-quadrant-items{min-height:24px}
body.app-body #main .life-unified .life-matrix-task{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 gap:8px!important;padding:10px!important;min-width:0;
 border:1px solid #d2ddd3;background:#fffefa;border-radius:11px;
}
body.app-body #main .life-unified .life-matrix-task-line{
 display:grid;grid-template-columns:28px 21px minmax(0,1fr);gap:6px;align-items:center;min-width:0;
}
body.app-body #main .life-unified .life-matrix-task-line>input[type=checkbox]{
 width:17px;height:17px;margin:0;accent-color:#316a4e;cursor:pointer;
}
body.app-body #main .life-unified .life-matrix-task .life-drag-handle{
 display:grid;place-items:center;min-width:28px;min-height:35px;padding:3px;
 border:1px dashed #b4c7b9;background:#eef4ed;border-radius:8px;
 color:#355c45;font-size:19px;line-height:1;cursor:grab;touch-action:none;user-select:none;
}
body.app-body #main .life-unified .life-matrix-task .life-drag-handle:active{cursor:grabbing}
body.app-body #main .life-unified .life-matrix-task .life-matrix-title{
 display:grid;gap:2px;text-align:left;border:0!important;background:transparent!important;
 padding:3px 2px!important;min-width:0;width:100%;cursor:text;color:#234b37!important;
}
body.app-body #main .life-unified .life-matrix-title strong{
 display:block;color:inherit;font-size:13px;line-height:1.35;overflow-wrap:anywhere;
}
body.app-body #main .life-unified .life-matrix-title small{
 display:block;color:#506b59;font-size:10px;line-height:1.4;
}
body.app-body #main .life-unified .life-matrix-card-actions{
 display:flex;gap:5px;align-items:end;flex-wrap:wrap;
}
body.app-body #main .life-unified .life-matrix-task .life-matrix-card-actions>button{
 display:grid;place-items:center;min-height:32px;padding:5px 8px;
 border:1px solid #c6d6ca;border-radius:8px;background:#f6faf4;color:#31543f;
 cursor:pointer;font-size:11px;font-weight:650;
}
body.app-body #main .life-unified .life-matrix-move{
 flex:1 1 115px;min-width:105px;display:grid;gap:3px;
 color:#365b43;font:700 10px/1.25 system-ui,sans-serif;
}
body.app-body #main .life-unified .life-matrix-move select{
 min-width:0;width:100%;min-height:32px;padding:4px 8px;
 border:1px solid #b7cdbb;border-radius:8px;background:#fffefa;color:#294a38;font-size:11px;
}
body.app-body #main .life-unified .life-matrix-editor{
 display:grid;gap:9px;padding:11px;border:1px solid #b5cdb9;border-radius:10px;background:#f4f8f1;
}
body.app-body #main .life-unified .life-matrix-editor[hidden]{display:none!important}
body.app-body #main .life-unified .life-matrix-editor label,
body.app-body #main .life-unified .life-quad-more-fields label{
 display:grid;gap:4px;min-width:0;font:700 11px/1.4 system-ui,sans-serif;color:#31553d;
}
body.app-body #main .life-unified .life-matrix-editor :is(input,textarea),
body.app-body #main .life-unified .life-quad-more-fields :is(input,textarea){
 display:block;width:100%;min-width:0;min-height:37px;padding:8px;
 border:1px solid #b8cbbd;border-radius:8px;background:#fffefa;color:#203e2d;
 font:400 13px/1.4 system-ui,sans-serif;
}
body.app-body #main .life-unified .life-matrix-editor textarea,
body.app-body #main .life-unified .life-quad-more-fields textarea{min-height:63px;resize:vertical}
body.app-body #main .life-unified .life-matrix-date-row{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
body.app-body #main .life-unified .life-matrix-editor-buttons{display:flex;flex-wrap:wrap;gap:7px}
body.app-body #main .life-unified .life-matrix-editor-buttons button{
 flex:1 1 auto;min-height:36px;padding:8px 12px;border:1px solid #b7cdbb;
 border-radius:9px;background:#fffefa;color:#2c523b;cursor:pointer;font-size:12px;
}
body.app-body #main .life-unified .life-matrix-editor-buttons .life-matrix-save{
 background:#306a4d;border-color:#306a4d;color:#fffefa;
}
body.app-body #main .life-unified .life-quad-add{
 display:grid;gap:6px;margin-top:11px;padding-top:10px;border-top:1px solid var(--quadrant-line);
}
body.app-body #main .life-unified .life-quad-entry-label{
 font:700 11px/1.4 system-ui,sans-serif;color:var(--quadrant-strong);
}
body.app-body #main .life-unified .life-quad-add-row{
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;min-width:0;
}
body.app-body #main .life-unified .life-quad-add-row input{
 min-width:0;min-height:39px;width:100%;padding:8px 10px;
 border:1px solid var(--quadrant-line);border-radius:10px;background:#fffefa;
 color:#294a38;font:500 13px/1.35 system-ui,sans-serif;
}
body.app-body #main .life-unified .life-quad-add-row button{
 min-width:50px;min-height:39px;padding:7px 10px;border:0;border-radius:10px;
 background:var(--quadrant-strong);color:#fffefa;font:750 12px system-ui,sans-serif;cursor:pointer;
}
body.app-body #main .life-unified .life-quad-more{font-size:11px;color:var(--quadrant-strong)}
body.app-body #main .life-unified .life-quad-more summary{
 cursor:pointer;list-style:revert;min-height:33px;padding:8px 4px;font-weight:650;
}
body.app-body #main .life-unified .life-quad-more-fields{display:grid;gap:9px;padding:7px 0 3px}
body.app-body #main .life-unified .life-quadrant.life-drop-active,
body.app-body #main .life-unified .life-priority-inbox-panel.life-drop-active{
 outline:3px dashed #547f63;outline-offset:2px;
}
body.app-body #main .life-unified .life-matrix-task.life-task-dragging{opacity:.55;box-shadow:0 6px 18px #1c413331}
body.app-body #main .life-unified .life-matrix-task.life-drop-before{border-top:4px solid #39795c}
body.app-body #main .life-unified .life-matrix-task.life-drop-after{border-bottom:4px solid #39795c}
body.app-body #main .life-unified .life-priority-inbox-panel .life-quadrant-items{display:grid;gap:7px}
body.app-body #main .life-unified .life-matrix-task button:focus-visible,
body.app-body #main .life-unified .life-quad-add :focus-visible{
 outline:3px solid #a5722d;outline-offset:2px;
}
html[data-theme=dark] body.app-body #main .life-unified .life-matrix-task{
 background:#263b30;border-color:#53735b;
}
html[data-theme=dark] body.app-body #main .life-unified .life-matrix-task :is(.life-matrix-title,.life-matrix-title strong,.life-matrix-title small),
html[data-theme=dark] body.app-body #main .life-unified .life-matrix-move,
html[data-theme=dark] body.app-body #main .life-unified .life-matrix-editor label{color:#edf4e8!important}
html[data-theme=dark] body.app-body #main .life-unified .life-matrix-editor{
 background:#294535;border-color:#547b62;
}
html[data-theme=dark] body.app-body #main .life-unified .life-quad-entry-label,
html[data-theme=dark] body.app-body #main .life-unified .life-quad-more{color:#ebf1e7}
@media(max-width:700px){
 body.app-body #main .life-unified .life-quadrants{grid-template-columns:minmax(0,1fr)}
 body.app-body #main .life-unified .life-matrix-date-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:380px){
 body.app-body #main .life-unified .life-matrix-date-row{grid-template-columns:1fr}
 body.app-body #main .life-unified .life-matrix-card-actions{gap:4px}
 body.app-body #main .life-unified .life-matrix-move{flex-basis:100%}
}
