.nav-symbol svg{display:block}.nav-symbol .avatar{width:26px;height:26px;font-size:12px}.profile-shortcut #sidebar-avatar{background:none}.profile-shortcut #sidebar-avatar>.avatar{width:100%;height:100%;font-size:inherit}.profile-button{overflow:hidden}.chat-layout{height:auto;min-height:550px;overflow:visible}.chat-thread{min-width:0;min-height:0;overflow:visible}.messages{min-height:180px;height:clamp(220px,42dvh,550px);overflow:auto;overscroll-behavior:contain}.chat-compose{flex-shrink:0;min-width:0}.recording-controls{overflow:visible}.recording-controls:has([data-stop-record]:not([hidden])),.recording-controls:has([data-discard-record]:not([hidden])){padding:12px;background:#f3eef9;border-radius:14px}#record-preview{display:flex;flex-direction:column;gap:12px;align-items:flex-start}#record-preview:empty{display:none}.camera-preview{transform:scaleX(-1)}.inline-player{max-width:100%;color:#362a55}.round-player{width:220px}.round-player .video-note{display:block;width:220px;height:220px;max-width:100%;aspect-ratio:1}.player-controls{display:flex;gap:8px;align-items:center;margin:8px 0}.play-toggle,.sound-toggle{border:0;border-radius:50%;background:#69518e;color:#fff;min-width:42px;min-height:42px;cursor:pointer}.sound-toggle{border-radius:12px;font-size:11px;padding:8px;min-width:60px}.voice-player{width:300px;background:#f1ebf8;border-radius:22px;padding:8px 12px}.voice-player audio{display:none}.player-timeline{flex:1;min-width:0}.player-timeline input{width:100%;accent-color:#69518e;min-height:24px}.player-timeline span{font-size:11px;display:block;font-variant-numeric:tabular-nums}.player-error{font-size:12px;display:block}.chat-attachment:has(.inline-player){background:none;border:0;padding:0}.chat-attachment:has(.inline-player)>span{display:none}.media-access-refresh{font-size:11px;padding:4px 8px!important;background:transparent!important}.microphone-monitor{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px}.microphone-monitor meter{width:130px}.microphone-warning{color:#9b3f33}.reply-quote{display:block;max-width:100%;width:100%;text-align:left;background:#ede6f5;border:0;border-left:3px solid #8664ae;padding:8px;border-radius:6px;margin:6px 0;cursor:pointer;color:#55426e}.reply-quote strong,.reply-quote span{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#reply-banner{grid-column:1/-1;background:#f1eaf8;border-left:3px solid #8664ae;padding:8px;font-size:12px}#reply-banner span{display:block}#reply-banner button{float:right;background:none;border:0;font-size:20px;cursor:pointer}.unread-badge{background:#73539b;border-radius:20px;color:#fff;min-width:23px;padding:3px 6px;font-size:11px}.chat-list-item>div{min-width:0;flex:1}.chat-list-item p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-dialog{border:0;border-radius:20px;max-width:90vw;max-height:90dvh;padding:15px}.image-dialog img{display:block;max-width:85vw;max-height:75dvh;object-fit:contain}.image-dialog::backdrop{background:#201a39aa}.chat-attachment img{cursor:zoom-in}.admin-row>.avatar{flex:none}.ecosystem-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.editorial-body{white-space:pre-wrap;overflow-wrap:anywhere}.practice-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.practice-timer{font-size:40px;font-variant-numeric:tabular-nums;margin:20px 0}.ecosystem-card{display:flex;flex-direction:column;gap:12px}.ecosystem-card h3{margin:0}.ecosystem-card .heading-actions{margin-top:auto}.ecosystem-editor textarea{width:100%}.practice-private-note{background:#f7f4fb;padding:18px;border-radius:16px}.catalog-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.support-faq details{padding:14px 0;border-bottom:1px solid #e7e0ef}.support-faq summary{cursor:pointer}.practice-history{margin-top:24px}.intro-steps{display:flex;gap:16px;flex-wrap:wrap}.intro-steps>div{flex:1;min-width:180px}.offline-notice{position:fixed;top:0;left:0;right:0;z-index:100;background:#fde7c5;color:#493d27;text-align:center;padding:8px;font-size:12px}
@media(max-width:700px){.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr));display:grid;gap:0}.mobile-nav .nav-button{min-width:0;font-size:10px;gap:4px;padding:8px 2px;flex-direction:column;display:flex;align-items:center;justify-content:center}.mobile-nav .nav-symbol{font-size:20px;height:24px}.chat-layout{min-height:0;height:auto;overflow:visible}.chat-layout.show-thread .chat-thread{display:flex;flex-direction:column;overflow:visible}.messages{height:clamp(180px,38dvh,400px);min-height:180px}.chat-compose{padding:12px}.recording-controls .button{padding:8px;font-size:12px}.video-note,.round-player .video-note{width:180px;height:180px}.round-player{width:180px}.page-footer{padding-bottom:100px}.chat-file-field{grid-column:1/-1}.chat-file-field input{max-width:100%;font-size:12px}.thread-heading{gap:8px}.thread-heading h3{font-size:15px}.thread-heading .avatar{width:32px;height:32px}.voice-player{width:min(260px,100%)}.message .bubble{max-width:95%;padding-right:30px}.ecosystem-grid{grid-template-columns:1fr}}
.signed-out.public-space .mobile-nav{display:grid}.signed-out.public-space .shell{padding-bottom:75px}.signed-out.public-space .profile-button{display:none}.ecosystem-editor+form input[type=file]{max-width:100%}.ecosystem-editor .field{margin-top:14px}.practice-private-note .heading-actions{margin-top:16px}#practice-media audio{width:100%}#practice-media video{width:100%;max-height:65dvh}#lesson-search{width:100%;padding:10px;border:1px solid #ded7e8;border-radius:10px;margin-bottom:12px}@media(min-width:761px){.signed-out.public-space .mobile-nav{position:static;display:flex;justify-content:center;background:#f7f3fb;border-top:1px solid #e6e0ee}.signed-out.public-space .mobile-nav .nav-button{width:auto;color:#55436f;gap:8px;flex-direction:row;padding:12px 18px}.signed-out.public-space .shell{padding-bottom:0}}

#record-preview{scroll-margin-top:40px;scroll-margin-bottom:calc(130px + env(safe-area-inset-bottom,0px))}.recording-controls{scroll-margin-bottom:calc(130px + env(safe-area-inset-bottom,0px))}.faq-search-label{display:block;font-size:13px;margin-bottom:8px}#faq-search{width:100%;border:1px solid #ded7e8;background:#faf8fc;border-radius:10px;padding:12px;margin-bottom:12px}#faq-search-status{padding:12px 0;color:#776888}@media(max-width:760px){html{scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}.mobile-nav{padding-bottom:env(safe-area-inset-bottom,0px)}}

/* Keep history inside the thread rather than allowing flex to grow it indefinitely. */
.messages{flex:0 0 auto}.messages>.message{flex-shrink:0}

.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:end;gap:8px}.chat-compose textarea{width:100%;min-height:44px;max-height:140px;border-radius:22px;padding:10px 15px;grid-column:1}.chat-compose .send-message-button{width:44px;height:44px;min-width:44px;padding:10px;border-radius:50%;display:flex;align-items:center;justify-content:center}.chat-compose .send-message-button:disabled{opacity:.4}.recording-controls{grid-column:1/-1;display:flex;gap:4px}.recording-controls .composer-tool{width:44px;height:44px;min-width:44px;padding:10px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:transparent;color:#67528d}.composer-tool:hover{background:#efe8f7!important}.chat-file-field{grid-column:1/-1;flex-basis:auto}.chat-file-field:not(:has(#chat-selected-files:not(:empty))):not(:has(#chat-file-status:not(:empty))):not(:has(progress:not([hidden]))){height:0;padding:0;overflow:hidden}.delete-message-action{color:#a23448!important}.chat-compose:has(#edit-message-banner:not([hidden])) .recording-controls{display:none}

.message-menu-panel{z-index:80;max-height:calc(100dvh - 24px);overflow-y:auto}.recording-controls #record-preview{flex-basis:100%}.recording-controls #record-status{font-size:13px}.message-menu summary{min-width:32px;min-height:32px;text-align:center}.chat-compose #reply-banner,.chat-compose #edit-message-banner{grid-column:1/-1}

@media(max-width:700px){.chat-open .topbar,.chat-open .page-heading,.chat-open .page-footer{display:none}.chat-open .shell{padding-bottom:0}.chat-open #main{padding:0;margin:0;max-width:none}.chat-open .chat-layout{height:calc(100dvh - 82px - env(safe-area-inset-bottom,0px));min-height:0;margin:0;border-radius:0;border:0}.chat-open .chat-thread{height:100%;min-height:0;border-radius:0;overflow:hidden}.chat-open .messages{flex:1 1 0;height:auto;min-height:0}.chat-open .chat-compose{max-height:60dvh;overflow-y:auto;padding-bottom:12px}.chat-open .thread-heading{flex-shrink:0;min-height:60px}.chat-open .chat-members{flex-shrink:0}.chat-open .chat-pins{flex-shrink:0;max-height:80px;overflow-y:auto}}

@media(max-width:700px){.chat-open .chat-members[open]{max-height:35dvh;overflow:auto}}
