.chat-screen,.chat-room,.chat-live,.chat-entry,.chat-compose{flex-direction:column;min-width:0;display:flex}.chat-screen{min-height:calc(100dvh - var(--row) - 1px)}.chat-room{flex:1}.chat-screen>*+*,.chat-room>*+*,.chat-live>*+*,.chat-entry>*+*,.chat-compose>*+*{border-top:1px solid var(--color-rule)}.chat-context{flex-direction:column;display:flex}.chat-context>*+*{border-top:1px solid var(--color-rule)}.chat-context p,.chat-status,.chat-entry-caption{box-sizing:border-box;min-height:var(--row);margin:0;padding:.7rem .85rem}.chat-context-head{min-height:var(--row);display:flex;position:relative}.chat-context-pop{z-index:6;pointer-events:none;width:100%;position:absolute;top:calc(100% + 1px);left:0;overflow:hidden}.chat-context-pop[data-open="1"]{pointer-events:auto}.chat-context-pane{background:var(--color-paper);border-bottom:1px solid var(--color-rule);flex-direction:column;width:100%;transition:transform .4s;display:flex;transform:translateY(-100%)}.chat-context-pop[data-open="1"] .chat-context-pane{transform:none}.chat-context-pop[data-open="0"] .chat-context-pane{visibility:hidden;transition:transform .4s,visibility 0s linear .4s}.chat-context-pane>*+*{border-top:1px solid var(--color-rule)}@media (prefers-reduced-motion:reduce){.chat-context-pane{transition:none}}.chat-context-head h1{text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;min-width:0;height:var(--row);font-size:inherit;letter-spacing:-.03em;font-weight:700;line-height:var(--row);flex:1;margin:0;padding:0 .85rem;display:block;overflow:hidden}.chat-context-toggle{box-sizing:border-box;width:var(--row);height:var(--row);border:0;border-left:1px solid var(--color-rule);background:var(--color-paper);flex:none;justify-content:center;align-items:center;padding:0;display:flex}.chat-context-toggle-mark{box-sizing:border-box;background:var(--color-ink);width:100%;height:100%;color:var(--color-paper);border:0;border-radius:0;flex:none;justify-content:center;align-items:center;transition:border-radius .3s;display:flex}.chat-context-toggle[aria-expanded=true] .chat-context-toggle-mark{border-radius:50%}.chat-context-toggle-mark svg{width:1.05rem;height:1.05rem;transition:transform .3s}.chat-context-toggle[aria-expanded=true] .chat-context-toggle-mark svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.chat-context-toggle-mark,.chat-context-toggle-mark svg{transition:none}}.chat-context-time{min-width:0;display:flex}.chat-context-time p{flex:1;min-width:0}.chat-context-pane .cal-slot-say{border:0;padding:0}.chat-context-time-action{box-sizing:border-box;min-height:var(--row);border:0;border-left:1px solid var(--color-rule);background:var(--color-paper);color:var(--color-ink);font-size:inherit;flex:none;padding:.7rem .85rem}.chat-context-time-action:active,.chat-context-time-action:focus-visible{font-weight:700}.chat-context-time-action:disabled{color:var(--color-muted);cursor:default}.chat-status,.chat-entry-caption{color:var(--color-ink);font-size:.8rem;line-height:1.5}.chat-top{top:calc(var(--row) + 1px);z-index:5;background:var(--color-paper);box-shadow:0 1px 0 var(--color-rule);flex-direction:column;transition:transform .35s;display:flex;position:sticky}.chat-top>.chat-context{border-bottom:1px solid var(--color-rule)}.chat-top>.chat-context:last-child{border-bottom:0}.chat-screen>.chat-top+*{border-top:0}.chat-top[data-hide="1"]:not(:has(.chat-context-pop[data-open="1"])){transform:translateY(calc(-1 * var(--chat-head-h,var(--row))))}.chat-top[data-hide="1"]:not(:has(.chat-context-mode)):not(:has(.chat-context-pop[data-open="1"])){transform:translateY(calc(-1 * var(--chat-head-h,var(--row)) - 1px))}@media (prefers-reduced-motion:reduce){.chat-top{transition:none}}.chat-context-mode{box-sizing:border-box;min-height:var(--row);color:var(--color-ink);font-size:inherit;align-items:stretch;margin:0;padding:0;line-height:1.5;display:flex}.chat-context-mode-text{box-sizing:border-box;border-right:1px solid var(--color-rule);background-color:var(--color-paper);font-variant-numeric:tabular-nums;flex:none;align-items:center;width:301px;padding:.7rem .85rem;display:flex}.chat-context-mode-hatch{background-color:var(--color-paper);background-image:var(--hatch);flex:1}.chat-context-rule{height:var(--row);border:0;border-top:1px solid var(--color-rule);background-color:var(--color-paper);background-image:var(--hatch);display:block}.chat-status[data-error="1"]{color:var(--color-ink);font-weight:700}.chat-thread{padding:.85rem .85rem calc(var(--u) + 1.7rem);flex-direction:column;gap:.65rem;margin:0;list-style:none;display:flex}.chat-band{justify-content:center;margin-block:.65rem;display:flex}.chat-band-text{border:1px solid var(--color-ink);background:var(--color-ink);color:var(--color-paper);word-break:keep-all;padding:.3rem .75rem;font-size:.8rem}.chat-group{align-items:flex-start;gap:.5rem;min-width:0;display:flex}.chat-group[data-owner=me]{justify-content:flex-end}.chat-avatar{flex:none}.chat-avatar .cal-slot-theme{border:0;width:100%;height:100%;min-height:0}.chat-pass-trigger{cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;display:block}.chat-pass-pos{z-index:30}.chat-pass-pop{border:1px solid var(--color-rule);background:var(--color-paper)}.chat-pass-go{min-height:var(--row);color:var(--color-ink);white-space:nowrap;align-items:center;gap:.4rem;padding:0 .85rem;text-decoration:none;display:inline-flex}.chat-pass-pict{width:1.15em;height:1.15em}.chat-bubbles{flex-direction:column;gap:.2rem;min-width:0;max-width:78%;display:flex}.chat-group[data-owner=me] .chat-bubbles{align-items:flex-end}.chat-group-name{color:var(--color-ink);padding-inline:.2rem;font-size:.8rem}.chat-bubble-row{scroll-margin-bottom:calc(var(--row) * 2 + 1.7rem);flex-direction:column;align-items:flex-start;gap:.15rem;min-width:0;display:flex}.chat-group[data-owner=me] .chat-bubble-row{align-items:flex-end}.chat-bubble{box-sizing:border-box;border:1px solid var(--color-rule);background:var(--color-paper);min-width:0;color:var(--color-ink);font-size:var(--t-copy);white-space:pre-wrap;word-break:break-word;border-radius:0;padding:.55rem .75rem}.chat-bubble[data-owner=me]{border-color:var(--color-ink);background:var(--color-ink);color:var(--color-paper)}.chat-bubble[data-kind=emoji]{background:0 0;border:0;padding:0;font-size:1.6rem;line-height:1}.chat-bubble a{color:inherit;text-underline-offset:.12em;text-decoration:underline}:is(.chat-bubble-row:has(>.chat-bubble[data-act="1"]),.chat-bubble-row:has(>.chat-bubble[data-kind=place])){align-self:stretch}.chat-bubble[data-act="1"],.chat-bubble[data-kind=place]{white-space:normal;width:100%;padding:0}.chat-bubble-act{flex-direction:column;display:flex}.chat-bubble-text{white-space:pre-wrap;padding:.55rem .75rem}.chat-meet-place{border-top:1px solid var(--color-rule);display:block}a.chat-act{text-decoration:none}.chat-bubble-pair{border-top:1px solid var(--color-rule);display:flex}.chat-bubble-pair>button{box-sizing:border-box;min-height:calc(var(--row) + 1px);background:var(--color-paper);color:var(--color-ink);font:inherit;cursor:pointer;border:0;flex:1}.chat-bubble-pair>button+button{border-left:1px solid var(--color-rule)}.chat-bubble-pair>button[data-go="1"]{color:var(--color-paper);background:#000}.chat-bubble-pair>button:disabled{cursor:default;opacity:.45}.chat-bubble-pair>button:focus-visible{outline:1px solid var(--color-rule);outline-offset:-3px}.chat-act,.chat-act-note{box-sizing:border-box;width:100%;min-height:calc(var(--row) + 1px);border:0;border-top:1px solid var(--color-rule);text-align:left;align-items:center;gap:.7rem;padding:0 .75rem 0 0;display:flex}.chat-act{color:var(--color-paper);font:inherit;letter-spacing:-.03em;cursor:pointer;background:#000;line-height:1.2}.chat-act:focus-visible{outline:2px solid var(--color-paper);outline-offset:-4px}.chat-act:disabled{cursor:default;opacity:.45}.chat-act-box{box-sizing:border-box;width:var(--u);height:var(--u);border-right:1px solid var(--color-rule);background:var(--color-paper);flex:none;place-items:center;display:grid}.chat-act-box .brand-mark{border-color:var(--color-rule);background:var(--color-paper);width:100%;height:100%;color:var(--color-ink)}.chat-act-turn{place-items:center;width:100%;height:100%;animation:8s linear infinite reverse chat-act-spin;display:grid}.chat-act[data-quiet="1"]{background:var(--color-paper);color:var(--color-ink)}.chat-act[data-quiet="1"]:focus-visible{outline-color:var(--color-rule)}@keyframes chat-act-spin{to{transform:rotate(1turn)}}.chat-act-label{flex:1;min-width:0}.chat-act-side{font-variant-numeric:tabular-nums;flex:none;font-size:.8rem;font-weight:400}.chat-act-go{flex:none;width:1.05rem;height:1.05rem}.chat-act-note{background:var(--color-paper);color:var(--color-ink);font-size:.8rem;line-height:1.5}.chat-act-note-text{flex:1;min-width:0;padding-block:.45rem}@media (prefers-reduced-motion:reduce){.chat-act-turn{animation:none}}.chat-bubble[data-kind=place]{border-color:var(--color-rule);background:var(--color-paper);color:var(--color-ink)}.chat-bubble .chat-place,.chat-place{min-width:0;color:inherit;background:var(--color-paper);text-decoration:none;display:flex}.chat-place-thumb{box-sizing:border-box;width:calc(var(--u) * 2);height:calc(var(--u) * 2);border-right:1px solid var(--color-rule);background:var(--color-paper);flex:none;overflow:hidden}.chat-place-thumb img{object-fit:cover;width:100%;height:100%;display:block}.chat-place-thumb[data-empty="1"]{background-image:var(--hatch)}.chat-place-copy{flex-direction:column;flex:1;justify-content:center;gap:.15rem;min-width:0;padding:.5rem .75rem;display:flex}.chat-place-site{color:var(--color-muted);font-size:.72rem;line-height:1.4}.chat-place-title,.chat-place-desc{overflow-wrap:anywhere;-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-place-title{letter-spacing:-.03em;font-weight:700;line-height:1.35}.chat-place-desc{letter-spacing:-.03em;font-size:.8rem;line-height:1.45}.chat-bubble[data-kind=place] .chat-place{flex-direction:column}.chat-bubble[data-kind=place] .chat-place-thumb{aspect-ratio:1.91;border-right:0;border-bottom:1px solid var(--color-rule);width:100%;height:auto}.chat-place:focus-visible{outline:2px solid var(--color-rule);outline-offset:-3px}.chat-place-dialog{flex-direction:column;max-height:calc(100dvh - 2rem);padding:0;display:flex;overflow-y:auto}.dialog.chat-tabbed{background:0 0;border:0;padding:0}.chat-tab-lead>.chat-dialog-body:first-child{margin-top:0}.chat-tabbed .chat-dialog-actions{margin:0}.chat-tabbed>:not(.chat-tabs){border-right:1px solid var(--color-rule);border-left:1px solid var(--color-rule);background:var(--color-paper)}.chat-tabbed>:last-child{border-bottom:1px solid var(--color-rule)}.chat-tabs{min-height:var(--u);flex:none;justify-content:space-between;display:flex;position:relative}.chat-tabs:after{content:"";right:var(--u);border-bottom:1px solid var(--color-rule);pointer-events:none;position:absolute;bottom:0;left:0}.chat-tabs:not(:has(.chat-tab-mark)):after{right:0}.chat-tabbed .chat-tab{border:1px solid var(--color-rule);background:var(--color-paper);border-bottom:0;align-items:center;margin:0;padding:0 .85rem;display:flex}.chat-tab-mark{box-sizing:border-box;width:var(--u);min-height:var(--u);border:1px solid var(--color-rule);background:var(--color-paper);border-bottom:0;flex:none;place-items:center;display:grid}.chat-tab-x{color:var(--color-ink);font:inherit;cursor:pointer;padding:0}.chat-tab-x:focus-visible{outline:1px solid var(--color-rule);outline-offset:-3px}.chat-tabbed .chat-mode{border-top:0;margin:0}.chat-tab-mark svg{width:1.15rem;height:1.15rem}.chat-tab-lead{word-break:keep-all;margin:0;padding:.85rem;line-height:1.45}.chat-place-state{border-top:1px solid var(--color-rule);color:var(--color-ink);margin:0;padding:.7rem .85rem;line-height:1.45}.chat-place-field{min-height:var(--row);border-top:1px solid var(--color-rule);display:flex}.chat-place-field-label{box-sizing:border-box;width:calc(var(--u) * 2);border-right:1px solid var(--color-rule);white-space:nowrap;flex:none;justify-content:center;align-items:center;display:flex}.chat-place-dialog .chat-place-desc{font-size:inherit}.chat-place-field input{background:var(--color-paper);min-width:0;color:var(--color-ink);font:inherit;border:0;flex:1;padding:.7rem .85rem}.chat-place-field input:focus-visible{outline:2px solid var(--color-rule);outline-offset:-3px}.chat-place-preview{border-top:1px solid var(--color-rule)}.chat-place-dialog .chat-place-actions{margin:auto 0 0}.chat-place-dialog .chat-place-actions button{color:var(--color-ink)}.chat-place-dialog .chat-place-actions .chat-place-post:not(:disabled){color:var(--color-paper);background:#000;font-weight:700}.chat-place-dialog .chat-place-actions button:disabled{opacity:.45}.chat-bubble-time{color:var(--color-ink);white-space:nowrap;font-size:.8rem}.chat-typing{box-sizing:border-box;border:1px solid var(--color-rule);background:var(--color-paper);align-items:center;gap:.3rem;padding:.85rem .9rem;display:inline-flex}.chat-typing span{background:var(--color-ink);border-radius:50%;width:.4rem;height:.4rem;animation:1s ease-in-out infinite chat-typing-bounce}.chat-typing span:nth-child(2){animation-delay:.15s}.chat-typing span:nth-child(3){animation-delay:.3s}@keyframes chat-typing-bounce{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.chat-typing span{animation:none}}.chat-field{color:var(--color-muted);flex-direction:column;gap:.45rem;padding:.7rem .85rem;font-size:.8rem;display:flex}.chat-field input,.chat-field textarea{box-sizing:border-box;border:1px solid var(--color-rule);background:var(--color-paper);width:100%;color:var(--color-ink);resize:vertical;padding:.55rem .65rem}.chat-field input[type=datetime-local]{min-width:0;min-height:calc(var(--t-lead) * 1.45 + 1.1rem + 2px);font-size:var(--t-lead);text-align:left;appearance:none;display:block}.chat-field input[type=datetime-local]::-webkit-date-and-time-value{text-align:left}.chat-field input[data-same="1"]{color:var(--color-muted)}.chat-entry-button,.chat-submit{box-sizing:border-box;min-height:var(--row);background:var(--color-paper);color:var(--color-ink);text-align:left;border:0;padding:.7rem .85rem}.chat-entry-button{width:100%;font-size:inherit;letter-spacing:-.03em;line-height:1.45}.chat-entry-button:active,.chat-entry-button:focus-visible,.chat-submit:active,.chat-submit:focus-visible{font-weight:700}.chat-entry-button:disabled,.chat-submit:disabled{color:var(--color-muted);cursor:default}.chat-form-row,.chat-actions{min-width:0;display:flex}.chat-form-row input{background:var(--color-paper);min-width:0;color:var(--color-ink);border:0;flex:1;padding:.7rem .85rem}.chat-form-row .chat-submit{border-left:1px solid var(--color-rule);flex:none}.chat-actions .chat-submit{flex:1}.chat-actions>*+*{border-left:1px solid var(--color-rule)}.chat-closed-copy{border-right:1px solid var(--color-rule);min-width:0;color:var(--color-ink);flex:0 auto;align-items:center;margin:0;padding:.7rem .85rem;font-size:.8rem;line-height:1.5;display:flex}.chat-closed-hatch{min-width:var(--half);background-color:var(--color-paper);background-image:var(--hatch);flex:1}.chat-closed-lock{box-sizing:border-box;width:var(--u);min-height:var(--row);border-left:1px solid var(--color-rule);background:var(--color-paper);flex:none;place-items:center;display:grid}.chat-closed-lock .brand-mark{width:100%;height:var(--u);background:var(--color-paper)}.chat-report{display:flex}.chat-dialog-body{word-break:keep-all;margin:.55rem 0 0;line-height:1.3}.chat-dialog-body+.chat-dialog-body{margin-top:.15rem}.chat-dialog-actions{border-top:1px solid var(--color-rule);margin:1.1rem -.85rem -1.1rem;display:flex}.chat-dialog-actions button{box-sizing:border-box;min-height:var(--row);border:0;border-left:1px solid var(--color-rule);background:var(--color-paper);color:var(--color-ink);font:inherit;word-break:keep-all;flex:1;padding:.65rem}.chat-dialog-actions button:disabled{color:var(--color-muted)}.chat-dialog-actions>:first-child{border-left:0}.chat-dialog-actions button:focus-visible{outline:1px solid var(--color-rule);outline-offset:-3px}.chat-dock{z-index:5;background:var(--color-paper);flex-direction:column;margin-top:auto;display:flex;position:sticky;bottom:0}.chat-dock>*+*{border-top:1px solid var(--color-rule)}.chat-dock>.chat-tools+*{border-top:0}.chat-dock:empty{display:none}.chat-tools{pointer-events:none;flex-direction:column;align-items:flex-end;gap:.5rem;display:flex;position:absolute;bottom:calc(100% + .85rem);right:.85rem}.chat-tools>*{pointer-events:auto}.chat-tools[data-row="1"]{flex-direction:row}.chat-tools-toggle{box-sizing:border-box;width:var(--u);height:var(--u);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid;position:relative}.chat-tools-call{box-sizing:border-box;height:var(--u);color:var(--color-paper);font:inherit;letter-spacing:-.03em;white-space:nowrap;cursor:pointer;background:#000;border:1px solid #000;align-items:center;gap:.5rem;padding:0 .85rem;display:flex}.chat-tools-call svg{width:1.15rem;height:1.15rem}.chat-tools-call[data-tone=quiet]{background:var(--color-paper);color:var(--color-ink)}.chat-tools-call[data-tone=quiet]:focus-visible{outline-color:var(--color-ink)}.chat-tools-call:disabled{background:var(--color-paper);color:var(--color-ink);cursor:default}.chat-tools-call:focus-visible{outline:2px solid var(--color-paper);outline-offset:-4px}.chat-tools-toggle-mark{background:var(--color-ink);width:100%;height:100%;color:var(--color-paper);place-items:center;transition:border-radius .3s;display:grid}.chat-tools-toggle-mark svg{width:1.15rem;height:1.15rem;transition:transform .3s}.chat-tools-toggle[aria-expanded=true] .chat-tools-toggle-mark{border-radius:50%}.chat-tools-toggle[aria-expanded=true] .chat-tools-toggle-mark svg{transform:rotate(45deg)}.chat-tools-toggle:focus-visible{outline:2px solid var(--color-rule);outline-offset:-3px}.chat-tools-menu{box-sizing:border-box;border:1px solid var(--color-rule);background:var(--color-paper);visibility:hidden;opacity:0;flex-direction:column;width:min(18rem,100vw - 2rem);transition:opacity .2s,transform .2s,visibility 0s linear .2s;display:flex;transform:translateY(.5rem)}.chat-tools-menu[data-open="1"]{visibility:visible;opacity:1;transition:opacity .2s,transform .2s;transform:none}@media (prefers-reduced-motion:reduce){.chat-tools-toggle-mark,.chat-tools-toggle-mark svg,.chat-tools-menu{transition:none}}.chat-tool{min-height:var(--row);box-sizing:border-box;background:var(--color-paper);color:var(--color-ink);font:inherit;letter-spacing:-.03em;text-align:left;cursor:pointer;border:0;align-items:center;gap:.6rem;padding:0 .85rem 0 0;display:flex}.chat-tool+.chat-tool{border-top:1px solid var(--color-rule)}.chat-tool:disabled{cursor:default}.chat-tool:disabled .chat-tool-mark,.chat-tool:disabled .chat-tool-label{opacity:.45}.chat-tools[data-away="1"]{visibility:hidden}.chat-tools-note{margin:0;padding:.7rem .85rem;line-height:1.45}.chat-bubble-row:has(>.chat-bubble[data-kind=card]){align-self:stretch}.chat-bubble[data-kind=card]{width:100%;padding:0}.chat-bubbles:has(>.chat-bubble-row>.chat-bubble[data-kind=card]){width:78%}.chat-tool-mark{box-sizing:border-box;width:var(--u);height:var(--u);border-right:1px solid var(--color-rule);flex:none;place-items:center;display:grid}.chat-tool-mark svg{width:1.15rem;height:1.15rem}.chat-tool-label{white-space:nowrap;flex:1;justify-content:space-between;align-items:baseline;gap:.5rem;min-width:0;display:flex}.chat-tool-label small{color:var(--color-muted);font-size:inherit;font-weight:400}.chat-tool:focus-visible{outline:2px solid var(--color-rule);outline-offset:-3px}.chat-tool-dialog{flex-direction:column;max-height:calc(100dvh - 2rem);padding:0;display:flex}.chat-tool-body{border-top:1px solid var(--color-rule);min-height:0;overflow-y:auto}.chat-tabs:has(+.chat-tool-body):after{display:none}.chat-tool-body .chat-entry-caption,.chat-tool-body .chat-field,.chat-tool-body .chat-status{font-size:inherit}.chat-tool-dialog .chat-tool-actions{margin:0}.chat-tool-dialog .chat-tool-actions button{color:var(--color-ink)}.chat-tool-dialog .chat-tool-go:not(:disabled){color:var(--color-paper);background:#000}.chat-compose{background:var(--color-paper)}.chat-mode{border-top:1px solid var(--color-rule);margin:.85rem -.85rem 0}.chat-mode-dialog .chat-dialog-actions{margin-top:0}.chat-act-err{border-top:1px solid var(--color-rule);font-size:.8rem}
