.ag{min-width:0;height:calc(var(--app-h,100dvh) - var(--tabs-total) - env(safe-area-inset-top));background:var(--system-background);flex-direction:column;display:flex;overflow:hidden}.ag>.k-page{width:100%;max-width:720px;height:100%;min-height:0;padding-bottom:var(--s2);flex-direction:column;margin-inline:auto;display:flex}.ag .k-page-head{flex-wrap:nowrap}.ag .k-page-head h1{flex:auto}.ag .k-page-action{align-items:center;gap:var(--s1);display:flex}.ag .k-page-action .k-btn{min-height:44px}.ag-chat{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.ag-chat-scroll{gap:var(--s2);flex:1;grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content;align-content:start;min-width:0;min-height:0;display:grid;overflow-y:auto}.ag .k-page-head h1{font-size:var(--t-large);letter-spacing:-.02em;white-space:normal;overflow-wrap:anywhere;font-weight:700;line-height:1.15}.ag-strip{gap:var(--s2);margin:0 0 var(--s3);min-width:0;display:flex}.ag-tile{align-items:center;gap:var(--s2);min-width:0;min-height:40px;padding:0 var(--s3);background:var(--surface);color:var(--text);font-size:var(--t-body);border-radius:10px;flex:1 1 0;text-decoration:none;display:flex}.ag-tile>.icon{color:var(--stream);flex:none}.ag-tile-main{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.ag-tile-meta{color:var(--text-2);font-size:var(--t-meta);flex:none}.ag-tile.late>.icon{color:var(--amber)}@media (hover:hover){.ag-tile:hover{background:var(--tint-2)}}.ag-tile:focus-visible{outline:2px solid var(--focus);outline-offset:2px}:where(:root[data-device=phone]) .ag-strip{gap:var(--s1);flex-direction:column}:where(:root[data-device=phone]) .ag-tile{min-height:44px}.ag-line{align-items:center;gap:0 var(--s1);margin:0 0 var(--s2);color:var(--text-2);font-size:var(--t-title);flex-wrap:wrap;display:flex}.ag-sky{flex:none}.ag-today{gap:var(--s1);margin-top:var(--s1);display:grid}.ag-need-head{align-items:baseline;gap:var(--s2);padding:0 var(--s3);font-size:var(--t-meta);color:var(--text-2);display:flex}.ag-need-head h2{font-size:var(--t-meta);margin:0;font-weight:600}.ag-need-head span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.ag-need-head .ag-show-all{font:inherit;color:var(--stream);cursor:pointer;background:0 0;border:0;flex:none;padding:0}@media (hover:hover){.ag-need-head .ag-show-all:hover{text-decoration:underline}}@media (pointer:coarse){.ag-need-head .ag-show-all{min-height:44px}}.ag-need-head button:focus-visible,.ag-need:focus-visible,.ag-wait:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.ag-needs .ag-need{align-items:center;gap:var(--s3);min-height:56px;padding:var(--s3);color:var(--text);text-decoration:none;display:flex}@media (pointer:coarse){.ag-needs .ag-need{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}}.ag-needs>li+li:before{left:62px}.ag-need-row{position:relative}.ag-need-acts{right:var(--s3);background:var(--menu-bg,var(--surface));box-shadow:0 0 0 1px var(--hair);opacity:0;pointer-events:none;border-radius:10px;gap:2px;padding:2px;transition:opacity .12s;display:flex;position:absolute;top:50%;translate:0 -50%}.ag-need-acts button{width:28px;height:28px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:inline-grid}.ag-need-acts button:hover{background:var(--tint-2);color:var(--text)}.ag-need-acts button:focus-visible{outline:2px solid var(--focus);outline-offset:0}.ag-need-row:focus-within .ag-need-acts{opacity:1;pointer-events:auto}@media (hover:hover){.ag-need-row:hover .ag-need-acts{opacity:1;pointer-events:auto}.ag-need-row:is(:hover,:focus-within) .ag-meta{visibility:hidden}}@media (hover:none){.ag-need-acts{display:none}}@media (prefers-reduced-motion:reduce){.ag-need-acts{transition:none}}.ag-ic{border-radius:var(--r-full);background:color-mix(in srgb, var(--stream) 16%, transparent);width:36px;height:36px;color:var(--stream);flex:none;place-items:center;display:grid}.ag-ic.wait{background:color-mix(in srgb, var(--agent) 18%, transparent);color:var(--agent)}.ag-need-text{flex:1;gap:2px;min-width:0;display:grid}.ag-need-top{justify-content:space-between;align-items:baseline;gap:var(--s2);min-width:0;display:flex}.ag-need-top strong,.ag-wait strong{font-weight:600;font-size:var(--t-title);text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ag-meta{color:var(--text-2);font-size:var(--t-meta);flex:none}.ag-need-sub,.ag-wait .ag-need-text>span{color:var(--text-2);font-size:var(--t-body);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ag-wait{align-items:center;gap:var(--s3);width:100%;min-height:max-content;padding:var(--s3);border-radius:var(--r-md);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;border:0;flex:none;display:flex}.ag-wait .ag-need-text>span{white-space:normal;overflow:visible}.ag-continue .ag-need-text>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ag-kind{white-space:nowrap}.ag-chev{color:var(--text-3);flex:none}.ag-calm{padding:var(--s3);color:var(--text-2);margin:0}:where(:root[data-device=phone].kb-open) .ag{height:calc(var(--vv-h,100dvh) - var(--tabs-total) - env(safe-area-inset-top))}.ag-hints{gap:var(--s2);padding:var(--s1) 0;flex-wrap:wrap;display:flex}:where(:root[data-device=phone]) .ag .k-page-head{margin-bottom:var(--s1);flex-wrap:wrap;row-gap:0}:where(:root[data-device=phone]) .ag .k-page-head h1{white-space:nowrap;text-overflow:ellipsis;flex:1 0 100%;order:1;min-width:0;font-size:26px;overflow:hidden}:where(:root[data-device=phone]) .ag .k-page-action{margin-left:auto}:where(:root[data-device=phone]) :is(.ag-line,.ag-strip){margin-bottom:0}:where(:root[data-device=phone]) .ag-today{margin-top:0}:where(:root[data-device=phone]) .ag-hints .k-chip{flex:none;width:auto;min-height:32px;padding:0 12px;font-size:14px}.turn-sources a:focus-visible,.turn-activity summary:focus-visible,.turn-sources summary:focus-visible{outline:2px solid var(--stream);outline-offset:2px}.ag-brief{padding:var(--s3) var(--s4);overflow-wrap:anywhere}.ag-note,.ag-empty{color:var(--text-2);font-size:var(--t-meta)}.ag-cards{gap:var(--s3);padding:var(--s2);display:grid}.ag .card{gap:var(--s2);padding:var(--s4);border-radius:var(--r-md);background:var(--surface);box-shadow:none;border:0;display:grid}.ag .card .reason{color:var(--text-2)}.ag .card .answers{gap:var(--s2);flex-wrap:wrap;display:flex}.ag .card .answers button,.card .answers button{min-height:44px}.ag .card-targets summary,.card-targets summary{cursor:pointer;min-height:44px;color:var(--text-2);align-items:center;display:flex}.ag .card-targets summary:focus-visible{outline:2px solid var(--stream);outline-offset:2px}.ag .card-targets ul{margin:0;padding:0;list-style:none}.ag .card-targets li{padding:var(--s2) 0;border-top:1px solid var(--hair);overflow-wrap:anywhere}.ag .card-targets a{color:var(--stream)}.ag .card .card-meta,.ag .card .card-state{color:var(--text-2)}.ag .draft-peek{border-color:var(--hair);background:var(--tint)}.turns .turn-mark{background:0 0;align-self:flex-start;align-items:center;width:auto;height:1.5em;display:flex}.turns .turn-mark svg{display:none}.turns .turn-mark:before{content:"";border-radius:var(--r-full);background:var(--agent);width:8px;height:8px}.turns .turn.live .turn-mark:before{animation:1.4s ease-in-out infinite mark-breathe}@keyframes mark-breathe{50%{opacity:.55;transform:scale(1.35)}}@media (prefers-reduced-motion:reduce){.turns .turn.live .turn-mark:before{animation:none}}.turns .turn.me .turn-body{background:var(--bubble-blue);color:var(--on-stream-solid);border-radius:var(--r-bubble) var(--r-bubble) var(--r-tail) var(--r-bubble);padding:10px 14px;font-size:16px;line-height:1.34}.turns .turn.me .turn-body a{color:inherit;text-decoration:underline}.turns .turn.me .turn-body .turn-photos,.turns .turn.me .turn-body .meta{color:var(--on-stream-solid);font-size:12px}.turns .turn.cont{margin-top:calc(-1 * var(--s3))}.turns .day-sep{margin:var(--s2) 0;font-size:var(--t-caption);color:var(--text-2);justify-content:center;position:static}.turn .meta{color:var(--text-2);font-size:var(--t-caption);margin-top:0}.turn-activity,.turn-sources{font-size:var(--t-meta);color:var(--text-2)}.turn-activity summary,.turn-sources summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.turn-activity ul,.turn-sources ul{margin:0;padding:0;list-style:none}.turn-activity li{padding:var(--s1) 0}.turn-sources li{border-top:1px solid var(--hair)}.turn-sources a{gap:var(--s1);min-height:52px;padding:var(--s2) 0;color:var(--text);overflow-wrap:anywhere;text-decoration:none;display:grid}.turn-sources a span{color:var(--text-2)}.ag .ask-dock{z-index:2;padding:var(--s2) var(--gutter);background:var(--system-background);flex:none;position:sticky;bottom:0}.ag .ask-dock .ask-wrap{max-width:720px;margin-inline:auto}form.k-ask textarea{min-width:0;padding:var(--s3) 0;resize:none;min-height:0;box-shadow:none;font-size:var(--t-input);scrollbar-width:none;background:0 0;border:0;outline:none;flex:1;line-height:20px}.k-ask{align-items:flex-end}.k-ask .k-agent-dot{align-self:center}.k-ask .k-btn{align-self:flex-end;margin-bottom:0}@media (pointer:fine){.k-ask .k-btn{margin-bottom:calc((20px + 2 * var(--s3) - 32px) / 2)}}.ag-memory,.ag-history{gap:var(--s4);padding:var(--s2);display:grid}.ag-memory>input,.ag-history>input{width:100%;min-height:44px}.ag-memory-actions{display:flex}.ag-memory-edit{gap:var(--s2);display:grid}.ag-memory-edit textarea{width:100%;min-height:96px}.ag-memory-edit>div{gap:var(--s2);display:flex}:where(:root:not([data-device=phone])) .ag{height:100%}:where(:root:not([data-device=phone])) .ag>.k-page{padding-bottom:var(--s4)}:where(:root:not([data-device=phone])) .ag .ask-dock{padding-inline:0}.ag-fix{color:var(--stream);font-weight:600}.ag-more{display:inline-flex}.ag-trail{align-items:center;gap:var(--s2);z-index:1;display:inline-flex;position:relative}.ag-row-open{font:inherit;color:inherit;text-align:left;background:0 0;border:0;border-radius:0;min-height:0;padding:0;font-weight:600}.ag-row-open:after{content:"";position:absolute;inset:0}.ag-row-open:focus-visible{box-shadow:none}.ag-row-open:focus-visible:after{box-shadow:var(--ring);border-radius:var(--r-md)}.k-group>li:has(.ag-trail) .k-sub{-webkit-line-clamp:1}.k-group>li:has(.ag-trail) .k-row{min-height:52px;max-height:64px}.k-title:has(>.ag-row-open){align-items:center;min-width:0;display:flex}.ag-row-open{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;flex:auto;min-width:0;display:-webkit-box;overflow:hidden}.ag-sub{margin-bottom:var(--s3)}.ag-row-err{padding:0 var(--s4) var(--s2)}.ag-row-err:before{display:none}.ag-failed{color:var(--signal);align-items:center;gap:4px;margin-right:6px;font-weight:600;display:inline-flex}.ag-failed .icon{flex:none}.ag-run-again{min-height:32px}@media (pointer:coarse){.ag-run-again{min-height:44px}}.ag-who{width:16px;color:var(--text-2);place-items:center;display:grid}.ag-form{gap:var(--s2);display:grid}.ag-form .k-section{margin-top:var(--s4)}.ag-form .k-control>textarea,.ag-form .k-control>input:not([type=time]){width:100%}.ag-days{gap:var(--s2);flex-wrap:wrap;display:flex}.ag-actions{margin-top:var(--s2);justify-content:flex-start;display:flex}@media (pointer:coarse){.ag-filter .k-chip,.ag-hints .k-chip{position:relative}.ag-filter .k-chip:after,.ag-hints .k-chip:after{content:"";position:absolute;inset:-8px 0}}.ag-filter{gap:var(--s2);scrollbar-width:none;margin:var(--s2) 0 0;display:flex;overflow-x:auto}.ag-filter .k-btn{min-height:44px}@media (hover:hover){.k-group>li .hover-act{opacity:0}.k-group>li:hover .hover-act,.k-group>li:focus-within .hover-act{opacity:1}}.ag-activity-day .k-agent-dot{opacity:0}.ag-activity-day li:hover .k-agent-dot,.ag-activity-day li:focus-within .k-agent-dot{opacity:1}.ppl-total{margin:var(--s2) var(--s3);color:var(--text-2);font-size:var(--t-meta)}.ppl-continuous .k-title{font-weight:600}.sched-item{align-items:center;gap:var(--s2);min-height:64px;padding:var(--s2) var(--s3);display:flex}.sched-main{align-items:center;gap:var(--s3);flex:1;min-width:0;display:flex}.sched-detail{justify-content:stretch;justify-items:start;gap:var(--s1);min-width:0;color:var(--text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;flex:1;grid-template-columns:minmax(0,1fr);padding:0;display:grid}.sched-detail>*{max-width:100%}.sched-detail span{text-overflow:ellipsis;white-space:nowrap;color:var(--text-2);font-size:var(--t-meta);overflow:hidden}.sched-detail:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.sched-time{min-width:90px;color:var(--text-2);font-size:var(--t-meta);text-align:right;flex:none}.sched-item .sched-actions{padding:0}:where(:root[data-device=phone]) .sched-item{flex-wrap:wrap}:where(:root[data-device=phone]) .sched-time{display:none}:where(:root[data-device=phone]) .sched-item .sched-actions{margin-left:36px}.ask-wrap{gap:var(--s1);min-width:0;display:grid}.ask-menu{padding:var(--s1);background:var(--surface);max-height:240px;box-shadow:0 0 0 1px var(--hair);border-radius:14px;margin:0;list-style:none;overflow-y:auto}.ask-menu button{justify-content:flex-start;align-items:center;gap:var(--s2);width:100%;min-height:44px;padding:0 var(--s3);color:var(--text);text-align:left;background:0 0;border:0;border-radius:10px;font-size:14px;display:flex}.ask-menu button.on{background:var(--tint)}.ask-menu strong{flex:none;font-weight:600}.ask-menu span{min-width:0;color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.ask-files{gap:0 var(--s2);flex-wrap:wrap;min-width:0;display:flex}.turn-photos{align-items:center;gap:var(--s1);margin:var(--s1) 0 0;color:var(--text-2);font-size:13px;display:flex}.ask-chip{max-width:100%;margin:0 0 var(--s2);border-radius:var(--r-full);background:var(--tint);color:var(--text-2);align-items:center;gap:2px;padding-left:12px;font-size:13px;display:inline-flex}.ask-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ask-chip button{width:32px;height:32px;color:var(--text-2);background:0 0;border:0;flex:none;place-items:center;display:grid}@media (pointer:coarse){.ask-chip button{width:44px;height:44px}.ag-filter{padding-block:8px}}.turn-actions{margin:var(--s1) 0 0 -6px;gap:2px;display:flex}.turn-actions button{width:32px;height:32px;color:var(--text-3);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:inline-grid}.turn-actions button:hover{background:var(--tint);color:var(--text)}.turn-actions button:focus-visible{outline:2px solid var(--focus);outline-offset:0}@media (pointer:coarse){.turn-actions button{width:44px;height:44px}}@media (hover:hover){.turn.munshe .turn-actions{opacity:0;transition:opacity .12s}.turn.munshe:hover .turn-actions,.turn.munshe:focus-within .turn-actions,.turn.munshe.last .turn-actions{opacity:1}}.turn-action{line-height:1.35;font-size:var(--t-meta);color:var(--text-3);grid-template-columns:minmax(0,max-content) max-content;justify-content:start;align-items:baseline;column-gap:10px;margin:2px 0 0;display:grid}.turn-action .what{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.turn-action button{font:inherit;color:var(--stream);cursor:pointer;background:0 0;border:0;flex:none;padding:0}.turn-action button:disabled{opacity:.5;cursor:default}.turn-action .was{text-decoration:line-through}.prose a.ref{color:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--hair-2,var(--hair));text-decoration-color:var(--hair-2,var(--hair));text-underline-offset:3px}.prose a.ref:hover{text-decoration-color:currentColor}.turn-next{gap:var(--s2);margin-top:var(--s2);flex-wrap:wrap;display:flex}.turn-next button{background:var(--tint);min-height:36px;color:var(--text);font:inherit;font-size:var(--t-meta);cursor:pointer;border:0;border-radius:18px;padding:0 14px}.turn-next button:hover{background:var(--tint-2)}@media (pointer:coarse){.turn-next button{border-radius:22px;min-height:44px}}.turn-next button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.turn-actions button:disabled{opacity:.6;cursor:default}.ag-chat>.spend-line{padding:var(--s1) var(--s3) var(--s2);text-align:center;white-space:normal;flex:none;margin:0}.answers button.quiet{color:var(--text-3);background:0 0;border-color:#0000}:where(:root[data-device=phone]) .turn .card .answers button.quiet{min-height:32px;font-size:var(--t-meta);flex:1 0 100%}.ag-chat-scroll{-webkit-mask-image:linear-gradient(to bottom, transparent 0, var(--black) 14px);-webkit-mask-image:linear-gradient(to bottom, transparent 0, var(--black) 14px);mask-image:linear-gradient(to bottom, transparent 0, var(--black) 14px)}.turns .turn:not(.live) .turn-mark:before{background:0 0}.turns{gap:10px}.turn-foot{align-items:center;gap:var(--s2);min-height:28px;margin-top:4px;display:flex}.turn-foot .turn-sources{flex:0 auto;min-width:0}.turn-foot .turn-sources summary{border-radius:var(--r-full);background:var(--tint);max-width:100%;min-height:32px;font-size:var(--t-meta);color:var(--text-2);align-items:center;gap:4px;padding:0 8px 0 10px;list-style:none;display:inline-flex}.turn-foot .turn-sources .turn-src-chev{color:var(--text-3);transition:transform var(--fast,.15s) var(--ease,ease);flex:none}.turn-foot .turn-sources[open] .turn-src-chev{transform:rotate(90deg)}@media (prefers-reduced-motion:reduce){.turn-foot .turn-sources .turn-src-chev{transition:none}}.turn-foot .turn-sources summary::-webkit-details-marker{display:none}.turn-foot .turn-sources[open]{flex-basis:100%}.turn-foot .turn-actions{margin:0 -6px 0 auto}.turn-foot .turn-cost{color:var(--text-3);font-size:var(--t-caption)}:where(:root[data-device=phone].kb-open) .ag .ask-dock{bottom:auto;left:0;right:0;top:calc(var(--vv-top,0px) + var(--vv-h,100dvh));z-index:25;position:fixed;transform:translateY(-100%)}.ag-actor{color:var(--text);font-weight:600}.ag-review-btn{border-radius:var(--r-full);background:var(--fill,color-mix(in srgb, var(--text) 8%, transparent));height:28px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;border:0;align-items:center;gap:5px;padding:0 10px;font-size:14px;font-weight:500;display:inline-flex}.ag-review-btn span{color:var(--agent);font-weight:600}.ag-review-btn:active{opacity:.7}.ag-memory>.k-btn{margin:4px 0 8px}
