/* Neutral presentation layer. Talk inherits none of these tokens or rules. */
body:not(.talk-viewport):not(.talk-mode){
 --ui-bg:#f5f5f7;--ui-surface:#fff;--ui-subtle:#f0f0f2;--ui-ink:#1d1d1f;--ui-muted:#64646b;--ui-line:#dedee3;--ui-action:#242426;--ui-action-text:#fff;
 --ui-glass:rgb(255 255 255 / .88);--ui-danger:#a62637;--ui-focus:#626276;
 --ui-fast:140ms;--ui-control:220ms;--ui-modal:300ms;--ui-page:350ms;--ui-ease:cubic-bezier(.2,.7,.25,1);
 --canvas:var(--ui-bg);--surface:var(--ui-surface);--ink:var(--ui-ink);--muted:var(--ui-muted);--line:var(--ui-line);--navy:var(--ui-ink);--teal:var(--ui-ink);--mint:var(--ui-subtle);--sage:#c5c7c6;--pine:#416d5e;--lake-mist:var(--ui-subtle);--soft-mist:var(--ui-bg);--dark-ink:var(--ui-ink);--focus-ring:var(--ui-focus);--danger:var(--ui-danger);
 --ld-bg:var(--ui-bg);--ld-bg-elevated:var(--ui-surface);--ld-text-primary:var(--ui-ink);--ld-text-secondary:var(--ui-muted);--ld-accent:var(--ui-action);--ld-accent-soft:var(--ui-subtle);--ld-glass-regular:var(--ui-glass);--ld-glass-prominent:var(--ui-surface);--ld-glass-thin:var(--ui-glass);--ld-glass-border:var(--ui-line);--ld-danger:var(--ui-danger);--ld-shadow-soft:0 2px 8px #00000004;--ld-shadow-floating:0 18px 60px #0000001a;
 background:var(--ui-bg)!important;color:var(--ui-ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Inter,sans-serif;line-height:1.55;
}
[data-theme=dark] body:not(.talk-viewport):not(.talk-mode){--ui-bg:#111113;--ui-surface:#1c1c1f;--ui-subtle:#29292d;--ui-ink:#f5f5f7;--ui-muted:#b0b0b8;--ui-line:#3b3b41;--ui-action:#f5f5f7;--ui-action-text:#1d1d1f;--ui-glass:rgb(28 28 31 / .9);--ui-danger:#ffb3bc;--ui-focus:#c2c2da;--pine:#9ebcac;--hero-wash:#1c1c1fea;--mist-overlay:#1c1c1fbb}
/* Every selector is route-scoped, including overlays outside main. */
body:not(.talk-viewport):not(.talk-mode) .sidebar{background:var(--ui-surface)!important;border-right:1px solid var(--ui-line);color:var(--ui-ink)}
body:not(.talk-viewport):not(.talk-mode) .brand{color:var(--ui-ink)}
body:not(.talk-viewport):not(.talk-mode) .brand-mark{background:#285f55;color:#fff}
body:not(.talk-viewport):not(.talk-mode) :is(.sidebar-foot,.sidebar-foot p){color:var(--ui-muted)}
body:not(.talk-viewport):not(.talk-mode) #navigation a{color:var(--ui-muted);border-radius:14px;min-height:48px;gap:14px;transition:background var(--ui-control),color var(--ui-control),transform var(--ui-fast)}
body:not(.talk-viewport):not(.talk-mode) #navigation a:hover{background:var(--ui-subtle);color:var(--ui-ink);transform:translateX(1px)}
body:not(.talk-viewport):not(.talk-mode) #navigation a.active{background:var(--ui-subtle);color:var(--ui-ink);font-weight:650;box-shadow:none}
body:not(.talk-viewport):not(.talk-mode) :is(#navigation,.mobile-life-nav) svg{width:24px;height:24px;stroke-width:1.7}
body:not(.talk-viewport):not(.talk-mode) .topbar{background:var(--ui-glass)!important;border-color:var(--ui-line);padding-inline:clamp(20px,3vw,48px)}
body:not(.talk-viewport):not(.talk-mode) main{max-width:1440px;padding-inline:clamp(20px,3vw,48px);padding-top:36px}
body:not(.talk-viewport):not(.talk-mode) h1{font-size:clamp(2rem,3.3vw,3rem);font-weight:650;line-height:1.12;letter-spacing:-.04em}
body:not(.talk-viewport):not(.talk-mode) h2{font-weight:600;letter-spacing:-.025em;line-height:1.25}
body:not(.talk-viewport):not(.talk-mode) h3{font-weight:600;letter-spacing:-.015em}
body:not(.talk-viewport):not(.talk-mode) :is(.eyebrow,.helper,.section-explainer,.muted){color:var(--ui-muted)}
body:not(.talk-viewport):not(.talk-mode) .eyebrow{letter-spacing:.08em;font-size:.75rem;font-weight:600}
body:not(.talk-viewport):not(.talk-mode) :is(.page-heading,.life-heading,.home-greeting){margin-bottom:30px}
body:not(.talk-viewport):not(.talk-mode) .header-back{display:inline-flex;align-items:center;min-height:44px;padding:6px 2px;color:var(--ui-muted);gap:8px}
body:not(.talk-viewport):not(.talk-mode) :is(.card,.goal-card){border:1px solid var(--ui-line);border-radius:24px;background:var(--ui-surface);box-shadow:none}
body:not(.talk-viewport):not(.talk-mode) :is(.card,.goal-card):hover{border-color:var(--ui-line);box-shadow:none;transform:none}
body:not(.talk-viewport):not(.talk-mode) :is(.card .card,.goal-card .card){border:0;border-radius:0;background:transparent;padding-inline:0}
body:not(.talk-viewport):not(.talk-mode) :is(.button,.icon-button,.text-button,button){transition:transform var(--ui-fast) var(--ui-ease),background-color var(--ui-control) var(--ui-ease),color var(--ui-control) var(--ui-ease),box-shadow var(--ui-control);touch-action:manipulation}
body:not(.talk-viewport):not(.talk-mode) :is(.button,.icon-button,.text-button){min-height:44px;border-radius:14px;font-weight:550;box-shadow:none}
body:not(.talk-viewport):not(.talk-mode) .button{padding:12px 20px;letter-spacing:-.01em}
body:not(.talk-viewport):not(.talk-mode) .button.primary{background:var(--ui-action)!important;color:var(--ui-action-text)!important;border-color:var(--ui-action)!important}
body:not(.talk-viewport):not(.talk-mode) :is(.button.secondary,.icon-button){background:var(--ui-subtle)!important;color:var(--ui-ink)!important;border-color:transparent!important}
body:not(.talk-viewport):not(.talk-mode) :is(.button.ghost,.text-button){background:transparent!important;color:var(--ui-ink);border-color:transparent;box-shadow:none}
body:not(.talk-viewport):not(.talk-mode) :is(.button.danger,.danger-text){background:transparent!important;color:var(--ui-danger)!important;border:1px solid var(--ui-line)}
body:not(.talk-viewport):not(.talk-mode) :is(.button,.icon-button,.text-button):hover:not(:disabled){transform:translateY(-1px);filter:brightness(.96)}
body:not(.talk-viewport):not(.talk-mode) :is(.button,.icon-button,.text-button):active:not(:disabled){transform:scale(.98)!important}
body:not(.talk-viewport):not(.talk-mode) .button>span[aria-hidden]{transition:transform var(--ui-control)}
body:not(.talk-viewport):not(.talk-mode) .button:hover>span[aria-hidden]{transform:translateX(2px)}
body:not(.talk-viewport):not(.talk-mode) :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px}
body:not(.talk-viewport):not(.talk-mode) :where(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:var(--ui-surface);color:var(--ui-ink);border:1px solid var(--ui-line);border-radius:12px;box-shadow:none;font-size:1rem;font-weight:400;min-width:0}
body:not(.talk-viewport):not(.talk-mode) :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:1}
body:not(.talk-viewport):not(.talk-mode) select{appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23777780' stroke-width='1.6'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
body:not(.talk-viewport):not(.talk-mode) :is(.icon-button.slim-dictation-mic,.icon-button.dictation-mic){background:transparent!important;border:0!important;box-shadow:none!important;color:var(--ui-muted)!important;width:44px;height:44px}
body:not(.talk-viewport):not(.talk-mode) :is(.slim-dictation-mic,.dictation-mic):hover{color:var(--ui-ink)!important;transform:none}
body:not(.talk-viewport):not(.talk-mode) :is(.profile-popover,.toast){background:var(--ui-glass);color:var(--ui-ink);border-color:var(--ui-line);border-radius:20px;box-shadow:var(--ld-shadow-floating)}
body:not(.talk-viewport):not(.talk-mode) dialog:not(.talk-dialog){background:var(--ui-surface)!important;color:var(--ui-ink);border:0;border-radius:30px!important;padding:clamp(24px,4vw,48px);box-shadow:0 24px 100px #0003;animation:neutral-dialog-in var(--ui-modal) var(--ui-ease);max-height:calc(var(--viewport-height,100dvh) - 32px);overscroll-behavior:contain;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body:not(.talk-viewport):not(.talk-mode) dialog:not(.talk-dialog)::backdrop{background:rgb(65 65 72 / .32);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
body:not(.talk-viewport):not(.talk-mode) .modal-heading{padding-right:52px;margin-bottom:28px}
body:not(.talk-viewport):not(.talk-mode) .modal-heading h2{font-size:clamp(1.7rem,3vw,2.2rem);line-height:1.15}
body:not(.talk-viewport):not(.talk-mode) .modal-heading .ld-close{position:absolute;top:20px;right:20px}
body:not(.talk-viewport):not(.talk-mode) .ld-close{width:44px;height:44px;min-width:44px;min-height:44px;display:inline-grid;place-items:center;padding:0!important;border-radius:50%!important;background:var(--ui-subtle)!important;color:var(--ui-muted)!important;border:0!important;box-shadow:none!important}
body:not(.talk-viewport):not(.talk-mode) .modal-actions{border-top:1px solid var(--ui-line);padding-top:24px;background:var(--ui-surface)}
body:not(.talk-viewport):not(.talk-mode) .life-tabs{gap:10px;border:0;border-radius:0;background:transparent;padding:4px 3px 14px;scrollbar-width:thin;scroll-padding-inline:4px;align-items:stretch}
body:not(.talk-viewport):not(.talk-mode) .life-tabs a{font-size:clamp(17px,2vw,22px);padding:14px 20px;border:0;border-radius:18px;color:var(--ui-muted);min-height:58px;transition:background-color var(--ui-control),color var(--ui-control),transform var(--ui-fast);display:flex;align-items:center;justify-content:center;text-decoration:none}
body:not(.talk-viewport):not(.talk-mode) .life-tabs a[aria-current=page]{background:var(--ui-action);color:var(--ui-action-text);box-shadow:0 3px 10px #00000010}
body:not(.talk-viewport):not(.talk-mode) .life-tabs a:not([aria-current=page]):hover{background:var(--ui-subtle);color:var(--ui-ink);transform:translateY(-1px)}
body:not(.talk-viewport):not(.talk-mode) .life-tabs a:active{transform:scale(.98)!important}
body:not(.talk-viewport):not(.talk-mode) :is(.home-diary-week,.home-direction,.focus-task,.expanded-day,.config-subspace,.milestone-editor){background:var(--ui-surface);border-color:var(--ui-line);box-shadow:none}
body:not(.talk-viewport):not(.talk-mode) .home-diary-week{border-radius:22px;padding:24px}
body:not(.talk-viewport):not(.talk-mode) .home-direction{border-radius:0;border:0;border-bottom:1px solid var(--ui-line);padding:24px 0}
body:not(.talk-viewport):not(.talk-mode) .home-all-goals{margin-top:32px}
body:not(.talk-viewport):not(.talk-mode) .landscape-copy{--ink:#17342f;--muted:#4e675e;color:#17342f}
body:not(.talk-viewport):not(.talk-mode) .landscape-copy .eyebrow{color:#4e675e}
body:not(.talk-viewport):not(.talk-mode) .landscape-copy .button.secondary{background:#ffffffdb!important;color:#1d1d1f!important}
body:not(.talk-viewport):not(.talk-mode) .log-space{margin-bottom:14px}
body:not(.talk-viewport):not(.talk-mode) .space-number{color:var(--ui-muted);background:var(--ui-subtle)}
body:not(.talk-viewport):not(.talk-mode) :is(.log-subspace,.log-subspace:hover){background:transparent;border-color:var(--ui-line);box-shadow:none}
body:not(.talk-viewport):not(.talk-mode) .fold-toggle{border:0;background:var(--ui-subtle);color:var(--ui-muted);width:44px;height:44px;border-radius:50%}
body:not(.talk-viewport):not(.talk-mode) :is(.log-save-bar,.log-toolbar,.lock-banner){background:var(--ui-surface);border-color:var(--ui-line);color:var(--ui-ink);box-shadow:none}
body:not(.talk-viewport):not(.talk-mode) .log-save-bar{box-shadow:0 -3px 16px #00000006}
body:not(.talk-viewport):not(.talk-mode) .progress-track{background:var(--ui-subtle);border:1px solid var(--ui-line);height:8px}
body:not(.talk-viewport):not(.talk-mode) .progress-track>span{background:var(--pine);transition:width var(--ui-page) var(--ui-ease)}
body:not(.talk-viewport):not(.talk-mode) :is(.goal-type,.soft-pill,.badge){background:var(--ui-subtle);color:var(--ui-muted);border-color:var(--ui-line)}
body:not(.talk-viewport):not(.talk-mode) .goal-types label{background:var(--ui-surface);border-color:var(--ui-line)}
body:not(.talk-viewport):not(.talk-mode) .goal-types label:has(input:checked){background:var(--ui-subtle);border-color:var(--ui-muted);box-shadow:none}
body:not(.talk-viewport):not(.talk-mode) .life-timeline>li:not(.timeline-month){padding-block:24px;border-color:var(--ui-line)}
body:not(.talk-viewport):not(.talk-mode) .life-timeline time{font-variant-numeric:tabular-nums;font-size:1rem}
body:not(.talk-viewport):not(.talk-mode) .timeline-month{font-size:1.6rem;letter-spacing:-.03em}
body:not(.talk-viewport):not(.talk-mode) .life-space-list section{padding-block:28px;border-color:var(--ui-line)}
body:not(.talk-viewport):not(.talk-mode) .life-space-list ul{border:0}
body:not(.talk-viewport):not(.talk-mode) .life-space-list li{padding:9px 0;border-bottom:1px solid var(--ui-line)}
body:not(.talk-viewport):not(.talk-mode) :is(.settings-menu,.settings-logout-card,.danger-zone){background:var(--ui-surface);border-color:var(--ui-line)}
body:not(.talk-viewport):not(.talk-mode) .settings-menu a{color:var(--ui-ink);padding:22px 8px;border-color:var(--ui-line);min-height:76px}
body:not(.talk-viewport):not(.talk-mode) .settings-menu a:hover{background:var(--ui-subtle);border-radius:12px}
body:not(.talk-viewport):not(.talk-mode) .settings-menu a small{color:var(--ui-muted)}
body:not(.talk-viewport):not(.talk-mode) .ask-chat-rail{border-color:var(--ui-line);padding-right:16px}
body:not(.talk-viewport):not(.talk-mode) .ask-chat-rail .ask-open-chat[aria-current=true]{background:var(--ui-subtle)}
body:not(.talk-viewport):not(.talk-mode) .ask-message.user{background:var(--ui-subtle);border:0}
body:not(.talk-viewport):not(.talk-mode) :is(.ask-speaker,.ask-suggestions strong){color:var(--ui-ink)}
body:not(.talk-viewport):not(.talk-mode) .ask-suggestions button{background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:16px;color:var(--ui-ink);min-height:48px}
body:not(.talk-viewport):not(.talk-mode) .ask-suggestions button:hover{transform:translateY(-1px);background:var(--ui-subtle)}
body:not(.talk-viewport):not(.talk-mode) .ask-suggestions strong{font-size:.92rem;letter-spacing:0;font-weight:550}
body:not(.talk-viewport):not(.talk-mode) .ask-composer{background:var(--ui-surface)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:var(--ui-line);box-shadow:none}
body:not(.talk-viewport):not(.talk-mode) .ask-composer textarea{border:0;background:transparent}
body:not(.talk-viewport):not(.talk-mode) .ask-sources{font-size:.9rem;line-height:1.65}
body:not(.talk-viewport):not(.talk-mode) .ask-sources summary{min-height:44px;cursor:pointer;padding-block:10px}
body:not(.talk-viewport):not(.talk-mode) .ask-evidence-measurement{padding:14px 0;border-bottom:1px solid var(--ui-line)}
body:not(.talk-viewport):not(.talk-mode) .ask-evidence-measurement strong{display:block;color:var(--ui-ink);font-weight:550}
body:not(.talk-viewport):not(.talk-mode) .ask-evidence-measurement p{margin:4px 0}
body:not(.talk-viewport):not(.talk-mode) .reflection-day{border-color:var(--ui-line);background:var(--ui-surface);color:var(--ui-muted)}
body:not(.talk-viewport):not(.talk-mode) .reflection-day.reflected{background:var(--ui-subtle);border-color:var(--pine);color:var(--pine)}
body:not(.talk-viewport):not(.talk-mode) .reflection-day.today{outline-color:var(--ui-ink)}
body:not(.talk-viewport):not(.talk-mode) .talk-shortcut{background:var(--ui-surface);color:var(--ui-ink);border-color:var(--ui-line);box-shadow:0 4px 18px #0000000a}
@keyframes neutral-dialog-in{from{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:1000px){body:not(.talk-viewport):not(.talk-mode) .life-tabs{gap:6px}body:not(.talk-viewport):not(.talk-mode) .life-tabs a{padding-inline:16px}}
@media(max-width:800px){
 body:not(.talk-viewport):not(.talk-mode) main{padding:24px 18px 118px}
 body:not(.talk-viewport):not(.talk-mode) .topbar{padding:12px 18px;gap:10px}
 body:not(.talk-viewport):not(.talk-mode) .mobile-life-nav{background:var(--ui-glass)!important;border-color:var(--ui-line)}
 body:not(.talk-viewport):not(.talk-mode) .mobile-life-nav a.active{background:var(--ui-subtle);color:var(--ui-ink)}
 body:not(.talk-viewport):not(.talk-mode) .mobile-life-nav a[data-route=voice]>span:first-child{background:var(--ui-action);color:var(--ui-action-text);box-shadow:0 0 0 5px var(--ui-bg)}
 body:not(.talk-viewport):not(.talk-mode) .life-tabs{margin-inline:-3px;gap:6px}
 body:not(.talk-viewport):not(.talk-mode) .life-tabs a{padding:13px 17px;min-height:54px;border-radius:16px}
 body:not(.talk-viewport):not(.talk-mode) dialog:not(.talk-dialog){border-radius:24px!important;padding:26px 20px;width:calc(100% - 24px);max-width:640px}
 body:not(.talk-viewport):not(.talk-mode) .modal-heading{margin-bottom:22px}
 body:not(.talk-viewport):not(.talk-mode) .modal-heading .ld-close{top:14px;right:14px}
 body:not(.talk-viewport):not(.talk-mode) .card{border-radius:20px}
 body:not(.talk-viewport):not(.talk-mode) .home-diary-week{padding:20px}
 body:not(.talk-viewport):not(.talk-mode) .header-back{padding-block:10px}
}
@media(prefers-reduced-motion:reduce){body:not(.talk-viewport):not(.talk-mode) *,body:not(.talk-viewport):not(.talk-mode) *::before,body:not(.talk-viewport):not(.talk-mode) *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){body:not(.talk-viewport):not(.talk-mode) :is(.topbar,.mobile-life-nav,.profile-popover,.toast){background:var(--ui-surface)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body:not(.talk-viewport):not(.talk-mode) dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Shared alignment/semantic system. Neutral surfaces, purposeful Lifedoc accents. */
body:not(.talk-viewport):not(.talk-mode){
 --layout-max:1360px;--layout-pad:clamp(18px,3vw,40px);--section-gap:32px;--card-pad:24px;--row-gap:12px;--column-gap:24px;--control-height:48px;--icon-size:44px;--control-radius:12px;
 --brand-green:#285f55;--brand-green-ink:#285f55;--brand-green-soft:#e8f2ed;--brand-on:#fff;
 --danger-red:#a62637;--danger-red-soft:#fbe9ec;--warning-orange:#8c4c1d;--warning-orange-soft:#fff1e4;--info-blue:#315d85;--info-blue-soft:#eaf1f8;
 --neutral-bg:var(--ui-bg);--neutral-surface:var(--ui-surface);--neutral-border:var(--ui-line);--neutral-text:var(--ui-ink);
 --ui-action:var(--brand-green);--ui-action-text:var(--brand-on);--ui-danger:var(--danger-red);--ui-focus:var(--brand-green-ink);--pine:var(--brand-green-ink);--ld-accent:var(--brand-green);--ld-accent-soft:var(--brand-green-soft);
}
[data-theme=dark] body:not(.talk-viewport):not(.talk-mode){--brand-green:#397a63;--brand-green-ink:#a5d8bf;--brand-green-soft:#213a30;--danger-red:#ffb3bc;--danger-red-soft:#42272e;--warning-orange:#f2c09b;--warning-orange-soft:#443326;--info-blue:#a6c9ed;--info-blue-soft:#253344;--ui-action:var(--brand-green);--ui-action-text:var(--brand-on);--ui-focus:var(--brand-green-ink);--ui-danger:var(--danger-red);--pine:var(--brand-green-ink)}
body:not(.talk-viewport):not(.talk-mode) main{max-width:var(--layout-max);padding-inline:var(--layout-pad)!important}
body:not(.talk-viewport):not(.talk-mode) .topbar{padding-inline:var(--layout-pad)!important}
body:not(.talk-viewport):not(.talk-mode) :is(.page-heading,.life-heading,.home-greeting){margin-bottom:var(--section-gap)}
body:not(.talk-viewport):not(.talk-mode) :is(.page-heading,.life-section-head,.section-title){gap:var(--row-gap);align-items:center}
body:not(.talk-viewport):not(.talk-mode) :is(.card,.goal-card){padding:var(--card-pad);min-width:0}
body:not(.talk-viewport):not(.talk-mode) :is(.button,input:not([type=checkbox]):not([type=radio]):not([type=range]),select){min-height:var(--control-height);border-radius:var(--control-radius);box-sizing:border-box}
body:not(.talk-viewport):not(.talk-mode) :is(input[type=date],input[type=time],input[type=month],select){height:var(--control-height);margin-block:0;padding-block:10px}
body:not(.talk-viewport):not(.talk-mode) .icon-button{width:var(--icon-size);height:var(--icon-size);min-width:var(--icon-size);min-height:var(--icon-size);padding:10px;border-radius:var(--control-radius);display:inline-grid;place-items:center;flex:none}
body:not(.talk-viewport):not(.talk-mode) .icon-button svg{display:block;width:22px;height:22px;flex:none}
body:not(.talk-viewport):not(.talk-mode) :is(.button-row,.log-toolbar,.goal-toolbar,.customize-toolbar){gap:var(--row-gap);align-items:center}
body:not(.talk-viewport):not(.talk-mode) :is(.form-grid,.checkin-grid,.life-space-list){gap:var(--column-gap)}
body:not(.talk-viewport):not(.talk-mode) :is(#navigation,.mobile-life-nav) a.active{background:var(--brand-green-soft);color:var(--brand-green-ink)}
body:not(.talk-viewport):not(.talk-mode) .life-tabs a[aria-current=page]{background:var(--brand-green-soft);color:var(--brand-green-ink);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-green-ink) 15%,transparent)}
body:not(.talk-viewport):not(.talk-mode) .life-tabs a:not([aria-current=page]):hover{background:var(--brand-green-soft);color:var(--brand-green-ink)}
body:not(.talk-viewport):not(.talk-mode) .progress-track>span{background:var(--brand-green-ink)}
body:not(.talk-viewport):not(.talk-mode) :is(.button.danger,.danger-text){color:var(--danger-red)!important}
body:not(.talk-viewport):not(.talk-mode) :is(.button.danger,.danger-text):hover{background:var(--danger-red-soft)!important}
body:not(.talk-viewport):not(.talk-mode) .text-button{border:0!important;padding:6px 8px;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;white-space:nowrap;text-decoration:none}
body:not(.talk-viewport):not(.talk-mode) .text-button svg{width:16px;height:16px;flex:none}
body:not(.talk-viewport):not(.talk-mode) .task-step-nav{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}
body:not(.talk-viewport):not(.talk-mode) .task-step-nav .button{width:auto!important;min-width:64px;white-space:nowrap;padding-inline:14px;justify-self:stretch}
body:not(.talk-viewport):not(.talk-mode) .task-step-nav [data-step-label]{min-width:0;line-height:1.4;overflow-wrap:normal;text-wrap:balance}
body:not(.talk-viewport):not(.talk-mode) :is(.button,.icon-button)[aria-busy=true]{opacity:.72;cursor:progress}
/* One header grid, one list, one separate expandable calendar row. No negative offsets. */
body:not(.talk-viewport):not(.talk-mode) .home-today{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px var(--column-gap);align-items:center}
body:not(.talk-viewport):not(.talk-mode) .home-today>.life-section-head{grid-column:1;grid-row:1;margin:0}
body:not(.talk-viewport):not(.talk-mode) :is(.home-planner,.home-planner .focus-workspace){display:contents}
body:not(.talk-viewport):not(.talk-mode) .home-planner .focus-daybar{grid-column:2;grid-row:1;display:flex;flex-direction:row;align-items:center;margin:0;gap:0;justify-content:flex-end}
body:not(.talk-viewport):not(.talk-mode) .home-planner .focus-add{width:auto;min-width:0;margin:0;white-space:nowrap}
body:not(.talk-viewport):not(.talk-mode) .home-planner .expanded-day{grid-column:1/-1;margin:0;padding:0;border:0;background:transparent;min-height:0}
body:not(.talk-viewport):not(.talk-mode) .home-planner .focus-list-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(360px,100%);max-width:100%;gap:var(--row-gap);margin:0 0 16px;padding:0;background:transparent;border:0;min-height:0;justify-content:start}
body:not(.talk-viewport):not(.talk-mode) .focus-list-filter :is(.task-search-button,.planner-filter,.planner-filter select){width:100%;min-width:0;margin:0;flex:none;height:var(--control-height)}
body:not(.talk-viewport):not(.talk-mode) .focus-list-filter .task-search-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:1rem}
body:not(.talk-viewport):not(.talk-mode) .focus-task-list{display:grid;gap:12px;padding:0;margin:0!important;min-height:0}
body:not(.talk-viewport):not(.talk-mode) .focus-task{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:var(--row-gap);align-items:center;padding:16px;margin:0!important;min-height:0;height:auto;box-shadow:none;border:1px solid var(--neutral-border);border-radius:18px}
body:not(.talk-viewport):not(.talk-mode) .task-check{position:relative;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:10px;border:0!important;background:transparent!important;color:transparent!important;font-size:0;border-radius:12px;display:grid;place-items:center;align-self:center}
body:not(.talk-viewport):not(.talk-mode) .task-check::before{content:'';box-sizing:border-box;position:absolute;inset:10px;width:24px;height:24px;border:1.5px solid var(--ui-muted);border-radius:6px;background:var(--ui-surface);transition:background .16s,border-color .16s,transform .16s}
body:not(.talk-viewport):not(.talk-mode) :is(.is-complete,.is-completing)>.task-check::before{background:var(--brand-green);border-color:var(--brand-green)}
body:not(.talk-viewport):not(.talk-mode) :is(.is-complete,.is-completing)>.task-check::after{content:'✓';position:absolute;inset:10px;display:grid;place-items:center;color:#fff;font-size:17px;font-weight:700;line-height:24px}
body:not(.talk-viewport):not(.talk-mode) .is-completing>.task-check::before{transform:scale(1.08)}
body:not(.talk-viewport):not(.talk-mode) .task-copy{min-width:0}
body:not(.talk-viewport):not(.talk-mode) .task-title-line{display:block;margin:0}
body:not(.talk-viewport):not(.talk-mode) .task-title-line strong{font-size:1rem;line-height:1.4}
body:not(.talk-viewport):not(.talk-mode) .task-meta{color:var(--ui-muted);font-size:.85rem;margin:5px 0 0;line-height:1.4}
body:not(.talk-viewport):not(.talk-mode) .task-description{font-size:.9rem;line-height:1.5;margin:7px 0 0;overflow-wrap:anywhere}
body:not(.talk-viewport):not(.talk-mode) .task-actions{grid-column:3;grid-row:1;display:grid;grid-template-columns:repeat(2,auto);align-items:center;align-content:center;justify-content:end;gap:2px 4px;margin:0;align-self:stretch}
body:not(.talk-viewport):not(.talk-mode) .task-actions .task-priority{grid-column:1/-1;justify-self:end;align-self:center;font-size:.68rem;line-height:1.4;padding:3px 9px;border:0;border-radius:999px;background:var(--ui-subtle);color:var(--ui-muted);margin:0}
body:not(.talk-viewport):not(.talk-mode) .task-actions .task-priority.high{background:var(--danger-red-soft);color:var(--danger-red)}
body:not(.talk-viewport):not(.talk-mode) .task-actions .task-priority.low{background:var(--info-blue-soft);color:var(--info-blue)}
body:not(.talk-viewport):not(.talk-mode) .task-actions .text-button{padding-inline:6px;font-size:.8rem;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px}
body:not(.talk-viewport):not(.talk-mode) .task-actions svg{width:18px;height:18px;flex:none}
body:not(.talk-viewport):not(.talk-mode) .focus-task.is-overdue .task-meta{color:var(--danger-red)}
body:not(.talk-viewport):not(.talk-mode) :is(.focus-task.is-complete,.focus-task.is-completing) .task-check{background:var(--brand-green);color:var(--brand-on);border-color:var(--brand-green)}
body:not(.talk-viewport):not(.talk-mode) .home-planner .focus-browse{grid-column:1/-1;padding:0;margin:0;border:0;border-top:1px solid var(--neutral-border);min-height:0}
body:not(.talk-viewport):not(.talk-mode) .focus-browse>summary{min-height:52px;padding:14px 0;font-size:.95rem}
/* Equal weekday chips and a right-aligned contextual link. */
body:not(.talk-viewport):not(.talk-mode) .home-noticing>.home-diary-week{display:grid;grid-template-columns:minmax(200px,1fr) auto auto;gap:var(--column-gap);align-items:center;padding:var(--card-pad);border:1px solid var(--neutral-border)}
body:not(.talk-viewport):not(.talk-mode) .diary-week-days{display:grid;grid-template-columns:repeat(7,44px);gap:6px;width:auto;justify-content:center;align-items:center}
body:not(.talk-viewport):not(.talk-mode) .diary-week-day{width:44px;height:56px;min-height:56px;gap:0;background:var(--ui-subtle);border:1px solid transparent;color:var(--ui-muted);padding:5px 0}
body:not(.talk-viewport):not(.talk-mode) .diary-week-day.is-reflected{background:var(--brand-green-soft);color:var(--brand-green-ink)}
body:not(.talk-viewport):not(.talk-mode) .diary-week-day.is-today{outline:2px solid var(--brand-green-ink);outline-offset:2px}
body:not(.talk-viewport):not(.talk-mode) .home-diary-week>.text-link{justify-self:end;color:var(--brand-green-ink);white-space:nowrap;display:inline-flex;align-items:center;min-height:44px;transition:transform var(--ui-control)}
body:not(.talk-viewport):not(.talk-mode) .home-diary-week>.text-link:hover{transform:translateX(2px)}
body:not(.talk-viewport):not(.talk-mode) .home-all-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:var(--section-gap);align-items:start}
body:not(.talk-viewport):not(.talk-mode) .home-all-goals>h2{grid-column:1/-1}
body:not(.talk-viewport):not(.talk-mode) .home-direction{border:1px solid var(--neutral-border);border-radius:20px;padding:var(--card-pad);height:auto;min-height:0;display:flex;flex-direction:column;gap:10px;background:var(--neutral-surface)}
body:not(.talk-viewport):not(.talk-mode) .home-direction :is(p,h3){margin:0}
body:not(.talk-viewport):not(.talk-mode) .home-direction .progress-track{width:100%;margin:4px 0 0}
body:not(.talk-viewport):not(.talk-mode) .home-direction a{color:var(--neutral-text);text-decoration:none}
/* Compact toolbars: controls have natural widths, not empty stretched shells. */
body:not(.talk-viewport):not(.talk-mode) .log-toolbar{display:flex;justify-content:flex-start;gap:var(--row-gap);background:transparent;border:0;padding:0;margin:0 0 var(--section-gap);width:fit-content;max-width:100%;min-height:0}
body:not(.talk-viewport):not(.talk-mode) .date-nav{display:flex;flex:0 1 auto;flex-wrap:nowrap;align-items:center;gap:8px;width:fit-content;max-width:100%;padding:0;background:transparent;border:0;border-radius:0}
body:not(.talk-viewport):not(.talk-mode) .date-nav input{width:164px;flex:0 1 164px;min-width:132px;margin:0}
body:not(.talk-viewport):not(.talk-mode) .date-nav .button{width:auto;flex:none;margin:0}
body:not(.talk-viewport):not(.talk-mode) .date-nav .icon-button{width:44px;min-width:44px;height:var(--control-height)}
body:not(.talk-viewport):not(.talk-mode) .journal-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:var(--column-gap)}
body:not(.talk-viewport):not(.talk-mode) .journal-heading>div{min-width:0}
body:not(.talk-viewport):not(.talk-mode) .journal-heading .journal-back{margin-bottom:14px;min-height:44px;display:inline-flex;align-items:center}
body:not(.talk-viewport):not(.talk-mode) .journal-heading .journal-clear{color:var(--danger-red)!important;background:var(--danger-red-soft)!important;border:0;min-height:44px;width:auto;white-space:nowrap;padding:10px 14px;justify-self:end}
body:not(.talk-viewport):not(.talk-mode) .log-space>.fold-heading{min-height:56px;align-items:center;margin:0}
body:not(.talk-viewport):not(.talk-mode) .log-space.is-collapsed{padding-block:14px;border-color:transparent;border-bottom-color:var(--neutral-border)}
body:not(.talk-viewport):not(.talk-mode) .log-space .fold-body{padding-top:20px}
/* Rating values stay unchanged. Color supplements their existing text labels. */
body:not(.talk-viewport):not(.talk-mode) .rating-select{transition:background-color var(--ui-control),border-color var(--ui-control);font-weight:500}
body:not(.talk-viewport):not(.talk-mode) .rating-select[data-rating-tone=low]{background-color:var(--danger-red-soft);border-color:var(--danger-red);color:var(--danger-red)}
body:not(.talk-viewport):not(.talk-mode) .rating-select[data-rating-tone=below]{background-color:var(--warning-orange-soft);border-color:var(--warning-orange);color:var(--warning-orange)}
body:not(.talk-viewport):not(.talk-mode) .rating-select:is([data-rating-tone=neutral],[data-rating-tone=empty]){background-color:var(--ui-subtle);border-color:var(--neutral-border);color:var(--neutral-text)}
body:not(.talk-viewport):not(.talk-mode) .rating-select[data-rating-tone=good]{background-color:var(--brand-green-soft);border-color:color-mix(in srgb,var(--brand-green-ink) 40%,var(--neutral-border));color:var(--brand-green-ink)}
body:not(.talk-viewport):not(.talk-mode) .rating-select[data-rating-tone=excellent]{background-color:var(--brand-green-soft);border-color:var(--brand-green-ink);color:var(--brand-green-ink)}
/* Ask rail trigger shares the toolbar, while the existing rail owns history. */
body:not(.talk-viewport):not(.talk-mode).ask-viewport .ask-chat{position:relative;column-gap:var(--row-gap)}
body:not(.talk-viewport):not(.talk-mode).ask-viewport .ask-rail-collapsed{grid-template-columns:0 minmax(0,1fr);gap:0}
body:not(.talk-viewport):not(.talk-mode) .ask-chat-rail{padding-right:var(--row-gap)}
body:not(.talk-viewport):not(.talk-mode) .ask-rail-collapsed .ask-chat-rail{padding:0}
body:not(.talk-viewport):not(.talk-mode) .ask-rail-toggle{position:absolute;top:0;left:0;width:44px;height:44px;min-width:44px;border-radius:var(--control-radius);margin:0;overflow:visible;display:grid;place-items:center;z-index:2;outline-offset:-2px}
body:not(.talk-viewport):not(.talk-mode) .ask-chat:not(.ask-rail-collapsed) .ask-chat-rail{padding-top:56px}
body:not(.talk-viewport):not(.talk-mode) .ask-toolbar{min-height:44px;align-items:center;padding-left:56px;gap:var(--row-gap);margin:0}
body:not(.talk-viewport):not(.talk-mode) .ask-privacy{margin:0;min-height:44px;display:flex;align-items:center}
body:not(.talk-viewport):not(.talk-mode) .ask-chat-tools{align-items:center}
body:not(.talk-viewport):not(.talk-mode) .ask-landscape{width:100%;max-width:none;align-self:center;margin-block:12px}
body:not(.talk-viewport):not(.talk-mode) .ask-welcome{width:100%;max-width:none;margin-inline:auto}
body:not(.talk-viewport):not(.talk-mode) .ask-data-page:not(.has-conversation) .ask-thread{max-width:none}
body:not(.talk-viewport):not(.talk-mode) .ask-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-block:18px}
body:not(.talk-viewport):not(.talk-mode) .ask-suggestions button{flex:0 1 auto;min-width:0;min-height:var(--control-height);padding:12px 20px;border-radius:999px}
body:not(.talk-viewport):not(.talk-mode) .ask-suggestions button:hover{background:var(--brand-green-soft);border-color:transparent;color:var(--brand-green-ink)}
body:not(.talk-viewport):not(.talk-mode) .ask-suggestions button:hover strong{color:var(--brand-green-ink)}
body:not(.talk-viewport):not(.talk-mode) .ask-page-title{padding-inline:0}
body:not(.talk-viewport):not(.talk-mode) .ask-composer{border-radius:20px}
/* Night artwork has the exact same geometry and asset-cache rules as daytime. */
[data-theme=dark] body:not(.talk-viewport):not(.talk-mode) .landscape-hero{background:#17252c}
[data-theme=dark] body:not(.talk-viewport):not(.talk-mode) [data-standard-landscape=dark]{background:linear-gradient(135deg,#111d28,#253c45)}
[data-theme=dark] body:not(.talk-viewport):not(.talk-mode) .landscape-hero::after{background:linear-gradient(90deg,#111b27e8 0%,#111b27b0 32%,transparent 76%)}
[data-theme=dark] body:not(.talk-viewport):not(.talk-mode) .landscape-copy{--ink:#f4f5f3;--muted:#d6dfdc;color:var(--ink)}
[data-theme=dark] body:not(.talk-viewport):not(.talk-mode) .landscape-copy :is(.eyebrow,p){color:var(--muted)}
/* Profile Appearance edits the same preference as Settings, never a second store. */
body:not(.talk-viewport):not(.talk-mode) .profile-popover{width:min(328px,calc(100vw - 32px));padding:18px;border-radius:22px;background:color-mix(in srgb,var(--ui-surface) 98%,transparent)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);max-height:calc(100dvh - 100px);overflow:auto;overscroll-behavior:contain}
body:not(.talk-viewport):not(.talk-mode) .profile-popover-head{gap:12px;align-items:center;text-align:left;padding-bottom:16px;flex-direction:row}
body:not(.talk-viewport):not(.talk-mode) .profile-popover-head :is(strong,small){text-align:left}
body:not(.talk-viewport):not(.talk-mode) .profile-appearance{text-align:left}
body:not(.talk-viewport):not(.talk-mode) .slim-dictation-mic{transform:translateY(-50%)!important}
body:not(.talk-viewport):not(.talk-mode) .profile-appearance{padding:10px 0 12px;margin:0;border:0;border-top:1px solid var(--neutral-border);border-bottom:1px solid var(--neutral-border);min-width:0}
body:not(.talk-viewport):not(.talk-mode) .profile-appearance legend{font-size:.85rem;font-weight:600;padding:0 6px 0 0}
body:not(.talk-viewport):not(.talk-mode) .profile-appearance>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;background:var(--ui-subtle);border-radius:14px}
body:not(.talk-viewport):not(.talk-mode) .profile-appearance button{font:inherit;font-size:.8rem;min-height:40px;border:0;border-radius:10px;background:transparent;color:var(--ui-muted);cursor:pointer;padding:6px 3px;display:flex;gap:5px;align-items:center;justify-content:center}
body:not(.talk-viewport):not(.talk-mode) .profile-appearance button[aria-pressed=true]{background:var(--brand-green-soft);color:var(--brand-green-ink);box-shadow:none}
/* Account hub only. Talk intentionally retains its approved chrome unchanged. */
body:not(.talk-viewport):not(.talk-mode) :is(.topbar>.theme-toggle,#navigation a[data-route="settings"],#navigation a[href="#/settings"]){display:none!important}
body:not(.talk-viewport):not(.talk-mode) .profile-popover :is(button,a){-webkit-tap-highlight-color:transparent}
body:not(.talk-viewport):not(.talk-mode) .profile-popover :is(button,a,canvas):focus-visible{outline:2px solid var(--brand-green-ink);outline-offset:3px}
body:not(.talk-viewport):not(.talk-mode) .hub-avatar-wrap{position:relative;flex:none;width:64px;height:64px}
body:not(.talk-viewport):not(.talk-mode) .hub-avatar{display:grid;place-items:center;width:64px;height:64px;padding:0;border:0;border-radius:50%;overflow:hidden;background:var(--ui-subtle);color:var(--ui-ink);cursor:pointer;transition:transform .15s ease}
body:not(.talk-viewport):not(.talk-mode) .hub-avatar:hover{transform:translateY(-1px) scale(1.03)}
body:not(.talk-viewport):not(.talk-mode) .hub-avatar :is(img,.avatar-person){width:100%;height:100%;object-fit:cover;display:grid;place-items:center;font-size:30px}
body:not(.talk-viewport):not(.talk-mode) .hub-photo-change{position:absolute;right:-4px;bottom:-3px;display:grid;place-items:center;width:32px;height:32px;padding:6px;background:var(--ui-surface);color:var(--brand-green-ink);border:1px solid var(--ui-line);border-radius:50%;cursor:pointer;box-shadow:0 2px 6px #00000010}
body:not(.talk-viewport):not(.talk-mode) .hub-photo-change svg{width:18px;height:18px}
body:not(.talk-viewport):not(.talk-mode) .hub-identity{min-width:0;display:grid;gap:3px}
body:not(.talk-viewport):not(.talk-mode) .hub-identity :is(strong,small){overflow-wrap:anywhere;line-height:1.35}
body:not(.talk-viewport):not(.talk-mode) .profile-popover .hub-view-profile{min-height:32px;padding:5px 0;display:inline-flex;align-items:center;gap:6px;color:var(--brand-green-ink);font-size:.82rem;background:none;border:0;justify-self:start}
body:not(.talk-viewport):not(.talk-mode) .profile-appearance svg{width:16px;height:16px;flex:none}
body:not(.talk-viewport):not(.talk-mode) .profile-popover .profile-activity{display:grid;text-align:left;align-items:start;gap:3px;padding:12px 0;margin:0;background:none;border:0;border-bottom:1px solid var(--ui-line);border-radius:0}
body:not(.talk-viewport):not(.talk-mode) .profile-activity span{color:var(--ui-muted);font-size:.76rem}
body:not(.talk-viewport):not(.talk-mode) .profile-activity strong{font-size:.82rem;font-weight:500;text-align:left;color:var(--ui-ink)}
body:not(.talk-viewport):not(.talk-mode) .profile-popover .hub-settings{display:flex;align-items:center;gap:10px;min-height:44px;margin:6px 0 0;padding:8px 10px;border-radius:10px;color:var(--ui-ink);background:none;font-size:.9rem}
body:not(.talk-viewport):not(.talk-mode) .hub-settings svg{width:19px;height:19px;flex:none}
body:not(.talk-viewport):not(.talk-mode) .hub-settings span:last-child{margin-left:auto;color:var(--ui-muted)}
body:not(.talk-viewport):not(.talk-mode) .profile-popover :is(.hub-settings:hover,.hub-logout:hover){background:var(--ui-subtle)}
body:not(.talk-viewport):not(.talk-mode) .profile-popover .hub-settings:active{background:var(--brand-green-soft)}
body:not(.talk-viewport):not(.talk-mode) .hub-logout{display:block;width:100%;min-height:44px;text-align:left;padding:8px 10px;border:0;border-radius:10px;color:var(--danger-red);background:none;font:inherit;font-size:.88rem;cursor:pointer}
body:not(.talk-viewport):not(.talk-mode) :is(.hub-status,.hub-crop-status){font-size:.82rem;color:var(--ui-muted);margin:8px 0 0;overflow-wrap:anywhere}
body:not(.talk-viewport):not(.talk-mode) :is(.hub-status:empty,.hub-crop-status:empty){display:none}
body:not(.talk-viewport):not(.talk-mode) .hub-crop{display:grid;gap:12px;text-align:center}
body:not(.talk-viewport):not(.talk-mode) .hub-crop h3{font-size:1rem;margin:0}
body:not(.talk-viewport):not(.talk-mode) .hub-crop canvas{display:block;width:min(100%,256px);height:auto;aspect-ratio:1;justify-self:center;touch-action:none;border-radius:50%;cursor:grab;outline-offset:4px;background:var(--ui-subtle)}
body:not(.talk-viewport):not(.talk-mode) .hub-crop canvas:active{cursor:grabbing}
body:not(.talk-viewport):not(.talk-mode) .hub-crop>p{font-size:.78rem;color:var(--ui-muted);margin:0;line-height:1.5}
body:not(.talk-viewport):not(.talk-mode) .hub-crop-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body:not(.talk-viewport):not(.talk-mode) .hub-crop-actions button{min-height:44px;padding:8px 10px;white-space:nowrap;font-size:.86rem}
@media(max-width:600px){body:not(.talk-viewport):not(.talk-mode) .profile-popover{position:fixed;right:16px;top:calc(env(safe-area-inset-top,0px) + 68px);max-height:calc(100dvh - 100px);padding:16px}}
@media(prefers-reduced-motion:reduce){body:not(.talk-viewport):not(.talk-mode) .hub-avatar{transition:none}}
/* Explicit exception requested: remove only the redundant Talk sidebar destination. */
body.talk-viewport :is(#navigation a[data-route="settings"],.topbar>.theme-toggle),body.talk-mode :is(#navigation a[data-route="settings"],.topbar>.theme-toggle){display:none!important}
body:not(.talk-viewport):not(.talk-mode) .ask-loading-content{display:flex;gap:14px;align-items:center;min-height:88px}
body:not(.talk-viewport):not(.talk-mode) .ask-loading-content p{margin:0;font-size:1rem;color:var(--ui-ink)}
body:not(.talk-viewport):not(.talk-mode) .ask-loading-orb{width:76px;height:76px;flex:none;color:var(--brand-green-ink);fill:currentColor;overflow:visible}
body:not(.talk-viewport):not(.talk-mode) .ask-loading-orb g{transform-origin:40px 40px;animation:ask-orbit 3s linear infinite}
body:not(.talk-viewport):not(.talk-mode) .ask-loading [data-ask-cancel]{min-height:44px;color:var(--ui-muted);padding:8px 12px}
body:not(.talk-viewport):not(.talk-mode) .ask-answer-error p{color:var(--ui-ink)}
@keyframes ask-orbit{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){body:not(.talk-viewport):not(.talk-mode) .ask-loading-orb g{animation:none}body:not(.talk-viewport):not(.talk-mode) .task-check::before{transition:none;transform:none}}
body:not(.talk-viewport):not(.talk-mode) .profile-activity{padding-block:14px}
@media(max-width:1150px){body:not(.talk-viewport):not(.talk-mode) .home-noticing>.home-diary-week{grid-template-columns:1fr auto}body:not(.talk-viewport):not(.talk-mode) .home-diary-week>.text-link{grid-column:1/-1}body:not(.talk-viewport):not(.talk-mode) .home-all-goals{grid-template-columns:1fr}}
@media(max-width:800px){
 body:not(.talk-viewport):not(.talk-mode){--card-pad:20px;--section-gap:28px;--column-gap:18px}
 body:not(.talk-viewport):not(.talk-mode) main{padding-inline:var(--layout-pad)}
 body:not(.talk-viewport):not(.talk-mode) .home-noticing>.home-diary-week{grid-template-columns:1fr}
 body:not(.talk-viewport):not(.talk-mode) .diary-week-days{grid-template-columns:repeat(7,minmax(0,44px));justify-content:space-between;width:100%;gap:4px}
 body:not(.talk-viewport):not(.talk-mode) .diary-week-day{width:100%;min-width:0}
 body:not(.talk-viewport):not(.talk-mode) .home-diary-week>.text-link{grid-column:1;justify-self:end}
 body:not(.talk-viewport):not(.talk-mode) .home-direction{padding:var(--card-pad)}
 body:not(.talk-viewport):not(.talk-mode) .focus-task{padding:14px;gap:8px;grid-template-columns:36px minmax(0,1fr) auto}
 body:not(.talk-viewport):not(.talk-mode) .task-check{width:44px;min-width:44px;margin-left:-4px}
 body:not(.talk-viewport):not(.talk-mode) .task-actions{gap:2px 0}
 body:not(.talk-viewport):not(.talk-mode) .task-actions .text-button svg{display:none}
 body:not(.talk-viewport):not(.talk-mode) .task-description{font-size:.85rem}
 body:not(.talk-viewport):not(.talk-mode) .journal-heading{gap:12px}
 body:not(.talk-viewport):not(.talk-mode) .journal-heading .journal-clear{font-size:.8rem;padding-inline:10px}
 body:not(.talk-viewport):not(.talk-mode) .date-nav{gap:6px}
 body:not(.talk-viewport):not(.talk-mode) .date-nav input{width:150px;flex:0 1 150px;min-width:122px;padding-inline:9px}
 body:not(.talk-viewport):not(.talk-mode) .date-nav .button{padding-inline:12px}
 body:not(.talk-viewport):not(.talk-mode) .ask-rail-toggle{display:none}
 body:not(.talk-viewport):not(.talk-mode) .ask-toolbar{padding-left:0}
 body:not(.talk-viewport):not(.talk-mode) .ask-suggestions{gap:8px;margin-block:12px}
 body:not(.talk-viewport):not(.talk-mode) .ask-suggestions button{padding:10px 16px}
}
@media(max-width:360px){
 body:not(.talk-viewport):not(.talk-mode){--card-pad:16px;--row-gap:8px}
 body:not(.talk-viewport):not(.talk-mode) .home-today{column-gap:8px}
 body:not(.talk-viewport):not(.talk-mode) .home-today h2{font-size:1.05rem}
 body:not(.talk-viewport):not(.talk-mode) .home-planner .focus-add{padding-inline:12px;font-size:.85rem}
 body:not(.talk-viewport):not(.talk-mode) .date-nav .button{padding-inline:9px;font-size:.85rem}
 body:not(.talk-viewport):not(.talk-mode) .date-nav input{width:122px;flex-basis:122px}
 body:not(.talk-viewport):not(.talk-mode) .date-nav{gap:4px}
 body:not(.talk-viewport):not(.talk-mode) .date-nav .icon-button{width:44px;min-width:44px}
}
