/* LIFE OS 2.0 — a single visual system, shared across every workspace. */
body.lifeos-v2{--v-bg:#f5f5f1;--v-surface:#fff;--v-raised:#f8f9f5;--v-input:#fff;--v-text:#202721;--v-muted:#6b746e;--v-faint:#89928b;--v-border:#e2e6df;--v-accent:#3e644a;--v-accent-soft:#e6eddf;--v-on-accent:#fff;--v-side:#eff1eb;--v-shadow:0 4px 22px #293a2910;--ink:var(--v-text);--muted:var(--v-muted);--muted2:var(--v-faint);--panel:var(--v-surface);--line:var(--v-border);--rose:var(--v-accent);--plum:var(--v-text);--green:var(--v-accent);--shadow:var(--v-shadow);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.5;letter-spacing:-.015em;color:var(--v-text);background:var(--v-bg);color-scheme:light}
body.lifeos-v2.theme-moon{--v-bg:#121614;--v-surface:#1b211e;--v-raised:#222a25;--v-input:#161c18;--v-text:#edf1e9;--v-muted:#a6b1a7;--v-faint:#7e8c81;--v-border:#333e35;--v-accent:#c3dda8;--v-accent-soft:#303d2b;--v-on-accent:#1d2b1d;--v-side:#171d19;--v-shadow:0 5px 24px #00000012;color-scheme:dark}
body.lifeos-v2.theme-ocean{--v-bg:#10202a;--v-surface:#182d38;--v-raised:#203945;--v-input:#122631;--v-text:#eef8fa;--v-muted:#a3c0cd;--v-faint:#7d9faa;--v-border:#304b58;--v-accent:#a2d9e5;--v-accent-soft:#294b58;--v-on-accent:#132c35;--v-side:#142730;--v-shadow:0 4px 24px #00000014;color-scheme:dark}
body.lifeos-v2.theme-sakura{--v-bg:#f8f3f2;--v-side:#f0e9e8;--v-raised:#faf5f3;--v-accent:#925c72;--v-accent-soft:#f2e2e7;--v-border:#e9dfe0}
body.lifeos-v2.theme-forest{--v-bg:#eff3ed;--v-side:#e6ede2;--v-raised:#f4f7f0;--v-accent:#386146;--v-accent-soft:#e0eadb;--v-border:#dce4d8}
body.lifeos-v2.theme-sunset{--v-bg:#faf2eb;--v-side:#f2e8df;--v-raised:#fcf6f0;--v-accent:#a15b3e;--v-accent-soft:#f6e4d7;--v-border:#ecdfd6}
body.lifeos-v2.theme-lavender{--v-bg:#f3f1f8;--v-side:#eae6f1;--v-raised:#f7f5fb;--v-accent:#755b9c;--v-accent-soft:#eae3f3;--v-border:#e3ddec}
body.lifeos-v2:before{background:var(--v-bg);transition:background .25s}
body.lifeos-v2.has-wallpaper:before{background:linear-gradient(0deg,#15201950,#15201930),var(--wall) center/cover fixed}
body.lifeos-v2 .petal-layer{opacity:.13}body.lifeos-v2 .particle-sky{opacity:.32}
body.lifeos-v2 :is(h1,h2,h3,h4,strong,b){font-family:inherit;color:var(--v-text);text-shadow:none}
body.lifeos-v2 :is(h2,h3){font-weight:620;letter-spacing:-.035em;line-height:1.3}
body.lifeos-v2 :is(.card,.hero,.stat,.prompt-card,.task-summary,.side-note,.journal-side article,.couple-hero){box-shadow:none;backdrop-filter:none;border:1px solid var(--v-border);background:var(--v-surface);color:var(--v-text)}
body.lifeos-v2 :is(.card p,.card small,.card label,.card em,.hint,.module-muted,.page-title p,.task-summary p,.focus-note,.journal-side p,.couple-privacy-note){color:var(--v-muted);text-shadow:none;font-family:inherit}
body.lifeos-v2 :is(p,small,label){line-height:1.6}
body.lifeos-v2 .card :is(h2,h3),body.lifeos-v2 .settings-card h2{color:var(--v-text);font-family:inherit}
body.lifeos-v2 :is(.kicker,.card .kicker){color:var(--v-accent);font-size:10px;font-weight:650;letter-spacing:.13em;text-shadow:none}
body.lifeos-v2 .shell{display:grid;grid-template-columns:228px minmax(0,1fr);gap:0;width:100%;max-width:none;padding:0;margin:0;min-height:100svh}
body.lifeos-v2 .sidebar{position:sticky;top:0;align-self:start;display:flex;flex-direction:column;width:228px;height:100svh;min-height:0;margin:0;padding:27px 16px 16px;border:0;border-right:1px solid var(--v-border);border-radius:0;background:var(--v-side);box-shadow:none;z-index:20;backdrop-filter:blur(20px)}
body.lifeos-v2 .brand{display:flex;align-items:center;gap:10px;padding:0 10px 30px;justify-content:flex-start}
body.lifeos-v2 .brand-mark{width:34px;height:34px;flex:none;border-radius:10px;background:var(--v-accent)!important;color:var(--v-on-accent);box-shadow:none;transform:none;display:grid;place-items:center;overflow:hidden;position:relative}
.brand-mark svg{width:26px;height:26px}.v2-logo{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.lifeos-v2 .brand-copy{display:flex;align-items:center;gap:9px}.v2-wordmark{font-size:20px;font-weight:700;letter-spacing:-1px;color:var(--v-text)}.v2-wordmark span{font-weight:450}.v2-version{padding:2px 5px;border:1px solid var(--v-border);border-radius:4px;color:var(--v-muted);font-size:9px;line-height:1.4;font-weight:600}
body.lifeos-v2 .sidebar>.nav-heading{display:none}.v2-nav-heading{margin:20px 12px 7px;color:var(--v-faint);font-size:9px;letter-spacing:.14em;font-weight:650;text-transform:uppercase}
body.lifeos-v2 .nav{display:flex;flex-direction:column;gap:3px;overflow-y:auto;scrollbar-width:thin;min-height:0;padding-bottom:12px}
body.lifeos-v2 .nav a{display:flex;gap:11px;align-items:center;justify-content:flex-start;color:var(--v-muted);border-radius:8px;padding:9px 12px;min-height:39px;font-size:12px;font-weight:500;box-shadow:none;transition:background .15s,color .15s;transform:none}
body.lifeos-v2 .nav a:hover{background:var(--v-surface);color:var(--v-text);transform:none}
body.lifeos-v2 .nav a.active{background:var(--v-accent-soft);color:var(--v-text);font-weight:650;box-shadow:none}
body.lifeos-v2 .nav-icon{width:19px;height:19px;display:grid;place-items:center;flex:none;color:inherit}
.v2-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;pointer-events:none}
body.lifeos-v2 .nav-text{display:block;font-size:12px}.v2-nav-count{margin-left:auto;font-size:10px;background:var(--v-surface);border-radius:5px;padding:0 6px;color:var(--v-muted)}
body.lifeos-v2 .sidebar-bottom{margin-top:auto;padding-top:10px}.v2-side-caption{padding:14px 12px 18px;font-size:11px;color:var(--v-faint);border-top:1px solid var(--v-border);line-height:1.7}.v2-side-caption strong{font-size:12px;color:var(--v-muted);font-weight:500}
body.lifeos-v2 .user-card{padding:12px 6px 0;border-color:var(--v-border);justify-content:flex-start}.user-card .v2-icon{width:16px;height:16px}
body.lifeos-v2 .avatar{width:32px;height:32px;background:var(--v-accent-soft);color:var(--v-accent);font:650 12px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.lifeos-v2 .user-copy{display:block}body.lifeos-v2 .user-copy b{font-size:11px}body.lifeos-v2 .user-copy small{font-size:9px;color:var(--v-faint)}body.lifeos-v2 .user-card a{display:block}
body.lifeos-v2 main{padding:0 clamp(24px,3.1vw,64px) 44px;min-width:0}
body.lifeos-v2 .topbar{height:86px;margin:0 0 26px;border-bottom:1px solid var(--v-border);display:flex;align-items:center;justify-content:space-between;gap:18px}
body.lifeos-v2 .breadcrumb{font-size:11px;color:var(--v-faint);text-shadow:none;display:flex;align-items:center;gap:10px;white-space:nowrap}
body.lifeos-v2 .breadcrumb b{font-size:12px;font-weight:550;color:var(--v-text);text-shadow:none}
body.lifeos-v2 .top-actions{gap:10px}.v2-search-trigger{display:flex;align-items:center;gap:9px;border:0;background:none;color:var(--v-muted);font:inherit;font-size:11px;padding:8px;cursor:pointer}.v2-search-trigger .v2-icon{width:16px;height:16px}.v2-search-trigger kbd{font:10px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:1px 5px;border:1px solid var(--v-border);border-radius:4px;color:var(--v-faint)}
body.lifeos-v2 :is(.date-pill,.small-action){height:33px;border:0;border-radius:7px;background:transparent!important;color:var(--v-muted)!important;text-shadow:none;font-size:11px;padding:0 8px}
body.lifeos-v2 .date-pill .v2-icon,body.lifeos-v2 .small-action .v2-icon{width:16px;height:16px}.v2-notifications-link{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--v-border);border-radius:8px;color:var(--v-muted);text-decoration:none}
body.lifeos-v2 .page{animation:v2-page-in .3s ease both}.v2-workspace-caption{display:flex;align-items:center;gap:7px;color:var(--v-faint);font-size:10px;letter-spacing:.08em;text-transform:uppercase}.v2-workspace-caption span{height:5px;width:5px;background:var(--v-accent);border-radius:50%}
body.lifeos-v2 .page-title{align-items:center;margin-bottom:26px;gap:18px}
body.lifeos-v2 .page-title h1{font:600 clamp(28px,2.7vw,42px)/1.15 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.055em;color:var(--v-text);margin:8px 0}
body.lifeos-v2 .page-title p{display:block;font-size:12px;max-width:640px;padding:0;background:none;text-shadow:none;border-radius:0;margin:0}
body.lifeos-v2 .pill,body.lifeos-v2 .module-pill{display:inline-flex;gap:6px;align-items:center;border:1px solid var(--v-border);background:var(--v-raised);color:var(--v-muted);font:500 10px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:7px 10px;border-radius:6px;white-space:normal}
body.lifeos-v2 .pill .v2-icon{width:14px;height:14px}
body.lifeos-v2 :is(.card,.prompt-card){padding:23px;border-radius:13px}
body.lifeos-v2 .card-head{margin-bottom:19px;align-items:flex-start}
body.lifeos-v2 .card-head h2,body.lifeos-v2 .module-card h2,body.lifeos-v2 .settings-card h2{font-size:16px;margin:0 0 5px;line-height:1.3;letter-spacing:-.035em}
body.lifeos-v2 .card-head p{font-size:11px!important;line-height:1.6}
body.lifeos-v2 :is(.primary-btn,.soft-btn,.danger-btn,.task-form button,.add-habit-form button){font-family:inherit;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;font-size:11px!important;line-height:1.4;font-weight:600;padding:10px 14px;border-radius:7px;box-shadow:none;transition:background .18s,transform .18s;text-decoration:none}
body.lifeos-v2 .primary-btn{background:var(--v-accent)!important;color:var(--v-on-accent)!important;border:1px solid transparent}
body.lifeos-v2 .primary-btn:hover{filter:brightness(.95);box-shadow:none;transform:translateY(-1px)}
body.lifeos-v2 .soft-btn{color:var(--v-text)!important;background:var(--v-raised)!important;border:1px solid var(--v-border)!important}
body.lifeos-v2 .soft-btn:hover{background:var(--v-accent-soft)!important;transform:translateY(-1px)}
body.lifeos-v2 .text-btn{font:600 11px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-accent);padding:4px 0;display:inline-flex;gap:5px;align-items:center}
body.lifeos-v2 :is(.primary-btn,.soft-btn,.text-btn) .v2-icon{width:15px;height:15px}
body.lifeos-v2 .danger-btn{background:transparent;color:#d6887e;border:1px solid #c97c6e50}
body.lifeos-v2 :is(input:not([type=checkbox]):not([type=range]):not([type=file]),textarea,select,.module-input,.settings-field,.field){background:var(--v-input)!important;color:var(--v-text)!important;border:1px solid var(--v-border)!important;border-radius:7px;min-height:40px;padding:10px 12px;font-family:inherit;font-size:12px;box-shadow:none;line-height:1.5}
body.lifeos-v2 input[type=time],body.lifeos-v2 input[type=date]{min-width:0;max-width:100%}
body.lifeos-v2 :is(input,textarea)::placeholder{color:var(--v-faint)!important;opacity:1}
body.lifeos-v2 input[type=checkbox]{accent-color:var(--v-accent);width:17px;height:17px;flex:none}
body.lifeos-v2 :focus-visible{outline:2px solid var(--v-accent)!important;outline-offset:3px}
body.lifeos-v2 .hero{display:grid;grid-template-columns:1fr 240px;gap:24px;align-items:center;margin:0 0 28px;min-height:250px;padding:30px 34px;position:relative;overflow:hidden;border-radius:15px;background:var(--v-surface)}
body.lifeos-v2 .hero:after,body.lifeos-v2 .hero-sakura{display:none}
body.lifeos-v2 .hero h1{font:550 clamp(30px,3.2vw,48px)/1.1 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.06em;max-width:650px;color:var(--v-text);margin:12px 0}
body.lifeos-v2 .hero h1 em{color:var(--v-accent)}
body.lifeos-v2 .hero p{font-size:12px;line-height:1.8;color:var(--v-muted);max-width:440px}
body.lifeos-v2 .hero-action{display:flex;align-items:center;gap:14px;margin-top:21px}.v2-hero-note{font-size:10px;color:var(--v-faint)}
.v2-day-visual{position:relative;display:grid;place-items:center;align-self:stretch;min-height:185px;color:var(--v-accent);isolation:isolate}
.v2-orbit{position:absolute;inset:0;display:grid;place-items:center;z-index:-1;pointer-events:none}.v2-orbit i{position:absolute;width:205px;height:205px;border:1px solid var(--v-border);border-radius:50%;transform:rotate(-24deg) scaleX(1.1)}.v2-orbit i:nth-child(2){transform:rotate(24deg) scaleX(.65);width:250px;height:180px;border-color:var(--v-accent);opacity:.2}.v2-orbit i:nth-child(3){width:150px;height:240px;transform:rotate(45deg);opacity:.5}.v2-orbit:after{content:'';width:8px;height:8px;background:var(--v-accent);border-radius:50%;transform:translate(97px,-37px);box-shadow:0 0 0 6px var(--v-accent-soft)}
.v2-date-tile{width:116px;padding:13px;text-align:center;background:var(--v-raised);border:1px solid var(--v-border);border-radius:12px;transform:rotate(-6deg);box-shadow:var(--v-shadow);animation:v2-float 8s ease-in-out infinite}
.v2-date-tile span{display:block;color:var(--v-muted);font-size:9px;text-transform:uppercase;letter-spacing:.15em}.v2-date-tile strong{display:block;font-size:54px;line-height:1.3;letter-spacing:-.08em;font-weight:500}.v2-date-tile small{font-size:9px;color:var(--v-accent)}
.v2-section-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.v2-section-label h2{font-size:14px;font-weight:600;margin:0}.v2-section-label span{font-size:10px;color:var(--v-faint)}
body.lifeos-v2 .overview-stats{gap:12px;margin:0 0 26px}
body.lifeos-v2 .stat{padding:19px 20px;border-radius:11px;min-height:115px;position:relative;box-shadow:none;transition:background .2s}
body.lifeos-v2 .stat:hover{transform:none;background:var(--v-raised)}body.lifeos-v2 .stat-top{font-size:10px;color:var(--v-muted);font-weight:500}.stat-top .v2-icon{width:18px;height:18px;color:var(--v-faint)}
body.lifeos-v2 .stat strong{font:500 29px/1.2 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.065em;margin:12px 0 4px;color:var(--v-text)}body.lifeos-v2 .stat small{font-size:9px;color:var(--v-faint)}
body.lifeos-v2 .overview-grid{grid-template-columns:minmax(0,1.25fr) minmax(290px,.9fr);gap:18px;align-items:start}body.lifeos-v2 .stack{gap:18px}
body.lifeos-v2 .launchpad{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 22px}
body.lifeos-v2 .launchpad a{display:grid;grid-template-columns:1fr auto;gap:5px;padding:15px 16px;border:1px solid var(--v-border);border-radius:10px;background:var(--v-surface);box-shadow:none;color:var(--v-text);text-decoration:none;position:relative}
body.lifeos-v2 .launchpad a:hover{transform:translateY(-2px);border-color:var(--v-accent);box-shadow:none}.launchpad a:after{content:'↗';font-size:13px;color:var(--v-faint);position:absolute;right:13px;top:13px}
body.lifeos-v2 .launchpad a>span{grid-row:auto;grid-column:1/-1;display:grid;place-items:center;width:31px;height:31px;margin-bottom:7px;border:1px solid var(--v-border);border-radius:8px;color:var(--v-accent);background:var(--v-raised)}
body.lifeos-v2 .launchpad b{grid-column:1/-1;font-size:11px;font-weight:600;color:var(--v-text)}body.lifeos-v2 .launchpad small{grid-column:1/-1;font-size:9px;color:var(--v-muted)}
body.lifeos-v2 .quick-capture{padding:10px 12px;margin:0 0 22px;border:1px solid var(--v-border);border-radius:10px;background:var(--v-surface);box-shadow:none;gap:12px}
body.lifeos-v2 .quick-capture input{border:0!important;background:transparent!important;font-size:12px;min-height:33px;padding:4px}.quick-capture>span .v2-icon{width:18px;height:18px;color:var(--v-muted)}
body.lifeos-v2 .intention-box{border:0;border-radius:8px;background:var(--v-raised);padding:17px}
body.lifeos-v2 .intention-icon{background:var(--v-accent-soft);color:var(--v-accent);border-radius:7px}
body.lifeos-v2 .intention-box p{font:400 13px/1.8 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-muted)}
body.lifeos-v2 :is(.mini-task,.task-row,.habit-row,.schedule-item,.exercise-card,.history-card,.practice-note,.friend-suggestion,.couple-memory,.couple-saved-row,.opensource-list a){background:var(--v-raised);border:1px solid var(--v-border);border-radius:8px;color:var(--v-text);box-shadow:none}
body.lifeos-v2 :is(.task-name,.habit-row b,.schedule-copy b,.history-card strong,.agenda-copy b,.friend-suggestion strong){color:var(--v-text);font-size:12px;font-family:inherit}
body.lifeos-v2 :is(.history-card small,.exercise-meta,.schedule-copy small,.habit-row small,.friend-suggestion p){color:var(--v-muted);font-size:10px}
body.lifeos-v2 .task-check{width:17px!important;height:17px!important;border:1px solid var(--v-faint);border-radius:5px;background:var(--v-input)}body.lifeos-v2 .task-check:checked{background:var(--v-accent);border-color:var(--v-accent)}body.lifeos-v2 .task-check:checked:after{color:var(--v-on-accent)}
body.lifeos-v2 .task-tag{background:var(--v-accent-soft);color:var(--v-accent);font-size:9px;border-radius:5px}.delete-task{opacity:.65}
body.lifeos-v2 .mood{background:var(--v-raised);border:1px solid var(--v-border);border-radius:8px;padding:16px 4px 11px}.mood .v2-icon{width:24px;height:24px;color:var(--v-muted)}
body.lifeos-v2 .mood.active{background:var(--v-accent-soft);border-color:var(--v-accent);box-shadow:none}body.lifeos-v2 .mood.active .v2-icon,body.lifeos-v2 .mood.active small{color:var(--v-accent)}body.lifeos-v2 .mood small{font-size:9px;color:var(--v-muted)}
body.lifeos-v2 .ring{width:61px;height:61px;background:conic-gradient(var(--v-accent) var(--progress,0%),var(--v-border) 0)}body.lifeos-v2 .ring:before{background:var(--v-surface)}body.lifeos-v2 .ring b{font:600 13px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text)}
body.lifeos-v2 .progress-copy b{font:600 13px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text)}body.lifeos-v2 .progress-copy small{font-size:10px;color:var(--v-muted)}
body.lifeos-v2 .quote{font:400 15px/1.8 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-muted)}body.lifeos-v2 .quote em{color:var(--v-accent)}body.lifeos-v2 .quote-credit{font-size:8px;color:var(--v-faint);letter-spacing:.12em}
body.lifeos-v2 :is(.task-board,.routine-columns,.journal-layout,.focus-layout,.module-grid,.cooking-layout,.couple-layout,.couple-columns){gap:20px}
body.lifeos-v2 :is(.task-summary,.goal-suggestions,.friend-inbox-panel,.focus-note){background:var(--v-raised);border:1px solid var(--v-border);border-radius:12px;padding:21px;color:var(--v-muted)}
body.lifeos-v2 .task-summary h3{font:550 25px/1.25 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text);letter-spacing:-.04em}
body.lifeos-v2 .summary-num{font:500 38px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.06em;color:var(--v-accent)}body.lifeos-v2 .summary-num small{color:var(--v-muted)}body.lifeos-v2 .summary-bar{background:var(--v-border)}body.lifeos-v2 .summary-bar span{background:var(--v-accent)}
body.lifeos-v2 :is(.goal-suggestion,.routine-suggestion,.gym-template,.language-category,.quiz-option,.theme-choice,.preset,.couple-idea-card,.practice-empty){background:var(--v-raised);border:1px solid var(--v-border);border-radius:9px;color:var(--v-text);box-shadow:none}
body.lifeos-v2 :is(.gym-template,.theme-choice,.preset,.language-category).active{border-color:var(--v-accent);background:var(--v-accent-soft);box-shadow:none}
body.lifeos-v2 .gym-template strong{font-size:12px;color:var(--v-text);display:flex;align-items:center;gap:7px}.gym-template strong .v2-icon{width:17px;height:17px}
body.lifeos-v2 :is(.goal-suggestion p,.routine-suggestion p,.gym-template small,.language-category small,.theme-choice small,.preset small){color:var(--v-muted);font-family:inherit;font-size:10px}
body.lifeos-v2 :is(.habit-icon,.goal-icon,.routine-icon){background:var(--v-accent-soft);color:var(--v-accent);border-radius:8px}
body.lifeos-v2 .habit-toggle{background:var(--v-surface);border-color:var(--v-border);color:var(--v-muted)}body.lifeos-v2 .habit-row.done .habit-toggle{background:var(--v-accent);color:var(--v-on-accent);border-color:var(--v-accent)}
body.lifeos-v2 :is(.habit-name-button,.habit-step,.habit-step span,.routine-step,.settings-label,.schedule-time){color:var(--v-text)!important;font-family:inherit}
body.lifeos-v2 :is(.routine-suggestion-grid,.goal-suggestions-grid){gap:10px}
body.lifeos-v2 .journal-layout{grid-template-columns:minmax(0,1fr) 280px}.journal-main{gap:16px}
body.lifeos-v2 .prompt-card label{font:600 14px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text)}body.lifeos-v2 .prompt-num{background:var(--v-accent-soft);color:var(--v-accent);border-radius:6px}
body.lifeos-v2 .journal-rich-editor{background:var(--v-input);border-color:var(--v-border);color:var(--v-text);font:400 14px/1.8 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border-radius:8px;min-height:150px;padding:16px}
body.lifeos-v2 .journal-rich-editor .tiptap{min-height:110px;outline:none}.journal-rich-editor .tiptap p{color:var(--v-text)!important}
body.lifeos-v2 .journal-toolbar button{background:var(--v-raised);color:var(--v-muted);border-color:var(--v-border);min-width:30px;min-height:30px}
body.lifeos-v2 .focus-main{min-height:620px;border-radius:14px;background:var(--v-surface);align-items:center;padding:34px}
body.lifeos-v2 .focus-main:before{width:330px;height:330px;top:40px;left:calc(50% - 165px);border-color:var(--v-border);box-shadow:0 0 0 24px color-mix(in srgb,var(--v-border) 20%,transparent),0 0 0 48px color-mix(in srgb,var(--v-border) 10%,transparent);pointer-events:none}
body.lifeos-v2 .focus-label{font-size:10px;color:var(--v-accent);letter-spacing:.18em}
body.lifeos-v2 .focus-time{font:300 clamp(64px,7vw,108px)/1.15 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.075em;color:var(--v-text);font-variant-numeric:tabular-nums;margin:18px 0}
body.lifeos-v2 .focus-sub{color:var(--v-muted);font-size:12px}.focus-controls{margin:22px 0 25px}
body.lifeos-v2 :is(.focus-music,.focus-options,.focus-note){color:var(--v-muted);background:var(--v-raised);border-color:var(--v-border);border-radius:10px}
body.lifeos-v2 .focus-music{padding:17px;margin-top:20px}.focus-music-label{color:var(--v-text)!important}.focus-music input[type=file]{max-width:100%;font-size:11px;color:var(--v-muted)}
body.lifeos-v2 .focus-options label{font-size:11px}.focus-presets{gap:9px}body.lifeos-v2 .preset{padding:15px}body.lifeos-v2 .preset b{font:600 15px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text)}
body.lifeos-v2 .session-stat{background:var(--v-raised);border-color:var(--v-border)}body.lifeos-v2 .session-stat b{font:500 36px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-accent)}
body.lifeos-v2 .calendar-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.8fr);gap:20px;align-items:start}
body.lifeos-v2 .calendar-card{padding:22px}.calendar-card>.month-bar{display:none!important}
body.lifeos-v2 .fc{font-family:inherit;font-size:11px;color:var(--v-text);--fc-border-color:var(--v-border);--fc-page-bg-color:var(--v-surface);--fc-neutral-bg-color:var(--v-raised);--fc-today-bg-color:var(--v-accent-soft);--fc-button-bg-color:var(--v-raised);--fc-button-border-color:var(--v-border);--fc-button-text-color:var(--v-text);--fc-button-hover-bg-color:var(--v-accent-soft);--fc-button-hover-border-color:var(--v-border);--fc-button-active-bg-color:var(--v-accent);--fc-button-active-border-color:var(--v-accent);--fc-event-bg-color:var(--v-accent);--fc-event-border-color:var(--v-accent);--fc-event-text-color:var(--v-on-accent)}
body.lifeos-v2 .fc .fc-toolbar-title{font:600 19px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text);letter-spacing:-.04em}.fc .fc-toolbar{gap:10px;flex-wrap:wrap}
body.lifeos-v2 .fc .fc-button{border-radius:6px;font-size:10px;box-shadow:none;min-height:32px}.fc .fc-daygrid-day-number{padding:8px;font-size:11px}.fc .fc-col-header-cell-cushion{padding:12px 0;color:var(--v-muted);font-weight:500;text-decoration:none}
body.lifeos-v2 .fc .fc-event{background:var(--v-accent-soft);color:var(--v-accent);border:0;border-left:2px solid var(--v-accent);border-radius:3px;padding:2px 3px;font-size:9px}.fc-daygrid-day-frame{min-height:75px}
body.lifeos-v2 .calendar-import-tools{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 15px}.calendar-export-note{font-size:10px!important;color:var(--v-muted)!important;line-height:1.7!important}
body.lifeos-v2 .agenda-card{display:block;padding:23px;min-width:0}.agenda-card .card-head{margin-bottom:18px}
body.lifeos-v2 .agenda-empty{background:var(--v-raised);color:var(--v-muted);font:400 12px/1.7 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border:1px dashed var(--v-border);border-radius:8px;padding:18px}
body.lifeos-v2 .agenda-item{background:var(--v-raised);border-color:var(--v-border);border-radius:8px}.agenda-copy small{font-size:10px;color:var(--v-muted)!important}
body.lifeos-v2 .agenda-time{color:var(--v-accent);font-size:11px;font-family:inherit}.agenda-delete{opacity:.7}
body.lifeos-v2 .event-form{border:0;border-top:1px solid var(--v-border);padding:20px 0 0;margin:20px 0 0;display:grid;gap:10px}.event-form>.primary-btn{width:100%;min-height:43px;margin-top:5px}.event-row{gap:8px}
body.lifeos-v2 .event-presets button{background:var(--v-raised);border-color:var(--v-border);color:var(--v-text);font-size:10px;border-radius:6px}
body.lifeos-v2 .event-reminder-hint{font-size:10px;color:var(--v-muted)}
body.lifeos-v2 .agenda-reminder,body.lifeos-v2 .event-reminder-setup,body.lifeos-v2 .schedule-reminder-setup{color:var(--v-muted);border-color:var(--v-border);background:var(--v-raised)}
body.lifeos-v2 .agenda-reminder.active,body.lifeos-v2 .event-reminder-setup.active,body.lifeos-v2 .schedule-reminder-setup.active{background:var(--v-accent-soft)!important;color:var(--v-accent)!important;border-color:var(--v-border)!important}
body.lifeos-v2 .recipe-library{padding:25px}.library-intro h2{font-family:inherit!important;font-size:24px!important;letter-spacing:-.045em}.library-intro p{max-width:650px;font-size:11px!important}
body.lifeos-v2 .library-count{background:var(--v-accent-soft);color:var(--v-accent);border-color:var(--v-border);font-size:12px;border-radius:7px}
body.lifeos-v2 .library-filters{grid-template-columns:minmax(200px,1.6fr) repeat(3,minmax(120px,1fr));gap:9px}
body.lifeos-v2 .diet-filters label{background:var(--v-raised);border-color:var(--v-border);color:var(--v-muted);border-radius:6px;font-size:10px}.diet-filters input{width:13px!important;height:13px!important}
body.lifeos-v2 .recipe-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.lifeos-v2 :is(.library-recipe,.recipe-choice){background:var(--v-raised);border:1px solid var(--v-border);border-radius:10px;color:var(--v-text);box-shadow:none}
body.lifeos-v2 .library-recipe strong{font:600 12px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text)}body.lifeos-v2 .library-recipe :is(small,em){font-size:10px;color:var(--v-muted)}
body.lifeos-v2 .recipe-art{background:var(--v-accent-soft);border-radius:9px;color:var(--v-accent);box-shadow:none}.recipe-art>.v2-icon{width:25px;height:25px}.recipe-art-hero>.v2-icon{width:48px;height:48px}
body.lifeos-v2 .recipe-name,body.lifeos-v2 .recipe-head h2{font:600 27px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text);letter-spacing:-.05em}.recipe-head p{font-size:12px!important}
body.lifeos-v2 :is(.recipe-favorite,.recipe-favorite-filter){background:var(--v-surface);color:var(--v-accent);border-color:var(--v-border)}
body.lifeos-v2 .recipe-columns h3{font:600 14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text)}body.lifeos-v2 .recipe-steps li{font:400 12px/1.8 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-muted)}body.lifeos-v2 :is(.ingredient-list label,.shopping-list label,.meal-day){color:var(--v-text);border-color:var(--v-border);background:var(--v-raised);border-radius:6px}
body.lifeos-v2 .portion-switch{background:var(--v-raised);border-color:var(--v-border)}body.lifeos-v2 .portion-switch button{color:var(--v-muted)}body.lifeos-v2 .portion-switch button.active{background:var(--v-accent);color:var(--v-on-accent)}
body.lifeos-v2 .metric{background:var(--v-raised);border:1px solid var(--v-border);border-radius:8px;padding:16px}body.lifeos-v2 .metric strong{font:500 29px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text);letter-spacing:-.05em}body.lifeos-v2 .metric small{font-size:10px;color:var(--v-muted)}
body.lifeos-v2 .flashcard{background:var(--v-raised);border-color:var(--v-border);border-radius:12px;min-height:250px}body.lifeos-v2 .flashcard .word{font:500 32px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-text);letter-spacing:-.04em}body.lifeos-v2 .flashcard .translation{font:400 21px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-accent)}body.lifeos-v2 .flashcard .example{color:var(--v-muted)}
body.lifeos-v2 .module-footer{border-color:var(--v-border);color:var(--v-muted)}body.lifeos-v2 .quiz-option.correct{background:#244a3450;border-color:#67976b}body.lifeos-v2 .quiz-option.wrong{background:#a75f4a20;border-color:#a75f4a}
body.lifeos-v2 .budget-meter,body.lifeos-v2 .budget-cat i{background:var(--v-border)}body.lifeos-v2 .budget-meter>span,body.lifeos-v2 .budget-cat i span{background:var(--v-accent)}
body.lifeos-v2 .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
body.lifeos-v2 .settings-card{padding:25px;min-width:0}.settings-card h2{margin-bottom:8px!important}.settings-card>p{font-size:12px!important;margin:7px 0 18px}.settings-card>.primary-btn{margin:4px 0 10px}
body.lifeos-v2 :is(.privacy-note,.friend-invite-result,.daily-reminder-note,.recipe-price-note,.focus-music-meta,.focus-music-hint){background:var(--v-raised)!important;color:var(--v-muted)!important;border-color:var(--v-border);border-radius:7px;font-size:10px!important;line-height:1.8}
body.lifeos-v2 .privacy-note{padding:12px;margin-top:13px}.settings-card .settings-label{font-size:11px!important;margin:15px 0 6px}
body.lifeos-v2 .daily-reminder-settings{border-color:var(--v-border);margin-top:22px;padding-top:20px}.daily-reminder-settings h3{font-size:13px!important}.daily-reminder-list{gap:7px!important}
body.lifeos-v2 .daily-reminder-row{border-color:var(--v-border);background:var(--v-raised);color:var(--v-text)!important;border-radius:7px;font-size:11px}
body.lifeos-v2 .scheduler-config{max-width:100%;overflow:auto;color:var(--v-muted);background:var(--v-input);border:1px solid var(--v-border);font-size:10px;padding:12px;border-radius:7px;white-space:pre-wrap;overflow-wrap:anywhere}
body.lifeos-v2 .friend-invite-row{background:var(--v-raised);border-color:var(--v-border);border-radius:8px}body.lifeos-v2 .friend-invite-copy strong{color:var(--v-text)}body.lifeos-v2 .friend-invite-copy :is(small,.friend-invite-state){color:var(--v-muted)}
body.lifeos-v2 .theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.theme-choice{padding:10px!important}.theme-swatch{height:40px!important;border-radius:6px!important}.theme-choice strong{font-size:11px!important}.theme-choice small{display:none}
body.lifeos-v2 .couple-hero{padding:35px;border-radius:14px;margin-bottom:20px;background:var(--v-raised)}body.lifeos-v2 .couple-hero h1{font:550 42px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.055em;color:var(--v-text)}body.lifeos-v2 .couple-hero p{color:var(--v-muted)}
body.lifeos-v2 .couple-counter-card,body.lifeos-v2 .couple-photo-card{background:var(--v-surface)}body.lifeos-v2 .couple-elapsed>div{background:var(--v-raised);border-color:var(--v-border);border-radius:8px}body.lifeos-v2 .couple-elapsed strong{font:500 28px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--v-accent)}
body.lifeos-v2 .couple-photo-drop{background:var(--v-raised);border-color:var(--v-border);color:var(--v-muted)}body.lifeos-v2 .couple-photo-drop b{color:var(--v-text)}body.lifeos-v2 .couple-idea-tag{background:var(--v-accent-soft);color:var(--v-accent)}
body.lifeos-v2 .toast{background:var(--v-text);color:var(--v-bg);border:1px solid var(--v-border);font-size:12px;border-radius:9px;box-shadow:var(--v-shadow);z-index:150}
body.lifeos-v2 .sync-alert{background:var(--v-raised);border-color:var(--v-border);color:var(--v-text);border-radius:10px;margin-bottom:20px}.sync-alert-message{color:var(--v-muted)!important}.sync-alert-actions button{font-size:11px!important}
/* Native dialogs keep navigation accessible without consuming the mobile canvas. */
.v2-mobile-dock{display:none}.v2-dialog{padding:0;border:1px solid var(--v-border);border-radius:15px;width:min(560px,calc(100% - 32px));max-height:80svh;overflow:auto;background:var(--v-surface);color:var(--v-text);box-shadow:0 30px 100px #0005;font-family:inherit}.v2-dialog::backdrop{background:#08110d80;backdrop-filter:blur(8px)}
.v2-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 22px 15px;border-bottom:1px solid var(--v-border)}.v2-dialog-header h2{margin:0;font-size:18px}.v2-dialog-close{display:grid;place-items:center;border:0;background:var(--v-raised);color:var(--v-muted);width:32px;height:32px;border-radius:6px;cursor:pointer}
.v2-command-input{display:flex;gap:10px;align-items:center;padding:14px 22px;border-bottom:1px solid var(--v-border)}body.lifeos-v2 .v2-command-input input{border:0!important;padding:0!important;outline:0!important;background:transparent!important;width:100%}.v2-command-input>.v2-icon{color:var(--v-faint)}
.v2-command-results{padding:8px}.v2-command-results a{display:flex;gap:12px;align-items:center;color:var(--v-text);text-decoration:none;padding:11px 14px;border-radius:7px;font-size:13px}.v2-command-results a:hover,.v2-command-results a:focus{background:var(--v-accent-soft);outline:none}.v2-command-results small{margin-left:auto;color:var(--v-faint);font-size:10px}.v2-command-empty{color:var(--v-muted);padding:16px;font-size:12px}.v2-command-footer{padding:10px 20px;border-top:1px solid var(--v-border);color:var(--v-faint);font-size:10px}
.v2-mobile-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:18px}.v2-mobile-menu-grid a{padding:15px;display:flex;align-items:center;gap:12px;text-decoration:none;background:var(--v-raised);color:var(--v-text);font-size:12px;border:1px solid var(--v-border);border-radius:9px}.v2-mobile-menu-grid a.active{background:var(--v-accent-soft);border-color:var(--v-accent)}
@keyframes v2-page-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes v2-float{50%{transform:translateY(-7px) rotate(-3deg)}}
@media(min-width:1600px){body.lifeos-v2 .shell{grid-template-columns:245px minmax(0,1fr)}body.lifeos-v2 .sidebar{width:245px}body.lifeos-v2 .hero{padding:38px 45px;min-height:275px;grid-template-columns:1fr 320px}body.lifeos-v2 .overview-grid{grid-template-columns:1.3fr .9fr}body.lifeos-v2 .settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){body.lifeos-v2 .shell{grid-template-columns:200px minmax(0,1fr)}body.lifeos-v2 .sidebar{width:200px;padding-inline:12px}body.lifeos-v2 main{padding-inline:24px}body.lifeos-v2 .hero{grid-template-columns:1fr 170px;padding:26px}.v2-orbit{transform:scale(.8)}body.lifeos-v2 .calendar-layout,body.lifeos-v2 .cooking-layout{grid-template-columns:1fr}body.lifeos-v2 .recipe-results{grid-template-columns:repeat(2,minmax(0,1fr))}body.lifeos-v2 .library-filters{grid-template-columns:1fr 1fr}body.lifeos-v2 .library-filters input{grid-column:1/-1}body.lifeos-v2 .focus-layout{grid-template-columns:minmax(0,1fr) 250px}body.lifeos-v2 .overview-grid{grid-template-columns:1fr 1fr}.v2-search-trigger kbd{display:none}.v2-search-trigger span{display:none}}
@media(max-width:900px){body.lifeos-v2 .shell{grid-template-columns:76px minmax(0,1fr)}body.lifeos-v2 .sidebar{width:76px;padding:25px 10px 15px}body.lifeos-v2 .brand{padding:0 0 22px;justify-content:center}body.lifeos-v2 .brand-copy,body.lifeos-v2 .v2-nav-heading,body.lifeos-v2 .nav-text,body.lifeos-v2 .v2-side-caption,body.lifeos-v2 .user-copy,body.lifeos-v2 .user-card>a,.v2-nav-count{display:none!important}body.lifeos-v2 .nav{gap:5px}body.lifeos-v2 .nav a{justify-content:center;padding:10px}body.lifeos-v2 .user-card{justify-content:center}body.lifeos-v2 .launchpad{grid-template-columns:repeat(3,minmax(0,1fr))}body.lifeos-v2 .launchpad a:nth-last-child(-n+2){display:none}body.lifeos-v2 .task-board,body.lifeos-v2 .routine-columns,body.lifeos-v2 .module-grid,body.lifeos-v2 .journal-layout{grid-template-columns:1fr}body.lifeos-v2 .task-summary{display:none}body.lifeos-v2 .focus-layout{grid-template-columns:1fr}.date-pill{display:none!important}}
@media(max-width:640px){body.lifeos-v2 .shell{display:block;padding:0 0 calc(90px + env(safe-area-inset-bottom))!important}body.lifeos-v2 .sidebar{display:none}body.lifeos-v2 main{padding:0 17px 20px}body.lifeos-v2 .topbar{height:69px;margin-bottom:22px;gap:8px}body.lifeos-v2 .breadcrumb{font-size:10px;gap:6px}body.lifeos-v2 .breadcrumb b{font-size:11px}.top-actions{gap:5px!important}body.lifeos-v2 .small-action{width:32px;padding:0;justify-content:center}body.lifeos-v2 .small-action .label{display:none}.v2-search-trigger{padding:8px}.v2-notifications-link{border:0;width:30px}.v2-workspace-caption{font-size:9px}.v2-hero-note{display:none}
body.lifeos-v2 .hero{grid-template-columns:minmax(0,1fr);min-height:0;padding:24px 23px;margin-bottom:22px;border-radius:12px;gap:0}body.lifeos-v2 .hero h1{font-size:34px;max-width:100%;margin:13px 0}body.lifeos-v2 .hero p{font-size:11px;max-width:260px;line-height:1.7}body.lifeos-v2 .hero .kicker{font-size:9px}.v2-day-visual{display:none}body.lifeos-v2 .hero-action{margin-top:19px}.v2-section-label{margin-bottom:12px}.v2-section-label h2{font-size:13px}.v2-section-label span{font-size:9px}
body.lifeos-v2 .overview-stats{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:22px}body.lifeos-v2 .stat{min-height:105px;padding:15px 17px}body.lifeos-v2 .stat strong{font-size:28px;margin-top:10px}.stat-top .v2-icon{width:16px;height:16px}body.lifeos-v2 .launchpad{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}body.lifeos-v2 .launchpad a{padding:12px 10px}.launchpad a:after{display:none}body.lifeos-v2 .launchpad a>span{width:28px;height:28px;margin-bottom:4px}body.lifeos-v2 .launchpad a b{font-size:10px}body.lifeos-v2 .launchpad small{font-size:8px}
body.lifeos-v2 .quick-capture{flex-wrap:nowrap;padding:9px;gap:5px;margin-bottom:20px}body.lifeos-v2 .quick-capture>span{padding:0 4px}body.lifeos-v2 .quick-capture input{min-width:0;font-size:11px}body.lifeos-v2 .quick-capture .primary-btn{font-size:10px!important;padding:8px;min-height:34px;margin:0}.v2-capture-button-label{display:none}
body.lifeos-v2 .overview-grid{grid-template-columns:1fr;gap:15px}body.lifeos-v2 .stack{gap:15px}body.lifeos-v2 .card,body.lifeos-v2 .prompt-card{padding:19px;border-radius:11px}body.lifeos-v2 .page-title{display:block;margin-bottom:23px}body.lifeos-v2 .page-title h1{font-size:31px;margin:8px 0 10px}body.lifeos-v2 .page-title p{font-size:11px;line-height:1.8}body.lifeos-v2 .page-title>.pill{display:none}
body.lifeos-v2 .settings-grid{grid-template-columns:1fr;gap:14px}body.lifeos-v2 .settings-card{padding:22px}body.lifeos-v2 .settings-card>p{font-size:12px!important}.settings-card .theme-options{grid-template-columns:repeat(3,minmax(0,1fr))}
body.lifeos-v2 .calendar-layout{display:flex;flex-direction:column;gap:15px}.calendar-layout>.card{width:100%}body.lifeos-v2 .calendar-card{padding:14px}.calendar-import-tools{gap:6px!important}.calendar-import-tools .primary-btn{flex-basis:100%}.calendar-import-tools .soft-btn{flex:1;font-size:9px!important;padding:8px}.calendar-export-note{font-size:9px!important}.fc .fc-toolbar-title{font-size:17px!important}.fc .fc-toolbar{row-gap:12px!important}.fc .fc-button{font-size:9px!important;padding:5px!important}.fc .fc-daygrid-day-number{padding:6px!important;font-size:10px!important}.fc-daygrid-day-frame{min-height:55px}.fc .fc-event{font-size:8px!important}.event-form{padding-bottom:4px!important}.event-row{grid-template-columns:1fr 1fr!important}.event-presets button{font-size:10px!important}.agenda-card{padding:20px!important}
body.lifeos-v2 .recipe-results{grid-template-columns:1fr}.library-filters{grid-template-columns:1fr 1fr!important}.library-filters input{grid-column:1/-1}.library-filters select{font-size:10px!important;padding:9px!important}.library-filters select:last-child{grid-column:1/-1}.diet-filters{gap:5px!important}.diet-filters label{padding:6px!important;font-size:9px!important}.recipe-library{padding:18px!important}.library-intro h2{font-size:23px!important}.recipe-head h2{font-size:24px!important}.recipe-columns{grid-template-columns:1fr!important}.recipe-art-hero{width:85px!important;height:85px!important}.recipe-heading-group{gap:12px!important}.recipe-heading-group>div:last-child{min-width:0}.recipe-name{overflow-wrap:anywhere}.shopping-form{flex-wrap:wrap}.shopping-form input{width:100%}
body.lifeos-v2 .focus-main{min-height:590px;padding:25px 18px}.focus-main:before{width:260px!important;height:260px!important;left:calc(50% - 130px)!important;top:38px!important}body.lifeos-v2 .focus-time{font-size:82px}.focus-content{width:100%;min-width:0}.focus-options{max-width:100%;font-size:10px}.focus-options label{flex-wrap:wrap}.focus-music-row{flex-direction:column}.focus-music{max-width:100%!important}.focus-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.focus-presets .preset{padding:11px 6px}.focus-presets .preset b{font-size:12px!important}
body.lifeos-v2 .couple-hero{padding:26px}.couple-hero h1{font-size:32px!important}.couple-layout,.couple-columns{grid-template-columns:1fr!important}.couple-elapsed{grid-template-columns:repeat(3,1fr)!important}.couple-elapsed strong{font-size:24px!important}
.v2-mobile-dock{position:fixed;bottom:0;left:0;right:0;z-index:60;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:9px 10px calc(8px + env(safe-area-inset-bottom));background:var(--v-side);border-top:1px solid var(--v-border);backdrop-filter:blur(22px);box-shadow:0 -5px 25px #0000000c}.v2-mobile-dock a,.v2-mobile-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;border:0;background:transparent;color:var(--v-muted);min-height:45px;font:500 9px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:3px 0;border-radius:8px;cursor:pointer}.v2-mobile-dock .v2-icon{width:20px;height:20px}.v2-mobile-dock a.active,.v2-mobile-dock button.active{color:var(--v-accent);background:var(--v-accent-soft)}
body.lifeos-v2 .toast{bottom:calc(90px + env(safe-area-inset-bottom));max-width:calc(100vw - 34px);white-space:normal;left:17px;right:17px;transform:translateY(10px);width:auto;text-align:center}.toast.show{transform:none!important}
.v2-dialog{border-radius:15px;max-height:80svh}.v2-mobile-menu-grid{padding:15px;gap:7px}.v2-mobile-menu-grid a{padding:13px 10px;font-size:11px}.v2-dialog-header{padding:19px 18px 14px}.v2-command-results a{font-size:12px}
body.lifeos-v2 .schedule-form{display:grid;grid-template-columns:1fr 1fr;gap:9px}body.lifeos-v2 .schedule-form #scheduleTime{grid-column:1;grid-row:auto}body.lifeos-v2 .schedule-form #scheduleTitle{grid-column:1/-1;grid-row:1}body.lifeos-v2 .schedule-form #scheduleReminderSetup{grid-column:1/-1;grid-row:auto}body.lifeos-v2 .schedule-form .primary-btn{grid-column:1/-1;grid-row:auto;width:100%}.schedule-sound{grid-column:2!important}.schedule-item{grid-template-columns:48px minmax(0,1fr) auto!important}.routine-form{grid-template-columns:1fr!important}.routine-form>*{grid-column:1!important}.task-form{flex-wrap:wrap}.task-form input{flex-basis:100%}.task-form select{flex:1}.task-form button{width:40px}.metric-row{gap:6px!important}.metric{padding:12px!important}.metric strong{font-size:24px!important}.metric small{font-size:9px!important}.gym-template-grid{grid-template-columns:1fr 1fr!important}
}
@media(prefers-reduced-motion:reduce){body.lifeos-v2 *,body.lifeos-v2 *:before,body.lifeos-v2 *:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Final contrast and touch pass. */
body.lifeos-v2{--v-muted:#606c63;--v-faint:#69756c}
body.lifeos-v2.theme-moon{--v-muted:#a6b1a7;--v-faint:#8d9b90}
body.lifeos-v2.theme-ocean{--v-muted:#a3c0cd;--v-faint:#8bafbc}
body.lifeos-v2 .nav a,body.lifeos-v2 .nav-text{font-size:13px}
body.lifeos-v2 .hero p,body.lifeos-v2 .page-title p{font-size:13px}
body.lifeos-v2 .card-head p{font-size:12px!important}
body.lifeos-v2 .task-name{font-size:13px}
body.lifeos-v2 .stat-top{font-size:11px}body.lifeos-v2 .stat small{font-size:10px}
body.lifeos-v2 .launchpad b{font-size:12px}body.lifeos-v2 .launchpad small{font-size:10px}
body.lifeos-v2 :is(.agenda-flower,.couple-heart,.dot){color:var(--v-accent)}body.lifeos-v2 .dot{background:var(--v-accent)}
body.lifeos-v2 .calendar-export-note{background:var(--v-raised);border:1px solid var(--v-border);color:var(--v-muted)!important;border-radius:7px}
body.lifeos-v2 .fc .fc-button-primary.fc-button-active{color:var(--v-on-accent)!important}
body.lifeos-v2 input[type=file]{background:var(--v-input)!important;border:1px solid var(--v-border)!important;color:var(--v-muted)!important;border-radius:6px;padding:4px!important}
body.lifeos-v2 input[type=file]::file-selector-button{background:var(--v-raised);border:0;border-right:1px solid var(--v-border);color:var(--v-text);border-radius:4px;padding:7px 9px;margin-right:8px;font:500 11px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.lifeos-v2 .event-presets button{display:flex;gap:6px;align-items:center;min-height:40px}.event-presets button .v2-icon{width:15px;height:15px}
body.lifeos-v2 .v2-command-footer{font-size:11px}
@media(max-width:640px){
 body.lifeos-v2 :is(input:not([type=checkbox]):not([type=range]):not([type=file]),select,textarea){font-size:16px!important;min-height:44px}
 body.lifeos-v2 .quick-capture input{font-size:16px!important;min-height:36px}
 body.lifeos-v2 .hero p,body.lifeos-v2 .page-title p{font-size:12px}
 body.lifeos-v2 .launchpad b{font-size:11px}body.lifeos-v2 .launchpad small{font-size:9px}
 body.lifeos-v2 .focus-time{font-size:82px}
}

/* LIFE OS 2.1 — a restrained, hand-drawn-feeling night sky. */
body.lifeos-v2 .hero{isolation:isolate;border-color:color-mix(in srgb,var(--v-accent) 24%,var(--v-border));background:linear-gradient(120deg,var(--v-surface) 0%,var(--v-raised) 66%,color-mix(in srgb,var(--v-accent) 10%,var(--v-surface)) 100%)}
body.lifeos-v2 .hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle at 76% 20%,color-mix(in srgb,var(--v-accent) 66%,transparent) 0 1px,transparent 1.7px),radial-gradient(circle at 91% 64%,color-mix(in srgb,var(--v-accent) 40%,transparent) 0 1px,transparent 1.7px),radial-gradient(circle at 64% 78%,color-mix(in srgb,var(--v-accent) 35%,transparent) 0 1px,transparent 1.7px),radial-gradient(ellipse at 85% 50%,color-mix(in srgb,var(--v-accent) 12%,transparent),transparent 48%);background-size:103px 91px,137px 113px,79px 127px,100% 100%;opacity:.72}
body.lifeos-v2 .hero:after{display:block;content:"";position:absolute;right:10%;top:50%;width:82px;height:82px;border-radius:50%;border:1px solid color-mix(in srgb,var(--v-accent) 35%,var(--v-border));background:radial-gradient(circle at 32% 27%,color-mix(in srgb,var(--v-accent) 44%,var(--v-surface)) 0 2px,transparent 3px),radial-gradient(circle at 63% 66%,color-mix(in srgb,var(--v-accent) 30%,transparent) 0 3px,transparent 4px),radial-gradient(circle at 35% 32%,var(--v-raised),var(--v-surface) 72%);box-shadow:0 0 42px color-mix(in srgb,var(--v-accent) 20%,transparent),inset -8px -7px 16px color-mix(in srgb,var(--v-accent) 12%,transparent);transform:translate(17%,-50%);opacity:.72;z-index:-1}
body.lifeos-v2.theme-moon .hero{background:linear-gradient(115deg,#171e1b 0%,#1c2520 58%,#283027 100%)}
body.lifeos-v2.theme-moon .hero:before{opacity:.9}
body.lifeos-v2.theme-moon .hero h1{color:#f0f2e9}body.lifeos-v2.theme-moon .hero h1 em{color:#c9dfa9}
body.lifeos-v2 .v2-orbit i{border-color:color-mix(in srgb,var(--v-accent) 34%,var(--v-border));animation:v2-orbit-turn 34s linear infinite}
body.lifeos-v2 .v2-orbit i:nth-child(2){animation-duration:47s;animation-direction:reverse}
body.lifeos-v2 .v2-orbit i:nth-child(3){animation-duration:59s}
body.lifeos-v2 .v2-orbit:after{width:7px;height:7px;box-shadow:0 0 0 6px color-mix(in srgb,var(--v-accent) 16%,transparent),0 0 20px color-mix(in srgb,var(--v-accent) 35%,transparent)}
@keyframes v2-orbit-turn{to{rotate:360deg}}
body.lifeos-v2 .v2-origin{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:22px;align-items:start;margin-top:30px;padding:28px 30px;border:1px solid var(--v-border);border-radius:13px;background:linear-gradient(105deg,var(--v-surface),var(--v-raised));overflow:hidden}
body.lifeos-v2 .v2-origin:after{content:"";position:absolute;right:-42px;bottom:-95px;width:240px;height:240px;border:1px solid color-mix(in srgb,var(--v-accent) 20%,var(--v-border));border-radius:50%;box-shadow:0 0 0 22px color-mix(in srgb,var(--v-accent) 4%,transparent),0 0 0 48px color-mix(in srgb,var(--v-accent) 3%,transparent);pointer-events:none}
.v2-origin-mark{width:56px;height:56px;position:relative;border:1px solid var(--v-border);border-radius:50%;background:var(--v-raised);display:grid;place-items:center}.v2-origin-mark:before{content:"";width:26px;height:26px;border-radius:50%;background:radial-gradient(circle at 32% 27%,var(--v-surface) 0 35%,transparent 38%),var(--v-accent);box-shadow:0 0 21px color-mix(in srgb,var(--v-accent) 24%,transparent)}.v2-origin-mark span{position:absolute;width:48px;height:20px;border:1px solid color-mix(in srgb,var(--v-accent) 55%,var(--v-border));border-radius:50%;rotate:-28deg}.v2-origin h2{margin:5px 0 12px;font-size:21px;letter-spacing:-.04em}.v2-origin p{max-width:780px;margin:0 0 9px;color:var(--v-muted);font-size:12px;line-height:1.8}.v2-origin a{display:inline-flex;gap:7px;margin-top:5px;color:var(--v-accent);font-size:11px;font-weight:600;text-decoration:none}.v2-origin-version{color:var(--v-faint);font-size:10px;white-space:nowrap}
body.lifeos-v2 .nav a[data-pending-count]:not([data-pending-count=""]),body.lifeos-v2 .v2-mobile-dock a[data-pending-count]:not([data-pending-count=""]){position:relative}
body.lifeos-v2 .nav a[data-pending-count]:not([data-pending-count=""])::after,body.lifeos-v2 .v2-mobile-dock a[data-pending-count]:not([data-pending-count=""])::after{content:attr(data-pending-count);position:absolute;top:5px;right:7px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border:2px solid var(--v-side);border-radius:99px;background:#bd687b;color:white;font-size:9px;font-weight:700;line-height:1}
body.lifeos-v2 .v2-mobile-dock a[data-pending-count]:not([data-pending-count=""])::after{top:1px;right:calc(50% - 22px)}
@media(max-width:640px){body.lifeos-v2 .hero{padding:22px 21px}body.lifeos-v2 .hero:after{width:60px;height:60px;right:4%;top:23%;transform:none;opacity:.36}.v2-origin{grid-template-columns:42px minmax(0,1fr)!important;gap:14px!important;padding:20px!important}.v2-origin-mark{width:40px;height:40px}.v2-origin-mark:before{width:20px;height:20px}.v2-origin-mark span{width:35px;height:15px}.v2-origin-version{grid-column:2}.v2-origin h2{font-size:18px}.v2-origin p{font-size:11px}}
@media(prefers-reduced-motion:reduce){body.lifeos-v2 .v2-orbit i{animation:none}}

/* LIFE OS 2.1 — a calm reading desk with local-first PDF files. */
body.lifeos-v2 .books-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:25px 28px;margin-bottom:16px;background:linear-gradient(112deg,var(--v-surface),var(--v-raised));overflow:hidden;position:relative}
.books-intro h2{margin:5px 0 8px;font-size:20px;letter-spacing:-.04em}.books-intro p{max-width:650px;margin:0;color:var(--v-muted);font-size:12px;line-height:1.75}.books-intro-mark{position:relative;display:block;flex:none;width:74px;height:74px;border:1px solid color-mix(in srgb,var(--v-accent) 38%,var(--v-border));border-radius:50%;background:radial-gradient(circle at 35% 32%,var(--v-accent-soft),var(--v-raised) 70%)}.books-intro-mark:before,.books-intro-mark:after{content:"";position:absolute;inset:11px 2px;border:1px solid color-mix(in srgb,var(--v-accent) 38%,var(--v-border));border-radius:50%;transform:rotate(-35deg)}.books-intro-mark:after{transform:rotate(35deg);inset:2px 11px}
.books-add-card{margin-bottom:16px}.books-add-form{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr auto;align-items:end;gap:11px}.books-add-form label,.book-note-form label{display:grid;gap:6px;color:var(--v-muted);font-size:11px;font-weight:550}.books-add-form input,.books-add-form select,.book-note-form select,.book-note-form input,.book-note-form textarea,.books-shelf input{width:100%;min-width:0;padding:10px 11px;border:1px solid var(--v-border);border-radius:8px;background:var(--v-input);color:var(--v-text);font:inherit}.books-add-form .books-file-label input{padding:5px;font-size:10px}.books-add-form .primary-btn{min-height:42px;white-space:nowrap}.books-privacy{margin:12px 0 0;color:var(--v-faint);font-size:10px}
.books-layout{display:grid;grid-template-columns:minmax(225px,.31fr) minmax(0,1fr);gap:16px;align-items:start}.books-shelf{position:sticky;top:16px;padding:17px!important}.books-shelf .card-head{margin-bottom:11px}.books-shelf h2{font-size:16px}.books-count{min-width:30px;padding:4px 8px;border:1px solid var(--v-border);border-radius:99px;color:var(--v-muted);font-size:10px;text-align:center}.books-list{display:grid;gap:6px;margin-top:11px;max-height:60vh;overflow:auto}.book-list-item{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;padding:9px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--v-text);cursor:pointer}.book-list-item:hover,.book-list-item.active{background:var(--v-raised);border-color:var(--v-border)}.book-list-item>span:nth-child(2){min-width:0}.book-list-item b,.book-list-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-list-item b{font-size:11px;font-weight:600}.book-list-item small{margin-top:3px;color:var(--v-faint);font-size:9px}.book-cover{position:relative;width:30px;height:38px;border-radius:3px 6px 6px 3px;background:linear-gradient(135deg,var(--v-accent-soft),var(--v-raised));border:1px solid var(--v-border);box-shadow:inset 3px 0 color-mix(in srgb,var(--v-accent) 35%,transparent)}.book-cover i{position:absolute;left:8px;right:5px;top:12px;border-top:1px solid var(--v-accent);opacity:.65}.book-chevron{color:var(--v-faint);font-size:18px}.books-empty-small{padding:12px;color:var(--v-faint);font-size:11px;line-height:1.6}.books-empty{min-height:290px;display:grid;align-content:center;justify-items:center;text-align:center;padding:36px;color:var(--v-muted)}.books-empty>span{display:grid;place-items:center;width:58px;height:58px;margin-bottom:14px;border:1px solid var(--v-border);border-radius:50%;color:var(--v-accent);font-size:25px;background:var(--v-raised)}.books-empty h2{font-size:18px}.books-empty p{max-width:360px;color:var(--v-muted);font-size:12px}
.book-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:5px 0 17px;border-bottom:1px solid var(--v-border)}.book-detail-head h2{margin:5px 0 4px;font-size:22px;letter-spacing:-.045em}.book-detail-head p{margin:0;color:var(--v-muted);font-size:11px}.book-detail-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr);gap:17px;padding-top:17px}.book-reader,.book-notes-panel{min-width:0}.book-reader-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid var(--v-border);border-radius:9px;background:var(--v-raised)}.book-reader-bar b,.book-reader-bar small{display:block}.book-reader-bar b{font-size:11px}.book-reader-bar small{margin-top:3px;color:var(--v-faint);font-size:9px}.book-reader-controls{display:flex;align-items:center;gap:5px}.book-reader-controls .soft-btn{padding:6px 9px;min-width:31px}.book-page-jump{display:flex;align-items:center;gap:4px;color:var(--v-faint);font-size:9px}.book-page-jump input{width:44px;padding:6px 3px;text-align:center;border:1px solid var(--v-border);border-radius:6px;background:var(--v-input);color:var(--v-text);font:inherit}.book-pdf-viewer{display:grid;place-items:start center;min-height:350px;max-height:72vh;margin-top:9px;padding:12px;overflow:auto;border:1px solid var(--v-border);border-radius:8px;background:color-mix(in srgb,var(--v-bg) 82%,#727a77 18%)}.book-pdf-viewer canvas{max-width:100%;height:auto!important;background:white;box-shadow:0 2px 14px #0002}.pdf-loading{padding:40px 12px;color:var(--v-muted);font-size:11px}.pdf-empty{min-height:300px;max-width:330px;display:grid;align-content:center;justify-items:center;gap:12px;text-align:center;color:var(--v-muted);font-size:11px}.pdf-empty>span{padding:12px 15px;border:1px solid var(--v-border);border-radius:8px;color:var(--v-accent);background:var(--v-surface);font-size:12px;font-weight:700}.pdf-empty small{color:var(--v-faint);line-height:1.6}.pdf-empty label{cursor:pointer}.book-reader-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;color:var(--v-faint);font-size:9px}.book-reader-footer label{padding:6px 9px;cursor:pointer}
.book-note-heading{display:flex;justify-content:space-between;align-items:center;gap:9px}.book-note-heading h3{margin:4px 0;font-size:16px}.book-prompts{margin:12px 0;padding:10px;border:1px solid var(--v-border);border-radius:8px;background:var(--v-raised)}.book-prompts>small{display:block;margin-bottom:7px;color:var(--v-faint);font-size:9px}.book-prompts>div{display:flex;flex-wrap:wrap;gap:5px}.book-prompts button{border:1px solid var(--v-border);border-radius:99px;padding:5px 8px;background:var(--v-surface);color:var(--v-muted);font:inherit;font-size:9px;cursor:pointer}.book-prompts button:hover{color:var(--v-accent);border-color:var(--v-accent)}.book-note-form{display:grid;grid-template-columns:1fr 90px;gap:9px}.book-note-text-label{grid-column:1/-1}.book-note-form textarea{resize:vertical;min-height:98px}.book-note-form .primary-btn{grid-column:1/-1;justify-self:start}.book-notes-list{display:grid;gap:8px;margin-top:14px;max-height:420px;overflow:auto}.book-note{padding:11px;border:1px solid var(--v-border);border-radius:8px;background:var(--v-raised)}.book-note-meta{display:flex;align-items:center;gap:9px}.book-note-meta>span{padding:3px 7px;border-radius:99px;background:var(--v-accent-soft);color:var(--v-accent);font-size:9px;font-weight:600}.book-note-meta small{color:var(--v-faint);font-size:9px}.book-note-delete{margin-left:auto;border:0;background:transparent;color:var(--v-faint);font-size:17px;cursor:pointer}.book-note p{margin:9px 0 0;color:var(--v-text);font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1150px){.books-add-form{grid-template-columns:1fr 1fr}.books-add-form .primary-btn{min-height:40px}.book-detail-grid{grid-template-columns:1fr}.books-shelf{position:static}.books-list{max-height:220px}}
@media(max-width:640px){.books-intro{padding:19px!important}.books-intro h2{font-size:17px}.books-intro p{font-size:11px}.books-intro-mark{width:48px;height:48px}.books-add-form{grid-template-columns:1fr}.books-add-form .primary-btn{width:100%}.books-layout{grid-template-columns:1fr}.book-detail-head h2{font-size:19px}.book-reader-bar{align-items:flex-start;flex-direction:column}.book-reader-controls{width:100%;justify-content:space-between}.book-pdf-viewer{min-height:240px;padding:5px}.book-note-form{grid-template-columns:1fr 85px}}
body.lifeos-v2 .books-file-label{align-self:end;display:grid;gap:6px;color:var(--v-muted);font-size:11px;font-weight:550}.books-file-picker{display:flex;align-items:center;gap:9px;min-height:42px}.books-file-picker .soft-btn{font-size:10px;white-space:nowrap}.books-file-picker small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--v-faint);font-size:9px}
