.login-card{max-width:360px;margin:15vh auto;padding:32px;font:16px/1.5 system-ui;color:#334b37;background:#fbfcf6;border:1px solid #dce3d4;border-radius:20px}.login-card label{display:grid;gap:8px}.login-card input{font:inherit;max-width:100%;padding:12px;border:1px solid #c9d6bd;border-radius:8px}.login-card button{margin-top:20px;background:#36553d;color:white;border:0;padding:12px 22px;border-radius:9px;font:inherit}.login-card h1{font-size:36px;letter-spacing:-2px}.login-card p{color:#727e69}
.chat-context-tray{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:12px 23px 0;font-size:11px;color:#728365}.automatic-context{display:inline-flex;align-items:center;gap:5px;max-width:100%}.automatic-context span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.automatic-context svg{width:13px;height:13px;flex-shrink:0}.reference-chip{display:inline-flex;gap:9px;align-items:center;border:1px solid #d1ddc7;background:#edf3e6;border-radius:5px;padding:5px 8px;font-size:11px;max-width:260px;text-align:left}.reference-chip>span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.reference-discuss{font-size:11px;text-decoration:underline;text-underline-offset:3px;padding:5px}.reference-row{display:flex;align-items:stretch;min-width:0;gap:3px}.reference-row>:first-child{flex:1;min-width:0}.reference-button{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:7px;align-self:center;min-width:34px;min-height:34px;border-radius:7px;color:#8d9b81}.reference-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linejoin:round}.reference-button:hover,.reference-button[aria-pressed=true]{color:#365439;background:#e6edde}.reference-text{font-size:11px;justify-content:flex-start;padding:5px 8px;margin:5px 0 12px}.sent-context{font-size:10px;color:#829074;margin:10px 0}.sent-context summary{cursor:pointer}.sent-context p{font-size:10px;margin:5px 0}.work-line>.reference-button{min-width:30px;min-height:32px}.source-panel>.reference-button{float:right}.reference-row .note-row,.reference-row .task-row{width:100%}
@media(max-width:600px){.chat-context-tray{padding:10px 16px 0}.reference-button{min-width:38px;min-height:44px}.work-line>.reference-button{min-width:32px;min-height:40px}.reference-chip{max-width:190px}}
.chat-panel.live-chat{padding:0;min-height:0}.chat-history{max-height:360px;overflow:auto;padding:12px 24px;scrollbar-width:thin;overscroll-behavior:contain}.chat-history:empty{display:none}.chat-turn{padding:13px 0;border-bottom:1px solid #e7ebdf}.chat-turn:last-child{border-bottom:0}.chat-turn .chat-owner{font-size:14px;color:#6f7d65;margin:0 0 14px;padding-left:12px;border-left:2px solid #d3dcc9;white-space:pre-wrap}.chat-reply{white-space:pre-wrap;font-size:15px;line-height:1.65;margin:0;overflow-wrap:anywhere}.chat-turn time{display:block;font-size:10px;color:#929a88;margin-top:10px}.chat-progress{font-size:12px;color:#79866b}.chat-form textarea{min-height:85px;font-size:16px}.chat-form .composer-bottom{margin-top:0}.voice-primary{display:flex;align-items:center;gap:9px;border-radius:22px;background:#e7eddf;color:#3d5739;padding:11px 15px;font-size:12px;min-height:44px}.voice-primary svg{width:18px;height:18px}.voice-primary[aria-pressed=true]{background:#d0dfc3;outline:2px solid #91a481}.chat-scope{font-size:10px;color:#829075;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-pending{margin:10px 24px 18px;display:grid;gap:10px}.proposal-card{padding:14px;border:1px solid #dae2d2;border-radius:10px;background:#f6f8f0}.proposal-card strong{font-size:13px}.proposal-card p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0}.proposal-data{max-height:180px;overflow:auto;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.proposal-card .record-actions{margin:10px 0 0}.source-panel{margin:20px 0;border:1px solid #dce2d3;border-radius:10px;padding:15px}.source-panel summary{cursor:pointer;font-size:13px}.source-panel pre{font-family:inherit;white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere;font-size:13px}.source-note{font-size:11px;color:#849074}.daily-conversation{padding:14px 0;border-bottom:1px solid #e2e6db}.daily-conversation p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.daily-conversation small{color:#86917b}.live-chat-error{font-size:12px;color:#8d6045;margin:8px 24px}.chat-empty{padding:15px 24px 0;color:#829075;font-size:13px}
@media(max-width:600px){.chat-history{max-height:320px;padding:10px 16px}.chat-reply{font-size:14px}.chat-form textarea{min-height:85px}.chat-pending{margin:10px 14px 14px}.chat-scope{display:none}.voice-primary{padding:10px 14px}.login-card{margin:10vh 18px}}

.reference-button svg{pointer-events:none}.collection-grid>.reference-row{position:relative}.collection-grid>.reference-row>.reference-button{position:absolute;right:10px;top:10px}.collection-grid>.reference-row>.collection-card{padding-right:40px}
.notification-settings{margin:0 0 18px;color:#466148;font-size:14px}.notification-settings summary{cursor:pointer;width:fit-content;padding:10px 0}.notification-controls{padding:16px;border:1px solid #d6dfcc;border-radius:16px;background:#fffefa}.notification-controls p{margin:0 0 12px;line-height:1.5}.notification-actions{display:flex;gap:10px;flex-wrap:wrap}.notification-actions button,.notification-checkin button{min-height:44px;padding:10px 16px;border:1px solid #c9d4bf;border-radius:12px;cursor:pointer}.notification-status{margin-top:12px!important}.notification-checkin{padding:20px;margin-bottom:20px;background:#edf1e6;border-radius:18px}.notification-checkin h2{font-size:20px}.notification-checkin p{line-height:1.5}@media(max-width:600px){.notification-actions{flex-direction:column}.notification-actions button{width:100%}}
.behavior-explanation{font-size:14px;line-height:1.65;max-width:70ch;overflow-wrap:anywhere}.behavior-link{display:block;margin:18px 0;color:#365439}.behavior-source pre{max-height:65vh;overflow:auto}
.voice-mode-switch{font-size:11px;margin:0 24px 12px;color:#6f7d65;min-height:32px}.chat-form textarea[readonly]{color:#365439;background:#f7f9f2}

/* Conversation: newest messages in view, a stable composer, older history above. */
.chat-thread{position:relative;margin-top:10px}
.chat-thread-bar{display:flex;align-items:center;justify-content:space-between;padding:6px 24px 10px;color:#80907e;font-size:11px}
.chat-expand{font-size:11px;min-height:36px;padding:6px 10px;border-radius:8px;color:#62775f}
.chat-expand:hover{background:#eef2e8}
.live-chat .chat-history{height:clamp(260px,42dvh,450px);max-height:none;padding:12px 26px 24px;scrollbar-gutter:stable;overflow-anchor:none;scroll-behavior:auto}
.live-chat .chat-turn{max-width:740px;margin:0 auto;padding:0 0 26px;border:0}
.live-chat .chat-turn .chat-owner{display:table;max-width:85%;margin:12px 0 22px auto;padding:12px 17px;border:0;border-radius:18px 18px 5px 18px;background:#edf1e7;color:#365044;font-size:15px;line-height:1.55;overflow-wrap:anywhere}
.chat-speaker{display:block;font-size:11px;font-weight:600;letter-spacing:.02em;color:#67815e;margin:0 0 8px}
.live-chat .chat-reply{font-size:16px;line-height:1.65;max-width:72ch;white-space:pre-wrap}
.live-chat .chat-progress{margin:8px 0 0;font-size:11px;color:#80907b}
.chat-progress:empty,.chat-pending:empty,.live-chat-error:empty{display:none}
.live-chat .sent-context{margin:9px 0 0;color:#95a08f;font-size:10px}
.live-chat .sent-context summary{width:fit-content;min-height:24px;line-height:24px;list-style:none}
.live-chat .sent-context summary::-webkit-details-marker{display:none}
.live-chat .sent-context summary::after{content:' ...'}
.chat-older{display:block;margin:0 auto 20px;padding:10px 16px;font-size:12px;color:#62765e}
.chat-latest{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:9px 15px;border:1px solid #d8e1d1;border-radius:22px;background:var(--paper);color:#365044;font-size:12px;box-shadow:0 3px 12px #263d2510}
.chat-latest[hidden],.chat-older[hidden]{display:none}
.live-chat .chat-form{margin:0 18px 10px;border:1px solid #dae2d4;border-radius:15px;background:var(--paper);box-shadow:0 -8px 24px #fffefa80}
.live-chat .chat-form textarea{min-height:54px;max-height:150px;resize:none;padding:14px 16px;font-size:16px;line-height:1.5}
.live-chat .chat-form .composer-bottom{border-top:0;margin:0 12px;padding:4px 0 10px;gap:12px}
.live-chat .chat-scope{display:none}
.live-chat .voice-primary{padding:9px 13px}
.live-chat .live-chat-error{font-size:11px;color:#819078;margin:0 24px 8px}
.live-chat .voice-mode-switch{margin:0 24px 10px;min-height:25px;font-size:10px;color:#899680}
.live-chat.chat-expanded .chat-history{height:70dvh;max-height:none}
@media(max-width:600px){
 .chat-thread-bar{padding:3px 15px 6px}
 .live-chat .chat-history{height:40dvh;min-height:220px;padding:8px 16px 18px}
 .live-chat .chat-turn .chat-owner{font-size:15px;max-width:90%;padding:11px 14px;margin-bottom:19px}
 .live-chat .chat-reply{font-size:15px;line-height:1.6}
 .live-chat .chat-form{margin:0 10px 8px;border-radius:14px}
 .live-chat .voice-mode-switch{margin-left:18px}
 .live-chat.chat-expanded .chat-history{height:65dvh}
}

.composer-section:has(.live-chat:not([hidden])){padding-top:10px}
.composer-section:has(.live-chat:not([hidden])) .agent-presence{height:52px;margin:0 0 4px}
.composer-section:has(.live-chat:not([hidden])) .pixel-face{height:48px;width:60px}
.composer-section:has(.live-chat:not([hidden])) .section-top{margin-bottom:8px}
.composer-section:has(.live-chat:not([hidden])) .section-top h2{font-size:17px;margin:6px 0}
.notification-settings:not([open]){margin-bottom:4px}

/* Area pages: the capture/conversation area folds into one bar so page work comes first. */
.composer-bar,.composer-bar-wrap{display:none}
.composer-minimize{display:none;font-size:11px;min-height:36px;padding:6px 10px}
.in-area:not(.composer-collapsed) .composer-minimize{display:inline-flex}
.composer-collapsed .composer-section{padding-top:12px}
.composer-collapsed .composer-section>:not(.composer-bar-wrap){display:none!important}
.composer-collapsed .composer-bar-wrap{display:flex;gap:8px;align-items:center}
.composer-collapsed .composer-bar{flex:1;display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 16px;border:1px solid #dae2d4;border-radius:24px;background:var(--paper,#fffefa);color:#62775f;font:inherit;font-size:14px;text-align:left;cursor:text}
.composer-bar svg{width:18px;height:18px;flex-shrink:0}
.composer-bar:hover{border-color:#b9c9ad}

/* Check-ins: compact on Home; one current hourly strip, older hours in Daily Log. */
.brief-card.compact{padding:14px 16px;margin-bottom:10px}
.brief-card.compact .brief-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:10px}
.brief-card.compact h3{margin:0;font-size:16px}
.brief-sub{font-size:12px;color:#6f7d65}
.brief-actions button{min-height:40px}
.hourly-card{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:12px 16px;margin-bottom:10px;border:1px solid #d6dfcc;border-left:3px solid #7e9a6c;border-radius:14px;background:#f6f8f0}
.hourly-text{display:grid;gap:2px;min-width:0}.hourly-text strong{font-size:14px}.hourly-text span{font-size:13px;color:#5f6f57}
.hourly-more{position:relative}.hourly-more summary{list-style:none;cursor:pointer;font-size:12px;color:#62775f;min-height:40px;display:flex;align-items:center;padding:0 8px}
.hourly-more summary::-webkit-details-marker{display:none}
.hourly-pause{position:absolute;right:0;top:42px;z-index:20;display:grid;gap:2px;padding:6px;background:#fffefa;border:1px solid #d6dfcc;border-radius:10px;box-shadow:0 8px 24px #17342418;white-space:nowrap}
.hourly-pause button{min-height:40px;text-align:left}
.report-chip{background:#e4eed9;border-color:#b9cda9}
.chat-checkin-label{display:block;text-align:right;font-size:10px;color:#7d8f73;margin:10px 0 -16px}
.chat-record-link{color:#466b35;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.chat-task-actions{display:grid;gap:6px;margin:14px 0;white-space:normal}
.chat-task-action{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 12px;border:1px solid #dce2d5;border-radius:12px;background:#fafbf6}
.chat-task-title{flex:1 1 160px;color:inherit;overflow-wrap:anywhere}
.chat-task-action button{min-height:44px;padding:6px 10px}
.chat-reference-add{min-height:36px}
.chat-reference-results{display:grid;gap:6px;max-height:50vh;overflow:auto;margin:12px 0}
.chat-reference-result{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:12px;border:1px solid #dce2d5;border-radius:10px;background:#fff;min-height:44px}
.chat-reference-result small{color:#63715b}.chat-reference-result strong{overflow-wrap:anywhere}
.chat-reference-result[aria-pressed=true]{background:#e8efdf;border-color:#7e9d69}
.live-chat .chat-turn .chat-owner.chat-marker{background:transparent;border:1px dashed #cfd9c5;color:#62775f;font-size:13px}
.hourly-log .hourly-row{padding:12px 0;border-top:1px solid #e4e8dc}
.hourly-row-top{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline}
.hourly-row-top small{color:#869178}.hourly-status{margin-left:auto;font-size:11px;color:#869178}
.hourly-row.logged .hourly-status{color:#4e7043}
.hourly-report{margin:8px 0 2px;white-space:pre-wrap;overflow-wrap:anywhere}

/* Touch targets and task rows on phones: the title gets the width, controls a second line. */
.planning-toolbar button{min-height:40px;min-width:40px}
@media(max-width:700px){
 .composer-section:has(.live-chat:not([hidden])) .agent-presence{height:40px}
 .composer-section:has(.live-chat:not([hidden])) .pixel-face{height:36px;width:45px}
 .work-line{flex-wrap:wrap;row-gap:4px}
 .work-line .work-title{flex:1 1 0;min-width:0}
 .work-line>.work-add,.work-line>.reference-button{order:5}
 .work-line .work-row-meta{order:6;flex-basis:100%;max-width:none;padding-left:62px;justify-content:flex-start}
 .work-line input[type=checkbox],.task-row input[type=checkbox]{width:24px;height:24px}
 .quick-task-controls select.priority-normal{display:none}
 .quick-task-controls .text-button{min-height:36px;padding:0 8px}
 .planning-toolbar button{min-height:44px;min-width:44px}
 .hourly-card{padding:12px 14px}
}

/* Isaac bar: a small face, the prompt, and a mic that starts talking straight away. */
.composer-bar .bar-face{width:30px;height:24px;flex-shrink:0;animation:none}
.composer-bar-mic{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#e7eddf;color:#3d5739;flex-shrink:0}
.composer-bar-mic svg{width:20px;height:20px}.composer-bar-mic:hover{background:#d8e4cc}

/* Home: one Today list (calendar left today + priorities + habits), then the pillars. */
.today-strip{display:none}
.today-title{display:flex;align-items:baseline;gap:10px}.today-title h3{margin:0}
.home-actions>.panel-toolbar{flex-wrap:wrap;gap:6px 12px}
.today-agenda{display:grid;gap:4px;margin:4px 0 10px}
.agenda-row{display:flex;gap:14px;align-items:baseline;width:100%;text-align:left;padding:10px 12px;border:1px solid #e0e7d8;border-left:3px solid #9fb58f;border-radius:9px;background:#fbfcf6;font:inherit;cursor:pointer}
.agenda-row:hover{background:#f3f6ec}
.agenda-time{font-size:12px;color:#5f7454;min-width:92px;font-variant-numeric:tabular-nums}.agenda-title{font-size:14px;color:#2f4834;overflow-wrap:anywhere}
.agenda-empty{font-size:12px;color:#7d8a72;margin:2px 0 8px}
.today-pinned{display:block;width:100%;text-align:left;font-size:12px;color:#5f7454;padding:6px 2px;margin-bottom:4px}
.home-actions .home-habits{margin:18px 0 0;padding:0;border:0;background:none}
.home-habits .panel-toolbar h3{font-size:13px}
.home-habit-checklist{display:flex!important;flex-wrap:wrap;gap:8px}
.home-habit-checklist .home-habit{display:inline-flex;align-items:center;gap:8px;width:auto;min-height:40px;padding:6px 14px 6px 10px;border-radius:22px}
.home-habit-checklist .home-habit input{width:20px;height:20px}
@media(max-width:700px){
 .pillar{min-height:0;padding:14px 14px 12px}
 .pillar-description{display:none}
 .pillar-top{margin-bottom:8px}
 .pillar-count{padding-top:6px}
 .agenda-time{min-width:78px}
}

.composer-bar{--pixel:#466344;--shell:#dce7d0}
.composer-collapsed .composer-section{padding-bottom:14px}
.today-pinned{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){
 .task-row{flex-wrap:wrap;row-gap:6px}
 .task-row .task-content{flex:1 1 0;min-width:0}
 .task-row .quick-task-controls{flex-basis:100%;margin-left:36px}
}
.home-actions>.today-agenda,.home-actions>.today-pinned,.home-actions>.home-habits,.home-actions>.home-decisions,.home-actions>.muted-copy{grid-column:1/-1}

/* Priority: one ordered scale, Low → Urgent, and colour on every task row. */
.priority-segment{display:inline-flex;border:1px solid #d6dfcc;border-radius:10px;overflow:hidden;background:#fbfcf7}
.priority-segment button{min-height:36px;padding:0 12px;font-size:12px;border:0;border-right:1px solid #e1e7d9;background:none;color:#5f6f57}
.priority-segment button:last-child{border-right:0}
.priority-segment button[aria-checked=true].prio-low{background:#eceee8;color:#5d6358}
.priority-segment button[aria-checked=true].prio-normal{background:#e1ebd8;color:#35523a}
.priority-segment button[aria-checked=true].prio-high{background:#f5e3c4;color:#8a5a14}
.priority-segment button[aria-checked=true].prio-urgent{background:#f3d2cb;color:#9a2f22}
.priority-chip{min-height:30px;padding:0 10px;border-radius:15px;font-size:11px;border:1px solid #dbe2d3;background:#fbfcf7;color:#5f6f57}
.priority-chip.prio-high{background:#fbeedb;border-color:#e8c890;color:#8a5a14}.priority-chip.prio-urgent{background:#f8e0da;border-color:#e2a497;color:#9a2f22}.priority-chip.prio-low{color:#8c9486}
.quick-task-controls{position:relative}
.priority-pop{position:absolute;z-index:30;top:36px;left:0;padding:6px;background:#fffefa;border:1px solid #d6dfcc;border-radius:12px;box-shadow:0 8px 24px #17342418}
.task-row.urg-red,.planning-task.urg-red{border-left:4px solid #c2503d}
.task-row.urg-amber,.planning-task.urg-amber{border-left:4px solid #d69a3c}
.task-row.urg-low{opacity:.8}
.work-line.urg-red{box-shadow:inset 4px 0 #c2503d}.work-line.urg-amber{box-shadow:inset 4px 0 #d69a3c}.work-line.urg-low .work-title{color:#6f7a68}

/* Habits: schedule, streaks and rest days. */
.habit-group{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#7a8a6f;margin:22px 0 6px}
.habit-heading{display:grid;gap:2px}.habit-heading h3{margin:0}.habit-schedule{font-size:11px;color:#7d8a72}
.habit-stats{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:#5f6f57;margin:6px 0 10px}
.habit-streak{font-weight:600;color:#3d5a36}
.habit-check.skipped{background:#eef0f4;border-color:#b9c0cf;color:#5b6477}
.habit-check.unscheduled:not(.done){opacity:.45}
.log-skipped{color:#5b6477}.habit-note{display:block;color:#7d8a72;font-size:11px;margin-top:2px}
.habit-days{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 12px}
.day-chip{min-width:44px;min-height:36px;border:1px solid #d6dfcc;border-radius:18px;background:#fbfcf7;font-size:12px;color:#5f6f57}
.day-chip[aria-pressed=true]{background:#dfeacf;border-color:#9fb58f;color:#2f4a31}
.habit-day-actions{display:grid;gap:6px;margin-bottom:12px}.habit-day-actions button{min-height:44px;text-align:left}

/* Daily Log calendars. */
.daily-tabs{margin-bottom:16px}
.heat-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px}
.heat-title{min-width:130px;text-align:center}.heat-arrow{min-width:40px;min-height:40px}.heat-views{display:flex;gap:6px;margin-left:auto}
.heat-cell{border:1px solid transparent;border-radius:6px;background:#eef1e8;padding:0;font-size:12px;color:#44573f}
.heat-cell.level-1{background:#d9e7cc}.heat-cell.level-2{background:#b6d19f}.heat-cell.level-3{background:#8cb371;color:#fff}.heat-cell.level-4{background:#5d8a47;color:#fff}
.heat-cell.is-today{border-color:#3d5a36}.heat-cell.future{opacity:.35;cursor:default}
.heat-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;max-width:560px}
.heat-month .heat-cell{aspect-ratio:1;min-height:40px}
.heat-weekday{font-size:10px;color:#86917b;text-align:center}
.heat-year-wrap{overflow-x:auto;padding-bottom:6px}
.heat-year{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,13px);gap:3px;width:max-content}
.heat-year .heat-cell{width:13px;height:13px;border-radius:3px}
.heat-months{display:flex;gap:4px;margin-bottom:6px;flex-wrap:wrap}.heat-months .text-button{font-size:11px}
.heat-legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:12px 0 4px;font-size:11px;color:#7d8a72}
.heat-legend .heat-cell{width:13px;height:13px;border-radius:3px}
.journal-entries{margin-top:18px}
.journal-entry{display:grid;gap:4px;width:100%;text-align:left;padding:12px 2px;border:0;border-bottom:1px solid #e3e7dc;background:none}
.journal-entry small{color:#7d8a72}.journal-entry span{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:700px){.heat-views{margin-left:0}.heat-month{gap:4px}.heat-month .heat-cell{min-height:36px}}

/* Home: one calm column. Isaac first, then the day in quiet sections. */
body:not(.in-area) main.workspace{max-width:760px}
.home-hero,.hero-last{display:none}
.composer-collapsed:not(.in-area) .home-hero{display:grid;justify-items:center;text-align:center;padding:28px 0 18px}
.composer-collapsed:not(.in-area) .composer-section{padding-top:8px}
.composer-collapsed:not(.in-area) .composer-section>.home-hero,.composer-collapsed:not(.in-area) .composer-section>.hero-last:not([hidden]){display:grid!important}
.hero-face{width:76px;height:61px;--pixel:#466344;--shell:#dce7d0;margin-bottom:14px}
.hero-greeting{font-size:34px;letter-spacing:-.8px;font-weight:600;color:#26382a;margin:0}
.hero-date{margin:6px 0 0;color:#7d8a72;font-size:14px}
body:not(.in-area) .composer-bar .bar-face{display:none}
body:not(.in-area) .composer-bar{min-height:56px;font-size:15px;padding:12px 22px;box-shadow:0 6px 22px #2a3f2a10;border-color:#dfe6d7}
body:not(.in-area) .composer-bar-mic{width:56px;height:56px}
.hero-last{gap:4px;width:100%;margin-top:12px;padding:14px 18px;text-align:left;border:0;border-radius:16px;background:#eef2e8;color:#34493a;font:inherit;cursor:pointer}
.hero-last:hover{background:#e6ecde}
.hero-last-who{font-size:11px;font-weight:600;letter-spacing:.04em;color:#6b8260;text-transform:uppercase}
.hero-last-text{font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body:not(.in-area):not(.composer-collapsed) .composer-minimize{display:inline-flex}
#home-briefs:empty{display:none}
#home-briefs{margin-top:22px}
#home-briefs .brief-card,#home-briefs .hourly-card{border-radius:18px}
#home-workspace{display:flex;flex-direction:column;gap:18px;margin-top:22px}
#home-actions{order:1}#home-habits{order:2}.pillars-section{order:3}
#home-actions,#home-habits,.pillars-section{background:#fffefa;border:1px solid #e5e9de;border-radius:22px;padding:22px 24px;box-shadow:0 1px 2px #1f2e2206;margin:0}
#home-habits:empty{display:none}
#home-actions .today-title h3,#home-habits .daily-habit-heading h3,.pillars-heading h2{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6f7f66;font-weight:600;margin:0}
#home-actions>.panel-toolbar,#home-habits>.panel-toolbar{margin-bottom:10px}
#home-actions{display:block}
#home-actions .reference-row{border-top:1px solid #eef0e8}
#home-actions .task-row{border:0;border-radius:0;background:none;margin:0;padding:14px 4px}
#home-actions .task-row.urg-red{box-shadow:inset 3px 0 #c2503d;padding-left:14px}#home-actions .task-row.urg-amber{box-shadow:inset 3px 0 #d69a3c;padding-left:14px}
#home-actions .agenda-row{border:0;border-left:3px solid #9fb58f;background:#f5f7f0}
.pillars-heading{margin:0 0 14px}
body:not(.in-area) .pillar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body:not(.in-area) .pillar{min-height:0;padding:16px;border-radius:16px;border-color:#e8ece2}
body:not(.in-area) .pillar-description,body:not(.in-area) .pillar-arrow{display:none}
body:not(.in-area) .pillar-top{margin-bottom:10px}
body:not(.in-area) .pillar h3{font-size:14px;margin:0 0 2px}
body:not(.in-area) .pillar-count{padding-top:4px}
@media(max-width:700px){
 .composer-collapsed:not(.in-area) .home-hero{padding:18px 0 12px}
 .hero-greeting{font-size:28px}.hero-face{width:60px;height:48px;margin-bottom:10px}
 #home-actions,#home-habits,.pillars-section{padding:18px 16px;border-radius:18px}
 body:not(.in-area) .pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Guided flows: one card at a time, calm and full-screen. */
.flow-open{overflow:hidden}
.flow-overlay{position:fixed;inset:0;z-index:80;display:grid;grid-template-rows:auto auto 1fr auto;background:#f6f5ef;overflow:hidden}
.flow-top{display:flex;align-items:center;justify-content:space-between;padding:14px 20px}
.flow-title{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#6f7f66;font-weight:600}
.flow-close{font-size:24px;min-width:44px;min-height:44px;border-radius:12px}
.flow-progress{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;padding:0 16px 8px}
.flow-step{min-height:32px;padding:0 12px;border-radius:16px;border:1px solid #dfe5d7;background:#fbfcf7;color:#7a8a6f;font-size:12px}
.flow-step.done{background:#e3ecd9;color:#3d5a36;border-color:#c9d8bb}
.flow-step.current{background:#36553d;color:#fff;border-color:#36553d}
.flow-stage{overflow:auto;padding:12px 18px 24px;display:grid;align-content:start;justify-items:center;gap:16px}
.flow-isaac{display:flex;gap:12px;align-items:flex-start;width:min(640px,100%)}
.flow-face{width:44px;height:35px;flex-shrink:0;--pixel:#466344;--shell:#dce7d0}
.flow-line{margin:4px 0 0;font-size:17px;line-height:1.5;color:#26382a}
.flow-card{width:min(640px,100%);background:#fffefa;border:1px solid #e5e9de;border-radius:22px;padding:22px 24px;box-shadow:0 6px 24px #1f2e220a}
.flow-heading{font-size:22px;letter-spacing:-.4px;margin:0 0 14px;color:#26382a}
.flow-body{display:grid;gap:8px}
.flow-empty{color:#7d8a72;font-size:14px}
.flow-event,.flow-day{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;padding:12px 14px;border-radius:12px;background:#f5f7f0}
.flow-event-time{font-variant-numeric:tabular-nums;color:#5f7454;min-width:96px;font-size:13px}
.flow-day{flex-direction:column;align-items:flex-start;gap:2px}.flow-day span{font-size:13px;color:#4a5e45}.flow-open-day{color:#9aa590!important}
.flow-counter{font-size:12px;color:#6f7f66;margin:0 0 2px}
.flow-picks,.flow-options{display:grid;gap:8px}
.flow-pick,.flow-option{display:grid;gap:3px;text-align:left;padding:14px 16px;border:1px solid #e0e6d8;border-radius:14px;background:#fbfcf7;font:inherit;cursor:pointer}
.flow-pick[aria-pressed=true],.flow-option[aria-pressed=true]{border-color:#5a7a4e;background:#e6efdc;box-shadow:inset 0 0 0 1px #5a7a4e}
.flow-pick:disabled{opacity:.45;cursor:default}
.flow-pick.urg-red{border-left:4px solid #c2503d}.flow-pick.urg-amber{border-left:4px solid #d69a3c}
.flow-pick-title,.flow-option span{font-size:15px;color:#26382a}.flow-pick-meta,.flow-option small{font-size:12px;color:#7d8a72}
.flow-text{width:100%;margin-top:8px;padding:14px 16px;border:1px solid #d6dfcc;border-radius:14px;font:inherit;font-size:15px;background:#fffefa}
.flow-habit{min-height:44px;padding:8px 16px;border-radius:22px;border:1px solid #d6dfcc;background:#fbfcf7;font:inherit}
.flow-habit.done{background:#dfeacf;border-color:#9fb58f}
.flow-summary{display:grid;gap:4px;padding:14px 16px;border-radius:14px;background:#f5f7f0}
.flow-summary small{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#6f7f66}.flow-summary strong{font-size:17px}
.flow-check{display:flex;gap:10px;align-items:center;margin-top:6px}.flow-check input{width:20px;height:20px}
.flow-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}
.flow-stat{display:grid;padding:14px;border-radius:14px;background:#f5f7f0}.flow-stat strong{font-size:24px;color:#2f4834}.flow-stat small{color:#6f7f66}
.flow-habit-bars{display:grid;gap:8px;margin-top:6px}.flow-habit-bar{display:grid;grid-template-columns:minmax(0,1fr) 120px 52px;gap:10px;align-items:center;font-size:13px}
.flow-habit-bar progress{width:100%;accent-color:#5a8a46}
.flow-reply-wrap{width:min(640px,100%)}
.flow-reply{display:flex;gap:8px;align-items:center}
.flow-reply input{flex:1;min-height:48px;padding:0 16px;border:1px solid #dae2d4;border-radius:24px;font:inherit;background:#fffefa}
.flow-mic{width:48px;height:48px;border-radius:50%;background:#e7eddf;color:#3d5739;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.flow-mic svg{width:20px;height:20px}.flow-mic.listening{background:#cfe0c3;outline:2px solid #91a481}
.flow-answer{margin-top:10px}.flow-answer-text{white-space:pre-wrap;line-height:1.6;background:#eef2e8;border-radius:16px;padding:14px 16px;margin:0}
.flow-thinking{color:#7d8a72;font-size:13px}
.flow-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #e5e9de;background:#f6f5ef}
.flow-nav .primary{min-height:48px;padding:0 26px}.flow-count{font-size:12px;color:#7d8a72}
.brief-card.weekly{background:#e9ebe0}
.hero-focus{margin:10px 0 0;padding:6px 14px;border-radius:16px;background:#e6efdc;color:#3d5a36;font-size:13px;font-weight:500}
.hero-focus[hidden]{display:none}
#home-actions .reference-row.is-top .task-title::before{content:'★ ';color:#c18a2c}
@media(max-width:700px){.flow-card{padding:18px 16px;border-radius:18px}.flow-line{font-size:15px}.flow-heading{font-size:19px}.flow-habit-bar{grid-template-columns:minmax(0,1fr) 80px 44px}.flow-step{font-size:11px;padding:0 9px}}

/* Conversation view: history left, messages centre, composer fixed at the bottom. */
.chat-open{overflow:hidden}
.chat-overlay{position:fixed;inset:0;z-index:70;display:grid;grid-template-columns:290px minmax(0,1fr);background:#f6f5ef}
.chat-side{display:flex;flex-direction:column;min-height:0;border-right:1px solid #e3e8dc;background:#f0f2ea;padding:18px 14px}
.chat-side-top{display:flex;align-items:center;justify-content:space-between;padding:4px 6px 12px}
.chat-side-top strong{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6f7f66}
.chat-search{min-height:40px;padding:0 14px;border:1px solid #dae2d4;border-radius:20px;background:#fffefa;font:inherit;font-size:14px;margin-bottom:10px}
.chat-sessions{overflow:auto;display:grid;align-content:start;gap:2px;padding-bottom:20px}
.chat-session-day{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#8a9780;margin:14px 8px 4px;font-weight:600}
.chat-session{display:grid;gap:2px;text-align:left;padding:10px 12px;border:0;border-radius:12px;background:none;font:inherit;cursor:pointer}
.chat-session:hover{background:#e5eadd}.chat-session-title{font-size:14px;color:#2f4834;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-session small{font-size:11px;color:#7d8a72}.chat-sessions-empty{color:#7d8a72;font-size:13px;padding:8px}
.chat-main{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0}
.chat-head{display:flex;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid #e8ece2}
.chat-head-title{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.chat-head-title strong{font-size:16px}
.chat-head-face{width:34px;height:27px;--pixel:#466344;--shell:#dce7d0}
.chat-head-context{font-size:13px;color:#7d8a72;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-side-toggle{display:none;width:44px;height:44px;border-radius:12px;align-items:center;justify-content:center;color:#4c6545}
.chat-side-toggle svg{width:20px;height:20px}
.chat-close{font-size:24px;min-width:44px;min-height:44px;border-radius:12px}
.chat-slot{min-height:0;display:flex;justify-content:center;padding:0 18px}
.chat-slot>.composer{display:flex!important;flex-direction:column;width:min(780px,100%);min-height:0;height:100%;border:0;border-radius:0;background:none;box-shadow:none;margin:0}
.chat-slot .composer-top{padding:10px 4px 0;border:0}
.chat-slot .chat-context-tray{padding:8px 4px 0}
.chat-slot .live-chat{display:flex!important;flex-direction:column;flex:1;min-height:0}
.chat-slot .live-chat[hidden]{display:none!important}
.chat-slot .chat-thread{flex:1;min-height:0;display:flex;flex-direction:column;margin-top:4px}
.chat-slot .chat-thread-bar{display:none}
.chat-slot .live-chat .chat-history,.chat-slot .live-chat.chat-expanded .chat-history{flex:1;height:auto!important;min-height:0;padding:18px 6px 24px}
.chat-slot .live-chat .chat-form{margin:0 0 6px;box-shadow:0 8px 28px #2a3f2a12}
.chat-slot .live-chat .voice-mode-switch,.chat-slot .live-chat .live-chat-error{margin-left:6px}
.chat-slot #capture-form{padding:16px 4px}
.chat-slot .receipt-line{display:none}
.chat-highlight{animation:chat-flash 1.8s ease}
@keyframes chat-flash{0%,40%{background:#e6efdc}100%{background:transparent}}
@media(max-width:800px){
 .chat-overlay{grid-template-columns:minmax(0,1fr)}
 .chat-side{position:fixed;inset:0 auto 0 0;width:min(320px,86vw);z-index:2;transform:translateX(-102%);transition:transform .2s ease;box-shadow:8px 0 30px #1f2e2220}
 .chat-overlay.side-open .chat-side{transform:none}
 .chat-side-toggle{display:inline-flex}
 .chat-slot{padding:0 10px}
 .chat-slot .live-chat .chat-history{padding:12px 2px 18px}
}
@media(prefers-reduced-motion:reduce){.chat-side{transition:none}.chat-highlight{animation:none}}
.brief-card.compact .brief-head{position:relative;padding-right:40px}
.brief-dismiss{position:absolute;right:-6px;top:-6px;min-width:40px;min-height:40px;font-size:20px;border-radius:12px;color:#6f7f66}
.brief-dismiss:hover{background:#dde6d3}

/* Chats on Home. Blank: greeting, input, recent chats, then the day.
   Active chat: the conversation takes the page, composer at the bottom. */
body:not(.in-area) .composer-section{padding-top:8px}
body:not(.in-area):not(.chat-active) .composer-section>.home-hero{display:grid!important;justify-items:center;text-align:center;padding:28px 0 18px}
body:not(.in-area) .agent-presence,body:not(.in-area) .section-top,body:not(.in-area) .hero-last,body:not(.in-area) .composer-bar-wrap{display:none!important}
body:not(.in-area):not(.chat-active) #chat-panel .chat-thread,body:not(.in-area):not(.chat-active) #chat-empty{display:none!important}
body:not(.in-area) .composer{border-radius:22px;box-shadow:0 8px 28px #2a3f2a10;border-color:#dfe6d7}
body:not(.in-area) .live-chat .chat-form{box-shadow:none;border:0;margin:0}
.home-recents{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 2px 0}
.home-recents:empty{display:none}
.recents-label{width:100%;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#7d8a72}
.recent-chat{display:grid;gap:2px;max-width:240px;text-align:left;padding:10px 14px;border:1px solid #e3e8dc;border-radius:14px;background:#fffefa;font:inherit}
.recent-chat span{font-size:13px;color:#2f4834;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.recent-chat small{font-size:11px;color:#7d8a72}
.recent-chat:hover{border-color:#b9c9ad}
.chat-thread-head{display:flex;align-items:center;gap:10px;padding:14px 4px 10px}
.chat-thread-head[hidden]{display:none}
.chat-thread-list{display:inline-flex;align-items:center;gap:6px;min-height:40px}.chat-thread-list svg{width:18px;height:18px}
.chat-thread-name{flex:1;min-width:0;font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}
.chat-new-button{display:inline-flex;align-items:center;gap:6px}.chat-new-button svg{width:16px;height:16px}
body.chat-active:not(.in-area) .home-recents,body.chat-active:not(.in-area) #home-briefs,body.chat-active:not(.in-area) #home-workspace{display:none!important}
body.chat-active:not(.in-area) .live-chat .chat-history{height:calc(100dvh - 330px);min-height:280px}
body.chat-active:not(.in-area) .chat-thread-bar{display:none}
/* Inline approval: the change sits under the reply that suggested it. */
.turn-changes{display:grid;gap:8px;margin-top:10px}.turn-changes:empty{display:none}
.proposal-kicker,.proposal-origin{display:block;font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:#6b8260;margin-bottom:4px}
.proposal-card{border-color:#c9d8bb;background:#f3f7ee}
.proposal-card .record-actions .primary{min-height:40px;padding:0 20px}
.change-receipt{font-size:12px;color:#7d8a72;margin:0}.change-receipt.applied{color:#3d6b37}
/* Chats sidebar. */
.chats-shade{position:fixed;inset:0;z-index:74;background:#1f2e2233;opacity:0;pointer-events:none;transition:opacity .2s}
.chats-open .chats-shade{opacity:1;pointer-events:auto}
.chats-drawer{position:fixed;inset:0 auto 0 0;z-index:75;width:min(330px,88vw);display:flex;flex-direction:column;gap:10px;padding:16px 14px;background:#f0f2ea;border-right:1px solid #e0e6d8;box-shadow:10px 0 30px #1f2e2218;transform:translateX(-104%);transition:transform .2s ease}
.chats-open .chats-drawer{transform:none}
.chats-top{display:flex;align-items:center;justify-content:space-between;padding:0 4px}.chats-top strong{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#6f7f66}
.chats-close{font-size:22px;min-width:40px;min-height:40px;border-radius:10px}
.chats-new{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid #d6dfcc;border-radius:14px;background:#fffefa;font:inherit;color:#2f4834}
.chats-new svg{width:18px;height:18px}.chats-new:hover{border-color:#9fb58f}
.chats-list{overflow:auto;display:grid;align-content:start;gap:2px;padding-bottom:20px}
.chats-group{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#8a9780;margin:14px 8px 4px;font-weight:600}
.chats-item{display:grid;gap:2px;text-align:left;padding:10px 12px;border:0;border-radius:12px;background:none;font:inherit;cursor:pointer}
.chats-item:hover{background:#e5eadd}.chats-item.current{background:#dfe8d4}
.chats-title{font-size:14px;color:#2f4834;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chats-item small{font-size:11px;color:#7d8a72}
.chats-empty{color:#7d8a72;font-size:13px;padding:8px}
@media(prefers-reduced-motion:reduce){.chats-drawer,.chats-shade{transition:none}}
.change-receipt{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.change-undo{font-size:12px;min-height:28px;padding:0 6px}
.chat-home{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:14px}.chat-home svg{width:18px;height:18px}
.chat-head-actions{display:flex;align-items:center;gap:6px}
.chat-thread-list{width:40px;height:40px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}.chat-thread-list svg{width:19px;height:19px}

/* Pillars: navigation groups, pillar page sections, settings. */
.area-nav-label{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#8a9780;margin:14px 10px 4px}
.pillar-edit{margin-left:auto;font-size:12px}
.pillar-section{margin:22px 0}.pillar-section .panel-toolbar h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6f7f66}
.pillar-project{display:flex;justify-content:space-between;gap:10px;padding:12px 14px;margin:6px 0;border:1px solid #e3e8dc;border-radius:12px;background:#fffefa}
.focus-chip{font-size:11px;padding:2px 8px;border-radius:10px;background:#eef1e8;color:#5f6f57;white-space:nowrap}
.focus-chip.focus-main{background:#36553d;color:#fff}.focus-chip.focus-secondary{background:#dfeacf;color:#2f4a31}.focus-chip.focus-blocked{background:#f8e0da;color:#9a2f22}
.focus-group{margin:18px 0}.focus-heading{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6f7f66}
.focus-group.quiet summary{cursor:pointer;color:#6f7f66;font-size:13px;padding:8px 0}
.project-card.focus-main{border-color:#5a7a4e;box-shadow:inset 0 0 0 1px #5a7a4e}
.icon-picker{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.icon-choice{width:44px;height:44px;border:1px solid #dfe5d7;border-radius:12px;background:#fbfcf7;display:grid;place-items:center}
.icon-choice svg{width:20px;height:20px}.icon-choice[aria-pressed=true]{border-color:#5a7a4e;background:#e6efdc}
.layout-row.archived{opacity:.55}.layout-icon svg{width:18px;height:18px;color:#657e5d}
.not-now-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
.not-now-option{min-height:48px;border:1px solid #dfe5d7;border-radius:12px;background:#fbfcf7;font:inherit}.not-now-option:hover{border-color:#9fb58f}
.hold-chip{font-size:11px;padding:3px 9px;border-radius:10px;background:#eef0f4;color:#5b6477}
.quick-task-controls .not-now{color:#6f7f66}

/* Today: North Star, Main Focus, supporting actions, timeline, essentials, life pulse. */
#home-actions{display:grid!important;gap:14px}
.north-star{margin:0;font-size:15px;line-height:1.5;color:#4a5e45;text-align:center;padding:2px 12px}
.main-focus{padding:24px;border-radius:22px;background:linear-gradient(160deg,#2f4a35,#3d5c43);color:#f4f7ef;box-shadow:0 10px 30px #1f2e2226}
.main-focus.empty{background:#f5f7f0;color:#34493a;box-shadow:none;border:1px dashed #c9d6bd}
.focus-kicker{font-size:11px;letter-spacing:.1em;opacity:.75}
.focus-title{font-size:28px;letter-spacing:-.6px;margin:6px 0 4px;color:inherit}
.focus-why{margin:0 0 10px;opacity:.85;font-size:14px;line-height:1.5}
.focus-next{margin:10px 0;font-size:16px;font-weight:500}
.focus-progress{height:6px;border-radius:3px;background:#ffffff2e;overflow:hidden;margin-top:12px}.focus-progress span{display:block;height:100%;background:#cfe3bd;border-radius:3px}
.focus-pct{opacity:.7;font-size:11px}
.focus-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;align-items:center}
.main-focus .primary{background:#f4f7ef;color:#2f4a35;min-height:44px;padding:0 20px}.main-focus .text-button{color:#dfe9d4}
.main-focus.empty .text-button{color:#36553d}
.today-support h3,.today-timeline h3,.today-essentials h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6f7f66;margin:0}
.today-support .panel-toolbar{margin-bottom:4px}
.timeline-row{display:flex;gap:14px;width:100%;text-align:left;padding:9px 4px;border:0;border-bottom:1px solid #eef0e8;background:none;font:inherit}
.timeline-row.past{opacity:.5}.timeline-time{min-width:64px;font-size:12px;color:#5f7454;font-variant-numeric:tabular-nums}.timeline-title{font-size:14px;color:#26382a}
.today-timeline h3,.today-essentials h3{margin-bottom:6px}
.life-pulse{display:grid;gap:4px}
.pulse-row{display:flex;align-items:center;gap:14px;padding:12px 6px;border-bottom:1px solid #eef0e8;text-decoration:none;color:inherit}
.pulse-row:last-child{border-bottom:0}.pulse-row:hover{background:#f5f7f0;border-radius:10px}
.pulse-icon{width:36px;height:36px;border-radius:10px;background:#eef2e8;display:grid;place-items:center;color:#4c6545;flex-shrink:0}.pulse-icon svg{width:18px;height:18px}
.pulse-text{display:grid;gap:1px;min-width:0;flex:1}.pulse-text strong{font-size:14px}.pulse-line{font-size:13px;color:#6f7f66;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pulse-arrow{color:#a0ab96}
.tint-sage .pulse-icon{background:#e3ecd9}.tint-forest .pulse-icon{background:#d5e3cc}.tint-clay .pulse-icon{background:#f1ddd2}.tint-sand .pulse-icon{background:#f3ead6}.tint-sky .pulse-icon{background:#dde9f0}.tint-plum .pulse-icon{background:#e9dfea}.tint-rose .pulse-icon{background:#f3dfe0}.tint-slate .pulse-icon{background:#e1e5ea}
/* Focus mode */
.focus-overlay{position:fixed;inset:0;z-index:85;display:grid;grid-template-rows:auto 1fr auto;background:#f6f5ef}
.focus-top{display:flex;justify-content:space-between;align-items:center;padding:14px 20px}.focus-crumb{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#6f7f66}
.focus-close{font-size:24px;min-width:44px;min-height:44px;border-radius:12px}
.focus-body{overflow:auto;padding:10px 20px 30px;max-width:680px;width:100%;margin:0 auto;display:grid;align-content:start;gap:10px}
.focus-task{font-size:30px;letter-spacing:-.6px;margin:10px 0 0;color:#26382a}
.focus-body .focus-why{color:#5f6f57;opacity:1}
.focus-clock{font-size:48px;font-weight:300;letter-spacing:2px;color:#3d5a36;margin:16px 0 0;font-variant-numeric:tabular-nums}
.focus-planned{color:#7d8a72}.focus-note{background:#eef2e8;border-radius:12px;padding:12px 14px;margin:0;font-size:14px;white-space:pre-wrap}
.focus-footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #e5e9de}
.focus-footer .primary{min-height:48px;padding:0 26px}
@media(max-width:700px){.focus-title{font-size:24px}.main-focus{padding:20px 18px}.focus-task{font-size:24px}}
#home-actions{grid-template-columns:minmax(0,1fr)!important}

/* Universal capture: result bar, change sheet, inbox processing. */
.capture-result{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:14px;flex-wrap:wrap;max-width:min(640px,calc(100vw - 32px));padding:12px 14px 12px 18px;border-radius:16px;background:#233326;color:#f4f7ef;box-shadow:0 12px 32px rgba(20,35,22,.28);animation:capture-in .18s ease-out}
@keyframes capture-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
.capture-result-text{margin:0;display:flex;flex-direction:column;gap:2px;min-width:0}.capture-result-kicker{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#a9bf9b}
.capture-result-text strong{font-weight:600;overflow-wrap:anywhere}.capture-ai{font-size:11px;color:#a9bf9b}
.capture-result-actions{display:flex;gap:6px;align-items:center;margin-left:auto}.capture-result .text-button{color:#dfe9d5}.capture-result .primary{background:#dfeacf;color:#1f3322}
.capture-result-close{color:#dfe9d5;background:none;border:0;font-size:18px;min-width:36px;min-height:36px}
.change-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin-bottom:14px}
.change-option{min-height:48px;border:1px solid #dfe5d7;border-radius:12px;background:#fbfcf7;font:inherit}.change-option[aria-pressed=true]{border-color:#5a7a4e;background:#e6efdc}
.quick-capture textarea{width:100%;min-height:120px;border:1px solid #dfe5d7;border-radius:14px;padding:14px;font:inherit;font-size:16px;resize:vertical;background:#fffefa}
.quick-capture-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}
.inbox-card{border:1px solid #e3e8dc;border-radius:14px;padding:14px 16px;margin:10px 0;background:#fffefa}.inbox-text{margin:0 0 4px;white-space:pre-wrap;overflow-wrap:anywhere}
.inbox-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
@media (max-width:640px){.capture-result{bottom:12px;left:16px;right:16px;transform:none;max-width:none}@keyframes capture-in{from{opacity:0}to{opacity:1}}}

/* Rituals: morning, night, weekly. */
.today-rituals{display:flex;gap:12px;justify-content:center;margin:6px 0 18px}
.flow-north-star{font-size:15px;color:#4d5f45;font-style:italic;margin:0 0 12px}
.flow-pulse{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #edf0e8}.flow-pulse div{display:flex;flex-direction:column;gap:2px}.flow-pulse .pulse-icon svg{width:18px;height:18px;color:#657e5d}
.flow-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.flow-chip{min-height:36px;padding:6px 12px;border:1px solid #dfe5d7;border-radius:18px;background:#fbfcf7;font:inherit;font-size:13px}
.flow-chip[aria-pressed=true]{background:#36553d;border-color:#36553d;color:#fff}.flow-chip.action[aria-pressed=true]{background:#dfeacf;border-color:#9fb58f;color:#1f3322}
.flow-miss{border:1px solid #e3e8dc;border-radius:14px;padding:12px 14px;margin:10px 0;background:#fffefa}.flow-miss-note{display:block;color:#8a6d3b;margin-top:4px}
.flow-remind{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf0e8}.flow-remind>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.flow-remind small{color:#7c8874}.flow-remind-actions{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.flow-remind select{max-width:150px}
.flow-textarea{width:100%;min-height:96px;border:1px solid #dfe5d7;border-radius:14px;padding:12px;font:inherit;font-size:16px;background:#fffefa;margin:6px 0;resize:vertical}
.flow-label{display:block;margin-top:10px;color:#6f7f66;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.flow-done-row{margin:6px 0;color:#2f4a31}

/* Medications. */
.med-section{margin:18px 0 26px}.med-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.med-card{border:1px solid #e3e8dc;border-radius:14px;padding:14px 16px;background:#fffefa;display:flex;flex-direction:column;gap:10px}
.med-card.taken{border-color:#b9cfa8;background:#f6faf0}.med-head{display:flex;justify-content:space-between;gap:8px}.med-head>div{display:flex;flex-direction:column;gap:2px}
.med-today{display:flex;gap:8px}.med-button{flex:1;min-height:44px;border:1px solid #dfe5d7;border-radius:12px;background:#fbfcf7;font:inherit}
.med-button.on{background:#36553d;border-color:#36553d;color:#fff}
.med-week{display:flex;gap:5px}.med-dot{width:14px;height:14px;border-radius:50%;background:#eef0ea;border:1px solid #dfe3d8}
.med-dot.taken{background:#5a7a4e;border-color:#5a7a4e}.med-dot.skipped{background:#e9e1c9;border-color:#d4c69c}.med-dot.missed{background:#f1d6cf;border-color:#dfaea2}
.med-refill{margin:0;font-size:13px;color:#6f7f66}.med-refill.soon{color:#9a5b1f;font-weight:600}

/* Self. */
.self-season{border-radius:18px;padding:20px 22px;background:linear-gradient(135deg,#eef3e6,#f8f5ec);margin:8px 0 16px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.self-season-text{font-size:20px;line-height:1.35;margin:0;color:#233326}.self-season-text.empty{color:#8a9780;font-size:16px}
.self-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.self-card{border:1px solid #e3e8dc;border-radius:14px;padding:14px 16px;background:#fffefa}.self-card.wide{margin-top:10px}
.self-card h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6f7f66;margin:0 0 8px}
.self-chips{display:flex;flex-wrap:wrap;gap:6px}.self-chip{padding:4px 10px;border-radius:12px;background:#eef1e8;color:#2f4a31;font-size:13px}
.self-more{margin-top:22px}.self-more summary{cursor:pointer;color:#6f7f66;padding:8px 0}
.self-form textarea{width:100%}

/* Knowledge bases and Ask Isaac. */
.kb-section{margin:6px 0 26px}.kb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.kb-card{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #e3e8dc;border-radius:14px;background:#fffefa;text-decoration:none;color:inherit}
.kb-card:hover{border-color:#9fb58f}.kb-desc{font-size:13px;color:#6f7f66}
.kb-add{display:flex;gap:8px;align-items:flex-end;margin:10px 0 18px}.kb-add textarea{flex:1;min-height:70px;border:1px solid #dfe5d7;border-radius:12px;padding:10px 12px;font:inherit;font-size:16px;background:#fffefa}
.kb-entries{display:flex;flex-direction:column;gap:6px}
.panel-toolbar input[type=search]{flex:1;max-width:260px;min-height:36px;border:1px solid #dfe5d7;border-radius:10px;padding:0 10px;font:inherit}
.ask-ethos{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;padding:12px 14px;margin:0 0 10px;border:1px solid #cfdcc2;border-radius:14px;background:#f1f6ea;font:inherit;cursor:pointer}
.ask-ethos-label{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#4d6b43}.ask-ethos-q{color:#233326}

/* Relationships & experiences. */
.person-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #edf0e8}
.person-main{display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:none;border:0;padding:4px 0;font:inherit;text-align:left;cursor:pointer;min-width:0}
.person-actions{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.exp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.exp-card{border:1px solid #e3e8dc;border-radius:14px;padding:12px 14px;background:#fffefa;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.exp-open{display:flex;flex-direction:column;gap:3px;align-items:flex-start;background:none;border:0;padding:0;font:inherit;text-align:left;cursor:pointer;width:100%}
.exp-stars{color:#c08a2e;letter-spacing:2px}.exp-memory{margin:2px 0 0;font-size:13px;color:#4d5f45}
.exp-stage summary{cursor:pointer;color:#6f7f66;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:8px 0}
.notice.gentle{background:#f5f1e6;border-color:#e6dcc0}

/* Money. */
.fin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0}
.fin-stat{border:1px solid #e3e8dc;border-radius:14px;padding:12px 14px;background:#fffefa;display:flex;flex-direction:column;gap:4px}.fin-stat strong{font-size:20px;color:#233326}
.fin-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #edf0e8}.fin-row.inactive{opacity:.55}
.fin-row>span:first-child,.fin-main{flex:1;min-width:0}.fin-main{display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:none;border:0;padding:0;font:inherit;text-align:left;cursor:pointer}
.fin-row strong{white-space:nowrap}.fin-in{color:#3d6b35}
.fin-budget{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center;width:100%;padding:10px 0;border:0;border-bottom:1px solid #edf0e8;background:none;font:inherit;text-align:left}
.fin-budget .fin-bar{grid-column:1/-1}
.fin-bar{height:8px;border-radius:4px;background:#eef0ea;overflow:hidden}.fin-bar span{display:block;height:100%;background:#5a7a4e;border-radius:4px}.fin-bar.over span{background:#c0704f}
.fin-cats{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 12px}

/* Insights. */
.today-insights{margin:18px 0}.today-insights h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6f7f66}
.insight-card{border:1px solid #e6dcc0;background:#fbf8ef;border-radius:14px;padding:12px 14px;margin:8px 0}
.insight-title{display:block;color:#3b3322}.insight-evidence{margin:6px 0;padding-left:18px;font-size:13px;color:#6b6250}
.insight-suggestion{margin:4px 0 8px;font-size:14px}.insight-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.insight-feedback{margin-left:auto;display:flex;gap:2px;align-items:center}.insight-feedback .text-button{font-size:12px;color:#8a7f66}
.stale-chip{font-size:11px;padding:2px 8px;border-radius:10px;background:#f5ecd6;color:#8a6d3b;margin-left:6px}

/* Onboarding. */
.onboarding-card{display:flex;flex-direction:column;gap:6px;padding:16px 18px;margin:0 0 16px;border-radius:16px;border:1px solid #cfdcc2;background:#f1f6ea}
.flow-time{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0}.flow-time input{min-height:40px;border:1px solid #dfe5d7;border-radius:10px;padding:0 10px;font:inherit}
/* Polish: readable text on the Main Focus card (body copy colors otherwise win). */
.main-focus:not(.empty) .focus-next{color:#f4f7ef}.main-focus:not(.empty) .focus-why{color:#d9e4cf;opacity:1}.main-focus:not(.empty) .focus-pct{color:#cfdcc4}
@media(max-width:700px){.area-nav-label{margin:auto 2px auto 12px;align-self:center;white-space:nowrap}.fin-row{flex-wrap:wrap}.person-row{flex-wrap:wrap}.flow-remind{flex-wrap:wrap}.insight-feedback{margin-left:0}}
:where(.flow-chip,.change-option,.med-button,.flow-option,.kb-card,.pulse-row):focus-visible{outline:2px solid #5a7a4e;outline-offset:2px}
.voice-steps{margin:0 0 14px;padding-left:20px;line-height:1.6}.voice-steps li.done{color:#527043}.voice-key{flex:1;min-width:200px;min-height:44px;padding:10px 12px;border:1px solid #c9d4bf;border-radius:12px;background:#fffef9}.voice-elevenlabs{margin-top:14px}.voice-elevenlabs summary{cursor:pointer;padding:6px 0}.voice-url,.voice-secret{font:12px/1.5 ui-monospace,monospace;overflow-wrap:anywhere;user-select:all}
