.pf-split:has(.msg-solo){grid-template-columns:minmax(0,1fr)}.pf-split:has(.msg-solo)>.pf-split-list{box-shadow:none}.pf-split-scroll:has(>.msg-solo){padding-bottom:12dvh;display:flex}.msg-solo{flex:1;min-width:0;display:flex}.msg-list-empty{box-sizing:border-box;min-height:100%;padding-bottom:12dvh;display:flex}.msg-list>.pf-row{--msg-g:calc(var(--pane-g) - 8px);--inset:calc(var(--msg-g) + 52px);padding-inline:var(--msg-g);border-radius:16px}.msg-list>.pf-row+.pf-row:before{right:var(--msg-g)}.msg-list>.pf-row:is(:focus-within,[data-selected]):before,.msg-list>.pf-row:is(:focus-within,[data-selected])+.pf-row:before{opacity:0}@media (hover:hover){.msg-list>.pf-row:hover:before,.msg-list>.pf-row:hover+.pf-row:before{opacity:0}}.msg-trail{min-width:36px;transition:opacity var(--pf-d-fade-in) var(--pf-ease-out);flex-direction:column;align-items:flex-end;gap:6px;display:flex}@media (hover:hover){ul.msg-list>li.pf-row>.pf-row-actions{top:50%;right:var(--msg-g);opacity:0;position:absolute;translate:0 -50%}ul.msg-list>li.pf-row:hover>.pf-row-actions,ul.msg-list>li.pf-row>.pf-row-actions:has([aria-expanded=true]){opacity:1}ul.msg-list>li.pf-row:hover .msg-trail,ul.msg-list>li.pf-row:has([aria-expanded=true]) .msg-trail{opacity:0}}.msg-center{min-height:0;padding:0 var(--pane-g) 12dvh;flex:1;display:flex}.msg-conv{--pg:32px;flex-direction:column;flex:1;min-height:0;display:flex}@container main (width<=859px){.msg-conv{--pg:24px}}@container main (width<=559px){.msg-conv{--pg:16px}}.msg-head-slot{flex:none}.msg-head{box-sizing:border-box;min-height:88px;padding:0 var(--pg);box-shadow:inset 0 -1px 0 var(--pf-hairline);flex:none;align-items:center;gap:12px;display:flex}@container main (width<800px){.msg-head{min-height:64px}}.msg-who{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.msg-who>h2{margin:0}.msg-body{flex-direction:column;flex:1;min-height:0;display:flex}.msg-body>*{flex:1;min-height:0}.msg-face{flex-direction:column;height:100%;min-height:0;display:flex}.msg-scroll{min-height:0;padding:0 var(--pg);overflow-anchor:auto;overscroll-behavior:contain;flex-direction:column;flex:1;display:flex;overflow-y:auto}.msg-thread{width:100%;max-width:var(--pf-column-chat);box-sizing:border-box;flex-direction:column;flex:none;margin:0 auto;padding:16px 0;list-style:none;display:flex}.msg-thread-slot{flex:none}.msg-thread:empty{display:none}.msg-start{flex:1;min-height:0;display:flex}.msg-day{text-align:center;align-self:center;margin:20px 0 8px;list-style:none}.msg-item{flex-direction:column;align-items:flex-start;margin-top:2px;list-style:none;display:flex}.msg-item[data-from=trainer]{align-items:flex-end}.msg-item:has(>.msg-bubble:is([data-pos=one],[data-pos=first])){margin-top:10px}.msg-line{align-items:center;gap:2px;max-width:min(620px,84%);display:flex}.msg-item[data-from=trainer]>.msg-line{flex-direction:row-reverse}.msg-bubble{box-sizing:border-box;background:var(--pf-fill);min-width:0;color:var(--pf-foreground);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:20px;padding:9px 14px}.msg-item[data-from=trainer]>.msg-bubble{background:var(--pf-primary-container);color:var(--pf-primary-container-foreground)}.msg-item[data-from=trainer]>.msg-bubble[data-pos=first]{border-radius:20px 20px 6px}.msg-item[data-from=trainer]>.msg-bubble[data-pos=mid]{border-radius:20px 6px 6px 20px}.msg-item[data-from=trainer]>.msg-bubble[data-pos=last]{border-radius:20px 6px 20px 20px}.msg-item[data-from=student]>.msg-bubble[data-pos=first]{border-radius:20px 20px 20px 6px}.msg-item[data-from=student]>.msg-bubble[data-pos=mid]{border-radius:6px 20px 20px 6px}.msg-item[data-from=student]>.msg-bubble[data-pos=last]{border-radius:6px 20px 20px}.msg-item[data-status=sending]>.msg-line>.msg-bubble{opacity:.7}.msg-item[data-from][data-status=failed]>.msg-line>.msg-bubble{background:var(--pf-danger-container);color:var(--pf-danger-container-foreground)}.msg-act{transition:opacity var(--pf-d-fade-in) var(--pf-ease-out);flex:none}@media (hover:hover){.msg-line:not(:hover,:focus-within) .msg-act:not([aria-expanded=true],[data-copied]){opacity:0}}.msg-act[data-copied] svg{animation:msg-copied-pop .24s var(--pf-ease-out)}@keyframes msg-copied-pop{0%{transform:scale(.6)}}@media (prefers-reduced-motion:reduce){.msg-act[data-copied] svg{animation:none}}.msg-retry{color:var(--pf-danger);cursor:pointer;font:inherit;transition:background-color var(--pf-d-focus) var(--pf-ease-out);background:0 0;border:0;border-radius:10px;align-items:center;gap:4px;margin:2px 0 0;padding:4px 8px;display:inline-flex}@media (hover:hover){.msg-retry:hover{background:var(--pf-hover)}}.msg-retry:focus-visible{outline:2px solid var(--pf-focus-ring);outline-offset:1px}.msg-card-item{justify-content:center;margin:12px 0 4px;list-style:none;display:flex}.msg-card{box-sizing:border-box;align-items:center;gap:12px;width:100%;max-width:440px;padding:12px 16px;display:flex}.msg-card-icon{background:var(--pf-primary-container);width:40px;height:40px;color:var(--pf-primary-container-foreground);border-radius:50%;flex:none;place-items:center;display:grid}.msg-card-body{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.msg-older{justify-content:center;align-items:center;gap:8px;padding:4px 0 8px;list-style:none;display:flex}.msg-meta{margin:4px 6px 0}@keyframes msg-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.msg-enter{animation:msg-rise var(--pf-d-state-change) var(--pf-ease-out) both}.msg-jump{z-index:2;height:0;animation:msg-jump-in .16s var(--pf-ease) .32s both;flex:none;justify-content:center;align-items:flex-end;display:flex;position:sticky;bottom:12px}.msg-jump .pf-btn{--btn-bg:var(--pf-surface-raised);box-shadow:var(--pf-overlay-shadow)}@keyframes msg-jump-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.msg-enter{animation:none}.msg-jump{animation:0s .32s both msg-jump-show}@keyframes msg-jump-show{0%{opacity:0}to{opacity:1}}}.msg-composer{padding:8px var(--pg) 20px;flex:none}.msg-box{max-width:var(--pf-column-chat);box-sizing:border-box;background:var(--pf-fill);transition:box-shadow var(--pf-d-focus) var(--pf-ease);border-radius:26px;align-items:flex-end;gap:4px;margin:0 auto;padding:6px;display:flex}.msg-box:has(>.msg-field:focus){box-shadow:inset 0 0 0 var(--pf-control-emphasis-border-width) var(--pf-focus-ring)}.msg-field{box-sizing:border-box;min-width:0;min-height:36px;max-height:132px;color:var(--pf-foreground);resize:none;transition:height .12s var(--pf-ease-out);background:0 0;border:0;outline:none;flex:1;padding:7px 8px;font-family:inherit;overflow-y:hidden}@media (prefers-reduced-motion:reduce){.msg-field{transition:none}}.msg-field:focus-visible{outline:none}.msg-count{flex:none;align-self:center;padding-inline:4px}.msg-closed{max-width:var(--pf-column-chat);box-sizing:border-box;background:var(--pf-fill);text-align:center;border-radius:26px;margin:0 auto;padding:14px 20px}.msg-field::placeholder{color:var(--pf-tertiary-foreground);opacity:1}.msg-new-body{min-height:0;padding:16px var(--pg) 0;flex-direction:column;flex:1;gap:12px;display:flex}.msg-new-scroll{overscroll-behavior:contain;flex:1;min-height:0;margin-inline:-8px;padding-bottom:24px;overflow-y:auto}.msg-new-list>.pf-row{border-radius:16px;padding-inline:16px}.msg-new-list>.pf-row:is(:focus-within,[data-selected]):before,.msg-new-list>.pf-row:is(:focus-within,[data-selected])+.pf-row:before{opacity:0}@media (hover:hover){.msg-new-list>.pf-row:hover:before,.msg-new-list>.pf-row:hover+.pf-row:before{opacity:0}}.msg-notices{flex-direction:column;gap:20px;margin-top:8px;display:flex}.msg-notice-icon{background:var(--pf-fill);width:40px;height:40px;color:var(--pf-muted-foreground);border-radius:50%;flex:none;place-items:center;display:grid}.msg-more{height:120px;margin-top:8px;position:relative}.msg-more-sentinel{pointer-events:none;height:1px;position:absolute;inset:0 0 auto}.msg-more-top{justify-content:center;align-items:center;height:64px;display:flex;position:absolute;inset:8px 0 auto}.msg-more-row{width:100%}.msg-more-action{justify-content:center;display:flex;position:absolute;inset:auto 0 8px}.msg-more-action:not(:focus-within,[data-shown]){clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;inset:auto;overflow:hidden}
